1 2007-03-02 Mario Torre <neugens@limasoftware.net>
4 committed for Petteri Räty <betelgeuse@gentoo.org>
5 * configure.ac: fix broken build for gcj browser plugin
7 2007-02-20 Jakub Jelinek <jakub@redhat.com>
9 * java/util/Date.java (parse): Properly parse 09:01:02 as
10 hours/minutes/seconds, not as hours/minutes/year.
11 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
12 {start,end}TimeMode constructor by calling shorter constructor,
13 set {start,end}TimeMode fields after it returns.
14 (setStartRule): Don't adjust startTime into WALL_TIME. Set
15 startTimeMode to WALL_TIME.
16 (endStartRule): Similarly.
17 (getOffset): Handle properly millis + dstOffset overflowing into the
18 next day. Adjust startTime resp. endTime based on startTimeMode
20 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
22 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
23 If non-null, set up aliases0 and don't put anything into
25 (defaultZone): Call getTimeZone instead of timezones().get.
26 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
27 getTimeZoneInternal instead of timezones().get.
28 (parseTime): Parse correctly hour:minute.
29 (getTimeZoneInternal): New private method.
30 (getTimeZone): Do the custom ID checking first, canonicalize
31 ID for custom IDs as required by documentation. Call
32 getTimeZoneInternal to handle the rest.
33 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
34 (getAvailableIDs(File,String,ArrayList)): New private method.
35 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
36 * gnu/java/util/ZoneInfo.java: New file.
38 2007-02-20 Matthias Klose <doko@ubuntu.com>
40 * doc/Makefile.am: Add rules to build and install man pages
42 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
43 Rename, prefix files with "cp-".
44 * doc/cp-tools.texinfo: Add markup for man page generation,
45 add documentation for command line options for gjar, gjavah,
46 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
47 doc/texi2pod.pl: New, taken from the GCC sources.
49 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
52 * javax/management/MBeanInfo.java (MBeanInfo):
53 Use clone to duplicate the arrays in order to
54 preserve the array type.
56 2007-02-16 Andrew Haley <aph@redhat.com>
58 * gnu/java/lang/management/MemoryMXBeanImpl.java,
59 javax/management/MBeanServerDelegate.java: Use
60 gnu.javax.management.ListenerData rather than
61 gnu.classpath.ListenerData.
62 * gnu/javax/management/ListenerData.java: Move here from
63 gnu/classpath/ListenerData.java.
65 2007-02-14 Jakub Jelinek <jakub@redhat.com>
66 Andrew Haley <aph@redhat.com>
68 * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
70 2007-02-09 Tom Tromey <tromey@redhat.com>
74 * configure.ac: Also check for jack/jack.h.
76 2007-02-09 Jakub Jelinek <jakub@redhat.com>
78 * java/util/TimeZone.java: Handle default (one hour) daylight
81 2007-02-09 Jakub Jelinek <jakub@redhat.com>
84 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
85 just Rule lines, in the other everything else. Pass 0 instead of
86 $savings as second argument to parseRule when parsing the start
88 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
90 2007-02-07 Chris Burdess <dog@gnu.org>
93 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
94 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
95 SAXSources without a backing URL or stream.
98 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
99 LSParser if implementation does not support asynchronous.
100 * gnu/xml/stream/XMLParser.java,
101 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
102 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
103 protocol handler problems.
105 2007-02-06 Tom Tromey <tromey@redhat.com>
108 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
109 (printClass): Always print a header.
111 2007-02-05 Andrew Haley <aph@redhat.com>
114 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
115 (printClass): Replace '/' in filenames with '_'.
116 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
117 (printClass): Likewise.
119 2007-02-05 Tom Tromey <tromey@redhat.com>
121 * java/net/Proxy.java (equals): Handle case where address==null.
122 (hashCode): Likewise.
123 (toString): Likewise.
125 2007-01-31 Tom Tromey <tromey@redhat.com>
127 * resource/gnu/classpath/tools/jar/messages.properties
128 (Main.Stdin): New message.
129 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
131 (readNames): New method.
134 2007-01-26 Andrew Haley <aph@redhat.com>
136 * java/lang/SecurityManager.java: Load and initialize
137 java.security.Security.
139 2007-01-26 Tom Tromey <tromey@redhat.com>
141 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
142 'volatile' after field type.
144 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
146 * java/util/Arrays.java (binarySearch): Change comparison order.
148 2007-01-17 Tom Tromey <tromey@redhat.com>
150 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
151 (PathOptionGroup): Set default boot class path.
153 2006-12-14 Andrew Haley <aph@redhat.com>
155 * tools/gnu/classpath/tools/jar/Creator.java: Close the
158 2006-10-12 Andrew Haley <aph@redhat.com>
160 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
161 * java/lang/ThreadLocal.java: Likewise.
163 2006-09-13 Andrew Haley <aph@redhat.com>
165 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
166 Revert previous gcj-specific disabling of checks.
167 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
169 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
172 2006-09-13 Andrew Haley <aph@redhat.com>
174 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
176 (Iterator.remove()): Decrement index after removing element.
178 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
180 * javax/net/ssl/SSLSocketFactory.java (getDefault):
181 Chain exception cause.
183 2006-12-11 Roman Kennke <kennke@aicas.com>
185 * .classpath: Include ASM in Eclipse classpath.
187 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
189 * gnu/java/lang/management/BeanImpl.java:
190 (translate(String)): Trim strings of whitespace.
191 * javax/management/MBeanAttributeInfo.java:
192 (MBeanAttributeInfo(String,String,Method,Method)):
193 Use Class.getName() for normal (non-parameterized) cases.
194 * javax/management/MBeanConstructorInfo.java:
195 (MBeanConstructorInfo(String, Constructor)):
197 * javax/management/MBeanOperationInfo.java:
198 (MBeanOperationInfo(String, Method)):
201 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
203 * java/lang/Class.java:
204 (getClasses()): Return Class<?>[].
205 (internalGetClasses()): Likewise.
206 (getConstructor(Class<?>...)): Add type parameter
208 (getDeclaredConstructor(Class<?>...)): Likewise.
209 (getDeclaredClasses()): Return Class<?>[].
210 (getDeclaredClasses(boolean)): Likewise.
211 (getDeclaredConstructors()): Return Constructor<?>[].
212 (getDeclaredConstructors(boolean)): Likewise.
213 (getDeclaredMethod(String,Class<?>...)): Add type
214 parameter to parameters.
215 (getInterfaces()): Return Class<?>[].
216 (getMethods(String,Class<?>...)): Add type
217 parameter to parameters.
218 * java/text/CollationKey.java:
220 * java/text/DecimalFormatSymbols.java:
223 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
225 * gnu/java/lang/management/BeanImpl.java:
226 (translate(String)): Handle Map and List as
227 Strings of the form "java.util.Map<K,V>" and
229 * javax/management/MBeanAttributeInfo.java:
230 (MBeanAttributeInfo(String,String,Method,Method)):
231 Use generic parameter and return types.
232 * javax/management/MBeanConstructorInfo.java:
233 (MBeanConstructorInfo(String, Constructor)):
234 Use generic parameter types.
235 * javax/management/MBeanOperationInfo.java:
236 (MBeanOperationInfo(String, Method)):
237 Use generic parameter and return types.
239 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
241 * gnu/java/lang/management/BeanImpl.java:
242 (translate(String)): Comment out code for using type
243 variables for Map and List.
244 * java/lang/Thread.java:
245 (Thread(ThreadGroup,Runnable,String,long)): Fix
246 incrementation of totalThreadsCreated to be prior to use.
248 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
250 * javax/management/MBeanServerFactory.java:
251 (createMBeanServer(String)): Added security check.
252 (findMBeanServer(String)): Likewise.
253 (newMBeanServer(String)): Likewise.
254 (releaseMBeanServer(String)): Likewise.
255 * javax/management/MBeanServerPermission.java:
258 2006-12-08 David Daney <ddaney@avtrex.com>
260 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
263 2006-12-08 David Daney <ddaney@avtrex.com>
265 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
267 2006-12-08 David Daney <ddaney@avtrex.com>
269 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
271 (HTTPConnection): Handle NumberFormatException in properties parsing.
272 (Pool.get): Set timeout on reused sockets.
273 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
275 (HTTPURLConnection): Cleanup properties handling.
276 (getConnection): Use both connection and read timeouts.
277 (setConnectTimeout): Removed.
278 (setReadTimeout): New method.
279 * java/net/URLConnection.java (timeout): Renamed to...
280 (connectTimeout): ... connectTimeout throughout.
281 (readTimeout): New field.
282 (getReadTimeout): New method.
283 (setReadTimeout): New method.
285 2006-12-08 Tania Bento <tbento@redhat.com>
287 * java/awt/ScrollPane.java
288 (doLayout): Change the location of the scrollpane's child
291 2006-12-08 David Daney <ddaney@avtrex.com>
293 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
295 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
296 SocketTimeoutException if a blocking socket timesout.
297 (Java_gnu_java_nio_VMChannel_readScattering): Same.
298 (Java_gnu_java_nio_VMChannel_read__I): Same.
299 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
300 (Java_gnu_java_nio_VMChannel_connect6): Same.
302 2006-12-08 Mark Wielaard <mark@klomp.org>
304 * configure.ac (VERSION): Set to 0.93-generics.
305 * NEWS: Add release date.
307 2006-12-08 Tania Bento <tbento@redhat.com>
309 * java/awt/ScrollPane.java
310 (getScrollPosition): Throw NullPointerException if scrollpane
312 (setScrollPosition(int, int)): Throw NullPointerException if
313 scrollpane does have a child. Check that both ints are within
314 the allowed bounds; If they are not, scroll to the closest allowed
317 2006-12-07 Roman Kennke <kennke@aicas.com>
319 * javax/swing/JEditorPane.java
320 (EditorKitMapping): New inner helper class.
321 (editorKits): New static field for caching editor kit instances.
322 (static_initiazer): Initialize static mappings here.
323 (createEditorKitForContentType): Try to use cached instance.
324 Use correct classloader for loading.
325 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
327 (getEditorKitForContentType): Store the fetched editor kit.
328 Fallback to createDefaultEditorKit().
329 (init): Don't clean the static registry here.
330 (registerEditorKitForContentType(String,String,ClassLoader)):
332 (registerEditorKitForContentType(String,String)): Delegate to
333 the other version of this method with the thread's context
336 2006-12-07 Mark Wielaard <mark@klomp.org>
338 * examples/gnu/classpath/examples/swing/HtmlDemo.java
339 (setPage): Don't convert URL to String for setPage().
341 2006-12-07 Mark Wielaard <mark@klomp.org>
343 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
345 2006-12-07 Mark Wielaard <mark@klomp.org>
347 * tools/Makefile.am: Explicitly define and use bootclasspath as
350 2006-12-07 Mark Wielaard <mark@klomp.org>
352 * javax/swing/JEditorPane.java (createEditorKitForContentType):
353 Always load from system class loader.
355 2006-12-07 Mark Wielaard <mark@klomp.org>
357 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
359 (URL(URL,String,URLStreamHandler)): Call new constructor.
360 (URL(URL,String)): Likewise.
361 (URL(String)): Likewise.
363 2006-12-07 Tom Tromey <tromey@redhat.com>
366 * INSTALL: Don't mention --with-asm.
367 * tools/external/README: New file.
368 * tools/toolwrapper.c (main): Don't use ASM_JAR.
369 * tools/gjavah.in: Don't use PATH_TO_ASM.
370 * tools/grmic.in: Likewise.
371 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
373 (javah, rmic): Removed variables.
374 (bin_PROGRAMS): Updated.
375 (gappletviewer_CFLAGS): Don't define ASM_JAR.
376 (gjarsigner_CFLAGS): Likewise.
377 (gkeytool_CFLAGS): Likewise.
378 (gjar_CFLAGS): Likewise.
379 (gnative2ascii_CFLAGS): Likewise.
380 (gserialver_CFLAGS): Likewise.
381 (grmiregistry_CFLAGS): Likewise.
382 (gtnameserv_CFLAGS): Likewise.
383 (gorbd_CFLAGS): Likewise.
384 (grmid_CFLAGS): Likewise.
385 (gjavah_CFLAGS): Likewise.
386 (grmic_CFLAGS): Likewise.
387 (bin_SCRIPTS): Updated.
388 (TOOLS_JAVA_FILES): Updated.
389 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
390 * configure.ac: Removed --with-asm. Always build gjavah.
392 2006-12-06 Roman Kennke <kennke@aicas.com>
394 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
396 * examples/gnu/classpath/examples/swing/HtmlDemo.java
397 (LoadActionListener): Call setPage() helper method.
398 (createContent): Register tweaked editor kit. For FormSubmitEvents
399 call submitForm(), otherwise setPage().
400 (postData): Helper method for posting form data.
401 (setPage): Helper method for navigating to a new URL.
402 (submitForm): Helper method for submitting a form.
403 * examples/gnu/classpath/examples/swing/forms.html:
404 Added text/password fields and select boxes.
405 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
407 2006-12-06 Roman Kennke <kennke@aicas.com>
409 * javax/swing/text/html/FormView.java
410 (SubmitThread.postData): Implemented.
411 (SubmitThread.run): Pass data to postData().
412 (actionPerformed): Reset form when reset button is activated.
413 (createComponent): Add support for select lists and comboboxes.
414 Don't set value of text and password fields here, this is done
415 now in HTMLDocument for consistency.
416 (getElementFormData): Add support for fetching form data from
417 select lists and comboboxes as well as textareas.
418 (getSelectData): New helper method. Fetches form data from
420 (getTextAreaData): New helper method. Fetches form data from
422 (resetForm): New helper method. Resets the entire form.
423 * javax/swing/text/html/HTMLDocument.java
424 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
425 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
426 (HTMLReader.FormAction.setModel): Initialize text and password
427 values here. Also, use the resetable special models.
428 Group radio buttons into ButtonGroup for exclusive selection.
429 (HTMLReader.FormTagAction): New class. Handles FORM tags.
430 (HTMLReader.buttonGroups): New field.
431 (HTMLReader.numOptions): New field.
432 (HTMLReader.option): New field.
433 (HTMLReader.selectModel): New field.
434 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
435 (HTMLReader.handleText): Handle OPTION text.
436 (HTMLReader.initTags): Map FORM tags to FormTagAction.
437 (HTMLReader.textAreaContent): Set initial content.
438 * javax/swing/text/html/Option.java
439 (Option): Make copy of attribute set. Initialize selected state.
440 (getValue): Fetch value from attribute set.
441 * javax/swing/text/html/ResetableModel.java: New interface.
442 * javax/swing/text/html/ResetablePlainDocument.java: New class.
443 Supports resetting the state.
444 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
445 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
446 * javax/swing/text/html/SelectListModel.java: Likewise.
448 2006-12-06 Roman Kennke <kennke@aicas.com>
450 * javax/swing/text/DefaultCaret.java
451 (appear): Adjust visibility here.
452 (setDotImpl): Don't adjust visibility here.
453 (moveDotImpl): Don't adjust visibility here.
455 2006-12-06 Roman Kennke <kennke@aicas.com>
457 * gnu/java/awt/peer/gtk/AsyncImage.java
458 (Loader.run): Synchronize on the AsyncImage to avoid threading
460 (addObservers): Check for obs==null outside and synchronize on
461 this inside to avoid locking issues.
462 (checkImage): New helper method.
463 (notifyObservers): Check that the correct lock is held and
464 remove actual locking.
465 * gnu/java/awt/peer/gtk/GtkToolkit.java
466 (checkImage): Added special handling for AsyncImages.
468 2006-12-06 Roman Kennke <kennke@aicas.com>
470 * examples/gnu/classpath/examples/swing/Demo.java
471 (getIcon): Made package private.
472 * examples/gnu/classpath/examples/swing/HtmlDemo.java
473 (hyperlinkUpdate): Convert URL to string.
475 2006-12-06 Mark Wielaard <mark@klomp.org>
477 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
480 2006-12-06 Roman Kennke <kennke@aicas.com>
482 * examples/gnu/classpath/examples/icons/back.png,
483 * examples/gnu/classpath/examples/icons/reload.png:
484 New icons for the HTML browser.
485 * examples/gnu/classpath/examples/swing/HtmlDemo.java
486 (history): New field. Manages the browsing history.
487 (HtmlDemo): Initialize history.
488 (createContent): Set location and add history. Add toolbar.
489 (createToolBar): New helper method.
490 (main): Make default size bigger.
491 * examples/gnu/classpath/examples/swing/frame1.html,
492 * examples/gnu/classpath/examples/swing/frame2.html,
493 * examples/gnu/classpath/examples/swing/frame3.html,
494 * examples/gnu/classpath/examples/swing/frame4.html,
495 * examples/gnu/classpath/examples/swing/frames.html,
496 * examples/gnu/classpath/examples/swing/tables.html:
498 * examples/gnu/classpath/examples/swing/welcome.html
499 Add a couple of links and new test pages.
501 2006-12-06 Roman Kennke <kennke@aicas.com>
503 * javax/swing/JEditorPane.java
504 (getStream): Buffer the stream for efficiency.
505 (setPage): Don't scroll the view at this point.
506 * javax/swing/plaf/basic/BasicTextUI.java
507 (RootView.paint): Call RootView's setSize to get synchronization.
508 (RootView.setSize): Synchronize to prevent race in layout code.
509 * javax/swing/text/AbstractDocument.java
510 (notifyListeners): New field.
511 (fireChangedUpdate): Track notifyListener field.
512 (fireRemoveUpdate): Track notifyListener field.
513 (fireIndertUpdate): Track notifyListener field.
514 (writeLock): Check notifyListener and throw IllegalStateException.
515 * javax/swing/text/View.java
516 (preferenceChanged): Create local var for better thread safety and
519 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
521 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
522 lightweight component, not just for non-Panel components.
523 (addImpl): Do not call doLayout.
524 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
525 (setNativeBounds): Ensure widget parent is a GtkFixed before
526 calling gtk_fixed_move.
527 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
528 (setNativeBounds): Likewise.
529 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
530 (setNativeBounds): Likewise.
532 2006-12-06 Roman Kennke <kennke@aicas.com>
534 * javax/swing/text/html/TableView.java
535 (RowView.layoutMajorAxis): Check column index for invalid value.
536 (updateGrid): Check column index for invalid value.
538 2006-12-06 Roman Kennke <kennke@aicas.com>
540 * javax/swing/text/html/BlockView.java
541 (getAlignment): Align blocks horizontally by the superclass.
542 * javax/swing/text/html/HTMLEditorKit.java
543 (HTMLFactory.create): Replace equals comparison by == for efficiency.
544 Add mapping for misplaced tr, td and th tags. Include object mapping.
545 * javax/swing/text/html/TableView.java
546 (RowView.replace): Invalidate grid early.
547 (gridValid): Initialize with false.
548 (create): Only create RowView and CellView for correctly placed
549 tags. Avoid unnecessary casts.
550 (getAlignment): Removed.
551 (replace): Invalidate grid early.
553 2006-12-06 Francis Kung <fkung@redhat.com>
555 * java/awt/geom/RectangularShape.java
556 (getBounds): Remove empty rectangle check.
558 2006-12-06 Ben Konrath <bkonrath@redhat.com>
561 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
562 newValue are the same.
563 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
565 2006-12-06 Tania Bento <tbento@redhat.com>
567 * javax/swing/border/CompoundBorder.java:
568 (isBorderOpaque): If inside border is null, return true if outside
569 border is opaque, false otherwise; if outside border is null, return
570 true if inside border is opaque, false otherwise; if inside or
571 outside border are both not null, then return true only if both the
572 inside and outside border are opaque, false otherwise.
574 2006-12-06 Tania Bento <tbento@redhat.com>
576 * javax/swing/border/CompoundBorder.java:
577 (isBorderOpaque): If inside and outside border both have a null
580 2006-12-06 Chris Burdess <dog@gnu.org>
583 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
584 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
586 2006-12-06 Chris Burdess <dog@gnu.org>
589 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
592 2006-12-06 Chris Burdess <dog@gnu.org>
595 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
596 discover schema factory implementation class.
598 2006-12-05 Francis Kung <fkung@redhat.com>
600 * java/awt/BasicStroke.java
601 (capEnd): Prevent division by zero.
602 * java/awt/geom/Arc2D.java
603 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
604 (ArcIterator.currentSegment): Handle a negative extent.
606 2006-12-05 Francis Kung <fkung@redhat.com>
608 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
609 (constructor): Handle translated subimages properly, ie, if the image's
610 0,0 position is not the data buffer's first element.
612 2006-12-05 Roman Kennke <kennke@aicas.com>
614 * gnu/java/awt/peer/gtk/AsyncImage.java
615 (Loader.run): Nullify observers after loading.
616 (observers): Made package private.
617 (addObserver): Check for null observers field. Create local
618 variable for thread safety.
619 (getHeight): Use addObserver() for checking state of field
620 and notifying observer when necessary.
621 (getWidth): Use addObserver() for checking state of field
622 and notifying observer when necessary.
623 (getProperty): Use addObserver() for checking state of field
624 and notifying observer when necessary.
625 (notifyObservers): Check for null observers field. Create local
626 variable for thread safety.
628 2006-12-05 Roman Kennke <kennke@aicas.com>
630 * javax/swing/text/html/HTMLEditorKit.java
631 (HTMLFactory.create): Removed debug output.
632 * javax/swing/text/html/InlineView.java
633 (getBreakWeight): Likewise.
634 * javax/swing/text/html/StyleSheet.java
636 (ListPainter.paint): Removed debug output.
638 2006-12-05 Roman Kennke <kennke@aicas.com>
640 * javax/swing/text/html/BlockView.java
641 (painter): Made package visible.
642 * javax/swing/text/html/StyleSheet.java
643 (translateBorder): New helper method.
644 (translateHTMLToCSS): Add mappings for border attributes.
645 * javax/swing/text/html/TableView.java
646 Made class subclass of BlockView to get CSS goodness.
647 (CellView.rowSpan): New field.
648 (CellView.setPropertiesFromAttributes): Fetch rowspan.
649 (RowView.overlap): New field.
650 (RowView.rowIndex): New field.
651 (RowView.layoutMajorAxis): Skip overlapping cells.
652 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
653 (numColumns): New field.
654 (tmpRect): New field.
655 (TableView): Initialize tmpRect.
656 (calculateColumnRequirements): Adjusted and fixed for multirows.
657 (getAlignment): Overridden to center tables.
658 (paint): Overridden to fix clipping.
659 (getStyleSheet): Made protected.
660 (layoutMajorAxis): Invalidate rows.
661 (setPropertiesFromAttributes): Made protected and call super.
662 (updateGrid): Update the overlapping information for multirows.
664 2006-12-05 Roman Kennke <kennke@aicas.com>
666 * gnu/java/awt/peer/gtk/AsyncImage.java
667 (addObserver): Check for null and ignore null observers.
668 (getWidth): Check for null and ignore null observers.
669 (getHeight): Check for null and ignore null observers.
670 (getProperty): Check for null and ignore null observers.
672 2006-12-05 Francis Kung <fkung@redhat.com>
674 * java/awt/BasicStroke.java
675 (capEnd): Prevent division by zero.
676 * java/awt/geom/Arc2D.java
677 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
678 (ArcIterator.currentSegment): Handle a negative extent.
680 2006-12-05 Francis Kung <fkung@redhat.com>
682 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
683 (constructor): Handle translated subimages properly, ie, if the image's
684 0,0 position is not the data buffer's first element.
686 2006-12-05 Roman Kennke <kennke@aicas.com>
688 * javax/swing/text/html/ImageView.java
689 (imageUpdate): Use spans field to determine if the CSS width/height
690 are set. Call safePreferenceChanged to protect view structure
691 from threading issues.
692 (spans): Made package private.
693 (ImageView): Initialize loadOnDemand with false.
694 (loadImage): Call Toolkit.prepareImage() to make sure we have
695 our Observer registered.
696 (safePreferenceChanged): New helper method. Calls preferenceChanged
697 in a thread safe environment.
699 2006-12-05 Roman Kennke <kennke@aicas.com>
701 * NEWS: Add entry about improved HTML support.
703 2006-12-05 Roman Kennke <kennke@aicas.com>
705 * javax/swing/text/html/ImageView.java
706 (ImageView): Initialize spans array here.
707 (setPropertiesFromAttributes): Moved init of spans array to
710 2006-12-05 Roman Kennke <kennke@aicas.com>
712 * javax/swing/text/html/BlockView.java
713 (painter): Made package visible.
714 * javax/swing/text/html/StyleSheet.java
715 (translateBorder): New helper method.
716 (translateHTMLToCSS): Add mappings for border attributes.
717 * javax/swing/text/html/TableView.java
718 Made class subclass of BlockView to get CSS goodness.
719 (CellView.rowSpan): New field.
720 (CellView.setPropertiesFromAttributes): Fetch rowspan.
721 (RowView.overlap): New field.
722 (RowView.rowIndex): New field.
723 (RowView.layoutMajorAxis): Skip overlapping cells.
724 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
725 (numColumns): New field.
726 (tmpRect): New field.
727 (TableView): Initialize tmpRect.
728 (calculateColumnRequirements): Adjusted and fixed for multirows.
729 (getAlignment): Overridden to center tables.
730 (paint): Overridden to fix clipping.
731 (getStyleSheet): Made protected.
732 (layoutMajorAxis): Invalidate rows.
733 (setPropertiesFromAttributes): Made protected and call super.
734 (updateGrid): Update the overlapping information for multirows.
736 2006-12-05 Roman Kennke <kennke@aicas.com>
738 * javax/swing/text/html/HTMLEditorKit.java
739 (HTMLFactory.create): Removed debug output.
740 * javax/swing/text/html/InlineView.java
741 (getBreakWeight): Likewise.
742 * javax/swing/text/html/StyleSheet.java
744 (ListPainter.paint): Removed debug output.
746 2006-12-06 Roman Kennke <kennke@aicas.com>
748 * javax/swing/text/html/BlockView.java
749 (getAlignment): Align blocks horizontally by the superclass.
750 * javax/swing/text/html/HTMLEditorKit.java
751 (HTMLFactory.create): Replace equals comparison by == for efficiency.
752 Add mapping for misplaced tr, td and th tags. Include object mapping.
753 * javax/swing/text/html/TableView.java
754 (RowView.replace): Invalidate grid early.
755 (gridValid): Initialize with false.
756 (create): Only create RowView and CellView for correctly placed
757 tags. Avoid unnecessary casts.
758 (getAlignment): Removed.
759 (replace): Invalidate grid early.
762 2006-12-06 Roman Kennke <kennke@aicas.com>
764 * javax/swing/text/html/TableView.java
765 (RowView.layoutMajorAxis): Check column index for invalid value.
766 (updateGrid): Check column index for invalid value.
768 2006-12-06 Roman Kennke <kennke@aicas.com>
770 * javax/swing/JEditorPane.java
771 (getStream): Buffer the stream for efficiency.
772 (setPage): Don't scroll the view at this point.
773 * javax/swing/plaf/basic/BasicTextUI.java
774 (RootView.paint): Call RootView's setSize to get synchronization.
775 (RootView.setSize): Synchronize to prevent race in layout code.
776 * javax/swing/text/AbstractDocument.java
777 (notifyListeners): New field.
778 (fireChangedUpdate): Track notifyListener field.
779 (fireRemoveUpdate): Track notifyListener field.
780 (fireIndertUpdate): Track notifyListener field.
781 (writeLock): Check notifyListener and throw IllegalStateException.
782 * javax/swing/text/View.java
783 (preferenceChanged): Create local var for better thread safety and
786 2006-12-06 Roman Kennke <kennke@aicas.com>
788 * examples/gnu/classpath/examples/icons/back.png,
789 * examples/gnu/classpath/examples/icons/reload.png:
790 New icons for the HTML browser.
791 * examples/gnu/classpath/examples/swing/HtmlDemo.java
792 (history): New field. Manages the browsing history.
793 (HtmlDemo): Initialize history.
794 (createContent): Set location and add history. Add toolbar.
795 (createToolBar): New helper method.
796 (main): Make default size bigger.
797 * examples/gnu/classpath/examples/swing/frame1.html,
798 * examples/gnu/classpath/examples/swing/frame2.html,
799 * examples/gnu/classpath/examples/swing/frame3.html,
800 * examples/gnu/classpath/examples/swing/frame4.html,
801 * examples/gnu/classpath/examples/swing/frames.html,
802 * examples/gnu/classpath/examples/swing/tables.html:
804 * examples/gnu/classpath/examples/swing/welcome.html
805 Add a couple of links and new test pages.
807 2006-12-06 Roman Kennke <kennke@aicas.com>
809 * examples/gnu/classpath/examples/swing/Demo.java
810 (getIcon): Made package private.
811 * examples/gnu/classpath/examples/swing/HtmlDemo.java
812 (hyperlinkUpdate): Convert URL to string.
814 2006-12-06 Roman Kennke <kennke@aicas.com>
816 * javax/swing/text/DefaultCaret.java
817 (appear): Adjust visibility here.
818 (setDotImpl): Don't adjust visibility here.
819 (moveDotImpl): Don't adjust visibility here.
821 2006-12-06 Roman Kennke <kennke@aicas.com>
823 * javax/swing/text/html/FormView.java
824 (SubmitThread.postData): Implemented.
825 (SubmitThread.run): Pass data to postData().
826 (actionPerformed): Reset form when reset button is activated.
827 (createComponent): Add support for select lists and comboboxes.
828 Don't set value of text and password fields here, this is done
829 now in HTMLDocument for consistency.
830 (getElementFormData): Add support for fetching form data from
831 select lists and comboboxes as well as textareas.
832 (getSelectData): New helper method. Fetches form data from
834 (getTextAreaData): New helper method. Fetches form data from
836 (resetForm): New helper method. Resets the entire form.
837 * javax/swing/text/html/HTMLDocument.java
838 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
839 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
840 (HTMLReader.FormAction.setModel): Initialize text and password
841 values here. Also, use the resetable special models.
842 Group radio buttons into ButtonGroup for exclusive selection.
843 (HTMLReader.FormTagAction): New class. Handles FORM tags.
844 (HTMLReader.buttonGroups): New field.
845 (HTMLReader.numOptions): New field.
846 (HTMLReader.option): New field.
847 (HTMLReader.selectModel): New field.
848 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
849 (HTMLReader.handleText): Handle OPTION text.
850 (HTMLReader.initTags): Map FORM tags to FormTagAction.
851 (HTMLReader.textAreaContent): Set initial content.
852 * javax/swing/text/html/Option.java
853 (Option): Make copy of attribute set. Initialize selected state.
854 (getValue): Fetch value from attribute set.
855 * javax/swing/text/html/ResetableModel.java: New interface.
856 * javax/swing/text/html/ResetablePlainDocument.java: New class.
857 Supports resetting the state.
858 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
859 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
860 * javax/swing/text/html/SelectListModel.java: Likewise.
862 2006-12-06 Roman Kennke <kennke@aicas.com>
864 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
866 * examples/gnu/classpath/examples/swing/HtmlDemo.java
867 (LoadActionListener): Call setPage() helper method.
868 (createContent): Register tweaked editor kit. For FormSubmitEvents
869 call submitForm(), otherwise setPage().
870 (postData): Helper method for posting form data.
871 (setPage): Helper method for navigating to a new URL.
872 (submitForm): Helper method for submitting a form.
873 * examples/gnu/classpath/examples/swing/forms.html:
874 Added text/password fields and select boxes.
875 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
877 2006-12-07 Mark Wielaard <mark@klomp.org>
879 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
881 (URL(URL,String,URLStreamHandler)): Call new constructor.
882 (URL(URL,String)): Likewise.
883 (URL(String)): Likewise.
885 2006-12-07 Mark Wielaard <mark@klomp.org>
887 * javax/swing/JEditorPane.java (createEditorKitForContentType):
888 Always load from system class loader.
890 2006-12-06 Ben Konrath <bkonrath@redhat.com>
893 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
894 newValue are the same.
895 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
897 2006-12-06 Chris Burdess <dog@gnu.org>
900 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
901 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
903 2006-12-06 Chris Burdess <dog@gnu.org>
906 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
909 2006-12-056 Chris Burdess <dog@gnu.org>
912 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
913 discover schema factory implementation class.
915 2006-12-05 Roman Kennke <kennke@aicas.com>
917 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
918 asynchronous loading of images.
919 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
920 (drawImage): Fetch real image from possibly AsyncImage.
921 * gnu/java/awt/peer/gtk/ComponentGraphics.java
922 (drawImage): Fetch real image from possibly AsyncImage.
923 * gnu/java/awt/peer/gtk/GtkToolkit.java
924 (createImage(URL)): Create async image.
925 (imageOrError): Made method static for easy access from AsyncImage.
926 (prepareImage): For async images, register the observer to the
929 2006-12-05 Roman Kennke <kennke@aicas.com>
931 (paintComponent): Include paint area from event.
932 (updateComponent): Include paint area from event.
934 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
936 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
937 lightweight component, not just for non-Panel components.
938 (addImpl): Do not call doLayout.
939 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
940 (setNativeBounds): Ensure widget parent is a GtkFixed before
941 calling gtk_fixed_move.
942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
943 (setNativeBounds): Likewise.
944 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
945 (setNativeBounds): Likewise.
947 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
949 * java/awt/Component.java (getFontImpl): Return a default font if
950 topmost parent's font is null.
952 2006-12-04 Mark Wielaard <mark@klomp.org>
954 * javax/swing/text/html/CSS.java (parseMarginShorthand):
957 2006-12-04 Roman Kennke <kennke@aicas.com>
959 * java/awt/font/TextLayout.java
960 (hitTestChar): Fixed conditions for inclusion of range.
961 Use layout information in the run for more efficiency.
963 2006-12-04 Roman Kennke <kennke@aicas.com>
965 * javax/swing/text/GlyphView.java
966 (J2DGlyphPainter): New inner class.
967 (checkPainter): For Java2D capable environments create
970 2006-12-04 Roman Kennke <kennke@aicas.com>
972 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
973 (FreeTypeGlyphVector): Don't filter control chars here.
974 (getGlyphs): Filter control chars and replace them by
977 2006-12-04 Roman Kennke <kennke@aicas.com>
979 * native/jni/java-nio/gnu_java_nio_VMChannel.c
980 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
982 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
984 * gnu/java/lang/management/BeanImpl.java:
985 (translate(String)): Don't assume the list uses "E",
986 just use the first and only type variable.
987 * java/lang/management/ManagementFactory.java:
988 (getPlatformMBeanServer()): Register logging bean.
989 * javax/management/openmbean/OpenType.java:
990 (OpenType(String,String,String)): Actually use
991 the string created to handle arrays.
993 2006-12-04 Mark Wielaard <mark@klomp.org>
995 * native/jni/java-nio/gnu_java_nio_VMChannel.c
996 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
998 2006-12-04 Mark Wielaard <mark@klomp.org>
1000 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1002 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1003 (JCL_thread_interrupted): Only take JNIEnv.
1004 (vm_channel_class): New static variable.
1005 (initID): Set vm_channel_class.
1006 Wrap all reads() and writes() in do-while blocks that check
1009 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
1011 * gnu/javax/management/Server.java:
1012 Make map final and initialise it.
1013 (unregisterMBean(ObjectName)): Match against
1014 delegate's object name and not the instance.
1015 * java/lang/management/ManagementFactory.java:
1016 Added constant fields.
1017 (getPlatformMBeanServer()): Implemented.
1018 * javax/management/MBeanServerFactory.java: New file.
1020 2006-12-04 Roman Kennke <kennke@aicas.com>
1022 * javax/swing/text/BoxView.java
1023 (paint): Replaced painting algorithm with more simple and more
1024 reliable painting of the box.
1025 * javax/swing/text/html/BlockView.java
1026 (PositionInfo): New inner class. Stores additional CSS
1027 positioning information.
1028 (positionInfo): New field.
1029 (BlockView): Initialize positionInfo field.
1030 (fetchLayoutInfo): New helper method. Fetches additional
1031 CSS positioning information.
1032 (layoutMajorAxis): Perform additional CSS layout.
1033 (layoutMinorAxis): Perform additional CSS layout.
1034 (positionView): New helper method.
1035 (replace): Overridden to fetch additional layout information.
1036 * javax/swing/text/html/CSS.java
1037 (Attribute.POSITION): New field.
1038 (Attribute.LEFT): New field.
1039 (Attribute.RIGHT): New field.
1040 (Attribute.TOP): New field.
1041 (Attribute.BOTTOM): New field.
1042 (getValue): Create Length for left, right, top and bottom
1045 2006-12-04 Roman Kennke <kennke@aicas.com>
1047 * gnu/javax/swing/text/html/parser/support/Parser.java
1048 (Sgml): Consume any whitespace that immediately follows
1050 (parseDocument): Consume any initial whitespace.
1052 2006-12-03 Mark Wielaard <mark@klomp.org>
1054 * gnu/javax/management/Server.java (beans): Initialize.
1055 (registerMBean): Don't initialize beans.
1057 2006-12-03 Mark Wielaard <mark@klomp.org>
1059 * java/util/logging/LogManager.java (getLevelProperty): Check
1060 whether value is null before passing to Level.parse().
1062 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
1064 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1065 whether given a null lock and lockOwner.
1067 2006-12-03 Mark Wielaard <mark@klomp.org>
1069 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1070 (PageLoader.page): Made package local.
1071 (PageLoader.run): Don't reset loader.
1072 (PageLoader.cancel): New method.
1073 (loading): Renamed to loader.
1074 (getPage): Return loader.page.
1075 (setPage): Always set loader. Never reset to null.
1077 2006-12-03 Mark Wielaard <mark@klomp.org>
1079 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1081 (isLastChild): Return false when path is null.
1083 2006-12-03 Mark Wielaard <mark@klomp.org>
1085 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1086 to currentPaintArea.
1087 (paintComponent): Work with local reference to currentPaintArea.
1088 (updateComponent): Likewise.
1089 (coalescePaintEvent): Set currentPaintArea.
1091 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1093 * javax/management/MBeanServerBuilder.java: New file.
1095 2006-12-01 Mark Wielaard <mark@klomp.org>
1097 * java/text/DecimalFormat.java (parse): Always increment parsing
1098 index and adjust pos result.
1100 2006-12-01 Roman Kennke <kennke@aicas.com>
1102 * javax/swing/text/html/HTML.java
1103 (Attribute.DYNAMIC_CLASS): New field.
1104 (Attribute.PSEUDO_CLASS): New field.
1105 * javax/swing/text/html/HTMLDocument.java
1106 (HTMLReader.CharacterAction.start): Initialize anchor with link
1108 (updateSpecialClass): New helper method. Updates the dynamic
1109 or pseudo class for anchor tags.
1110 * javax/swing/text/html/HTMLEditorKit.java
1111 (LinkController.lastAnchorElement): New field. For tracking
1112 enter/exit of anchors.
1113 (LinkController.activateLink): Set pseudo class to 'visited'.
1114 (LinkController.mouseMoved): Added support for tracking
1115 the 'hover' dynamic class.
1116 * javax/swing/text/html/InlineView.java
1117 (changedUpdate): Fetch new properties.
1118 * javax/swing/text/html/StyleSheet.java
1119 (attributeSetToMap): New helper method.
1120 (getRule): Also append dynamic and pseudo class to key.
1121 (resolveStyle): Resolve style based generally on all attributes.
1122 * javax/swing/text/html/TableView.java
1123 (RowView.layoutMajorAxis): Make sure the grid is valid.
1124 (updateGrid): Made package private.
1125 * gnu/javax/swing/text/html/css/Selector.java
1126 (calculateSpecificity): Added support for dynamic and pseudo classes.
1127 (matches): Changed to operate on general attributes.
1128 Added support for dynamic and pseudo classes.
1130 2006-12-01 Mario Torre <neugens@limasoftware.net>
1132 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1133 fractional portion in a separate method.
1134 Also fixes the handling of decimal separator and its associated field.
1135 (handleFractionalPart): new method, needed to relax a bit
1138 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1140 * java/beans/beancontext/BeanContextServicesSupport.java:
1141 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1142 Class)): Implemented.
1143 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1144 Class, Object)): Implemented.
1145 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1146 Object, Object)): Implemented.
1147 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1149 (initialiseBeanContextResources()): Implemented.
1150 (releaseBeanContextResoures()): Implemented.
1152 2006-12-01 Mark Wielaard <mark@klomp.org>
1154 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1156 2006-12-01 Roman Kennke <kennke@aicas.com>
1158 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1159 handling border styles.
1160 * gnu/javax/swing/text/html/css/BorderWidth.java
1161 (isValid): New method.
1162 * gnu/javax/swing/text/html/css/Length.java
1163 (isValid): New method.
1164 * javax/swing/text/html/CSS.java
1165 (addInternal): Added shorthand parsing for border, padding and
1167 (parseBackgroundShorthand): Added API docs.
1168 (parsePaddingShorthand): New method. Handles padding shorthand
1170 (parseMarginShorthand): New method. Handles margin shorthand
1172 (parseBorderShorthand): New method. Handles border shorthand
1174 * javax/swing/text/html/StyleSheet.java
1175 (translateHTMLToCSS): Set specific padding attributes.
1176 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1177 These shorthands are now handled in CSS.
1178 (BoxPainter.paint): Exclude the outer margin.
1180 2006-12-01 Roman Kennke <kennke@aicas.com>
1182 * gnu/javax/swing/text/html/css/Length.java
1183 (emBase): New field.
1184 (exBase): New field.
1185 (isFontEMRelative): New field.
1186 (isFontEXRelative): New field.
1187 (Length): Recognize and setup EM and EX relative values.
1188 (getValue): Handle EM and EX relative values.
1189 (isEMRelative): New method.
1190 (isEXRelative): New method.
1191 (setEMBase): New method.
1192 (setEXBase): New method.
1193 (setFontBases): New method.
1194 * gnu/javax/swing/text/html/parser/support/Parser.java
1195 (_handleEmptyTag): Use new isBlock() helper method.
1196 (_handleEndTag_remaining): Use new isBlock() helper method.
1197 (_handleStartTag): Consume whitespace after block start tag.
1198 (Comment): Consume whitespace after a comment.
1199 (isBlock): New helper method.
1200 (readAttributes): Consider all characters in unquoted attribute
1202 * javax/swing/text/html/BlockView.java
1203 (layoutMinorAxis): Use cached span value.
1204 (paint): Added debug code (commented out).
1205 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1206 * javax/swing/text/html/CSSBorder.java
1207 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1209 (getBorderWidth): Set the EM and EX base on the length values.
1210 * javax/swing/text/html/HTMLDocument.java
1211 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1212 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1213 (HTMLReader.inImpliedParagraph): Removed.
1214 (HTMLReader.inParagraph): Removed.
1215 (HTMLReader.parseStack): New field.
1216 (HTMLReader.addContent): Use new paragraph handling.
1217 (HTMLReader.addSpecialElement): Use new paragraph handling.
1218 (HTMLReader.blockClose): Use new paragraph handling.
1219 (HTMLReader.blockOpen): Use new paragraph handling.
1220 (HTMLReader.inImpliedParagraph): New helper method.
1221 (HTMLReader.inParagraph): New helper method.
1222 * javax/swing/text/html/ImageView.java
1223 (attributes): New field. Caches view attributes.
1224 (spans): New field. Caches CSS spans.
1225 (getAttributes): Correctly setup CSS view attributes.
1226 (getPreferredSpan): Use caches spans.
1227 (getStyleSheet): Use the view's getDocument() method.
1228 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1229 (updateSize): Use cached spans.
1230 * javax/swing/text/html/ParagraphView.java
1231 (setPropertiesFromAttributes): Setup EM and EX.
1232 * javax/swing/text/html/StyleSheet.java
1233 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1234 (getEMBase): New helper method.
1235 (getEXBase): New helper method.
1236 * javax/swing/text/html/TableView.java
1237 (width): New field. Caches the table width.
1238 (calculateMinorAxisRequirements): Use caches span.
1239 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1240 (updateGrid): Correctly setup EM/EX.
1242 2006-11-30 Roman Kennke <kennke@aicas.com>
1244 * javax/swing/text/html/FormSubmitEvent.java: New class.
1245 * javax/swing/text/html/FormView.java
1246 (SubmitThread): New class for submitting data in a separate thread.
1247 (actionPerformed): Fetch the actual for data.
1248 (addData): New helper method.
1249 (getElementFormData): New helper method.
1250 (getFormData): New helper method.
1251 (getInputFormData): New helper method.
1252 (submitData): Implemented.
1253 * javax/swing/text/html/FrameView.java
1254 (createComponent): Add this as hyperlink listener.
1255 Set the target document as frame document.
1256 (getTopEditorPane): New helper method.
1257 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1258 (handleHyperlinkEvent): New helper method.
1259 (handleFormSubmitEvent): New helper method.
1260 * javax/swing/text/html/HTMLDocument.java
1261 (HTMLReader.BaseAction.start): Track the base target.
1262 (HTMLReader.BaseAction.end): Removed.
1263 (baseTarget): New field.
1264 (frameDocument): New field.
1265 (getBaseTarget): New property accessor.
1266 (isFrameDocument): New property accessor.
1267 (processHTMLFrameHyperlinkEvent): Implemented.
1268 (setFrameDocument): New property accessor.
1269 (updateFrame): New helper method.
1270 (updateFrameSet): New helper method.
1271 * javax/swing/text/html/HTMLEditorKit.java
1272 (LinkController.createHyperlinkEvent): Handle frame documents.
1273 (autoFormSubmission): New field.
1274 (HTMLEditorKit): Set autoFormSubmission to true.
1275 (isAutoFormSubmission): New property accessor.
1276 (setAutoFormSubmission): New property accessor.
1278 2006-11-30 Roman Kennke <kennke@aicas.com>
1280 * javax/swing/text/ElementIterator.java
1281 (ElementRef): New inner class.
1282 (currentDepth): Removed.
1283 (currentElement): Removed.
1284 (previousItem): Removed.
1285 (stack): New field. Holds the iteration stack.
1287 (ElementIterator(Document)): Removed init of removed fields.
1288 (ElementIterator(Element)): Removed init of removed fields.
1289 (current): Changed to stack based algorithm.
1290 (deepestLeaf): New helper method.
1291 (depth): Changed to stack based algorithm.
1292 (first): Changed to stack based algorithm.
1293 (next): Changed to stack based algorithm.
1294 (previous): Changed to stack based algorithm.
1296 2006-11-30 Francis Kung <fkung@redhat.com>
1298 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1299 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1301 2006-11-30 Francis Kung <fkung@redhat.com>
1303 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1304 (draw): Set transform in buffered composite.
1305 (drawComposite): Do not transform bounds; round bounds.
1306 (drawGlyphVector): Set transform in buffered composite.
1307 (drawRenderedImage): Set transform in buffered composite.
1308 (fill): Set transform in buffered composite.
1309 (updateBufferedImage): Fix scanline & height calculations.
1310 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1311 (createPath): Simplify width & height calculation.
1312 (drawImage): Also transform width & height.
1314 2006-11-30 Roman Kennke <kennke@aicas.com>
1316 * javax/swing/text/html/FrameSetView.java: New class. Implements
1318 * javax/swing/text/html/FrameView.java: New class. Implements
1320 * javax/swing/text/html/HTMLDocument.java:
1321 (HTMLReader.addSpecialElement): Only add one artificial space.
1322 * javax/swing/text/html/HTMLEditorKit.java
1323 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1324 * gnu/javax/swing/text/html/parser/support/Parser.java
1325 (_handleEmptyTag): Also consume whitespace after frame tags.
1327 2006-11-30 Gary Benson <gbenson@redhat.com>
1329 * java/lang/Thread.java: Javadoc fixes.
1331 2006-11-29 Tom Tromey <tromey@redhat.com>
1334 * java/lang/Class.java (getAnnotations): Rewrote.
1336 2006-11-29 Tania Bento <tbento@redhat.com>
1338 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1339 (parseParams): Unescape 'val' before putting it into the Map.
1340 (unescapeString): New private method.
1342 2006-11-29 Tom Tromey <tromey@redhat.com>
1344 * tools/gnu/classpath/tools/getopt/package.html: New file.
1346 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1348 * javax/swing/plaf/metal/MetalIconFactory.java
1349 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1350 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1352 2006-11-29 Mario Torre <neugens@limasoftware.net>
1354 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1355 with the default international currency sign \u00A4.
1356 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1357 table for string formatting.
1358 (formatInternal): likewise.
1359 (scanNegativePattern): likewise.
1360 (applyPattern): likewise.
1361 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1362 Locale is immutable and does not need clone.
1364 2006-11-29 Francis Kung <fkung@redhat.com>
1366 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1367 (drawLine): Remove hard-coded pixel shifting.
1369 2006-11-29 Roman Kennke <kennke@aicas.com>
1371 * java/awt/Component.java
1372 (isShowing): Simplified condition code and avoid unnecessary
1374 (coalesceEvents): Always coalesce paint events and let the peer
1375 figure out the expanding of the repaint area.
1376 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1377 (currentPaintEvents): Removed. Replaced by paintArea.
1378 (paintArea): New field. Tracks the dirty area.
1379 (SwingComponentPeer): Removed init of currentPaintEvents.
1380 (coalescePaintEvent): Simplified to only union the dirty regions.
1381 (handleEvent): Paint dirty region that was tracked in paintArea.
1382 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1383 (paintArea): New field. Tracks the dirty region.
1384 (coalescePaintEvent): Implemented to track the dirty region.
1385 (paintComponent): Use the dirty region in paintArea. Protect
1386 state by putting the paint and dispose code in a try-finally.
1387 (updateComponent): Use the dirty region in paintArea. Protect
1388 state by putting the paint and dispose code in a try-finally.
1390 2006-11-29 Roman Kennke <kennke@aicas.com>
1392 * java/awt/font/TextLayout.java
1393 (getVisualHighlightShape): Removed debug output.
1395 2006-11-28 Andrew Haley <aph@redhat.com>
1397 * vm/reference/sun/reflect/misc/ReflectUtil.java
1398 (checkPackageAccess): Implement.
1400 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1402 * native/jni/java-lang/java_lang_VMDouble.c:
1403 (parseDoubleFromChars) New function. Factored out from ...
1404 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1405 (dtoa_toString): New function. Factored out from ...
1406 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1407 Changed conversion mode to 2, as modes 0 and 1 don't round
1408 as the API spec demands. Invoke conversion function as often
1409 as necessary with growing precision until a reversible
1410 representation of the double in form of a string is reached.
1412 2006-11-28 Roman Kennke <kennke@aicas.com>
1414 * javax/swing/JComponent.java
1415 (putClientProperty): Do not fire event when both old and new
1418 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1420 * java/lang/Enum.java:
1421 Make name and ordinal final.
1423 2006-11-27 Casey Marshall <csm@gnu.org>
1425 * java/util/jar/JarEntry.java (certs): removed.
1426 (jarfile): new field.
1427 (getCertificates): read the certificates from the containing JarFile.
1428 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1429 fill in 'certs,' fill in 'jarfile' for the entry.
1430 (getEntry): likewise.
1432 2006-11-27 Francis Kung <fkung@redhat.com>
1434 * java/awt/image/WritableRaster.java
1435 (createChild): Implemented.
1437 2006-11-27 Roman Kennke <kennke@aicas.com>
1439 * java/awt/font/TextLayout.java
1440 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1441 (getVisualHighlightShape): Implemented.
1442 (layoutRuns): Fixed boundary so that the last run is also laid out.
1443 (left): New helper method.
1444 (right): New helper method.
1446 2006-11-27 Roman Kennke <kennke@aicas.com>
1448 * java/awt/font/TextLayout.java
1449 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1450 (getCaretShape(TextHitInfo)): Use natural bounds.
1451 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1452 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1453 above with DEFAULT_CARET_POLICY.
1454 (getCaretShapes(int)): Use natural bounds.
1456 2006-11-27 Roman Kennke <kennke@aicas.com>
1458 * java/awt/font/TextLayout.java
1459 (Run.font): New field.
1460 (Run.location): New field.
1461 (Run.Run): Initialize font.
1462 (font): Removed field. This is moved into Run as the actual font
1463 is something run-specific.
1464 (TextLayout(String,Font,FontRenderContext)): Set font on the
1465 single runs. Layout the runs here.
1466 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1467 (findRunAtIndex): New helper method.
1468 (getCaretInfo): Implemented.
1469 (layoutRuns): New helper method.
1470 (toString): Don't put font in output string.
1472 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1474 * AUTHORS: Added Jeroen Fritjers.
1476 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1478 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1479 for FieldPosition to be null.
1480 Check if the factional part is just 0 and can be omitted from the
1482 (scanNegativePattern): Fixed index out of bound exception when searching
1483 for international currency symbol in negative pattern.
1485 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1487 * java/beans/beancontext/BeanContextSupport.java:
1488 (readObject(ObjectInputStream)): Implemented.
1489 (writeObject(ObjectOutputStream)): Likewise.
1490 (BCSChild.getTargetChild()): Added.
1491 (bcsPreDeserializationHook()): Implemented.
1492 (bcsPreSerializationHook()): Likewise.
1493 (childDeserializedHook(Object,BCSChild)): Likewise.
1494 (isSerializing()): Likewise.
1495 (readChildren(ObjectInputStream)): Likewise.
1496 (writeChildren(ObjectOutputStream)): Likewise.
1498 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1499 Ian Lance Taylor <ian <at> airs.com>
1500 Paolo Bonzini <bonzini <at> gnu.org>
1504 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1505 increased portability. Likewise, use -f instead of -e.
1507 2006-11-26 Mark Wielaard <mark@klomp.org>
1509 * lib/Makefile.am (propertydirs): Removed.
1510 (resources): Explicitly create all dirs.
1512 2006-11-26 Mark Wielaard <mark@klomp.org>
1514 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1516 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1518 * native/target/.cvsignore,
1519 native/target/generic/.cvsignore,
1520 native/target/Linux/.cvsignore:
1521 Removed no longer used files.
1523 * native/target: Removed no longer used directory.
1525 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1529 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1530 (Java_gnu_java_nio_VMSelector_select):
1531 Use strerror if strerror_r is not available.
1533 Reported by: Michael Franz <mvfranz@gmail.com>,
1534 Riccardo Mottola <zuse@libero.it>
1536 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1540 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1541 STRICT_WARNING_CFLAGS since it caused the build to fail
1544 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1546 * doc/vmintegration.texinfo: Update VM Threading Model section.
1548 2006-11-26 Tom Tromey <tromey@redhat.com>
1550 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1552 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1554 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1555 Conditionally include ifaddrs.h.
1556 (getif_address): Updated conditional.
1557 (getif_index): Likewise.
1558 * configure.ac: Check for ifaddrs.h.
1560 2006-11-25 Mark Wielaard <mark@klomp.org>
1562 * java/io/File.java (list): Return empty list for unreadable dirs.
1564 2006-11-25 Mark Wielaard <mark@klomp.org>
1566 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1567 Synchronize on font peer.
1568 (setFont): Likewise.
1569 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1571 (getTextMetrics): Likewise.
1573 2006-11-25 Roman Kennke <kennke@aicas.com>
1575 * javax/swing/text/GapContent.java
1576 (getPositionsInRange): Rewritten to use the more efficient
1577 binary search searchFirst() and avoid an NPE that was caused
1580 2006-11-25 Mark Wielaard <mark@klomp.org>
1582 * javax/swing/text/CompositeView.java (modelToView): Never return
1585 2006-11-25 Mark Wielaard <mark@klomp.org>
1587 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1588 Check whether rowView instanceof RowView.
1589 (updateGrid): Likewise.
1591 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1594 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1595 * java/text/NumberFormat.java (format): all format methods, fixed
1596 FieldPosition argument should never be null.
1597 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1598 method is not final.
1599 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1601 * AUTHORS: added my name to the file.
1603 2006-11-25 Mark Wielaard <mark@klomp.org>
1605 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1606 getChildAllocation() returning null.
1608 2006-11-25 Mark Wielaard <mark@klomp.org>
1610 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1611 Use clazzIndex for id substring.
1613 2006-11-25 Mark Wielaard <mark@klomp.org>
1615 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1616 it is still running.
1618 2006-11-25 Mark Wielaard <mark@klomp.org>
1621 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1624 2006-11-24 Tania Bento <tbento@redhat.com>
1626 * java/awt/font/TextHitInfo.java
1627 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1628 (beforeOffset): Decreased first parameter by 1.
1630 2006-11-24 Francis Kung <fkung@redhat.com>
1632 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1633 (constructor): Check sample model when setting fastCM flag.
1634 (updateBufferedImage): Check scanline and sample model offsets before
1635 copying data directly into the image data buffer.
1637 2006-11-24 Francis Kung <fkung@redhat.com>
1639 * gnu/java/awt/java2d/QuadSegment.java
1640 (offsetSubdivided): Handle special straight-line cases.
1642 2006-11-24 Roman Kennke <kennke@aicas.com>
1644 * java/awt/dnd/DropTarget.java
1645 (DropTargetAutoScroller.HYSTERESIS): New constant.
1646 (DropTargetAutoScroller.DELAY): New constant.
1647 (DropTargetAutoScroller.inner): New field. A cached
1649 (DropTargetAutoScroller.outer): New field. A cached
1651 (DropTargetAutoScroller.timer): New field. The actual timer.
1652 (DropTargetAutoScroller.DropTargetAutoScroller):
1654 (DropTargetAutoScroller.actionPerformed): Implemented.
1655 (DropTargetAutoScroller.stop): Implemented.
1656 (DropTargetAutoScroller.updateLocation): Implemented.
1657 (clearAutoscroll): Stop the autoscroller before nullifying it.
1658 (createDropTargetAutoScroller): Don't set the field here,
1659 only return a new instance.
1660 (dragEnter): Only do something when active. Initialize
1662 (dragExit): Only do something when active. Stop auto scrolling.
1663 (dragOver): Only do something when active. Update auto scrolling.
1664 (drop): Only do something when active. Update auto scrolling.
1665 (dropActionChanged): Only do something when active. Update
1667 (initializeAutoScrolling): Check if component is an instance
1668 of Autoscroll, otherwise do nothing.
1669 (setActive): Disable autoscrolling when deactivating.
1670 (setComponent): When component is set to null, disable autoscrolling.
1672 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1674 * java/beans/beancontext/BeanContextServicesSupport.java
1675 (getChildBeanContextServicesListener): Implemented.
1677 2006-11-23 Roman Kennke <kennke@aicas.com>
1679 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1680 (createGraphics): Use constructor to create new instance of
1681 BufferedImageGraphics.
1682 * java/awt/Toolkit.java
1683 (getDefaultToolkit): Really try to get a real toolkit. Only
1684 use HeadlessToolkit if no other is available.
1685 * gnu/java/awt/peer/gtk/GtkToolkit.java
1686 (checkHeadless): New helper method. Checks for headless environment
1687 and throws HeadlessException if appropriate.
1688 (createButton): Check for headless.
1689 (createCanvas): Check for headless.
1690 (createCheckbox): Check for headless.
1691 (createCheckboxMenuItem): Check for headless.
1692 (createChoice): Check for headless.
1693 (createDialog): Check for headless.
1694 (createDragGestureRecognizer): Check for headless.
1695 (createDragSourceContextPeer): Check for headless.
1696 (createEmbeddedWindow): Check for headless.
1697 (createFileDialog): Check for headless.
1698 (createFrame): Check for headless.
1699 (createCheckbox): Check for headless.
1700 (createLabel): Check for headless.
1701 (createList): Check for headless.
1702 (createMenu): Check for headless.
1703 (createMenuBar): Check for headless.
1704 (createMenuItem): Check for headless.
1705 (createPanel): Check for headless.
1706 (createPopupMenu): Check for headless.
1707 (createScrollbar): Check for headless.
1708 (createScrollPane): Check for headless.
1709 (createTextArea): Check for headless.
1710 (createTextField): Check for headless.
1711 (createWindow): Check for headless.
1713 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1715 * java/beans/beancontext/BeanContextSupport.java
1716 (deserialize): Implemented,
1717 (serialize): Implemented.
1719 2006-11-23 Roman Kennke <kennke@aicas.com>
1721 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1722 (createGraphics): Try to use Cairo graphics if available.
1724 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1726 * java/beans/beancontext/BeanContextSupport.java
1727 (toArray): Added API docs,
1728 (toArray(Object[])): Added API docs, removed NotImplementedException.
1730 2006-11-22 Tania Bento <tbento@redhat.com>
1732 * javax/swing/JRootPane.java
1733 (setLayeredPane): Added documentation; throw
1734 IllegalComponentStateException if layered pane parameter is null.
1736 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1738 * java/beans/beancontext/BeanContextSupport.java
1739 (avoidingGui): Removed NotImplementedException.
1741 2006-11-22 Francis Kung <fkung@redhat.com>
1743 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1744 (drawGlyphVector): Clip updated area to glyph bounds.
1745 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1746 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1747 x-coordinate and y-coordinate pixel shifting.
1748 (shifted): Removed method.
1749 (shiftX): New method, recognising scaling transforms.
1750 (shiftY): New method, recognising scaling transforms.
1751 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1753 2006-11-22 Roman Kennke <kennke@aicas.com>
1755 * java/awt/font/TextLayout.java
1756 (hash): New field. Caches the hash code.
1757 (hashCode): Implemented.
1759 2006-11-22 Roman Kennke <kennke@aicas.com>
1761 * java/awt/image/ImageFilter.java
1762 Reformat whole class.
1763 (getFilterInstance): Don't touch the consumer field. Don't check
1765 (imageComplete): Don't check consumer.
1766 (setColorModel): Don't check consumer.
1767 (setDimensions): Don't check consumer.
1768 (setHints): Don't check consumer.
1769 (setPixels): Don't check consumer.
1770 (setProperties): Pass the original property too.
1771 * java/awt/image/IndexColorModel.java
1772 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1773 transparent pixel by calling the new helper method.
1774 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1775 transparent pixel by calling the new helper method.
1776 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1777 transparent pixel by calling the new helper method.
1778 (coerceData): Removed. This is not needed.
1779 (getAlpha): Simply return value from color map. The transparent
1780 pixel has to be there.
1781 (setTransparentPixel): New helper method. Inserts the transparent
1783 * java/awt/image/RGBImageFilter.java
1784 Reformat whole class.
1785 (convertColorModelToDefault): Removed. No longer needed.
1786 (filterIndexColorModel): Don't handle transparent pixels
1788 (filterRGBPixels): Set pixels on consumer already.
1789 (makeColor): Removed. No longer needed.
1790 * java/awt/image/ReplicateScaleFilter.java
1791 (replicatePixels): Removed.
1792 (setDimension): Correctly compute destination size, avoid double
1794 (setPixels): Avoid double calculations. Fixed some boundary cases.
1795 (setupSources): New helper method.
1796 * java/awt/image/SampleModel.java
1797 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1799 * java/awt/image/SinglePixelPackedSampleModel.java
1800 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1801 This is not needed as the superclass already copies line
1803 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1804 removed some checks that the RI also doesn't perform. Call
1805 DataBuffer.setElem().
1807 2006-11-22 Roman Kennke <kennke@aicas.com>
1809 * java/awt/text/TextLayout.java
1810 (getLogicalRangesForVisualSelection): Implemented.
1812 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1814 * sun/reflect/annotation/AnnotationParser.java,
1815 * sun/reflect/annotation/AnnotationType.java,
1816 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1817 * sun/reflect/annotation/ExceptionProxy.java:
1819 * sun/misc/ServiceConfigurationError.java,
1820 * sun/misc/Service.java:
1823 2006-11-21 Roman Kennke <kennke@aicas.com>
1825 * java/awt/text/TextLayout.java
1826 (Run.isLeftToRight): New helper method.
1827 (logicalToVisual): New field. Maps logical indices to visual
1829 (visualToLogical): New field. Maps visual indices to logical
1831 (TextLayout): Setup mappings.
1832 (setupMappings): New method for setting up the mappings.
1833 (getCharacterLevel): Reorganized code.
1834 (getNextLeftHit(int)): Implemented.
1835 (getNextLeftHit(int,CaretPolicy)): New method.
1836 (getNextLeftHit(TextHitInfo)): Implemented.
1837 (getNextRightHit(int)): Implemented.
1838 (getNextRightHit(int,CaretPolicy)): New method.
1839 (getNextRightHit(TextHitInfo)): New method.
1840 (getVisualOtherHit): Implemented.
1841 (checkHitInfo): New helper methods for checking parameters.
1842 (hitToCaret): New helper method. Maps hit infos to caret locations.
1843 (caretToHit): New helper method. Maps caret locations to hit infos.
1844 (isCharacterLTR): New helper method.
1845 (CaretPolicy.getStrongCaret): Implemented.
1847 2006-11-21 Francis Kung <fkung@redhat.com>
1849 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1850 (draw): Include stroke width when calculating bounds.
1851 (updateBufferedImage): Round bounds more generously, handle negative
1852 height/width values, and clip more intelligently.
1853 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1854 (createPath): Add shortcut optimization for lines.
1855 (draw): Include stroke width when calculating bounds.
1856 (drawLine): Delegate to main draw() method.
1857 (drawRect): Likewise.
1858 (fillRect): Delegate to main fill() method.
1859 (findStrokedBounds): New method.
1860 (setCustomPaint): Round bounds more generously.
1861 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1862 (drawLine): Removed.
1863 (drawRect): Removed.
1864 (fillRect): Removed.
1866 2006-11-21 Francis Kung <fkung@redhat.com>
1868 * gnu/java/awt/java2d/TexturePaintContext.java
1869 (getRaster): Handle negative coordinate values.
1870 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1871 (setPaint): Moved custom paint processing to a new method.
1872 (setPaintPixels): Added x, y parameters.
1873 (getRealBounds): Added documentation.
1874 (copy): Copy clipping information.
1875 (drawLine): Process custom paints.
1876 (setCustomPaint): New method.
1877 (fill): Process custom paints.
1878 (drawGlyphVector): Process custom paints.
1879 (drawRect): Process custom paints.
1880 (draw): Process custom paints.
1881 * gnu/java/awt/peer/gtk/CairoSurface.java
1882 (cairoCM_opaque): New constant.
1883 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1884 (argb32): Removed constant.
1885 (rgb32): Removed constant.
1886 (BufferedImageGraphics(BufferedImage)): Updated constant names.
1887 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1888 (updateBufferedImage): Transform to device-space before updating.
1889 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1890 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1892 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1893 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1894 source at designated x, y origin.
1896 2006-11-21 Roman Kennke <kennke@aicas.com>
1898 * java/awt/text/TextLayout.java
1899 (Run): New inner helper class.
1900 (length): New field.
1901 (naturalBounds): New field.
1902 (offset): New field.
1903 (runIndices): Removed. This is now encapsulate in a Run object.
1904 (runs): Changed to Run[].
1905 (string): Changed to char[].
1906 (totalAdvance): New field. Caches advance value.
1907 (TextLayout(String,Font,FontRenderContext)): Change to store
1908 string as char[] and run layout as Run[]. Clean out empty
1910 (TextLayout(TextLayout,int,int)): Change to store
1911 string as char[] and run layout as Run[].
1912 (clone): Call private constructor for maximum efficiency.
1913 (determineWhitespace): Adapted to use char[] data.
1914 (draw): Adapted to use Run objects.
1915 (getAdvance): Cache computed total advance.
1916 (getBlackBoxBounds): Adapted to use Run objects.
1917 (getCaretInfo): Use natural layout bounds.
1918 (getCharacterCount): Return length field.
1919 (getLogicalHighlightShape): Adapted to use Run objects.
1920 (getNaturalBounds): New helper method. Calculates and returns the
1921 natural bounds of this text layout.
1922 (getOutline): Adapted to use Run objects.
1923 (getStringProperties): Adapted to use char[] data.
1924 (getVisibleAdvance): Adapted to use char[] and Run data.
1925 (handleJustify): Adapted to use char[] and Run data.
1926 (hitTestChar(float,float,Rectangle2D)): Implemented.
1927 (hitTestChar(float,float)): Use natural bounds.
1928 (setCharIndices): Adapted to use char[] and Run data.
1929 (toString): Adapted to use char[] and Run data.
1930 * java/text/Bidi.java
1931 (requiresBidi): Exclude paragraph separators from bidi-triggers.
1933 2006-11-21 Roman Kennke <kennke@aicas.com>
1935 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1936 Removed. This is now an inner class in GdkFontPeer.
1937 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1938 (drawString(float,float)): Use text layout cache from
1940 (getFontMetrics): Delegate to GdkFontPeer.
1941 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1942 (getGlyphCodes): Also check array size.
1943 (getGlyphPositions): Also check array size.
1944 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1945 (GdkFontLineMetrics.fm): Removed.
1946 (GdkFontLineMetrics.strikeThroughOffset): Removed.
1947 (GdkFontLineMetrics.strikeThroughThickness): Removed.
1948 (GdkFontLineMetrics.underlineOffset): Removed.
1949 (GdkFontLineMetrics.underlineThickness): Removed.
1950 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1951 FontMetrics argument. Don't init removed fields.
1952 (GdkFontLineMetrics.getAscent): Return font peer's field.
1953 (GdkFontLineMetrics.getDescent): Return font peer's field.
1954 (GdkFontLineMetrics.getHeight): Return font peer's field.
1955 (GdkFontLineMetrics.getLeading): Return font peer's field.
1956 (GdkFontLineMetrics.getNumChars): Reformat.
1957 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1958 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1959 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1960 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1961 (GdkFontMetrics): Moved class in here as inner class.
1962 Make it use the font peer's fields and for the char(s) width
1963 and string width method, use TextLayout to measure the actual widths.
1964 (ascent): New field.
1966 (DEFAULT_CTX): New constant field.
1967 (descent): New field.
1968 (FONT_METRICS_ASCENT): New constant.
1969 (FONT_METRICS_DESCENT): New constant.
1970 (FONT_METRICS_HEIGHT): New constant.
1971 (FONT_METRICS_MAX_ADVANCE): New constant.
1972 (FONT_METRICS_MAX_ASCENT): New constant.
1973 (FONT_METRICS_MAX_DESCENT): New constant.
1974 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1975 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1976 (height): New field.
1977 (maxAdvance): New field.
1978 (maxAscent): New field.
1979 (maxDescent): New field.
1980 (metrics): New field. Stores a FontMetrics for this font.
1981 (textLayoutCache): New field. Caches TextLayout instances.
1982 (underlineOffset): New field.
1983 (underlineThickness): New field.
1984 (cinit): Don't initialize resource bundle.
1985 (GdkFontPeer): Setup the metrics.
1986 (getFontMetrics): Return stored metrics if possible.
1987 (getLineMetrics): Adapt to new constructor.
1988 (initFont): New helper method.
1989 (setupMetrics): New helper method.
1990 * gnu/java/awt/peer/gtk/GtkToolkit.java
1991 (LRUCache): Made class a static class.
1992 (getFontMetrics): Delegate to GdkFontPeer.
1993 * native/jni/gtk-peer/gdkfont.h
1994 Added new constant defines.
1995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1996 (getFontMetrics): Rewritten to fetch the font metrics from
1999 2006-11-20 Tania Bento <tbento@redhat.com>
2001 * javax/swing/ButtonGroup.java:
2002 (setSelected): Select the ButtonModel if all conditions
2005 2006-11-20 Tania Bento <tbento@redhat.com>
2007 * javax/swing/JSlider.java:
2008 (updateLabelUIs): Removed casting.
2010 2006-11-20 Mark Wielaard <mark@klomp.org>
2012 * gnu/java/util/regex/RE.java (messages): Don't initialize.
2013 (bundle): New static final String field.
2014 (getLocalizedMessage): Initialize messages when still null.
2015 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2016 (set): Use RE.getLocalizedMessage().
2018 (setLineSeparator): Likewise.
2020 2006-11-20 Roman Kennke <kennke@aicas.com>
2022 * javax/swing/text/html/StyleSheet.java
2023 (linked): New field.
2024 (styleSheet): Replaced by linked.
2025 (addStyleSheet): Use an arraylist for simplicity.
2026 (getRule): Removed useless instantiation.
2027 (getStyleSheets): Convert array list to array.
2028 (removeStyleSheet): Use an arraylist for simplicity.
2029 (resolveStyle): Include styles from linked lists.
2031 2006-11-20 Roman Kennke <kennke@aicas.com>
2033 * javax/swing/text/BoxView.java
2034 (BoxView): Initialize with invalid req's.
2035 (forwardUpdate): Trigger repaint when children changed the
2037 (getResizeWeight): Return resizable when the pref differs from
2038 the min or the pref differs from the max size.
2039 (layoutMajorAxis): Actually sum up the preferred sizes.
2040 (paint): Made binary search more robust.
2041 (replace): Let arrays shrink when needed.
2042 (replaceLayoutArray): Let arrays shrink when needed.
2043 (setAxis): Trigger preferenceChanged.
2044 * javax/swing/text/CompositeView.java
2045 (getInsideAllocation): Call insets method to take account
2046 of overriding subclasses.
2047 * javax/swing/text/DefaultStyledDocument.java
2048 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2049 (ElementBuffer.insertUpdate): Only remove the found element, not
2051 * javax/swing/text/GlyphView.java
2052 (insertUpdate): Pass null in preferenceChanged.
2053 (removeUpdate): Pass null in preferenceChanged.
2054 (changedUpdate): Pass null in preferenceChanged.
2055 * javax/swing/text/Utilities.java
2056 (drawTabbedText): Avoid single calls to charWidth() and instead
2057 call charsWidth() on whole chunks.
2058 * javax/swing/text/html/HTMLDocument.java
2059 (BlockElement.getName): Fall back to super when necessary.
2060 (RunElement.getName): Fall back to super when necessary.
2061 (HTMLReader.MAX_THRESHOLD): New constant field.
2062 (HTMLReader.GROW_THRESHOLD): New constant field.
2063 (HTMLReader.theshold): New field.
2064 (HTMLReader.HTMLReader): Fetch threshold from document.
2065 (HTMLReader.addContent): Sucessivly grow the threshold.
2066 (createLeafElement): Don't create two elemens and don't set
2068 * javax/swing/text/html/TableView.java
2069 (RowView.replace): Invalidate grid.
2070 (gridValid): Made package private.
2071 (layoutMinorAxis): Mark all rows as invalid.
2072 (replace): Invalidate grid.
2074 2006-11-20 Roman Kennke <kennke@aicas.com>
2076 * javax/swing/text/AbstractDocument.java
2077 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2078 (DefaultDocumentEvent.modified): Made private.
2079 (DefaultDocumentEvent.THRESHOLD): New constant field.
2080 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2082 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2083 exceeding threshold.
2084 (DefaultDocumentEvent.getChange): Use iterative approach
2085 when we have no hashmap yet.
2086 (documentCV): Removed.
2087 (numWriters): Renamed from numWritersWaiting.
2088 (createPosition): Reformat.
2089 (getCurrentWriter): Synchronized.
2090 (readLock): Implement more straightforward.
2091 (readUnlock): Implement more straightforward.
2092 (writeLock): Implement more straightforward.
2093 (writeUnlock): Implement more straightforward.
2094 (remove): Write-lock here.
2095 (removeImpl): Don't write-lock here.
2097 2006-11-20 Roman Kennke <kennke@aicas.com>
2099 * javax/swing/JEditorPane.java
2100 (setPage): Set priority on loading thread.
2102 2006-11-20 Roman Kennke <kennke@aicas.com>
2104 * javax/swing/plaf/basic/BasicTextUI.java
2105 (RootView.paint): Avoid allocation.
2106 (cachedInsets): New field. Caches an Insets instance.
2107 (getNextVisualPositionFrom): Read-lock the document to avoid
2108 thread nastiness. Push allocation.
2109 (getPreferredSize): Push fake allocation when not yet laid out.
2110 (getVisibleEditorRect): Use cached insets.
2111 (viewToModel): Read-lock the document to avoid
2112 thread nastiness. Push allocation.
2114 2006-11-20 Roman Kennke <kennke@aicas.com>
2116 * javax/swing/text/StyleContext.java
2117 (attributeSetPool): Synchronize this map.
2118 (addAttribute): Synchronize this method.
2119 (addAttributes: Synchronize this method.
2120 (readObject): Install synchronized map on target object.
2121 (removeAttribute): Synchronize this method.
2122 (removeAttributes): Synchronize this method.
2123 (removeAttributes): Synchronize this method.
2125 2006-11-20 Roman Kennke <kennke@aicas.com>
2127 * javax/swing/text/GapContent.java
2128 (GapContentPosition.GapContentPosition): Removed constructor.
2129 (Mark): Made subclass of WeakReference to refer directly to
2130 the associated position.
2131 (Mark.refCount): Removed.
2132 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2133 New constructor. Used to reference a position and register the
2135 (Mark.Mark(index)): Call super and don't adjust mark offset.
2136 (Mark.compareTo): Removed.
2137 (Mark.equals): Removed.
2138 (Mark.getOffset): Return at least null. Removed assert.
2139 (Mark.getPosition): New helper method.
2140 (garbageMarks): New field.
2141 (positions): Removed.
2142 (searchMark): New field.
2143 (GapContent): Removed init of positions map.
2144 (addImpl): New helper method.
2145 (adjustPositionsInRange): Removed.
2146 (compare): New helper method.
2147 (createPosition): Rewritten for new datastructures. This now
2148 performs a much more efficient binary search for finding
2149 a position at the requested offste.
2150 (garbageCollect): Rewritten to collect unused marks.
2151 (getPositionsInRange): Adjusted for new data structures.
2152 (removeImpl): New helper method.
2153 (replace): Use new addImpl() and removeImpl() helper method for
2154 correctly adjusting the positions and gap.
2155 (search): Rewritten. Implements a more suitable binary search.
2156 (searchFirst): New helper method.
2157 (setPositionsInRange): Removed.
2158 (shiftEnd): Update the marks here.
2159 (shiftGap): Update the marks here.
2160 (shiftGapEndUp): Update the marks here.
2161 (shiftGapStartDown): Update the marks here.
2163 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2165 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2166 digest algorithm implementations.
2167 (readSignatures): Parse the manifest once and reuse that data.
2168 Add support for line breaks.
2169 (verifyHashes): Use the parsed manifest entry.
2170 (readManifestEntry): Removed.
2172 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2174 * java/beans/beancontext/BeanContextServicesSupport.java:
2175 Added more documentation.
2176 (addService(Class,BeanContextServiceProvider,boolean)):
2177 Synchronized over global hierarchy lock.
2178 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2179 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2180 (childJustRemovedHook(Object,BCSChild)): Implemented.
2181 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2183 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2184 Added revocation-only listeners.
2185 (getBeanContextServicesPeer()): Implemented.
2186 (getCurrentServiceClasses(Class)): Synchronized over global
2188 (getCurrentServiceSelectors(Class)): Synchronized over global
2189 hierarchy lock, and fixed FIXME.
2190 (getService(BeanContextChild,Object,Class,Object,
2191 BeanContextServiceRevokedListener)): Implemented.
2192 (hasService(Class)): Synchronized over global hierarchy lock.
2193 (releaseService(BeanContextChild,Object,Object)): Implemented.
2194 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2195 * java/beans/beancontext/BeanContextSupport.java:
2196 (remove(Object, boolean)): Documentation correction.
2198 2006-11-19 Roman Kennke <kennke@aicas.com>
2200 * javax/swing/JEditorPane.java
2201 (PageStream): New inner class.
2202 (PageLoader): New inner class.
2203 (loading): New field.
2204 (setPage): Implemented asynchronous loading.
2205 * javax/swing/text/DefaultStyledDocument.java
2206 (ElementBuffer.create): New helper method.
2207 (create): Use new ElementBuffer method instead of hack.
2208 * javax/swing/text/html/HTMLDocument.java
2209 (HTMLReader.flushImpl): New helper method.
2210 (HTMLReader.addContent): Use flushImpl().
2211 (HTMLReader.blockClose): Added null check.
2212 (HTMLReader.flush): Use flushImpl().
2213 * javax/swing/text/html/HTMLEditorKit.java
2214 (createDefaultDocument): Set load priority to 4 and token threshold
2216 * javax/swing/text/html/TableView.java
2217 (insertUpdate): Overridden to provide correct view factory.
2218 (removeUpdate): Overridden to provide correct view factory.
2219 (changedUpdate): Overridden to provide correct view factory.
2221 2006-11-19 Roman Kennke <kennke@aicas.com>
2223 * javax/swing/text/BoxView.java
2224 (clipRect): New field.
2225 (tmpRect): New field.
2226 (layout): Reorganized code. Now uses layoutAxis() helper method.
2227 (layoutAxis): New helper method.
2228 (paint): Optimized by using cached Rectangle objects and
2229 a binary search for child views inside the clip.
2230 * javax/swing/text/CompositeView.java
2231 (insideAllocation): Made private and initialized in constructor.
2232 (getInsideAllocation): Removed initialization block for
2233 insideAllocation field. Avoid unnecessary allocations.
2234 * javax/swing/text/GlyphView.java
2235 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2236 The remaining stuff (background, underline and striking) is
2237 done in the GlpyhView itself. Avoid unnecessary allocations.
2238 (cached): A cached Segment instance.
2239 (getText): Return cached segment.
2240 (paint): Paint underline, strike and background here. Avoid
2243 2006-11-19 Roman Kennke <kennke@aicas.com>
2245 * javax/swing/text/html/StyleSheet.java
2246 (getFontSize): Removed debug output.
2247 (ListPainter.tmpRect): New field.
2248 (ListPainter.paint): Align bullet vertically centered to
2249 the first line of the paragraph.
2251 2006-11-17 Roman Kennke <kennke@aicas.com>
2253 * gnu/javax/swing/text/html/css/CSSParser.java
2254 (parseDeclaration): Trim string before reporting.
2255 * gnu/javax/swing/text/html/css/FontSize.java
2257 (isRelative): New field.
2258 (sizeIndex): New field.
2259 (FontSize): Initialize new fields.
2260 (getValue): Changed to call getValue(int).
2261 (getValue(int)): New method. Implements relative font sizes.
2262 (isRelative): New method.
2263 (mapAbsolute): Store index.
2264 (mapEM): New helper method.
2265 (mapLarger): New helper method.
2266 (mapPercent): New helper method.
2267 (mapRelative): New helper method.
2268 (mapSmaller): New helper method.
2269 (mapValue): New helper method.
2270 * javax/swing/text/html/CSS.java
2271 (parseBackgroundShorthand): Create CSSColor directly.
2272 * javax/swing/text/html/StyleSheet.java
2273 (addRule): Invalidate resolved styles.
2274 (getFont): Call new getFontSize() method to resolve relative
2276 (getFontSize): New helper method. Resolves relative font sizes.
2277 (translateHTMLToCSS): Create CSS objects directly.
2279 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2281 * gnu/java/util/regex/RETokenNamedProperty.java:
2282 (getHandler(String)): Add support for 'all'.
2284 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2286 * gnu/javax/management/Server.java:
2287 Initial implementation of a GNU management server.
2288 * javax/management/MBeanPermission.java,
2289 * javax/management/MBeanRegistration.java,
2290 * javax/management/MBeanTrustPermission.java:
2293 2006-11-17 Mark Wielaard <mark@klomp.org>
2295 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2297 2006-11-17 Gary Benson <gbenson@redhat.com>
2299 * java/net/DatagramSocket.java (getLocalAddress, connect,
2300 receive): Perform security check on address not hostname.
2302 2006-11-16 Roman Kennke <kennke@aicas.com>
2304 * gnu/javax/swing/text/html/parser/support/Parser.java
2305 (_handleText): Fixed condition for consuming whitespace.
2306 Removed validator check, this is superfluous now.
2308 2006-11-16 Roman Kennke <kennke@aicas.com>
2310 * gnu/javax/swing/text/html/css/CSSParser.java
2311 (parseRuleset): Support 'combined' selectors.
2312 (main): Adapt callback for combined selectors support.
2313 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2314 (startStatement): Take selector array as argument, to
2315 support combined selectors.
2316 * javax/swing/text/html/BlockView.java
2317 (calculateMinorAxisRequirements): Fetch and apply alignment.
2318 * javax/swing/text/html/StyleSheet.java
2319 (CSSStyle): Inverted the constants for correct precedence.
2320 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2322 (CSSStyleSheetParserCallback.style): Removed.
2323 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2324 (CSSStyleSheetParserCallback.end): Push multiple styles.
2325 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2327 2006-11-16 Roman Kennke <kennke@aicas.com>
2329 * javax/swing/text/FlowView.java
2330 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2331 * javax/swing/text/GlyphView.java
2332 (tabExpander): New field.
2334 (breakView): Set tabX on broken view.
2335 (getPartialSpan): Let the painter fetch the span.
2336 (getTabbedSpan): Update the tab expander field. Maybe trigger
2338 (getTabExpander): Simply return the stored expander.
2339 * javax/swing/text/Utilities.java
2340 (getTabbedTextOffset): Made algoritm a little smarter and more
2342 (getTabbedTextWidth): Don't add single char widths, instead add
2343 chunks of characters.
2344 * javax/swing/text/html/ParagraphView.java
2345 (calculateMinorAxisRequirements): Adjust margin only when the
2346 CSS span is not fixed.
2348 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2350 * java/beans/beancontext/BeanContextSupport.java
2351 (getChildBeanContextMembershipListener): Implemented,
2352 (getChildPropertyChangeListener): Implemented,
2353 (getChildSerializable): Implemented,
2354 (getChildVetoableChangeListener): Implemented,
2355 (getChildVisibility): Implemented,
2356 (setDesignTime): Use same property name as Sun's implementation.
2358 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2360 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2361 * java/beans/Statement.java
2362 (toString): Updated to match reference implementation.
2364 2006-11-15 Roman Kennke <kennke@aicas.com>
2366 * javax/swing/text/html/HTMLEditorKit.java
2367 (InsertHTMLTextAction.actionPerformed): Also try inserting
2368 the alternate tag. Adjust the selection accordingly.
2369 (InsertHTMLTextAction.adjustSelection): New helper method.
2370 Adjusts the selection after an insertion.
2371 (insertAtBoundary): Delegate to deprecated method.
2372 (insertAtBoundry): Implemented missing method.
2373 (tryInsert): New helper method.
2374 (defaultActions): Implemented to fill the array with
2375 a couple of InsertHTMLTextActions.
2377 2006-11-15 Roman Kennke <kennke@aicas.com>
2379 * javax/swing/text/html/ImageView.java
2380 (Observer): New class. Observes image loading.
2381 (haveHeight): New field.
2382 (haveWidth): New field.
2383 (height): New field.
2386 (imageIcon): New field.
2387 (loading): New field.
2388 (observer): New field.
2389 (reloadImage): New field.
2390 (reloadProperties): New field.
2391 (ImageView): Initialize observer and some flags.
2392 (getImage): Update the image state and return the image.
2393 (loadImage): New helper method. Actually starts loading.
2394 (paint): Rewritten to paint the image directly, not via Icon.
2395 (reloadImage): Rewritten. Loads the image and its properties.
2396 (renderIcon): Removed. No more necessary.
2397 (setPropertiesFromAttributes): Don't nullify image here.
2398 Added comment about missing impl.
2399 (setSize): Added comment about missing impl.
2400 (updateSize): New helper method. Updates the size attributes.
2401 (updateState): New helper method. Makes sure the image
2402 and its properties are valid.
2404 2006-11-15 Roman Kennke <kennke@aicas.com>
2406 * gnu/javax/swing/text/html/parser/support/Parser.java
2407 (_handleEndTag_remaining): Consume whitespace after a closing
2410 2006-11-15 Roman Kennke <kennke@aicas.com>
2412 * javax/swing/text/html/HTMLDocument.java
2413 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2415 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2417 (HTMLReader.parseStack): Removed.
2418 (HTMLReader.blockClose): Simply call addContent() with ' '
2419 instead of doing more complicated stuff. Removed parseStack
2421 (HTMLReader.blockOpen): Removed parseStack handling.
2422 (getInsertingReader): Removed parseStack init.
2423 * gnu/javax/swing/text/html/parser/htmlValidator.java
2424 (closeTag): Return true only when the tag actually should be
2426 * gnu/javax/swing/text/html/parser/support/Parser.java
2427 (_handleEndTag): Only actually close the tag when the validator
2430 2006-11-15 Roman Kennke <kennke@aicas.com>
2432 * javax/swing/text/html/CSS.java
2433 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2435 * javax/swing/text/html/StyleSheet.java
2436 (BoxPainter.bottomPadding): New field.
2437 (BoxPainter.leftPadding): New field.
2438 (BoxPainter.rightPadding): New field.
2439 (BoxPainter.topPadding): New field.
2440 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2442 (BoxPainter.getInset): Recognize and include the padding.
2443 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2444 javax/swing/text/html/TableView.java
2445 (RowView.calculateMajorAxisRequirements): Adjust req's for
2447 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2448 (cellSpacing): New field.
2449 (columnRequirements): Made package private to avoid accessor method.
2450 (calculateMinorAxisRequirements): Include cellSpacing.
2451 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2452 (layoutMajorAxis): Likewise.
2453 (layoutColumns): Respect cellSpacing.
2454 (setParent): Overridden to fetch the CSS attributes when view gets
2456 (setPropertiesFromAttributes): New method. Fetches the cell
2457 spacing from the CSS attributes.
2459 2006-11-15 Roman Kennke <kennke@aicas.com>
2461 * gnu/javax/swing/text/html/parser/support/Parser.java
2462 (_handleText): Consume whitespace directly before a closing tag.
2463 (restOfTag): Consume whitespace directly after opening.
2464 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2465 (preprocess): Don't perform array boundary checking by
2466 catch AIOOBE, instead check the boundary in loop condition.
2467 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2468 (TAG_CLOSE): New constants. Describes the token pattern for
2471 2006-11-14 Roman Kennke <kennke@aicas.com>
2473 * javax/swing/text/html/ImageView.java
2474 (getPreferredSpan): Use CSS length values.
2475 * javax/swing/text/html/TableView.java
2476 (CellView.calculateMajorAxisRequirements): Overridden to
2477 set the maximum reqs to maximum.
2478 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2480 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2481 the total column reqs.
2482 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2483 the total column reqs.
2484 * gnu/javax/swing/text/html/css/CSSColor.java
2485 (convertValue): Catch NumberFormatExceptions for more robustness.
2486 * gnu/javax/swing/text/html/css/FontSize.java
2487 (mapPixels): Actually map px values. Catch NFE for more robustness.
2489 2006-11-14 Roman Kennke <kennke@aicas.com>
2491 * gnu/java/awt/font/autofit/AxisHints.java,
2492 * gnu/java/awt/font/autofit/Constants.java,
2493 * gnu/java/awt/font/autofit/GlyphHints.java,
2494 * nu/java/awt/font/autofit/Latin.java,
2495 * nu/java/awt/font/autofit/LatinAxis.java,
2496 * gnu/java/awt/font/autofit/LatinMetrics.java,
2497 * gnu/java/awt/font/autofit/Scaler.java,
2498 * gnu/java/awt/font/autofit/Script.java,
2499 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2500 * gnu/java/awt/font/autofit/Segment.java,
2501 * gnu/java/awt/font/autofit/Width.java:
2502 New classes. This is some skeleton stuff for the FreeType-alike
2504 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2505 * gnu/java/awt/font/opentype/OpenTypeFont.java
2506 (unitsPerEm): Made field public.
2507 (getRawGlyphOutline): New method. Fetches the raw outline.
2508 * gnu/java/awt/font/opentype/Scaler.java
2509 (getRawGlyphOutline): New method. Fetches the raw outline.
2510 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2511 (loadGlyph): New method. This is used to load raw outlines.
2512 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2513 (getRawOutline): New method. Fetches the raw outline.
2514 * gnu/java/awt/font/opentype/truetype/Zone.java:
2517 2006-11-14 Roman Kennke <kennke@aicas.com>
2519 * javax/swing/RepaintManager.java
2520 (RepaintManager): Fetch the default state for the double buffering
2521 from a system property gnu.swing.doublebuffering.
2523 2006-11-14 Roman Kennke <kennke@aicas.com>
2525 * javax/swing/plaf/basic/BasicLabelUI.java
2526 (cachedInsets): New field.
2527 (getFontMetrics): New helper method. Fetches the font metrics
2528 from the component or the toolkit.
2529 (getPreferredSize): Use getFontMetrics() helper method for
2530 fetching the font metrics.
2531 (paint): Use getFontMetrics() helper method for
2532 fetching the font metrics. Only paint if icon or text
2533 are != null. Use cached insets.
2534 (paintDisabledText): Don't store/restore color object. The
2535 JComponent painting mechanism takes care of this by calling
2537 (paintEnabledText): Don't store/restore color object. The
2538 JComponent painting mechanism takes care of this by calling
2541 2006-11-14 Roman Kennke <kennke@aicas.com>
2543 * gnu/java/awt/peer/GLightweightPeer.java
2544 (handleEvent): Try to do something reasonable and trigger painting
2545 for the lightweight component.
2546 (getFontMetrics): Fetch and return a font metrics object from
2549 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2551 * gnu/java/util/regex/RETokenNamedProperty.java:
2552 (getHandler(String)): Add support for 'all'.
2554 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2556 * AUTHORS: Add myself.
2558 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2560 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2561 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2562 Roman Kennke's entry.
2564 2006-11-13 Roman Kennke <kennke@aicas.com>
2566 * java/awt/image/IndexColorModel.java
2567 (createCompatibleSampleModel): Implemented missing method.
2569 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2571 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2572 from big endian systems correctly.
2574 2006-11-11 Roman Kennke <kennke@aicas.com>
2576 * gnu/javax/swing/text/html/css/CSSColor.java
2577 (isValidColor): New helper method. Checks strings if they
2578 form a valid color value.
2579 * gnu/javax/swing/text/html/css/Length.java
2580 (Length): Catch number format exceptions.
2581 * javax/swing/text/html/CSS.java
2582 (addInternal): New method. Checks for shorthand CSS attributes
2584 (parseBackgroundShorthand): New method. Parses the background
2585 shorthand attribute.
2586 * javax/swing/text/html/HTMLDocument.java
2587 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2588 (HTMLReader.LinkAction.start): Implemented to load the linked
2590 (HTMLReader.LinkAction.end): Removed. This is not needed.
2591 * javax/swing/text/html/StyleSheet.java
2592 (CSSStyleSheetParserCallback.declaration): Push declaration
2593 through CSS.addInternal() to parse shorthand attributes.
2594 (addCSSAttribute): Push declaration through CSS.addInternal()
2595 to parse shorthand attributes.
2596 (importStyleSheet): Implemented. This adds a stylesheet from
2598 * javax/swing/text/html/TableView.java
2599 (calculateColumnRequirements): Increase column index for
2600 non CellView children to avoid endless loop.
2601 * javax/swing/text/CompositeView.java
2602 (setParent): Comparen with numChildren not with real arraylength.
2604 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2606 * java/beans/beancontext/BeanContextSupport.java
2607 (getChildBeanContextChild): Implemented.
2609 2006-11-10 Roman Kennke <kennke@aicas.com>
2611 * javax/swing/text/View.java
2612 (updateLayout): Only repaint when needed.
2614 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2616 * java/util/Collections.java
2617 (sort(List)): Minor API doc addition,
2618 (sort(List, Comparator)): Likewise.
2620 2006-11-10 David Fu <fchoong@netbeans.jp>
2622 * javax/swing/text/html/HTMLWriter.java
2623 (traverse): Removed Classpath specific handling of implied
2625 (traverseHtmlFragment): Removed Classpath specific handling of
2628 2006-11-10 Roman Kennke <kennke@aicas.com>
2630 * javax/swing/text/ParagraphView.java
2631 (Row.getMaximumSize): Removed. This method is not necessary.
2632 * javax/swing/text/html/TableView.java
2633 (CellView): Moved attribute init to setPropertiesFromAttributes().
2634 (setPropertiesFromAttributes): Fetch attributes here.
2635 (RowView.RowView): Documented.
2636 (RowView.getMaximumSpan): Overridden to restrict the max span
2638 (RowView.layoutMajorAxis): Correctly layout the spans.
2639 (columnWidths): New field. Stores the width attributes of
2641 (calculateColumnRequirements): Added support for relative
2642 (== percent) width attributes.
2643 (calculateMajorAxisRequirements): Removed.
2644 (calculateMinorAxisRequirements): Removed unnecessary code.
2645 (getMaximumSpan): Overridden to restrict the table's width.
2646 (layoutColumns): Documented. Implement more clever table layout,
2647 i.e. for relative columns etc.
2648 (layoutMinorAxis): Don't mark rows invalid.
2649 (updateGrid): Added docs. Initialize column widths.
2651 2006-11-09 Roman Kennke <kennke@aicas.com>
2653 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2654 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2655 Implement basic headless toolkit.
2656 * java/awt/Toolkit.java
2657 (getDefaultToolkit): Check headless property and create
2658 headless toolkit when true.
2660 2006-11-09 Ingo Proetel <proetel@aicas.com>
2661 2006-11-09 Roman Kennke <kennke@aicas.com>
2663 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2664 (SwingButton.button): New field.
2665 (SwingButton.SwingButton): Added constructor.
2666 (SwingButton.isShowing): Access button field instead of
2667 the surrounding class.
2668 (SwingButton.getParent): Access button field instead of
2669 the surrounding class.
2670 (SwingButtonPeer): Call new SwingButton constructor.
2671 * gnu/java/awt/peer/swing/SwingComponent.java:
2672 Several documentation updates.
2673 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2674 (currentPaintEvents): New field.
2675 (peerFont): New field.
2676 (SwingComponentPeer): Initialize currentPaintEvents fields.
2677 (coalescePaintEvents): Implemented.
2678 (dispose): Unregister peer from heavyweight list of its container.
2679 (getGraphics): Fetch graphics from parent component.
2680 (handleEvent): Discard paint event if its coalesced.
2681 (init): Register component with its container for proper painting.
2682 (paint): Call peerPaint().
2683 (peerPaint): Added argument that indicates if we should update.
2684 Call paint or update on the actual AWT component.
2685 (peerPaintComponent): New method. Paints the peer (Swing) component.
2686 (setFont): Set peerFont field.
2687 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2688 (backbuffer): New field.
2689 (focusOwner): New field.
2690 (heavyweightDescendents): New field.
2691 (SwingContainerPeer): Take Container as argument. Don't call init
2693 (addHeavyweightDescendent): New method.
2694 (getFocusOwner): New helper method.
2695 (getInsets): Delegate to insets().
2696 (handleKeyEvent): Dispatch event to focus owner.
2697 (handleMouseEvent): Dispatch to child component.
2698 (isDoubleBuffering): New helper method.
2699 (peerPaint): Overridden to implement container painting with
2701 (peerPaintChildren): New method. Paints the descendents of this
2703 (removeHeavyweightDescendent): New helper method.
2704 * gnu/java/awt/peer/swing/SwingFramePeer.java
2705 (peerPaint): Removed.
2706 (peerPaintComponent): Overridden to paint the menu bar.
2707 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2708 (SwingLabel.label): New field.
2709 (SwingLabel.SwingLabel): Added constructor with Label argument.
2710 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2711 the actual AWT component.
2712 (SwingLabel.getParent): Implemented to fetch the parent from
2714 (SwingLabel.isShowing): Access the label field.
2715 (SwingLabelPeer): Set alignment from label.
2716 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2717 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2719 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2720 Don't be a lighweight peer.
2721 (SwingPanelPeer): Call init.
2722 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2723 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2724 (SwingTextField.textField): New field.
2725 (SwingTextField.SwingTextField): New constructor.
2726 (SwingTextField.isShowing): Access field not enclosing class.
2727 (SwingTextField.getGraphics): New method.
2728 (SwingTextField.getParent): New method.
2729 (SwingTextFieldPeer): Call new constructor.
2730 (select): Renamed arguments.
2731 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2732 (SwingWindowPeer): Call init.
2734 2006-11-09 Tania Bento <tbento@redhat.com>
2736 * javax/swing/JLabel.java
2737 (JLabel(Icon)): Changed documentation; Changed text to null.
2738 (JLabel(Icon,int)): Likewise.
2739 (JLabel(text)): Changed documenation.
2740 (JLabel(text,int)): Likewise.
2741 (JLabel(text,Icon,int)): Changed documentation; Throw
2742 IllegalArgumentException if int is not one of LEFT, RIGHT,
2743 CENTER, LEADING or TRAILING.
2745 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2747 * java/beans/beancontext/BeanContextSupport.java
2748 (BeanContextSupport): Use correct dtime default,
2749 (BeanContextSupport(BeanContext)): Likewise,
2750 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2752 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2753 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2755 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2757 * java/beans/beancontext/BeanContextSupport.java
2758 (getBeanContextPeer): Implemented.
2760 2006-11-09 Roman Kennke <kennke@aicas.com>
2762 * javax/swing/text/html/BlockView.java
2763 (cssHeight): Removed.
2764 (cssWidth): Removed.
2765 (cssSpans): New field. Replaces the two fields above.
2766 (BlockView): Allocate cssSpans array.
2767 (layoutMinorAxis): Fetch and use child span, not this view's span.
2768 (setCSSSpan): Adjusted to use cssSpans array.
2769 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2771 2006-11-09 Roman Kennke <kennke@aicas.com>
2773 * javax/swing/text/html/InlineView.java
2774 (nowrap): New field.
2775 (getBreakWeight): Add support for nowrap.
2776 (setPropertiesFromAttributes): Fetch the nowrap setting.
2778 2006-11-09 Roman Kennke <kennke@aicas.com>
2780 * gnu/javax/swing/text/html/css/CSSParser.java
2781 (parseRuleset): Use new Selector class.
2782 (parseValue): Parse multiple anys, not only one.
2783 (main): Allow stylesheet be specified on the command line.
2784 Use new Selector class.
2785 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2786 (startStatement): Use Selector class.
2787 * gnu/javax/swing/text/html/css/CSSScanner.java
2788 (readName): Actually read a character in the loop to avoid
2790 * gnu/javax/swing/text/html/css/Length.java
2791 (getValue): Only multiply when we have a percentage value.
2792 * gnu/javax/swing/text/html/css/Selector.java:
2793 New class. Provides handling of CSS selectors.
2794 * javax/swing/text/html/StyleSheet.java
2795 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2796 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2797 (CSSStyle.PREC_NORM): New constant field.
2798 (CSSStyle.PREC_UA): New constant field.
2799 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2800 (CSSStyle.precedence): New field.
2801 (CSSStyle.priority): Removed.
2802 (CSSStyle.selector): New field.
2803 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2805 (CSSStyle.compareTo): Adjusted to use the precedence and
2806 specificity of the selector.
2807 (CSSStyleSheetParserCallback.precedence): New field.
2808 (CSSStyleSheetParserCallback.selector): Removed.
2809 (CSSStyleSheetParserCallback.style): New field.
2810 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2811 Initialize with precedence.
2812 (CSSStyleSheetParserCallback.declaration): Don't look up
2813 existing rule, simply create new one.
2814 (CSSStyleSheetParserCallback.endStatement): Append style
2816 (CSSStyleSheetParserCallback.startStatement): Use new Selector
2818 (css): Changed to be ArrayList.
2819 (addRule): Create parser with author-normal precendence.
2820 (getRule): Fixed implementation.
2821 (loadRules): Create parser with UA precendence.
2822 (resolveStyle): Use Selector class for resolving and matching
2824 (translateHTMLToCSS): Added mappings for a couple of HTML
2827 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2830 * java/beans/SimpleBeanInfo.java
2831 (loadImage): Check for nulls.
2833 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2835 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2836 (getpeername): Added 16 byte offset to memcpy operation.
2838 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2840 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2841 (getsockname): Added 16 byte offset to memcpy operation.
2843 2006-11-08 Mark Wielaard <mark@klomp.org>
2846 * java/io/OutputStreamWriter.java
2847 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2848 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2850 2006-11-08 Roman Kennke <kennke@aicas.com>
2852 * javax/swing/text/html/HTMLEditorKit.java
2853 (getParser): Use plain HTML_401F DTD.
2854 * javax/swing/text/html/HTMLDocument.java
2855 (HTMLReader.print): Removed method and all calls to it.
2856 (HTMLReader.printBuffer): Removed method and all calls to it.
2857 (HTMLReader.inImpliedParagraph): New field.
2858 (HTMLReader.inParagraph): New field.
2859 (HTMLReader.addContent): Create implied p-tag if necessary.
2860 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2861 (HTMLReader.blockClose): Close implied p-tag if necessary.
2862 (HTMLReader.blockOpen): Close implied p-tag if necessary.
2863 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2865 2006-11-08 Roman Kennke <kennke@aicas.com>
2867 * javax/swing/text/html/HTMLEditorKit.java
2868 (HTMLFactory.create): Removed mapping for TD tag. This
2869 is done in TableView.
2870 * javax/swing/text/html/TableView.java:
2871 Implemented from scratch.
2873 2006-11-07 Roman Kennke <kennke@aicas.com>
2875 * gnu/javax/swing/text/html/parser/support/Parser.java
2876 (_handleText): Check if text content is actually allowed before
2877 passing empty text fragments on to the parser callbacks.
2879 2006-11-07 Mark Wielaard <mark@klomp.org>
2881 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2885 2006-11-07 Tania Bento <tbento@redhat.com>
2887 * java/awt/FlowLayout.java
2888 (getSize): If parent does not have a component, then a
2889 different formula is used to calcuate the width.
2891 2006-11-07 Roman Kennke <kennke@aicas.com>
2893 * javax/swing/text/html/HTMLEditorKit.java
2894 (HTMLFactory.create): Include ListView.
2895 * javax/swing/text/html/ListView.java
2896 (paint): Removed comment.
2897 * javax/swing/text/html/StyleSheet.java
2898 (CSSStyle.priority): New field.
2899 (CSSStyle.CSSStyle(int)): New constructor with priority.
2900 (CSSStyle.compareTo): New method. Used for sorting the styles.
2901 (CSSStyleSheetParserCallback.declaration): Store the style
2902 with the complete selector.
2903 (ListPainter.attributes): Renamed as field.
2904 (ListPainter.styleSheet): New field.
2905 (ListPainter.type): New field.
2906 (ListPainter.ListPainter): Pass StyleSheet to constructor.
2907 (ListPainter.paint): Provide simplistic implementation.
2908 (getListPainter): Pass StyleSheet to constructor.
2909 (resolveStyle): Fixed CSS style resolving.
2911 2006-11-07 Roman Kennke <kennke@aicas.com>
2913 * gnu/javax/swing/text/html/css/BorderWidth.java:
2914 New class. Handles CSS border width values.
2915 * gnu/javax/swing/text/html/css/Length.java
2916 (floatValue): Made protected so that BorderWidth can access it.
2917 * javax/swing/text/html/CSS.java
2918 (Attribute.BORDER_BOTTOM_COLOR): New static field.
2919 (Attribute.BORDER_BOTTOM_STYLE): New static field.
2920 (Attribute.BORDER_LEFT_COLOR): New static field.
2921 (Attribute.BORDER_LEFT_STYLE): New static field.
2922 (Attribute.BORDER_RIGHT_COLOR): New static field.
2923 (Attribute.BORDER_RIGHT_STYLE): New static field.
2924 (Attribute.BORDER_TOP_COLOR): New static field.
2925 (Attribute.BORDER_TOP_STYLE): New static field.
2926 (getValue): Added some mappings for the border color and
2927 border width values.
2928 * javax/swing/text/html/CSSBorder.java: New class. Implements
2930 * javax/swing/text/html/StyleSheet.java
2931 (BoxPainter.background): New field.
2932 (BoxPainter.border): New field.
2933 (BoxPainter.bottomInset): Documented.
2934 (BoxPainter.leftInset): Documented.
2935 (BoxPainter.rightInset): Documented.
2936 (BoxPainter.topInset): Documented.
2937 (BoxPainter.BoxPainter): Added support for borders and background.
2938 (BoxPainter.getInset): Add border insets.
2939 (BoxPainter.paint): Implemented. Paints the background and the
2941 (addRule): Be less picky about parse and IO exceptions.
2942 (getBoxPainter): Adjust to new BoxPainter constructor.
2944 2006-11-07 Andreas <a.tobler@schweiz.org>
2946 * examples/Makefile.am: Add rule to install the *.html files we use
2949 2006-11-06 Francis Kung <fkung@redhat.com>
2951 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2952 (fillRect): Handle custom composites.
2953 (drawRenderedImage): Handle custom composites.
2954 (drawImage): Handle custom composites.
2955 (createBuffer): New method.
2956 (drawLine): Handle custom composites.
2957 (drawComposite): New method.
2958 (fill): Handle custom composites.
2959 (getNativeCM): New method.
2960 (drawGlyphVector): Handle custom composites.
2961 (drawRect): Handle custom composites.
2962 (draw): Handle custom composites.
2963 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2964 (drawComposite): Unset composite during draw call, to prevent parent
2965 from handling composite again.
2966 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2967 (getBufferCM): Added comments.
2968 (getNativeCM): Made abstract.
2969 (setComposite): Removed comments.
2971 2006-11-06 Roman Kennke <kennke@aicas.com>
2973 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2974 Fixed initial window size and start document.
2976 2006-11-06 Roman Kennke <kennke@aicas.com>
2978 * javax/swing/text/html/HTMLDocument.java
2979 (HTMLReader.addSpecialElement): Removed comment about
2981 (HTMLReader.handleComment): Create SimpleAttributeSet instead
2982 of htmlAttributeSet.
2983 * javax/swing/text/html/parser/DocumentParser.java
2984 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2985 of htmlAttributeSet.
2986 * javax/swing/text/html/parser/ParserDelegator.java
2987 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2988 of htmlAttributeSet.
2989 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2990 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2991 of htmlAttributeSet.
2992 * gnu/javax/swing/text/html/parser/support/Parser.java
2993 (getAttributes): Return a SimpleAttributeSet.
2994 (restOfTag): Don't set resolving parent here.
2996 2006-11-06 Tania Bento <tbento@redhat.com>
2998 * java/awt/TextComponent.java
2999 (setSelectionStart): Added check.
3001 2006-11-06 Tania Bento <tbento@redhat.com>
3003 * java/awt/TextField.java
3004 (minimumSize(int)): Check if minimum size has been previously
3005 set and changed values of Dimension returned if peer == null.
3006 (preferredSize(int)): Check if preferred size has been previously
3007 set and changed values of Dimension returned if peer == null.
3009 2006-11-06 Roman Kennke <kennke@aicas.com>
3011 * javax/swing/JTree.java
3012 (TreeModelHandler.treeNodesRemoved): Implemented.
3013 (TreeModelHandler.treeStructureChanged): Implemented.
3014 (nodeStates): Made package private.
3016 2006-11-06 Francis Kung <fkung@redhat.com>
3019 * javax/swing/JTree.java
3020 (clearSelectionPathStates): New private method to clean up nodeStates.
3021 (removeSelectionPath): Call clearSelectionPathStates().
3022 (removeSelectionPaths): Call clearSelectionPathStates().
3023 (removeSelectionRow): Call clearSelectionPathStates().
3024 (setSelectionPath): Call clearSelectionPathStates().
3025 (setSelectionPaths): Call clearSelectionPathStates().
3026 (setSelectionRow): Call clearSelectionPathStates().
3028 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
3031 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3033 2006-11-06 Roman Kennke <kennke@aicas.com>
3035 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3036 Changed to implement a minimalistic browser.
3037 * examples/gnu/classpath/examples/swing/forms.html,
3038 * examples/gnu/classpath/examples/swing/textstyles.html,
3039 * examples/gnu/classpath/examples/swing/welcome.html:
3040 Some example content.
3042 2006-11-06 Roman Kennke <kennke@aicas.com>
3044 * javax/swing/text/ComponentView.java
3045 (setParent): Lock the document and repaint the hosting
3047 * javax/swing/text/FlowView.java
3048 (FlowStrategy.createView): Removed comment.
3049 (FlowView): Initialize span with Short.MAX_VALUE.
3050 (getFlowStart): Return 0 unconditionally.
3051 (layout): Moved code around to make it more readable.
3052 (loadChildren): Always set the parent.
3053 * javax/swing/text/GlyphView.java
3054 (DefaultGlyphPainter.fontMetrics): New field.
3055 (DefaultGlyphPainter.getAscent): Use new helper method to
3056 synchronize the font metrics.
3057 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3058 to synchronize the font metrics.
3059 (DefaultGlyphPainter.getDescent): Use new helper method to
3060 synchronize the font metrics.
3061 (DefaultGlyphPainter.getHeight): Use new helper method to
3062 synchronize the font metrics.
3063 (DefaultGlyphPainter.getSpan): Use new helper method to
3064 synchronize the font metrics.
3065 (DefaultGlyphPainter.modelToView): Use new helper method to
3066 synchronize the font metrics.
3067 (DefaultGlyphPainter.updateFontMetrics): New helper method for
3068 font metrics caching.
3069 (DefaultGlyphPainter.viewToModel): Use new helper method to
3070 synchronize the font metrics. Fixed view to model mapping.
3071 * javax/swing/text/View.java
3072 (removeAll): Pass null to replace().
3073 (setParent): Only reparent children that have this view as parent.
3075 2006-11-05 Mark Wielaard <mark@klomp.org>
3077 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3078 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3079 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3081 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3083 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3084 Remove gnu_java_nio_channels_FileChannelImpl.c.
3086 2006-11-03 Roman Kennke <kennke@aicas.com>
3088 * javax/swing/text/html/BlockView.java
3089 (attributes): New field.
3090 (cssHeight): New field.
3091 (cssWidth): New field.
3092 (painter): New field.
3093 (calculateMajorAxisRequirements): Overridden to account for
3095 (calculateMinorAxisRequirements): Overridden to account for
3097 (layoutMinorAxis): Overridden to account for CSS settings.
3098 (changedUpdate): Formatting fixlet.
3099 (constrainSize): New helper method.
3100 (getAlignment): Fix alignment.
3101 (getAttributes): Cache attributes for better performance.
3102 (getStyleSheet): Fetch stylesheet from document rather than creating
3104 (paint): Remove comment.
3105 (setCSSSpan): New helper method.
3106 (setPropertiesFromAttributes): Implemented to fetch the
3107 recognized properties.
3108 * javax/swing/text/html/CSS.java
3109 (getValue): Added mapping for width and height attributes.
3110 * javax/swing/text/html/InlineView.java
3111 (longestWord): New field.
3112 (getLongestWord): New helper method.
3113 (calculateLongestWord): New helper method.
3114 (getMinimumSpan): Overridden to constrain the minimum span by the
3116 * javax/swing/text/html/ParagraphView.java
3117 (cssHeight): New field.
3118 (cssWidth): New field.
3119 (calculateMinorAxisRequirements): Overridden to account for
3121 (setCSSSpan): New helper method.
3122 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3124 * gnu/javax/swing/text/html/css/Length.java
3125 (percentage): New field.
3126 (Length): Determine percentage values.
3127 (getValue(float)): New method for handling percentage values.
3128 (isPercentage): New method.
3130 2006-11-03 Tania Bento <tbento@redhat.com>
3132 * java/awt/TextArea.java
3133 (getMinimumSize): Changed documentation.
3134 (getPreferredSize): Changed documentation.
3135 (getMinimumSize(int,int)): Changed documenation.
3136 (getPreferredSize(int,int)): Changed documenation.
3137 (minimumSize): Changed documentation.
3138 (preferredSize): Changed documenation.
3139 (minimumSize(int,int)): Changed documentation. Checked if
3140 minimum size had been previously set and changed values of
3141 Dimension returned if peer == null.
3142 (preferredSize(int, int)): Checked if preferred size had been
3143 previously set and changed values of Dimension returned if
3146 2006-11-03 Tania Bento <tbento@redhat.com>
3148 * java/awt/event/ComponentEvent.java
3149 (paramString): Changed format of string representation returned.
3151 2006-11-03 Roman Kennke <kennke@aicas.com>
3153 * javax/swing/text/html/HTMLDocument.java
3154 (HTMLReader.FormAction.start): Added support for textarea.
3155 (HTMLReader.FormAction.end): Added support for textarea.
3156 (HTMLReader.HeadAction.end): Call super to actually close the
3158 (HTMLReader.inTextArea): New field.
3159 (HTMLReader.textAreaDocument): New field.
3160 (HTMLReader.handleText): Call textAreaContent when inside
3162 (HTMLReader.textAreaContent): Implemented to initialize
3163 the text area's model.
3164 * javax/swing/text/html/FormView.java
3165 (createComponent): Added support for textarea tag.
3167 2006-11-03 Roman Kennke <kennke@aicas.com>
3169 * javax/swing/text/html/HTMLDocument.java
3170 (HTMLReader.IsindexAction.start): Implemented.
3172 2006-11-03 Roman Kennke <kennke@aicas.com>
3174 * javax/swing/text/html/StyleSheet.java
3175 (addRule): Implemented.
3176 * javax/swing/text/html/HTMLDocument.java
3177 (HTMLReader.inStyleTag): New field.
3178 (HTMLReader.styles): New field.
3179 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3181 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3182 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3183 (HTMLReader.handleText): When inside a style tag, add
3184 content to the styles array.
3186 2006-11-02 Roman Kennke <kennke@aicas.com>
3188 * javax/swing/text/html/FormView.java
3189 (maxIsPreferred): New field.
3190 (createComponent): Initialize components correctly.
3191 (getMaximumSpan): Return the preferred span for components
3192 that need this. The maxIsPreferred flag is set accordingly
3194 * javax/swing/text/html/HTMLDocument.java
3195 (HTMLReader.FormAction.start): Implemented to set the
3196 correct model as attribute.
3197 (HTMLReader.FormAction.setModel): New helper method.
3198 (HTMLReader.FormAction.end): Call super to finish the element.
3199 Added TODO about things left to do.
3200 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3201 than htmlAttributeSet.
3202 * javax/swing/text/html/HTMLEditorKit.java
3203 (HTMLFactory.create): Create BlockView for FORM tags.
3204 Create FormView for INPUT, TEXTAREA and SELECT tags.
3206 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3208 * java/awt/geom/GeneralPath.java: API doc fixes.
3210 2006-11-02 Roman Kennke <kennke@aicas.com>
3212 * javax/swing/text/html/ImageView.java
3213 (getImageURL): Fetch attribute from element. Consider the
3214 base URL for relative image locations.
3216 2006-11-02 Roman Kennke <kennke@aicas.com>
3218 * javax/swing/JEditorPane.java
3219 (setContentType): Strip off attributes.
3220 * javax/swing/text/html/HTMLEditorKit.java
3221 (LinkController.activateLink(int,JEditorPane,int,int): New
3222 method. Implements activation of a hyperlink.
3223 (LinkController.activateLinke(int,JEditorPane)): Delegate
3224 to the other activateLink() method.
3225 (LinkController.createHyperlinkEvent): New helper method.
3226 (LinkController.mouseClicked): Implemented to activate the link.
3227 (LinkController.mouseDragged): Added comment that this
3228 method does nothing.
3229 (LinkController.mouseMoved): Update cursor for hyperlinks.
3230 (mouseHandler): Renamed field to linkController.
3231 (HTMLEditorKit): Create a link controller.
3232 (clone): Give the clone a new link controller.
3233 (deinstall): De-install link controller as mouseMotionListener too.
3234 (install): Install link controller as mouseMotionListener too.
3236 2006-11-02 Roman Kennke <kennke@aicas.com>
3239 * javax/swing/text/FlowView.java
3240 (FlowStrategy.changedUpdate): Reversed condition. This caused
3241 wrong layout and bad performance.
3242 (FlowStrategy.insertUpdate): Reversed condition. This caused
3243 wrong layout and bad performance.
3244 (FlowStrategy.removeUpdate): Reversed condition. This caused
3245 wrong layout and bad performance.
3246 (LogicalView): Changed to be a subclass of CompositeView.
3247 (LogicalView()): Only take one Element argument.
3248 (LogicalView.childAllocation): New method for implementing
3249 the abstract CompositeView method.
3250 (LogicalView.forwardUpdateToView): Overridden for correct
3252 (getMinimumSpan): Overridden to handle line breaking correctly.
3253 (getPreferredSpan): Implemented to handle line breaking correctly.
3254 (getViewAtPoint): New method for implementing
3255 the abstract CompositeView method.
3256 (getViewIndexAtPosition): Overridden to handle leaf elements
3258 (isAfter): New method for implementing
3259 the abstract CompositeView method.
3260 (isBefore): New method for implementing
3261 the abstract CompositeView method.
3262 (loadChildren): Overridden to handle leaf elements
3264 (paint): New method for implementing
3265 the abstract CompositeView method.
3266 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3267 (loadChildren): Initialize flow layout by sending a synthetic
3268 insertUpdate() to the layout strategy.
3269 * javax/swing/text/GlyphView.java
3270 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3271 font metrics if component is not available. Add initial offset
3273 (breakView): Be more clever when breaking the view.
3274 (getBreakLocation): New helper method to determine a good
3276 (getBreakWeight): Be more clever when breaking the view.
3277 (getTabbedSpan): Make sure we have a painter. Use view's
3278 start and end offset rather than the element's.
3279 * javax/swing/text/Utilities.java
3280 (drawTabbedText): Avoid useless add and sub with the y offset.
3282 2006-11-02 Roman Kennke <kennke@aicas.com>
3285 * gnu/java/awt/peer/ClasspathFontPeer.java
3286 (getStringBounds): Removed abstract method. This is replaced
3287 in java.awt.Font to use a TextLayout.
3288 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3289 (GtkWindowPeer): Set a font on the window object.
3290 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3291 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3292 Changed to take char,int,int instead of String. Filter
3294 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3295 Create char array out of string.
3296 (getLogicalBounds): Don't translate bounds. They already are
3298 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3299 (stringWidth): Filter out control characters.
3300 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3301 (getStringBounds): Removed unneeded method.
3302 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3304 * gnu/java/awt/peer/qt/QtFontPeer.java
3305 (getStringBounds): Removed unneeded method.
3306 * gnu/java/awt/peer/x/XFontPeer.java
3307 (getStringBounds): Removed unneeded method.
3308 * gnu/java/awt/peer/x/XFontPeer2.java
3309 (getStringBounds): Removed unneeded method.
3310 * java/awt/Font.java
3311 (getStringBounds(char[],int,int,FontRenderContext)):
3312 Use TextLayout to determine the bounds.
3313 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3314 Delegate to the char[] version of this method.
3315 (getStringBounds(String,FontRenderContext)):
3316 Delegate to the char[] version of this method.
3317 (getStringBounds(String,int,int,FontRenderContext)):
3318 Delegate to the String version of this method.
3320 2006-11-01 Tania Bento <tbento@redhat.com>
3322 * java/awt/ScrollPaneAdjustable.java
3323 (paramString): Changed format of string representation returned.
3324 (paramStringHelper): New private method.
3326 2006-11-01 Tania Bento <tbento@redhat.com>
3328 * java/awt/GridBagLayout.java
3329 (toString): Implemented method.
3331 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3333 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3334 initialization to NP_Initialize.
3335 (NP_Initialize): Initialize GLib threading.
3337 2006-10-31 Tania Bento <tbento@redhat.com>
3339 * javax/swing/JTextField.java
3340 (fireActionPerformed): When creating the new event, if
3341 actionCommand == null, then getText() is used.
3343 2006-10-31 Francis Kung <fkung@redhat.com>
3345 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3346 (fillArc): Corrected arc type to Arc2D.PIE.
3348 2006-10-31 Roman Kennke <kennke@aicas.com>
3350 * javax/swing/text/html/HTMLDocument.java
3351 (HTMLReader.PreAction.end): Implemented.
3352 (HTMLReader.PreAction.start): Implemented.
3353 (HTMLReader.inPreTag): New field.
3354 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3355 (HTMLReader.preContent): Implemented.
3357 2006-10-31 Tania Bento <tbento@redhat.com>
3359 * javax/swing/JTextField.java
3360 (fireActionPerformed): When creating the new event,
3361 actionCommand should be used as the command, not
3364 2006-10-31 Roman Kennke <kennke@aicas.com>
3366 * javax/swing/text/html/HTMLEditorKit.java
3367 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3368 HTML or Styled documents.
3370 2006-10-31 David Fu <fchoong@netbeans.jp>
3372 * javax/swing/text/html/HTMLWriter.java: New class.
3374 2006-10-30 Roman Kennke <kennke@aicas.com>
3376 * java/awt/dnd/DragSourceContext.java
3377 (dragExit): Use constant fields instead of 0.
3378 (updateCurrentCursor): Completed implementation.
3380 2006-10-30 Roman Kennke <kennke@aicas.com>
3382 * java/awt/dnd/DragGestureRecognizer.java
3383 (resetRecognizer): Added API docs. Do not replace the events object
3384 but rather clear() it. Removed not implemented tag.
3386 2006-10-30 Roman Kennke <kennke@aicas.com>
3388 * java/awt/datatransfer/DataFlavor.java
3389 (writeExternal): Remove not implemented tag.
3391 2006-10-30 Roman Kennke <kennke@aicas.com>
3393 * java/awt/datatransfer/DataFlavor.java
3394 (javaFileListFlavor): Don't explicitly specify class.
3395 (plainTextFlavor): Don't explicitly specify class.
3396 (mimeType): Changed to type MimeType. Remove final.
3397 (representationClass): Remove final.
3398 (DataFlavor): Don't do anything here.
3399 (DataFlavor(Class,String,String)): Removed.
3400 (DataFlavor(Class,String)): Initialize here.
3401 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3402 (DataFlavor(String,String)): Initialize in init().
3403 (DataFlavor(String)): Initialize in init().
3404 (init): New initialization method.
3405 (getMimeType): Delegate to MimeType.toString().
3406 (getParameter(String,String)): Removed. Is now done in MimeType.
3407 (getParameter(String)): Delegate to MimeType.
3408 (getPrimaryType): Delegate to MimeType.
3409 (getRepresentationClassFromMime): Removed.
3410 (getRepresentationClassFromMimeThrows): Removed.
3411 (getSubType): Delegate to MimeType.
3412 (hashCode): Take MimeType.toString() for the hashCode.
3413 (isFlavorRemoveObjectType): Return true only when representation
3414 class is remove and serializable and the mime type is remote.
3415 (isFlavorSerializedObjectType): Return true only when representation
3416 class is serializable and the mime type is serialized.
3417 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3418 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3419 (readExternal): Implemented stub method.
3420 (writeExternal): Implemented stub method.
3421 * java/awt/datatransfer/MimeType.java: New helper class.
3423 2006-10-28 Roman Kennke <kennke@aicas.com>
3425 * javax/swing/TransferHandler.java
3426 (importData): Implemented stub method. Added API docs.
3428 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3430 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3432 * native/jni/classpath/classpath_jawt.h: Likewise.
3433 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3434 initializer for surface_info_x11->depth.
3436 2006-10-26 Tania Bento <tbento@redhat.com>
3438 * java/awt/FileDialog.java:
3439 (setFile): Changed if-clause condition.
3441 2006-10-25 Francis Kung <fkung@redhat.com>
3443 * include/gnu_java_nio_VMChannel.h,
3444 * include/java_net_VMNetworkInterface.h,
3445 * include/gnu_java_nio_EpollSelectorImpl.h,
3446 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3447 * include/gnu_java_nio_FileChannelImpl.h,
3448 * include/gnu_java_nio_KqueueSelectorImpl.h,
3449 * include/gnu_java_nio_VMPipe.h,
3450 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3452 2006-10-25 Tania Bento <tbento@redhat.com>
3454 * java/awt/Dialog.java: Created new private variable
3456 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3457 Set cursor to default cursor.
3458 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3460 (generateName): New method.
3461 (getUniqueLong): New private method.
3462 * java/awt/FileDialog.java: Created new private variable
3463 next_file_dialog_number.
3464 (setFile): If file == "", set it to null.
3465 (generateName): New method.
3466 (getUniqueLong): New private method.
3468 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3470 * java/net/MulticastSocket.java:
3471 (setNetworkInterface): Rewritten.
3473 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3475 * native/jni/java-net/javanet.h: Added declaration for
3476 _javanet_create_inetaddress.
3477 * native/jni/java-net/javanet.c:
3478 (_javanet_create_inetaddress): Removed static keyword.
3480 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3482 * gnu/java/net/PlainDatagramSocketImpl.java:
3483 (connect): Use VMChannel instance for connect call.
3484 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3485 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3486 (setOption): Handle multicast options.
3487 (getOption): Handle multicast options.
3488 * gnu/java/net/PlainSocketImpl.java:
3489 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3490 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3491 (setOption): Filter unappropriate options.
3492 (getOption): Filter unappropriate options.
3493 (connect): Use given SocketAddress.
3494 (close): Reset address and port.
3496 * include/Makefile.am: Removed all occurences of
3497 gnu_java_net_VMPlainDatagramSocketImpl.h.
3498 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3499 * native/jni/java-net/Makefile.am: Removed
3500 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3501 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3503 as SocketException, declare to throw SocketException.
3504 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3505 for SocketException and ConnectException.
3506 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3508 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3510 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3511 (JCL_thread_interrupted): New function.
3512 (initIDs): Added initialisation for isThreadInterrupted method id.
3513 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3514 CPNET_IP_TTL to java_sockopt enum.
3515 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3516 case, handle SO_LINGER case properly.
3517 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3518 case, handle SO_LINGER case properly.
3519 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3521 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3523 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3525 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3527 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3528 * vm/reference/gnu/java/nio/VMChannel.java:
3529 (connect(int, byte[], int, int)): Declare to throw SocketException.
3530 (connect6): Declare to throw SocketException.
3531 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3532 (isThreadInterrupted): New method.
3533 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3535 (setTimeToLive): New method.
3536 (getTimeToLive): New method.
3537 (setMulticastInterface(int, InetAddress)): New method.
3538 (setMulticastInterface(int, int, Inet4Address): New method.
3539 (setMulticastInterface6(int, int, Inet6Address): New method.
3540 (setOptions): Handle SO_LINGER case.
3541 (getOptions): Add missing SO_REUSEADDR case.
3542 * java/net/Socket.java:
3543 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3544 when exception was thrown out of connect().
3545 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3546 Boolean.FALSE with Integer.valueOf(-1).
3547 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3548 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3549 * NEWS: Documented VM interface changes.
3551 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3553 * java/net/Inet6Address.java:
3554 (isMulticastAddress): Fixed check.
3556 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3559 * java/net/MulticastSocket.java:
3560 (getNetworkInterface): Return a special NetworkInterface instance
3561 if the socket's multicast interface is set to any.
3563 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3566 * java/net/NetworkInterface.java:
3567 (createAnyInterface): New method.
3568 (equals): Added if-statement to handle case where netif.name is null.
3569 * vm/reference/java/net/VMNetworkInterface.java:
3570 (hashCode): Rewritten.
3571 (VMNetworkInterface): New constructor.
3573 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3575 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3576 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3577 Add ASM_JAR to bootclasspath.
3579 2006-10-24 Tania Bento <tbento@redhat.com>
3581 * java/awt/Scrollbar.java:
3582 (setLineIncrement): Removed unnecessary if-clause and if
3583 lineIncrement == 0, then it should be set to 1, not 0.
3584 (setPageIncrement): Removed unnecessary if-clause and if
3585 pageIncrement == 0, then it should be set to 1, not 0.
3586 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3587 If maximum <= minimum, maximum should be set to mininum + 1. The
3588 actual value of maximum is maximum - visibleAmount, so I made
3589 this change to the appropriate if-check. Remove the two unneccessary
3592 2006-10-23 Francis Kung <fkung@redhat.com>
3594 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3595 (cairoSetFont): New method.
3596 (copy): Set font using setFont method.
3597 (setFont): Call cairoSetFont.
3598 (setup): Set font using setFont method.
3599 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3600 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3601 (install_font_peer): Removed.
3602 (cairoDrawGlyphVector): Removed call to install_font_peer.
3603 (cairoSetFont): New method.
3605 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3607 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3608 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3609 NativeEventLoopRunningEvent after GTK main loop start and stop.
3610 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3611 (getNextEvent): Set dispatchThread to null.
3612 (postEventImpl): Set nativeLoopRunning.
3613 (pop): Interrupt event dispatch thread.
3614 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3616 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3618 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3620 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3623 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3625 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3626 * javax/crypto/CipherOutputStream.java: Re-implemented.
3627 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3628 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3629 decryption mode and check if it is a complete block.
3630 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3631 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3632 partially processed data into account.
3634 2006-10-21 Tom Tromey <tromey@redhat.com>
3637 * java/util/AbstractCollection.java (toArray): Removed cast.
3639 2006-10-20 Tom Tromey <tromey@redhat.com>
3641 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3642 Don't use mangled class name for .h file.
3643 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3644 Don't use mangled class name for .c file.
3645 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3646 Handle classes from the default package.
3648 2006-10-20 Francis Kung <fkung@redhat.com>
3650 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3652 2006-10-19 Francis Kung <fkung@redhat.com>
3655 * java/awt/image/BufferedImage.java
3656 (constructor): Updated some properties of default image types.
3657 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3658 (argb32): Updated field to match default in BufferedImage.
3660 2006-10-18 Roman Kennke <kennke@aicas.com>
3663 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3664 (copyArea): Changed size comparison to return when size == 0
3666 * javax/swing/JViewport.java
3667 (paintBackingStore): Check width and height of blitted area
3668 and only do blit if its > 0.
3669 (paintBlit): Check width and height of blitted area
3670 and only do blit if its > 0.
3672 2006-10-18 Roman Kennke <kennke@aicas.com>
3675 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3676 (maximize): New native method.
3677 (unmaximize): New native method.
3678 (iconify): New native method.
3679 (deiconify): New native method.
3680 (getState): Implemented.
3681 (setState): Implemented.
3682 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3683 (oldState): Rename to windowState and made protected, so that
3684 the FramePeer can access it.
3685 (postWindowEvent): Handle state change events more gently and
3687 * java/awt/Frame.java
3688 (getState): Fetch state from getExtendedState().
3689 (setExtendedState): Update the peer. Check if the state change
3690 is actually supported.
3691 (getExtendedState): Update the state from the peer.
3692 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3693 (maximize): New method.
3694 (unmaximize): New method.
3695 (iconify): New method.
3696 (deiconify): New method.
3697 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3698 (AWT_FRAME_NORMAL): New macro.
3699 (AWT_FRAME_ICONIFIED): New macro.
3700 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3701 (window_window_state_cb): Rewritten to handle window state changes
3702 more gently (mostly on the java side of the world).
3703 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3705 2006-10-18 Tania Bento <tbento@redhat.com>
3707 * java/awt/CardLayout.java:
3708 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3709 its height and width if Container passed as argument is null.
3710 (gotoComponent): Consider the case where the component is not visible.
3712 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3714 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3716 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3718 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3720 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3722 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3724 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3725 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3726 Retrieve user-visible strings through Messages.getString.
3727 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3728 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3730 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3732 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3734 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3736 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3738 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3741 2006-10-18 Roman Kennke <kennke@aicas.com>
3743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3744 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3745 (window_show_cb): Removed unnecessary function.
3746 (connect_signals): Don't connect signal for show. *
3747 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3748 (hasBeenShown): Removed. This is handled in java.awt.Window.
3749 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3750 in java.awt.Window. * java/awt/Window.java
3751 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3753 2006-10-18 Francis Kung <fkung@redhat.com>
3755 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3756 (drawRenderedImage): New method.
3757 (drawImage): New method.
3758 (CairoSurfaceGraphics): Set clip.
3759 (createBuffer): New method.
3760 (getBufferCM): New method.
3761 (drawComposite): New method.
3763 (getNativeCM): New method.
3764 (drawGlyphVector): New method.
3766 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3767 (getNativeCM): Reflect renamed field.
3768 * gnu/java/awt/peer/gtk/CairoSurface.java
3769 (cairoCM_pre): Renamed from cairoColorModel.
3770 (cairoColorModel): Set premultiplication to false.
3772 2006-10-18 Roman Kennke <kennke@aicas.com>
3775 * javax/swing/JScrollPane.java
3776 (viewportBorder): Made field private.
3777 (wheelScrollingEnabled): Made field private.
3778 (JScrollPane): Enabled wheel scrolling by default.
3779 * javax/swing/JTree.java
3780 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3782 (getScrollableUnitIncrement): Fixed thinko.
3783 * javax/swing/plaf/basic/BasicScrollBarUI.java
3784 (static scrollByBlock): New static method to avoid code duplication
3785 for the BasicScrollPane wheel scrolling.
3786 (static scrollByUnits): New static method to avoid code duplication
3787 for the BasicScrollPane wheel scrolling.
3788 (scrollByBlock): Delegate to static helper method.
3789 (scrollByUnit): Delegate to static helper method.
3790 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3791 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3792 static helper methods to avoid code duplication.
3793 (MouseWheelHandler.bounds): Removed.
3794 (MouseWheelHandler.getValue): Removed.
3795 (MouseWheelHandler.scroll): Removed.
3797 2006-10-18 Roman Kennke <kennke@aicas.com>
3800 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3801 (updateComponent): Don't override this here.
3802 * java/awt/Window.java
3803 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3804 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3806 (addWindowStateListener): Ignore null listener. Set newEventsOnly
3809 2006-10-18 Roman Kennke <kennke@aicas.com>
3811 * javax/swing/JEditorPane.java
3812 (getStream): Try to detect and set the content type of the
3815 2006-10-18 Roman Kennke <kennke@aicas.com>
3817 * javax/swing/RepaintManager.java
3818 (RepaintWorkerEvent): Pass full set of params to super.
3819 (RepaintWorker.dispatch): Overridden to allow apps to call this
3821 (addDirtyRegion): Synchronize a little more to protect the
3822 dirtyComponents field and avoid NPEs.
3823 (invokeLater): Pass full set of params to RepaintWorkerEvent
3826 2006-10-18 Roman Kennke <kennke@aicas.com>
3828 * javax/swing/JEditorPane.java
3829 (page): Removed field. The page is now stored in the correct
3831 (getPage): Fetch page URL from document property.
3832 (read): Set the document for this JEditorPane. Use a Reader
3833 for reading in the document.
3834 (setPage): Call getStream() to get the stream from which we read.
3835 Fire property change. Store page in document property.
3837 2006-10-18 Roman Kennke <kennke@aicas.com>
3839 * java/awt/datatransfer/DataFlavor.java
3840 (DataFlavor(String)): Removed check for space in mime string.
3842 2006-10-18 Roman Kennke <kennke@aicas.com>
3844 * java/awt/Container.java
3845 (validateTree): Call ContainerPeer.begin|endLayout() rather than
3846 begin|endValidate().
3847 (validate): Call ContainerPeer.begin|endValidate() here.
3848 Added some local vars to avoid NPEs.
3850 2006-10-18 Roman Kennke <kennke@aicas.com>
3852 * native/target/.cvsignore
3853 * native/target/Linux/.cvsignore
3854 * native/target/generic/.cvsignore:
3855 Added to let CVS ignore the generated Makefile and Makefile.in
3858 2006-10-18 Roman Kennke <kennke@aicas.com>
3861 * java/awt/Window.java
3862 (eventTypeEnabled): Overridden to handle WindowEvents.
3863 (processEvent): Switch between processWindowEvent(),
3864 processWindowFocusEvent() and processWindowStateEvent() here,
3865 rather than simply calling processWindowEvent().
3866 (processWindowEvent): Only dispatch event to listener, do not
3867 switch to processWindowFocusEvent() or processWindowStateEvent()
3869 * javax/swing/JFrame.java
3870 (frameInit): Explicitly enable window and key events here.
3871 (processWindowEvent): Throw out some unnecessary code.
3872 * javax/swing/JWindow.java
3873 (windowInit): Explicitly enable key events here.
3874 * javax/swing/JDialog.java
3875 (close_action): Renamed to closeAction.
3876 (dialogInit): Explicitly enable window events here.
3877 (getDefaultCloseOperation): Renamed close_action to closeAction.
3878 (processWindowEvent): Throw out some unnecessary code.
3879 Renamed close_action to closeAction.
3880 (setDefaultCloseOperation): Renamed close_action to closeAction.
3882 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3884 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3885 to track native GTK event loop status.
3886 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3887 clear running flag when native GTK event loop starts and stops.
3889 2006-10-17 Roman Kennke <kennke@aicas.com>
3891 * javax/swing/TransferHandler.java
3892 (exportToClipboard): Implemented.
3894 2006-10-17 Francis Kung <fkung@redhat.com>
3896 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3897 region to account for pixel-shifting.
3898 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3901 2006-10-17 Francis Kung <fkung@redhat.com>
3904 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3905 (getLogicalBounds): Translate individual glyphs before appending bounds.
3906 (getOutline): Translate individual glyphs before appending outline.
3908 2006-10-17 Cameron McCormack <cam@mcc.id.au>
3911 * java/awt/font/TextLayout.java
3913 (constructor): Store bidi in field.
3914 (getCharacterLevel): Implemented.
3916 2006-10-17 Roman Kennke <kennke@aicas.com>
3918 * javax/swing/TransferHandler.java
3919 (PropertyTransferable): New inner class. Handles transfers
3920 from component properties.
3921 (createTransferable): Implemented.
3923 2006-10-17 Francis Kung <fkung@redhat.com>
3925 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3926 (drawComposite): Ensure composite does not extend beyond buffer
3928 * java/awt/image/Raster.java
3929 (createChild): Ensure child does not extend beyond parent's
3931 * java/awt/image/WritableRaster.java
3932 (createWritableChild): Ensure child does not extend beyond
3935 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
3937 * native/jni/classpath/jcl.c
3938 (JNI_OnLoad): Corrected calling convention.
3940 2006-10-16 Roman Kennke <kennke@aicas.com>
3942 * javax/swing/TransferHandler.java
3943 (propertyName): New field.
3944 (TransferHandler(String)): Store property name in field.
3945 (canImport): Implemented stub method.
3946 (exportDone): This is a no-op. Removed not-implemented mark.
3947 (getPropertyDataFlavor): New helper method.
3948 (getPropertyDescriptor): New helper method.
3950 2006-10-16 Roman Kennke <kennke@aicas.com>
3952 * javax/swing/AbstractButton.java
3953 (AccessibleJButton.getAfterIndex): Implemented.
3954 (AccessibleJButton.getAtIndex): Implemented.
3955 (AccessibleJButton.getBeforeIndex): Implemented.
3956 (AccessibleJButton.getCharacterAttribute): Completed incomplete
3957 method implementation.
3959 2006-10-16 Roman Kennke <kennke@aicas.com>
3961 * javax/swing/JLabel.java
3962 (AccessibleJLabel.getIndexAtPoint): Implemented.
3963 (AccessibleJLabel.getCharacterBounds): Implemented.
3964 (AccessibleJLabel.getTextRectangle): New helper method.
3966 2006-10-16 Roman Kennke <kennke@aicas.com>
3968 * javax/swing/filechooser/FileSystemView.java
3969 (getFileSystemView): Mark as implemented.
3971 2006-10-14 Roman Kennke <kennke@aicas.com>
3974 * javax/swing/JComponent.java
3975 (toolTipText): Removed field.
3976 (createToolTip): Don't set tooltip text here. This is done
3977 in the ToolTipManager.
3978 (setToolTipText): Set tooltip text as client property.
3979 (getToolTipText): Get tooltip text from client property.
3980 * javax/swing/ToolTipManager.java
3981 (currentComponent): Made field non-static and of type JComponent.
3982 (currentPoint): Made field non-static.
3983 (currentTip): Made field non-static.
3984 (popup): Made field non-static.
3985 (toolTipText): New field. Stores the current tooltip text.
3986 (checkTipUpdate): New helper method. Checks for updates of
3987 the tooltip text and triggers the appropriate actions.
3988 (getContentPaneDeepestComponent): Removed unneeded casts.
3989 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3990 text from component.
3991 (mouseMoved): Check for tooltip text updates.
3992 (showTip): Set tooltip text from current setting.
3994 2006-10-14 Roman Kennke <kennke@aicas.com>
3997 * javax/swing/JSlider.java
3998 (setPaintLabels): Call setLabelTable() instead of setting
3999 the field directly. This also updates the label's size.
4001 2006-10-13 Tom Tromey <tromey@redhat.com>
4003 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4006 2006-10-13 Tania Bento <tbento@redhat.com>
4008 * java/awt/ScrollPane.java
4009 (setLayout): Should throw AWTError whenever called.
4011 2006-10-13 Roman Kennke <kennke@aicas.com>
4014 * java/awt/Component.java
4015 (dispatchEventImpl): Special handle ComponentReshapeEvents to
4016 update the AWT's knowledge about a component's size.
4017 * gnu/java/awt/ComponentReshapeEvent.java: New class.
4018 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4019 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4020 to update the AWT's knowledge about the component bounds.
4022 2006-10-13 Tania Bento <tbento@redhat.com>
4024 * java/awt/ScrollPaneAdjustable.java
4025 (setMaximum): Should throw AWTError whenever called.
4027 (setVisibleAmount): Same.
4029 2006-10-13 Tania Bento <tbento@redhat.com>
4031 * java/awt/ScrollPane.java
4032 (addImpl): When calling super, index should be value passed,
4034 (getIsValidString): New helper method for paramString().
4035 (getScrollbarDisplayString): New helper method for paramString().
4036 (paramString): Changed format of outputted string.
4038 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
4040 * javax/swing/tree/DefaultTreeSelectionModel.java
4041 (clone): Added cast to TreePath[].
4043 2006-10-13 Roman Kennke <kennke@aicas.com>
4046 * javax/swing/JMenuItem.java
4047 (isDragging): New field. Indicates if we are inside a mouse
4049 (createMenuDragMouseEvent): Removed unneeded method.
4050 (processMenuDragMouseEvent): Track if we are dragging.
4051 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4052 * javax/swing/plaf/basic/BasicMenuItemUI.java
4053 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4054 MenuSelectionManager from event.
4055 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4056 MenuSelectionManager from event.
4057 (MenuDragMouseHandler.menuDragMouseExited): Fetch
4058 MenuSelectionManager from event.
4059 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4060 release inside menu item, otherwise clear selection.
4061 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4062 and getY(). Call doClick() rather than the doClick() of JMenuItem.
4063 (doClick): Perform an immediate click.
4065 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
4067 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4068 return if object is not in the list.
4070 2006-10-12 Andrew Haley <aph@redhat.com>
4072 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4073 * java/lang/ThreadLocal.java: Likewise.
4075 2006-10-12 Roman Kennke <kennke@aicas.com>
4078 * javax/swing/JSlider.java
4079 (LabelUIResource): New inner class. A JLabel as UIResource.
4080 (createStandardLabels): Don't set label bounds here.
4081 Create LabelUIResource instances.
4082 (setInverted): Repaint.
4083 (setLabelTable): Update the label UIs. Revalidate and repaint.
4084 (setMajorTickSpacing): Update the label table. Repaint if
4086 (setMinorTickSpacing): Repaint if necessary.
4087 (setOrientation): Revalidate.
4088 (setPaintLabels): Revalidate and repaint.
4089 (setPaintTicks): Revalidate and repaint.
4090 (setPaintTrack): Repaint.
4091 (updateLabelUIs): Set the label sizes here.
4092 (updateUI): Also update the label UIs.
4093 * javax/swing/plaf/basic/BasicSliderUI.java
4094 (ComponentHandler.componentResized): Don't revalidate.
4095 (FocusHandler.focusGained): Don't set field.
4096 (FocusHandler.focusLost): Don't set field.
4097 (PropertyChangeHandler.propertyChange): Calculate geometry
4098 and repaint for a couple more properties.
4099 (TrackListener.mouseReleased): Repaint.
4100 (hasFocus): Removed unneeded field.
4101 (calculateContentRect): No need to check for content size < 0.
4102 (calculateFocusRect): Use insets from insetCache.
4103 (calculateLabelRect): Fixed calculation of label rectangle.
4104 It is relative to the tick rectangle, rather than the content
4106 (calculateTickRect): Small restructuring to avoid unnecessary
4108 (calculateTrackRect): Fixed calculation of track rectangle.
4109 (getMaximumSize): Fixed. Fetch preferred size and set
4110 the height of width to Short.MAX_VALUE.
4111 (getMinimumHorizontalSize): Fixed to return UIManager value.
4112 (getMinimumVerticalSize): Fixed to return UIManager value.
4113 (getPreferredHorizontalSize): Fixed to return UIManager value.
4114 (getPreferredVerticalSize): Fixed to return UIManager value.
4115 (getMinimumSize): Fixed to return the UIManager value plus
4117 (getPreferredSize): Fixed to return the UIManager value plus
4119 (getWidthOfWidestLabel): Restructured for more cleanness and
4121 (hitClip): New helper method.
4122 (paintHorizontalLabel): Replaced by more efficient and clean
4124 (paintVerticalLabel): Replaced by more efficient and clean
4126 (paintLabels): Replaced by more efficient and clean
4128 (paint): Check if rectangles intersect with clip for maximum
4130 (recalculateIfInsetsChanged): Fixed. This method should
4131 recalculate only when the insets changed.
4132 (setThumbLocation): Repaint with a reasonable clip.
4133 (xPositionForValue): Made more clean and efficient.
4134 (yPositionForValue): Made more clean and efficient.
4135 * javax/swing/plaf/basic/BasicLookAndFeel.java
4136 (initComponenDefaults): Added Slider.horizontalSize,
4137 Slider.verticalSize, Slider.minimumHorizontalSize and
4138 Slider.minimumVerticalSize properties.
4139 * javax/swing/plaf/metal/MetalSliderUI.java
4140 (getTickLength): Add 1 for horizontal sliders and 3 for
4142 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4143 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4144 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4145 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4147 2006-10-12 Roman Kennke <kennke@aicas.com>
4150 * javax/swing/text/FlowView.java
4151 (FlowStrategy.layout): Preserve logical views from getting lost.
4152 (FlowStrategy.layoutRow): Fix line breaking.
4153 (FlowStrategy.adjustRow): Fix line breaking.
4154 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4155 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4156 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4157 (createView): Don't check index.
4158 (contains): New helper method.
4159 (reparent): New helper method.
4160 (layoutDirty): Removed unneeded field.
4161 (FlowView): Removed layoutDirty field init.
4162 (changedUpdate): Removed layoutDirty handling.
4163 (insertUpdate): Removed layoutDirty handling.
4164 (removeUpdate): Removed layoutDirty handling.
4165 (layout): Use isLayoutValid() rather than the layoutDirty field.
4166 * javax/swing/text/GlyphView.java
4167 (startOffset): Removed.
4168 (endOffset): Removed.
4169 (offset): New field.
4170 (length): New field.
4171 (GlyphView): Initialize new fields. Removed old fields.
4172 (createFragment): Create fragment with new relative offsets.
4173 (getEndOffset): Work with new relative offsets.
4174 (getStartOffset): Work with new relative offsets.
4175 * javax/swing/text/ParagraphView.java
4176 (Row.getStartOffset): Overidden to determine the minimum start
4177 offset from the children.
4178 (Row.getEndOffset): Overidden to determine the maximum end
4179 offset from the children.
4180 * javax/swing/text/html/BRView.java
4181 Make subclass of InlineView.
4182 (getBreakWeight): Fall back to super for Y_AXIS.
4184 2006-10-12 Roman Kennke <kennke@aicas.com>
4187 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4188 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4189 one that avoids faulty state that could cause division by zero
4192 2006-10-12 Roman Kennke <kennke@aicas.com>
4195 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4196 (paint): Determine correct icon. Added support for HTML label.
4197 Added small optimizations.
4198 (getPreferredSize): Only consider the buttons iconTextGap, and
4199 only when the text is not null.
4200 * javax/swing/plaf/basic/BasicLookAndFeel.java
4201 (initComponentDefaults): Fetch border for RadioButton from
4202 BasicButtons.getRadioButtonBorder().
4203 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4204 (paintFocus): Paint focus rectangle one pixel smaller.
4206 2006-10-12 Roman Kennke <kennke@aicas.com>
4209 * javax/swing/tree/AbstractLayoutCache.java
4210 (getNodeDimensions): Don't throw InternalError, but instead
4212 (getRowsForPaths): Check for null here.
4213 (isFixedRowHeight): Returns true when rowHeight > 0.
4214 (setSelectionModel): Set this as the row mapper for the selection
4216 * javax/swing/tree/VariableHeightLayoutCache.java
4217 (NodeRecord.NodeRecord): Initialize bounds field.
4218 (getBounds): Simply return the bounds field.
4219 (row2Node): Changed to be an ArrayList.
4220 (RECT_CACHE): New field. Caches a Rectangle instance.
4221 (countRows): Added y parameter and return value. The method
4222 now takes the current y position as parameter, and returns
4223 the updated y position.
4224 (getBounds): Fixed to return the correct bounds.
4225 (getPathForRow): Replaced by fixed implementation.
4226 (getPreferredHeight): Replaced by more efficient implementation.
4227 This simply fetches the last node record and returns its lower
4229 (getPreferredWidth): Added null check.
4230 (getVisibleChildCount): Added null check.
4231 (getVisiblePathsFrom): Added null check.
4232 (setExpandedState): Also expand the ancestors of the node
4234 (setModel): Set dirty flag rather than updating for real.
4235 (setNodeDimensions): Overridden to set the dirty flag.
4236 (setRowHeight): Overridden to set the dirty flag.
4237 (update): Don't special case the root here, this is done now
4240 2006-10-12 Roman Kennke <kennke@aicas.com>
4242 * javax/swing/JComponent.java
4243 (paintImmediately2): Added support for components which need
4244 to force themselves as paint root.
4245 (isPaintRoot): New method. This should be overridden by components
4246 which need to force themselves as paint root.
4247 * javax/swing/JViewport.java
4248 (isPaintRoot): Overridden to force the viewport as paint root
4249 when running in backingstore mode.
4251 2006-10-12 Roman Kennke <kennke@aicas.com>
4253 * javax/swing/tree/DefaultTreeSelectionModel.java
4254 (PathPlaceHolder): New inner class. Wraps a path and its status
4256 (selectedPaths): New field. A supporting datastructure.
4257 (tmpPaths): New field. A supporting datastructure.
4258 (DefaultTreeSelectionModel): Initialize the list selection model,
4259 the leadIndex and the supporting datastructures.
4260 (addPropertyChangeListener): Create changeSupport object lazily.
4261 (addSelectionPaths): Mostly rewritten to handle the different
4262 selection modes correctly.
4263 (addSelectionPath): Delegate to addSelectionPaths().
4264 (arePathsContiguous): Replaced with more efficient implementation
4266 (canPathBeAdded): Removed unneeded method.
4267 (canPathsBeAdded): Replaced with more efficient implementation.
4268 (clearSelection): Create correct event. Clear the fields correctly,
4269 including the supporting datastructures.
4270 (clone): Also clone the supporting datastructures and nullify
4271 changeSupport field.
4272 (getMaxSelectionRow): Delegate to list selection model.
4273 (getMinSelectionRow): Delegate to list selection model.
4274 (getPath): Removed unneeded method.
4275 (getPropertyChangeListeners): Handle null changeSupport field
4277 (getRow): Handle null rowMapper field correctly.
4278 (getSelectionRows): Handle invisible rows correctly.
4279 (insureRowContinuity): Replaced by more efficient and correct
4281 (isRowSelected): Delegate to list selection model.
4282 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4284 (removePropertyChangeListener): Handle null changeSupport field.
4285 (removeSelectionPaths): Mostly rewritten to handle the different
4286 selection modes correctly.
4287 (removeSelectionPath): Delegate to removeSelectionPaths().
4288 (resetRowSelection): Handle list selection model.
4289 (selectOne): Removed unneeded field.
4290 (setRowMapper): Reset the row selection.
4291 (setSelectionMode): Check for invalid mode and set to
4292 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4293 (setSelectionPaths): Mostly rewritten to handle the different
4294 selection modes correctly.
4295 (setSelectionPath): Delegate to setSelectionPaths().
4296 (updateLeadIndex): Made more efficient.
4298 2006-10-11 Francis Kung <fkung@redhat.com>
4300 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4301 (buffer, locked): New fields.
4302 (constructors): Initialize new variables.
4303 (createBuffer): New method.
4304 (draw): Implement custom composites.
4305 (drawComposite): New method.
4306 (drawGlyphVector): Implement custom composites.
4307 (drawImage): Implement custom composites.
4308 (drawRenderedImage): Implement custom composites.
4309 (fill): Implement custom composites.
4310 (getBufferCM): New method.
4311 (getNativeCM): New method.
4312 (updateBufferedImage): Fix premultiplication.
4313 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4314 (copy): Copy composite.
4315 (drawImage): Set background properly.
4316 (getBufferCM): New method.
4317 (setComposite): Reset alpha composite when using custom composite.
4318 * gnu/java/awt/peer/gtk/CairoSurface.java
4319 (cairoColorModel): New field.
4320 (nativeColorModel): Renamed.
4321 (constructor): Use renamed createCairoSampleModel method.
4322 (createCairoSampleModel): New method.
4323 (createNativeSampleModel): Renamed.
4324 (getBufferedImage): Use renamed cairoColorModel field.
4325 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4326 (gdkColorModel): New field.
4327 (createGdkSampleModel): New method.
4328 (getPixels): Added comments.
4329 (getSnapshot): Use GDK colour and sample models.
4330 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4331 (createBuffer): Use GDK colour and sample models.
4332 (getNativeCM): Added comments.
4333 * java/awt/image/BufferedImage.java
4334 (constructor): Set premultiplied flag properly.
4336 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4338 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4339 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4341 2006-10-10 Francis Kung <fkung@redhat.com>
4344 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4345 (createPath): Added isDraw parameter.
4346 (draw): Updated createPath call.
4347 (fill): Updated createPath call.
4349 2006-10-10 Tom Tromey <tromey@redhat.com>
4352 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4353 there is a stylesheet.
4355 2006-10-10 Roman Kennke <kennke@aicas.com>
4357 * java/awt/Toolkit.java
4358 (getDefaultTookit): Make method synchronized to avoid
4359 accidentally creating more than one toolkits from different
4362 2006-10-10 Roman Kennke <kennke@aicas.com>
4364 * java/awt/LightweightDispatcher.java
4365 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4366 (redispatch): Transfer the button to the redispatched event.
4368 2006-10-10 Francis Kung <fkung@redhat.com>
4370 * java/awt/image/ColorModel.java (coerceData): Implemented.
4372 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4374 * vm/reference/java/lang/VMClassLoader.java:
4375 (defineClassWithTransformers): Use proper class name format.
4377 2006-10-09 Gary Benson <gbenson@redhat.com>
4379 * java/net/ServerSocket.java
4380 (implAccept): Add security check.
4381 (accept): Close socket if security check fails.
4382 (setSocketFactory): Add security check and already-set check.
4384 2006-10-09 Roman Kennke <kennke@aicas.com>
4387 * javax/swing/JSplitPane.java
4388 (dividerLocation): New field. Stores the divider location.
4389 (JSplitPane): Initialize dividerLocation with -1.
4390 (addImpl): Removed unneeded local variables.
4391 (getDividerLocation): Manage dividerLocation in the JSplitPane
4392 class, not in the UI.
4393 (setDividerLocation): Manage dividerLocation in the JSplitPane
4394 class, not in the UI. Only call the UI method for notification.
4395 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4396 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4397 location from the JSplitPane. Honour the minimumSize, but only
4398 if the divider location hasn't been set explicitly.
4399 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4401 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4403 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4404 the divider location.
4405 (dividerLocationSet): New field.
4406 (dividerLocation): Removed field.
4407 (createActionMap): Fetch and set divider location on the JSplitPane.
4408 (getDividerLocation): Return the actual real divider location.
4409 (getMaximumSize): Removed unneeded cast.
4410 (getPreferredSize): Removed unneeded cast.
4411 (getMinimumSize): Removed unneeded cast.
4412 (installUI): Initialize dividerLocationSet with false.
4413 (uninstallUI): Initialize dividerLocationSet with false.
4414 (setDividerLocation): Set dividerLocationSet to true.
4416 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4418 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4419 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4420 convert jstring into char *.
4421 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4422 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4423 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4424 (getif_address): Added const modifier to second argument.
4425 (getif_index): Dito.
4427 2006-10-09 Roman Kennke <kennke@aicas.com>
4429 * javax/swing/JTree.java
4430 (isSelected): Added API docs.
4432 2006-10-09 Roman Kennke <kennke@aicas.com>
4434 * javax/swing/JTree.java
4435 (isSelected): Delegate to the selection model directly.
4437 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4439 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4440 sizeof_struct_kevent to _sizeof_struct_kevent.
4442 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4444 * tools/gnu/classpath/tools/rmic/RMICException.java:
4445 javadoc corrections, reformatted.
4447 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4449 * gnu/java/lang/InstrumentationImpl.java:
4450 Made constructor package visible.
4452 2006-10-05 Gary Benson <gbenson@redhat.com>
4454 * java/net/Socket.java
4455 (Socket): Perform security check on address not hostname.
4457 2006-10-04 Roman Kennke <kennke@aicas.com>
4459 * javax/swing/tree/VariableHeightLayoutCache.java
4460 (getBounds): When rect is null, create a new Rectangle.
4462 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4464 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4465 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4466 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4467 (cpnio_select): Use CPNIO_EXPORT.
4468 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4469 inline instead of extern inline, as newer GCCs changed their
4472 2006-10-04 Gary Benson <gbenson@redhat.com>
4474 * java/net/InetAddress.java: Updated javadoc.
4475 (<clinit>, getByLiteral): Throw InternalError on failures.
4477 2006-10-03 Francis Kung <fkung@redhat.com>
4479 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4480 (compCtx): New field for composite context.
4481 (copy): Copy composite.
4482 (dispose): Dispose of composite context.
4483 (getNativeCM): New method.
4484 (setComposite): Discard old composite context and set up new context.
4485 (setRenderingHints): Update composite context.
4486 * gnu/java/awt/peer/gtk/CairoSurface.java
4487 (nativeColorModel): New field, renamed from nativeModel.
4488 (nativeModel): Renamed field to nativeColorModel.
4489 (CairoSurface(int, int)): Call new method to create sample model.
4490 (createNativeSampleModel): New method.
4491 (getBufferedImage): Updated variable name.
4492 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4493 (buffer): New field.
4494 (createBuffer): New method.
4496 (drawComposite): New method.
4497 (drawGlyphVector): New method.
4498 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4499 (drawImage(Image, int, int, ImageObserver)): Check composite.
4500 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4502 (getNativeCM): New method.
4503 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4504 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4505 intermediary pixbuf to grab on-screen pixels.
4507 2006-10-03 Tom Tromey <tromey@redhat.com>
4510 * java/util/IdentityHashMap.java (tombstone): Removed.
4511 (emptyslot): Removed.
4512 (nullslot): New field.
4513 (IdentityHashMap): Don't fill array.
4514 (clear): Fill with null.
4515 (hash): Now final. Use linear probing.
4516 (xform): New method.
4517 (unxform): Likewise.
4518 (removeAtIndex): Likewise.
4519 (clone, containsKey, containsValue, entrySet, get, hashCode,
4520 keySet, put, remove, values): Updated.
4521 (IdentityIterator, IdentityEntry): Likewise.
4522 (writeObject): Likewise.
4524 2006-10-03 Tom Tromey <tromey@redhat.com>
4526 * java/util/Locale.java (hashcode): Updated javadoc.
4527 (hashcodeCache): Removed.
4529 (hashCode): Updated.
4530 (writeObject): New method.
4531 (readObject): Updated.
4533 2006-10-02 Francis Kung <fkung@redhat.com>
4535 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4536 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4537 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4538 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4539 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4540 pre-multiply data before drawing.
4541 (fillRect): Draw using regular fill() method.
4542 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4543 * gnu/java/awt/peer/gtk/CairoSurface.java
4544 (nativeModel): Use correct value for alpha premultiplication (true).
4545 * java/awt/image/BufferedImage.java
4546 (coerceData): Update isPremultiplied field.
4548 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4550 * gnu/classpath/ListenerData.java:
4551 New class for holding listener data.
4552 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4553 ListenerData class moved to its own file.
4554 * javax/management/MBeanServerDelegate.java,
4555 * javax/management/MBeanServerDelegateMBean.java,
4556 * javax/management/MBeanServerNotification.java:
4559 2006-10-02 Tania Bento <tbento@redhat.com>
4561 * java/ast/Rectangle.java:
4562 (Rectangle(Rectangle)): Do not throw NPE.
4563 (Rectangle(Point, Dimension)): Same.
4564 (Rectangle(Point)): Same.
4565 (Rectangle(Dimension)): Same.
4567 2006-09-29 Casey Marshall <csm@gnu.org>
4570 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4571 `AbstractSelectionKey.'
4572 (cancel, isValid): removed.
4573 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4574 (events): new field.
4575 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4577 (<clinit>): initialize those constants.
4578 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4579 (doSelect): deregister cancelled keys; remove keys attached to
4580 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4581 `events' buffer; reallocate `events' buffer if needed.
4582 (register): reallocate `events' buffer if needed.
4583 (reallocateBuffer): new method.
4586 2006-09-29 Roman Kennke <kennke@aicas.com>
4589 * javax/swing/JViewport.java
4590 (cinit): Renamed system property to gnu.swing.scrollmode
4591 to avoid bloat. Default to BACKINGSTORE, this is much
4593 (repaint): Forward repaint() to parent as is specified.
4595 2006-09-29 Tania Bento <tbento@redhat.com>
4597 * javax/swing/plaf/basic/BasicTableUI.java
4598 (getPreferredSize): The number of iterations for the for-loop should be
4599 the number of columns in the table's column model, not the number of
4600 columns of the table.
4601 * javax/swing/JTable.java
4602 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4603 lines that are not needed.
4604 (initializeLocalVars): dragEnabled should be set to false, not true.
4605 (getCellRenderer): Added a check to prevent an
4606 ArrayIndexOutOfBoundsException.
4607 (doLayout): The number of iterations for the for-loops should be the
4608 number of columns in the table's column model, not the number of columns
4611 2006-09-29 Roman Kennke <kennke@aicas.com>
4613 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4615 (isOptimized): Initialize with true.
4616 (paintRaster): Removed unneeded field.
4617 (shapeCache): New static field. Caches certain shapes for reuse.
4618 (computeIntersection): Removed unneeded casts.
4619 (drawArc): Use shape cache.
4620 (drawImage): Removed unneeded statement.
4621 (drawLine): Use shape cache. Pass untranslated coordinates
4623 (drawOval): Use shape cache.
4624 (drawPolygon): Use shape cache.
4625 (drawRect): Overridden to provide accelerated rectangle drawing
4626 if possible and to use the shape cache.
4627 (drawRoundRect): Use shape cache.
4628 (fillArc): Use shape cache.
4629 (fillOval): Use shape cache.
4630 (fillPolygon): Use shape cache.
4631 (fillRect): Pass untranslated coordinates to rawFillRect().
4633 (fillRoundRect): Use shape cache.
4634 (fillScanlineAA): Removed unneeded statement.
4635 (fillScanline): Updated API docs.
4636 (fillShapeAntialias): Removed unnecessary cast.
4637 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4638 (fillShape): Updated API docs.
4639 (getShapeCache): New helper method.
4640 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4641 certain shapes for reuse in AbstractGraphics2D.
4643 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4645 * javax/management/BadBinaryOpValueExpException.java:
4646 (getExp()): Implemented.
4647 * javax/management/MBeanConnection.java:
4648 Renamed to MBeanServerConnection.
4649 * javax/management/MBeanServer.java:
4650 (setAttribute(Attribute)): Fixed...
4651 (setAttribute(ObjectName,Attribute)): to this.
4652 * javax/management/MBeanServerConnection.java:
4653 Renamed from MBeanConnection.
4654 * javax/management/QueryExp.java:
4655 Extend Serializable.
4656 * javax/management/ValueExp.java:
4658 * javax/management/loading/ClassLoaderRepository.java:
4659 (loadClass(String)): Throw ClassNotFoundException.
4660 (loadClassBefore(ClassLoader,String)): Likewise.
4661 (loadClassWithout(String, ClassLoader): Fixed...
4662 (loadClassWithout(ClassLoader,String)): to this.
4664 2006-09-28 Roman Kennke <kennke@aicas.com>
4666 * javax/swing/tree/DefaultTreeCellRenderer.java
4667 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4668 property from UIManager.
4669 (paint): Rewritten to use super's implementation and only paint
4670 background and focus indicator before.
4671 (paintFocus): New helper method.
4672 (getXOffset): New helper method.
4674 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4676 * javax/management/BadBinaryOpValueExpException.java,
4677 * javax/management/MBeanConnection.java,
4678 * javax/management/MBeanServer.java,
4679 * javax/management/ObjectInstance.java:
4681 * javax/management/ObjectName.java:
4682 (setMBeanServer(MBeanServer)): Implemented.
4683 * javax/management/QueryExp.java,
4684 * javax/management/ValueExp.java,
4685 * javax/management/loading/ClassLoaderRepository.java:
4688 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4690 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4692 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4694 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4695 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4696 * gnu/java/nio/EpollSelectorImpl.java:
4697 (doSelect): Use Integer.valueOf() instead of constructor call.
4698 (register): Use Integer.valueOf() instead of constructor call.
4700 2006-09-27 Roman Kennke <kennke@aicas.com>
4702 * java/awt/Container.java
4703 (addContainerListener): Activate newEventsOnly for the component.
4704 Ignore null listeners.
4706 2006-09-27 Roman Kennke <kennke@aicas.com>
4708 * java/awt/EventQueue.java
4709 (Queue): New inner class. Implements the actual queue.
4710 (LOW_PRIORITY): New constant field.
4711 (NORM_PRIORITY): New constant field.
4712 (queueHead): Removed. Moved into Queue.
4713 (queueTail): Removed. Moved into Queue.
4714 (queues): New field.
4715 (EventQueue): Initialize two internal queues, one for
4716 normal events, one for low priority events.
4717 (getNextEventImpl): New helper method, fetches the next event.
4718 (getNextEvent): Use getNextEventImpl() for fetching the event.
4719 (peekEvent): Use getNextEventImpl() for fetching the event.
4720 (peekEvent(int)): Search for event in all queues.
4721 (postEventImpl(AWTEvent)): Moved actual posting into
4722 postEventImpl(AWTEvent,int). Prioritize events here.
4723 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4724 event into correct queue. Re-enable event coalescing.
4725 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4726 * javax/swing/RepaintManager.java
4727 (RepaintWorkerEvent): New internal class. This is a low priority
4728 event for the repaint worker.
4729 (addDirtyRegion): Use new internal invokeLater() for sending
4730 a low priority event.
4731 (addInvalidComponent): Use new internal invokeLater() for sending
4732 a low priority event.
4733 (commitBuffer): Added some null checks.
4734 (invokeLater): New helper method. Sends a low priority
4735 repaint worker event on the event queue.
4737 2006-09-27 Roman Kennke <kennke@aicas.com>
4741 * javax/swing/plaf/basic/BasicButtonUI.java
4742 (cachedInsets): New field.
4743 (installListeners): Fire synthetic property change to initialize
4744 TEXT_LAYOUT_CACHE for the button because the font has been
4746 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4747 (paint): Use cached insets.
4748 (paintText): Let new method forward to old one, not vice versa.
4749 * javax/swing/plaf/basic/BasicMenuItemUI.java
4750 (defaultAcceleratorLabelGap): Removed unused field.
4751 (MenuGap): Removed unused field.
4752 (propertyChangeListener): Made private.
4753 (getAcceleratorRect): Removed unused method.
4754 (getAcceleratorText): Removed unused method.
4755 (getPath): Removed unnecessary cast.
4756 (installListeners): Fire synthetic property change to initialize
4757 TEXT_LAYOUT_CACHE for the button because the font has been
4759 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4760 (layoutMenuItem): Removed unused statements.
4762 2006-09-27 Roman Kennke <kennke@aicas.com>
4765 * javax/swing/tree/DefaultTreeModel.java
4766 (isLeaf): Check if the node allows children when
4767 asksAllowsChildren is true, otherwise fall back
4768 to return the node's leaf property.
4770 2006-09-27 Mario Torre <neugens@limasoftware.net>
4772 * scripts/check_jni_methods.sh: removed methods from the
4774 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4775 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4776 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4777 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4778 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4779 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4780 to better follow the GNU style.
4781 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4782 regenerated header file for GConfNativePeer.
4784 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4786 * INSTALL: Added information about grmic being built when ASM
4787 is available, added information about gconf dependency, indented
4788 Qt4 dependency section.
4789 * configure.ac: Added information about grmic being built when ASM
4792 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
4794 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4795 DeleteGlobalRef on a local ref.
4797 2006-09-24 Mario Torre <neugens@limasoftware.net>
4799 * scripts/check_jni_methods.sh: added two new methods in the
4801 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4803 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4804 * native/jni/gconf-peer/GConfNativePeer.c:
4805 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4806 refacored method name, renamed from
4807 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4808 Added code to unescape escaped GConf key names.
4809 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4810 refacored method name, renamed from
4811 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4812 Added code to unescape escaped GConf key names.
4813 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4815 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4817 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4818 version javadoc tag.
4819 (escapeString): new method.
4820 (unescapeString): likewise.
4821 (gconf_escape_key): new native method.
4822 (gconf_unescape_key): likewise.
4823 (gconf_client_suggest_sync): update native method signature, now
4824 explicity throws BackingStoreException.
4825 (gconf_client_all_nodes): update native method signature, now
4826 explicity throws BackingStoreException. Refactored method name,
4827 renamed from gconf_client_gconf_client_all_nodes.
4828 (gconf_client_all_keys): update native method signature, now
4829 explicity throws BackingStoreException. Refactored method name,
4830 renamed from gconf_client_gconf_client_all_keys.
4831 (getKeys): refactored to use the new method name
4832 gconf_client_all_keys.
4833 (getChildrenNodes): refactored to use the new method name
4834 gconf_client_all_nodes.
4835 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4836 version javadoc tag.
4837 (GConfBasedPreferences): Added code to escape node names from
4838 invalid characters so that GConf now accept invalid node names.
4839 (GConfBasedPreferences): Moved code to register the current
4840 node to the list of nodes watched by GConf outside the constructor.
4841 (childSpi): Added code to register the current node to the
4842 list of nodes watched by GConf.
4843 (getGConfKey): Added code to escape key names from
4844 invalid characters so that GConf now accept invalid key names.
4846 2006-09-26 Tom Tromey <tromey@redhat.com>
4848 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4849 call mkdirs in output-directory case.
4850 (getPrintStream): Create output directory.
4851 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4854 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
4856 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4857 Accept three additional arguments.
4858 (writePreambleImpl): New method.
4859 (getPrintStreamImpl): Likewise.
4860 (printClass): Adapted to use new methods in Printer superclass.
4861 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4862 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4863 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4864 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4866 (getParser): Add support for -o option.
4867 Check that only one of -d or -o is defined.
4868 Add support for -jni option.
4869 Add support for -force option.
4870 (makeOutputFile): New method.
4871 (writeHeaders): Removed File argument from signature.
4872 (run): Take into account newly added fields.
4873 Invoke concrete PrintStream implementations with augmented constructors.
4874 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4875 (isDirectory): Likewise.
4877 (wrotePreamble): Likewise.
4878 (Printer): Changed ctor to accept three additional arguments.
4879 (printClass): Changed signature to accept one ClassWrapper argument.
4880 (writePreambleImpl): New abstract method.
4881 (getPrintStreamImpl): Likewise.
4882 (getPrintStream): New method.
4883 (writePreamble): Likewise.
4885 2006-09-26 Tania Bento <tbento@redhat.com>
4887 * java/awt/GridLayout.java
4888 (toString): There is no common before hgap.
4889 * java/awt/Rectangle.java
4890 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4891 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
4893 (Rectangle(Point)): Throw NPE if Point is null.
4894 (Rectangle(Dimension)): Throw NPE if Dimension is null.
4896 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4898 * javax/swing/plaf/metal/MetalIconFactory.java
4899 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4900 returned by getShift(),
4901 (FileIcon16.getShift): Updated API docs,
4902 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4903 returned by getShift(),
4904 (FolderIcon16.getShift): Updated API docs,
4905 (TreeFolderIcon.getShift): Likewise,
4906 (TreeLeafIcon.getShift): Likewise.
4908 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4910 * javax/swing/plaf/metal/MetalIconFactory.java
4911 (FileIcon16.paintIcon): Fetch colors from look and feel,
4912 (FolderIcon16.paintIcon): Likewise.
4914 2006-09-25 Casey Marshall <csm@gnu.org>
4916 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4918 (write): revert back to using `writeGathering.'
4919 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4920 the first buffer that has data remaining, and start at that one.
4922 2006-09-25 Tom Tromey <tromey@redhat.com>
4924 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4927 2006-09-25 Tom Tromey <tromey@redhat.com>
4929 * tools/.cvsignore: Updated.
4931 2006-09-25 Tom Tromey <tromey@redhat.com>
4934 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4935 (Encoder.canEncode): Likewise.
4936 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4937 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4939 (Encoder.canEncode): Likewise.
4940 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4942 (Encoder.canEncode): Likewise.
4944 2006-09-25 Tom Tromey <tromey@redhat.com>
4946 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4949 2006-09-25 Francis Kung <fkung@redhat.com>
4951 * java/awt/image/ColorModel.java
4952 (coerceData): Made abstract.
4953 (coerceDataWorker): New protected method.
4954 * java/awt/image/ComponentColorModel.java
4955 (coerceData): Return new instance of proper ColorModel.
4956 * java/awt/image/DirectColorModel.java
4957 (coerceData): Return new instance of proper ColorModel.
4958 * java/awt/image/IndexColorModel.java
4959 (coerceData): New method.
4961 2006-09-24 Casey Marshall <csm@gnu.org>
4963 * gnu/java/nio/FileChannelImpl.java
4964 (read): call `read' in a loop, don't use `readScattering.'
4965 (write): call `write' in a loop, don't use `writeGathering.'
4967 2006-09-24 Mark Wielaard <mark@klomp.org>
4969 * configure.ac: Move -pedantic from WARNING to STRICT flags.
4971 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4973 * java/nio/channels/spi/AbstractSelectableChannel.java
4974 (register): Set interestOps and attachment when the key already
4977 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4979 * java/net/ServerSocket.java
4980 (bind(SocketAddress,int)): Added support for null address.
4981 Throw proper exception if already bound.
4982 Handle unresolved addresses correctly. Ignore exceptions that
4983 happen during close in error path (to prevent losing the original
4986 2006-09-24 Mark Wielaard <mark@klomp.org>
4988 Suggested by Aaron M. Ucko <ucko@debian.org>
4990 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4992 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4994 * java/nio/channels/spi/AbstractSelectableChannel.java
4995 (implCloseChannel): Cancel all keys after closing the channel.
4997 2006-09-22 Casey Marshall <csm@gnu.org>
4999 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5000 after we delete them.
5001 (selectedKeys): return an empty set if nothing's been selected.
5002 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5003 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5004 throw an exception on EBADF.
5005 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5006 throw exception on EINTR, just return 0.
5008 2006-09-22 Casey Marshall <csm@gnu.org>
5010 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5011 remove `const' from `filename.'
5012 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5014 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5016 2006-09-22 Casey Marshall <csm@gnu.org>
5018 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5019 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5020 allocate `filename,' and handle changes to `cpio_readDir.'
5021 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5022 available; copy the filename into the destination buffer; return
5023 an error code if readdir returns NULL, but errno is 0.
5024 * native/jni/native-lib/cpio.h (cpio_readDir): change second
5025 parameter to `const char *.'
5027 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
5029 * javax/management/ObjectName.java:
5032 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5034 * resource/gnu/classpath/tools/orbd: New directory.
5035 * resource/gnu/classpath/tools/rmic: Likewise.
5036 * resource/gnu/classpath/tools/rmid: Likewise.
5037 * resource/gnu/classpath/tools/rmiregistry: Likewise.
5038 * resource/gnu/classpath/tools/tnameserv: Likewise.
5039 * tools/gnu/classpath/tools/giop: Move contents to...
5040 * tools/gnu/classpath/tools/orbd,
5041 tools/gnu/classpath/tools/tnameserv: New directories.
5042 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5043 * tools/gnu/classpath/tools/rmic: New directory.
5044 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5045 * tools/gnu/classpath/tools/rmid: New directory.
5046 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5047 * tools/gnu/classpath/tools/rmiregistry: New directory.
5048 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5049 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5050 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5051 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5053 * resource/gnu/classpath/tools/tnameserv/messages.properties:
5055 * tools/gnu/classpath/tools/orbd/Main.java,
5056 tools/gnu/classpath/tools/orbd/Messages.java,
5057 tools/gnu/classpath/tools/orbd/PersistentContext.java,
5058 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5059 tools/gnu/classpath/tools/orbd/PersistentMap.java,
5060 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5061 tools/gnu/classpath/tools/rmic/CompilationError.java,
5062 tools/gnu/classpath/tools/rmic/Generator.java,
5063 tools/gnu/classpath/tools/rmic/GiopIo.java,
5064 tools/gnu/classpath/tools/rmic/HashFinder.java,
5065 tools/gnu/classpath/tools/rmic/Main.java,
5066 tools/gnu/classpath/tools/rmic/Messages.java,
5067 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5068 tools/gnu/classpath/tools/rmic/RMICException.java,
5069 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5070 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5071 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5072 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5073 tools/gnu/classpath/tools/rmic/Variables.java,
5074 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5075 tools/gnu/classpath/tools/rmic/templates,
5076 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5077 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5078 tools/gnu/classpath/tools/rmid/Main.java,
5079 tools/gnu/classpath/tools/rmid/Messages.java,
5080 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5081 tools/gnu/classpath/tools/rmiregistry/Main.java,
5082 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5083 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5084 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5085 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5086 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5087 tools/gnu/classpath/tools/tnameserv/Main.java,
5088 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5089 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5090 RMIC.java from cp-tools.
5091 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5092 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5093 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5095 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5096 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5098 (start): New method.
5099 * tools/Makefile.am: Add build support for new tool wrappers.
5100 * tools/gorbd.in: New file.
5101 * tools/grmic.in: Likewise.
5102 * tools/grmid.in: Likewise.
5103 * tools/grmiregistry.in: Likewise.
5104 * tools/gtnameserv.in: Likewise.
5105 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5106 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5108 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5109 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5110 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5112 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5115 * gnu/java/util/regex/RETokenRepeated.java
5116 (findMatch): Rewriten without using recursive calls,
5117 (FindMatchControlStack): New class,
5118 (FindMatchControl): New class,
5119 (TryAnotherResult): New class,
5120 (tryAnother): New method.
5122 2006-09-22 Gary Benson <gbenson@redhat.com>
5124 * java/net/SocketPermission.java
5125 (processHostport): Cope with IPv6 addresses with a
5126 one-digit first component.
5128 2006-09-22 Roman Kennke <kennke@aicas.com>
5130 * java/awt/Component.java
5131 (enableEvents): Set newEventsOnly flag.
5132 * java/awt/Container.java
5133 (dispatchEventImpl): Consume event if lightweight dispatcher
5134 dispatched the event. Don't call processEvent() here, this
5135 is already done in Component.dispatchEventImpl(). For
5136 heavyweights or when the lightweight dispatcher could
5137 not dispatch, fall back to calling super.
5138 (dispatchNoLightweight): New helper method to avoid
5139 recursivly calling the lightweight dispatcher.
5140 * java/awt/LightweightDispatcher.java
5141 (dragButton): Removed field.
5142 (dragTarget): Removed field.
5143 (mouseEventTarget): New field.
5144 (convertPointToChild): Removed method.
5145 (dispatchEvent): Don't depend on component beeing
5147 (findTarget): Improved algorithm for finding a target.
5148 Before we went down to the deepest component and went
5149 up again to find a suitable target. Now we go
5150 down only once, without going up.
5151 (handleMouseEvent): Broke method down into some smaller
5153 (isDragging): New helper method.
5154 (isMouseListening): New helper method.
5155 (redispatch): New helper method.
5156 (trackEnterExit): New helper method.
5158 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5160 * javax/swing/SizeSequence.java
5161 (getSize): Return 0 if index is out of bounds.
5163 2006-09-21 Tom Tromey <tromey@redhat.com>
5165 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5166 (PathOptionGroup): Make -I a joined option.
5167 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5168 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5169 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5170 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5171 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5172 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5173 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5174 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5175 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5176 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5177 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5178 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5179 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5180 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5181 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5182 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5183 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5184 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5185 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5186 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5187 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5189 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5190 * tools/gnu/classpath/tools/common/Messages.java: New file.
5191 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5192 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5194 (ClasspathToolParser): Add -J option here.
5195 (ClasspathToolParser): Call other constructor in this class.
5196 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5197 Handle joined options.
5198 (handleShortOptions): Likewise.
5199 (handleShortOption): Removed.
5200 (finalGroup): New field.
5201 (Parser): Initialize new field. Don't add -J option.
5202 (addFinal): New method.
5203 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5205 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5206 (Option): Check short option for validity.
5207 (Option): New constructors.
5208 (joined): New field.
5210 2006-09-21 csm <csm@pollux.local>
5212 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5213 `InterruptedIOException;' try again if it gets thrown.
5214 (receive): likewise, but re-throw `SocketTimeoutException.'
5215 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5216 if we have nothing to select.
5218 2006-09-21 Francis Kung <fkung@redhat.com>
5220 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5221 (getLogicalBounds): Respect glyph transformations.
5222 (getGlyphOutline): Added null pointer check.
5223 (getGlyphTransform): Do not generate identity transform (API permits null).
5224 (setGlyphPosition): Do not invalidate transform.
5225 (setGlyphTransform): Do not modify glyph position.
5227 2006-09-21 Francis Kung <fkung@redhat.com>
5229 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5231 2006-09-21 Francis Kung <fkung@redhat.com>
5233 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5234 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5235 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5237 2006-09-21 Tania Bento <tbento@redhat.com>
5239 * javax/swing/JTabbedPane.java:
5240 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5241 (setModel): A ChangeListener should be created only if there does not
5242 currently exist one.
5244 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5246 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5247 (MaximizeAction.actionPerformed): Change icon on maxButton.
5249 2006-09-21 Roman Kennke <kennke@aicas.com>
5251 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5252 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5253 Use more efficient getViewPosition() and getViewSize() methods
5254 to avoid creating a rectangle.
5255 (HSBChangeListener.stateChanged): Update the view position
5256 unconditionally. Let the Viewport figure out if something
5258 (VSBChangeListener.stateChanged): Update the view position
5259 unconditionally. Let the Viewport figure out if something
5261 * javax/swing/JViewport.java
5262 (ViewListener.componentResized): Fire state change, because
5263 the extentSize changes.
5264 (extentSize): Removed unneeded field.
5265 (viewSize): Removed unneeded field.
5266 (getExtentSize): Return the viewport's size here.
5267 (getViewRect): Reformatted.
5268 (getViewSize): Reordered for only one return statement.
5269 (paintImmediately2): Fixed up javadoc.
5270 (paint): Removed unneeded statement.
5271 (setExtentSize): Set viewport size and check for actual change
5273 (setViewPosition): Simplified condition. Set scrollUnderway
5274 true and don't set isViewSizeSet. Avoid creating one Point
5276 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5278 * javax/swing/JScrollBar.java
5279 (ScrollBarListener): New class. Forwards change events from
5280 the model as adjustment events.
5281 (sbChangeListener): New field.
5282 (JScrollBar): Install listener on new model.
5283 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5285 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5286 method to allow custom isAdjusting value.
5287 (setMaximum): Only forward to model.
5288 (setMinimum): Only forward to model.
5289 (setValue): Only forward to model.
5290 (setVisibleAmount): Only forward to model.
5291 (setValues): Only forward to model.
5292 (setModel): Update the change listener.
5294 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5296 * java/util/Formatter.java (basicIntegralConversion): Removed
5297 check for ZERO && !LEFT_JUSTIFY.
5299 2006-09-20 Roman Kennke <kennke@aicas.com>
5302 * javax/swing/plaf/metal/DefaultMetalTheme.java
5303 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5304 (BOLD_CONTROL_TEXT_FONT): New constant field.
5305 (PLAIN_MENU_TEXT_FONT): New constant field.
5306 (BOLD_MENU_TEXT_FONT): New constant field.
5307 (controlTextFont): Removed.
5308 (menuTextFont): Removed.
5309 (CONTROL_TEXT_FONT): New constant field.
5310 (MENU_TEXT_FONT): New constant field.
5311 (getControlTextFont): Use getFont() helper method for fetching
5313 (getMenuTextFont): Use getFont() helper method for fetching
5315 (getFont): New helper method.
5316 (isBoldMetal): New helper method.
5318 2006-09-20 Casey Marshall <csm@gnu.org>
5320 * NEWS: mention epoll selector along with the kqueue one.
5322 2006-09-20 Casey Marshall <csm@gnu.org>
5324 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5325 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5327 2006-09-20 Francis Kung <fkung@redhat.com>
5330 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5331 (getGlyphTransform): Use translation instead of scale.
5332 (performDefaultLayout): Increment position values instead of resetting, and
5333 pre-increment instead of post-increment.
5334 (setGlyphTransform): Handle null case with identity transform.
5336 2006-09-20 Casey Marshall <csm@gnu.org>
5338 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5339 (AC_CHECK_FUNCS): check for `epoll_create.'
5340 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5341 * gnu/java/nio/EpollSelectorImpl.java: new file.
5342 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5344 (openSelector): return epoll selector if requested and available.
5345 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5346 (gnu_java_nio_EpollSelectorImpl.h): new target.
5347 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5348 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5349 gnu_java_nio_EpollSelectorImpl.c.
5350 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5352 2006-09-20 Casey Marshall <csm@gnu.org>
5354 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5356 (isConnected): return false if `connectionPending' is true.
5358 2006-09-20 Francis Kung <fkung@redhat.com>
5361 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5362 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5363 (getGlyphOutline): Call getGylphTransform to generate transform.
5364 (getGylphPosition): Read position directly out of array.
5365 (getGlyphPositions): Read positions directly out of array.
5366 (getGlyphTransform): Generate transform based on gylphPositions array.
5367 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5368 (setGlyphPosition): Set position directly into array.
5369 (setGlyphTransform): Update positions array as well.
5371 2006-09-20 David Daney <ddaney@avtrex.com>
5374 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5375 default content-type for POST method.
5377 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5379 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5380 (BasicRadioButtonUI): Don't fetch icon here,
5381 (installDefaults): Initialise icon here,
5382 (getDefaultIcon): Just return icon.
5384 2006-09-20 Mark Wielaard <mark@klomp.org>
5386 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5387 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5388 (EXTRA_DIST): Include javanio.c.
5390 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5392 * java/awt/geom/RoundRectangle2D.java:
5393 (getPathIterator): Reimplemented,
5394 and updated various API doc comments.
5396 2006-09-20 Roman Kennke <kennke@aicas.com>
5398 * java/awt/Container.java
5399 (addImpl): Set the new component's parent after it has been
5400 added to the array. Call addNotify() and invalidate()
5401 after the component has been added, so that the peer
5402 gets to know about the component structure when it is created.
5403 * java/awt/Window.java
5404 (dispatchEventImpl): Only revalidate when window is resized,
5405 let the other stuff be processed by the superclass.
5406 (dispose): Post WINDOW_CLOSED event only when some listener
5407 is registered or event is explicitly enabled.
5408 (show): Post WINDOW_OPENED event when appropriate.
5410 2006-09-20 Roman Kennke <kennke@aicas.com>
5412 * java/awt/Component.java
5413 (addNotify): Invalidate here. Fetch peer font.
5414 (getFont): Delegate to helper method, to protect from
5415 overriding client code. Lock the tree while fetching the font.
5416 (getFontImpl): New helper method. Moved code from getFont() in
5418 (removeNotify): Nullify peerFont too.
5419 (setFont): Synchronize on tree and component to avoid threading
5420 issues. Update the peerFont correctly.
5421 (validate): Update the peer font if necessary, before validating.
5422 (getGraphics): Revert to recursive graphics fetching.
5423 Set component font on the Graphics object.
5424 (translateEvent): Removed unnecessary cast.
5425 * java/awt/Container.java
5426 (invalidateTree): Made final and private. Made implementation
5427 slightly more efficient.
5428 (setFont): Get old and new font via getFont() to account for
5429 the real font, and only invalidate the tree when they are not
5430 the same and not equal.
5431 (visitChild): Set the font of the child on the component graphics.
5432 * java/awt/Frame.java
5433 (setMenuBar): Create local reference of peer for thread safety.
5434 Only call simple invalidate, not invalidateTree().
5436 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5439 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5440 (constructor): Copy image field.
5442 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5444 * javax/swing/JMenuBar.java
5445 (getHelpMenu): Implemented to throw an Error, and added API docs,
5446 (getMargin): Added API docs,
5447 (setMargin): Likewise.
5449 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5451 * javax/swing/AbstractButton.java
5452 (AbstractButton): Don't call updateUI(),
5453 * javax/swing/JButton.java
5454 (JButton(String, Icon)): Call setModel() before init(),
5455 * javax/swing/JMenuItem.java
5456 (JMenuItem()): Delegate to another constructor,
5457 (JMenuItem(Icon)): Likewise,
5458 (JMenuItem(Action)): Set model,
5459 (JMenuItem(String, Icon)): Likewise,
5460 * javax/swing/JToggleButton.java
5461 (init): Call setModel() before init().
5463 2006-09-19 Mark Wielaard <mark@klomp.org>
5466 * java/util/logging/LogManager.java (addLogger): Always check for
5467 existing children of a new Logger.
5469 2006-09-19 Roman Kennke <kennke@aicas.com>
5471 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5472 (HSBChangeListener.stateChanged): Moved handling of header to
5473 syncScrollPaneWithViewport().
5474 (VSBChangeListener.stateChanged): Moved handling of header to
5475 syncScrollPaneWithViewport().
5476 (ViewportChangedHandler.stateChanged): Removed unused statements.
5477 (syncScrollPaneWithViewport): Added null checks. Use setValues
5478 rather then the single setter methods to avoid multiple
5479 adjustments and side effects. Also snyc the headers here.
5480 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5481 (uninstallUI): Removed unnecessary cast and this qualifier as well
5482 as the call to super.
5484 2006-09-19 Gary Benson <gbenson@redhat.com>
5486 * java/net/ResolverCache.java: New class (a DNS cache).
5487 * java/net/InetAddress.java
5488 (internalGetCanonicalHostName, getAllByName): Use the above.
5490 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5492 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5493 * java/net/ServerSocket.java
5495 (bind): Set port field.
5496 (close): Set impl to null.
5497 (isClosed): Check impl and channel instead of using VMChannel.
5498 (toString): Use port field and getLocalPort() method.
5499 * java/net/Socket.java
5500 (isClosed): Check impl and channel instead of using VMChannel.
5502 2006-09-18 Tom Tromey <tromey@redhat.com>
5504 * java/util/concurrent/CopyOnWriteArrayList.java
5505 (CopyOnWriteArrayList): New constructor.
5507 2006-09-18 Casey Marshall <csm@gnu.org>
5509 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5510 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5512 2006-09-18 Tom Tromey <tromey@redhat.com>
5514 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5515 isConnected): Removed old comment.
5516 (getRemoteSocketAddress): Uncommented.
5517 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5518 setTrafficClass, getTrafficClass, setReuseAddress,
5519 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5520 isOutputShutdown): Uncommented.
5522 2006-09-18 David Pirkle <dpirkle@symyx.com>
5525 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5526 input stream during resolution.
5528 2006-09-18 Roman Kennke <kennke@aicas.com>
5530 * java/awt/LightweightDispatcher.java
5531 (findTarget): Correctly translate child coordinates.
5532 Use Component.eventTypeEnabled() for checking if a component
5533 has a certain event enabled.
5534 (handleMouseEvent): Find the correct mouse event target.
5535 Use Component.eventTypeEnabled() for checking if a component
5536 has a certain event enabled.
5538 2006-09-18 Roman Kennke <kennke@aicas.com>
5540 * java/awt/Component.java
5541 (show): Test for the peer beeing lightweight directly.
5542 (paintAll): Validate before painting. Don't paint when not
5543 showing. Call peer.paint() when the component is heavyweight.
5544 (repaint): Delegate to the parent when lightweight, rather
5545 than skipping to the nearest heavyweight.
5546 (createImage): Added null check to prevent NPE.
5547 (dispatchEvent): Moved old event dispatching and toolkit
5548 event dispatching to dispatchEventImpl.
5549 (addComponentListener): Don't enable event. Only add listener
5550 when not null. Switch to new event dispatching only.
5551 (addFocusListener): Likewise.
5552 (addHierarchyListener): Likewise.
5553 (addHierarchyBoundsListener): Likewise.
5554 (addKeyListener): Likewise.
5555 (addMouseListener): Likewise.
5556 (addMouseMotionListener): Likewise.
5557 (addMouseWheelListener): Likewise.
5558 (addInputMethodListener): Likewise.
5559 (coalesceEvents): For mouse events coalesce them only when
5560 their modifiers are equal. For paint events coalesce the events
5561 when one contains the other, without going through complicated
5563 (dispatchEventImpl): Moved old event dispatching and toolkit
5564 event dispatching to dispatchEventImpl.
5565 (coalescePaintEvents): Removed.
5566 (HeavyweightInLightweightListener.componentHidden):
5568 * java/awt/Container.java
5569 (addImpl): Don't enable events on lightweights.
5570 (remove): Reordered operations. Don't remove any listeners.
5571 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5572 Only removeNotify() when peer is != null. Only invalidate if
5573 not already invalid. Only fire ContainerEvent if there is
5574 an interested listener or the event is enabled. Dispatch this
5575 event directly without the event queue.
5576 (removeAll): Likewise.
5577 (paintComponents): Only paint when showing. Also paint heavyweights.
5578 Don't paint the container itself.
5579 (removeNotify): Create local variables for improved thread safety.
5580 (addNotifyContainerChildren): Don't enable events for lightweights.
5582 2006-09-18 Roman Kennke <kennke@aicas.com>
5584 * java/awt/EventQueue.java
5585 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5586 (next_in): Removed obsolete field.
5587 (next_out): Removed obsolete field.
5588 (queueHead): New field. Markes the head of the queue.
5589 (queueTail): New field. Markes the tail of the queue.
5590 (queue): Removed obsolete field.
5591 (EventQueue): Documented empty block.
5592 (getNextEvent): Changed array based implementation to single-linked
5593 list based implementation.
5594 (invokeAndWait): Use an Object as synchronization object rather
5595 than the current thread.
5596 (peekEvent(int)): Changed array based implementation to single-linked
5597 list based implementation.
5598 (peekEvent()): Changed array based implementation to single-linked
5599 list based implementation.
5600 (pop()): Changed array based implementation to single-linked
5601 list based implementation.
5602 (postEvent): Foward to postEventImpl.
5603 (postEventImpl): Changed array based implementation to single-linked
5604 list based implementation.
5605 (push): Changed array based implementation to single-linked
5606 list based implementation.
5607 * java/awt/AWTEvent.java
5608 (queueNext): New field. Implements a single-linked list for
5611 2006-09-17 Mark Wielaard <mark@klomp.org>
5613 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5614 resource from HTMLEditorKit.class.
5616 2006-09-17 Mark Wielaard <mark@klomp.org>
5618 * javax/swing/plaf/basic/BasicToolBarUI.java
5619 (setBorderToNonRollover): Check whether border is null.
5620 (setBorderToRollover): Likewise.
5622 2006-09-17 Mark Wielaard <mark@klomp.org>
5624 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5626 2006-09-17 Mark Wielaard <mark@klomp.org>
5628 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5629 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5630 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5631 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5632 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5634 2006-09-17 Casey Marshall <csm@gnu.org>
5636 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5639 2006-09-17 Chris Burdess <dog@gnu.org>
5641 Fixes PR 27610 27687.
5642 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5643 * gnu/xml/transform/SAXTemplatesHandler.java,
5644 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5645 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5646 SAXTransformerFactory.
5648 2006-09-16 Casey Marshall <csm@gnu.org>
5651 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5652 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5654 (HAVE_INET6): define if IPv6 is supported.
5655 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5656 (native_fd): removed.
5658 (<init>): throw IOException; initialize fields.
5659 (finalize): removed.
5660 (getNativeFD): removed.
5661 (bind): use `PlainSocketImpl.bind.'
5662 (create): use `PlainSocketImpl.initSocket.'
5663 (disconnect): use `PlainSocketImpl.disconnect.'
5664 (getLocalPort): new method.
5665 (send): use `VMChannel.send.'
5666 (receive): use `VMChannel.receive.'
5667 (setOption): use `PlainSocketImpl.setOption.'
5668 (getOption): use `PlainSocketImpl.getOption.'
5669 (close): use `VMChannel.State.close.'
5670 (join): use `PlainSocketImpl.join.'
5671 (leave): use `PlainSocketImpl.leave.'
5672 (joinGroup, leaveGroup): implemented.
5673 * gnu/java/net/PlainSocketImpl.java: make non-final.
5674 (native_fd): removed.
5676 (channel): new field.
5677 (<init>): initialize `impl.'
5678 (finalize, getNativeFD): removed.
5679 (setOption): use `PlainSocketImpl.setOption.'
5680 (getOption): use `PlainSocketImpl.getOption.'
5681 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5682 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5683 (create): create `channel,' initialize `impl's native state.
5684 (connect): use `connect(SocketAddress, int).'
5685 (connect): use `SocketChannelImpl.connect;' initialize `address'
5687 (bind): use `VMPlainSocketImpl.bind.'
5688 (listen): use `VMPlainSocketImpl.listen.'
5689 (accept): use `SocketChannelImpl.accept.'
5690 (available): use `VMChannel.available.'
5691 (close): use `PlainSocketImpl.close.'
5692 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5693 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5694 getPort): new methods.
5695 (SocketInputStream.read): use `VMChannel.read.'
5696 (SocketInputStream.read): use `SocketChannel.read.'
5697 (SocketOutputStream.write): use `VMChannel.write.'
5698 (SocketOutputStream.write): use `SocketChannel.write.'
5699 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5700 (channel): new field.
5701 (<init>): initialize `channel.'
5702 (implCloseSelectableChannel): use `VMChannel.close.'
5703 (implConfigureBlocking): use `VMChannel.setBlocking.'
5704 (connect): use `VMChannel.connect.'
5705 (disconnect): use `VMChannel.disconnect.'
5706 (isConnected): use `VMChannel.getPeerAddress.'
5707 (write): use `VMChannel.write.'
5708 (write): use `VMChannel.writeGathering.'
5709 (read): use `VMChannel.read.'
5710 (read): use `VMChannel.readScattering.'
5711 (receive): use `VMChannel.receive.'
5712 (send): use `VMChannel.send.'
5713 (getVMChannel): new method.
5714 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5715 access native FD through VMChannel.State.
5716 * gnu/java/nio/FileChannelImpl.java: moved from
5717 gnu/java/nio/channels/FileChannelImpl.java.
5718 * gnu/java/nio/FileLockImpl.java: fix imports.
5719 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5720 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5721 * gnu/java/nio/NIOSocket.java (impl): removed.
5722 (channel): new field.
5723 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5724 (getPlainSocketImpl, setChannel): removed.
5725 (isConnected): new method.
5726 * gnu/java/nio/NIOSocketImpl.java: new file.
5727 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5729 (SourceChannelImpl.native_fd): removed.
5730 (SourceChannelImpl.<init>): init with a `VMChannel.'
5731 (SourceChannelImpl.getNativeFD): removed.
5732 (SourceChannelImpl.getVMChannel): new method.
5733 (SourceChannelImpl.implCloseSelectableChannel): implement.
5734 (SinkChannelImpl): implement `VMChannelOwner.'
5735 (SinkChannelImpl.native_fd): removed.
5736 (SinkChannelImpl.<init>): init with a `VMChannel.'
5737 (SinkChannelImpl.implCloseSelectableChannel): implement.
5738 (SinkChannelImpl.getNativeFD): removed.
5739 (SinkChannelImpl.getVMChannel): new method.
5740 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5742 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5743 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5744 (openSelector): return kqueue selector if available.
5745 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5747 (channel): new field.
5748 (<init>): init `channel.'
5749 (finalizer): check if the `VMChannel.State' is valid.
5750 (implCloseSelectableChannel): use `VMChannel.close.'
5751 (implConfigureBlocking): use `VMChannel.setBlocking.'
5752 (accept): use `VMChannel.accept.'
5753 (getVMChannel): new method.
5754 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5755 access native FD through `VMChannel.State.'
5756 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5758 (channel, connected, connectAddress): new field.
5759 (<init>): new constructors.
5760 (getPlainSocketImpl): removed.
5761 (implCloseSelectableChannel): use `VMChannel.close.'
5762 (implConfigureBlocking): use `VMChannel.setBlocking.'
5763 (connect): use `connect(SocketAddress,int).'
5764 (connect): use `VMChannel.connect.'
5765 (finishConnect): don't use a selector.
5766 (isConnected): use `VMChannel.getPeerAddress.'
5767 (read): use `VMChannel.read.'
5768 (read): use `VMChannel.readScattering.'
5769 (write): use `VMChannel.write.'
5770 (write): use `VMChannel.writeGathering.'
5771 (getVMChannel): new method.
5772 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5773 native FD from `VMChannel.State.'
5774 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5775 get native FD from `VMChannel.State.'
5776 * gnu/java/nio/VMChannelOwner.java: new file.
5777 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5778 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5779 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5780 `gnu_java_nio_channels_FileChannelImpl.h.'
5781 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5782 * include/gnu_java_nio_FileChannelImpl.h: new file.
5783 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5784 * include/gnu_java_nio_VMChannel.h: regenerated.
5785 * include/gnu_java_nio_VMPipe.h: regenerated.
5786 * include/java_net_VMNetworkInterface.h: regenerated.
5787 * java/io/FileDescriptor.java: fix imports.
5788 * java/io/FileInputStream.java (<init>): handle exceptions.
5789 (read): wrap the destination arary.
5790 * java/io/FileOutputStream.java (<init>): handle exceptions.
5791 (write): wrap the source array.
5792 * java/io/RandomAccessFile.java (<init>): handle exceptions.
5793 * java/net/DatagramSocket.java (<init>): handle exceptions.
5794 (receive): handle length/port setting.
5795 (connect): bind to any address/port if the argument is null.
5796 * java/net/NetworkInterface.java (name, inetAddress): removed.
5798 (<init>): make private.
5799 (getName): return `netif.name.'
5800 (getInetAddresses): access `netif.addresses.'
5801 (getDisplayName): return `netif.name.'
5802 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5803 (condense): removed.
5804 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5805 (equals): compare `netif' fields.
5806 (hashCode): get hash codes from `netif.'
5807 (toString): use a StringBuffer.
5808 * java/net/ServerSocket.java (close): don't set `impl' to null.
5809 (isClosed): use `VMChannel.State.isClosed.'
5810 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5811 the `SocketImpl' is a `PlainSocketImpl.'
5812 (close): just close the `impl.'
5813 (toString): use `super.toString' in the value we return.
5814 (isConnected): just access `impl,' not `getImpl.'
5815 (isBound): use `PlainSocketImpl' methods if we can.
5816 (isClosed): look at `VMChannel.State.'
5817 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5818 (JCL_NewRawDataObject): don't initialize cached fields here; throw
5819 an exception if they were not.
5820 (JCL_GetRawData): throw an exception if cached fields weren't
5822 * native/jni/java-lang/java_lang_VMProcess.c: handle
5823 FileChannelImpl move.
5824 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5825 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5826 THROW_NO_NETWORK): new macros.
5827 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5828 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5829 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5830 (java_sockopt): new enum.
5831 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5832 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5833 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5835 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5837 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5839 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5840 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5841 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5842 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5843 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5844 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5845 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5846 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5847 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5848 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5849 (getif_address): new function.
5850 (getif_index): new function.
5851 * native/jni/java-net/java_net_VMNetworkInterface.c
5852 (java_net_VMNetworkInterface_init,
5853 java_net_VMNetworkInterface_addAddress): new file-scope globals.
5854 (Java_java_net_VMNetworkInterface_initIds): new function.
5855 (struct netif_entry): new struct.
5856 (free_netif_list): new function.
5857 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5858 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5859 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5860 gnu_java_nio_channels_FileChannelImpl.c, add
5861 gnu_java_nio_KqueueSelectorImpl.c.
5862 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5863 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5864 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5865 ALIGN_DOWN): new macros.
5866 (JCL_init_buffer): get the address through GetDirectBufferAddress
5868 (Java_gnu_java_nio_VMChannel_stdin_1fd,
5869 Java_gnu_java_nio_VMChannel_stdout_1fd,
5870 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5871 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5873 (Java_gnu_java_nio_VMChannel_read): renamed...
5874 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5875 this; handle interrupted IO; add HAVE_READ check.
5876 (Java_gnu_java_nio_VMChannel_write): renamed...
5877 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5878 this; handle zero-length write; add HAVE_WRITE check.
5879 (Java_gnu_java_nio_VMChannel_receive): new function.
5880 (Java_gnu_java_nio_VMChannel_send): new function.
5881 (Java_gnu_java_nio_VMChannel_send6): new function.
5882 (Java_gnu_java_nio_VMChannel_read__I): new function.
5883 (Java_gnu_java_nio_VMChannel_write__II): new function.
5884 (Java_gnu_java_nio_VMChannel_socket): new function.
5885 (Java_gnu_java_nio_VMChannel_connect): new function.
5886 (Java_gnu_java_nio_VMChannel_connect6): new function.
5887 (Java_gnu_java_nio_VMChannel_getsockname): new function.
5888 (Java_gnu_java_nio_VMChannel_getpeername): new function.
5889 (Java_gnu_java_nio_VMChannel_accept): new function.
5890 (Java_gnu_java_nio_VMChannel_disconnect): new function.
5891 (Java_gnu_java_nio_VMChannel_close): new function.
5892 (Java_gnu_java_nio_VMChannel_available): new function.
5893 (FileChannel_mode): new enum.
5894 (Java_gnu_java_nio_VMChannel_open): new function.
5895 (Java_gnu_java_nio_VMChannel_position): new function.
5896 (Java_gnu_java_nio_VMChannel_seek): new function.
5897 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5898 (Java_gnu_java_nio_VMChannel_lock): new function.
5899 (Java_gnu_java_nio_VMChannel_unlock): new function.
5900 (Java_gnu_java_nio_VMChannel_size): new function.
5901 (Java_gnu_java_nio_VMChannel_map): new function.
5902 (Java_gnu_java_nio_VMChannel_flush): new function.
5903 * native/jni/java-nio/gnu_java_nio_VMPipe.c
5904 (Java_gnu_java_nio_VMPipe_init): removed.
5905 (Java_gnu_java_nio_VMPipe_pipe0): new function.
5906 * native/jni/java-nio/javanio.c: new file.
5907 * native/jni/java-nio/javanio.h: new file.
5908 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5909 systems without `gethostbyname_r.'
5910 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5912 (<init>, <init>): new constructors.
5913 (setOption, getOption): make instance methods; defer to native
5916 (bind): make an instance method; defer to native methods.
5918 (available): removed.
5919 (listen): make an instance method; defer to native method.
5921 (join, leave): new methods.
5923 (joinGroup, leaveGroup): new methods.
5924 (shutdownInput, shutdownOutput): make instance methods.
5925 (sendUrgentData): removed.
5927 * vm/reference/gnu/java/nio/VMChannel.java: make final.
5930 (<init>): new, public constructors.
5931 (getVMChannel): methods removed.
5932 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5933 stderr_fd): new methods.
5934 (setBlocking): make an instance method.
5935 (available): new method.
5936 (read): get native fd from `nfd.'
5937 (read): new single-byte read method.
5938 (readScattering): get native fd from `nfd.'
5939 (receive): new method.
5940 (write, writeGathering): get native fd from `nfd.'
5942 (write): new single-byte write method.
5943 (initSocket): new method.
5944 (connect): new method.
5945 (disconnect): new method.
5946 (getLocalAddress): new method.
5947 (getPeerAddress): new method.
5948 (accept): new method.
5949 (openFile): new method.
5950 (position): new method.
5952 (truncate): new method.
5954 (unlock): new method.
5957 (flush): new method.
5958 (close): new method.
5961 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5962 (pipe, pipe0): new method.
5963 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5965 (<clinit>): call `initIds.'
5966 (initIds): new method.
5967 (getInterfaces): removed.
5968 (getVMInterfaces): new method.
5969 (addAddress): new method.
5970 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5972 2006-09-16 Chris Burdess <dog@gnu.org>
5975 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5976 when in text output mode.
5978 2006-09-16 Chris Burdess <dog@gnu.org>
5981 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5983 2006-09-14 Michael Koch <konqueror@gmx.de>
5985 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5987 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
5989 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5990 Added !cl.isArray() to serialVersionUID mismatch check.
5992 2006-09-14 Francis Kung <fkung@redhat.com>
5994 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5995 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5996 be compatibe with Cairo 1.2.x.
5998 2006-09-14 Francis Kung <fkung@redhat.com>
6000 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6001 (cairoSurfaceSetFilter): Removed method.
6002 (drawImage): Pass interpolation type as argument to drawing methods.
6003 (drawPixels): Added interpolation parameter.
6004 (drawRaster): Pass interpolation type as argument to drawing method.
6005 (getInterpolation): New method.
6006 (setRenderingHint): Store hints, but do not set interpolation in cairo.
6007 (setRenderingHints): Store hints, but do not set interpolation in cairo.
6008 * gnu/java/awt/peer/gtk/CairoSurface.java
6009 (drawSurface): Added interpolation parameter.
6010 (nativeDrawSurface): Added interpolation parameter.
6011 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6012 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6014 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6015 * native/jni/gtk-peer/cairographics2d.h
6016 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6017 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6018 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6020 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6022 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6023 interpolation parameter.
6025 2006-09-14 Gary Benson <gbenson@redhat.com>
6027 * java/net/InetAddress.java
6028 (internalGetCanonicalHostName): New method.
6029 (getCanonicalHostName): Use internalGetCanonicalHostName.
6030 (getByLiteral): New method.
6031 (getAllByName): Use getByLiteral.
6032 * java/net/SocketPermission.java
6033 (host): Replaced with...
6034 (hostname, address): New fields.
6035 (equals, hashcode): Reflect the above.
6036 (setHostPort): Parse host into hostname or address.
6037 (implies): Rewrite host checks.
6039 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6042 * java/awt/Menu.java
6043 (insert(MenuItem, int)): Fixed loop range,
6044 (insert(String, int)): Updated API docs.
6046 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
6049 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6050 architectures (like Arm).
6051 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6052 Reverted SWAP_DOUBLE patch.
6053 (doubleToRawLongBits): Likewise.
6054 (longBitsToDouble): Likewise.
6056 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
6058 * java/awt/Menu.java: Reformatted source file.
6060 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6062 * gnu/java/rmi/server/ActivatableRef.java
6063 (readExternal, writeExternal): Partial fix for serialization format.
6065 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
6068 * java/io/InputStreamReader.java
6069 (read(char[],int,int)): Fixed bug.
6071 2006-09-13 Francis Kung <fkung@redhat.com>
6073 * java/awt/image/BandCombineOp.java: Updated documentation.
6074 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6076 2006-09-13 Tom Tromey <tromey@redhat.com>
6079 * java/io/PipedReader.java (read): Return early if len==0.
6080 * java/io/PipedInputStream.java (read): Return early if len==0.
6082 2006-09-13 Francis Kung <fkung@redhat.com>
6084 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6085 Removed hard-coded max sample value.
6086 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6087 Fixed finding of max sample value.
6089 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6091 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6092 (setPaint): Check null argument ('p').
6094 2006-09-12 Francis Kung <fkung@redhat.com>
6097 * gnu/java/awt/java2d/TexturePaintContext.java
6098 (constructor): Fixed typo, getMinY instead of getMaxX.
6099 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6100 (setPaint): Implemented support for custom Paint classes.
6101 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6102 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6103 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6104 to setPaintPixels, and added repeat parameter.
6105 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6106 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6108 2006-09-12 Gary Benson <gbenson@redhat.com>
6110 * java/net/NetworkInterface.java (getInetAddresses):
6111 Fix port used in security check.
6113 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6115 * javax/swing/plaf/metal/DefaultMetalTheme.java
6116 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6117 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6118 (getControlTextFont): Check 'swing.boldMetal' setting before
6120 (getMenuTextFont): Likewise.
6122 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6124 * javax/swing/plaf/metal/OceanTheme.java
6125 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6127 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6129 * javax/swing/plaf/metal/MetalIconFactory.java
6130 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6132 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6134 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6136 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6138 * javax/swing/AbstractButton.java
6139 (AbstractButton): Initialise textIconGap field.
6141 2006-09-11 Tom Tromey <tromey@redhat.com>
6143 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6144 "volatile" when needed.
6146 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6148 * java/text/AttributedCharacterIterator.java
6149 (LANGUAGE): Initialise with lower case string,
6150 (INPUT_METHOD_SEGMENT): Likewise,
6151 (READING): Likewise,
6152 * java/text/AttributedStringIterator.java
6153 (getRunLimit): Check all attributes for changes.
6155 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6157 * java/text/AttributedCharacterIterator.java: Added @since tag,
6158 renamed some variables (no underscores) and removed some spaces to
6159 match the common style,
6160 * java/text/AttributedString.java: Likewise,
6161 * java/text/AttributedStringIterator.java: Likewise.
6163 2006-09-11 Gary Benson <gbenson@redhat.com>
6165 * java/net/Inet4Address.java
6166 (FAMILY): Renamed back to AF_INET.
6167 (<init>, writeReplace): Reflect the above.
6168 * java/net/Inet6Address.java
6169 (FAMILY): Renamed back to AF_INET6.
6170 (<init>): Reflect the above.
6172 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6175 * java/text/AttributedString.java
6176 (AttributedString(AttributedCharacterIterator, int, int,
6177 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6180 2006-09-11 Gary Benson <gbenson@redhat.com>
6182 * java/net/Inet4Address.java
6183 (AF_INET): Renamed to FAMILY.
6184 (<init>, writeReplace): Reflect the above.
6185 * java/net/Inet6Address.java
6186 (AF_INET6): Renamed to FAMILY.
6187 (<init>): Reflect the above.
6189 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6192 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6193 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6194 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6195 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6196 (bind): Call getImpl().create(true).
6198 2006-09-09 Chris Burdess <dog@gnu.org>
6200 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6201 an instance of org.w3c.dom.NodeList.
6203 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6205 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6206 missing security manager when run in standalone mode.
6208 2006-09-08 Francis Kung <fkung@redhat.com>
6210 * java/awt/image/AffineTransformOp.java: Updated documentation.
6211 (createCompatibleDestRaster): Updated formatting.
6212 (filter(BufferedImage, BufferedImage)): Updated formatting.
6213 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6214 if colour model is compatible.
6215 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6216 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6218 2006-09-08 Gary Benson <gbenson@redhat.com>
6220 * java/net/InetAddress.java
6221 (family): Updated javadoc and made private.
6222 (<init>): Add an address family argument.
6223 (readObject): Don't overwrite family.
6224 * java/net/Inet4Address.java
6225 (AF_INET): New constant.
6226 (<init>): Use AF_INET as the family.
6227 (writeReplace): Likewise.
6228 * java/net/Inet6Address.java
6229 (AF_INET6): New constant.
6230 (<init>): Use AF_INET6 as the family.
6232 2006-09-08 Gary Benson <gbenson@redhat.com>
6234 * java/net/InetAddress.java
6235 (getHostName): Move lookup into getCanonicalHostName.
6236 (getCanonicalHostName): Move lookup from getHostName,
6237 Perform security check on canonical name (ie after lookup).
6239 2006-09-08 Gary Benson <gbenson@redhat.com>
6241 * java/net/Inet4Address.java (isMulticastAddress,
6242 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6243 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6244 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6245 implementations from InetAddress.
6246 * java/net/InetAddress.java (isMulticastAddress,
6247 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6248 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6249 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6250 implementations with UnsupportedOperationExceptions.
6252 2006-09-08 Gary Benson <gbenson@redhat.com>
6254 * java/net/InetAddress.java
6255 (inaddr_any): Removed.
6256 (ANY_IF, LOCALHOST): Create using getByAddress.
6257 (<init>): Updated javadoc.
6258 (getHostName): Cache hostname even if the lookup failed.
6259 (getByAddress): Create Inet4Address objects when passed
6260 IPv4-mapped IPv6 addresses.
6262 (getAllByName): Create address objects using getByAddress.
6263 Do not perform security checks unless actually required.
6264 Do not strip whitespace from the hostname.
6265 (getInaddrAny): Removed.
6266 (getLocalHost): Return the loopback address if getByName
6267 throws a SecurityException.
6268 (readResolve): Updated javadoc.
6269 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6270 * include/java_net_VMInetAddress.h
6271 (Java_java_net_VMInetAddress_aton): Likewise.
6272 * native/jni/java-net/java_net_VMInetAddress.c
6273 (Java_java_net_VMInetAddress_aton): New method.
6274 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6275 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6276 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6277 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6278 * NEWS: Added note about updated VM interface.
6280 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6282 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6283 (setNorthPane): Assign component to titlePane.
6285 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6287 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6288 Remove unused variable alt_addr.
6289 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6290 Remove unused variables.
6292 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6294 * javax/swing/plaf/metal/MetalScrollBarUI.java
6295 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6296 (createDecreaseButton): Don't fetch scrollBarWidth here,
6297 (createIncreaseButton): Likewise.
6299 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6301 * java/awt/image/MemoryImageSource.java: Added API docs.
6303 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6305 * javax/swing/plaf/basic/BasicScrollBarUI.java
6306 (installDefaults): Call configureScrollBarColors().
6308 2006-09-06 Francis Kung <fkung@redhat.com>
6310 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6311 (constructor): Make copy of arrays.
6312 (createCompatibleDestImage): Changed treatment of null ColorModel.
6313 (filter(BufferedImage, BufferedImage)): Re-implemented.
6314 (filter(Raster, WritableRaster, boolean[])): New method.
6315 (filter(Raster, WritableRaster)): Re-implemented.
6316 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6317 (getPoint2D): Cleaned up formatting.
6318 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6320 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6322 * javax/swing/UIManager.java
6323 (getBoolean(Object)): Reimplemented,
6324 (getBoolean(Object, Locale)): Likewise,
6325 (getBorder(Object)): Likewise,
6326 (getBorder(Object, Locale)): Likewise,
6327 (getColor(Object)): Likewise,
6328 (getColor(Object, Locale)): Likewise,
6329 (getDimension(Object)): Likewise,
6330 (getDimension(Object, Locale)): Likewise,
6331 (getFont(Object)): Likewise,
6332 (getFont(Object, Locale)): Likewise,
6333 (getIcon(Object)): Likewise,
6334 (getIcon(Object, Locale)): Likewise,
6335 (getInsets(Object)): Updated API docs,
6336 (getInsets(Object, Locale)): Likewise,
6337 (getInt(Object)): Reimplemented,
6338 (getInt(Object, Locale)): Likewise,
6339 (getString(Object)): Likewise,
6340 (getString(Object, Locale)): Likewise.
6342 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6344 * javax/swing/UIManager.java
6345 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6346 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6348 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6350 * javax/swing/plaf/metal/MetalLookAndFeel.java
6351 (initComponentDefaults): Corrected various font defaults.
6353 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6355 * java/awt/List.java: Added @since to various methods.
6357 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6359 * native/jni/native-lib/cpprocess.c:
6360 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6361 Add redirection of stdout to stderr.
6362 * native/jni/native-lib/cpprocess.h:
6363 Added redirect argument.
6364 * native/jni/java-lang/java_lang_VMProcess.c
6365 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6366 * vm/reference/java/lang/VMProcess.java: Likewise.
6367 * include/java_lang_VMProcess.h: Regenerated.
6369 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6371 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6372 __attribute to __attribute__.
6374 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6377 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6379 * java/awt/List.java: Source code reformatted.
6381 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6383 * gnu/CORBA/CollocatedOrbs.java,
6384 gnu/CORBA/SafeForDirectCalls.java: New files.
6385 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6386 Implement gnu.CORBA.SafeForDirectCalls.
6387 * gnu/CORBA/NamingService/Ext.java: Likewise.
6388 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6389 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6390 of the local host. (ior_to_object): Return the local object
6391 where possible. (run): Register/unregister this ORB.
6392 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6393 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6394 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6395 (constructors): Initialize noRetain. (_invoke): Drop servant
6396 if noRetain is true. (getHandler): Always seach for the new servant
6397 if noRetain is true.
6398 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6399 * NEWS: Added note about the new feature.
6401 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6403 * java/awt/Choice.java
6404 (addItem): Fixed API doc glitch.
6406 2006-09-05 Francis Kung <fkung@redhat.com>
6408 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6409 (createCompatibleDestImage): Re-implemented.
6410 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6411 compatibility, and use ColorConvertOp for color conversion if needed.
6412 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6414 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6416 gnu/CORBA/CDR/Vio.java,
6417 org/omg/CORBA_2_3/ORB.java,
6418 org/omg/CORBA_2_3/portable/InputStream.java,
6419 org/omg/CORBA_2_3/portable/OutputStream.java,
6420 org/omg/CosNaming/BindingIteratorHelper.java,
6421 org/omg/CosNaming/BindingTypeHelper.java,
6422 org/omg/CosNaming/NameComponentHelper.java,
6423 org/omg/CosNaming/NameHelper.java,
6424 org/omg/CosNaming/NamingContextExtHelper.java,
6425 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6426 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6427 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6428 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6429 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6430 org/omg/CosNaming/NamingContextHelper.java,
6431 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6432 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6433 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6434 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6435 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6436 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6437 org/omg/DynamicAny/AnySeqHelper.java,
6438 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6439 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6440 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6441 org/omg/DynamicAny/DynAnyHelper.java,
6442 org/omg/DynamicAny/DynAnyOperations.java,
6443 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6444 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6445 org/omg/DynamicAny/DynAnySeqHelper.java,
6446 org/omg/DynamicAny/DynArrayHelper.java,
6447 org/omg/DynamicAny/DynEnumHelper.java,
6448 org/omg/DynamicAny/DynFixedHelper.java,
6449 org/omg/DynamicAny/DynSequenceHelper.java,
6450 org/omg/DynamicAny/DynStructHelper.java,
6451 org/omg/DynamicAny/DynStructOperations.java,
6452 org/omg/DynamicAny/DynUnionHelper.java,
6453 org/omg/DynamicAny/DynValueHelper.java,
6454 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6455 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6456 org/omg/IOP/CodecFactoryHelper.java,
6457 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6458 org/omg/IOP/CodecOperations.java,
6459 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6460 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6461 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6462 org/omg/IOP/ComponentIdHelper.java,
6463 org/omg/IOP/ExceptionDetailMessage.java,
6464 org/omg/IOP/MultipleComponentProfileHelper.java,
6465 org/omg/IOP/ProfileIdHelper.java,
6466 org/omg/IOP/ServiceContextListHelper.java,
6467 org/omg/IOP/ServiceIdHelper.java,
6468 org/omg/IOP/TAG_CODE_SETS.java,
6469 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6470 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6471 org/omg/PortableInterceptor/CurrentHelper.java,
6472 org/omg/PortableInterceptor/IORInfo.java,
6473 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6474 org/omg/PortableInterceptor/ORBIdHelper.java,
6475 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6476 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6477 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6478 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6479 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6480 org/omg/PortableInterceptor/RequestInfoOperations.java,
6481 org/omg/PortableInterceptor/ServerIdHelper.java,
6482 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6483 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6484 org/omg/PortableServer/AdapterActivatorOperations.java,
6485 org/omg/PortableServer/CurrentHelper.java,
6486 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6487 org/omg/PortableServer/ForwardRequestHelper.java,
6488 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6489 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6490 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6491 org/omg/PortableServer/LifespanPolicyValue.java,
6492 org/omg/PortableServer/POA.java,
6493 org/omg/PortableServer/POAHelper.java,
6494 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6495 org/omg/PortableServer/POAManagerPackage/State.java,
6496 org/omg/PortableServer/POAOperations.java,
6497 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6498 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6499 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6500 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6501 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6502 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6503 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6504 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6505 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6506 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6507 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6508 org/omg/PortableServer/ServantActivatorHelper.java,
6509 org/omg/PortableServer/ServantLocatorHelper.java,
6510 org/omg/PortableServer/ServantLocatorOperations.java,
6511 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6512 org/omg/PortableServer/ThreadPolicyValue.java,
6513 org/omg/PortableServer/_ServantActivatorStub.java,
6514 org/omg/PortableServer/_ServantLocatorStub.java,
6515 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6517 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6519 * javax/rmi/CORBA/Tie.java,
6520 org/omg/CORBA/AnyHolder.java,
6521 org/omg/CORBA/AnySeqHelper.java,
6522 org/omg/CORBA/AnySeqHolder.java,
6523 org/omg/CORBA/BooleanHolder.java,
6524 org/omg/CORBA/BooleanSeqHelper.java,
6525 org/omg/CORBA/BooleanSeqHolder.java,
6526 org/omg/CORBA/ByteHolder.java,
6527 org/omg/CORBA/CharHolder.java,
6528 org/omg/CORBA/CharSeqHelper.java,
6529 org/omg/CORBA/CharSeqHolder.java,
6530 org/omg/CORBA/Context.java,
6531 org/omg/CORBA/CurrentHelper.java,
6532 org/omg/CORBA/CustomValue.java,
6533 org/omg/CORBA/DataOutputStream.java,
6534 org/omg/CORBA/DefinitionKindHelper.java,
6535 org/omg/CORBA/DomainManagerOperations.java,
6536 org/omg/CORBA/DoubleHolder.java,
6537 org/omg/CORBA/DoubleSeqHelper.java,
6538 org/omg/CORBA/DoubleSeqHolder.java,
6539 org/omg/CORBA/DynAny.java,
6540 org/omg/CORBA/DynSequence.java,
6541 org/omg/CORBA/DynValue.java,
6542 org/omg/CORBA/DynamicImplementation.java,
6543 org/omg/CORBA/FieldNameHelper.java,
6544 org/omg/CORBA/FixedHolder.java,
6545 org/omg/CORBA/FloatHolder.java,
6546 org/omg/CORBA/FloatSeqHelper.java,
6547 org/omg/CORBA/FloatSeqHolder.java,
6548 org/omg/CORBA/IdentifierHelper.java,
6549 org/omg/CORBA/IntHolder.java,
6550 org/omg/CORBA/LocalObject.java,
6551 org/omg/CORBA/LongHolder.java,
6552 org/omg/CORBA/LongLongSeqHelper.java,
6553 org/omg/CORBA/LongLongSeqHolder.java,
6554 org/omg/CORBA/LongSeqHelper.java,
6555 org/omg/CORBA/LongSeqHolder.java,
6556 org/omg/CORBA/ORB.java,
6557 org/omg/CORBA/ObjectHelper.java,
6558 org/omg/CORBA/ObjectHolder.java,
6559 org/omg/CORBA/OctetSeqHelper.java,
6560 org/omg/CORBA/OctetSeqHolder.java,
6561 org/omg/CORBA/PolicyErrorCodeHelper.java,
6562 org/omg/CORBA/PolicyErrorHelper.java,
6563 org/omg/CORBA/PolicyHelper.java,
6564 org/omg/CORBA/PolicyListHelper.java,
6565 org/omg/CORBA/PolicyTypeHelper.java,
6566 org/omg/CORBA/PrincipalHolder.java,
6567 org/omg/CORBA/RepositoryIdHelper.java,
6568 org/omg/CORBA/Request.java,
6569 org/omg/CORBA/ShortHolder.java,
6570 org/omg/CORBA/ShortSeqHelper.java,
6571 org/omg/CORBA/ShortSeqHolder.java,
6572 org/omg/CORBA/StringSeqHelper.java,
6573 org/omg/CORBA/StringSeqHolder.java,
6574 org/omg/CORBA/ULongLongSeqHelper.java,
6575 org/omg/CORBA/ULongLongSeqHolder.java,
6576 org/omg/CORBA/ULongSeqHelper.java,
6577 org/omg/CORBA/ULongSeqHolder.java,
6578 org/omg/CORBA/UShortSeqHelper.java,
6579 org/omg/CORBA/UShortSeqHolder.java,
6580 org/omg/CORBA/ValueBaseHelper.java,
6581 org/omg/CORBA/ValueBaseHolder.java,
6582 org/omg/CORBA/VersionSpecHelper.java,
6583 org/omg/CORBA/WCharSeqHelper.java,
6584 org/omg/CORBA/WCharSeqHolder.java,
6585 org/omg/CORBA/WStringSeqHelper.java,
6586 org/omg/CORBA/WStringSeqHolder.java,
6587 org/omg/CORBA/WrongTransactionHelper.java,
6588 org/omg/CORBA/_IDLTypeStub.java,
6589 org/omg/CORBA/_PolicyStub.java,
6590 org/omg/CORBA/portable/BoxedValueHelper.java,
6591 org/omg/CORBA/portable/Delegate.java,
6592 org/omg/CORBA/portable/ObjectImpl.java,
6593 org/omg/CORBA/portable/ServantObject.java,
6594 org/omg/CORBA/portable/StreamableValue.java,
6595 org/omg/CosNaming/BindingType.java,
6596 org/omg/CosNaming/IstringHelper.java,
6597 org/omg/DynamicAny/FieldNameHelper.java,
6598 org/omg/PortableServer/Servant.java: Documentation fixes.
6600 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6602 * java/awt/Rectangle.java
6603 (setRect(double, double, double, double)): Modified rounding of input
6606 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6608 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6609 Disallow H1 - H6 in the paragraphs.
6610 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6611 (preprocess): Leave at most one leading and/or trailing space.
6612 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6613 Do not add any text after closing the HTML tag.
6615 2006-09-02 Roman Kennke <kennke@aicas.com>
6618 * javax/swing/plaf/basic/BasicTextUI.java
6619 (RootView.getPreferredSpan): Default to 10 when there is no
6621 (RootView.getMinimumSpan): Forward to view and default to 10
6622 when there is no real view.
6623 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6624 (getMaximumSize): Check for overflow.
6625 * javax/swing/text/FieldView.java
6626 (getResizeWeight): Removed unneeded assignment.
6628 2006-09-01 Francis Kung <fkung@redhat.com>
6629 * java/awt/image/ColorConvertOp.java
6630 (copyImage): Updated javadoc and comments.
6631 (copyRaster): Add javadoc.
6632 (createCompatibleColorModel): Add javadocs and comments.
6633 (createCompatibleDestImage): Use correct transfer type.
6634 (createCompatibleDestRaster): Add new parameter for transfer type.
6635 (filter): Use correct transfer type.
6636 * java/awt/image/ConvolveOp.java: Updated javadocs.
6637 (createCompatibleDestImage): Set new image properties correctly.
6638 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6639 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6641 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6643 * javax/swing/table/DefaultTableModel.java:
6644 (checkSize): Added null check for dataVector.
6646 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6648 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6649 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6650 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6652 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6654 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6655 (paintIcon): Removed unused import statements, lowered cast requirement
6656 from JCheckBox to AbstractButton.
6658 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6660 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6661 (initComponentDefaults): Added, changed and removed some
6662 tabbed pane properties.
6664 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6666 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6667 (createContent): Changed menu item name and tab naming.
6669 2006-09-01 Roman Kennke <kennke@aicas.com>
6672 * javax/swing/plaf/basic/BasicHTML.java
6673 (HTMLRootView.getAttributes): Overridden to return null.
6674 (HTMLRootView.getElement): Overridden to return the view's
6677 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6679 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6680 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6681 of accessing variable directly.
6682 (calculateTabAreaWidth): Dito.
6684 2006-08-31 Keith Seitz <keiths@redhat.com>
6686 * include/jvmti.h: Include jvmti_md.h.
6688 2006-08-31 Keith Seitz <keiths@redhat.com>
6690 From Martin Platter <motse@complang.tuwien.ac.at>:
6691 * Makefile.am (include_HEADERS): Include jvmti.h.
6692 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6693 (jvmtiError): Remove superfluous comma after last entry.
6694 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6695 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6696 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6697 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6699 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6700 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6701 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6704 2006-08-31 Roman Kennke <kennke@aicas.com>
6706 * javax/swing/text/BoxView.java
6707 (getWidth): Return the width with insets added, not with one
6708 added and one removed.
6709 (getHeight): Return the height with insets added, not with one
6710 added and one removed.
6711 * javax/swing/text/GlyphView.java
6712 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6713 * javax/swing/text/ParagraphView.java
6714 (Row.getAlignment): Adjust alignment with respect to
6715 the justification attribute.
6716 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6718 * javax/swing/text/html/CSS.java
6719 (getValue): Convert length values.
6720 * javax/swing/text/html/Paragraph.java
6721 (painter): New field.
6722 (paint): Implemented to delegate painting to the BoxPainter too.
6723 (setPropertiesFromAttributes): Implemented to load attributes
6725 * javax/swing/text/html/StyleSheet.java
6726 (BoxPainter.as): Removed field.
6727 (BoxPainter.leftInset): New field.
6728 (BoxPainter.bottomInset): New field.
6729 (BoxPainter.rightInset): New field.
6730 (BoxPainter.topInset): New field.
6731 (BoxPainter.BoxPainter): Implemented to load the insets from
6733 (BoxPainter.getInset): Implemented.
6734 * gnu/javax/swing/text/html/Length.java: New class.
6735 Converts CSS length units to usable values.
6737 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6739 * configure.ac: Add check for gethostbyname_r.
6740 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6741 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6742 SOCKET_NOSIGNAL according to the configure check.
6743 (cpnet_send): Use SOCKET_NOSIGNAL.
6744 (cpnet_sendTo): Likewise.
6745 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6747 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6750 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6752 2006-08-31 Roman Kennke <kennke@aicas.com>
6754 * javax/swing/JEditorPane.java
6755 (getPreferredSize): Replace preferred size with minimum
6756 UI size only if the scrollable does _not_ track the viewport
6757 size and only if the viewport's size is smaller than the
6759 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6761 * javax/swing/plaf/basic/BasicTextUI.java
6762 (getPreferredSize): Read-lock the document to avoid
6763 concurrency problems.
6764 (getMaximumSize): Return maximum size of the view.
6765 Read-lock the document to avoid concurrency problems.
6766 (getMinimumSize): Return minimum size of the view.
6767 Read-lock the document to avoid concurrency problems.
6769 2006-08-31 Gary Benson <gbenson@redhat.com>
6771 * java/net/SocketPermission.java
6772 (maybeBracketIPv6Address): Renamed to processHostport.
6773 (processHostport): Also translate "" to "localhost".
6774 (setHostPort): Remove special cases for empty hostport and for
6775 extra colons in hostport (processHostport handles these now).
6777 2006-08-31 Mark Wielaard <mark@klomp.org>
6779 * javax/swing/text/ZoneView.java (Zone): Make static class.
6780 Constructor takes axis parameter.
6781 (createZone): Create Zone with getAxis() as major axis.
6783 2006-08-30 Roman Kennke <kennke@aicas.com>
6785 * javax/swing/text/ZoneView.java
6786 (loadChildren): Implemented.
6787 (getViewIndexAtPosition): Implemented.
6788 (checkZoneAt): New helper method.
6789 (splitZone): New helper method.
6790 (getPreferredZoneEnd): New helper method.
6792 2006-08-30 Roman Kennke <kennke@aicas.com>
6794 * javax/swing/text/ZoneView.java: New class.
6796 2006-08-30 Roman Kennke <kennke@aicas.com>
6798 * javax/swing/JMenu.java
6799 (getMenu): Removed unneeded cast.
6800 (getPopupMenuOrigin): Made positioning algorithm better respect
6802 (setMenuLocation): Also set the location on the popup if it's
6804 (setModel): Use menuChangeListener so that we don't override
6805 the changeListener field from AbstractButton.
6806 (setPopupMenuVisible): Use custom location if set, otherwise
6807 fallback to getPopupMenuOrigin().
6809 2006-08-29 Roman Kennke <kennke@aicas.com>
6811 * javax/swing/text/InternationalFormatter.java
6812 (stringToValue): Fixed bounds check.
6813 * javax/swing/text/MaskFormatter.java
6814 (MaskFormatter): Don't explicitly set allosInvalid property.
6815 (convertStringToValue): New helper method.
6816 (convertValueToString): New helper method.
6817 (convertValue): Removed. Replaced by the 2 convert* methods
6819 (getPadCharAt): Removed.
6820 (isCharValid): Removed.
6822 (stringToValue): Fixed stringToValue conversion.
6823 (stripLiterals): Removed.
6824 (valueToString): Fixed valueToString conversion.
6825 * javax/swing/text/DefaultFormatter.java
6826 (DefaultFormatter): Default to commitsOnValidEdit = false.
6828 2006-08-29 Roman Kennke <kennke@aicas.com>
6830 * javax/swing/text/TextAction.java
6831 (getTextComponent): Check event for null and return null in
6833 (augmentList): Augment Actions based on their names.
6834 * javax/swing/text/DefaultEditorKit.java
6835 (BeginAction.actionPerformed): Check target for null.
6836 (BeginLineAction.actionPerformed): Check target for null.
6837 (CopyAction.actionPerformed): Check target for null.
6838 (CutAction.actionPerformed): Check target for null.
6839 (EndAction.actionPerformed): Check target for null.
6840 (EndLineAction.actionPerformed): Check target for null.
6841 (InsertBreakAction.actionPerformed): Check target for null.
6842 (InsertTabAction.actionPerformed): Check target for null.
6843 (PasteAction.actionPerformed): Check target for null.
6844 (SelectAllAction.actionPerformed): Check target for null.
6845 (SelectionBeginAction.actionPerformed): Check target for null.
6846 (SelectionBeginLineAction.actionPerformed): Check target for null.
6847 (SelectionEndAction.actionPerformed): Check target for null.
6848 (SelectionEndLineAction.actionPerformed): Check target for null.
6849 (SelectLineAction.actionPerformed): Check target for null.
6850 (SelectWordAction.actionPerformed): Check target for null.
6852 2006-08-29 Roman Kennke <kennke@aicas.com>
6854 * javax/swing/plaf/basic/BasicTextUI.java
6855 (FocusHandler): New class. This is moved from the anonymous
6856 inner focus listener class to a static member class, and
6857 is now shared between components.
6858 (DocumentHandler): This class is combined with the PropertyHandler
6859 into the Handler class.
6860 (PropertyChangeHandler): This class is combined with the
6861 DocumentHandler into the Handler class.
6862 (Handler): New class. This combines the Property and Document
6863 handler into one class.
6864 (RootView.changedUpdate): Only forward if real view != null.
6865 (RootView.insertUpdate): Only forward if real view != null.
6866 (RootView.removeUpdate): Only forward if real view != null.
6867 (documentHandler): Removed field and replaced by handler.
6868 (focuslistener): Made field static and renamed to focusListener.
6869 (handler): New field.
6870 (kit): Lazily initialize field.
6871 (rootView): Lazily initialize field.
6872 (updateHandler): Removed and replaced by handler.
6873 (getEditorKit): Lazily instantiate field.
6874 (installDefaults): Don't set margin twice. Install correct
6875 property for disabledTextColor. Moved caret and highlighter
6876 initialization to installFixedDefaults.
6877 (installFixedDefaults): New method. Installs defaults that
6878 can't be overridden by subclasses.
6879 (installListeners): Only install focus handler when new
6880 system property gnu.swing.text.no-xlike-clipboard is not set.
6881 Lazily initialize focus handler.
6882 (installUI): Lazily initialize rootView. Install handler
6883 both for property and document changes.
6884 (uninstallDefaults): Uninstall the UI defaults.
6885 (uninstallFixedDefaults): New method. Uninstalls the fixed
6887 (installListeners): Only uninstall focus handler when not null.
6888 (uninstallUI): Uninstall property and document listener here.
6890 2006-08-29 Gary Benson <gbenson@redhat.com>
6892 * java/net/SocketPermission.java
6893 (maybeBracketIPv6Address): New method.
6894 (<init>): Pass the hostport argument through the above.
6896 * java/net/NetworkInterface.java (getInetAddresses):
6897 Don't bracket IPv6 addresses.
6899 2006-08-28 Roman Kennke <kennke@aicas.com>
6901 * javax/swing/text/BoxView.java
6902 (calculateMinorAxisRequirements): Initialize max size
6903 with Integer.MAX_VALUE.
6904 * javax/swing/text/Utilities.java
6905 (getBreakLocation): For simple chars, scan the text directly.
6906 * javax/swing/text/WrappedPlainView.java
6907 (tabBase): New field.
6908 (tabSize): New field.
6909 (calculateBreakPosition): Use Utilities. Fixed for correct
6911 (changedUpdate): Update children directly.
6912 (insertUpdate): Update children directly. Notify children.
6913 (removeUpdate): Update children directly. Notify children.
6914 (updateChildren): New helper method.
6915 (nextTabStop): Fixed to return correct results.
6916 (paint): Update tabBase.
6917 (updateMetrics): Update tab size.
6919 2006-08-28 Roman Kennke <kennke@aicas.com>
6921 * javax/swing/text/Position.java
6922 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6923 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6925 2006-08-28 Roman Kennke <kennke@aicas.com>
6927 * javax/swing/text/View.java
6928 (height): Removed unneeded field.
6929 (width): Removed unneeded field.
6930 (getBreakWeight): Return GoodBreakWeight when pos is after
6932 (getToolTipText): Check view index more carefully. Avoid
6934 (insertUpdate): Only execute method body if view count > 0.
6935 When updateChildren returns false, clear the ec variable.
6936 (updateChildren): Added null checks.
6937 (viewToModel): Initialize bias array correctly.
6938 * javax/swing/text/CompositeView.java
6939 (children): Made private.
6940 (numChildren): New field.
6941 (loadChildren): Check factory for null. Don't load children
6942 when factory is null.
6943 (replace): Removed null check. Nullify removed children. Made
6944 growing the array more efficient.
6945 (getViewCount): Return numChildren rather then the real array
6947 * javax/swing/text/BoxView.java
6948 (getViewAtPoint): Fixed algorithm for finding the view.
6949 (replace): Made array growing more efficient.
6950 (replaceLayoutArray): New helper method for growing/patching
6952 (viewToModel): Make sure we have a valid layout.
6954 2006-08-28 Tania Bento <tbento@redhat.com>
6956 * java/awt/MenuShortcut.java
6957 (MenuShortcut (int, boolean)): Set keyName.
6958 (toString): Modified string output.
6959 (setKeyName): New private method.
6961 2006-08-28 Roman Kennke <kennke@aicas.com>
6963 * javax/swing/text/GapContent.java
6964 (Mark.getOffset): Made assert less strict, include boundary.
6965 (search): Made package private to avoid accessor method.
6967 2006-08-28 Roman Kennke <kennke@aicas.com>
6969 * javax/swing/text/StringContent.java
6970 (InsertUndo.positions): New field.
6971 (InsertUndo.redo): Update the undo positions.
6972 (InsertUndo.undo): Fetch the undo positions.
6973 (Mark): New class. Layer of indirection to allow Positions
6974 to be GC'ed while we still hold references to the Mark.
6975 (RemoveUndo.len): New field.
6976 (RemoveUndo.positions): New field.
6977 (RemoveUndo.RemoveUndo): Fetch undo positions.
6978 (RemoveUndo.redo): Re-fetch positions and string.
6979 (RemoveUndo.undo): Update undo positions.
6980 (StickyPosition.mark): New field.
6981 (StickyPosition.offset): Removed field.
6982 (StickyPosition.StickyPosition): Create new Mark. Register
6983 Position in queueOfDeath. Update reference count on mark.
6984 (StickyPosition.getOffset): Return offset stored in mark.
6985 (StickyPosition.setOffset): Removed unneeded method.
6986 (UndoPosRef): New class. Handles undo/redo on positions/marks.
6988 (marks): New field. Stores the marks.
6989 (positions): Removed field.
6990 (queueOfDeath): New field. Used for GCing the positions.
6991 (StringContent): Initialize queueOfDeath.
6992 (createPosition): Lazily create marks vector.
6993 (garbageCollect): New helper method. Collects positions
6994 to be GCed and updates their marks.
6995 (getChars): Fixed bounds check.
6996 (getPositionsInRange): When v == null, create new Vector,
6997 otherwise use v. Store UndoPosRefs in vector.
6998 (getString): Added comment about bug in RI.
6999 (insertString): Use new helper method for replacing the array.
7000 Correctly update positions.
7001 (length): Removed this qualifier.
7002 (remove): Use new helper method for replacing the array.
7003 Correctly update positions.
7004 (replace): New helper method for growing or patching the array.
7005 (updateUndoPositions): Implemented. Updates the positions
7006 for undo/redo operations.
7008 2006-08-27 Roman Kennke <kennke@aicas.com>
7010 * javax/swing/text/StyleContext.java
7011 (NamedStyle.attributes): Made field transient.
7012 (NamedStyle.changeEvent): Made field transient.
7013 (NamedStyle.name): Removed field. The name is stored as
7015 (NamedStyle.NamedStyle(String,Style)): Call setName() for
7016 storing the name and check for null name and resolveParent.
7017 Don't initialize changeEvent.
7018 (NamedStyle.copyAttributes): Return a new NamedStyle,
7019 rather than a plain copy of the attributes field.
7020 (NamedStyle.fireStateChange): Lazily create changeEvent
7022 (NamedStyle.getName): Fetch name from attributes.
7023 (NamedStyle.setName): Store name from attributes.
7024 (NamedStyle.readObject): Implemented for correct
7026 (NamedStyle.writeObject): Implemented for correct
7028 (NamedStyle.setResolveParent): When new parent is null,
7029 remove resolveParent attribute. Use addAttribute() method
7030 rather than StyleContext addAttribute().
7031 (NamedStyle.toString): Fixed to produce output equal to the
7033 (SmallAttributeSet.resolveParent): New field.
7034 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7035 the resolveParent field correctly.
7036 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7037 array but store it directly. Update
7038 the resolveParent field correctly.
7039 (SmallAttributeSet.clone): Return this as the object is
7041 (SmallAttributeSet.containsAttributes): Make sure that keys
7042 and values are the same.
7043 (SmallAttributeSet.containsAttribute): Make sure that keys
7044 and values are the same.
7045 (SmallAttributeSet.copyAttributes): Return this as the object is
7047 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7048 are equal if they have the same number of attributes and
7049 one contains the other.
7050 (SmallAttributeSet.getAttribute): Improved lookup of
7052 (SmallAttributeSet.getResolveParent): Improved lookup of
7054 (SmallAttributeSet.isEqual): When comparing object is a
7055 SmallAttributeSet, consider them equal only if they are the
7057 (SmallAttributeSet.toString): Fixed to produce output equal to the
7059 (attributeSetPool): New field.
7060 (defaultStyleContext): Initialize lazily.
7061 (defaultStyle): Removed field. This is stored in the style context
7063 (listenerList): Removed field. The NamedStyle stores the
7065 (readAttributeKeys): New static field. Used for looking up
7066 the serialization mappings when reading.
7067 (search): New field. Used as search key.
7068 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7069 (styles): New field. Stores the styles and listeners.
7070 (styleTable): Removed field. Replaced by styles field.
7071 (writeAttributeKeys): New static field. Used for looking up
7072 the serialization mappings when writing.
7073 (static_initializer): Register mappings for all keys in
7075 (StyleContext): Initialize styles correctly.
7076 (addAttributes): Fixed caching of immutable attributes.
7077 (addAttribute): Fixed caching of immutable attributes.
7078 (removeAttributes): Fixed caching of immutable attributes.
7079 (removeAttribute): Fixed caching of immutable attributes.
7080 (addChangeListener): Add listener to styles field.
7081 (removeChangeListener): Remove listener from styles field.
7082 (getChangeListeners): Fetch listeners from styles field.
7083 (addStyle): Add style to styles field.
7084 (cleanupPool): New method.
7085 (getDefaultStyleContext): Lazily create context.
7086 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7087 (getMutableAttributeSet): New helper method. Used for
7089 (getStaticAttribute): Fetch key from readAttributeKeys.
7090 (getStyleNames): Return names from styles field.
7091 (getStyle): Lookup style in styles field.
7092 (removeStyle): Remove style from styles field.
7093 (readAttributeSet): Fixed deserialization.
7094 (writeAttributeSet): Fixed serialization.
7095 (readObject): Fixed deserialization.
7096 (writeObject): Fixed serialization.
7097 (reclaim): Simply cleanup the pool.
7098 (registerStaticAttributeKey): Store mapping in both ways.
7099 (searchImmutableSet): New helper method for caching.
7100 (toString): Fixed for output like the RI.
7101 * javax/swing/text/StyleConstants.java
7102 (keys): New field. Stores all known keys.
7103 (StyleConstants): Store created key in keys list.
7104 * javax/swing/event/EventListenerList.java
7105 (readObject): Fixed deserialization.
7106 (writeObject): Fixed serialization.
7108 2006-08-25 Roman Kennke <kennke@aicas.com>
7110 * javax/swing/text/CompositeView.java
7111 (insets): Removed. Replaced by single short fields.
7112 (top): New field. Replaces insets.
7113 (bottom): New field. Replaces insets.
7114 (left): New field. Replaces insets.
7115 (right): New field. Replaces insets.
7116 (CompositeView): Initialize insets fields.
7117 (createDefaultLocation): Removed unneeded method.
7118 (getBottomInset): Return field directly.
7119 (getTopInset): Return field directly.
7120 (getLeftInset): Return field directly.
7121 (getRightInset): Return field directly.
7122 (getInsideAllocation): Adjusted to work on new insets fields.
7123 (getViewIndex): Fixed check.
7124 (loadChildren): Don't replace the old children.
7125 (replace): Make sure that there is an array to operate on.
7126 Only set parent to null, when it is this View.
7127 (setInsets): Adjusted to work with new insets fields.
7128 (setParagraphInsets): Fixed to pull insets directly from
7131 2006-08-25 Roman Kennke <kennke@aicas.com>
7133 * javax/swing/text/ComponentView.java
7134 (Interceptor): New inner helper class. Used to propagate
7135 invalidate requests and cache component layout sizes.
7136 (interceptor): New field.
7137 (getAlignment): Fetch alignment from interceptor container.
7138 (getComponent): Don't create component here. This is done
7140 (getMaximumSpan): Fetch layout info from interceptor. Check
7142 (getMinimumSpan): Fetch layout info from interceptor. Check
7144 (getPreferredSpan): Fetch layout info from interceptor. Check
7146 (modelToView): Fixed model to view mapping.
7147 (viewToModel): Fixed view to model mapping.
7148 (paint): Check for null. Set bounds on interceptor rather
7150 (setParentImpl): Install interceptor between component
7151 and hosting container.
7152 (setParent): Call super.setParent() immediately.
7154 2006-08-25 Roman Kennke <kennke@aicas.com>
7156 * javax/swing/text/LabelView.java
7157 (setPropertiesFromAttributes): Only set background when
7158 the corresponding attribute is actually defined, otherwise
7159 set to null, as the StyleConstants would return black.
7160 * javax/swing/text/DefaultStyledDocument.java
7161 (ElementBuffer.documentEvent): Removed obsolete field.
7162 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7163 to correctly update the element structure.
7164 (ElementBuffer.insertContentTag): Removed unused statement.
7165 (ElementBuffer.recreateAfterFracture): Removed
7166 unused obsolete method.
7167 (setCharacterAttributes): Removed unused statement.
7169 2006-08-25 Roman Kennke <kennke@aicas.com>
7171 * examples/gnu/classpath/examples/swing/Demo.java
7172 (LaterMain.run): Removed unused local variable.
7173 (Demo): Don't put desktop in scrollpane.
7174 (addChildren): Removed unused method.
7175 (mkButtonBar): Added HTML demo.
7176 (mkMenuBar): Added HTML demo.
7177 (mkPanel): Removed unused method.
7178 (mkScrollPane): Removed unused method.
7179 (mkTree): Removed unused method.
7180 (valign2str): Removed unused method.
7181 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7182 Initialize text field with some HTML that already works.
7183 (DEBUG): New field. Set to true for debugging output.
7184 (createContent): Dump element tree after parsing.
7186 2006-08-25 Roman Kennke <kennke@aicas.com>
7188 * javax/swing/text/html/CSS.java
7189 (getValue): Added color value conversion.
7190 * javax/swing/text/html/HTMLDocument.java
7191 (HTMLReader.ConvertAction): New class, converts HTML style tags
7193 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7194 * javax/swing/text/html/InlineView.java
7195 (setPropertiesFromAttributes): Implemented to fetch
7196 CSS character attributes.
7197 * javax/swing/text/html/StyleSheet.java
7198 (addCSSAttribute): Convert value.
7199 (getBackground): Implemented to fetch CSS background color
7201 (getForeground): Implemented to fetch CSS color
7203 (getFont): Adjust font size for superscript and subscript.
7204 (translateHTMLToCSS): Rudimentary implementation that
7205 copies the original attributes, so that any CSS attributes in
7206 there are preserved.
7207 (stringToColor): Use CSSColor for conversion.
7208 * gnu/javax/swing/text/html/css/CSSColor.java:
7209 New class. Converts CSS color values to RGB color values.
7210 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7211 Removed. This is more or less replaced by CSSColor and the
7212 ConvertAction in HTMLReader.
7214 2006-08-25 Roman Kennke <kennke@aicas.com>
7216 * javax/swing/text/BoxView.java
7217 (childReqs): Removed obsolete field.
7218 (baselineLayout): Reimplemented for correct baseline layout.
7219 (baselineRequirements): Reimplemented for correct baseline
7221 (updateChildRequirements): Removed obsolete method.
7222 * javax/swing/text/GlyphView.java
7223 (DefaultGlyphPainter.getSpan): Removed unused statement.
7224 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7225 specially. The subscript/superscript layout is performed
7226 via the alignment, the font is supplied by the StyleContext.
7227 (breakView): Removed unused statements.
7228 (getAlignment): Adjust alignment according to the
7229 superscript/subscript setting.
7230 (getFont): Reimplemented to fetch the font from the style
7231 context, or from the document if the stylecontext is not
7233 (getPreferredSpan): Adjust span for superscript. Use switch
7235 * javax/swing/text/LabelView.java
7236 (setPropertiesFromAttributes): Fetch background and foreground
7237 from document / style context.
7238 (isSubscript): Resync properties if needed.
7239 * javax/swing/text/ParagraphView.java
7240 (Row.calculateMinorAxisRequirements): Overridden to perform
7242 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7244 2006-08-24 Roman Kennke <kennke@aicas.com>
7246 * javax/swing/text/Utilities.java
7247 (BUF_LENGTH): Removed unused field.
7248 (drawTabbedText): Removed unneeded cast.
7249 (getBreakLocation): Removed unneeded cast.
7250 Fixed offset to account for Segments not starting at 0.
7252 2006-08-24 Roman Kennke <kennke@aicas.com>
7254 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7255 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7256 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7257 (ScrollingPane.updateUI): Likewise.
7258 (calculateTabWidth): Rewritten to correctly and efficiently
7259 layout the tab width.
7260 (layoutLabel): Call SwingUtilities method with the tabPane
7262 (paintContentBorderLeftEdge): Removed unused statement.
7263 (paintContentBorderRightEdge): Removed unused statement.
7264 (paintContentBorder): Removed unused statement.
7266 2006-08-24 Roman Kennke <kennke@aicas.com>
7268 * javax/swing/plaf/basic/BasicTextUI.java
7269 (RootView.getAttributes): Overridden to return null,
7270 as the RootView has no parent.
7272 2006-08-24 Roman Kennke <kennke@aicas.com>
7274 * javax/swing/text/html/CSSParser.java: Removed.
7275 * javax/swing/text/html/CSS.java
7276 (getValue): New helper method. Returns special converter
7277 instances for certain kinds of property values.
7278 * javax/swing/text/html/HTMLDocument.java
7279 (HTMLReader.CharacterAction.start): Don't translate tags
7280 here. Instead, store the attributes directly with the tag
7282 (content): Removed field. The Content object is handled
7283 by AbstractDocument.
7284 (styleSheet): Removed field. The styleSheet is the styleContext
7285 of this document and handled by the DefaultStyledDocument already.
7286 (HTMLDocument(Content,StyleSheet): Simply call super here.
7287 The super classes already handle the content and styleContext.
7288 (HTMLDocument()): Call this() with a default GapContent and
7290 (getStyleSheet): Return the styleContext here.
7291 (insertUpdate): New method. Overridden to add the
7292 CONTENT dummy tag to the element's attributes.
7293 (setBase): Set the base on the styleContext.
7294 * javax/swing/text/html/HTMLEditorKit.java
7295 (styleContext): Removed unneeded field.
7296 (styleSheet): Made field private.
7297 (HTMLEditorKit): Do nothing here. The StyleSheet is
7298 created lazily in getStyleSheet(). A styleContext is not
7300 (getStyleSheet): Create StyleSheet correctly.
7301 (insertHTML): Removed unneeded cast.
7302 * javax/swing/text/html/InlineView.java
7303 (attributes): New field.
7304 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7305 (getAttributes): Implemented to fetch the attributes from
7307 * javax/swing/text/html/MultiAttributeSet.java: New class.
7308 Multiplexes between several AttributeSets.
7309 * javax/swing/text/html/MultiStyle.java: New class.
7310 Multiplexes between several Styles.
7311 * javax/swing/text/html/ParagraphView.java
7312 (attributes): New field.
7313 (getAttributes): Implemented to fetch the attributes from
7315 * javax/swing/text/html/StyleSheet.java
7316 (CssParser): Removed inner class.
7317 (CSSStyle): New inner class. Represents a style defined
7319 (CSSStyleSheetParserCallback): New class, for parsing
7321 (css): New field. Stores the CSS rules.
7322 (resolvedStyles): New field. Stores resolved styles.
7323 (StyleSheet): Initialize resolvedStyles map.
7324 (addRule): Removed bogus impl.
7325 (getFont): Implemented to fetch font, based on CSS rules.
7326 (getResolvedStyle): New helper method. Looks up resolved
7327 styles, and resolves a style if necessary.
7328 (resolveStyle): New pair of helper methods. Resolves
7330 (getRule(String)): Provide rudimentary implementation.
7331 (getRule(Tag,Element)): Implemented.
7332 (getViewAttributes): Implemented.
7333 (loadRules): Implemented.
7334 (translateHTMLToCSS): Tagged as not implemented.
7335 * javax/swing/text/html/ViewAttributeSet.java: New class.
7337 2006-08-24 Roman Kennke <kennke@aicas.com>
7339 * javax/swing/text/FlowView.java:
7340 (LogicalView.getAttributes): New method. Overrides super
7341 impl to return the attributes of the FlowView instance.
7342 * javax/swing/text/LabelView.java:
7343 (setPropertiesFromAttributes): Fetch attributes from
7344 View, rather then from the Element. (In the HTML
7345 package the getAttributes() method is overridden to
7346 return different attributes). Fetch font from the StyledDocument.
7348 2006-08-24 Roman Kennke <kennke@aicas.com>
7350 * javax/swing/text/DefaultEditorKit.java:
7351 (DefaultKeyTypedAction.actionPerform): Also filter
7352 ALT and CTRL modifiers.
7354 2006-08-24 Roman Kennke <kennke@aicas.com>
7356 * gnu/javax/swing/text/html/css/FontSize.java,
7357 * gnu/javax/swing/text/html/css/FontStyle.java,
7358 * gnu/javax/swing/text/html/css/FontWeight.java:
7359 New classes. Used to convert CSS font attributes to AWT/Swing
7362 2006-08-24 Francis Kung <fkung@redhat.com>
7363 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7364 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7365 (srccs, dstcs, rasterValid): Variables removed.
7366 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7367 (copyRaster): Check for null rendering hints
7368 (createCompatibleColorModel): New private method.
7369 (createCompatibleDestImage): Re-implemented.
7370 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7371 (createCompatibleDestRaster(Raster)): Re-implemented.
7372 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7373 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7374 (getPoint2D): Clean up formatting.
7375 * java/awt/image/ComponentColorModel.java
7376 (constructor): use findBits method instead of passing null.
7377 (findBits): New method.
7379 2006-08-24 Gary Benson <gbenson@redhat.com>
7381 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7384 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7386 * java/lang/ref/Reference.java
7387 (queue, nextOnQueue): Made volatile.
7388 (enqueue): Made thread safe.
7389 * java/lang/ref/ReferenceQueue.java
7391 (poll): Removed synchronized.
7392 (enqueue): Changed to synchronize on lock object, to update Reference
7393 state and return success status.
7394 (dequeue, remove): Synchronize on lock object.
7396 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7398 * java/security/SecureClassLoader.java
7399 (protectionDomainCache): Changed to HashMap.
7400 (SecureClassLoader): Removed redundant security check.
7401 (defineClass(String,byte[],int,int,CodeSource): Moved
7402 protection domain lookup/construction to new method.
7403 (defineClass(String,ByteBuffer,CodeSource): New method.
7404 (getProtectionDomain): New method.
7406 2006-08-23 Roman Kennke <kennke@aicas.com>
7408 * javax/swing/JComponent.java
7409 (isRepainting): Made package private.
7410 (paintChild): New field.
7411 (findOpaqueParent): Removed method. This is now in
7413 (findOverlapFreeParent): Removed method. This is now
7414 in paintImmediately2().
7415 (findPaintRoot): Removed method. This is now
7416 in paintImmediately2().
7417 (isCompletelyObscured): Changed to take rectangle as single
7419 (isPaintingDoubleBuffered): Removed method. This is now
7420 in paintImmediately2().
7421 (isPartiallyObscured): New helper method.
7422 (onTop): New helper method for optimization.
7423 (paintChildren): Paint only to specific child when
7424 requested like this from paintImmediately2().
7425 (paintDoubleBuffered): Changed to take rectangle as single int
7427 (paintImmediately2): Changed to take rectangle as single int
7428 arguments. Optimized determination of paint root.
7429 (paintImmediately(Rectangle)): Change to delegate to
7430 paintImmediately(int,int,int,int).
7431 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7432 and start painting there.
7433 (paint): Call paintDoubleBuffered() with int arguments. Only
7434 paint component, when not completely occupied by opaque child.
7435 (processKeyBinding): Removed unnecessary cast.
7436 (isOccupiedByChild): New helper method.
7437 * javax/swing/RepaintManager.java
7438 (repaintUnderway): Removed obsolete field.
7439 (commitRequests): Removed obsolete field.
7440 (RepaintManager): Removed initialization of obsolete fields.
7441 (addDirtyRegion): Removed unused statement.
7442 (commitBuffer): Changed to take plain ints as argument.
7443 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7444 Compute offsets in place, rather than using SwingUtilities.
7445 (paintDirtyRegions): Removed unused field.
7446 * javax/swing/JMenuItem.java
7447 (onTop): Return true when not descendant of JInternalFrame.
7448 * javax/swing/JPopupMenu.java
7449 (onTop): Return true.
7450 * javax/swing/JToolTip.java
7451 (onTop): Return true.
7452 * javax/swing/JViewport.java
7453 (paintImmediately2): Change signature to match the
7454 corresponding JComponent method.
7456 2006-08-23 Tania Bento <tbento@redhat.com>
7458 * java/awt/Color.java
7459 (brighter): Modified algorithm to correctly determine the
7460 new brighter colour.
7462 2006-08-23 Roman Kennke <kennke@aicas.com>
7464 * java/awt/Container.java
7465 (maxSize): Removed field. This is already declared in Component.
7466 (validateTree): Check for ContainerPeer. Don't addNotify here.
7467 Only validate Component instances if they are invalid.
7469 2006-08-22 Roman Kennke <kennke@aicas.com>
7471 * javax/swing/JComponent.java
7472 (preferredSize): Removed field.
7473 (maximumSize): Removed field.
7474 (minimumSize): Removed field.
7475 (getMaximumSize): Adjusted to delegate to Component, rather
7476 then managing the size in JComponent.
7477 (getMinimumSize): Adjusted to delegate to Component, rather
7478 then managing the size in JComponent.
7479 (getPreferredSize): Adjusted to delegate to Component, rather
7480 then managing the size in JComponent.
7481 (isMaximumSizeSet): Removed.
7482 (isMinimumSizeSet): Removed.
7483 (isPreferredSizeSet): Removed.
7484 (setMaximumSize): Removed.
7485 (setMinimumSize): Removed
7486 (setPreferredSize): Removed.
7488 2006-08-22 Roman Kennke <kennke@aicas.com>
7490 * javax/swing/AbstractButton.java
7491 (ButtonChangeListener.stateChanged): Delegate to combined
7493 (EventHandler): New inner class. Handles all three types
7494 of events on the model.
7495 (eventHandler): New field. Stores the combined event
7497 (AbstractButton): Moved listener initialization to
7499 (createActionListener): Return combined handler.
7500 (createChangeListener): Return combined handler.
7501 (createItemListener): Return combined handler.
7502 (getEventHandler): New helper method for creating the combined
7504 (setModel): Initialize listeners here.
7505 * javax/swing/plaf/basic/BasicButtonListener.java
7506 (ButtonAction): New class. Implements the keyboard action
7508 (checkOpacity): Implemented.
7509 (createDefaultActionMap): New helper method.
7510 (installKeyboardActions): Rewritten to install InputMap
7511 and ActionMap according to 'new' keyboard input method.
7512 (mouseClicked): Commented as no-op.
7513 (mouseDragged): Commented as no-op.
7514 (mouseMoved): Commented as no-op.
7515 (propertyChange): Check for contentAreaFilled change and
7516 update opacity. Pull handling of HTLM in font and text handler.
7517 (stateChanged): Repaint button.
7518 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7519 * javax/swing/plaf/basic/BasicButtonUI.java
7520 (listener): Removed.
7521 (sharedListener): New static field. Stores the shared listener.
7522 (sharedUI): New static field. Stores the shared UI.
7523 (createButtonListener): Return shared instance here.
7524 (createUI): Return shared instance here.
7525 (getButtonListener): New helper method. Looks for the
7526 BasicButtonListener installed on a button and returns it.
7527 (installDefaults): Correctly install rollover property here.
7528 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7529 (installKeyboardActions): Fetch listener with new helper method.
7530 (installListeners): Don't use removed field. Check for null.
7531 (installUI): Added comment about order of method invocations.
7532 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7533 (uninstallKeyboardActions): Fetch listener with new helper method.
7534 (uninstallListeners): Fetch listener with new helper method.
7535 (paintIcon): Paint icon offset when pressed and armed.
7536 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7537 * javax/swing/plaf/metal/MetalButtonUI.java
7538 (sharedUI): New field. Stores the shared UI.
7539 (MetalButtonUI): Don't initialize fields here.
7540 (createButtonListener): Removed method. Use super impl.
7541 (createUI): Return shared instance.
7542 (getDisabledTextColor): Update field here.
7543 (getFocusColor): Update field here.
7544 (getSelectColor): Update field here.
7545 (installDefaults): Don't handle rollover property here.
7546 (uninstallDefaults): Don't handle rollover property here.
7547 (paintButtonPressed): Use accessor method to update the
7550 2006-08-21 Mark Wielaard <mark@klomp.org>
7552 Merge NATIVE_LAYER branch.
7554 2006-08-20 Mark Wielaard <mark@klomp.org>
7556 * doc/tools.texinfo: Add file from trunk.
7557 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7558 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7560 * native/jni/java-lang/java_lang_VMProcess.c
7561 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7562 * native/jni/java-net/java_net_VMInetAddress.c
7563 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7564 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7566 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7568 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7570 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7572 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7574 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7576 * include/java_lang_VMProcess.h: Regenerated.
7578 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7580 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7581 (nativeReceive): Fixed the type of the arrays (use java types).
7582 (nativeSendTo): Force throwing an exception if port is 0.
7584 * native/jni/java-net/javanet.c:
7585 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7587 (_javanet_recvfrom): Likewise.
7588 (_javanet_sendto): Throw a NullPointerException if the socket is
7589 not connected and no address is given.
7591 * native/jni/java-net/javanet.h
7592 (NULL_EXCEPTION): Defined.
7594 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7596 * native/jni/java-net/java_net_VMInetAddress.c
7597 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7600 * native/jni/java-net/javanet.c
7601 (_javanet_accept): Fixed bogus call to TARGET.
7602 (_javanet_create_inetaddress): Fixed address generation. Fixed
7604 (_javanet_bind): set "Reuse address" flag.
7606 * native/jni/native-lib/cpio.c
7607 (cpio_getModificationTime): Fixed type.
7608 (cpio_removeFile): Use rmdir too.
7610 * native/jni/native-lib/cpnet.c
7611 (cpnet_getHostByName): Fixed error detection.
7613 * native/jni/native-lib/cpnet.h
7614 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7616 (cpnet_IPV4AddressToBytes): Fixed types.
7618 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7620 * native/jni/native-lib/cpio.c
7621 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7623 * native/jni/native-lib/cpnet.h:
7624 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7625 messed by signs in jbyte.
7627 * native/jni/native-lib/cpproc.h
7628 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7630 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7632 * native/jni/native-lib/cpnet.c
7633 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7634 (waitForWritable, waitForReadable): New functions.
7635 (socketTimeouts): New static global table to hold timeouts for all
7637 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7638 Added waitForXXXX safeguards to handle socket timeouts.
7640 * native/jni/java-net/javanet.c
7641 (_javanet_accept): Check for the right error value when a timeout
7644 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7646 * native/jni/java-io/Makefile.am,
7647 native/jni/java-lang/Makefile.am,
7648 native/jni/java-net/Makefile.am,
7649 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7651 * native/jni/native-lib/Makefile.am: Added cpproc.c
7653 * native/jni/native-lib/cpio.c: Implemented missing functions for
7656 * native/jni/native-lib/cpnet.c
7657 (cpnet_getHostByName): Fixed address array initialization.
7659 * native/jni/native-lib/cpproc.c: Implemented.
7661 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7663 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7665 * m4/gcc_attribute.m4: New file from ac_archive.
7667 * native/jni/java-net/javanet.c: Adapted to cpnet API
7670 * native/jni/native-lib/cpnet.c: Implemented.
7672 * native/jni/native-lib/cpnet.h
7673 (cpnet_openSocketDatagram,
7674 cpnet_openSocketStream): These calls need an address family now.
7675 (cpnet_IPV4AddressToBytes,
7676 cpnet_bytesToIPV4Address): Convert the address to network order.
7678 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7680 * native/jni/java-io/java_io_VMFile.c,
7681 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7682 native/jni/midi-dssi/dssi_data.h,
7683 native/jni/native-lib/cpio.c,
7684 native/jni/native-lib/cpmath.h: Removed cpmath
7685 dependency. Fixed coding style.
7687 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7689 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7690 dependency. Simplified the JNI code by moving some part into the
7693 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7695 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7697 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7698 errors. Removed any remaining TARGET invocations.
7700 * native/jni/java-net/javanet.c
7701 (_javanet_create_inetaddress): Removed spurious arr and
7702 octets. Fixed compilation errors.
7704 * native/jni/native-lib/cpnet.h
7705 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7706 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7707 cpnet_isIPV4Address): New functions.
7708 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7711 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7713 * native/jni/java-io/java_io_VMFile.c,
7714 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7715 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7716 native/jni/java-net/javanet.c,
7717 native/jni/java-net/javanet.h: Adapted the VM layer code
7718 to the new native layer.
7720 * native/jni/native-lib/cpnet.h
7721 (cpnet_addMembership,
7722 cpnet_dropMembership,
7723 cpnet_getAvailableBytes): Added the declarations of
7725 (cpnet_newIPV6Address,
7726 cpnet_IPV6AddressToBytes,
7727 cpnet_bytesToIPV6Address): Implemented.
7728 (cpnet_newIPV4Address): Initialize the sin_family field.
7730 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7732 * native/target: Removed.
7734 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7735 Makefile generation.
7737 * native/jni/native-lib/Makefile.am,
7738 native/jni/native-lib/cpnet.h,
7739 native/jni/native-lib/cpnet.c
7740 native/jni/native-lib/cpio.h,
7741 native/jni/native-lib/cpio.c,
7742 native/jni/native-lib/cpmath.h: Imported new native compatibility
7745 2006-08-21 Roman Kennke <kennke@aicas.com>
7747 * gnu/javax/swing/text/html/css/CSSParser.java:
7749 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7751 * gnu/javax/swing/text/html/css/CSSParserException.java:
7753 * gnu/javax/swing/text/html/css/CSSScanner.java:
7754 Adjusted API comments. Made all constants package private.
7755 (EOF): New constant field.
7756 (parseBuffer): Made package private.
7757 (tokenEnd): Made package private.
7758 (CSSScanner): Initialize lookahead buffer with -1.
7759 (main): Print out to System.out rather then System.err.
7760 (nextToken): Push back character after IDENT.
7762 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7764 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7766 2006-08-21 Roman Kennke <kennke@aicas.com>
7768 * gnu/javax/swing/text/html/css/CSSScanner.java
7769 (main): Use buffered input stream.
7770 (nextToken): Removed 65536 workaround. Use int value directly
7771 without cast to char.
7772 (readComment): Use int value directly without cast to char.
7773 Cast to char only when putting the character into the buffer.
7774 (readEscape): Likewise.
7775 (readIdent): Likewise.
7776 (readName): Likewise.
7777 (readNum): Likewise.
7778 (readString): Likewise.
7779 (readWhitespace): Likewise.
7781 2006-08-21 Ingo Proetel <proetel@aicas.com>
7783 * java/io/InputStreamReader.java
7784 (bytesCache): New field.
7785 (cacheLock): New field.
7786 (read(byte[],int,int): Avoid allocations of new byte
7787 array on every call and reuse cached byte array if possible.
7789 2006-08-21 Roman Kennke <kennke@aicas.com>
7791 * gnu/java/net/local/LocalSocketImpl.java
7792 Only load native lib if this is supported by runtime.
7793 * native/jni/java-net/local.c
7794 Include config.h unconditionally.
7795 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7796 Include config.h unconditionally.
7798 2006-08-21 Friedjof Siebert <siebert@aicas.com>
7800 * java/io/ObjectInputStream.java
7801 (objectLookupTable): Changed to be a Vector.
7802 (ObjectInputStream): Initialize objectLookupTable as Vector.
7803 (assignNewHandle): Store Object using handle index rather than
7804 Hashtable, using the new rememberHandle() method.
7805 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7806 with a caching in ObjectStreamClass.
7807 (inputGetObjectStreamClass): Replaced by hierarchy().
7808 (lookupHandle): New method. Looks up an object by it's handle
7810 (parseContent): Avoid creating of Integer objects. Use
7811 hierarchy() method for looking up the class hierarchy.
7812 (processResolution): Use rememberHandle() to store
7813 handle per index, rather than Hashtabling the object.
7815 (rememberHandle): New method.
7816 * java/io/ObjectOutputStream.java
7817 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7818 Hashtable for improved lookup performance.
7819 (ObjectOutputStream): Initialize OIDLookupTable as
7820 ObjectIdentityMap2Int.
7821 (assignNewHandle): Change to use ObjectIdentityMap2Int.
7822 (findHandle): Change to use ObjectIdentityMap2Int.
7823 (getBooleanField): Removed.
7824 (getByteField): Removed.
7825 (getCharField): Removed.
7826 (getDoubleField): Removed.
7827 (getField): Removed.
7828 (getFloatField): Removed.
7829 (getIntField): Removed.
7830 (getLongField): Removed.
7831 (getObjectField): Removed.
7832 (writeFields(Object,ObjectStreamClass)): Use new helper method.
7833 (writeFields(Object,ObjectStreamField)): New helper method.
7834 Use switch rather then if-else cascade.
7835 (writeObject): Use int handle, rather then Integer.
7836 * java/io/ObjectStreamClass.java
7837 (hierarchy): New field. Caches the class hierarchy.
7838 (methodCache): New field. Caches methods.
7839 (readObjectSignature): New field. Stores the read signature.
7840 (uidCache): New field. Caches UIDs.
7841 (writeObjectSignature): New field. Stores the write signature.
7842 (cacheMethods): Cache methods in methodCache.
7843 (calculateClassID): Outsourced from getClassUID()
7844 for computing the UIDs.
7845 (getClassUIDFromField): Outsourced from getClassUID() for
7846 fetching the UID from the class field.
7847 (getClassUID): Use cached uid if possible. Use new helper
7848 methods for fetching the UID from the field or computing
7850 (getObjectStreamClasses): Removed. Replaced by more
7851 efficient hierarchy() method, that also caches the result.
7852 (hierarchy): Replaces getObjectStreamClasses() for caching
7854 (loadedByBootOrApplicationClassLoader): New helper method.
7855 (setClass): Invalidate hierarchy cache.
7856 (setSuperclass): Invalidate hierarchy cache.
7857 * java/io/ObjectStreamField.java
7858 (field): Made field package private for access from other
7860 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7861 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7862 hashtable for mapping objects to ints.
7864 2006-08-21 Roman Kennke <kennke@aicas.com>
7867 (getAbsolutePath): Fetch absolute path from
7868 VMFile.getAbsolutePath(). Moved actual impl to there.
7869 (isAbsolute): Let VMFile determine the absoluteness.
7870 (toURL): Let VMFile convert the filename.
7871 * vm/reference/java/io/VMFile.java
7872 (getAbsolutePath): New method.
7873 (isAbsolute): New method.
7874 (toURL): New method.
7876 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7878 * NEWS: Added note about updated VM interface.
7880 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7882 * java/lang/management/ManagementFactory.java:
7883 Updated documentation.
7885 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
7888 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7890 * gnu/java/util/regex/CharIndexedCharSequence.java,
7891 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7893 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7894 (match): call the new method setHitEnd of the input,
7895 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7896 Some optimization commented out, Use CharIndexed#move1 instead of move.
7897 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7898 * gnu/java/util/regex/REToken.java(match): The method body has been
7899 moved to an internal private method, (matchFake): New method,
7900 (setHitEnd): New method.
7901 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7902 if the match is not complete, (matchOneString): Count the number of
7903 characters which matched the pattern.
7904 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7905 (setFake): New method, (match): Call super.match or super.matchFake.
7906 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7907 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7908 setHitEnd of the input,
7909 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7910 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7911 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7913 2006-08-18 Tom Tromey <tromey@redhat.com>
7915 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7916 the 'int', not the cast char.
7918 2006-08-18 Roger Sayle <roger@eyesopen.com>
7920 * scripts/check_jni_methods.sh: Don't use the "set -C" command
7921 which isn't available in all shells.
7923 2006-08-18 Roger Sayle <roger@eyesopen.com>
7925 * lib/Makefile.am (resources): Fix some shell portability issues.
7927 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7929 * configure.ac (tool-wrappers): Check for ltdl support when tool
7930 wrapper binaries are enabled.
7931 * tools/Makefile.am (LIBJVM): Remove variable.
7932 (AM_CPPFLAGS): Add LIBJVM define.
7933 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7934 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7935 gjavah_LDFLAGS): Remove variables.
7936 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7938 2006-08-18 Tom Tromey <tromey@redhat.com>
7940 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7942 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7944 (readEntries): Likewise.
7946 2006-08-17 Roman Kennke <kennke@aicas.com>
7948 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7949 (layoutLabel): Reset the text and icon rectangles.
7951 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7954 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7955 Transform gappletviewer name using program_transform_name.
7957 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7959 * javax/swing/filechooser/FileSystemView.java
7960 (getFileSystemView): Always return UnixFileSystemView, since
7961 that's the only one we got. Marked with NotImplementedException.
7962 * javax/swing/plaf/basic/BasicFileChooserUI.java
7963 (mouseClicked, installUI): Don't parse path by hand.
7965 2006-08-17 Roman Kennke <kennke@aicas.com>
7967 * javax/swing/JComponent.java
7968 (scrollRectToVisible): Handle intermediate non-JComponents
7971 2006-08-17 Roman Kennke <kennke@aicas.com>
7973 * javax/swing/RepaintManager.java
7974 (blitBuffer): Removed. This is now done in commitBuffer().
7975 (commitBuffer): Always paint on the root window or applet.
7976 No need to look for intermediate heavyweights. Optimized
7977 rectangle translation.
7978 (commitRemainingBuffers): Removed. Not needed anymore.
7979 (getHeavyweightParent): Removed. Not needed anymore.
7980 (getOffscreenBuffer): Fetch offscreen image from the
7981 actual root component.
7982 (paintDirtyRegions): Don't call commitRemainingBuffers().
7984 2006-08-17 Roman Kennke <kennke@aicas.com>
7986 * javax/swing/SwingUtilities.java
7987 (clipString): New helper method for trimming strings.
7988 (layoutCompoundLabelImpl): Fixed algorithm to conform
7989 testsuites. Trim text if it's too long. Avoid creating
7990 new Rectangles. Optimized for performance.
7991 (layoutCompoundLabel): Use switch rather then if-else-chain.
7992 * javax/swing/plaf/basic/BasicButtonUI.java
7996 (paint): Reset and use cached rectangles. Only call paintIcon()
7997 if icon is not null. Don't call paintButtonPressed() when
7998 button is selected, only when it is both armed and pressed.
7999 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8000 (getPreferredButtonSize): Reused cached rectangles rather
8001 then creating new ones. Don't create new Rectangle via
8003 * javax/swing/plaf/basic/BasicLabelUI.java
8004 (getPreferredSize): Correctly reset cached rectangles. Especially
8005 the view rect must have a big size to give it room for layouting.
8006 Short cut layout when text == null.
8007 (paint): Correctly reset cached rectangles.
8008 * javax/swing/plaf/basic/BasicMenuItemUI.java
8009 (resetRectangles): New helper method.
8010 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8011 (paintMenuItem): Correctly reset the cached rectangles.
8012 * javax/swing/plaf/basic/BasicRadioButtonUI.java
8013 (getPreferredSize): Use cached Rectangle objects and initialize
8015 (paint): Use cached Rectangle objects and initialize
8018 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
8020 * java/util/Calendar.java: API doc additions.
8022 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8024 * javax/swing/DefaultButtonModel.java:
8025 (setRollover): Simplified statement.
8027 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
8029 * gnu/java/rmi/server/RMIClassLoaderImpl.java
8030 (loadClass): Rewritten to use getClassLoader.
8031 (loadProxyClass): Implemented.
8032 (getClassLoader): Fixed support for null or empty codebase.
8033 * gnu/java/rmi/server/RMIObjectInputStream.java
8034 (resolveClass): Use user class loader as default class loader.
8035 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8036 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8037 (loadClass): Simplified and use user class loader instead of
8038 context class loader as default.
8039 * java/io/ObjectInputStream.java
8040 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8041 * vm/reference/gnu/classpath/VMStackWalker.java
8042 (firstNonNullClassLoader): New method.
8043 * vm/reference/java/io/VMObjectInputStream.java
8044 (loaderAction, currentClassLoader): Removed.
8046 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8048 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8049 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8050 by current scroll offset, added method documention.
8051 (getTabBounds(int, Rectangle)): Added method documentation.
8052 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8053 (paintContentBorderLeftEdge): Changed y to 1.
8055 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
8057 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8058 (MouseHandler.mouseReleased): Implemented.
8059 (MouseHandler.mousePressed): Added delegation to tabbed pane.
8060 (MouseHandler.mouseEntered): Dito.
8061 (MouseHandler.mouseExited): Dito.
8062 (MouseHandler.mouseMoved): Dito.
8063 (MouseHandler.redispatchEvent): New method.
8064 (PropertyChangeHandler.propertyChange): Added extra block level,
8065 added code to handle tab placement changes, added comment.
8066 (updateViewPosition): Set unneeded coordinate to 0, added comment.
8068 2006-08-16 Roman Kennke <kennke@aicas.com>
8070 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8071 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8074 2006-08-16 Mark Wielaard <mark@klomp.org>
8076 * java/awt/Component.java (orientation): Renamed to
8077 componentOrientation.
8078 (setComponentOrientation): Use new field name.
8079 (getComponentOrientation): Likewise.
8081 2006-08-16 Roman Kennke <kennke@aicas.com>
8084 * javax/swing/plaf/basic/BasicTreeUI.java
8085 (CellEditorHandler.editingCancelled): Call completeEditing
8087 (CellEditorHandler.editingStopped): Call completeEditing
8089 (NodeDimensionHandler.getNodeDimensions): Rewritten
8090 to use the preferred sizes of the renderer and editor.
8091 (TreeExpansionHandler.treeCollapsed): Complete editing
8093 (TreeSelectionHandler.valueChanged): Complete editing
8095 (cancelEditing): Call completeEditing with false, false and
8096 false. Don't call finish (removed method).
8097 (completeEditing(boolean,boolean,boolean): Only do something when
8098 stopEditingInCompleteEditing is true. Nullify editingComponent
8099 and editingPath. Remove editingComponent from tree. Update
8100 the layout when necessary and repaint.
8101 (completeEditing): Stop editing when necessary.
8102 (editorRequestFocus): New helper method. Request focus
8103 on the actual editor.
8104 (finish) Removed. This is now done in completeEditing().
8105 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8106 (setLargeModel): Complete editing here.
8107 (setRootVisible): Complete editing here.
8108 (setRowHeight): Complete editing here.
8109 (setSelectionModel): Complete editing here.
8110 (startEditing): Correctly initialize and start editing.
8111 (updateExpandedDescendants): Complete editing here.
8112 * javax/swing/tree/DefaultTreeCellEditor.java
8113 (DefaultTextField): Fetch size from super and use renderer's height
8115 (EditorContainer.EditorContainer): Set layout to null, just
8117 (EditorContainer.doLayout): Layout so that the editor
8118 is offset to the right of the icon.
8119 (EditorContainer.getPreferredSize): Implemented to
8120 provide a reasonable preferred size.
8121 (EditorContainer.paint): Position icon in the middle.
8122 Also paint border if appropriate.
8123 (EditorContainer.setBounds): Removed.
8124 (RealEditorListener): Removed.
8125 (DefaultTreeCellEditor): Set correct border.
8126 (cancelCellEditing): Message real editor. Call finish().
8127 (createCellEditor): Don't add listener.
8128 (determineOffset): Correctly determine offset, and update
8130 (finish): New helper method.
8131 (getTreeCellEditorComponent): Set correct font. Call
8132 prepareForEditing() and determineOffset() to correctly initialize
8134 (stopCellEditing): Messsage realEditor to stop editing. Call
8136 (stopEditingTimer): Removed.
8137 (valueChanged): Correctly reset lastPath.
8138 * javax/swing/tree/DefaultTreeCellRenderer.java
8139 (getPreferredSize): Return super plus some extra space for
8142 2006-08-16 Roman Kennke <kennke@aicas.com>
8144 * javax/swing/plaf/metal/MetalTreeUI.java
8145 (LineStyleListener): New property listener, that updates
8146 the line style setting if the corresponding property
8148 (lineStyleListener): New field.
8149 (lineStyle): New field.
8150 (LINE_STYLE_ANGLED): New constant field.
8151 (LINE_STYLE_HORIZONTAL): New constant field.
8152 (LINE_STYLE_NONE): New constant field.
8153 (LINE_STYLE_VALUE_ANGLED): New constant field.
8154 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8155 (LINE_STYLE_VALUE_NONE): New constant field.
8156 (LINE_STYLE_PROPERTY): New constant field.
8157 (decodeLineStyle): Implemented.
8158 (installUI): Install line style listener. Set initial
8160 (uninstallUI): Uninstall line style listener.
8161 (paintHorizontalPartOfLeg): Only call super for angled
8163 (paintVerticalPartOfLeg): Only call super for angled
8165 (paintHorizontalSeparators): Implemented.
8166 (paint): If lineStyle==HORIZONTAL, call
8167 paintHorizontalSeparators().
8168 * examples/gnu/classpath/examples/swing/TreeDemo.java
8169 (createContent): Add panel for selecting line styles.
8171 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8173 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8174 (createContent): Rewritten.
8175 (createPlacementChangingMenuItem): New method.
8176 (createLayoutPolicyChangingMenuItem): New method.
8177 (createTabbedPane): New method.
8178 (createTabContent): New method.
8180 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8182 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8183 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8184 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8186 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8188 * javax/swing/text/WrappedPlainView.java:
8189 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8190 (calculateBreakPosition): Add p0 to return value.
8192 2006-08-15 Roman Kennke <kennke@aicas.com>
8194 * javax/swing/plaf/basic/BasicTreeUI.java
8195 (MouseHandler.selectedOnPress): New field.
8196 (MouseHandler.handleEvent): New helper method for handling
8197 selection and start/stop editing for mouse events.
8198 (MouseHandler.mouseDragged): Commented as no-op method.
8199 (MouseHandler.mouseMoved): Commented as no-op method.
8200 (MouseHandler.mousePressed): Use handleEvent() to handle
8201 selection and editing handling.
8202 (MouseHandler.mouseReleased): Use handleEvent() to handle
8203 selection and editing handling.
8204 (MouseInputHandler.MouseInputHandler): Register itself
8205 as mouse listener on source. Redispatch event to
8207 (MouseInputHandler.dispatch): New helper method.
8208 (MouseInputHandler.mouseClicked): Dispatch event.
8209 (MouseInputHandler.mouseDragged): Dispatch event.
8210 (MouseInputHandler.mouseEntered): Stop dispatching
8211 if dragging stopped.
8212 (MouseInputHandler.mouseExited): Stop dispatching
8213 if dragging stopped.
8214 (MouseInputHandler.mouseMoved): Stop dispatching.
8215 (MouseInputHandler.mousePressed): Marked as no-op.
8216 (MouseInputHandler.mouseReleased): Dispatch and stop
8217 dispatching afterwards.
8218 (MouseInputHandler.removeFromSource): Implemented.
8219 (PropertyChangeHandler.propertyChange): Also handle
8220 editable property changes by calling setEditable().
8221 (SelectionModelPropertyChangeHandler.propertyChange):
8222 Reset row selection.
8223 (startEditTimer): Removed.
8224 (setCellEditor): Call updateEditor().
8225 (setEditable): Call updateEditor().
8226 (startEditingAtPath): Make path fully visible before starting
8228 (startEditing): Maybe cancel previous edit session. Add
8229 editing component itself, not its parent container.
8230 Register MouseInputHandler for correctly redispatching
8232 (stopEditing): Message cellEditor and only completeEditing()
8233 when approved by cell editor.
8234 (updateCellEditor): Complete editing before updating
8235 the cell editor. Get cell editor from JTree if possible,
8236 otherwise create default editor. Update the listeners
8238 * javax/swing/tree/DefaultTreeCellEditor.java
8239 (CLICK_COUNT_TO_START): Removed.
8240 (DefaultTreeCellEditor): Install correct border. Let setTree()
8241 update the listeners. Don't initialize lastPath and font yet.
8242 (actionPerformed): Implemented to start editing.
8243 (createTreeCellEditor): Set click count to start to 1, rather than
8245 (isCellEditable): Prepare editor here. Determine if we can
8246 start immediately, or if we trigger a timer to do so.
8247 (prepareForEditing): Don't removeAll() (not necessary),
8248 check editingComponent to be non-null.
8249 (setTree): Update listeners.
8250 (shouldStartEditingTimer): Check for left mouse button.
8251 (startEditingTimer): Lazily create timer.
8253 2006-08-15 Lillian Angel <langel@redhat.com>
8255 * java/awt/dnd/DropTargetDragEvent.java
8256 (getTransferable): Implemented.
8258 2006-08-15 Roman Kennke <kennke@aicas.com>
8260 * java/util/Vector.java
8261 (removeAll): Added comment about NPE.
8262 (retainAll): Added comment about NPE.
8264 2006-08-15 Roman Kennke <kennke@aicas.com>
8266 * java/util/zip/ZipFile.java
8267 (UTF8DECODER): Removed.
8268 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8269 (utf8Decoder): New instance field.
8270 (decodeChars): Lazily create UTF8 decoder. Use instance
8271 field rather than a static field to avoid corruption.
8273 2006-08-15 Roman Kennke <kennke@aicas.com>
8275 * java/io/PrintStream.java
8276 (line_separator): Provide default for system property.
8277 * java/io/FileDescriptor.java
8278 (valid): Create local copy of channel field for better
8281 2006-08-15 Ingo Proetel <proetel@aicas.com>
8283 * java/util/zip/ZipFile.java
8284 (PartialInputStream.UTF8DECODER): New constant field, used
8285 for decoding UTF8 strings.
8286 (readLeShort): Access buffer directly if it has enough bytes
8288 (readLeInt): Access buffer directly if it has enough bytes
8290 (decodeChars): New helper method for decoding UTF8 strings.
8291 (readString): Avoid NIO charset decoder if possible.
8293 2006-08-15 Roman Kennke <kennke@aicas.com>
8295 * java/util/Vector.java
8296 (removeAll): Don't explicitly null-check here. The RI allows
8297 null arguments when Vector is empty. In other cases we
8298 implicitly throw an NPE.
8299 (retainAll): Don't explicitly null-check here. The RI allows
8300 null arguments when Vector is empty. In other cases we
8301 implicitly throw an NPE.
8303 2006-08-14 Casey Marshall <csm@gnu.org>
8305 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8306 of changes made on this branch.
8308 * gnu/classpath/debug/Component.java
8309 * gnu/classpath/debug/SystemLogger.java
8310 * gnu/java/security/action/GetPropertyAction.java
8311 * gnu/java/security/action/GetSecurityPropertyAction.java
8312 * gnu/javax/crypto/RSACipherImpl.java
8313 * gnu/javax/net/ssl/PrivateCredentials.java
8314 * gnu/javax/net/ssl/provider/Alert.java
8315 * gnu/javax/net/ssl/provider/AlertException.java
8316 * gnu/javax/net/ssl/provider/Certificate.java
8317 * gnu/javax/net/ssl/provider/CertificateRequest.java
8318 * gnu/javax/net/ssl/provider/CertificateType.java
8319 * gnu/javax/net/ssl/provider/CertificateVerify.java
8320 * gnu/javax/net/ssl/provider/CipherSuite.java
8321 * gnu/javax/net/ssl/provider/ClientHello.java
8322 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8323 * gnu/javax/net/ssl/provider/CompressionMethod.java
8324 * gnu/javax/net/ssl/provider/Constructed.java
8325 * gnu/javax/net/ssl/provider/ContentType.java
8326 * gnu/javax/net/ssl/provider/DiffieHellman.java
8327 * gnu/javax/net/ssl/provider/Extension.java
8328 * gnu/javax/net/ssl/provider/Finished.java
8329 * gnu/javax/net/ssl/provider/Handshake.java
8330 * gnu/javax/net/ssl/provider/Jessie.java
8331 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8332 * gnu/javax/net/ssl/provider/Random.java
8333 * gnu/javax/net/ssl/provider/ServerHello.java
8334 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8335 * gnu/javax/net/ssl/provider/Signature.java
8336 * gnu/javax/net/ssl/provider/Util.java
8337 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8338 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8339 * java/security/MessageDigest.java
8340 * java/security/MessageDigestSpi.java
8341 * java/security/Signature.java
8342 * java/security/SignatureSpi.java
8343 * javax/crypto/Mac.java
8344 * javax/crypto/MacSpi.java
8345 * javax/net/ssl/HandshakeCompletedEvent.java
8346 * javax/net/ssl/HttpsURLConnection.java
8347 * javax/net/ssl/SSLContext.java
8348 * javax/net/ssl/SSLContextSpi.java
8349 * javax/net/ssl/SSLSession.java
8351 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8352 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8353 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8354 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8355 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8356 * gnu/javax/net/ssl/provider/ServerDHParams.java
8357 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8358 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8359 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8360 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8361 * gnu/javax/net/ssl/provider/ServerNameList.java
8362 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8363 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8364 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8365 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8366 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8367 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8368 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8369 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8370 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8371 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8372 * gnu/javax/net/ssl/provider/Record.java
8373 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8374 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8375 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8376 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8377 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8378 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8379 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8380 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8381 * gnu/javax/net/ssl/provider/ExtensionList.java
8382 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8383 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8384 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8385 * gnu/javax/net/ssl/provider/ServerHandshake.java
8386 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8387 * gnu/javax/net/ssl/provider/SessionImpl.java
8388 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8389 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8390 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8391 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8392 * gnu/javax/net/ssl/provider/HelloRequest.java
8393 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8394 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8395 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8396 * gnu/javax/net/ssl/provider/ClientHandshake.java
8397 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8398 * gnu/javax/net/ssl/provider/CertificateURL.java
8399 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8400 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8401 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8402 * gnu/javax/net/ssl/provider/Builder.java
8403 * gnu/javax/net/ssl/provider/Debug.java
8404 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8405 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8406 * gnu/javax/net/ssl/provider/DelegatedTask.java
8407 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8408 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8409 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8410 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8411 * javax/net/ssl/SSLEngine.java
8412 * javax/net/ssl/CertPathTrustManagerParameters.java
8413 * javax/net/ssl/KeyStoreBuilderParameters.java
8414 * javax/net/ssl/X509ExtendedKeyManager.java
8415 * javax/net/ssl/SSLEngineResult.java
8416 * gnu/javax/net/ssl/PreSharedKeyManager.java
8417 * gnu/javax/net/ssl/Session.java
8418 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8419 * gnu/javax/net/ssl/SSLCipherSuite.java
8420 * gnu/javax/net/ssl/AbstractSessionContext.java
8421 * gnu/javax/net/ssl/SessionStoreException.java
8422 * gnu/javax/net/ssl/SSLRecordHandler.java
8423 * gnu/javax/net/ssl/SSLProtocolVersion.java
8424 * gnu/javax/crypto/key/GnuPBEKey.java
8425 * gnu/java/security/util/ByteBufferOutputStream.java
8426 * gnu/java/security/Requires.java
8427 * gnu/javax/security/auth/callback/CertificateCallback.java
8429 * gnu/javax/net/ssl/provider/Context.java
8430 * gnu/javax/net/ssl/provider/DigestInputStream.java
8431 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8432 * gnu/javax/net/ssl/provider/Enumerated.java
8433 * gnu/javax/net/ssl/provider/Extensions.java
8434 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8435 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8436 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8437 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8438 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8439 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8440 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8441 * gnu/javax/net/ssl/provider/KeyPool.java
8442 * gnu/javax/net/ssl/provider/OverflowException.java
8443 * gnu/javax/net/ssl/provider/RecordInput.java
8444 * gnu/javax/net/ssl/provider/RecordInputStream.java
8445 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8446 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8447 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8448 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8449 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8450 * gnu/javax/net/ssl/provider/SSLSocket.java
8451 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8452 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8453 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8454 * gnu/javax/net/ssl/provider/SecurityParameters.java
8455 * gnu/javax/net/ssl/provider/Session.java
8456 * gnu/javax/net/ssl/provider/SessionContext.java
8457 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8458 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8460 2006-08-14 Roman Kennke <kennke@aicas.com>
8462 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8463 (DividerLayout.layoutContainer): Removed debug output.
8464 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8465 (BasicHorizontalLayoutManager.axis): New field.
8466 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8468 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8469 Call new axis constructor.
8470 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8472 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8474 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8475 Refactored to handle direction.
8476 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8477 to handle direction.
8478 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8480 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8481 to handle direction.
8482 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8483 to handle direction.
8484 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8485 to handle direction.
8486 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8488 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8489 New explicit constructor. Calls super with vertical axis.
8490 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8491 to BasicHorizontalLayoutManager.
8492 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8493 moved to BasicHorizontalLayoutManager.
8494 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8495 Functionality moved to BasicHorizontalLayoutManager.
8496 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8497 moved to BasicHorizontalLayoutManager.
8498 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8499 moved to BasicHorizontalLayoutManager.
8500 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8501 Functionality moved to BasicHorizontalLayoutManager.
8502 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8503 moved to BasicHorizontalLayoutManager.
8504 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8505 moved to BasicHorizontalLayoutManager.
8506 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8507 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8508 (BUTTON_SPRITE_R): New constant field.
8509 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8510 L sprite for left buttons.
8512 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8514 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8515 (query_formats): g_free 'name' after usage.
8516 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8517 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8519 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8522 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8525 2006-08-14 Francis Kung <fkung@redhat.com>
8528 * java/awt/image/ColorModel.java
8529 (coerceData): Added check for non-transparent images.
8531 2006-08-14 Francis Kung <fkung@redhat.com>
8533 * java/awt/image/BandCombineOp.java
8534 (BandCombineOp): Perform checks on validity of matrix.
8535 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8536 (filter): Updated to work with new matrix storage.
8537 (getMatrix): Updated javadoc.
8538 (getPoint2D): Formatting change.
8540 2006-08-14 Francis Kung <fkung@redhat.com>
8542 * java/awt/image/AffineTransformOp.java
8543 (AffineTransformOp): Updated javadoc.
8544 (createCompatibleDestImage): Match behaviour of reference implementation.
8545 (createCompatibleDestRaster): Formatting changes.
8546 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8547 (filter(Raster, WritableRaster)): Re-implemented.
8548 (filterBicubic): New private method.
8549 (filterBilinear): New private method.
8550 (filterNearest): New private method.
8551 (getBounds2D): No longer fixed around one point for rotations.
8552 (getInterpolationType): Add support for bicubic interpolation.
8554 2006-08-14 Roman Kennke <kennke@aicas.com>
8556 * javax/swing/plaf/metal/MetalLookAndFeel.java
8557 (MetalLookAndFeel): Moved theme initialization to
8559 (createDefaultTheme): Forward to getCurrentTheme().
8560 (getDefaults): Initialize theme before doing anything else.
8561 (getCurrentTheme): Recognize swing.metalTheme property.
8563 2006-08-14 Roman Kennke <kennke@aicas.com>
8565 * javax/swing/JTable
8566 (getScrollableUnitIncrement): Expose partially exposed
8567 row in scrolling direction.
8569 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8571 * javax/swing/JTable (getScrollableUnitIncrement):
8572 Removing my name as the whole method body have been
8573 recently completely replaced.
8575 2006-08-14 Roman Kennke <kennke@aicas.com>
8578 * javax/swing/text/Utilities.java
8579 (getTabbedTextOffset): Don't add p0 here.
8581 2006-08-14 Roman Kennke <kennke@aicas.com>
8584 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8585 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8586 when wheel is going up.
8588 2006-08-14 Roman Kennke <kennke@aicas.com>
8591 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8592 (BasicOneTouchButton): New inner class.
8593 (DividerLayout.changeButtonOrientation): Removed.
8594 (DividerLayout.positionButtons): Moved into layoutContainer.
8595 (DividerLayout.layoutContainer): Reworked for correct layout.
8596 (OneTouchAction): New inner class.
8597 (centerOneTouchButtons): New field.
8598 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8600 (createLeftOneTouchButton): Reimplemented to return
8601 BasicOneTouchButton.
8602 (createRightOneTouchButton): Reimplemented to return
8603 BasicOneTouchButton.
8604 (getPreferredSize): Reimplemented to return fixed preferredSize.
8605 (oneTouchExpandableChanged): Add OneTouchAction action to
8606 buttons. Don't install mouse listeners.
8607 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8608 (paint): Don't trigger extra paint for buttons.
8609 (propertyChange): Revalidate splitPane when orientation is changed.
8610 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8611 oneTouchExpandable is true.
8612 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8613 (installDefaults): Install dividerSize on the divider too.
8614 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8615 (MetalDividerLayout): Removed. Functionality is already
8616 in BasicSplitPaneDivider.DividerLayout.
8617 (MetalOneTouchButton): New inner class.
8618 (BUTTON_SPRITE): New constant field.
8619 (MetalSplitPaneDivider): Don't change layout.
8620 (createLeftOneTouchButton): Overridden to return custom button
8622 (createRightOneTouchButton): Overridden to return custom button
8624 (paint): Don't trigger button painting. Call super instead.
8626 2006-08-13 Roman Kennke <kennke@aicas.com>
8628 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8629 (installKeyboardAction): Unmarked as stub. Added comment
8630 explaining that the RI seems to do nothing here.
8631 (uninstallKeyboardAction): Unmarked as stub. Added comment
8632 explaining that the RI seems to do nothing here.
8634 2006-08-13 Roman Kennke <kennke@aicas.com>
8637 * javax/swing/ScrollPaneLayout.java
8638 (layoutContainer): Consider the viewportBorder of the
8640 (minimumLayoutSize): Consider the viewportBorder of the
8642 (preferredLayoutSize): Consider the viewportBorder of the
8644 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8645 (installDefaults): Also install viewportBorder if specified.
8646 (paint): Paint viewportBorder if present.
8647 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8648 Don't nullify foreground, background and font. Uninstall
8649 border via LookAndFeel helper method to avoid uninstall
8652 2006-08-13 Roman Kennke <kennke@aicas.com>
8655 * javax/swing/plaf/basic/BasicHTML.java
8656 (HTMLRootView.HTMLRootView): Trigger initial layout.
8657 (HTMLRootView.setSize): Overridden to forward to real view.
8658 * javax/swing/plaf/basic/BasicToolTipUI.java
8659 (PropertyChangeHandler): New inner class. Updates the HTML
8661 (propertyChangeHandler): New field.
8662 (getMaximumSize): Add HTML width delta.
8663 (getMinimumSize): Add HTML width delta.
8664 (getPreferredSize): Reimplemented to use HTML view for size
8665 calculation if appropriate, otherwise use simple stringWidth()
8667 (installListeners): Install propertyChangeHandler.
8668 (uninstallListeners): Uninstall propertyChangeHandler.
8669 (installUI): Update HTML renderer.
8670 (uninstallUI): Update HTML renderer.
8671 (paint): Reimplemented to use HTML view for rendering if
8672 appropriate, simple drawString otherwise.
8673 * javax/swing/plaf/metal/MetalToolTipUI.java
8674 (getPreferredSize): Call super and add accelerator delta.
8675 (paint): Simply call super.
8677 2006-08-13 Roman Kennke <kennke@aicas.com>
8679 * javax/swing/JMenu.java
8680 (changeListener): Renamed to menuChangeListener to avoid
8681 shadowing changeListener field from AbstractButton.
8683 2006-08-13 Roman Kennke <kennke@aicas.com>
8685 * javax/swing/JTree.java
8686 (getScrollableUnitIncrement): Fixed direction.
8687 (getScrollableBlockIncrement): Implemented to scroll one
8689 * javax/swing/tree/VariableHeightLayoutCache.java
8690 (distance): Consider y + height already outside the node.
8692 2006-08-13 Roman Kennke <kennke@aicas.com>
8694 * javax/swing/JTable.java
8695 (getScrollableUnitIncrement): Fixed direction. Make it behave
8697 (getScrollableBlockIncrement): Fixed direction. Make it behave
8700 2006-08-13 Roman Kennke <kennke@aicas.com>
8702 * javax/swing/JList.java
8703 (getScrollableUnitIncrement): Fixed direction. Implemented
8704 horizontal scrolling. Improved usability.
8705 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8707 2006-08-13 Roman Kennke <kennke@aicas.com>
8709 * javax/swing/plaf/basic/BasicScrollBarUI.java
8710 (scrollByUnit): Scroll by -unit when direction is not positive
8711 and +unit otherwise.
8712 (scrollByBlock): Scroll by -unit when direction is not positive
8713 and +unit otherwise.
8715 2006-08-13 Roman Kennke <kennke@aicas.com>
8718 * javax/swing/text/PlainView.java
8719 (paint): Limit painted area to the lines inside the clip
8722 2006-08-13 Roman Kennke <kennke@aicas.com>
8724 * javax/swing/plaf/basic/BasicTextUI.java
8725 (uninstallListeners): Unregister document listener.
8727 2006-08-13 Sven de Marothy <sven@physto.se>
8729 * java/util/Locale.java
8730 (hashcodeCache): New field.
8731 (hashCode): use the above field instead of the serialized one
8732 (writeObject): Removed method.
8733 (readObject): Intern strings.
8734 (equals): Revert to previous method.
8736 2006-08-13 Roman Kennke <kennke@aicas.com>
8738 * javax/swing/JTabbedPane.java
8739 (JTabbedPane): Call setModel() here and let this install the
8740 change listener correctly.
8741 (setModel): Correctly uninstall and reinstall ChangeListener when
8744 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8747 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8748 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8749 (lastDefaultLocale): Removed.
8750 (emptyLocale): Likewise.
8751 (BundleKey.defaultLocale): New field.
8752 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8753 (BundleKey.set): Likewise.
8754 (BundleKey.equals): Take defaultLocal field into consideration.
8755 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8757 2006-08-13 Roman Kennke <kennke@aicas.com>
8759 * javax/swing/JMenu.java
8760 (MenuChangeListener): New inner class, helps firing menu events.
8761 (changeListener): New field.
8762 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8763 (add(Action)): Create Action using createActionComponent()
8764 and add via add(Component).
8765 (setModel): Install and uninstall MenuChangeListener here.
8767 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8770 * java/math/BigInteger.java: Updated copyright year.
8771 (init): Consume as little bytes as possible.
8772 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8773 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8774 as per RI's documentation.
8776 2006-08-13 Sven de Marothy <sven@physto.se>
8778 * java/util/Locale.java
8779 (hashcode): Is a serialized field, not transient.
8780 (equals): Should NOT compare strings by reference.
8781 (readObject/writeObject): Use the default methods and handle the hash
8784 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8787 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8788 Updated documentation.
8790 (getInstance(String, String, Provider, Object[])): Likewise.
8791 Separate checks for null and empty string arguments.
8792 Include as much information as possible in the exception's message.
8793 Do not swallow original exception; instead use it as the cause of the
8794 resulting exception.
8795 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8796 (getInstance(String)): Updated documentation.
8798 Store last exception caught when iterating through all providers.
8799 If no implementation found, raise last exception if one was caught.
8800 (getInstance(String, String)): Updated documentation.
8802 Check for null or empty provider as per RI-5's documentation.
8803 (getInstance(String, Provider)): Updated documentation.
8805 Use as much information as possible in the exception message.
8806 Do not swallow original exception; instead use it as the cause for the
8807 ultimate raised exception(s).
8808 * java/security/cert/CertificateFactory.java: Likewise.
8809 * java/security/cert/CertPathBuilder.java: Likewise.
8810 * java/security/cert/CertPathValidator.java: Likewise.
8811 * java/security/cert/CertStore.java: Likewise.
8812 * java/security/AlgorithmParameterGenerator.java: Likewise.
8813 * java/security/AlgorithmParameters.java: Likewise.
8814 * java/security/KeyFactory.java: Likewise.
8815 * java/security/KeyPairGenerator.java: Likewise.
8816 * java/security/KeyStore.java: Likewise.
8817 * java/security/MessageDigest.java: Likewise.
8818 * java/security/SecureRandom.java: Likewise.
8819 * java/security/Signature.java: Likewise.
8820 * javax/crypto/Cipher.java: Likewise.
8821 * javax/crypto/ExemptionMechanism.java: Likewise.
8822 * javax/crypto/KeyAgreement.java: Likewise.
8823 * javax/crypto/KeyGenerator.java: Likewise.
8824 * javax/crypto/Mac.java: Likewise.
8825 * javax/crypto/SecretKeyFactory.java: Likewise.
8826 * javax/net/ssl/KeyManagerFactory.java: Likewise.
8827 * javax/net/ssl/SSLContext.java: Likewise.
8828 * javax/net/ssl/TrustManagerFactory.java: Likewise.
8830 2006-08-13 Roman Kennke <kennke@aicas.com>
8832 * javax/swing/JEditorPane.java
8833 (getScrollableTracksViewportHeight): Also check maximum size.
8834 * javax/swing/JTextPane.java
8835 (insertIcon): Use input attributes for adding the icon
8837 * javax/swing/plaf/basic/BasicTextUI.java
8838 (RootView.setSize): Overridden to forward to real view.
8839 (getPreferredSize): Trigger setSize() on the view.
8840 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8841 to viewToModel() call, rather then null.
8842 * javax/swing/text/ParagraphView.java
8843 (changedUpdate): Invalide layout. Call super.
8844 * javax/swing/text/SimpleAttributeSet.java
8845 (clone): Use super's clone method to create clone.
8846 * javax/swing/text/StyleConstants.java
8847 (setIcon): Also set element name attribute.
8848 * javax/swing/text/StyledEditorKit.java
8849 (BoldAction.actionPerformed): Actually set the bold attribute,
8851 (setCharacterAttributes): Replaced with more straightforward
8853 * javax/swing/text/TextAction.java
8854 (getFocusedComponent): Implemented.
8855 * javax/swing/text/Utilities.java
8856 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8858 * javax/swing/text/View.java
8859 (changedUpdate): Nullify element change when updateChildren
8862 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
8864 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8865 Fix documentation typos.
8867 2006-08-11 David Daney <ddaney@avtrex.com>
8870 * gnu/java/net/protocol/http/Request.java (readResponse): Call
8871 createResponseBodyStream in more cases and with new parameter.
8872 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
8873 HEAD and !mayHaveBody responses specially.
8875 2006-08-11 Roman Kennke <kennke@aicas.com>
8877 * javax/swing/text/GlyphView.java
8878 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8879 * javax/swing/text/LabelView.java
8880 (valid): New flag indicating if the text attributes are valid.
8881 (LabelView): Initialize valid field with false.
8882 (setPropertiesFromAttributes): Call setter methods instead
8883 of setting properties directly. Set valid to true.
8884 (changedUpdate): Invalidate attributes. Call super.
8885 (getBackground): Sync attributes if necessary.
8886 (getForeground): Sync attributes if necessary.
8887 (getFont): Sync attributes if necessary.
8888 (isUnderline): Sync attributes if necessary.
8889 (isSuperscript): Sync attributes if necessary.
8890 (isStrikeThrough): Sync attributes if necessary.
8891 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8892 from toolkit if Container is not available yet.
8894 2006-08-11 Roman Kennke <kennke@aicas.com>
8896 * javax/swing/text/PlainView.java
8897 (tabBase): New field.
8898 (tabSize): New field.
8899 (updateMetrics): Update tabSize.
8900 (lineToRect): Only allocate when really necessary.
8901 (modelToView): Use tabBase for offset calculations.
8902 (paint): Only allocate when really necessary. Update tabBase.
8903 (nextTabStop): Fixed tab calculation.
8904 (viewToModel): Correctly handle multiline text and locations
8905 outside the view's bounds. Set bias.
8906 (getLineLength): Use tabBase.
8907 * javax/swing/text/Utilities.java
8908 (drawTabbedText): Don't special case newlines. The views
8909 must take care of this.
8911 2006-08-11 Roman Kennke <kennke@aicas.com>
8913 * javax/swing/text/GapContent.java
8914 (UndoPosRef): New inner class. Used for resetting positions
8915 after undo/redo operations.
8916 (InsertUndo.positions): New field.
8917 (InsertUndo.undo): Store positions in removed range.
8918 (InsertUndo.redo): Restore positions in re-inserted range.
8919 (UndoRemove.positions): New field.
8920 (UndoRemove.UndoRemove): Store positions in removed range.
8921 (UndoRemove.undo): Restore positions in re-inserted range.
8922 (UndoRemove.redo): Store positions in removed range.
8923 (insertString): Create InsertUndo instance before actually
8924 inserting the string.
8925 (remove): Create UndoRemove instance before actually
8927 (getPositionsInRange): Don't clear the Vector. Return Vector
8929 (updateUndoPositions): Implemented to reset all UndoPosRefs
8932 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
8934 * java/io/ObjectInputStream.java (readClassDescriptor):
8935 Use class's class loader to resolve field types.
8936 * java/io/ObjectStreamField.java
8937 (ObjectStreamField(String,String,ClassLoader)): Removed.
8938 (ObjectStreamField(String,String)): Don't try to resolve typename.
8939 (resolveType): New method.
8941 2006-08-10 Roman Kennke <kennke@aicas.com>
8943 * javax/swing/text/BoxView.java
8944 (calculateMajorAxisRequirements): Sum up the preferred and
8946 (isAfter): Also add in the rectangle's with/height.
8947 (childAllocation): Don't trigger layout here.
8948 (layoutMinorAxis): Removed debug output.
8949 (getWidth): Consider the insets.
8950 (getHeight): Consider the insets.
8951 (setSize): Consider the insets.
8952 (updateRequirements): Check axis and throw
8953 IllegalArgumentException.
8955 2006-08-10 Roman Kennke <kennke@aicas.com>
8957 * javax/swing/text/AbstractDocument.java
8958 (BidiRootName): New constant field, denotes the element name
8959 for bidi root elements.
8960 (AsyncLoadPriority): New constant field, denotes the property
8961 to store the asynchronousLoadPriority.
8962 (I18N): New constant field, denotes the property for
8964 (bidiRoot): Made field type BidiRootElement.
8965 (AbstractDocument): Build initial element structure for
8967 (getAsynchronousLoadPriority): Implemented. Returns the
8968 value stored in the document properties.
8969 (setAsynchronousLoadPriority): Implemented. Sets the
8970 value stored in the document properties.
8971 (getEndPosition): Implemented to use a Position from the
8973 (getStartPosition): Implemented to use a Position from the
8975 (insertStringImpl): Update the I18N setting if necessary.
8976 (insertUpdate): Update the bidi structure if necessary.
8977 (postRemoveUpdate): Update the bidi structure if necessary.
8978 (putProperty): Update the I18N setting and bidi structure
8980 (updateBidi): New helper method for updating the bidi
8982 (getBidis): New helper method. Fetches the Bidi analysers
8983 for the paragraphs of the range to check.
8984 (dump): Also dump the bidi structure.
8985 (AbstractElement.dump): Indent the '>' correctly.
8986 (AbstractElement.children): Check numChildren rather then
8988 (BidiRootElement): New inner class.
8989 (BidiElement): New inner class.
8991 2006-08-10 Roman Kennke <kennke@aicas.com>
8993 * javax/swing/text/GapContent.java
8994 (getChars): Optimized to only copy array when really necessary.
8995 Respect the partialReturn property.
8997 2006-08-10 Lillian Angel <langel@redhat.com>
8999 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9000 (getComponentPeer): Added check to prevent NPE.
9002 2006-08-10 Gary Benson <gbenson@redhat.com>
9004 * java/security/AccessControlContext.java (<init>):
9005 Avoid a duplicated AccessController.getContext() call.
9007 2006-08-09 Mark Wielaard <mark@klomp.org>
9009 * doc/www.gnu.org/newsitems.txt: Add 0.92.
9010 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9011 * doc/www.gnu.org/announce/20060809.wml: New file.
9013 2006-08-09 Mark Wielaard <mark@klomp.org>
9015 * configure.ac (VERSION): Set to 0.92-generics.
9016 * NEWS: Add updates for 0.92 release.
9018 2006-08-09 Tom Tromey <tromey@redhat.com>
9021 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9022 the pattern match any number of spaces in the text.
9024 2006-08-09 Sven de Marothy <sven@physto.se>
9026 * java/awt/image/BufferedImage.java
9027 (BufferedImage): Reimplement predefined-type constructor.
9028 (observers/tileObservers): Field renamed to tileObservers.
9029 (createDefaultIndexedColorModel): New method.
9031 2006-08-09 Tom Tromey <tromey@redhat.com>
9034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9035 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9036 Create a 'short' array.
9038 2006-08-09 Tom Tromey <tromey@redhat.com>
9040 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9042 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9043 (writeFields): Print "L" after int constant. Don't mangle the field
9044 name. Only print int/long fields.
9046 2006-08-09 Tom Tromey <tromey@redhat.com>
9048 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9051 2006-08-09 Sven de Marothy <sven@physto.se>
9053 * javax/swing/JTree.java
9054 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9055 (setSelectionModel): Null parameter should create an EmptySelectionM.
9057 2006-08-09 Roman Kennke <kennke@aicas.com>
9059 * javax/swing/text/AbstractDocument.java
9060 (insertString): Perform modifications inside a write lock.
9061 (insertStringImpl): Don't lock here. This is already done
9063 (replace): Perform modifications inside a write lock.
9064 (AbstractElement.AbstractElement): Call addAttributes() to
9066 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9067 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9068 (BranchElement.BranchElement): Set lastIndex to -1.
9069 (BranchElement.getElementIndex): Implemented more efficient
9072 2006-08-09 Roman Kennke <kennke@aicas.com>
9074 * javax/swing/text/DefaultStyledDocument.java
9075 (Edit): Moved this inner class into ElementBuffer where it
9077 (edits): Moved this field into ElementBuffer.
9078 (getEditForParagraphAndIndex): Removed obsolete method.
9079 (insertUpdate): Added some optimizations and fixes. Split
9080 out handling insertion after newlines.
9081 (insertAfterNewline): New helper method. Handles insertions
9083 (ElementBuffer.Edit): New inner class. Moved here from
9084 DefaultStyledDocument.
9085 (ElementBuffer.createdFracture): New field.
9086 (ElementBuffer.documentEvent): Made private.
9087 (ElementBuffer.edits): New field. Moved here from
9088 DefaultStyledDocument.
9089 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9090 (ElementBuffer.fracturedChild): New field.
9091 (ElementBuffer.fracturedParent): New field.
9092 (ElementBuffer.insertPath): New field.
9093 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9095 (ElementBuffer.offsetLastIndex): New field.
9096 (ElementBuffer.offsetLastIndexReplace): New field.
9097 (ElementBuffer.recreateLeafs): New field.
9098 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9099 (ElementBuffer.canJoin): New helper method.
9100 (ElementBuffer.changeUpdate): Changed to use elementStack with
9101 Edits rather than Elements. Let the split method do the work.
9102 (ElementBuffer.cloneAsNecessary): New helper method.
9103 (ElementBuffer.createFracture): Changed to fracture the bottommost
9105 (ElementBuffer.finishEdit): New helper method. Moved out
9106 from insertUpdate to perform the actual changes and update
9108 (fracture): New helper method.
9109 (insertContentTag): Fixed some bugs and changed to use Edit
9110 instances in the stack, rather then Elements.
9111 (insertElement): New helper method. Moved out from insertUpdate()
9112 to process the ElementSpecs.
9113 (insertFirstContentTag): Fixed some problems and changed to use Edit
9114 instances in the stack, rather then Elements.
9115 (insertFracture): Removed. Basically moved into createFracture()
9117 (insertParagraph): Removed.
9118 (insertUpdate): Split out the ElementSpec processing into
9119 insertElement(). Use Edit instances in the stack. Fixed some
9121 (insert): Split out the preparation and finishing code into
9122 prepareEdit() and finishEdit().
9123 (join): New helper method.
9124 (pop): New helper method.
9125 (prepareEdit): New helper method.
9126 (recreateFracturedElement): New helper method.
9127 (recreateLeaves): Removed.
9128 (recreate): New helper method.
9129 (removeElements): New helper method. Split out from removeUpdate().
9130 (removeUpdate): Split out the actual removal. Use the
9131 Edit stack to perform removal and perform the remove actions
9132 and event updates afterwards, just like in insertImpl().
9133 (remove): Use prepareEdit() and finishEdit().
9134 (split): Replaced with more flexible impl.
9136 2006-08-09 Sven de Marothy <sven@physto.se>
9138 * gnu/java/awt/peer/gtk/CairoSurface.java
9139 Change class to extend WritableRaster and not DataBuffer.
9140 (CairoDataBuffer): New inner class.
9141 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9142 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9143 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9144 Accomodate the above change.
9146 2006-08-09 Sven de Marothy <sven@physto.se>
9148 * gnu/java/awt/peer/gtk/GtkMainThread.java
9150 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9151 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9152 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9153 * gnu/java/awt/peer/gtk/GtkToolkit.java
9154 Minor style fixes; removed unused fields,
9155 set fields to private where possible.
9156 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9157 Call GtkMainThread.createWindow().
9158 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9159 (dispose): New method.
9160 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9161 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9162 (gtkQuit): New native method.
9164 2006-08-08 Lillian Angel <langel@redhat.com>
9166 * java/awt/Component.java
9167 (setDropTarget): Added check.
9169 2006-08-08 Lillian Angel <langel@redhat.com>
9171 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9172 (GtkDragSourceContextPeer): Added FIXME. Changed call
9174 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9175 (GtkDropTargetContextPeer): Removed target initialization.
9176 * java/awt/Component.java
9177 (setTarget): Removed commented out code.
9179 2006-08-08 Mark Wielaard <mark@klomp.org>
9181 * javax/swing/text/DefaultHighlighter.java: Qualify
9182 Highlighter.HighlightPainter class name for gcj.
9184 2006-08-05 Roman Kennke <kennke@aicas.com>
9186 * javax/swing/plaf/basic/BasicTableUI.java
9187 (MouseInputHandler.mousePressed): Request focus on list
9190 2006-08-05 Roman Kennke <kennke@aicas.com>
9192 * javax/swing/plaf/basic/BasicListUI.java
9193 (MouseInputHandler.mousePressed): Request focus on list
9196 2006-08-05 Roman Kennke <kennke@aicas.com>
9199 * javax/swing/plaf/basic/BasicMenuBarUI.java
9200 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9201 than Tree.actionMap.
9202 * javax/swing/plaf/basic/BasicTreeUI.java
9203 (action): Removed obsolete field.
9204 (uninstallKeyboardActions): Removed action field handling.
9205 (installKeyboardActions): Removed action field handling.
9206 (createDefaultActions): Don't install removed TreeAction.
9207 (TreeAction): Removed obsolete inner class.
9208 (ActionListenerProxy): Removed obsolete inner class.
9209 (MouseHandler.mousePressed): Request focus on JTree component
9212 2006-08-08 Roman Kennke <kennke@aicas.com>
9214 * javax/swing/plaf/basic/BasicListUI.java
9215 (MouseInputHandler.mousePressed): Request focus on list
9218 2006-08-08 Roman Kennke <kennke@aicas.com>
9220 * javax/swing/plaf/basic/BasicTableUI.java
9221 (MouseInputHandler.mousePressed): Request focus on list
9224 2006-08-08 Roman Kennke <kennke@aicas.com>
9226 * javax/swing/plaf/basic/BasicTextUI.java
9227 (damageRange(JTextComponent,int,int)): Call damageRange() with
9228 correct biases, rather than null.
9229 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9230 to use simpler modelToView() approach without much special
9231 casing. This seems not worth the effort and actually
9232 caused problems. Added locking of the document.
9233 * javax/swing/text/BoxView.java
9234 (requirementsValid): New field.
9235 (calculateMajorAxisRequirements): Rewritten without using
9236 SizeRequirements. The SizeRequirements algorithms are slightly
9237 different and too inefficient.
9238 (calculateMinorAxisRequirements): Rewritten without using
9239 SizeRequirements. The SizeRequirements algorithms are slightly
9240 different and too inefficient.
9241 (getAlignment): Simply return the alignment of the cached
9243 (getMaximumSpan): Add insets.
9244 (getMinimumSpan): Add insets.
9245 (getPreferredSpan): Add insets.
9246 (layoutMajorAxis): Rewritten without using
9247 SizeRequirements. The SizeRequirements algorithms are slightly
9248 different and too inefficient.
9249 (layoutMinorAxis): Rewritten without using
9250 SizeRequirements. The SizeRequirements algorithms are slightly
9251 different and too inefficient.
9252 (modelToView): Call setSize() rather than layout().
9253 (paint): Check clip for more efficient painting.
9254 (preferenceChanged): Invalidate requirements here.
9255 (replace): Invalidate requirements here.
9256 (updateRequirements): Update requirements only when requirements
9258 * javax/swing/text/CompositeView.java
9259 (modelToView): Added some more checks and handling of corner cases.
9260 * javax/swing/text/FlowView.java
9261 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9262 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9263 * javax/swing/text/IconView.java
9264 (getAlignment): Implemented to return 1.0 for vertical alignment.
9265 * javax/swing/text/ParagraphView.java
9266 (Row.getMaximumSpan): Implemented to let Rows span the whole
9268 (getAlignment): Fixed horizontal alignment and vertical alignment
9269 for empty paragraphs to be 0.5.
9271 2006-08-08 Roman Kennke <kennke@aicas.com>
9273 * javax/swing/text/View.java
9274 (modelToView): Added special handling for corner case at the end
9275 of the view and for multiline views.
9277 2006-08-08 Roman Kennke <kennke@aicas.com>
9279 * javax/swing/plaf/basic/BasicTextUI.java
9280 (modelToView): Read-lock the document. Set size of the
9281 root view before fetching the model-to-view mapping.
9282 (getViewIndex): Check of the position is inside the range and
9283 return -1 if this is not the case.
9284 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9286 (getViewIndexAtPosition(int)): Delegate the index search to
9287 the element since we have a 1:1 mapping between elements and
9289 * javax/swing/text/DefaultCaret.java
9290 (appear): Ignore BadLocationException.
9291 (paint): Ignore BadLocationException.
9292 * javax/swing/text/FlowView.java
9293 (changedUpdate): Also notify the layoutPool view.
9294 (removeUpdate): Also notify the layoutPool view.
9295 * javax/swing/text/ParagraphView.java
9296 (Row.getViewIndexAtPosition): Overridden to search linearily
9297 through the view instead of relying on a 1:1 model to view
9299 * javax/swing/text/View.java
9300 (removeUpdate): Clear ElementChange object if updateChildren
9302 (forwardUpdate): Special handle some boundary cases.
9304 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9306 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9307 (hasInheritedParameters): New method.
9308 (equals): Updated documentation.
9309 Take into consideration the outcome of hasInheritedParameters invocation.
9310 (toString): Call hasInheritedParameters and adjust the result accordingly.
9311 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9312 Updated documentation.
9313 Handle case of public keys with null p, q, and g MPIs.
9314 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9316 2006-08-07 Tom Tromey <tromey@redhat.com>
9319 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9320 (attachment): Likewise.
9321 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9323 (isValid): Likewise.
9324 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9326 (interestOps): Synchronize.
9327 (readyOps): Likewise.
9328 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9331 2006-08-07 C. Scott Marshall <csm@gnu.org>
9334 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9335 the mark has been set.
9336 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9337 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9340 2006-08-07 Sven de Marothy <sven@physto.se>
9342 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9343 (drawGlyphVector): Synchronize against font object when drawing.
9344 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9345 (nativeDrawGlyphVector): Use pango locking when drawing.
9346 (install_font_peer): Use pango locking when creating the cairo face.
9348 2006-08-06 Roman Kennke <kennke@aicas.com>
9351 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9352 (getPreferredSize): Renamed method to preferredSize(). That's
9353 the one that gets called from java.awt.*.
9354 * java/awt/peer/ComponentPeer.java
9355 (getPreferredSize): Added specnote about this method never
9356 beeing called in the RI.
9357 (getMinimumSize): Added specnote about this method never
9358 beeing called in the RI.
9360 2006-08-03 Sven de Marothy <sven@physto.se>
9362 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9363 (grab, nativeGrab): New methods.
9364 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9365 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9366 (nativeGrab): New method.
9367 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9369 * java/awt/Component.java
9370 (printAll): Should call peer print method.
9372 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9374 * java/net/URL.java (getContent(Class[])): Implement.
9376 2006-08-06 Mark Wielaard <mark@klomp.org>
9379 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9380 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9382 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9385 2006-08-06 Roman Kennke <kennke@aicas.com>
9387 * NEWS: Added note about the X peers.
9388 * INSTALL: Added install notes about the X peers.
9390 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9391 Paul Jenner <psj@harker.dyndns.org>
9393 * README: Update bug, patches and cvs instructions plus new URLs of
9394 various external projects.
9396 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9398 * configure.ac (MOZILLA_FOUND): Fall back to
9399 mozilla-firefox-plugin.
9401 2006-08-06 Mario Torre <neugens@limasoftware.net>
9403 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9404 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9405 g_type_init earlier in function to correctly initialize the
9406 type system used by the backend.
9408 2006-08-05 Roman Kennke <kennke@aicas.com>
9410 * javax/swing/text/DefaultHighlight.java
9411 (DefaultHighlightPainter.paintHighlight): Removed method.
9412 (DefaultHighlightPainter.paintLayer): Implemented.
9413 (DefaultHighlightPainter.paint): Implemented more efficient
9414 painting for multiline-highlights.
9415 (HighlightEntry.p0): Changed to be a Position.
9416 (HighlightEntry.p1): Changed to be a Position.
9417 (HighlightEntry.HighlightEntry): Changed to take Position
9419 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9420 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9421 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9422 and tracks the painted rectangle for efficient repainting.
9423 (addHighlight): Handle layered highlight.
9424 (changeHighlight): Handle layered highlight.
9425 (paintLayeredHighlights): Implemented.
9426 (paint): Paint only non-layered highlights here.
9427 (removeAllHighlights): Trigger correct repaint.
9428 (removeHighlight): Handle layered highlight here for
9429 more efficient repainting.
9430 * javax/swing/text/GlyphView.java
9431 (paint): Handle layered highlights.
9432 * javax/swing/text/PlainView.java
9433 (paint): Handle layered highlights.
9434 * javax/swing/text/WrappedPlainView.java
9435 (WrappedLine.paint): Handle layered highlights.
9437 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9440 * NEWS: As suggested by Paul Jennier, added note about the fix of
9443 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9445 * NEWS: Added entry about the context factories for JNDI.
9447 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9450 * gnu/CORBA/Connected_objects.java (size): New method.
9451 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9453 * javax/naming/spi/NamingManager.java (getURLContext):
9454 Also search for the URL context factories in
9455 gnu/javax/naming/jndi/url.
9456 * gnu/javax/naming/giop/ContextContinuation.java,
9457 gnu/javax/naming/giop/CorbalocParser.java,
9458 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9459 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9460 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9461 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9462 gnu/javax/naming/giop/ListEnumeration.java,
9463 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9464 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9465 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9466 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9467 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9468 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9469 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9470 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9472 2006-08-06 Sven de Marothy <sven@physto.se>
9474 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9475 (drawGlyphVector): Synchronize against font object when drawing.
9476 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9477 (nativeDrawGlyphVector): Use pango locking when drawing.
9478 (install_font_peer): Use pango locking when creating the cairo face.
9480 2006-08-06 C. Scott Marshall <csm@gnu.org>
9483 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9484 the mark has been set.
9485 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9486 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9489 2006-08-06 Mark Wielaard <mark@klomp.org>
9492 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9493 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9495 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9498 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9499 Paul Jenner <psj@harker.dyndns.org>
9501 * README: Update bug, patches and cvs instructions plus new URLs of
9502 various external projects.
9504 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9506 * gnu/java/lang/management/BeanImpl.java:
9507 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9509 (getCachedMBeanInfo()): Return open variant.
9510 (getMBeanInfo()): Likewise.
9511 (getTypeFromClass(Class)): Implemented.
9512 (translateSignature(MBeanParameterInfo)): Likewise.
9513 (translate(String)): Likewise.
9514 * javax/management/StandardMBean.java:
9515 (getMBeanInfo()): Return attribute names with capital letters,
9516 as in docs for java.lang.management.ManagementFactory, and
9517 ensure descriptions are not "".
9518 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9519 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9520 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9521 (toString()): Use Arrays.toString().
9522 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9523 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9524 Set open type here rather than in other constructors.
9526 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9528 * javax/management/MBeanFeatureInfo.java:
9529 Make string variable package-private.
9530 * javax/management/StandardMBean.java:
9531 (getMBeanInterface()): Made final.
9532 * javax/management/openmbean/SimpleType.java:
9535 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9537 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9540 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9542 * examples/gnu/classpath/examples/swing/FillRect.java,
9543 * gnu/CORBA/Focused_ORB.java,
9544 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9545 * gnu/classpath/ByteArray.java,
9546 * gnu/classpath/ObjectPool.java,
9547 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9548 * gnu/java/awt/peer/x/fonts.properties,
9549 * gnu/java/security/util/Prime2.java,
9550 * gnu/javax/imageio/gif/GIFStream.java,
9551 * javax/swing/text/html/HTMLTableView.java,
9552 * native/cni/Makefile.am,
9553 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9554 * org/omg/CORBA/SendingContext/Runtime.java,
9555 * resource/gnu/regexp/MessagesBundle.properties,
9556 * resource/gnu/regexp/MessagesBundle_fr.properties,
9557 * resource/gnu/regexp/MessagesBundle_it.properties,
9558 * tools/appletviewer.in,
9559 * tools/jarsigner.in,
9561 * vm/reference/java/lang/management/VMThreadInfo.java:
9563 * examples/gnu/classpath/examples/awt/aicas.png,
9564 * examples/gnu/classpath/examples/awt/palme.gif,
9565 * examples/gnu/classpath/examples/java2d/aicas.png,
9566 * examples/gnu/classpath/examples/java2d/palme.gif,
9567 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9568 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9569 * java/awt/doc-files/capjoin.png,
9570 * java/awt/geom/doc-files/Area-1.png,
9571 * java/awt/geom/doc-files/Ellipse-1.png,
9572 * java/awt/geom/doc-files/GeneralPath-1.png:
9575 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9580 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9582 * gnu/java/lang/management/BeanImpl.java:
9583 (getAttribute(String)): Implemented.
9585 2006-08-05 Roman Kennke <kennke@aicas.com>
9587 * javax/swing/text/JTextComponent.java
9588 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9589 (AccessibleJTextComponent.textComp): Removed field
9590 and replace with JTextComponent.this construct.
9591 (AccessibleJTextComponent.AccessibleJTextComponent):
9592 Fetch caret position.
9593 (caretUpdate): Implemented. Fires property change events and
9594 updates the caretDot field.
9595 (changedUpdate): Implemented. Fires property change events.
9596 (insertUpdate): Implemented. Fires property change events.
9597 (removeUpdate): Implemented. Fires property change events.
9598 (cut): Replaced textComp with JTextComponent.this construct.
9599 (paste): Replaced textComp with JTextComponent.this construct.
9600 (replaceText): Replaced textComp with JTextComponent.this construct.
9601 (selectText): Replaced textComp with JTextComponent.this construct.
9602 (getCaretPosition): Replaced textComp with JTextComponent.this
9604 (getCharCount): Replaced textComp with JTextComponent.this construct.
9605 (getSelectedText): Replaced textComp with JTextComponent.this
9607 (getSelectionEnd): Replaced textComp with JTextComponent.this
9609 (getSelectionStart): Replaced textComp with JTextComponent.this
9611 (getTextRange): Replaced textComp with JTextComponent.this
9613 (doAccessibleAction): Implemented.
9614 (getAccessibleActionCount): Implemented.
9615 (getAccessibleActionDescription): Implemented.
9616 (getAccessibleStateSet): Implemented.
9617 (getAfterIndex): Implemented.
9618 (getBeforeIndex): Implemented.
9619 (getAtIndex): Implemented.
9620 (getAtIndexImpl): New helper method.
9621 (getCharacterAttribute): Implemented.
9622 (getCharacterBounds): Implemented.
9623 (getIndexAtPoint): Implemented.
9624 (insertTextAtIndex): Implemented.
9625 (setAttributes): Implemented.
9626 (setTextContents): Implemented.
9628 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9630 * configure.ac: Better handling of default-preferences-peer option.
9632 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9634 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9637 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9639 * javax/management/openmbean/TabularData.java:
9640 Documentation corrections.
9641 * javax/management/openmbean/TabularDataSupport.java:
9644 2006-08-04 Francis Kung <fkung@redhat.com>
9646 * java/awt/BasicStroke.java
9647 (dashedStroke): Implemented.
9649 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9651 * javax/management/BadAttributeValueExpException.java,
9652 * javax/management/BadStringOperationException.java,
9653 * javax/management/InstanceAlreadyExistsException.java,
9654 * javax/management/InstanceNotFoundException.java,
9655 * javax/management/InvalidApplicationException.java,
9656 * javax/management/MBeanRegistrationException.java,
9657 * javax/management/MalformedObjectNameException.java,
9658 * javax/management/RuntimeErrorException.java,
9659 * javax/management/RuntimeMBeanException.java,
9660 * javax/management/ServiceNotFoundException.java:
9663 2006-08-04 Roman Kennke <kennke@aicas.com>
9665 * javax/swing/SwingUtilities.java
9666 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9667 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9668 layoutCompoundLabelImpl().
9669 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9670 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9671 layoutCompoundLabelImpl().
9672 (layoutCompoundLabelImpl): New helper method. Moved impl from
9673 layoutCompoundLabel() to here and added handling of HTML.
9674 * javax/swing/plaf/basic/BasicButtonUI.java
9675 (installUI): Update HTML view if appropriate.
9676 (uninstallUI): New method. Do the usual uninstallUI things
9677 and uninstall HTML view.
9678 (getMinimumSize): New method. Adjusts the minimum size
9679 by the HTML view minimum size.
9680 (getMaximumSize): New method. Adjusts the maximum size
9681 by the HTML view maximum size.
9682 (getPreferredSize): Pass the button's iconTextGap to the
9683 BasicGraphicsUtils method.
9684 (paint): Let HTML view paint the text, if present.
9685 * javax/swing/plaf/basic/BasicButtonListener.java
9686 (propertyChange): Update the HTML view when the button's
9689 2006-08-04 Mario Torre <neugens@limasoftware.net>
9691 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9692 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9693 g_type_init earlier in function to correctly initialize the
9694 type system used by the backend.
9696 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9699 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9701 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9703 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9705 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9707 * gnu/xml/dom/DomIterator.java:
9708 (successor): Added if-statement.
9710 2006-08-04 Mark Wielaard <mark@klomp.org>
9712 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9714 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9716 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9717 (update): Check size and paint smaller gradient.
9718 * javax/swing/plaf/metal/MetalBorders.java:
9719 (MenuBarBorder): Removed borderColor field.
9720 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9723 2006-08-03 Roman Kennke <kennke@aicas.com>
9726 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9727 (ComponentHandler.componentResized): Reimplemented to handle
9729 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9730 component listener on changed ancestor.
9731 (installListeners): Install componentListener.
9732 (uninstallListeners): Uninstall componentListener.
9734 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9736 * StrictMath.java (cbrt): Return argument if it is a NaN.
9741 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9743 * java/lang/StrictMath.java (tanh): New method.
9745 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9747 * scripts/import-cacerts.sh: Batch CA certificates import script.
9749 2006-08-03 Roman Kennke <kennke@aicas.com>
9752 * javax/swing/plaf/basic/BasicListUI.java
9753 (paintCell): Pass row index to cell renderer.
9754 * javax/swing/plaf/basic/MetalFileChooserUI.java
9755 (DirectoryComboBoxRenderer.indentIcon): New field.
9756 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9757 Initialize indentIcon.
9758 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9759 Fall back to super and removed standard functionality.
9761 (IndentIcon): New class. Wraps and indents another icon.
9763 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9765 * javax/management/MBeanConstructorInfo.java:
9766 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9767 Copy array rather than directly assigning.
9768 * javax/management/MBeanInfo.java:
9769 (MBeanInfo(String,String,MBeanAttributeInfo[],
9770 MBeanConstructorInfo[], MBeanOperationInfo[],
9771 MBeanNotificationInfo[])): Likewise.
9772 * javax/management/MBeanOperationInfo.java:
9773 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9775 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9776 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9778 * javax/management/openmbean/OpenMBeanInfo.java:
9779 Corrected documentation.
9780 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9782 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9783 Corrected documentation.
9784 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9786 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9787 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9788 Call other constructor rather than reimplementing.
9790 2006-08-02 Lillian Angel <langel@redhat.com>
9792 * java/awt/dnd/DragSource.java
9793 (isDragImageSupported): Implemented.
9794 (getDragThreshold): Changed default value.
9795 * java/awt/dnd/DropTarget.java
9796 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9797 (DropTarget): Likewise.
9798 (DropTarget): If FlavorMap passed in is null, we should use the system default.
9799 (addDropTargetListener): Added check to determine if new DropTargetListener
9800 is this class. If so, an IllegalArgumentException is thrown. If the
9801 new listener is null, nothing happens.
9803 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9805 * configure.ac (MOZILLA_FOUND): Fall back to
9806 mozilla-firefox-plugin.
9808 2006-08-02 Sven de Marothy <sven@physto.se>
9810 * java/awt/geom/AffineTransform.java
9811 (hashCode): Tweak impl.
9812 * java/awt/font/FontRenderContext.java
9813 (hashCode): Implement.
9815 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
9817 * java/lang/StrictMath.java (sinh): New method.
9819 2006-08-02 Roman Kennke <kennke@aicas.com>
9822 * javax/swing/JComboBox.java
9823 (setSelectedItem): Fire ActionEvent here.
9824 * javax/swing/plaf/basic/BasicDirectoryModel.java
9825 (directories): Changed to type Vector.
9827 (loadThread): New field.
9828 (DirectoryLoadThread): New inner class. This loads the contents
9829 of directories asynchronously.
9830 (getDirectories): Return cached Vector.
9831 (getFiles): Return cached Vector.
9832 (getSize): Return plain size of contents Vector.
9833 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9834 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9835 (sort): Don't store sorted list in contents. This must be done
9836 asynchronously from the EventThread.
9837 (validateFileCache): Rewritten for asynchronous reading
9838 of directory contents.
9839 * javax/swing/plaf/basic/BasicFileChooserUI.java
9840 (installListeners): Install model as PropertyChangeListener.
9841 (uninstallListeners): Uninstall model as PropertyChangeListener.
9842 (createPropertyChangeListener): Return null just like the
9845 2006-08-02 Sven de Marothy <sven@physto.se>
9847 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9848 (remove): Force event on removing item 0 when it's selected.
9849 (handleEvent): Always call Choice.selected().
9850 * java/awt/Choice.java:
9851 (remove): Simplify and correct.
9853 2006-08-02 Mark Wielaard <mark@klomp.org>
9856 * configure.ac (gconf-peer): Check for gdk-2.0.
9857 * native/jni/gconf-peer/Makefile.am
9858 (AM_LDFLAGS): Use GDK_LIBS.
9859 (AM_CFLAGS): Use GDK_CFLAGS.
9861 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9863 * java/net/URL.java (getContent(Class[])): Implement.
9865 2006-08-02 Roman Kennke <kennke@aicas.com>
9868 * javax/swing/JMenu.java
9869 (JMenu()): Removed setting of delay.
9870 (JMenu(String)): Removed setting of delay.
9871 (JMenu(Action)): Removed setting of delay.
9872 (JMenu(String,boolean)): Removed setting of delay.
9873 (setSelectedHelper): Removed unneeded method.
9874 (setSelected): Simply set the model state.
9875 (setPopupMenuVisible): Recognize the popup location
9876 determined by getPopupMenuOrigin().
9877 (getPopupMenuOrigin): Recognize the UI properties for
9879 (menuSelectionChanged): Call setSelected() directly.
9880 * javax/swing/JPopupMenu.java
9881 (menuSelectionChanged): If invoker is a JMenu, then delegate
9882 to that to get the position right.
9883 * javax/swing/Popup.java
9884 (LightweightPopup.show): Insert the popup as first component
9885 in the layer, so that it overlaps it's caller.
9886 * javax/swing/plaf/basic/BasicMenuItemUI.java
9887 (getPath): Don't include the popup.
9888 * javax/swing/plaf/basic/BasicMenuUI.java
9889 (SelectMenuAction): New class. This invokes the popup when
9891 (installDefaults): Install delay of 200 ms.
9892 (setupPostTimer): Implemented.
9893 (MouseInputHandler.mouseClicked): Do nothing here.
9894 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9895 magic to handle the selection. Open the menu via a timer.
9896 (MouseInputHandler.mousePressed): Use MenuSelectionManager
9897 magic to handle the selection. Open the menu via a timer.
9898 (MenuDragMouseHandler.menuMouseDragged): Probably use
9900 (menuDragMouseEntered): Do nothing here.
9902 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9904 * javax/management/openmbean/InvalidOpenTypeException.java,
9905 * javax/management/openmbean/KeyAlreadyExistsException.java:
9908 2006-08-02 Roman Kennke <kennke@aicas.com>
9911 * javax/swing/plaf/basic/BasicChooserUI.java
9912 (BasicFileView.getName): Fetch the real name from the
9913 file chooser's FileSystemView.
9914 * javax/swing/plaf/metal/MetalChooserUI.java
9915 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9916 Set the text fetched from the JFileChooser.getName().
9917 * javax/swing/FileSystemView.java
9918 (createFileObject): When file is a filesystem root,
9919 create a filesystem root object first.
9920 (getSystemDisplayName): Return the filename. Added specnote
9921 about ShellFolder class that is mentioned in the spec.
9922 * javax/swing/UnixFileSystemView.java
9923 (getSystemDisplayName): Implemented to return the real name
9924 of a file, special handling files like '.' or '..'.
9926 2006-08-03 Mark Wielaard <mark@klomp.org>
9928 * examples/gnu/classpath/examples/icons/badge.png: Add file.
9930 2006-08-03 Roman Kennke <kennke@aicas.com>
9933 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9934 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9935 components when visual property chanegs.
9937 2006-08-03 Roman Kennke <kennke@aicas.com>
9940 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9941 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9942 component when visual properties change.
9944 2006-08-03 Roman Kennke <kennke@aicas.com>
9947 * javax/swing/JTree.java
9948 (JTree(TreeModel)): Set cell renderer to null.
9949 * javax/swing/plaf/basic/BasicTreeUI.java
9950 (setCellRenderer): Finish editing before setting the
9951 cell renderer. Refresh the layout. Don't set the
9952 currentCellRenderer field here (that's done in updateRenderer).
9953 (updateRenderer): Handle createdRenderer field here too.
9954 Set renderer to a default handler when the current renderer
9955 in the JTree is null.
9957 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9960 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9962 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9965 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9966 Updated documentation to clarify that RFC-2459 states that the parameters
9967 field of the AlgorithmIdentifier element MUST be NULL if present.
9968 Amended the code to reflect the specs.
9969 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9971 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9973 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9974 Call parameter 'defaultValue' not 'defValue'.
9976 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9978 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9981 2006-08-01 Roman Kennke <kennke@aicas.com>
9984 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9985 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9986 components when visual property chanegs.
9988 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9990 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9991 (toString()): Corrected documentation.
9992 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9993 * javax/management/openmbean/OpenMBeanInfo.java,
9994 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9996 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9997 (toString()): Corrected documentation.
9999 2006-08-01 Tania Bento <tbento@redhat.com>
10001 * java/awt/Choice.java
10002 (remove(int)): Added documentation.
10004 2006-08-01 Tania Bento <tbento@redhat.com>
10006 * java/awt/Choice.java
10007 (remove(int)): An IllegalArgumentException should not be thrown
10008 if int is invalid. Update selectedIndex and peer selection.
10010 2006-08-01 Tania Bento <tbento@redhat.com>
10012 * java/awt/CardLayout.java
10013 (toString): Changed format of string outputted.
10014 (goToComponent): Changed the order of the if-clause.
10016 2006-07-31 Tom Tromey <tromey@redhat.com>
10018 * INSTALL: Updated for ASM.
10020 2006-07-31 Tom Tromey <tromey@redhat.com>
10023 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10024 (attachment): Likewise.
10025 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10027 (isValid): Likewise.
10028 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10030 (interestOps): Synchronize.
10031 (readyOps): Likewise.
10032 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10035 2006-07-31 Roman Kennke <kennke@aicas.com>
10037 * NEWS: Added note about the X peers.
10038 * INSTALL: Added install notes about the X peers.
10040 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
10042 * StrictMath.java (getLowDWord): Return long instead of int.
10043 (getHighDWord): Likewise.
10044 (buildDouble): Take two long arguments.
10045 (cbrt): Adapted to int -> long change.
10049 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10051 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10054 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
10056 * java/security/Provider.java: Updated copyright year.
10057 Updated documentation.
10059 (put): Updated documentation.
10060 Added security manager check.
10061 Canonicalize the key before adding its mapping.
10062 (get): Override superclass implementation to use canonicalized keys.
10063 (remove): Updated documentation.
10064 Added security manager check.
10065 Canonicalize the key before removing its mapping.
10066 (clear): Updated documentation.
10067 Added security manager check.
10068 (toCanonicalKey): New method.
10070 2006-07-30 Matt Wringe <mwringe@redhat.com>
10072 * gnu/java/security/Engine.java
10073 (getInstance): Ignore self referencing aliases.
10075 2006-07-30 Mark Wielaard <mark@klomp.org>
10077 * javax/swing/JComponent.java (getListeners): Revert
10080 2006-07-30 Mark Wielaard <mark@klomp.org>
10082 * resource/java/security/classpath.security: Add /dev/urandom as
10083 default securerandom.source.
10085 2006-07-30 Mark Wielaard <mark@klomp.org>
10087 * java/util/GregorianCalendar.java (maximums): Months can have up to
10089 (nonLeniencyCheck): weeks is either 5 or 6.
10091 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10093 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10094 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10097 2006-07-30 Matt Wringe <mwringe@redhat.com>
10099 * gnu/java/security/Engine.java
10100 (getInstance): Ignore self referencing aliases.
10102 2006-07-30 Sven de Marothy <sven@physto.se>
10104 * java/awt/Choice.java:
10105 (accessibleAction): Call select() directly.
10106 (add, insert, remove): Reimplement.
10107 (dispatchEventImpl): Always call super.
10108 (processItemEvent): Does not set the index.
10109 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10110 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10112 (nativeAdd): Name changed to add.
10113 (selection_changed_cb): Simplify callback.
10114 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10115 (selected): New field.
10116 (add): Replaced with native impl.
10117 (handleEvent): New method.
10119 2006-07-30 Sven de Marothy <sven@physto.se>
10121 * java/awt/Choice.java:
10122 Reformat, fix copyright year.
10124 2006-07-29 Mark Wielaard <mark@klomp.org>
10126 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10127 static field isPaintingDoubleBuffered to not have the same name
10130 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10132 * examples/gnu/classpath/examples/management/TestBeans.java:
10134 * javax/management/MBeanAttributeInfo.java:
10135 (toString()): Implemented.
10136 * javax/management/MBeanConstructorInfo.java:
10137 (toString()): Implemented.
10138 * javax/management/MBeanFeatureInfo.java:
10139 (toString()): Implemented.
10140 * javax/management/MBeanInfo.java:
10141 (toString()): Implemented.
10142 * javax/management/MBeanNotificationInfo.java:
10143 (toString()): Implemented.
10144 * javax/management/MBeanOperationInfo.java:
10145 (toString()): Implemented.
10146 * javax/management/MBeanParameterInfo.java:
10147 (toString()): Implemented.
10148 * javax/management/StandardMBean.java:
10149 (getMBeanInfo()): Fix attribute naming.
10151 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10153 * gnu/java/lang/management/BeanImpl.java:
10154 Extended javax.management.StandardMBean.
10155 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10156 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10157 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10158 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10159 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10160 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10161 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10162 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10163 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10164 Call the superclass with the appropriate class.
10165 * java/lang/management/ManagementFactory.java:
10166 (getOperatingSystemMXBean()): Catch exception from
10168 (getRuntimeMXBean()): Likewise.
10169 (getClassLoadingMXBean()): Likewise.
10170 (getThreadMXBean()): Likewise.
10171 (getMemoryMXBean()): Likewise.
10172 (getCompilationMXBean()): Likewise.
10173 (getMemoryPoolMXBeans()): Likewise.
10174 (getMemoryManagerMXBeans()): Likewise.
10175 (getGarbageCollectorMXBeans()): Likewise.
10176 * javax/management/MBeanFeatureInfo.java:
10177 hashCode()): Fixed to check for null values.
10179 2006-07-29 Matt Wringe <mwringe@redhat.com>
10181 * gnu/java/security/Engine.java
10182 (getInstance): Add case insentivity to algorithm names
10183 * java/security/Provider.java
10184 (put): Stop using canonical key naming
10186 (toCanonicalKey): Method removed
10187 (get): Method removed, no longer needs to overwrite
10188 parent implementation
10190 2006-07-29 Mark Wielaard <mark@klomp.org>
10192 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10193 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10194 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10195 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10196 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10197 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10200 2006-07-29 Sven de Marothy <sven@physto.se>
10202 * java/math/BigDecimal.java
10203 Adjust copyright date.
10204 (divide(BigDecimal): Implement.
10205 (precision): Reimplement.
10206 (numDigitsInBigInteger, numDigitsInLong): Removed.
10207 (toString): Get exponent from string length,
10208 fix negative values with exponential form.
10209 (toEngineeringString): Same as for toString.
10210 (setScale): Throw ArithmeticException if scale < 0.
10212 2006-07-27 Francis Kung <fkung@redhat.com>
10214 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10215 (cp1): Renamed from first().
10216 (c2): Renamed from last().
10217 (first): Renamed to cp1().
10218 (getDisplacedSegments): Implemented.
10219 (last): Renamed to cp2().
10220 * gnu/java/awt/java2d/LineSegment.java
10221 (cp1): Renamed from first().
10222 (c2): Renamed from last().
10223 (first): Renamed to cp1().
10224 (last): Renamed to cp2().
10225 * gnu/java/awt/java2d/QuadSegment.java
10226 (cp1): Renamed from first().
10227 (c2): Renamed from last().
10228 (first): Renamed to cp1().
10229 (last): Renamed to cp2().
10230 * gnu/java/awt/java2d/Segment.java: Added comments.
10231 (first): New field.
10232 (Segment): Keep track of first element in list.
10233 (add): Update first & last element variables.
10234 (cp1): Renamed from first().
10235 (c2): Renamed from last().
10236 (first()): Renamed to cp1() to reduce ambiguity.
10237 (last()): Renamed to cp2() to reduce ambiguity.
10238 (reverseAll): Update first element variable..
10239 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10240 (draw): Remove flattening path iterator.
10241 * java/awt/BasicStroke.java: Clarified comments.
10242 (addSegments): Refactored some code into joinSegments and
10244 (capEnd): Rename of Segment.first() and Segment.end().
10245 (joinInnerSegments): New method.
10246 (joinOuterSegments): New method.
10247 (joinSegments): Refactored some code into joinOuterSegments.
10248 (solidStroke): Connect segments together properly.
10250 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10252 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10254 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10256 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10258 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10261 2006-07-28 Tom Tromey <tromey@redhat.com>
10263 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10265 2006-07-28 Lillian Angel <langel@redhat.com>
10267 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10268 Removed function declarations.
10269 (connect_signals_for_widget): Removed implementation because
10270 stub functions have been removed.
10271 (drag_begin_cb): Removed function.
10272 (drag_motion_cb): Likewise.
10273 (drag_data_get_cb): Likewise.
10274 (drag_data_delete_cb): Likewise.
10275 (drag_drop_cb): Likewise.
10276 (drag_end_cb): Likewise.
10277 (drag_data_received_cb): Likewise.
10279 2006-07-28 Mark Wielaard <mark@klomp.org>
10281 * configure.ac: Set version to 0.93-pre.
10283 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10285 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10287 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10289 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10290 (getCallbackHandler): Fully qualify linked class in javadoc.
10291 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10292 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10293 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10295 2006-07-27 Tom Tromey <tromey@redhat.com>
10297 PR classpath/28486:
10298 * java/net/URLStreamHandler.java (equals): Properly handle default
10299 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10301 2006-07-27 Roman Kennke <kennke@aicas.com>
10303 * javax/swing/text/AbstractDocument.java
10304 (documentCV): Made field private.
10305 (bypass): Made field private.
10306 (bidiRoot): New field.
10307 (AbstractDocument): Initialize bidiRoot.
10308 (getBidiRootElement): Return bidiRoot.
10309 (getRootElements): Adjusted to also return the bidiRoot element.
10310 (BranchElement.startOffset): Removed unneeded field.
10311 (BranchElement.endOffset): Removed unneeded field.
10312 (BranchElement.BranchElement): Removed unneeded fields.
10313 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10314 done automatically when there's no element left in the array.
10315 (BranchElement.getStartOffset): Likewise.
10316 (BranchElement.replace): Reordered calculations to avoid double
10318 (removeImpl): Silently ignore requests with length <= 0.
10319 * javax/swing/text/GapContent.java
10320 (createPosition): Removed explicit check for correct offset.
10321 This class can deal with offsets outside the document.
10322 (shiftEnd): Update all positions, even those outside the
10324 (adjustPositionsInRange): Fixed to also adjust positions outside
10325 the document boundary.
10327 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10329 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10331 (getParameter): Returns _klass field instead of determining
10332 class from _instance.
10333 (setCatchLoc): New method.
10334 (writeData): Now assumes Location deals with empty locations instead of
10336 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10337 locations and write out accordingly.
10338 (getEmptyLocation): New method.
10340 2006-07-27 Roman Kennke <kennke@aicas.com>
10342 * javax/swing/text/SimpleAttributeSet.java
10343 (EMPTY): Use EmptyAttributeSet for this field rather than
10344 SimpleAttributeSet.
10345 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10346 an empty and immutable AttributeSet.
10348 2006-07-27 Roman Kennke <kennke@aicas.com>
10350 * java/awt/Component.java
10351 (reshape): Invalidate the component itself only when the
10352 size has changed. Invalidate the parent always. Fixed
10353 repainting. Pulled out the notification into
10355 (notifyReshape): New helper method. Notify interested listeners
10357 (update): Simply call paint() without clearing the background.
10358 This is done in Container.update() if appropriate.
10359 (repaint): Delagate the repaint to the nearest heavyweight
10360 parent (for lightweights) and send an UPDATE event, rather than
10361 calling ComponentPeer.repaint().
10362 * java/awt/Container.java
10363 (backCleared): Removed field.
10364 (paint): Removed handling of backCleared flag.
10365 (update): Only paint if the container is actually
10366 showing. Removed handling of backCleared flag.
10368 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10370 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10372 (NavigateAction): New inner class.
10373 (NavigatePageDownAction): New inner class.
10374 (NavigatePageUpAction): New inner class.
10375 (RequestFocusAction): New inner class.
10376 (RequestFocusForVisibleComponentAction): New inner class.
10377 (FocusHandler.focusGained): Implemented.
10378 (FocusHandler.focusLost): Implemented.
10379 (MouseHandler.mouseReleased): Implemented.
10380 (MouseHandler.mousePressed): Rewritten.
10381 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10382 currentScrollLocation to 0.
10383 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10384 removed local variables, fixed indentation to stay under 80 column
10386 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10387 one, set selectedIndex to 0 if its negative, corrected start values
10388 for normalization, suppressed padding when only one tab run,
10389 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10390 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10391 80 column limit, corrected the starting value for the bounds fixing
10393 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10394 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10395 selectedRun, set start index for loop to 0.
10396 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10397 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10398 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10399 alignment and visibility handling.
10400 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10402 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10403 (currentScrollOffset): New field.
10404 (tabRuns): Rewritten documentation.
10405 (selectedColor): New field.
10406 (tempTextRect): New field.
10407 (tempIconRect): New field.
10408 (scrollTab): New method.
10409 (updateButtons): New method.
10410 (updateViewPosition): New method.
10411 (createLayoutManager): Reordered method calls, predefine new fields,
10412 register proper listeners.
10413 (uninstallComponents): Implemented.
10414 (installDefaults): Corrected property names, fixed indentation,.
10415 (uninstallDefaults): Set new fields to null.
10416 (uninstallListeners): Remove listeners from components neccessary for
10417 scrolling tab layout.
10418 (installKeyboardActions): Implemented.
10419 (uninstallKeyboardActions): Implemented.
10420 (paint): Paint tab area background.
10421 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10423 (getTabLabelShiftX): Rewritten.
10424 (getTabLabelShiftY): Rewritten.
10425 (paintFocusIndicator): Reindented.
10426 (paintTabBorder): Rewritten.
10427 (paintTabBackground): Corrected color usage, rewritten background
10428 rectangle painting.
10429 (paintContentBorderTopEdge): Rewritten.
10430 (paintContentBorderBottomEdge): Rewritten.
10431 (paintContentBorderLeftEdge): Rewritten.
10432 (paintContentBorderRightEdge): Rewritten.
10433 (tabForCoordinate): Return selected index when no tab could be
10434 found, removed FIXME note.
10435 (getRunForTab): Changed return value for first if-statement.
10436 (navigateSelectedTab): Fixed last argument for both
10437 getTabRunOffset() calls.
10438 (selectedNextTabInRun): Added scrolling code.
10439 (selectedPreviousTabInRun): Added scrolling code.
10440 (selectedNextTab): Added scrolling code.
10441 (selectedPreviousTab): Added scrolling code.
10442 (selectAdjacentRunTab): Added scrolling code.
10443 (getTextViewForTab): Added FIXME note.
10444 (calculateTabHeight): Changed FIXME note.
10445 (getTabRunOffset): Fixed indentation.
10446 (getNextTabIndexInRun): Corrected return value.
10447 (rotateInsets): Make TOP case the default in switch-statement.
10448 (getActionMap): New method.
10449 (createActionMap): New method.
10450 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10451 (createLayoutManager): Rewritten.
10452 (paintLeftTabBorder): Do not paint left line when previous tab
10453 is selected but current tab is the first in its run, do not paint
10454 left line when current tab is selected and is first in its run.
10455 (paintRightTabBorder): Added missing setColor() call, fixed color
10456 usage, do not paint right line if previous tab is selected but
10457 current tab is the first in its run.
10458 (paintBottomTabBorder): Do not paint left line if tab is selected
10459 and is the first tab in the last run.
10460 (paintFocusIndicator): New method.
10461 (getLabelShiftX): New method.
10462 (getLabelShiftY): New method.
10464 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10466 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10467 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10468 g_assert from unused obj.
10469 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10470 obj as unused and remove g_assert on it.
10472 2006-07-26 Roman Kennke <kennke@aicas.com>
10474 * javax/swing/RepaintManager.java
10475 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10477 (isCompletelyDirty): Consider a component completely dirty
10478 when it has a dirty region with Integer.MAX_VALUE.
10480 2006-07-26 Roman Kennke <kennke@aicas.com>
10482 * java/awt/KeyboardFocusManager.java
10483 (getGlobalFocusOwner): Explicitly check for thread security.
10484 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10485 (getGlobalFocusedWindow): Explicitly check for thread security.
10486 (getGlobalActiveWindow): Explicitly check for thread security.
10487 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10488 (getGlobalObject): Added new argument for specifying if
10489 a security check should be performed or not.
10490 (setGlobalObject): Don't check for thread security when
10491 calling getGlobalObject.
10493 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10495 * javax/management/MBeanConstructorInfo.java:
10497 * javax/management/MBeanInfo.java:
10498 (MBeanInfo(String,String,MBeanAttributeInfo[],
10499 MBeanConstructorInfo[], MBeanOperationInfo[],
10500 MBeanNotificationInfo[])): Implemented.
10501 (equals(Object)): Likewise.
10502 (getAttributes()): Likewise.
10503 (getConstructors()): Likewise.
10504 (getOperations()): Likewise.
10505 (hashCode()): Likewise.
10506 * javax/management/MBeanOperationInfo.java,
10507 * javax/management/NotCompliantMBeanException.java,
10508 * javax/management/StandardMBean.java:
10511 2006-07-26 Sven de Marothy <sven@physto.se>
10513 * java/awt/geom/GeneralPath.java: Fix severe typo.
10515 2006-07-26 Sven de Marothy <sven@physto.se>
10517 * include/java_lang_VMSystem.h
10518 * vm/reference/java/lang/VMSystem.java
10519 * native/jni/java-lang/java_lang_VMSystem.c
10520 (nanoTime, currentTimeMillis): Switch the former to native code and
10521 the latter to java.
10523 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10525 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10526 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10527 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10528 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10529 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10530 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10531 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10532 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10533 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10534 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10535 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10536 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10537 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10538 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10539 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10540 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10541 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10542 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10543 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10544 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10545 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10547 2006-07-26 Roman Kennke <kennke@aicas.com>
10549 * java/awt/KeyboardFocusManager.java
10550 (getFocusOwner): Don't check permanent owner.
10551 (getGlobalFocusOwner): Don't check permanent owner.
10553 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10555 * StrictMath.java (cosh): New method.
10556 (expm1): New method.
10557 (EXPM1_Q1): New field.
10558 (EXPM1_Q2): Likewise.
10559 (EXPM1_Q3): Likewise.
10560 (EXPM1_Q4): Likewise.
10561 (EXPM1_Q6): Likewise.
10563 2006-07-26 Roman Kennke <kennke@aicas.com>
10565 * javax/swing/plaf/basic/BasicButtonListener.java
10566 (mousePressed): Request focus if appropriate.
10567 * javax/swing/text/DefaultCaret.java
10568 (mousePressed): Also handle the focus of the text component
10569 as specified. Don't consume events.
10571 2006-07-26 Roman Kennke <kennke@aicas.com>
10573 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10574 (focusRequest): Removed field.
10575 (postFocusEvent(int,boolean,Component)): Removed.
10576 (postFocusEvent(int,boolean)): Reverted to post event using
10577 the heavyweight component.
10578 (requestFocus): Post focus event using the heavyweight
10580 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10581 (requestFocus): Post focus event using the heavyweight
10583 * java/awt/AWTEvent.java
10584 (isFocusManagerEvent): New field, indicating if this is
10585 an event that is redispatched by the KeyboardFocusManager.
10586 * java/awt/Component.java
10587 (requestFocusImpl): Register component for
10588 heavyweight->lightweight mapping.
10589 (dispatchEventImpl): Retarget focus events before dispatching
10590 to the KeyboardFocusManager. Use new AWTEvent flag instead
10591 of locking hack. Dispatch all events through the
10592 KeyboardFocusManager. Don't request focus on lightweight
10594 * java/awt/DefaultKeyboardFocusManager.java
10595 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10597 (handleFocusGained): Fixed handling of temporary vs permanent
10598 focus changes. Added some checks.
10599 (handleFocusLost): Fixed handling of temporary vs permanent
10600 focus changes. Added some checks.
10601 * java/awt/EventDispatchThread.java
10602 (run): Don't dispatch to KeyboardFocusManager here. This
10603 is done in Component.dispatchEventImpl().
10604 * java/awt/KeyboardFocusManager.java
10605 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10606 (focusRequests): New field.
10607 (retargetFocusEvent): New method. Retargets focus events
10608 that come from heavyweights to the correct lightweight component.
10609 (addLightweightFocusRequest): New method. Stores a mapping
10610 for later retargetting of heavyweight focus events.
10611 * java/awt/Window.java
10612 (addFocusListener): Removed bogus method. If at all, this
10613 should be performed in the KeyboardFocusManager.
10614 (Window): Don't install a focus listener on the Window.
10616 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10618 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10619 (drawLine): Apply shift to line coordinates.
10621 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10623 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10624 (copyimage): Do not call setRenderingHints() when the respective map
10626 (filter): Removed code to clone the ColorModel instance.
10627 * java/awt/image/ColorModel.java:
10628 (cloneColorModel): Removed.
10630 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10632 * javax/swing/JTabbedPane.java:
10633 (setSelectedIndex): Removed updating of component visibility status,
10635 (remove(Component)): Use indexOfComponent() to find whether we have
10636 to use super.remove(int) or removeTabAt().
10638 2006-07-26 Roman Kennke <kennke@aicas.com>
10640 * javax/swing/JOptionPane.java
10641 (createDialog): Add property change handler for closing
10642 the dialog when the value property changes.
10643 (ValuePropertyHandler): New inner helper class.
10644 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10645 (OptionPaneCloseAction): New class.
10646 (messageForeground): Removed field.
10647 (messageBorder): Removed field.
10648 (buttonBorder): Removed field.
10649 (addIcon): Configure the new label.
10650 (addMessageComponents): Configure newly created labels.
10651 (burstStringInto): Likewise.
10652 (createButtonArea): Install border here.
10653 (createMessageArea): Install border and foreground here.
10654 (createSeparator): Added comment and removed
10655 NotImplementedException.
10656 (installComponents): Don't install the UI defaults for the
10657 message and button area here. This is moved to the
10658 corresponding create* methods. Adjusted comment about
10660 (installDefaults): Removed initialization of removed fields.
10661 (installKeyboardActions): Implemented.
10662 (getActionMap): New helper method.
10663 (createDefaultActions): New helper method.
10664 (uninstallDefaults): Removed de-initialization of removed fields.
10665 (uninstallKeyboardActions): Implemented.
10666 (configureLabel): New helper method.
10667 * javax/swing/plaf/basic/BasicTableUI.java
10668 (getActionMap): Fixed the UI property names.
10669 * javax/swing/plaf/basic/BasicToolBarUI.java
10670 (getActionMap): Fixed the UI property names.
10672 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10674 * java/awt/image/BandedSampleModel.java
10675 (getDataElements): Check for negative x or y,
10676 (getPixels): Likewise,
10677 (getSamples): Likewise,
10678 (setSamples): Likewise.
10680 2006-07-26 Roman Kennke <kennke@aicas.com>
10682 * javax/swing/plaf/basic/BasicToolBarUI.java
10683 (ToolBarAction): New inner class for handling keyboard
10685 (installKeyboardActions): Implemented.
10686 (getActionMap): New helper method.
10687 (createDefaultActions): New helper method.
10688 (installListeners): Install focus listener on toolbar's
10689 children, rather than the toolbar itself.
10690 (navigateFocusedComp): Implemented.
10691 (uninstallKeyboardActions): Implemented.
10692 (uninstallListeners): Uninstall focus listener from
10693 toolbar's children, rather than the toolbar itself.
10694 (ToolBarContListener.componentAdded): Install focus
10695 listener on added child.
10696 (ToolBarContListener.componentRemoved): Uninstall focus
10697 listener from removed child.
10698 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10699 (ToolBarFocusListener.focusGained): Implemented.
10700 (ToolBarFocusListener.focusLost): Implemented.
10702 2006-07-26 Roman Kennke <kennke@aicas.com>
10704 * java/awt/DefaultKeyboardFocusManager.java
10705 (dispatchEvent): Notify old focus owner when it has lost
10708 2006-07-26 Roman Kennke <kennke@aicas.com>
10710 * javax/swing/plaf/basic/BasicTableUI.java
10711 (FocusHandler.focusGained): Implemented to refresh the
10713 (FocusHandler.focusLost): Implemented to refresh the
10715 (FocusHandler.repaintLeadCell): New helper method.
10716 (MouseInputHandler.mouseEntered): Do nothing here.
10717 (MouseInputHandler.mouseExited): Do nothing here.
10718 (MouseInputHandler.mouseMoved): Do nothing here.
10719 (installKeyboardActions): Rewritten to use a shared InputMap
10720 and ActionMap and correctly install the maps via SwingUtilities
10722 (getActionMap): New helper method.
10723 (createDefaultActions): New helper method.
10724 (ActionListenerProxy): Removed unneeded class.
10725 (TableAction): Made class static.
10726 (TableAction.actionPerformed): Determine table by fetching
10727 the event source. Pass the table to helper methods.
10728 Use __command__ hack to determine the action command.
10729 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10730 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10731 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10732 (TableAction.getLastVisibleRowIndex): Get table as argument.
10733 (TableAction.advanceMultipleSelection): Get table as argument.
10734 (uninstallDefaults): Do nothing here.
10735 (uninstallKeyboardActions): Uninstall the keyboard actions.
10737 2006-07-26 Roman Kennke <kennke@aicas.com>
10739 * javax/swing/JComponent.java
10740 (processKeyBinding): Store the action command as property
10741 in the Action instance that we call. This allows for
10742 improvement on the side of the Action.
10744 2006-07-26 Roman Kennke <kennke@aicas.com>
10746 * javax/swing/plaf/metal/MetalUtils.java
10747 (fillMetalPattern): Use fillRect() instead of drawLine() to
10748 fill single pixels.
10750 2006-07-26 Roman Kennke <kennke@aicas.com>
10752 * javax/swing/text/GapContent.java
10753 (getChars): Check for negative length and throw
10754 BadLocationException.
10756 2006-07-26 Roman Kennke <kennke@aicas.com>
10758 * javax/swing/plaf/basic/BasicMenuBarUI.java
10759 (FocusAction): Made class static.
10761 2006-07-26 Roman Kennke <kennke@aicas.com>
10763 * javax/swing/plaf/basic/BasicLookAndFeel.java
10764 (initComponentDefaults): Add keyboard bindings for
10767 2006-07-26 Roman Kennke <kennke@aicas.com>
10769 * javax/swing/UIManager.java
10770 (getLookAndFeelDefaults): Return the look and feel defaults.
10771 (setLookAndFeel): Improved exception messsage.
10773 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10775 * javax/swing/text/StringContent.java
10776 (StringContent): Changed initialLength to 10.
10778 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10780 * java/util/Vector.java: Fixed API doc typo.
10782 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10784 * java/awt/image/BandedSampleModel.java
10785 (createCompatibleSampleModel): Fixed typo in loop increment, set
10786 correct scanlineStride, and updated API docs.
10788 2006-07-25 Roman Kennke <kennke@aicas.com>
10790 * javax/swing/plaf/basic/BasicPopupMenuUI.java
10791 (NavigateAction): New inner class. This is responsible for
10792 keyboard navigation through menus.
10793 (KeyboardHelper): New inner class. This manages the
10794 keyboard mappings and focus when a popup opens or closes.
10795 (keyboardHelper): New static field.
10796 (numPopups): New static field.
10797 (installUI): Create KeyboardHelper for first popup.
10798 Call installKeyboardActions().
10799 (installKeyboardActions): Removed NotImplementedException.
10800 This method is a no-op.
10801 (installKeyboardActionsImpl): New method. Installs keyboard
10802 mapping when a popup is opened.
10803 (getActionMap): New helper method.
10804 (createDefaultActions): New helper method.
10805 (uninstallUI): Uninstall KeyboardHelper when last Popup is
10806 uninstalled. Call uninstallKeyboardActions().
10807 (uninstallKeyboardActions): Removed NotImplementedException.
10808 This method is a no-op.
10809 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10810 mapping when a popup is closed.
10812 2006-07-25 Roman Kennke <kennke@aicas.com>
10814 * java/awt/Component.java
10815 (requestFocus()): Reimplemented to use requestFocusImpl().
10816 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10817 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10818 (requestFocusInWindow(boolean)): Reimplemented to use
10819 requestFocusImpl().
10820 (requestFocusImpl): Reimplemented focus request to use
10821 new peer method. Also added some obvious additional checks
10822 for rejecting focus requests early.
10823 * java/awt/ComponentPeer.java
10824 (requestFocus(Component,boolean,boolean,long)): Documented
10826 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10827 (requestFocus): New field.
10828 (gtkWidgetHasFocus): New native method.
10829 (gtkWidgetCanFocus): New native method.
10830 (requestFocus): Replaced with assert false to prevent
10831 usage of obsolete method.
10832 (postFocusEvent(int,boolean,Component)): New overloaded method
10833 for posting the focus event to a specific target.
10834 (postFocusEvent(int,boolean)): Post event to requestFocus
10836 (requestFocus(Component,boolean,boolean,long)): Implemented.
10837 (getWindowFor): New helper method.
10838 (isLightweightDescendant): New helper method.
10839 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10840 (gtkWindowHasFocus): New native method.
10841 (requestFocus(Component,boolean,boolean,long)): New method.
10842 Overrides GtkComponentPeer method to specially handly the
10843 case when a Window receives a focus request for a lightweight
10845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10846 (gtkWidgetHasFocus): New native method.
10847 (gtkWidgetCanFocus): New native method.
10848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10849 (gtkWindowHasFocus): New native method.
10850 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10851 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10854 2006-07-25 Francis Kung <fkung@redhat.com>
10856 * java/awt/DefaultKeyboardFocusManager.java
10857 (dispatchEvent): Add check for valid component.
10859 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
10861 * javax/management/MBeanConstructorInfo.java:
10863 * javax/management/MBeanNotificationInfo.java:
10865 * javax/management/MBeanParameterInfo.java:
10868 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10870 * java/awt/peer/gtk/CairoGraphics.java:
10871 (drawLine): Added special case for 1 pixel lines.
10873 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10876 * java/awt/peer/gtk/CairoGraphics.java:
10877 (drawLine): Removed calls to shifted().
10879 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10881 * javax/swing/JTabbedPane.java:
10882 (remove(Component)): Rewritten.
10883 (setSelectedIndex): Implemented updating of component visibility state.
10885 2006-07-25 Sven de Marothy <sven@physto.se>
10887 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10888 (init): Default to the actual depth in the worst case.
10890 * java/awt/Font.java
10891 (createFont(int, File)): New method.
10893 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
10896 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10898 (RETokenEnd): New constructer to set check_java_line_terminators.
10899 (matchThis): Checck line terminators if check_java_line_terminators.
10900 * gnu/java/util/regex/RETokenStart.java: Likewise.
10901 * gnu/regexp/RE.java(initialize): Use the new constructors for
10902 RETokenEnd and RETokenStart if REG_MULTILINE is set.
10903 * java/util/regex/Pattern.java(Patteren): Changed so that
10904 gnu/regexp/RE.java may use the new the new constructors.
10906 2006-07-25 Roman Kennke <kennke@aicas.com>
10908 * java/awt/Container.java
10909 (focusTraversalPolicyProvider): New field.
10910 (isFocusTraversalPolicyProvider): New method.
10911 (setFocusTraversalPolicyProvider): New method.
10912 * java/awt/ContainerOrderFocusTraversalPolicy.java
10913 (getFirstComponent): Use accept() instead of lengthy checks.
10914 Don't fetch getComponents() to avoid copying of array.
10915 Traverse down the hierarchy to find the first focused component.
10916 * java/awt/DefaultKeyboardFocusManager.java
10917 (dispatchEvent): Let the initial component request focus.
10919 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10921 * javax/swing/text/Segment.java
10922 (last): Update current index before returning DONE for zero count.
10924 2006-07-24 Mark Wielaard <mark@klomp.org>
10926 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10928 2006-07-25 Roman Kennke <kennke@aicas.com>
10930 * javax/swing/plaf/basic/BasicMenuBarUI.java
10931 (FocusAction): New inner class. Used to grab focus.
10932 (installKeyboardActions): Implemented.
10933 (uninstallKeyboardActions): Implemented.
10934 (getActionMap): New helper method.
10935 (createDefaultActions): New helper method.
10937 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10939 * examples/gnu/classpath/examples/swing/Demo.java:
10940 (mkMenuBar): Install instantiable basic look and feel.
10941 (InstantiableBasicLookAndFeel): New inner class.
10943 2006-07-25 Roman Kennke <kennke@aicas.com>
10945 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10946 (GlassPaneDispatcher.dragTarget): New field.
10947 (GlassPaneDispatcher.isDragging): New field.
10948 (GlassPaneDispatcher.pressedComponent): Removed field.
10949 (GlassPaneDispatcher.tempComponent): Removed field.
10950 (GlassPaneDispatcher.pressCount): Removed field.
10951 (GlassPaneDispatcher.mousePressed): Call
10952 borderListener.mousePressed() to activate the frame.
10953 (acquireComponentForMouseEvent): Removed method.
10954 (handleEvent): Rewritten.
10955 (redispatch): New method.
10956 (InternalFramePropertyChangeListener.propertyChange):
10957 Make glasspane invisible when frame is selected, and visible
10958 if it gets deselected.
10960 2006-07-25 Roman Kennke <kennke@aicas.com>
10962 * java/awt/LightweightDispatcher.java
10963 (handleMouseEvent): Dispatch event to real target if
10964 the dragTarget has become invisible in the meantime.
10966 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10968 * javax/swing/text/TabSet.java
10969 (equals): New method override for 1.5,
10970 (hashCode): Likewise,
10971 (toString): Added spaces to match reference implementation.
10973 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10975 * javax/management/IntrospectionException.java,
10976 * javax/management/MBeanAttributeInfo.java:
10978 * javax/management/MBeanNotificationInfo.java:
10979 Documentation cleanups.
10981 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10983 * javax/swing/text/TabSet.java
10984 (TabSet): Check for null argument,
10985 (getTab): Throw IllegalArgumentException for index out of bounds,
10986 (getTabIndexAfter): Changed test to '<=',
10987 and updated API docs all over,
10988 * javax/swing/text/TabStop.java: Updated API docs.
10990 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10992 * javax/swing/text/TabStop.java
10993 (toString): Don't use 'left ' prefix, and added space between tab
10994 location and '(w/leader)' suffix.
10996 2006-07-24 Francis Kung <fkung@redhat.com>
10998 * javax/swing/JComboBox.java
10999 (DefaultKeySelectionManager): Implemented.
11000 (createDefaultKeySelectionManager): Implemented.
11001 (getKeySelectionManager): Implemented.
11002 (processKeyEvent): Removed duplicate code.
11003 * javax/swing/JPopupMenu.java
11004 (selectionModel): Changed visibility.
11005 * javax/swing/plaf/basic/BasicComboBoxUI.java
11006 (KeyHandler.keyPressed): Added navigation keys.
11007 (configureEditor): Add key listener.
11008 (installListeners): Install focus listener to combo box.
11009 (isNavigationKey): Added enter, escape, and tab.
11010 (selectPreviousPossibleValue): Added out of bounds check.
11011 (unconfigureEditor): Remove key listener.
11012 * javax/swing/plaf/metal/MetalComboBoxButton.java
11013 (paintComponent): Highlight combo box when in focus.
11015 2006-07-24 Roman Kennke <kennke@aicas.com>
11017 * javax/swing/SwingUtilities.java
11018 (isLeftMouseButton): Fixed condition.
11019 * java/awt/LightweightDispatcher.java
11020 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11023 2006-07-24 Roman Kennke <kennke@aicas.com>
11025 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11026 (setPaint): Fixed scaleX and scaleY.
11028 2006-07-24 Roman Kennke <kennke@aicas.com>
11030 * javax/swing/JTable.java
11031 (handleInsert): Repaint the whole table for variable row
11032 height tables and an optimized region otherwise.
11033 (handleDelete): Likewise.
11034 (handleUpdate): Likewise.
11036 2006-07-24 Mario Torre <neugens@limasoftware.net>
11038 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11039 now explicity registerListeners on GtkMouseDragGestureRecognizer
11041 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11042 (unregisterListeners): new method, overrided from base class
11043 to rise visibility (from protected to public).
11044 (registerListeners): Likewise.
11045 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11046 removed call to registerListeners from the constructor.
11048 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
11050 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11051 * java/lang/management/MemoryPoolMXBean.java:
11052 (getType()): Changed return type to MemoryType.
11053 * java/lang/management/MemoryType.java:
11056 2006-07-23 Mark Wielaard <mark@klomp.org>
11058 * configure.ac: Check for moc and moc-qt4.
11060 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
11062 * java/awt/image/Kernel.java: API doc updates.
11064 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11066 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11069 2006-07-22 Mark Wielaard <mark@klomp.org>
11071 * java/lang/Iterable.java: Import all of java.util.
11072 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11073 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11075 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11077 * doc/vmintegration.texinfo:
11078 Document getType(String).
11079 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11080 * java/lang/management/MemoryPoolMXBean.java:
11081 (getType()): Implemented.
11082 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11083 (getType(String)): Implemented.
11085 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11087 * doc/vmintegration.texinfo:
11088 Move end of itemization block.
11090 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11092 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11093 (initComponentDefaults): Added new properties, added comments.
11095 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11097 * doc/vmintegration.texinfo:
11098 Mention callback methods.
11099 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11100 (fireNotification(String,String,long,long,long,long,long)):
11101 Made package-private.
11102 (fireThresholdExceededNotification(String,long,long,long,
11103 long,long)): Likewise.
11104 (fireCollectionThresholdExceededNotification(String,long,
11105 long,long,long,long)): Likewise.
11106 * java/lang/management/MemoryMXBean.java:
11107 Document notifications.
11109 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11111 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11112 (fireNotification(String,String,long,long,long,long,long)):
11114 (fireThresholdExceededNotification(String,long,long,long,
11115 long,long)): Likewise.
11116 (fireCollectionThresholdExceededNotification(String,long,
11117 long,long,long,long)): Likewise.
11118 * java/lang/management/MemoryNotificationInfo.java:
11119 Use composite type from MemoryMXBeanImpl.
11120 * javax/management/openmbean/CompositeData.java:
11121 Correct documentation.
11122 * javax/management/openmbean/CompositeDataSupport.java,
11123 * javax/management/openmbean/InvalidKeyException.java:
11126 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11128 * gnu/java/security/util/IntegerUtil.java: New file.
11130 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11133 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11134 (KEY_SIZE): Likewise.
11135 (adjustParity(int,byte[],int): New method.
11136 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11137 (isParityAdjusted(int,byte[],int)): New method.
11138 (isParityAdjusted): Call above method with 3 as 1st argument.
11139 (keySizes): Add 8 and 16 as other valid key sizes.
11140 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11142 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11144 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11145 code for the pixel swap routine to be more efficient.
11147 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11149 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11150 (lastIndexOf(E, int)): Likewise.
11151 (add(E)): Increase the size of newData array by one.
11152 (add(int, E)): Likewise.
11154 2006-07-20 Lillian Angel <langel@redhat.com>
11156 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11157 Removed unused fields.
11158 (GtkMouseDragGestureRecognizer): Removed initializations.
11160 2006-07-20 Lillian Angel <langel@redhat.com>
11162 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11163 (GtkMouseDragGestureRecognizer): New constructor.
11164 (GtkMouseDragGestureRecognizer): New constructor.
11165 (GtkMouseDragGestureRecognizer): New constructor.
11166 (mouseClicked): Removed FIXME.
11167 (mousePressed): Implemented.
11168 (mouseReleased): Implemented.
11169 (mouseEntered): Implemented.
11170 (mouseDragged): Implemented to check mouse point and trigger origin.
11171 (mouseMoved): Removed FIXME.
11172 (getDropActionFromEvent): New helper function used to convert mouse event
11173 modifiers to a drop action.
11174 * java/awt/dnd/DragSource.java
11175 (getDragThreshold): Changed to return some arbitrary value for testing
11178 2006-07-20 Roman Kennke <kennke@aicas.com>
11180 * java/awt/LightweightDispatcher.java
11181 (findTarget): Also consider components that have their eventMask
11182 set, for compatibility with stonage AWT. Optimized check
11184 (handleMouseEvent): Likewise.
11186 2006-07-20 Roman Kennke <kennke@aicas.com>
11188 * javax/swing/JTable.java
11189 (tableChanged): Split out handling of the event into multiple
11191 (handleCompleteChange): New method. Clear the selection and
11192 check the lead/anchor indices.
11193 (handleInsert): New method. Check the lead/anchor indices.
11194 Optimized repainting.
11195 (handleDelete): New method. Check the lead/anchor indices.
11196 Optimized repainting.
11197 (handleUpdate): New method. Optimized repainting.
11198 (checkSelection): New helper method.
11199 (setSelectionModel): Update lead/anchor indices.
11201 2006-07-20 Lillian Angel <langel@redhat.com>
11204 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11205 (dispose): Reset all fields.
11207 2006-07-20 Roman Kennke <kennke@aicas.com>
11209 * gnu/java/awt/peer/x/XToolkit.java
11210 (createImage(InputStream)): Only copy image to Pixmap if
11211 it's actually opaque. Transparent images are left as
11212 BufferedImage and composited later onto the screen.
11213 * gnu/java/awt/peer/x/XGraphics.java
11214 (XGraphics): Fetch some parameters for image rendering.
11215 (drawImage): Added special handling of transparent images.
11216 (getRGB): New helper method.
11217 (setRGB): New helper method.
11219 2006-07-20 Roman Kennke <kennke@aicas.com>
11221 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11222 ImageInputStreams as normal InputStreams.
11223 * gnu/javax/imageio/gif/GIFStream.java:
11224 Moved to gnu/javax/imageio/IIOInputStream.java.
11225 * gnu/javax/imageio/gif/GIFImageReader.java
11226 (readImage): Use IIOInputStream.
11227 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11228 (canDecodeInput): Use IIOInputStream.
11229 * gnu/javax/imageio/png/PNGException.java: Make subclass
11231 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11232 Implements the ImageIO ImageReader for PNG.
11233 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11234 Implements the ImageIO ImageReaderSpi for PNG.
11235 * javax/imageio/spi/IIORegistry.java:
11236 (IIORegistry): Add PNGImageReaderSpi.
11238 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11240 * java/awt/image/ComponentSampleModel.java
11241 (getPixel): Added argument check,
11242 (getSample): Modified exception message.
11244 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11247 * java/awt/image/ConvolveOp.java
11248 (filter(Raster, WritableRaster)): Reimplemented,
11249 (fillEdge): New private method.
11251 2006-07-19 Keith Seitz <keiths@redhat.com>
11253 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11254 (JVMTI_VERSION): Define.
11256 2006-07-19 Roman Kennke <kennke@aicas.com>
11258 * resource/gnu/regexp/MessagesBundle.properties,
11259 * resource/gnu/regexp/MessagesBundle_fr.properties,
11260 * resource/gnu/regexp/MessagesBundle_it.properties:
11261 Moved to resource/gnu/java/util/regex.
11262 * resource/gnu/java/util/regex/MessagesBundle.properties,
11263 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11264 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11266 * gnu/java/util/regex/RE.java
11267 Use new resource bundle location.
11269 2006-07-19 Roman Kennke <kennke@aicas.com>
11271 * javax/swing/JComponent.java
11272 (paintChildren): Refactored. The paintChildrenOptimized method
11273 has been moved back in here. Added locking of the tree and
11274 only check for completely obscured child components
11275 when not optimized drawing enabled. Use Graphics.create() to
11276 protect from irreversible changes.
11277 (isCompletelyObscured): New helper method.
11278 (paintComponent): Also use Graphics.create() for Graphics2D,
11279 to protect from irreverible changes.
11280 (clipAndTranslateGraphics): Refactored to use more efficient
11281 iterative (vs recursive) approach.
11282 * javax/swing/RepaintManager.java
11283 (getOffscreenBuffer): Create image from root component.
11285 2006-07-19 Roman Kennke <kennke@aicas.com>
11287 * gnu/java/awt/peer/x/XGraphics.java
11288 (translate): Don't set the clip on the X server.
11289 (clipRect): Use setXClip() to set the clip on the X server.
11290 (hitClip): More efficient and correct implementation.
11291 (setClip): Use setXClip() to set the clip on the X server.
11292 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11293 (copyArea): Translate and clip the source rectangle correctly.
11294 (dispose): Only flush when object is not yet disposed.
11295 (clone): Use setXClip() to set the clip on the X server.
11297 2006-07-19 Sven de Marothy <sven@physto.se>
11299 * gnu/javax/imageio/png/PNGChunk.java,
11300 * gnu/javax/imageio/png/PNGData.java,
11301 * gnu/javax/imageio/png/PNGDecoder.java,
11302 * gnu/javax/imageio/png/PNGEncoder.java,
11303 * gnu/javax/imageio/png/PNGException.java,
11304 * gnu/javax/imageio/png/PNGFile.java,
11305 * gnu/javax/imageio/png/PNGFilter.java,
11306 * gnu/javax/imageio/png/PNGGamma.java,
11307 * gnu/javax/imageio/png/PNGHeader.java,
11308 * gnu/javax/imageio/png/PNGICCProfile.java,
11309 * gnu/javax/imageio/png/PNGPalette.java,
11310 * gnu/javax/imageio/png/PNGPhys.java,
11311 * gnu/javax/imageio/png/PNGTime.java:
11314 2006-07-19 Sven de Marothy <sven@physto.se>
11316 * java/net/Inet6Address.java:
11317 (getScopedId, getScopedInterface): New methods.
11319 2006-07-19 Lillian Angel <langel@redhat.com>
11321 * examples/gnu/classpath/examples/awt/Demo.java
11322 (DragDropWindow): Fixed typo in Label text.
11323 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11324 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11325 (startDrag): Initialized context field.
11326 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11328 (dragEnter): New function.
11329 (dragExit): Likewise.
11330 (dragDropEnd): Likewise.
11331 (dragMouseMoved): Likewise.
11332 (dragOver): Likewise.
11333 (dragActionChanged): Likewise.
11335 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11338 * resource/java/security/classpath.security: Updated copyright year.
11339 (auth.login.defaultCallbackHandler): New property; set to our default
11340 callback handler. This is needed by the LoginContext when no callback
11341 handler was specified.
11342 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11343 (LoginContext(4)): Assign passed parameters to local fields before invoking
11346 2006-07-19 Roman Kennke <kennke@aicas.com>
11348 * gnu/java/awt/peer/x/XGraphics.java
11349 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11350 Fixed ordering of parameters.
11352 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11354 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11355 (MemoryMXBeanImpl()): Implemented.
11356 (ListenerData): New private class.
11357 (addNotificationListener(NotificationListener,
11358 NotificationFilter, Object)): Implemented.
11359 (getNotificationInfo()): Likewise.
11360 (removeNotificationListener(NotificationListener)):
11362 (removeNotificationListener(NotificationListener,
11363 NotificationFilter, Object)): Likewise.
11365 2006-07-18 Roman Kennke <kennke@aicas.com>
11367 * gnu/java/awt/peer/x/XFontPeer.java
11368 (encodeFont): Be more flexible with font sizes.
11369 (validSize): New helper method.
11370 * gnu/java/awt/peer/x/XGraphics.java
11371 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11373 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11375 * gnu/java/awt/peer/x/XImage.java
11376 (properties): New field.
11377 (getProperty): Implemented.
11378 * resource/gnu/java/awt/peer/x/fonts.properties:
11379 Added copyright header. Fixed font size field.
11381 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11383 * java/awt/image/BandedSampleModel.java
11384 (createDataBuffer): New method override,
11385 * java/awt/image/ByteLookupTable.java
11386 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11387 (ByteLookuptable(int, byte[])): Check for null array,
11388 * java/awt/image/ComponentSampleModel.java
11389 (createDataBuffer): Removed unnecessary braces,
11390 (getSample): Check (x, y) is within bounds,
11391 * java/awt/image/ShortLookupTable.java
11392 (ShortLookupTable(int, short[][])): Create new array to hold references,
11393 (ShortLookupTable(int, short[])): Check for null array,
11394 (getTable): Added API docs,
11395 (lookupPixel): Source reformatting.
11397 2006-07-18 Tania Bento <tbento@redhat.com>
11399 * java/awt/GridLayout.java
11400 (setHgap): Illegal Argument Exception should not be thrown if
11402 (setVgap): Illegal Argument Exception should not be thrown if
11404 (toString): Opening square braket ([) should appear before hgap
11405 value, not the name of the class.
11407 2006-07-18 Roman Kennke <kennke@aicas.com>
11409 * lib/copy-vmresources.sh.in: Reverted.
11410 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11411 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11413 2006-07-18 Roman Kennke <kennke@aicas.com>
11415 * lib/copy-vmresources.sh.in: Include properties from X peers.
11417 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11420 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11421 certificate validity.
11422 (getIssuerName): New method.
11423 (getSubjectName): Likewise.
11424 (getNotAfterDate): Likewise.
11425 (getNotBeforeDate): Likewise.
11426 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11427 messages for newly added messages in SFHelper.
11429 2006-07-18 Roman Kennke <kennke@aicas.com>
11431 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11432 * gnu/java/awt/peer/x/XEventPump.java
11433 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11434 * gnu/java/awt/peer/x/XFramePeer.java
11435 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11436 * gnu/java/awt/peer/x/XGraphics.java
11437 Made subclass of Graphics rather than Graphics2D. Removed
11438 all Graphics2D specific method stubs.
11439 (setColor): Map colors using the X color map that is
11440 stored in XToolkit.
11441 * gnu/java/awt/peer/x/XToolkit.java
11442 (colorMap): New field.
11443 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11445 (createDialog): Implemented.
11446 (createImage(ImageProducer)): Implemented.
11447 (createImage(InputStream)): Use createImage(ImageProducer)
11448 to convert the BufferedImage to an XImage.
11449 * gnu/java/awt/peer/x/XWindowPeer.java
11450 (XWindowPeer): Removed debug output.
11452 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11454 * java/awt/image/BufferedImageOp.java: API docs added,
11455 * java/awt/image/RasterOp.java: Likewise.
11457 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11459 * java/awt/Graphics2D.java: API docs updated.
11461 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11463 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11466 2006-07-18 Sven de Marothy <sven@physto.se>
11468 * java/net/Inet6Address.java:
11469 Add 1.5 serialized fields.
11470 (getByAddress): New methods.
11471 (readObject, writeObject): New methods.
11472 (equals): Reimplement.
11474 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11476 * java/awt/image/Raster.java: Added API docs and reformatted source
11479 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11481 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11483 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11484 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11485 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11486 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11487 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11488 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11489 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11490 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11491 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11492 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11493 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11494 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11495 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11496 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11497 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11498 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11499 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11500 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11501 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11502 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11503 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11505 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11507 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11508 to make it compile again under jikes. Note added.
11510 2006-07-17 Lillian Angel <langel@redhat.com>
11512 * examples/gnu/classpath/examples/awt/Demo.java
11513 (Demo): Added new window for DnD demo.
11514 (DragDropWindow): New class.
11515 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11516 Added new fields and declarations for native functions.
11517 (GtkDragSourceContextPeer): Implemented.
11518 (getComponentPeer): New function.
11519 (startDrag): Partially implemented.
11520 (getCursor): Implemented.
11521 (setCursor): Implemented.
11522 * include/GtkDragSourceContextPeer.h: New file.
11523 * include/Makefile.am: Added new header file.
11524 * java/awt/Component.java
11525 (addNotify): Added call to the dropTarget's addNotify.
11526 * java/awt/dnd/DragSource.java
11527 (startDrag): Fixed code to use shared instances of peer and
11529 (getDragThreshold): Added stub.
11530 * java/awt/dnd/DropTarget.java
11531 (DropTarget): Implemented fully.
11532 (addNotify): Added code to get the peer of the parent that is
11534 * java/awt/dnd/DropTargetDragEvent.java
11535 (getTransferable): Added stub.
11536 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11537 * native/jni/gtk-peer/Makefile.am: Added new c file.
11538 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11539 Changed to extend GtkGenericPeer.
11540 (GtkDropTargetContextPeer): New constructor.
11541 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11542 Changed to extend GtkGenericPeer.
11543 (GtkDropTargetContextPeer): New constructor.
11545 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11547 * java/awt/image/SinglePixelPackedSampleModel.java
11548 (createSubsetSampleModel): Added argument check and API docs.
11550 2006-07-17 Roman Kennke <kennke@aicas.com>
11552 * gnu/java/awt/peer/x/XGraphics.java
11553 (copyArea): Implemented.
11555 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11557 * java/awt/image/SinglePixelPackedSampleModel.java
11558 (getSampleSize): Return copy of array,
11559 (getOffset): Added API docs,
11560 (getScanlineStride): Likewise,
11561 (hashCode): Implemented.
11563 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11565 * java/awt/image/MultiPixelPackedSampleModel.java
11566 (getOffset): Updated API docs and source reformatting,
11567 (getBitOffset): Source reformatting only,
11568 (getDataElements): Likewise,
11569 (getPixel): Likewise,
11570 (getPixels): Removed method override,
11571 (setDataElements): Reimplemented.
11573 2006-07-17 Gary Benson <gbenson@redhat.com>
11575 * resource/META-INF/services/.cvsignore: New file.
11576 * lib/.cvsignore: Updated.
11578 2006-07-17 Roman Kennke <kennke@aicas.com>
11580 * javax/swing/plaf/basic/BasicButtonListener.java
11581 (propertyChange): Only do the text layout caching as long
11582 as the noGraphics2D property isn't set.
11583 * javax/swing/plaf/basic/BasicMenuItemUI.java
11584 (PropertyChangeHandler.propertyChange): Only do the text layout
11585 caching as long as the noGraphics2D property isn't set.
11587 2006-07-17 Roman Kennke <kennke@aicas.com>
11589 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11590 (XGraphicsEnvironment): Make constructor public so that it
11591 can be called via Class.forName().newInstance().
11592 * gnu/java/awt/peer/x/XImage.java
11593 (XImage): Fetch GraphicsEnvironment via
11594 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11595 than the XToolkit method, to avoid double instantiation
11596 of the XGraphicsEnvironment.
11597 * gnu/java/awt/peer/x/XToolkit.java
11598 (env): Removed field.
11599 (getLocalGraphicsEnvironment): Removed impl. This method
11600 should not be called since we set the graphicsenv property
11601 in the constructor.
11603 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11605 * java/util/UUID.java:
11606 (compareTo(Object)): Call compareTo(UUID).
11607 (compareTo(UUID)): Implemented.
11609 2006-07-16 Tom Tromey <tromey@redhat.com>
11611 * java/lang/StrictMath.java (cbrt): Added '@since'.
11613 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11615 * java/lang/StrictMath.java (cbrt): New method.
11616 (getLowDWord): New helper method.
11617 (getHighDWord): Likewise.
11618 (buildDouble): Likewise.
11619 (CBRT_B1): New field.
11620 (CBRT_B2): Likewise.
11621 (CBRT_C): Likewise.
11622 (CBRT_D): Likewise.
11623 (CBRT_E): Likewise.
11624 (CBRT_F): Likewise.
11625 (CBRT_G): Likewise.
11627 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11629 * javax/management/MBeanInfo.java:
11630 (getNotifications()): Implemented.
11631 * javax/management/NotificationBroadcaster.java:
11632 (removeNotificationListener(NotificationListener)):
11633 Renamed from removeListener.
11634 * javax/management/NotificationEmitter.java:
11635 (removeNotificationListener(NotificationListener,
11636 NotificationFilter, Object)): Likewise.
11637 * javax/management/NotificationFilter.java:
11638 Implement Serializable.
11639 * javax/management/NotificationListener.java:
11640 Implement java.util.EventListener.
11641 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11642 Implement Serializable.
11644 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11646 * java/lang/management/MemoryNotificationInfo.java:
11649 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11652 * gnu/javax/swing/text/html/parser/htmlValidator.java
11653 (tagIsValidForContext): If it is not possible to insert any tag, but
11654 is possible to insert a P, insert a P.
11655 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11656 (newInstance): Removed print statement. (getBodyElements):
11657 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11658 valid body level tags (will be enclosed into P's).
11660 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11662 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11663 Condition the creation of .keystore (a default keystore) based on the
11664 createIfNotFound argument as well.
11666 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11669 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11670 Removed heading p tag from the parsing example.
11671 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11672 (createHtmlContentModel): Explained.
11673 (defineElements): Call getBodyElements to get the body
11674 elements. (getBodyElements): New method. (model):
11675 Made protected from private.
11676 * gnu/javax/swing/text/html/parser/htmlValidator.java
11677 (openTag): Mind that current content model may be null.
11678 (tagIsValidForContext): If the tag is PCDATA, and it is not
11679 valid for context, but the paragraph (P) is valid for context,
11680 suggest to insert the P tag here.
11681 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11682 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11683 implied P tags here.
11684 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11685 Get the custom parser, using HTML_401Swing.java DTD.
11686 * javax/swing/text/html/parser/ParserDelegator.java:
11687 Removed the obsolete note that HTMLEditorKit does not exist.
11688 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11689 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11691 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11693 * javax/management/ListenerNotFoundException.java:
11695 * javax/management/MBeanFeatureInfo.java:
11696 (hashCode()): Use summation instead of multiplication
11697 for consistency with other classes.
11698 * javax/management/MBeanNotificationInfo.java,
11699 * javax/management/Notification.java,
11700 * javax/management/NotificationBroadcaster.java,
11701 * javax/management/NotificationEmitter.java,
11702 * javax/management/NotificationFilter.java,
11703 * javax/management/NotificationListener.java:
11705 * javax/management/OperationsException.java:
11706 (serialVersionUID): Added.
11708 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11709 Mark Wielaard <mark@klomp.org>
11711 * java/io/PrintStream.java: Added four constructors, for File and
11712 String describing a filename with or without explicit encoding.
11714 2006-07-16 Sven de Marothy <sven@physto.se>
11716 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11717 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11720 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11723 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11725 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11726 (setProviderClassNameParam): Made private.
11727 (setKeystoreTypeParam): Likewise.
11728 (setKeyPasswordParam): Likewise
11729 (setKeystorePasswordParam): Likewise.
11730 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11731 create or not the keystore if it's not there, and the second is the store's
11732 password to process before loading the keystore. Amended the code
11734 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11735 setKeyStoreParams(5) with true as its first argument.
11736 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11737 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11739 2006-07-16 Sven de Marothy <sven@physto.se>
11741 * java/util/UUID.java: New file.
11743 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11745 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11746 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11747 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11748 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11749 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11750 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11751 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11752 added Key Wrapping Algorithm SPIs.
11754 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11756 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11757 wrapping/unwrapping to invoke their engineGetOutputSize.
11759 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11761 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11762 (engineInit): If a SecureRandom was specified then use it.
11763 (nextRandomBytes): New method.
11764 (engineWrap): Use above method.
11765 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11766 (getDefaultPRNG): New method.
11767 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11768 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11771 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11773 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11774 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11776 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11778 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11779 offset into consideration.
11781 2006-07-16 Mario Torre <neugens@limasoftware.net>
11783 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11784 Fixed comment. This functions now requires to be called
11785 with gdk lock held, the comment states that.
11786 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11787 Introduces gdk locks around critical regions of code.
11788 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11790 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11792 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11794 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11796 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11798 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11800 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11802 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11804 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11806 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11807 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11809 2006-07-15 Sven de Marothy <sven@physto.se>
11811 * javax/swing/JFileChooser.java
11812 Change default selection mode to FILES_ONLY.
11813 * javax/swing/plaf/basic/BasicDirectoryModel.java
11814 Document, fix selection mode filtering.
11815 (renameFile): Implement
11816 * javax/swing/plaf/basic/BasicFileChooserUI.java
11817 (selectedDir): New field to handle selected directories,
11818 disallow selecting of directories in FILES_ONLY mode.
11819 * javax/swing/plaf/metal/MetalFileChooserUI.java:
11820 (EditingActionListener.actionPerformed):
11821 Stop editing on all actions (e.g. return-key press)
11823 2006-07-15 Mark Wielaard <mark@klomp.org>
11825 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11827 (JNI Implementation): Mark JVMTI Implementation as next.
11828 (JVMTI Implementation): Mark JNI Implementation as prev.
11830 2006-07-15 Mark Wielaard <mark@klomp.org>
11832 * include/Makefile.am: Remove
11833 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11834 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11835 * native/jni/gtk-peer/Makefile.am: Remove
11836 gnu_java_awt_peer_gtk_GdkTextLayout.c
11837 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11840 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11842 2006-07-15 Mark Wielaard <mark@klomp.org>
11844 * autogen.sh: Recognize autoconf 2.60.
11846 2006-07-15 Keith Seitz <keiths@redhat.com>
11848 * NEWS: Update for JVMTI and jvmti.h.
11849 * doc/vmintegration.texinfo: Likewise.
11850 * include/jvmti.h: New file.
11852 2006-07-15 Mark Wielaard <mark@klomp.org>
11854 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11855 Removed C++ style comment.
11857 2006-07-15 Sven de Marothy <sven@physto.se>
11859 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11860 * java/awt/MouseInfo.java,
11861 * java/awt/PointerInfo.java,
11862 * java/awt/peer/MouseInfoPeer.java:
11865 * java/awt/Image.java
11866 (accelerationPriority): New field.
11867 (setAccelerationPriority, getAccelerationPriority): New methods..
11869 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11871 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11872 (getMouseCoordinates): New method.
11874 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11875 (updateAlwaysOnTop): Remove stub overload.
11877 * gnu/java/awt/ClasspathToolkit.java,
11878 * gnu/java/awt/peer/gtk/GtkToolkit.java,
11879 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11881 (getMouseInfoPeer): New method.
11882 (getMouseNumberOfButtons): New method.
11884 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11885 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11886 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11887 (gtkWindowSetAlwaysOnTop): New method.
11888 (updateAlwaysOnTop): Implement.
11890 * java/awt/Toolkit.java,
11891 (getMouseInfoPeer): New method.
11893 * java/awt/Window.java
11894 (alwaysOnTop): New field.
11895 (isAlwaysOnTop, setAlwaysOnTop): New methods.
11897 * java/awt/peer/WindowPeer.java: Doc fix.
11899 2006-07-14 Sven de Marothy <sven@physto.se>
11901 * java/awt/font/TextLayout.java:
11902 (hitTestChar): Stub method.
11903 * java/awt/font/TextMeasurer.java:
11904 (getLayout): Throw exception on invalid argument.
11906 2006-07-14 Sven de Marothy <sven@physto.se>
11908 * java/awt/image/DataBuffer.java
11909 (DataBuffer): Call constructors in the correct order,
11911 2006-07-14 Mark Wielaard <mark@klomp.org>
11913 Revert to previous implementation.
11914 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11915 constraints insets.
11917 2006-07-14 Roman Kennke <kennke@aicas.com>
11919 * gnu/java/awt/peer/x/XToolkit.java
11920 (XToolkit): Install properties to SystemProperties
11921 rather than System, to avoid SecurityManager.
11922 (getImage(String)): Return error image when string is invalid.
11923 (createImage(URL)): Moved image loading to helper method.
11924 (createImage(ImageProducer)): Implemented.
11925 (createImage(byte[],int,int)): Implemented.
11926 (createImage(InputStream)): New helper method.
11928 2006-07-14 Tania Bento <tbento@redhat.com>
11930 * java/awt/FlowLayout.java
11931 (setHgap): No Excpetion should be thrown if hgap has
11933 (setVgap): No Exception should be thrown if vgap has
11936 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11938 * java/awt/image/MultiPixelPackedSampleModel.java:
11939 Added API docs all over.
11941 2006-07-14 Matt Wringe <mwringe@redhat.com>
11943 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
11944 (engineInit): Throw InvalidAlgorithmParameterException
11945 for invalid IVParameterSpec IV length.
11947 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11949 * java/awt/image/MultiPixelPackedSampleModel.java
11950 (createDataBuffer): Include dataBitOffset in calculating the size for
11953 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11955 * java/awt/image/MultiPixelPackedSampleModel.java
11956 (getSampleSize()): Return a copy of the array,
11957 (getTransferType()): New method override.
11959 2006-07-14 Roman Kennke <kennke@aicas.com>
11961 * java/awt/CardLayout.java
11962 (show): Validate parent to make sure that the layout is
11965 2006-07-14 Roman Kennke <kennke@aicas.com>
11967 * java/awt/Component.java
11968 (enable): Added tree locking.
11969 (disable): Added tree locking.
11970 (show): Added tree locking.
11971 (hide): Added tree locking.
11972 (getLocationOnScreen): Added tree locking.
11973 (reshape): Added tree locking.
11974 (addHierarchyListener): Added tree locking.
11975 (removeHierarchyListener): Added tree locking.
11976 (addHierarchyBoundsListener): Added tree locking.
11977 (removeHierarchyBoundsListener): Added tree locking.
11978 (addNotify): Added tree locking.
11979 (removeNotify): Added tree locking.
11980 * java/awt/Container.java
11981 (invalidateTree): Added tree locking.
11982 (getAlignmentX): Added tree locking.
11983 (getAlignmentY): Added tree locking.
11984 (addNotify): Added tree locking.
11985 (setComponentZOrder): Added tree locking.
11986 (getComponentZOrder): Added tree locking.
11988 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11990 * java/awt/image/MultiPixelPackedSampleModel.java
11991 (createSubsetSampleModel): Restored argument check, but let null
11994 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11996 * java/awt/image/MultiPixelPackedSampleModel.java
11997 (createSubsetSampleModel): Removed argument check.
11999 2006-07-14 Roman Kennke <kennke@aicas.com>
12001 * java/awt/Component.java
12002 (numHierarchyListeners): New field.
12003 (numHierarchyBoundsListeners): New field.
12004 (show): Fire hierarchy events here. Only fire component event
12005 if there is actually a listener for it.
12006 (hide): Fire hierarchy events here. Only fire component event
12007 if there is actually a listener for it.
12008 (reshape): Fire hierarchy events here. Only fire component event
12009 if there is actually a listener for it.
12010 (addHierarchyListeners): Update listener counters.
12011 (removeHierarchyListeners): Update listener counters.
12012 (addHierarchyBoundsListeners): Update listener counters.
12013 (removeHierarchyBoundsListeners): Update listener counters.
12014 (fireHierarchyEvent): New helper method for firing hierarchy
12016 * java/awt/Container.java
12017 (addImpl): Update listener counters. Fire hierarchy event.
12018 (remove): Update listener counters. Fire hierarchy event.
12019 (fireHierarchyEvent): New helper method for firing hierarchy
12021 (updateHierarchyListenerCount): New helper method for
12022 updating the listener counters.
12024 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12026 * java/awt/image/MultiPixelPackedSampleModel.java
12027 (equals): New method override,
12028 (hashCode): Likewise.
12030 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
12032 * java/awt/image/MultiPixelPackedSampleModel.java
12033 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
12034 Corrected scanlineStride calculation.
12036 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12038 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12039 (AES_KWA): Likewise.
12040 (AES128_KWA): Likewise.
12041 (AES192_KWA): Likewise.
12042 (AES256_KWA): Likewise.
12043 (RIJNDAEL_KWA): Likewise.
12044 (TRIPLEDES_KWA): Likewise.
12045 (DESEDE_KWA): Likewise.
12046 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12047 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12048 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12049 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12050 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12051 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12053 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
12055 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12056 (PADDING_BLOCK_SIZE): New constant.
12057 (init(Map attributes)): New method.
12058 * gnu/javax/crypto/pad/BasePad.java (init): New method.
12060 2006-07-14 Mario Torre <neugens@limasoftware.net>
12062 * gnu/java/security/OID.java (OID): Private Constructor removed as
12063 it is not needed anymore.
12064 (clone): Fixed. Now uses super.clone instead of the private
12065 constructor as per specification of clone method.
12066 (serialVersionUID): added new field to allow serialization.
12068 2006-07-13 Sven de Marothy <sven@physto.se>
12070 * gnu/javax/imageio/gif/GIFImageReader.java
12071 (read): Remove old debugging trace.
12073 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12076 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12079 2006-07-13 Roman Kennke <kennke@aicas.com>
12081 * java/awt/Component.java
12082 (DEFAULT_MAX_SIZE): New static constant.
12083 (preferredSize): Return copy of the actual value computed
12084 by new helper method.
12085 (preferredSizeImpl): New helper method. Adds locking and
12086 correct handling of cached value.
12087 (minimumSize): Return copy of the actual value computed
12088 by new helper method.
12089 (minimumSizeImpl): New helper method. Adds locking and
12090 correct handling of cached value.
12091 (getMaximumSize): Return copy of the actual value computed
12092 by new helper method.
12093 (maximumSizeImpl): New helper method. Adds locking and
12094 correct handling of cached value.
12095 (invalidate): Correct handling of cached layout information.
12097 * java/awt/Container.java
12098 (preferredSize): Minimized locking. Corrected handling of cached
12099 values. Return copy of real value.
12100 (minimumSize): Minimized locking. Corrected handling of cached
12101 values. Return copy of real value.
12102 (getMaximumSize): Minimized locking. Corrected handling of cached
12103 values. Return copy of real value.
12105 2006-07-13 Tania Bento <tbento@redhat.com>
12107 * gnu/java/awt/peer/ClasspathFontPeer.java
12108 (isLogicalFontName): Return true if name == default.
12109 (logicalFontNameToFaceName): Check if name == default,
12110 and if so, return "Dialog.plain".
12111 (setStandardAttributes(String, Map)): If name == null,
12112 it should be set to "Default", not "SansSerif".
12113 * java/awt/Canvas.java
12114 (generateName): Fixed documentation.
12115 * java/awt/CheckboxMenuItem.java
12116 Added static variable "next_chkmenuitem_number".
12117 (generateName): Added and implemented method.
12118 (getUniqueLong): Likewise.
12119 * java/awt/Choice.java
12120 Added static variable "next_choice_number".
12121 (generateName): Added and implemented method.
12122 (getUniqueLong): Likewise.
12123 * java/awt/Cursor.java
12124 (Cursor(int)): Set name depending on the type passed.
12125 * java/awt/List.java
12126 Added static variable "next_list_number".
12127 (generateName): Added and implemented method.
12128 (getUniqueLong): Likewise.
12129 * java/awt/Menu.java
12130 Added static variable "next_menu_number".
12131 (generateName): Added and implemented method.
12132 (getUniqueLong): Likewise.
12133 * java/awt/MenuBar.java
12134 Added static variable "next_menubar_number".
12135 (generateName): Added and implemented method.
12136 (getUniqueLong): Likewise.
12137 * java/awt/MenuComponent.java
12138 (getName): Before returning name, check if name == null
12139 and name is not explicity set. If this is the case,
12140 name will be generated.
12141 (generateName): Added and implemented method.
12142 * java/awt/MenuItem.java
12143 Added static variable "next_menuitem_number".
12144 (generateName): Added and implemented method.
12145 (getUniqueLong): Likewise.
12146 * java/awt/PopupMenu.java
12147 Added static variable "next_popup_number".
12148 (generateName): Added and implemented method.
12149 (getUniqueLong): Likewise.
12150 * java/awt/ScrollPane.java
12151 Added static variable "next_scrollpane_number".
12152 (generateName): Added and implemented method.
12153 (getUniqueLong): Likewise.
12154 * java/awt/TextField.java
12155 Added static variable "next_textfield_number".
12156 (generateName): Added and implemented method.
12157 (getUniqueLong): Likewise.
12160 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12162 * java/awt/image/SinglePixelPackedSampleModel.java
12163 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12164 mask correctly as an unsigned integer,
12165 (equals): New method override.
12167 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12169 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12170 insertAfterStart, insertBeforeEnd): Removed stub markings.
12172 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12174 * java/awt/image/BandedSampleModel.java: API doc updates and source
12176 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12178 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12180 * java/awt/image/BandedSampleModel.java: API doc updates.
12182 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12184 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12185 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12186 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12187 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12188 (HRMLReader.blockClose): Mind that parser stack may be empty.
12189 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12190 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12191 (HTMLReader.shouldInsert): New method. (getElement(String)):
12192 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12193 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12194 Implemented. (getInsertingReader): New method.
12195 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12196 Added buttons to demonstrate the work of the insert actions.
12198 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12200 * java/awt/image/SampleModel.java: API doc updates and additions,
12201 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12203 2006-07-12 Sven de Marothy <sven@physto.se>
12205 * javax/swing/JFileChooser.java:
12206 (createDialog): Close operation should cause a cancel.
12208 2006-07-12 Francis Kung <fkung@redhat.com>
12210 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12211 (cairoArc): New native method.
12212 (cairoRestore): New native method.
12213 (cairoSave): New native method.
12214 (cairoScale): New native method.
12215 (createPath): New method to centralize code from draw and fill.
12216 (draw): Modified to use createPath method.
12217 (fill): Modified to use createPath method.
12218 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12219 function declarations.
12220 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12221 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12223 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12225 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12228 2006-07-12 Tom Tromey <tromey@redhat.com>
12231 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12232 on PartialInputStream.
12233 (PartialInputStream.dummyByteCount): New field.
12234 (PartialInputStream.fillBuffer): Handle dummy byte.
12235 (PartialInputStream.read): Likewise.
12236 (PartialInputStream.addDummyByte): New method.
12238 2006-07-12 Mario Torre <neugens@limasoftware.net>
12240 * native/jni/gconf-peer/GConfNativePeer.c
12241 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12242 Fixed C++ style comment.
12244 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12246 * java/util/Arrays.java
12247 (asList): Updated API docs.
12249 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12252 * native/jni/gconf-peer/GConfNativePeer.c:
12253 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12254 Changed if-expression.
12255 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12256 Added check for _value not being NULL.
12258 2006-07-11 Roman Kennke <kennke@aicas.com>
12260 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12261 (read): Use fd when local sockets are disabled to make the
12265 2006-07-11 Roman Kennke <kennke@aicas.com>
12267 * java/awt/image/MultiPixelPackedSampleModel.java
12268 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12269 division gets rounded up.
12271 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12273 * java/lang/management/ManageFactory.java:
12274 (getMemoryManagerMXBeans()): Use addAll, not add.
12276 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12279 * gnu/classpath/ByteArray.java: Removed (moved).
12280 * gnu/java/security/util/ByteArray.java: New File.
12281 * gnu/javax/crypto/RSACipherImpl.java: Reference
12282 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12284 2006-07-11 Roman Kennke <kennke@aicas.com>
12286 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12287 (available): Pass fd as argument and avoid JNI class/field
12291 * include/gnu_java_net_local_LocalSocketImpl.h:
12293 * gnu/java/net/local/LocalSocketImpl.h
12294 (available): Pass fd as argument and avoid JNI class/field
12299 2006-07-11 Sven de Marothy <sven@physto.se>
12301 * gnu/javax/sound/sampled/AU/AUReader.java:
12302 Correct file extension from .as to .au.
12304 2006-07-11 Sven de Marothy <sven@physto.se>
12306 * gnu/javax/sound/sampled/AU/AUReader.java:
12308 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12309 Added new provider.
12311 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12313 * javax/swing/JTable.java
12314 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12315 (setColumnSelectionAllowed): Likewise.
12317 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12320 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12321 AccessController.doPrivileged instead of SystemProperties.getProperty.
12322 * gnu/classpath/debug/SystemLogger.java: Likewise.
12323 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12324 repeated getProperty calls for "file.seperator".
12325 (refresh): Since already in privileged block, call System.getProperty
12326 instead of SystemProperties.getProperty.
12327 * gnu/java/security/key/dss/DSSKey.java
12328 (toString): Use AccessController.doPrivileged instead of
12329 SystemProperties.getProperty.
12330 * gnu/java/security/key/dss/DSSPrivateKey.java
12331 (toString): Likewise.
12332 * gnu/java/security/key/dss/DSSPublicKey.java
12333 (toString): Likewise.
12334 * gnu/java/security/key/rsa/GnuRSAKey.java
12335 (toString): Likewise.
12336 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12337 (toString): Likewise.
12338 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12339 (toString): Likewise.
12340 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12341 * gnu/javax/crypto/key/dh/GnuDHKey.java
12342 (toString): Likewise.
12343 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12344 (toString): Likewise.
12345 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12346 (toString): Likewise.
12348 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12350 * javax/swing/AbstractButton.java
12351 (disabledIcon): Fixed name (was 'disabeldIcon'),
12352 (getDisabledIcon): Updated for corrected field name,
12353 (setDisabledIcon): Fire a PropertyChangeEvent.
12355 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12357 * javax/swing/DefaultBoundedRangeModel.java
12358 (readObject): New private method,
12359 (writeObject): Likewise.
12361 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12363 * javax/swing/ButtonGroup.java
12364 (add): Ignore null argument,
12365 (remove): Ignore null argument. If removing selected button, clear the
12367 (findButton): Changed case for method name, and documented,
12368 (setSelected): Updated for modification to findButton() method name,
12369 (isSelected): Updated API docs.
12371 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12373 * java/awt/image/BufferedImage.java
12374 (BufferedImage(int, int, int)): Use correct color space for
12375 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12376 IllegalArgumentException for an unrecognised type.
12378 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12380 * java/lang/management/ManagementFactory.java:
12381 (getMemoryPoolMXBeans): Genericized fully.
12382 (getMemoryManagerMXBeans): Likewise.
12383 (getGarbageCollectorMXBeans): Likewise.
12385 2006-07-10 Tom Tromey <tromey@redhat.com>
12387 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12389 (getMemoryManagerMXBeans): Likewise.
12390 (getGarbageCollectorMXBeans): Likewise.
12392 2006-07-10 Mario Torre <neugens@limasoftware.net>
12394 * java/awt/BasicStroke.java: Removed unused import.
12395 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12396 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12397 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12399 2006-07-10 Matt Wringe <mwringe@redhat.com>
12401 PR classpath/28212:
12402 * javax/crypto/spec/SecretKeySpec.java
12403 (equals): Check object type.
12405 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12407 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12408 communication/StructureToPassHelper.java,
12409 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12410 communication/StructureToReturnHelper.java,
12411 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12412 communication/TreeNodeHelper.java,
12413 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12414 communication/WeThrowThisExceptionHelper.java,
12415 gnu/CORBA/ForwardRequestHelper.java,
12416 org/omg/CORBA/CompletionStatusHelper.java,
12417 org/omg/CORBA/CurrentHelper.java,
12418 org/omg/CORBA/DefinitionKindHelper.java,
12419 org/omg/CORBA/IDLTypeHelper.java,
12420 org/omg/CORBA/NameValuePairHelper.java,
12421 org/omg/CORBA/ObjectHelper.java,
12422 org/omg/CORBA/ParameterModeHelper.java,
12423 org/omg/CORBA/PolicyErrorCodeHelper.java,
12424 org/omg/CORBA/PolicyErrorHelper.java,
12425 org/omg/CORBA/PolicyHelper.java,
12426 org/omg/CORBA/PolicyListHelper.java,
12427 org/omg/CORBA/PolicyTypeHelper.java,
12428 org/omg/CORBA/ServiceDetailHelper.java,
12429 org/omg/CORBA/ServiceInformationHelper.java,
12430 org/omg/CORBA/SetOverrideTypeHelper.java,
12431 org/omg/CORBA/StringValueHelper.java,
12432 org/omg/CORBA/UnionMemberHelper.java,
12433 org/omg/CORBA/UnknownUserExceptionHelper.java,
12434 org/omg/CORBA/VisibilityHelper.java,
12435 org/omg/CORBA/WStringValueHelper.java,
12436 org/omg/CORBA/WrongTransactionHelper.java,
12437 org/omg/CosNaming/BindingHelper.java,
12438 org/omg/CosNaming/BindingIteratorHelper.java,
12439 org/omg/CosNaming/BindingListHelper.java,
12440 org/omg/CosNaming/BindingTypeHelper.java,
12441 org/omg/CosNaming/NameComponentHelper.java,
12442 org/omg/CosNaming/NameHelper.java,
12443 org/omg/CosNaming/NamingContextExtHelper.java,
12444 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12445 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12446 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12447 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12448 org/omg/CosNaming/NamingContextHelper.java,
12449 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12450 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12451 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12452 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12453 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12454 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12455 org/omg/DynamicAny/AnySeqHelper.java,
12456 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12457 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12458 org/omg/DynamicAny/DynAnyHelper.java,
12459 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12460 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12461 org/omg/DynamicAny/DynAnySeqHelper.java,
12462 org/omg/DynamicAny/DynArrayHelper.java,
12463 org/omg/DynamicAny/DynEnumHelper.java,
12464 org/omg/DynamicAny/DynFixedHelper.java,
12465 org/omg/DynamicAny/DynSequenceHelper.java,
12466 org/omg/DynamicAny/DynStructHelper.java,
12467 org/omg/DynamicAny/DynUnionHelper.java,
12468 org/omg/DynamicAny/DynValueHelper.java,
12469 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12470 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12471 org/omg/DynamicAny/NameValuePairHelper.java,
12472 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12473 org/omg/IOP/CodecFactoryHelper.java,
12474 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12475 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12476 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12477 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12478 org/omg/IOP/ComponentIdHelper.java,
12479 org/omg/IOP/IORHelper.java,
12480 org/omg/IOP/MultipleComponentProfileHelper.java,
12481 org/omg/IOP/ProfileIdHelper.java,
12482 org/omg/IOP/ServiceContextHelper.java,
12483 org/omg/IOP/ServiceContextListHelper.java,
12484 org/omg/IOP/ServiceIdHelper.java,
12485 org/omg/IOP/TaggedComponentHelper.java,
12486 org/omg/IOP/TaggedProfileHelper.java,
12487 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12488 org/omg/PortableInterceptor/AdapterNameHelper.java,
12489 org/omg/PortableInterceptor/AdapterStateHelper.java,
12490 org/omg/PortableInterceptor/CurrentHelper.java,
12491 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12492 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12493 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12494 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12495 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12496 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12497 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12498 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12499 org/omg/PortableServer/CurrentHelper.java,
12500 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12501 org/omg/PortableServer/ForwardRequestHelper.java,
12502 org/omg/PortableServer/POAHelper.java,
12503 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12504 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12505 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12506 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12507 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12508 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12509 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12510 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12511 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12512 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12513 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12514 org/omg/PortableServer/ServantActivatorHelper.java,
12515 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12516 typecode caching and always use OrbRestricted.Singleton.
12518 2006-07-09 Tom Tromey <tromey@redhat.com>
12520 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12522 2006-07-09 Mark Wielaard <mark@klomp.org>
12524 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12525 New static final boolean field.
12526 (getComponentGraphics): Use hasXRenderExtension.
12527 (setClip): Override method for locking.
12529 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12531 * javax/swing/AbstractButton.java
12532 (setHorizontalTextPosition): Added check for illegal argument,
12533 (setVerticalTextPosition): Likewise.
12535 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12537 * javax/swing/Timer.java
12538 (setDelay): Throw IllegalArgumentException for negative delay,
12539 (setInitialDelay): Likewise,
12540 * javax/swing/ToolTipManager.java
12541 (setInitialDelay): Document IllegalArgumentException,
12542 (setDismissDelay): Likewise,
12543 (setReshowDelay): Likewise.
12545 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12547 * java/lang/management/MemoryUsage.java:
12548 (from(javax.management.openmbean.CompositeData)):
12550 * java/lang/management/ThreadInfo.java:
12551 Changed to use open types throughout for the state.
12552 (ThreadInfo(long,String,String,long,long,String,
12553 long,String,long,long,boolean,StackTraceElement[])):
12555 (checkAttribute(javax.management.openmbean.CompositeType,
12556 String, javax.management.openmbean.OpenType)): New method.
12557 (from(javax.management.openmbean.CompositeData)):
12559 (getLockName()): Fixed to use new variable.
12560 (getLockOwnerId()): Likewise.
12561 (getLockOwnerName()): Likewise.
12562 (getThreadId()): Likewise.
12563 (getThreadName()): Likewise.
12564 (getThreadState()): Likewise.
12565 (toString()): Refactored to use new variables.
12566 * javax/management/openmbean/ArrayType.java:
12568 * javax/management/openmbean/CompositeType.java:
12569 Variables should be transient, not volatile.
12570 * javax/management/openmbean/OpenDataException.java:
12571 (serialVersionUID): Added.
12572 * javax/management/openmbean/SimpleType.java:
12574 * javax/management/openmbean/TabularType.java
12575 Variables should be transient, not volatile.
12577 2006-07-09 Tom Tromey <tromey@redhat.com>
12579 * tools/.cvsignore: Updated for new tools.
12581 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12583 * javax/management/openmbean/CompositeData.java,
12584 * javax/management/openmbean/CompositeType.java,
12585 * javax/management/openmbean/OpenDataException.java,
12586 * javax/management/openmbean/OpenType.java,
12587 * javax/management/openmbean/TabularData.java,
12588 * javax/management/openmbean/TabularType.java,
12589 * javax/management/openmbean/package.html:
12592 2006-07-09 Mark Wielaard <mark@klomp.org>
12594 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12595 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12596 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12598 2006-07-08 Anthony Green <green@redhat.com>
12600 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12601 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12604 2006-07-09 Mario Torre <neugens@limasoftware.net>
12606 * native/jni/gconf-peer/GConfNativePeer.c:
12607 Fixed indentation to be more compliant to the GNU coding
12609 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12610 Added explicit test for errors in the GConf backend.
12611 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12612 Added explicit test for errors in the GConf backend.
12613 Fixed Segmentation Fault when non valid key names are given as input.
12614 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12616 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12617 Added explicit test for errors in the GConf backend.
12618 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12619 Added javadoc comments for all native methods.
12620 (nodeExist): removed test to check for valid absolute path name
12622 (startWatchingNode): likewise.
12623 (stopWatchingNode): likewise.
12624 (setString): likewise, plus fixed javadoc comments.
12625 (unset): likekwise.
12626 (getKey): likewise.
12627 (getKeys): likewise, also fixed javadoc comments.
12628 (getChildrenNodes): likewise.
12629 * gnu/java/util/prefs/GConfBasedPreferences.java:
12630 changed DEFAULT_USER_ROOT to /apps/classpath.
12631 (constructor): Test to check for a valid absolute path for nodes
12632 is now in the contructor for that node, instead of being on
12633 each method of the backend.
12634 (getGConfKey): removed empty new line.
12636 2006-07-08 Mark Wielaard <mark@klomp.org>
12638 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12640 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12642 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12643 Handle the forced break in the same way as exceeding the
12644 available row space.
12645 * javax/swing/text/html/HRuleView.java: Rewritten.
12646 * javax/swing/text/html/HTMLDocument.java
12647 (HTMLReader.addSpecialElement):Reserve two characters for
12648 the special elements.
12649 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12650 (text): Extended the HTML example to parse.
12652 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12654 * javax/swing/AbstractButton.java
12655 (setHorizontalAlignment): Check for illegal argument,
12656 (setVerticalAlignment): Likewise.
12658 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12660 * javax/swing/text/html/TableView.java
12661 (getStyleSheet): New method. (RowView.getStyleSheet):
12664 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12666 * javax/swing/AbstractButton.java
12667 (setRolloverIcon): Call setRolloverEnabled(true),
12668 (setRolloverSelectedIcon): Likewise.
12670 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12672 * javax/swing/border/TitledBorder.java
12673 (setTitlePosition): Added message to exception,
12674 (setTitleJustification): Likewise.
12676 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12678 * javax/swing/plaf/metal/MetalLookAndFeel.java
12679 (createDefaultTheme): Corrected API docs,
12680 (initComponentDefaults): Added entry for 'TitledBorder.border',
12681 (getCurrentTheme): Initialise theme if it is null.
12683 2006-07-07 Roman Kennke <kennke@aicas.com>
12685 * java/awt/Component.java
12686 (isValid): Return false when component has no peer,
12687 don't query the showing state.
12689 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12691 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12692 Advance the offset also in the case of the enforced break.
12694 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12696 * javax/swing/plaf/basic/BasicArrowButton.java
12697 (MAXIMUM_SIZE): Removed field,
12698 (MINIMUM_SIZE): Likewise,
12699 (PREFERRED_SIZE): Likewise,
12700 (getMaximumSize): Return new instance every time,
12701 (getMinimumSize): Likewise,
12702 (getPreferredSize): Likewise.
12704 2006-07-07 Roman Kennke <kennke@aicas.com>
12706 * java/awt/LightweightDispatcher.java
12707 (findTarget): Avoid array copying in
12708 Container.getComponents().
12710 2006-07-07 Roman Kennke <kennke@aicas.com>
12712 * javax/swing/JComponent.java
12713 (paintChildrenWithOverlap): Avoid array copying in
12714 Container.getComponents().
12715 (paintChildrenOptimized): Avoid array copying in
12716 Container.getComponents().
12717 (fireAncestorEvent): Avoid array copying in
12718 Container.getComponents().
12719 (findOverlapFreeParent): Avoid array copying in
12720 Container.getComponents().
12722 2006-07-07 Matt Wringe <mwringe@redhat.com>
12724 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12725 (passwordValid): New field.
12726 (setPassword): New method.
12727 (setSalt): Likewise.
12728 (setIterationCount): Likewise.
12729 (setKeyLength): Likewise.
12730 (PBEKeySpec(char[])): Use new setter methods.
12731 (PBEKeySpec(char[], byte[], int)): Likewise.
12732 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12733 (clearPassword): Set passwordValid to false.
12734 (getPassword): Check that clearPassword() was not called earlier.
12735 Return a clone of the password.
12736 (getSalt): Return a clone of the salt if it was not null.
12738 2006-07-07 Roman Kennke <kennke@aicas.com>
12740 * java/awt/Component.java
12741 (isValid): Always return false when component is
12743 (setFont): Always set font, even when setting
12744 the same or equal font again.
12746 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12748 * javax/swing/plaf/metal/MetalIconFactory.java
12749 (CheckBoxMenuItemIcon): Implement UIResource,
12750 (FileChooserDetailViewIcon): Likewise,
12751 (FileChooserHomeFolderIcon): Likewise,
12752 (FileChooserListViewIcon): Likewise,
12753 (FileChooserNewFolderIcon): Likewise,
12754 (FileChooserUpFolderIcon): Removed redundant 'implements',
12755 (RadioButtonMenuItemIcon): Implement UIResource,
12756 (HorizontalSliderThumbIcon): Likewise,
12757 (InternalFrameCloseIcon): Likewise,
12758 (InternalFrameDefaultMenuIcon): Likewise,
12759 (InternalFrameAltMaximizeIcon): Likewise,
12760 (InternalFrameMaximizeIcon): Likewise,
12761 (InternalFrameMinimizeIcon): Likewise,
12762 (VerticalSliderThumbIcon): Likewise,
12763 (TreeHardDriveIcon): Likewise,
12764 (TreeFloppyDriveIcon): Likewise,
12765 (TreeComputerIcon): Likewise,
12766 (horizontalSliderThumbIcon): New field,
12767 (verticalSliderThumbIcon): New field,
12768 (getHorizontalSliderThumbIcon): Cache icon,
12769 (getVerticalSliderThumbIcon): Likewise.
12771 2006-07-06 Mark Wielaard <mark@klomp.org>
12773 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12774 (DISTCLEANFILES): Add standard.omit.
12775 (clean-local): Remove Makefile.deps, only remove dirs.
12777 2006-07-06 Roman Kennke <kennke@aicas.com>
12779 * java/awt/Component.java
12780 (setFont): Only invalidate when component is valid.
12781 * java/awt/Container.java
12782 (setLayout): Only invalidate when component is valid.
12784 2006-07-06 Lillian Angel <langel@redhat.com>
12786 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12787 New class not fully implemented.
12788 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12789 New class not fully implemented.
12790 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12791 New class not fully implemented.
12792 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12793 New class not fully implemented.
12794 * nu/java/awt/peer/gtk/GtkToolkit.java:
12796 (createDragSourceContextPeer): Implemented.
12797 (createDragGestureRecognizer): New function to override
12798 java.awt.Toolkit.createDragGestureRecognizer.
12799 * java/awt/dnd/DragSource.java
12800 (NoDragGestureRecognizer): Removed inner class.
12801 (createDragGestureRecognizer): Re-Implemented to
12802 call Toolkit's createDragGestureRecognizer.
12803 (createDefaultDragGestureRecognizer): Re-Implemented to
12804 call Toolkit's createDragGestureRecognizer.
12805 * java/awt/dnd/DropTarget.java
12806 (addNotify): Added check to determine type of peer and call
12808 (removeNotify): Added call to removeDropTarget.
12810 2006-07-06 Tom Tromey <tromey@redhat.com>
12812 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12814 (run): Wait on queue, not 'this'.
12816 2006-07-06 Lillian Angel <langel@redhat.com>
12818 * java/awt/dnd/DragSource.java
12819 (startDrag): Implemented. Added comments describing
12820 what the function should do. Removed FIXME.
12822 2006-07-06 Tania Bento <tbento@redhat.com>
12824 * gnu/java/awt/Canvas.java
12825 Added new private variable 'next_canvas_number'.
12826 (generateName): Added.
12827 (getUniqueLong): Added.
12829 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12831 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12832 (getColor): Made public.
12833 * javax/swing/text/html/StyleSheet.java (stringToColor):
12834 Use CharacterAttributeTranslator.getColor(String)
12836 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12838 * javax/swing/text/html/HTMLEditorKit.java:
12839 (HTMLFactory.createElement): Update reference to the html table view.
12840 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12841 * javax/swing/text/html/TableView.java: New file.
12843 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12845 * javax/swing/text/html/HTMLEditorKit.java:
12846 (HTMLFactory.createElement): Uncomment
12847 code for BRView and HRuleView.
12848 * javax/swing/text/html/BRView.java,
12849 javax/swing/text/html/HRuleView.java: New files.
12851 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12853 * java/lang/Thread.java:
12854 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12855 Added generic type signature.
12857 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12860 * doc/vmintegration.texinfo: Likewise.
12861 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12862 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12863 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12864 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12865 * java/lang/management/GarbageCollectorMXBean.java:
12867 * java/lang/management/ManagementFactory.java:
12868 (getGarbageCollectorMXBeans()): Implemented.
12869 (getMemoryManagerMXBeans()): Likewise.
12870 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12871 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12873 * vm/reference/java/lang/management/VMManagementFactory.java:
12874 (getMemoryManagerNames()): Added.
12875 (getGarbageCollectorNames()): Added.
12877 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12879 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12880 from lib_LTLIBRARIES.
12881 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12883 2006-07-05 Lillian Angel <langel@redhat.com>
12885 * java/awt/dnd/DragGestureEvent.java:
12887 (DragGestureEvent): Initialized new fields, added to check and
12888 added documentation.
12889 (getSourceAsDragGestureRecognizer): Added documentation and
12890 changed to use getSource.
12891 (getComponent): Added documentation and fixed to return the proper
12893 (getDragSource): Likewise.
12894 (getDragOrigin): Added documentation.
12895 (iterator): Implemented and added documentation.
12896 (toArray): Likewise.
12897 (toArray): Likewise.
12898 (getDragAction): Likewise.
12899 (getTriggerEvent): Likewise.
12900 (startDrag): Likewise.
12901 * java/awt/dnd/DragGestureRecognizer.java
12902 (resetRecognizer): Added FIXME.
12903 * java/awt/dnd/DragSource.java:
12905 (DragSource): Set ds to be null if headless.
12906 (getDefaultDragSource): Added documentation and implemented.
12907 (isDragImageSupported): Marked as unimplemented.
12908 (startDrag): Likewise.
12909 (createDragSourceContext): Implemented.
12910 (NoDragGestureRecognizer): Formatted inner class.
12911 * java/awt/dnd/DropTarget.java
12912 (stop): Marked as unimplemented.
12913 (actionPerformed): Likewise.
12914 (addDropTargetListener): Added code to throw exception.
12915 (removeDropTargetListener): Added check, removed FIXME.
12916 (dragEnter): Implemented.
12917 (dragOver): Implemented.
12918 (dropActionChanged): Implemented.
12919 (dragExit): Implemented.
12920 (drop): Implemented.
12921 (addNotify): Implemented.
12922 (removeNotify): Implemented.
12923 (createDropTargetContext): Implemented.
12924 (createDropTargetAutoScroller): Implemented.
12925 (initializeAutoscrolling): Implemented.
12926 (updateAutoscroll): Implemented.
12927 (clearAutoscroll): Implemented.
12928 * java/awt/dnd/DropTargetContext.java
12929 (dropComplete): Implemented.
12930 (acceptDrag): Implemented.
12931 (rejectDrag): Implemented.
12932 (acceptDrop): Implemented.
12933 (rejectDrop): Implemented.
12934 (getCurrentDataFlavors): Implemented.
12935 (getTransferable): Partially implemented.
12936 * java/awt/dnd/DropTargetDragEvent.java
12937 (getDropAction): Uncommented correct code.
12938 * java/awt/dnd/DropTargetDropEvent.java
12939 (dropComplete) :Implemented.
12940 * java/awt/dnd/InvalidDnDOperationException.java
12941 (InvalidDnDOperationException): Added call to super.
12943 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
12945 * javax/swing/plaf/basic/BasicArrowButton.java:
12946 (paint): Removed getBounds() call, changed center point
12949 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12951 * javax/swing/InputMap.java
12952 (inputMap): Don't initialize yet,
12953 (InputMap): Removed TODO,
12954 (get): Check for null inputMap,
12955 (put): Return immediately for null keyStroke, check for null inputMap
12956 and initialize if necessary,
12957 (remove): Check for null inputMap,
12961 (allKeys): Likewise,
12962 (writeObject): Removed,
12963 (readObject): Removed.
12965 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12967 * gnu/classpath/examples/swing/TabbedPaneDemo.java
12968 (createContent): Use different labels for buttons.
12970 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
12973 * doc/vmintegration.texinfo: Likewise.
12974 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12975 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12977 * java/lang/management/ManagementFactory.java:
12978 (getMemoryPoolMXBeans()): Implemented.
12979 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12980 * vm/reference/java/lang/management/VMManagementFactory.java:
12983 2006-07-04 Lillian Angel <langel@redhat.com>
12985 * java/awt/dnd/DragSourceContext.java:
12986 Removed FIXMEs from fields.
12987 (DragSourceContext): Added code to initialize cursor and sourceActions.
12988 (getDragSource): Added documentation.
12989 (getComponent): Likewise.
12990 (getTrigger): Likewise.
12991 (getSourceActions): Added documentation and implemented.
12992 (setCursor): Implemented. Added documentation.
12993 (getCursor): Implemented. Added documentation.
12994 (dragEnter): Added code to notify DragSource's listeners.
12995 (dragOver): Likewise.
12996 (dragExit): Likewise.
12997 (dropActionChanged): Likewise.
12998 (dragDropEnd): Likewise.
12999 (dragMouseMoved): Implemented.
13000 (getTransferable): Added API documentation.
13001 (updateCurrentCursor): Added API documentation and partially implemented.
13003 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13005 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13007 2006-07-04 Lillian Angel <langel@redhat.com>
13009 * java/awt/dnd/DragSourceContext.java
13010 (DragSourceContext): Implemented fully. Fixed API docs.
13011 (transferablesFlavorsChanged): Implemented.
13012 (dragEnter): Implemented.
13013 (dragOver): Implemented.
13014 (dragExit): Implemented.
13015 (dropActionChanged): Implemented.
13016 (dragDropEnd): Implemented.
13018 2006-07-04 Lillian Angel <langel@redhat.com>
13020 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13021 Fixed name of constant.
13022 (getIconWidth): Changed name of constant returned.
13023 (getIconHeight): Likewise.
13025 (createSeparator): Marked as unimplemented.
13026 * javax/swing/plaf/basic/BasicTableUI.java
13027 (focusGained): Marked as unimplemented.
13028 (focusLost): Marked as unimplemented.
13029 (mouseEntered): Likewise.
13030 (mouseMoved): Likewise.
13031 (uninstallDefaults): Likewise.
13032 * javax/swing/plaf/basic/BasicToolBarUI.java
13033 (mouseClicked): Changed comment.
13034 (mouseEntered): Likewise.
13035 (mouseExited): Likewise.
13036 (mouseMoved): Likewise.
13037 (setOrientation): Implemented.
13038 (ToolBarFocusListener): Marked as unimplemented.
13039 (focusGained): Marked as unimplemented.
13040 (focusLost): Marked as unimplemented.
13042 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13045 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13046 Mind the effect of the root visibility on the position of the control.
13047 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
13048 vertical line over first level nodes.
13050 2006-07-04 Lillian Angel <langel@redhat.com>
13052 * javax/swing/plaf/basic/BasicMenuUI.java
13053 (installKeyboardActions): Implemented to call super. Nothing else
13054 needs to be done here.
13055 (setupPostTimer): Marked as unimplemented.
13056 (uninstallKeyboardActions): Implemented to call super. Nothing else
13057 needs to be done here.
13058 (mouseMoved): Removed TODO. Nothing to be done here.
13059 (ChangeHandler): Implemented.
13060 (menuDragMouseExited): Removed TODO. Nothing to be done here.
13061 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13062 (menuKeyReleased): Removed TODO. Nothing to be done here.
13063 (menuKeyTyped): Marked as unimplemented.
13065 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13068 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13069 (getDefaults): Set hash color to black.
13070 * javax/swing/plaf/basic/BasicLookAndFeel.java
13071 (initComponentDefaults): Set hash color to grey blue.
13072 * javax/swing/plaf/basic/BasicTreeUI.java
13073 (instellDefaults): Set hash color.
13074 * javax/swing/plaf/metal/MetalIconFactory.java
13075 (TreeControlIcon.paint): Rewritten.
13077 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13080 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13081 Always cancel the current editing session before doing anything else,
13082 return immediately if this fails.
13083 (TreeHomeAction): Ensure that the lead selection path is visible after
13084 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13085 Likewise. TreeTraverseAction: Likewise.
13087 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13090 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13091 Returned back the code to handle the start of the click-pause-click
13092 editing initiation, explained about this code.
13093 (TreeStartEditingAction): New inner class.
13094 (stopEditingInCompleteEditing): Explained about this field.
13095 (completeEditing(boolean, boolean, boolean): Only return early
13096 if there is no current editing session.
13097 (createDefaultActions): Install TreeStartEditingAction and
13098 TreeCancelEditingAction.
13100 2006-07-04 Mario Torre <neugens@limasoftware.net>
13102 * configure.ac: Added new option --enable-default-preferences-peer
13103 to pass user specified default preference backend.
13104 If the GConf peer is built, GConf become the default backend.
13105 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13107 * lib/Makefile.am: excludes files terminating in 'in' from
13108 the metafiles list.
13109 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13110 from copy into META-INF.
13111 * java/util/prefs/Preferences.java: added two new import
13112 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13113 (getFactory): Now try to check for
13114 a system defined default preference backend before to fall back on
13115 FileBasedPreference.
13117 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13120 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13121 (EXPANDED): Initialise to Boolean.TRUE.
13122 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13123 First configure layout cache and then set the assigned value
13124 as row mapper. Set the root visibility property.
13125 (toggleExpandState): Obtains expansion state from the layout cache.
13127 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13129 * java/lang/management/MemoryPoolMXBean.java:
13132 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13134 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13136 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13138 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13139 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13140 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13141 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13142 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13143 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13144 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13145 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13146 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13147 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13148 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13149 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13150 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13151 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13152 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13153 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13154 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13155 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13156 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13157 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13158 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13159 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13160 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13161 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13162 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13163 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13164 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13165 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13166 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13167 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13168 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13169 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13170 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13171 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13172 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13173 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13174 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13175 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13176 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13177 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13178 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13179 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13180 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13181 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13182 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13183 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13184 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13186 2006-07-02 Anthony Green <green@redhat.com>
13188 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13189 sure that every track written ends with an End Of Track meta
13192 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13194 * java/lang/management/MemoryUsage.java:
13195 (toString()): Fix missing MB for maximum memory usage.
13197 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13200 Updated to include VMCompilationMXBeanImpl.
13201 * doc/vmintegration.texinfo:
13202 Likewise, along with update to VMMemoryMXBeanImpl
13204 * examples/gnu/classpath/examples/management/TestCompilation.java,
13205 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13206 * java/lang/management/CompilationMXBeanImpl.java:
13208 * java/lang/management/ManagementFactory.java:
13209 (getCompilationMXBean()): Implemented.
13210 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13212 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13213 (getHeapMemoryUsage()): Added default implementation.
13215 2006-07-02 Anthony Green <green@redhat.com>
13217 * NEWS: Mention MIDI file reader/writer providers.
13219 2006-07-02 Anthony Green <green@redhat.com>
13221 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13222 gnu/javax/sound/midi/file/MidiFileWriter.java,
13223 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13225 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13228 Updated to include VMMemoryMXBeanImpl.
13229 * doc/vmintegration.texinfo: Likewise.
13230 * examples/gnu/classpath/examples/management/TestMemory.java:
13232 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13233 Remove redundant import.
13234 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13236 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13237 Remove redundant import.
13238 * java/lang/management/ManagementFactory.java:
13239 (getMemoryMXBean()): Implemented.
13240 * java/lang/management/MemoryMXBean.java,
13241 * java/lang/management/MemoryUsage.java:
13243 * java/lang/management/ThreadInfo.java:
13244 (toString()): Updated documentation.
13245 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13248 2006-07-01 Anthony Green <green@redhat.com>
13250 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13251 gnu/javax/sound/midi/file/MidiFileReader.java,
13252 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13253 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13255 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13257 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13258 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13259 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13260 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13261 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13262 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13263 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13265 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13267 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13268 * gnu/javax/crypto/pad/IPad.java: Likewise.
13269 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13270 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13271 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13272 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13273 * gnu/javax/crypto/pad/TBC.java: Likewise.
13274 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13275 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13277 2006-07-01 Anthony Green <green@redhat.com>
13279 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13281 (setMessage): Fix it again, in a different setMessage method.
13283 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13285 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13286 * gnu/javax/crypto/mode/CBC.java: Likewise.
13287 * gnu/javax/crypto/mode/CFB.java: Likewise.
13288 * gnu/javax/crypto/mode/CTR.java: Likewise.
13289 * gnu/javax/crypto/mode/EAX.java: Likewise.
13290 * gnu/javax/crypto/mode/ECB.java: Likewise.
13291 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13292 * gnu/javax/crypto/mode/ICM.java: Likewise.
13293 * gnu/javax/crypto/mode/IMode.java: Likewise.
13294 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13295 * gnu/javax/crypto/mode/OFB.java: Likewise.
13297 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13299 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13300 * gnu/javax/crypto/mac/HMac.java: Likewise.
13301 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13302 * gnu/javax/crypto/mac/IMac.java: Likewise.
13303 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13304 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13305 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13306 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13307 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13308 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13309 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13311 2006-07-01 Anthony Green <green@redhat.com>
13313 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13315 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13317 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13318 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13319 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13320 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13321 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13322 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13323 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13324 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13325 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13326 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13327 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13328 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13329 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13330 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13331 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13332 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13333 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13334 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13335 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13336 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13337 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13338 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13339 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13340 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13342 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13344 * javax/swing/AbstractCellEditor.java: Source code formatting,
13345 * javax/swing/AbstractSpinnerModel.java: Likewise,
13346 * javax/swing/Box.java: Likewise,
13347 * javax/swing/BoxLayout.java: Likewise,
13348 * javax/swing/DefaultListModel.java: Likewise,
13349 * javax/swing/GrayFilter.java: Likewise,
13350 * javax/swing/LookAndFeel.java: Likewise,
13351 * javax/swing/ProgressMonitor.java: Likewise,
13352 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13353 * javax/swing/ScrollPaneLayout.java: Likewise,
13354 * javax/swing/SpringLayout.java: Likewise,
13355 * javax/swing/event/EventListenerList.java: Likewise,
13356 * javax/swing/event/MenuEvent.java: Likewise,
13357 * javax/swing/event/TreeExpansionListener.java: Likewise.
13359 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13362 Mention threading bean and getState().
13363 * doc/vmintegration.texinfo:
13364 Update documentation for threading bean and new
13365 method of VMThread.
13367 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13369 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13370 * examples/gnu/classpath/examples/management/TestOS.java,
13371 * examples/gnu/classpath/examples/management/TestRuntime.java,
13372 * examples/gnu/classpath/examples/management/TestThread.java:
13375 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13377 * java/lang/ThreadGroup.java
13378 (getThreadFromId, getThreadFromIdImpl): New methods.
13380 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13382 * java/lang/Thread.java:
13383 Make thread IDs start from 1 in a more efficient way.
13385 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13387 * java/lang/Thread.java:
13388 Make thread IDs start from 1.
13390 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13392 * gnu/java/lang/management/BeanImpl.java:
13393 New superclass for all bean implementations.
13394 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13395 Extend BeanImpl and call permission code there.
13396 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13398 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13399 Extend BeanImpl and call permission code there.
13400 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13402 * java/lang/management/ManagementFactory.java:
13403 (getThreadMXBean()): Implemented.
13404 * java/lang/management/ThreadInfo.java:
13405 (ThreadInfo(Thread,int)): Replaced...
13406 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13407 boolean, boolean, StackTraceElement[])): with this.
13408 (getBlockedCount()): Refactored to use local variables.
13409 (getBlockedTime()): Likewise.
13410 (getLockName()): Likewise.
13411 (getLockOwnerId()): Likewise.
13412 (getLockOwnerName()): Likewise.
13413 (getStackTrace()): Likewise.
13414 (getWaitedCount()): Likewise.
13415 (getWaitedTime()): Likewise.
13416 (isInNative()): Likewise.
13417 (isSuspended()): Likewise.
13418 (toString()): Changed to use new local variables.
13419 * java/lang/management/ThreadMXBean.java:
13420 (getThreadInfo(long, int)): Corrected documentation.
13421 (getThreadInfo(long[], int)): Likewise.
13422 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13424 * vm/reference/java/lang/management/VMThreadInfo.java:
13427 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13429 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13430 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13431 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13432 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13433 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13434 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13435 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13436 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13437 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13438 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13439 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13440 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13441 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13442 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13443 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13444 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13445 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13446 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13447 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13448 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13449 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13450 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13451 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13452 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13453 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13454 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13455 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13456 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13457 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13458 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13459 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13460 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13462 2006-07-01 Roman Kennke <kennke@aicas.com>
13464 * gnu/java/awt/java2d/AbstractGraphics2D.java
13465 (transform): Make field protected.
13466 (getDestinationRaster): Provide default implementation for
13467 previously abstract method.
13469 2006-06-30 Tania Bento <tbento@redhat.com>
13471 * java/awt/TextArea.java
13472 (TextArea(String, int, int, int)): No longer throws
13473 IllegalArgumentException if rows, columns, or scrollbarVisibility
13474 values are invalid.
13475 (TextArea(String, int, int, int)): If rows or columns are < 0,
13476 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13477 gets set to the default value of 0 (SCROLLBARS_BOTH).
13478 (appendText): Added case when peer = null.
13479 (insertText): Added case when peer == null.
13480 (replaceText): Added case when peer == null.
13481 * java/awt/TextComponent.java
13482 (TextComponent(String)): If text == null, set it to "".
13484 2006-06-30 Lillian Angel <langel@redhat.com>
13486 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13487 (create): Added synchronized block around groupMap.get calls.
13488 (setCheckboxGroup): Likewise.
13490 2006-06-30 Lillian Angel <langel@redhat.com>
13492 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13493 (create): Changed to be non-synchronized.
13494 (setLabel): Likewise.
13495 (setCheckboxGroup): Likewise.
13496 (addToGroupMap): Likewise. Added synchronized block around
13498 (dispose): Changed to be non-synchronized.
13500 2006-06-30 Lillian Angel <langel@redhat.com>
13502 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13503 Changed all return values of native functions to void.
13504 (create): Changed function to be synchronized. Removed
13505 call to put value in groupMap, this is now done from
13507 (setState): Changed function to be synchronized.
13508 (setLabel): Changed function to be synchronized.
13509 (setCheckboxGroup): Changed function to be synchronized. Removed
13510 call to put value in groupMap, this is now done from
13512 (postItemEvent): Changed function to be synchronized.
13513 (addToGroupMap): New function. Called by native code to add
13514 new value to the group.
13515 (dispose): Changed function to be synchronized.
13516 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13518 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13519 (cp_gtk_checkbox_init_jni): Added code to link to
13521 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13522 Changed return value to void. Added call
13523 to java function to set pointer in groupMap.
13524 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13525 changed check to an assert. Also, removed call to set/del pointer.
13526 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13527 Likewise. Also, added check to determine if native_group should be
13529 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13531 2006-06-30 Sven de Marothy <sven@physto.se>
13533 * gnu/java/awt/ClasspathToolkit.java,
13534 * gnu/java/awt/peer/x/XToolkit.java,
13535 * gnu/java/awt/peer/qt/QtToolkit.java,
13536 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13537 Remove ClasspathTextLayoutPeer.
13538 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13539 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13542 2006-06-30 Sven de Marothy <sven@physto.se>
13544 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13545 (drawGlyphVector): Don't draw empty vectors.
13547 2006-06-30 Lillian Angel <langel@redhat.com>
13548 Tom Fitzsimmons <fitzsim@redhat.com>
13550 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13551 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13552 Added current_group, groupMap fields. Added definitions for
13553 new native functions.
13554 (create): Removed FIXME. Added code to create the check button or
13555 radio button when appropriate. Updated groupMap to contain
13556 pointer to the newly created group.
13557 (setCheckboxGroup): Added code to handle all cases. Removing
13558 a button from a group, adding a button to a group, or changing the
13560 (dispose): Changed to call super.
13561 * include/Makefile.am: Removed reference to
13562 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13563 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13564 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13566 * native/jni/gtk-peer/Makefile.am: Removed reference to
13567 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13568 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13570 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13571 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13572 Renamed to checkbox_get_widget.
13573 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13574 Changed to use checkbox_get_widget.
13575 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13577 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13578 Changed to use checkbox_get_widget.
13579 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13581 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13582 New function. Creates checkbutton without a group.
13583 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13584 Creates a radio button in a group, using groupPointer. If groupPointer
13585 is 0, then a new group is created.
13586 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13587 check button to a group, using groupPointer. A radio button is created
13588 in its place. If groupPointer is 0, then a new group is created.
13589 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13590 radio button is removed from the group. A check button is created in
13592 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13593 radio button is moved to a new group.
13595 2006-06-30 Mark Wielaard <mark@klomp.org>
13597 * configure.ac: Move standard.omit creation after dirs are created.
13598 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13599 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13600 (clean-local): Remove standard.omit.
13601 * lib/gen-classlist.sh.in: Use omit file in build dir.
13602 * lib/standard.omit.in: Make exclude regex more explicit.
13604 2006-06-30 Roman Kennke <kennke@aicas.com>
13606 * lib/Makefile.am: Added Escher dir/jar to classpath when
13608 * configure.ac: Moved handling of standard.omit to a place
13609 where it actually gets executed.
13611 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13613 * java/awt/TextComponent.java: Reformatted source code,
13614 * java/awt/TextField.java: Likewise.
13616 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13618 * java/lang/Thread.java:
13619 (getState()): Handle case of no VMThread
13622 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13624 * java/lang/Thread.java,
13625 * java/lang/VMThread.java:
13626 Reverted patch from 2006-06-28.
13628 2006-06-29 Roman Kennke <kennke@aicas.com>
13630 * gnu/java/awt/peer/x/GLGraphics.java,
13631 * gnu/java/awt/peer/x/ImageConverter.java,
13632 * gnu/java/awt/peer/x/KeyboardMapping.java,
13633 * gnu/java/awt/peer/x/XEventPump.java,
13634 * gnu/java/awt/peer/x/XFontPeer.java,
13635 * gnu/java/awt/peer/x/XFontPeer2.java,
13636 * gnu/java/awt/peer/x/XFramePeer.java,
13637 * gnu/java/awt/peer/x/XGraphics.java,
13638 * gnu/java/awt/peer/x/XGraphics2D.java,
13639 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13640 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13641 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13642 * gnu/java/awt/peer/x/XImage.java,
13643 * gnu/java/awt/peer/x/XLightweightPeer.java,
13644 * gnu/java/awt/peer/x/XToolkit.java,
13645 * gnu/java/awt/peer/x/XWindowPeer.java,
13646 * gnu/java/awt/peer/x/fonts.properties: New files.
13647 * lib/standard.omit: Removed.
13648 * lib/standard.omit.in: Added.
13649 * configure.ac: Added configure option --with-escher. Added some
13650 configury for omitting gnu.java.awt.peer.x package when
13651 this option is not specified.
13653 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13655 * javax/swing/JComponent.java
13656 (JComponent()): Initialize the locale here, not the default locale,
13657 (getDefaultLocale): If null, return Locale.getDefault(),
13658 (setDefaultLocale): Added API docs.
13660 2006-06-29 Tania Bento <tbento@redhat.com>
13662 * java/awt/Container.java
13663 (applyComponentOrientation): Implemented method.
13665 2006-06-29 Gary Benson <gbenson@redhat.com>
13667 * java/io/File.java (listRoots): Merge security checks from libgcj.
13669 2006-06-29 Gary Benson <gbenson@redhat.com>
13671 * java/io/FilePermission.java (implies): Work when path is "/".
13673 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13675 * java/lang/Thread.java:
13676 (Thread(ThreadGroup,Runnable,String,long)): Update
13678 (Thread(VMThread,String,int,boolean)): Likewise.
13679 (join(long,int)): Likewise.
13680 (resume()): Likewise.
13681 (sleep(long,int)): Likewise.
13682 (start()): Likewise.
13683 (stop()): Likewise.
13684 (suspend()): Likewise.
13686 (getState()): Return either state or use VMThread.
13687 * java/lang/VMThread.java:
13688 (getState()): Added default implementation to return
13691 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13693 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13694 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13695 endian swapping code.
13697 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13698 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13699 without alpha information correctly on big endian systems.
13701 2006-06-28 Roman Kennke <kennke@aicas.com>
13703 * gnu/java/net/local/LocalSocket.java
13704 (setSoTimeout): Don't throw exception and ignore request.
13705 (getSoTimeout): Don't throw exception and always return 0.
13707 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13709 * javax/swing/JComponent.java
13710 (getRegisteredKeyStrokes): Implemented.
13712 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13714 * javax/swing/JComponent.java
13715 (verifyInputWhenFocusTarget): Initialise to true.
13717 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13719 * java/beans/VetoableChangeSupport.java
13720 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13722 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13723 for null property name and/or listener,
13724 * javax/swing/JComponent.java
13725 (getListeners): Handle VetoableChangeListener.class as a special case,
13726 (getVetoableChangeListeners): Fetch these from the
13727 vetoableChangeSupport object.
13729 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13731 * javax/swing/JComponent.java
13732 (componentPopupMenu): New field,
13733 (inheritsPopupMenu): New field,
13734 (getInheritsPopupMenu): Implemented,
13735 (setInheritsPopupMenu): Likewise,
13736 (getComponentPopupMenu): Likewise,
13737 (setComponentPopupMenu): Likewise,
13738 * javax/swing/JLabel.java
13739 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13741 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13743 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13744 (toString): New method.
13745 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13746 (toString): New method.
13747 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13748 (toString): New method.
13749 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13750 Handle case when Q is null.
13751 (decodePrivateKey): Likewise.
13752 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13754 (decodePublicKey): Likewise.
13755 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13756 aliases for all block ciphers.
13757 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13758 (engineDoPhase): Compute fully the shared secret.
13759 (checkState): New method.
13761 (engineGenerateSecret()): Reset key-agreement before returning.
13762 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13763 Reset key-agreement before returning.
13764 (engineGenerateSecret(String)): Reset key-agreement before returning.
13765 (engineInit(Key,SecureRandom)): Call reset() before returning.
13766 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13767 (engineInit): Replace printing to System.out with conditional logging.
13768 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13769 When the key-size is not specified, attempt best effort to find a suitable
13770 value among those advertised by the cipher before setting it to the length
13771 of provided key material.
13773 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13775 * javax/swing/table/DefaultTableColumnModel.java
13776 (changeEvent): Don't initialize yet, removed FIXME,
13777 (fireColumnModelChanged): Initialize changeEvent if necessary.
13779 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13781 * java/lang/Thread.java:
13782 (getAllStackTraces()): Implemented.
13783 (getStackTrace()): Likewise.
13785 2006-06-27 Tania Bento <tbento@redhat.com>
13787 * java/awt/Component.java
13788 (setComponentOrientation): NPE should not be thrown.
13790 2006-06-27 Tom Tromey <tromey@redhat.com>
13792 * configure.ac: Create gjar, gnative2ascii, gserialver.
13793 * tools/gappletviewer.in: Quote $@.
13794 * tools/gkeytool.in: Likewise.
13795 * tools/gjarsigner.in: Likewise.
13796 * tools/gjar.in: New file.
13797 * tools/gnative2ascii.in: Likewise.
13798 * tools/gserialver.in: Likewise.
13799 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13801 (bin_SCRIPTS): Likewise.
13803 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13805 * java/lang/management/ThreadMXBean.java:
13806 (getThreadInfo(long[])): Corrected return type.
13807 (getThreadInfo(long[], int)): Likewise.
13809 2006-06-27 Mark Wielaard <mark@klomp.org>
13811 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13812 nothing when listener is null.
13813 (removeFlavorListener): Likewise.
13815 * java/awt/datatransfer/DataFlavor.java
13816 (getRepresentationClassFromMime): Renamed to
13817 getRepresentationClassFromMimeThrows.
13818 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13819 (isRepresentationClassSerializable): Likewise.
13820 (isFlavorJavaFileListType): Likewise and check primary and
13822 (getParameter): Parameters are separated by semi-colons.
13823 (DataFlavor(Class,String,String)): Do some sanity checks.
13824 (DataFlavor(String,String,ClassLoader)): Call
13825 getRepresentationClassFromMimeThrows.
13826 (DataFlavor(String)): Likewise.
13827 (equals(DataFlavor)): Special case primary type text and charset
13830 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13832 * java/awt/Component.java
13833 (setName): Fire required PropertyChangeEvent,
13834 * java/awt/Label.java
13835 (getText): Removed redundant brackets,
13836 (generateName): New method (override),
13837 (nextLabelNumber): New field,
13838 (getUniqueLong): New method.
13840 2006-06-27 Roman Kennke <kennke@aicas.com>
13842 * gnu/java/awt/peer/swing/SwingComponentPeer.java
13843 (createImage): Delegate this to the parent.
13844 (handleEvent): Only handle PAINT/UPDATE events when the
13845 component is actually showing.
13846 (hide): Repaint the parent after hiding a component.
13847 (prepareImage): Have only one return point.
13848 (setVisible): Delegate to show() and hide().
13849 (createVolatileImage): Added null check to avoid NPE.
13851 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13853 * java/awt/Label.java: Reformatted source code.
13855 2006-06-27 Roman Kennke <kennke@aicas.com>
13857 * java/awt/image/BufferedImage.java
13858 (getSource): Use a fixed DirectColorModel to deliver the
13859 RGB pixels to the ImageConsumer.
13861 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13863 * java/awt/Point.java
13864 (setLocation(double, double)): Round to nearest integer coordinates.
13866 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13868 * java/awt/Component.java
13869 (minSizeSet): New field,
13870 (maxSize): Likewise,
13871 (maxSizeSet): Likewise,
13872 (isMaximumSizeSet): Implemented,
13873 (isMinimumSizeSet): Likewise,
13874 (isPreferredSizeSet): Likewise,
13875 (setMaximumSize): Likewise,
13876 (setMinimumSize): Likewise,
13877 (setPreferredSize): Likewise.
13879 2006-06-27 Roman Kennke <kennke@aicas.com>
13881 * javax/imageio/spi/IIORegistry.java
13882 (IIORegistry): Added BMP codec.
13884 2006-06-27 Mark Wielaard <mark@klomp.org>
13886 * javax/swing/JComponent.java
13887 (firePropertyChange(String,char,char)): New override method.
13889 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13891 * java/lang/Thread.java:
13892 (getState()): New method.
13893 * java/lang/management/ClassLoadingMXBean.java:
13894 Corrected class documentation.
13895 * java/lang/management/ManagementFactory.java:
13896 Added new temporary marked stub to get thread bean.
13897 * java/lang/management/OperatingSystemMXBean.java:
13898 Corrected class documentation.
13899 * java/lang/management/RuntimeMXBean.java:
13900 Corrected class documentation.
13901 * java/lang/management/ThreadInfo.java,
13902 * java/lang/management/ThreadMXBean.java:
13904 * vm/reference/java/lang/VMThread.java:
13905 (getState()): New method.
13906 * vm/reference/java/lang/management/VMThreadInfo.java:
13909 2006-06-26 Sven de Marothy <sven@physto.se>
13911 * gnu/javax/imageio/gif/GIFFile.java
13912 * gnu/javax/imageio/gif/GIFImageReader.java
13913 * gnu/javax/imageio/gif/GIFImageSpi.java
13914 * gnu/javax/imageio/gif/GIFStream.java
13916 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13918 2006-06-26 Tania Bento <tbento@redhat.com>
13920 * java/awt/List.java
13921 (List): A list should have at least 4 visible rows.
13922 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13923 not an IllegalArgumentException.
13924 (makeVisible): Should not throw an IllegalArgumentException if
13925 the specified index is out of range.
13927 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13929 * javax/swing/JList.java
13930 (getNextMatch): Reimplemented to perform a circular search for the
13933 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13935 * javax/swing/JList.java
13936 (init): Set default value for visibleRowCount to 8,
13937 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13939 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13941 * javax/swing/JList.java
13942 (valueIsAdjusting): Removed,
13943 (init): Removed initialization of valueIsAdjusting field,
13944 (getValueIsAdjusting): Fetch value from selection model,
13945 (setValueIsAdjusting): Store value in selection model.
13947 2006-06-26 Roman Kennke <kennke@aicas.com>
13949 * javax/swing/plaf/basic/BasicListUI.java
13950 (installKeyboardActions): Rewritten to fit with the
13951 ActionMap/InputMap architecture.
13952 (uninstallKeyboardActions): Implemented.
13953 (ListAction): Made private. Added TODO for splitting
13954 up this bulk Action.
13955 (ListAction.ListAction): New constructor. This one
13956 takes a cmd parameter to be installed as actionCommand.
13958 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13960 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13961 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13963 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13965 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13966 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13967 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13968 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13969 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13970 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13971 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13972 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13973 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13974 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13975 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13976 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13977 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13978 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13979 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13980 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13981 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13982 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13983 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13984 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13985 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13986 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13987 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13988 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13989 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13990 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13991 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13992 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13993 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13994 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13995 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13996 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13997 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13998 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13999 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14000 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14001 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14002 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14003 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14004 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14005 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14006 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14007 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14008 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14009 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14010 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14011 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14012 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14013 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14014 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14015 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14016 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14017 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14018 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14019 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14020 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14021 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14022 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14023 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14024 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14025 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14026 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14027 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14028 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14029 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14030 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14031 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14032 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14033 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14034 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14035 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14036 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14037 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14038 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14039 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14040 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14041 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14042 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14043 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14044 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14045 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14046 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14048 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
14050 * javax/swing/JList.java
14051 (setLayoutOrientation): Check for valid argument.
14053 2006-06-26 Roman Kennke <kennke@aicas.com>
14055 * javax/swing/JComponent.java
14056 (firePropertyChange(String,int,int)): New method. Overrides
14057 Component method and makes it public.
14058 (firePropertyChange(String,boolean,boolean)): Likewise.
14060 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
14062 * gnu/java/security/.cvsignore: New File.
14063 * gnu/java/security/Configuration.java.in: New File.
14064 * gnu/java/security/Properties.java: Change import from
14065 gnu.classpath.Configuration to gnu.java.security.Configuration.
14066 * gnu/java/security/hash/Whirlpool.java: Likewise.
14067 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14068 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14069 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14070 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14071 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14072 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14073 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14074 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14075 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14076 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14077 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14078 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14079 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14080 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14081 * gnu/java/security/util/Base64.java: Likewise.
14082 * gnu/java/security/x509/X509CRL.java: Likewise.
14083 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14084 * gnu/java/security/x509/ext/Extension.java: Likewise.
14085 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14086 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14087 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14088 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14089 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14090 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14091 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14092 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14093 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14094 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14095 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14096 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14097 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14098 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14099 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14100 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14101 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14102 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14103 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14104 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14105 * gnu/javax/crypto/pad/TBC.java: Likewise.
14106 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14107 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14108 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14109 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14110 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14111 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14112 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14113 * gnu/javax/security/auth/login/GnuConfiguration.java
14114 (getAppConfigurationEntry): Change reference to
14115 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14116 (getConfigFromUserHome): Likewise.
14117 (getInputStreamFromURL): Likewise.
14118 (getUserHome): Likewise.
14120 (processSecurityProperties): Likewise.
14121 (processSystemProperty): Likewise.
14122 (processUserHome): Likewise.
14123 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14124 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14127 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14129 * javax/swing/text/DefaultCaret.java (isActive): New method.
14131 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14133 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14134 * java/lang/management/ClassLoadingMXBean.java:
14135 (getTotalLoadedClassCount()): Corrected return type.
14136 (getUnloadedClassCount()): Likewise.
14137 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14138 (getUnloadedClassCount()): Likewise.
14140 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14142 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14143 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14144 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14145 * gnu/javax/crypto/cipher/Square.java: Likewise.
14146 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14147 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14148 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14149 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14150 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14151 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14152 * gnu/javax/crypto/cipher/DES.java: Likewise.
14153 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14154 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14155 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14156 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14157 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14159 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14161 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14162 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14163 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14164 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14165 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14166 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14167 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14168 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14169 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14170 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14171 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14172 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14173 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14175 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14178 * doc/vmintegration.texinfo:
14179 Updated with information on new VM interface.
14180 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14181 * java/lang/management/ClassLoadingMXBean.java:
14182 New files implementing the class loading bean.
14183 * java/lang/management/ManagementFactory.java:
14184 (getClassLoadingMXBean()): Implemented.
14185 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14186 New VM interface file.
14188 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14190 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14191 (isBootClassPathSupported()): Use SystemProperties
14192 rather than System.getProperty.
14194 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14196 * gnu/java/security/Properties.java: Source formatting.
14197 * gnu/java/security/Registry.java: Likewise.
14199 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14201 * gnu/java/security/util/Util.java: Source formatting.
14202 * gnu/java/security/util/SimpleList.java: Likewise.
14203 * gnu/java/security/util/Sequence.java: Likewise.
14204 * gnu/java/security/util/PRNG.java: Likewise.
14205 * gnu/java/security/util/ExpirableObject.java: Likewise.
14206 * gnu/java/security/util/Base64.java: Likewise.
14207 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14208 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14209 * gnu/java/security/sig/ISignature.java: Likewise.
14210 * gnu/java/security/sig/BaseSignature.java: Likewise.
14211 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14212 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14213 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14214 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14215 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14216 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14217 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14218 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14219 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14220 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14221 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14222 * gnu/java/security/provider/Gnu.java: Likewise.
14223 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14224 * gnu/java/security/prng/RandomEvent.java: Likewise.
14225 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14226 * gnu/java/security/prng/MDGenerator.java: Likewise.
14227 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14228 * gnu/java/security/prng/IRandom.java: Likewise.
14229 * gnu/java/security/prng/EntropySource.java: Likewise.
14230 * gnu/java/security/prng/BasePRNG.java: Likewise.
14232 2006-06-23 Francis Kung <fkung@redhat.com>
14234 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14235 (Harness.actionPerformed): Process additional options.
14236 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14237 (J2dBenchmarkWrapper.setAlias): New method.
14238 (J2dBenchmarkWrapper.setComposite): New method.
14239 (J2dBenchmarkWrapper.setFill): New method.
14240 (J2dBenchmarkWrapper.setRotation): New method.
14241 (J2dBenchmarkWrapper.setShear): New method.
14242 (J2dBenchmarkWrapper.setStroke): New method.
14243 (J2dBenchmarkWrapper.setTranslation): New method.
14244 (run): Add additional options to GUI.
14245 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14246 Added protected fields for various options.
14247 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14248 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14249 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14250 (getNextColor): Renamed to setRandom.
14251 (init): Load additional image for texturing if needed.
14252 (loadBufferedImage): New method.
14253 (main): Accept additional command-line switches.
14254 (prepareGraphics): New method.
14255 (resetGraphics): New method.
14256 (runTestSuite): Accept additional image-processing options.
14257 (setRandom): Renamed from getNextColor; generate various random options
14258 (test_drawArc): Rename getNextColor to setRandom.
14259 (test_drawCubic): Likewise.
14260 (test_drawEllipse): Likewise.
14261 (test_drawGeneralPath): Likewise.
14262 (test_drawImage): Likewise.
14263 (test_drawLine): Likewise.
14264 (test_drawQuadCurve): Likewise.
14265 (test_drawRectangle): Likewise.
14266 (test_drawRoundRectangle): Likewise.
14267 (test_drawTransparentImage): Likewise.
14268 (test_fillArc): Rename getNextColor to setRandom.
14269 (test_fillEllipse): Likewise.
14270 (test_fillGeneralPath): Likewise.
14271 (test_fillRectangle): Likewise.
14272 (test_fillRoundRectangle): Likewise.
14273 (TestRecorder.getAverage): Round the average time.
14275 2006-06-23 Tom Tromey <tromey@redhat.com>
14277 * java/util/logging/LoggingMXBean.java: New file.
14278 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14279 (loggingBean): New field.
14280 (getLoggingMXBean): New method.
14282 2006-06-23 Tania Bento <tbento@redhat.com>
14284 * java/awt/TextField.java
14285 (TextField): Default number of columns should be 0, not 1.
14286 (TextField): Check if number of columns given as argument
14287 is valid (>= 0) and set the number of columns accordingly.
14288 (TextField): Check if the string passed is null. If it is,
14289 set columns to 0, else columns is set to the length of
14292 2006-06-23 Roman Kennke <kennke@aicas.com>
14294 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14295 (InternalFramePropertyChangeListener.propertyChange):
14296 Don't call getPropertyName() repeatedly. Added null checks
14297 to avoid NPEs. Call closeFrame() if the closed property
14300 2006-06-23 Roman Kennke <kennke@aicas.com>
14302 * javax/swing/JInternalFrame.java
14303 (maxTransition): Removed.
14304 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14305 Don't initialize storedBounds here.
14306 (dipose): Rewritten to correctly dispose the JInternalFrame.
14307 (getDesktopIcon): Don't initialize desktopIcon here.
14308 (getLayer): Delegate to JLayeredPane.getLayer().
14309 (getNormalBounds): Return bounds when storedBounds == null,
14310 otherwise storedBounds.
14311 (hide): Don't change selection. Also hide the desktopIcon.
14312 (moveToBack): Call getParent() only once.
14313 (moveToFront): Call getParent() only once.
14314 (pack): Call validate() to make sure that the layout is
14315 propagated to the children.
14316 (setClosed): Fire InternalFrameEvent first, before the
14318 (setJMenuBar): Fire PropertyChangeEvent for this property.
14319 (setLayer): Delegate to JLayeredPane.
14320 (setLayeredPane): Check for null and throw IllegalArgumenException.
14321 (setMaximum): Remove handling of maxTransition and normalBounds.
14322 Should probably be done in the UI.
14323 (setNormalBounds): Store Rectangle object directly, not a copy.
14324 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14325 adding the RootPane doesn't add it to the contentPane.
14326 Fire PropertyChangeEvent.
14327 (setSelected): Added condition for when this property must not
14329 (show): Don't ask the DesktopPane to select the frame. Moved
14330 code around to fire InternalFrameEvent before actually calling
14331 super.show(). Also make the desktopIcon visible.
14332 (setTitle): Fire PropertyChangeEvent unconditionally.
14334 2006-06-23 Roman Kennke <kennke@aicas.com>
14336 * javax/swing/JLayeredPane.java
14337 (getPosition): Moved code around to avoid unnecessary method calls.
14338 (setPosition): Delegate to setLayer().
14339 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14340 (insertIndexForLayer(Component,int,int)): New helper method
14341 to support the use of setComponentZOrder() which doesn't remove
14342 the component and thus the insertIndexForLayer must ignore
14343 the component to be moved to get the index right.
14344 (setLayer): Added check to prevent unnecessary execution of
14345 method body. Changed to update the component order here.
14346 Added repaint() to make sure that the update becomes visible.
14347 (addImpl): Call setLayer() only when a constraint has been specified.
14348 Validate and repaint the JLayeredPane.
14350 2006-06-23 Roman Kennke <kennke@aicas.com>
14352 * java/awt/Container.java
14353 (getComponentZOrder): Use ncomponents instead of
14354 component.length so that we don't consider the empty space
14355 after the last component.
14357 2006-06-22 Roman Kennke <kennke@aicas.com>
14359 * javax/swing/JComponent.java
14360 (vetoableChangeSupport): New field.
14361 (removeVetoableChangeListener): Rewritten to use
14362 vetoableChangeSupport.
14363 (addVetoableChangeListener): Rewritten to use
14364 vetoableChangeSupport.
14365 (fireVetoableChange): Rewritten to use
14366 vetoableChangeSupport.
14367 (addPropertyChangeListener): Removed. This is handled in
14369 (firePropertyChange(String,boolean,boolean)): Likewise.
14370 (firePropertyChange(String,char,char)): Likewise.
14371 (firePropertyChange(String,int,int)): Likewise.
14372 (revalidate): Don't do anything when the commponent has no
14375 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14377 * javax/swing/JLabel.java: Updated API docs.
14379 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14381 * java/awt/Insets.java: Updated copyright year.
14382 (toString): Changed string, removed a line from the
14385 2006-06-22 Roman Kennke <kennke@aicas.com>
14387 * javax/swing/text/AbstractDocument.java
14388 (AbstractDocument): Set the i18n document property.
14389 (removeImpl): Added checks for correct boundaries.
14391 2006-06-22 Roman Kennke <kennke@aicas.com>
14393 * javax/swing/text/PlainDocument.java
14394 (rootElement): Changed type to Element.
14395 (tabSize): Removed field. This is stored in the document properties
14397 (PlainDocument): Set tabSize property. Init rootElement without
14399 (insertUpdate): Rewritten. The previous implementation did not
14400 handle some corner cases properly and was a mess.
14401 (removeUpdate): Cast rootElement to BranchElement.
14403 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14405 * javax/swing/plaf/basic/BasicLabelUI.java
14406 (installKeyboardActions): Implemented,
14407 (uninstallKeyboardActions): Implemented,
14408 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14411 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14413 * javax/swing/JMenu.java:
14414 (removeAll): Added check for popupMenu not being null.
14416 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14418 * javax/swing/JLabel.java
14419 (getText): Updated API docs,
14420 (setText): Corrected the check for an unchanged value, and the update
14421 of the displayedMnemonicIndex.
14423 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14425 * javax/swing/JLabel.java
14426 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14428 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14429 where label text is null.
14431 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14433 * javax/swing/JLabel.java
14434 (setDisplayedMnemonic): Updated API docs,
14435 (getDisplayedMnemonic): Removed unnecessary type-cast,
14436 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14437 (getDisplayedMnemonicIndex): Updated API docs.
14439 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14441 * java/util/Collections (entrySet): Fixed compile error.
14443 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14445 * javax/swing/DefaultListSelectionModel.java
14446 (getSelectionMode): Updated API docs,
14447 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14448 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14449 setSelectionInterval(),
14450 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14451 SINGLE_INTERVAL_SELECTION cases.
14453 2006-06-21 Roman Kennke <kennke@aicas.com>
14455 * javax/swing/text/AbstractDocument.java
14456 (BranchElement.numChildren): New field.
14457 (BranchElement.BranchElement): Initialize children array with
14458 one element (that's the least number of elements that makes sense).
14459 Initialize numChildren.
14460 (BranchElement.children): Use numChildren as boundary.
14461 (BranchElement.getElement): Use numChildren as boundary.
14462 (BranchElement.getElementCount): Use numChildren as boundary.
14463 (BranchElement.getElementIndex): Use numChildren as boundary.
14464 (BranchElement.getEndOffset): Use numChildren as boundary.
14465 (BranchElement.getStartOffset): Use numChildren as boundary.
14466 (BranchElement.positionToElement): Use numChildren as boundary.
14467 (BranchElement.replace): Handle the children array more efficiently
14468 by growing in blocks > 1, and reusing space from removed elements.
14469 (LeafElement.startDelta): Removed.
14470 (LeafElement.endDelta): Removed.
14471 (LeafElement.LeafElement): Removed handling of deltas.
14472 (LeafElement.getEndOffset): Likewise.
14473 (LeafElement.getStartOffset): Likewise.
14474 * javax/swing/text/JTextComponent.java
14475 (setDocument): Added locking of the old document to avoid dangling
14476 notification beeing delivered while the document is beeing
14478 (getScrollableTracksViewportWidth): Fixed condition.
14479 * javax/swing/text/PlainDocument.java
14480 (createDefaultRoot): Create elements without AttributeSet.
14481 * javax/swing/text/rtf/RTFParser.java
14482 (parseFile): Handle slightly incorrect RTF gracefully.
14483 * javax/swing/text/rtf/RTFScanner.java
14484 (lastToken): New field.
14485 (readTokenImpl): New method.
14486 (peekToken): New method.
14487 (readToken): Changed to call readTokenImpl or return the lastToken
14488 if there's one present.
14490 2006-06-21 Tania Bento <tbento@redhat.com>
14492 * javax/swing/JMenu.java
14493 (remove): An IllegalArgumentException should be thrown if
14494 either index < 0 or if index > 0 and there are no menu
14495 components. Also, a check was added that ensures there are
14496 menu components before removing the desired the component.
14498 2006-06-21 Lillian Angel <langel@redhat.com>
14500 * javax/swing/text/DefaultCaret.java
14501 (install): Added check to prevent NPE.
14502 (propertyChange): Added checks to prevent NPEs.
14504 2006-06-21 Tania Bento <tbento@redhat.com>
14506 * javax/swing/JMenu.java
14507 Changed instantiation of popupMenu to null.
14508 (JMenu): Instantiated popupMenu to new JPopupMenu.
14509 (JMenu): Instantiated popupMenu to new JPopupMenu.
14510 (add): Changed popupMenu to getPopupMenu().
14511 (add): Changed popupMenu to getPopupMenu().
14512 (add): Changed popupMenu to getPopupMenu().
14513 (add): Changed popupMenu to getPopupMenu().
14514 (remove): Changed popupMenu to getPopupMenu().
14515 (remove): Changed popupMenu to getPopupMenu().
14516 (insert): Changed popupMenu to getPopupMenu().
14517 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14518 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14519 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14520 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14521 (getMenuComponents): Changed popupMenu to getPopupMenu().
14522 (getPopupMenu): Check first if popupMenu is null and if so,
14523 instantiate it to a new JPopupMenu and set the invoker.
14524 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14525 (popupMenuWillBecomeVisible): Component Listener should only
14526 be added to the root container if the root container is not
14527 null. This avoids a null pointer exception.
14529 2006-06-21 Tania Bento <tbento@redhat.com>
14531 * javax/swing/JMenu.java
14532 (JMenu): Delay should be set to 200, not default of 0.
14533 (JMenu): Delay should be set to 200, not default of 0.
14534 (JMenu): Delay should be set to 200, not default of 0.
14535 (JMenu): Delay should be set to 200, not default of 0.
14536 (remove): Added check that index >= 0 before removing
14538 (getItem): Return null if item count equals 0.
14539 (isTearOff): Should throw new error and not return false.
14540 (getMenuComponent): Return null if popupMenu is null or
14541 if there are no menu components.
14543 2006-06-21 Roman Kennke <kennke@aicas.com>
14545 * java/awt/font/FontRenderContext.java:
14546 (equals): Added special conditions for affineTransform beeing
14549 2006-06-21 Roman Kennke <kennke@aicas.com>
14551 * javax/swing/UIManager.java
14552 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14553 must not be cleared.
14555 2006-06-21 Roman Kennke <kennke@aicas.com>
14557 * javax/swing/plaf/metal/MetalUtils.java
14558 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14559 Graphics2D is available. Use fillRect instead of drawLine, this
14561 (paintVerticalGradient): Use paintHorizontalGradient2D when
14562 Graphics2D is available. Use fillRect instead of drawLine, this
14564 (paintHorizontalGradient2D): New method. Paints gradient
14565 using Graphics2D functions.
14566 (paintVerticalGradient2D): New method. Paints gradient
14567 using Graphics2D functions.
14569 2006-06-21 Roman Kennke <kennke@aicas.com>
14571 * javax/swing/plaf/basic/BasicButtonListener.java
14572 (propertyChange): Create a TextLayout and store it in the button
14573 when the 'text' property changes.
14574 * javax/swing/plaf/basic/BasicButtonUI.java
14575 (paintText): Call BasicGraphicsUtils utility method for
14576 drawing strings, instead of Graphics.drawString().
14577 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14578 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14579 cached text layouts as client properties in JComponents.
14580 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14581 (drawStringUnderlineCharAt): New helper method.
14582 * javax/swing/plaf/basic/BasicMenuItemUI.java
14583 (PropertyChangeHandler.propertyChange): Update cached text layout
14584 when 'text' property changes. Use equals() instead of == for
14586 (paintText): Use new BasicGraphicsUtils methods for painting
14587 the cached text layout.
14588 (installListeners): Call super.installListeners() and remove
14589 the unneeded listener installs.
14590 (uninstallListeners): Call super.uninstallListeners() and remove
14591 the unneeded listener uninstalls.
14593 2006-06-21 Roman Kennke <kennke@aicas.com>
14595 * javax/swing/plaf/basic/BasicTextUI.java
14596 (PropertyChangeHandler.propertyChange): Handle document listener
14598 (background): Removed unneeded fields.
14599 (inactiveBackground): Remove unneeded fields.
14600 (installUI): Install the document listener. Slightly changed
14601 order of operations. Don't trigger modelChanged().
14602 (installDefaults): Only install properties when the
14603 current properties are null or instances of UIResource.
14604 (installListeners): Removed unnecessary listener installs.
14605 (installDocumentListeners): Removed unneeded method.
14606 (uninstallListeners): Removed unnecessary listener uninstalls.
14607 (modelChanged): Removed call to installDocumentListeners().
14608 * javax/swing/plaf/basic/BasicTextFieldUI.java
14609 (propertyChange): Update the colors by fetching them from
14610 SharedUIDefaults. Fixed conditions.
14611 * javax/swing/plaf/basic/SharedUIDefaults.java
14612 (getColor): New method.
14614 2006-06-21 Roman Kennke <kennke@aicas.com>
14616 * javax/swing/SizeSequence.java
14617 (SizeSequence): Initialize array with correct number of entries.
14619 2006-06-21 Roman Kennke <kennke@aicas.com>
14621 * javax/swing/JSplitPane.java
14622 (setDividerLocation): Substract divider size when computing
14625 2006-06-21 Roman Kennke <kennke@aicas.com>
14627 * javax/swing/JComponent.java
14628 (paintChildrenWithOverlap): Determine opaque property by
14629 calling the corresponding Component method, without requiring
14631 (paintChildrenOptimized): Removed old unneeded code.
14632 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14633 method instead of SwingUtilities.convertRectangle(). This is
14636 2006-06-21 Roman Kennke <kennke@aicas.com>
14638 * javax/swing/AbstractButton.java
14639 (init): Call setText() instead of setting the property directly,
14640 so that listeners (especially in the UI) get notified.
14642 2006-06-21 Roman Kennke <kennke@aicas.com>
14644 * javax/swing/UIManager.java
14645 (MultiplexUIDefaults): New inner class.
14646 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14647 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14648 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14649 directly. Print stacktrace if something goes wrong.
14650 (get): Delegate call to currentUIDefaults.
14651 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14653 (getUI): Delegate call to currentUIDefaults.
14654 (put): Delegate call to currentUIDefaults.
14655 (setLookAndFeel): Initialize currentUIDefaults with
14656 MultiplexUIDefaults. Set lookAndFeelDefaults.
14657 (setLookAndFeel): Use current thread's context classloader for
14660 2006-06-21 Roman Kennke <kennke@aicas.com>
14662 * javax/swing/text/GapContent.java
14663 (GapContentPosition.GapContentPosition): Replace
14664 Collections.binarySearch with call to local search() to make
14665 sure we find the first object that equals the searched object.
14666 (setPositionsInRange): Likewise.
14667 (adjustPositionsInRange): Likewise.
14668 (search): New helper method.
14670 2006-06-21 Gary Benson <gbenson@redhat.com>
14672 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14673 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14674 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14676 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14678 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14679 APPLETVIEWER_EXECUTABLE to gappletviewer.
14681 2006-06-20 Tom Tromey <tromey@redhat.com>
14683 PR classpath/28095:
14684 * java/net/URL.java (URL): Throw MalformedURLException if a
14685 RuntimeException is caught. Chain exceptions.
14687 2006-06-20 Lillian Angel <langel@redhat.com>
14689 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14690 (create): Added check to prevent Seg Fault. Should not
14691 set the label if it is null.
14692 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14693 (setText): Changed to be a non-native function. Calls
14694 setNativeText if the String parameter is non-null.
14695 (setNativeText): Replaces old native setText function.
14696 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14697 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14698 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14699 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14700 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14701 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14703 2006-06-20 Lillian Angel <langel@redhat.com>
14705 * javax/swing/text/JTextComponent.java
14706 (AccessibleJTextComponent): Rewrote all javadocs
14707 for this inner class.
14709 2006-06-20 Francis Kung <fkung@redhat.com>
14711 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14712 Changed many members to be protected.
14713 (J2dBenchmark): moved to init() instead.
14714 (init): New method.
14715 (main): Call init() after creating object
14716 (testComplete): New method.
14717 (test_drawArc): Use maxTests varialbe instead of constant.
14718 (test_drawCubicCurve): Likewise.
14719 (test_drawEllipse): Likewise.
14720 (test_drawGeneralPath): Likewise.
14721 (test_drawImage): Likewise.
14722 (test_drawLine): Likewise.
14723 (test_drawQuadCurve): Likewise.
14724 (test_drawRectangle): Likewise.
14725 (test_drawRoundRectangle): Likewise.
14726 (test_drawTransparentImage): Likewise.
14727 (test_fillArc): Likewise.
14728 (test_fillEllipse): Likewise.
14729 (test_fillGeneralPath): Likewise.
14730 (test_fillRectangle): Likewise.
14731 (test_fillRoundRectangle): Likewise.
14732 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14733 (GraphicsTest.runSetWithClipping): Likewise.
14734 (GraphicsTest.runSetZeroClipping): Likewise.
14735 (GraphicsTest.run): Added checks for more option flags.
14736 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14739 2006-06-20 Roman Kennke <kennke@aicas.com>
14741 * javax/swing/text/GapContent.java
14742 (GapContentPosition.mark): New field.
14743 (GapContentPosition.index): Removed.
14744 (GapContentPosition.GapContentPosition): Changed to take the
14745 real offset as parameter. Added handling of reference counter.
14746 Try to cleanup before creating new instances.
14747 (getOffset): Delegate to the Mark method with same name.
14748 (Mark): New class, encapsulating a mark.
14749 (positionMarks): Removed field.
14750 (numMarks): Removed field.
14751 (marks): New field.
14752 (queueOfDeath): New field.
14753 (GapContent): Removed init of old fields, added init of new fields.
14754 (createPosition): Added check for validity of arguments.
14755 Create GapContentPosition directly with offset.
14756 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14757 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14758 (shiftGapStartDown): Call resetMarksAtZero().
14759 (shiftGapEndUp): Call resetMarksAtZero().
14760 (replace): Don't call resetMarksAtZero().
14761 (setPositionInRange): Replaced by simpler algorithm, similar to
14762 adjustPositionsInRange.
14763 (adjustPositionsInRange): Adapted to use of Mark objects.
14764 (resetMarksAtZero): Reset all marks that point to zero instead
14765 of only the first one.
14766 (dumpMarks): Adjusted to dump Mark objects.
14767 (insertMark): Removed.
14768 (garbageCollect): New method. Cleans up the marks list.
14769 (binarySearch): Removed.
14771 2006-06-20 Lillian Angel <langel@redhat.com>
14773 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14774 (drawImage): Added call to updateColor because
14775 Cairo seems to lose the current color.
14777 2006-06-20 Gary Benson <gbenson@redhat.com>
14779 * java/awt/Toolkit.java: Add security check.
14780 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14781 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14783 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14785 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14786 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14787 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14788 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14789 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14790 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14791 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14792 * gnu/java/security/key/dss/FIPS186.java: Likewise.
14793 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14794 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14795 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14796 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14797 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14798 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14799 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14800 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14801 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14802 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14803 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14805 2006-06-19 Lillian Angel <langel@redhat.com>
14807 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14808 (drawImage): Should always use getRGB to get the pixels.
14809 getData returns an incorrect array of pixels.
14811 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14813 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14814 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14815 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14816 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14817 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14818 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14819 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14820 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14821 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14822 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14823 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14824 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14825 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14826 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14827 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14828 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14829 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14830 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14831 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14832 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14833 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14834 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14835 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14836 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14837 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14838 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14839 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14840 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14841 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14842 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14843 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14844 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14845 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14846 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14847 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14848 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14850 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14852 * NEWS: Updated (delayed) for security tools and tools.texinfo.
14854 2006-06-19 Roman Kennke <kennke@aicas.com>
14856 * gnu/java/awt/peer/gtk/ComponentGraphics.java
14857 (drawImage): Clip volatile image correctly.
14858 (drawVolatileImage): Added arguments for clipping.
14859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14860 (drawVolatileImage): Added arguments for clipping. Clip image
14862 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14864 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14867 * java/rmi/server/UID.java (constructor): Synchronized
14868 the whole constructor on the UID class.
14870 2006-06-19 Roman Kennke <kennke@aicas.com>
14872 * javax/swing/RepaintManager.java
14873 (addInvalidComponent): Only add component that are displayable,
14874 that have displayable parents and that have a validateRoot.
14875 Also, don't validate components that have a CellRendererPane
14878 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
14880 * javax/swing/plaf/IconUIResource.java
14881 (IconUIResource): Throw IllegalArgumentException for null icon.
14883 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14886 * java/rmi/server/UID.java (constructor): First increment
14887 uidCounter, and then use the value.
14889 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
14891 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14892 * java/awt/GridBagConstraints.java: Indent.
14894 2006-06-18 Tom Tromey <tromey@redhat.com>
14896 * native/jni/gconf-peer/.cvsignore: New file.
14898 2006-06-18 Tom Tromey <tromey@redhat.com>
14900 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14901 Also handle short options.
14903 2006-06-18 Jim Huang <jserv@kaffe.org>
14905 PR classpath/28076:
14906 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14909 2006-06-19 Mark Wielaard <mark@klomp.org>
14911 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14912 on gnu/java/util/prefs/gconf/%.class.
14913 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14914 chache typo, should be cache.
14915 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14917 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14919 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14920 Don't return a value for void function.
14921 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14923 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14924 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
14926 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14927 Mark clazz ad unused.
14929 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14931 * gnu/java/security/hash/Whirlpool.java: Source formatting.
14932 * gnu/java/security/hash/Tiger.java: Likewise.
14933 * gnu/java/security/hash/Sha512.java: Likewise.
14934 * gnu/java/security/hash/Sha384.java: Likewise.
14935 * gnu/java/security/hash/Sha256.java: Likewise.
14936 * gnu/java/security/hash/Sha160.java: Likewise.
14937 * gnu/java/security/hash/RipeMD160.java: Likewise.
14938 * gnu/java/security/hash/RipeMD128.java: Likewise.
14939 * gnu/java/security/hash/MD5.java: Likewise.
14940 * gnu/java/security/hash/MD4.java: Likewise.
14941 * gnu/java/security/hash/MD2.java: Likewise.
14942 * gnu/java/security/hash/IMessageDigest.java: Likewise.
14943 * gnu/java/security/hash/Haval.java: Likewise.
14944 * gnu/java/security/hash/HashFactory.java: Likewise.
14945 * gnu/java/security/hash/BaseHash.java: Likewise.
14947 2006-06-18 Sven de Marothy <sven@physto.se>
14949 * java/awt/event/KeyEvent.java:
14950 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14951 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14952 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14954 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14956 * gnu/java/security/util/Prime2.java: Removed.
14957 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14958 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14959 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14960 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14961 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14962 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14963 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14964 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14965 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14966 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14967 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14968 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14970 2006-06-18 Sven de Marothy <sven@physto.se>
14972 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14973 * java/awt/font/TextMeasurer.java: Fix copyright date,
14974 remove commented-out code.
14976 2006-06-18 Sven de Marothy <sven@physto.se>
14978 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14979 (FreetypeGlyphVector, clone): Implement cloning.
14980 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14981 * java/awt/font/TextMeasurer.java: Implement.
14982 * java/awt/font/LineBreakMeasurer.java:
14983 Reimplement to use TextMeasurer.
14984 * java/awt/font/TextLayout.java
14986 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14987 (getText, getFont): New private static methods.
14988 (setCharIndices): New method.
14989 * java/text/AttributedString.java
14990 (AttributedString): Fix constructor to stop at end point.
14992 2006-06-17 Tom Tromey <tromey@redhat.com>
14994 * lib/gen-classlist.sh.in: Search all top-level directories, not
14995 just 'org', in external.
14997 2006-06-12 Mario torre <neugens at limasoftware.net>
14999 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15000 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15001 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15002 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15004 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15005 * configure.ac: update to introduce new files. Added options
15006 to build gconf native peer used by the GConf preference backend.
15007 * include/Makefile.am: update to introduce new files.
15008 * native/jni/Makefile.am update to introduce new files.
15009 * scripts/check_jni_methods.sh: added three new ignored file
15011 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15012 build gconf-peer shared library.
15014 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15016 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15017 Use Integer.valueOf() instead of new Integer().
15018 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15019 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15020 * gnu/java/security/util/Sequence.java: Likewise.
15021 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15022 * gnu/java/security/x509/X509Certificate.java: Likewise.
15023 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15024 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15025 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15026 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15027 * gnu/javax/crypto/cipher/DES.java: Likewise.
15028 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15029 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15030 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15031 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15032 * gnu/javax/crypto/cipher/Square.java: Likewise.
15033 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15034 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15035 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15036 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15037 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15038 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15039 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15040 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15041 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15042 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15043 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15044 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15045 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15046 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15047 * gnu/javax/crypto/mac/UHash32.java: Likewise.
15048 * gnu/javax/crypto/mac/UMac32.java: Likewise.
15049 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15050 * gnu/javax/crypto/mode/EAX.java: Likewise.
15051 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15052 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15053 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15054 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15055 * java/security/cert/X509CertSelector.java: Likewise.
15057 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
15059 * javax/management/DynamicMBean.java:
15060 (setAttribute): Fixed to return void.
15061 * javax/management/MBeanFeatureInfo.java:
15064 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
15066 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15067 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15068 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15069 into engineInitHandler and reuse the code in
15070 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15071 (engineInitHandler): New method.
15072 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15073 null, use random or default information when possible.
15075 2006-06-16 Francis Kung <fkung@redhat.com>
15077 * examples/gnu/classpath/examples/swing/Demo.java:
15078 (mkButtonBar): Rename FillRect to JNIOverhead.
15079 (mkMenuBar): Rename FillRect to JNIOverhead.
15080 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15081 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15082 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15083 Moved from old FillRect.
15085 2006-06-16 Tom Tromey <tromey@redhat.com>
15087 * tools/.cvsignore: Added new tool names.
15089 2006-06-16 Keith Seitz <keiths@redhat.com>
15091 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15092 instantiation so that EventManager is created when getDefault
15094 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15097 2006-06-16 Keith Seitz <keiths@redhat.com>
15099 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15100 (_initCount): New field.
15101 (Jdwp): Don't set isDebugging until fully initialized.
15102 (subcomponentInitialized): New method.
15103 (run): Wait for PacketProcessor and JdwpConnection to
15104 startup, then set isDebugging, and then let this thread
15106 * gnu/classpath/jdwp/transport/JdwpConnection.java
15107 (run): Add synchronization notification.
15108 * gnu/classpath/jdwp/processor/PacketProcessor.java
15111 2006-06-16 Tom Tromey <tromey@redhat.com>
15113 * NEWS: Updated for JSR 166.
15115 2006-06-16 Tom Tromey <tromey@redhat.com>
15117 * lib/Makefile.am (compile_classpath): Added jsr166.
15118 * configure.ac: Added external/jsr166/Makefile.
15119 * external/Makefile.am (SUBDIRS): Added jsr166.
15120 * external/jsr166/Makefile.am: New file.
15121 * lib/gen-classlist.sh.in: Look in external/jsr166.
15123 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15125 * gnu/classpath/jdwp/event/ExceptionEvent:
15126 Added Object instance to javadoc in constructor
15127 * gnu/classpath/jdwp/event/MethodEntryEvent:
15129 * gnu/classpath/jdwp/event/MethodExitEvent:
15131 * gnu/classpath/jdwp/event/SingleStepEvent:
15134 2006-06-16 Tom Tromey <tromey@redhat.com>
15136 Imported JSR 166 reference implementation:
15137 * .classpath: Added external/jsr166.
15138 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15139 * java/util/AbstractQueue.java: Removed.
15140 * java/util/Queue.java: Removed.
15141 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15142 (runPeriodic): Added explicit cast.
15143 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15146 2006-06-16 Tom Tromey <tromey@redhat.com>
15148 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15150 (getCallerClass): Now static.
15151 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15153 2006-06-16 Lillian Angel <langel@redhat.com>
15155 * java/awt/FileDialog.java
15156 (FileDialog): Added @since tag to API docs.
15157 (FileDialog): Likewise.
15158 (FileDialog): Likewise.
15159 * java/awt/Font.java:
15160 Added @since tag to TYPE1_FONT field docs.
15161 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15162 (isThumbRollover): Likewise.
15163 (setThumbRollover): Likewise.
15164 (getSupportsAbsolutePositioning): Likewise.
15165 * javax/swing/plaf/basic/BasicSliderUI.java:
15166 (isDragging): Likewise.
15168 2006-06-16 Lillian Angel <langel@redhat.com>
15170 * java/awt/FileDialog.java
15171 (FileDialog): Implemented.
15172 (FileDialog): Implemented.
15173 (FileDialog): Implemented.
15174 * java/awt/Font.java:
15175 Added TYPE1_FONT constant field.
15177 2006-06-16 Lillian Angel <langel@redhat.com>
15179 * java/awt/font/TextLayout.java:
15180 Removed unneeded imports.
15181 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15182 Added new thumbRollover field.
15183 (mouseMoved): Added code to set thumbRollover field.
15184 (isThumbRollover): New function.
15185 (setThumbRollover): New function.
15186 (getSupportsAbsolutePositioning): Implemented. This
15187 needs to be changed once the feature has been
15189 * javax/swing/plaf/basic/BasicSliderUI.java:
15190 Added new dragging field.
15191 (mouseDragged): Initialized dragging field.
15192 (isDragging): New function.
15193 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15194 (focusGained): Marked as not implemented.
15195 (focusLost): Likewise.
15197 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15199 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15200 Added check for null ThreadId to avoid null pointer
15203 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15205 * javax/swing/DefaultComboBoxModel.java
15206 (removeElementAt): Set new selected item by calling setSelectedItem().
15208 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15210 * javax/swing/DefaultButtonModel.java
15211 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15213 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15215 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15216 (ListDataEvent): Handle case where index0 > index1,
15217 (toString): Implemented.
15219 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15221 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15222 (update): Added subexpression to if-statement.
15224 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15226 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15227 (installDefaults): Removed unneccessary code.
15228 (paint): Removed complex if-cascade, revert to default icon if
15229 icon property is not set.
15230 (getPreferredSize): New method.
15232 2006-06-16 Roman Kennke <kennke@aicas.com>
15235 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15236 (drawImage): Don't use setClip() but instead clipRect() to
15237 intersect the current clip with a new one.
15239 2006-06-15 Tom Tromey <tromey@redhat.com>
15241 * scripts/sanitize-jsr166: New file.
15242 * external/jsr166/IMPORTING: New file.
15243 * vm/reference/sun/reflect/Reflection.java: New file.
15244 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15245 * vm/reference/sun/misc/Unsafe.java: ...here.
15247 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15249 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15250 gjarsigner and keytool to gkeytool.
15251 * doc/tools.texinfo: Add note about tool exectable names.
15252 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15253 jarsigner to gjarsigner and keytool to gkeytool.
15254 * tools/appletviewer.in: Rename ...
15255 * tools/gappletviewer.in: New file.
15256 * tools/jarsigner.in: Rename ...
15257 * tools/gjarsigner.in: New file.
15258 * tools/keytool.in: Rename ...
15259 * tools/gkeytool.in: New file.
15260 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15262 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15264 * javax/management/AttributeList.java:
15265 Add serialization UID.
15266 * javax/management/DynamicMBean.java:
15268 * javax/management/JMRuntimeException.java:
15269 Add serialization UID and correct name
15270 of serialized field.
15271 * javax/management/MBeanInfo.java: New file.
15273 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15275 * javax/management/AttributeList.java,
15276 * javax/management/JMRuntimeException.java,
15277 * javax/management/RuntimeOperationsException.java:
15280 2006-06-15 Lillian Angel <langel@redhat.com>
15282 * java/awt/font/TextLayout.java:
15283 DEFAULT_CARET_POLICY changed to be public static final.
15285 2006-06-15 Tania Bento <tbento@redhat.com>
15287 * javax/swing/plaf/metal/MetalScrollButton.java
15288 (MetalScrollButton): Should set 'focusable' to false.
15290 2006-06-15 Tania Bento <tbento@redhat.com>
15292 * javax/swing/plaf/basic/BasicArrowButton.java
15293 (BasicArrowButton): Should set 'focusable' to false.
15294 (BasicArrowButton): Should set 'focusable' to false.
15296 2006-06-15 Mark Wielaard <mark@klomp.org>
15298 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15299 (getGraphicsConfiguration): Return default screen device.
15300 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15302 (GtkVolatileImage): Record initiating component.
15303 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15304 (getDeviceConfiguration): Return configuration of image component.
15306 2006-06-15 Mark Wielaard <mark@klomp.org>
15308 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15311 2006-06-15 Mark Wielaard <mark@klomp.org>
15313 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15314 with null argument.
15316 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15318 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15319 (matches): Added explicit brackets to return statement.
15321 2006-06-15 Tania Bento <tbento@redhat.com>
15323 * javax/swing/JRadioButtonMenuItem.java
15324 (JRadioButtonMenuItem): Should set 'focusable' to false.
15326 2006-06-15 Tania Bento <tbento@redhat.com>
15328 * javax/swing/JCheckBoxMenuItem.java
15329 (JCheckBoxMenuItem): Should set 'focusable' to false.
15331 2006-06-15 Tania Bento <tbento@redhat.com>
15333 * javax/swing/AbstractButton.java:
15334 (AbstractButton): 'Focusable' should be set to true and not false.
15336 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15338 * java/lang/management/ManagementFactory.java:
15339 Add private constructor to prevent instance creation.
15340 * java/lang/management/ManagementPermission.java:
15343 2006-06-15 Francis Kung <fkung@redhat.com>
15345 * javax/swing/plaf/basic/BasicArrowButton.java:
15346 (BasicArrowButton): move client property for not triggering out
15348 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15349 (configureArrowButton): set client property for not triggering
15350 (installUI): set client property for not triggering
15351 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15352 (PopupHelper.mousePressed): check client property for triggering
15354 2006-06-15 Roman Kennke <kennke@aicas.com>
15357 * javax/swing/RepaintManager.java
15358 (blitBuffer): Substract coordinates the other way around.
15360 2006-06-15 Roman Kennke <kennke@aicas.com>
15363 * javax/swing/JComponent.java
15364 (paintImmediately2): Only paint component without double buffering
15365 when all of it's parents have also double buffering disabled.
15366 (isPaintingDoubleBuffered): New helper method.
15368 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15370 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15371 (draw(Shape)): Pass null transform to getPathIterator(),
15372 (getClip): Likewise,
15373 * gnu/java/print/PostscriptGraphics2D.java
15374 (drawStringShape): Pass null transform to getPathIterator(),
15375 (writeShape): Likewise,
15376 * java/awt/Shape.java: Small updates to API docs.
15378 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15380 * javax/naming/InitialContext.java:
15381 (list(javax.naming.Name)): Fixed generic type.
15382 (list(String)): Likewise.
15383 (listBindings(javax.naming.Name)): Likewise.
15384 (listBindings(String)): Likewise.
15386 2006-06-14 Roman Kennke <kennke@aicas.com>
15388 * javax/swing/plaf/basic/BasicComboBoxUI.java
15389 (getAccessibleChildrenCount): Implemented.
15390 (getAccessibleChild): Implemented.
15391 (isNavigationKey): Implemented.
15392 (KeyHandler.keyPressed): Implemented.
15394 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15396 * java/lang/management/ManagementPermission.java:
15397 Added serialization UID.
15398 * javax/management/Attribute.java: Likewise.
15399 * javax/management/MBeanException.java,
15400 * javax/management/ReflectionException.java:
15401 Added serialization UID and changed to extend
15402 javax.management.JMException.
15404 2006-06-14 Lillian Angel <langel@redhat.com>
15406 * java/awt/Component.java
15407 (ignoreOldMouseEvents): Made static.
15408 (translateEvent): Made static.
15409 * java/awt/TextComponent.java
15410 (ignoreOldMouseEvents): Made static.
15412 2006-06-14 Mark Wielaard <mark@klomp.org>
15414 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15416 (drawRect): Likewise.
15417 (fillRect): Likewise.
15419 2006-06-14 Lillian Angel <langel@redhat.com>
15421 * java/awt/Component.java
15422 (ignoreOldMouseEvents): New helper function.
15423 (translateEvent): Changed to be non-static and use new helper.
15424 * java/awt/TextComponent.java
15425 (ignoreOldMouseEvents): New helper function.
15427 2006-06-14 Roman Kennke <kennke@aicas.com>
15429 * javax/swing/RepaintManager.java
15430 (MERGE_REGIONS): New constant flag.
15431 (commitBuffer): Exclude the merging of regions by default. This
15432 was causing painting artifacts in some applications, especially
15433 when different areas of the GUI are updated synchronously.
15435 2006-06-14 Roman Kennke <kennke@aicas.com>
15437 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15438 New file. This is a benchmark for AWT 1.1 style graphics operations.
15439 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15440 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15442 2006-06-14 Tom Tromey <tromey@redhat.com>
15444 * java/io/File.java (getParent): Javadoc fix.
15446 2006-06-14 Tom Tromey <tromey@redhat.com>
15448 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15450 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15451 when index entry does not exist.
15453 2006-06-14 Tania Bento <tbento@redhat.com>
15455 * javax/swing/AbstractButton.java
15456 (AbstractButton): Set focusable to false, not true.
15458 2006-06-14 Tania Bento <tbento@redhat.com>
15460 * javax/swing/JMenuItem.java
15461 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15463 2006-06-14 Tania Bento <tbento@redhat.com>
15465 * javax/swing/JCheckBoxMenuItem.java
15466 (JCheckBoxMenuItem): Added check to set the selected state.
15468 2006-06-14 Roman Kennke <kennke@aicas.com>
15470 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15471 (cairoDrawLine): New native method.
15472 (cairoDrawRect): New native method.
15473 (cairoFillRect): New native method.
15474 (drawLine): Use special native method.
15475 (drawRect): Use special native method.
15476 (fillRect): Use special native method.
15477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15478 (cairoDrawLine): New native method.
15479 (cairoDrawRect): New native method.
15480 (cairoFillRect): New native method.
15481 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15483 2006-06-14 Mark Wielaard <mark@klomp.org>
15485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15486 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15487 cannot be allocated.
15489 2006-06-14 Tom Tromey <tromey@redhat.com>
15492 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15493 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15495 2006-06-14 Roman Kennke <kennke@aicas.com>
15497 * javax/swing/JComponent.java
15498 (isRepainting): New flag.
15499 (paintImmediately2): Set isRepainting flag.
15500 (getRoot): Removed obsolete method.
15501 (paintDoubleBuffered): Differenciate between paint calls from
15502 RepaintManager and from AWT refresh. Call
15503 RepaintManager.commitBuffer with this and local coordinates.
15504 (findOpaqueParent): Stop searching at heavyweight component. These
15506 (paintChildrenOptimized): Don't paint heavyweight children. These
15507 should care for themselves.
15508 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15509 should care for themselves.
15510 * javax/swing/RepaintManager.java
15511 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15513 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15514 toplevel windows only.
15515 (getRoot): Removed obsolete method.
15516 (commitBuffer): Blit buffer on nearest heavyweight.
15517 (blitBuffer): New helper method.
15518 (getHeavyweightParent): New helper method.
15519 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15520 * javax/swing/SwingUtilities.java
15521 (convertRectangleToAncestor): New helper method.
15523 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15525 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15526 Condition all trace/debug code based on Configuration.DEBUG.
15527 Use logger instead of STDOUT and ot STDERR.
15529 2006-06-13 Lillian Angel <langel@redhat.com>
15531 * native/plugin/gcjwebplugin.cc
15532 (NP_Initialize): Removed code to create whitelist file.
15533 (GCJ_New): Added code to create whitelist file.
15534 (plugin_user_trusts_documentbase): Fixed error message.
15536 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15538 * javax/swing/plaf/metal/MetalIconFactory.java
15539 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15540 prevent overwriting border,
15541 (VerticalSliderThumbIcon.gradientMask): Likewise.
15543 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15545 * javax/management/AttributeNotFoundException.java,
15546 * javax/management/InvalidAttributeValueException.java,
15547 * javax/management/JMException.java,
15548 * javax/management/MBeanException.java,
15549 * javax/management/OperationsException.java,
15550 * javax/management/ReflectionException.java:
15553 2006-06-13 Roman Kennke <kennke@aicas.com>
15555 * java/awt/Component.java
15556 (dispatchEvent): Handle events even when consumed (this might be
15557 picked up later in the dispatching chain).
15558 * javax/swing/plaf/basic/BasicLookAndFeel.java
15559 (PopupHelper.mousePressed): Don't consume event. Only close popup
15560 when target component isn't flagged as DONT_CANCEL_POPUP.
15561 (DONT_CANCEL_POPUP): New package private constant for flagging
15562 special components that don't trigger popup closing.
15563 * javax/swing/plaf/basic/BasicArrowButton.java
15564 (BasicArrowButton): Set client property for not triggering closing
15567 2006-06-13 Lillian Angel <langel@redhat.com>
15569 * java/awt/image/PixelGrabber.java
15570 (PixelGrabber): Added to API documentation.
15572 2006-06-13 Keith Seitz <keiths@redhat.com>
15574 From Kyle Galloway <kgallowa@redhat.com>:
15575 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15576 (ExceptionOnlyFilter): Allow null refId.
15578 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15579 compatibility with filters.
15580 (getParameter): Modified to allow access to above.
15582 2006-06-13 Sven de Marothy <sven@physto.se>
15584 * gnu/java/awt/peer/gtk/CairoSurface.java
15585 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15586 (create): Use stride in ints.
15588 2006-06-13 Keith Seitz <keiths@redhat.com>
15590 From Kyle Galloway <kgallowa@redhat.com>:
15591 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15593 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15595 * javax/swing/plaf/basic/BasicSliderUI.java
15596 (calculateThumbSize): Removed unnecessary code,
15597 (calculateThumbLocation): Shift position by one,
15598 (calculateTickRect): Shift position by one when ticks are displayed,
15599 (calculateLabelRect): Calculate rect differently according to whether
15600 or not the labels are visible,
15601 (paintTrack): Shift track down one pixel.
15603 2006-06-13 Lillian Angel <langel@redhat.com>
15605 * java/awt/image/PixelGrabber.java
15606 (PixelGrabber): Removed check to throw exception. JDK does
15608 (startGrabbing): Removed line to print stacktrace.
15610 2006-06-13 Mark Wielaard <mark@klomp.org>
15612 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15613 allocate unused AffineTransform. Add comment about conversion to
15615 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15616 Recognize identity transform as "easy". Always convert to
15617 BufferedImage before calling super.
15619 2006-06-13 Roman Kennke <kennke@aicas.com>
15621 * java/awt/Component.java
15622 (getGraphics): Translate child graphics correctly.
15623 (dispatchEvent): Only dispatch event if it hasn't been consumed
15624 yet by the global dispatcher.
15625 * javax/swing/plaf/basic/BasicLookAndFeel.java
15626 Added some API docs.
15627 (PopupHelper.mousePressed): Consume the event after closing
15630 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15632 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15634 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15635 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15636 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15637 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15638 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15639 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15640 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15641 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15642 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15643 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15644 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15645 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15646 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15647 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15648 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15649 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15651 2006-06-12 Sven de Marothy <sven@physto.se>
15653 * java/awt/font/LineBreakMeasurer.java): Implement.
15655 2006-06-12 Keith Seitz <keiths@redhat.com>
15657 From Kyle Galloway <kgallowa@redhat.com>:
15658 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15660 2006-06-12 Keith Seitz <keiths@redhat.com>
15662 From Kyle Galloway <kgallowa@redhat.com>:
15663 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15665 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15667 2006-06-12 Roman Kennke <kennke@aicas.com>
15669 * javax/swing/JComponent.java
15670 (paintDoubleBuffered): Correctly translate and clip the Graphics
15672 (clipAndTranslateGraphics): New helper method.
15674 2006-06-12 Roman Kennke <kennke@aicas.com>
15676 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15677 (copy): Use getClip() to copy the clip. Make copied transform
15678 null when original transform is null. Set clip here.
15679 (setTransform): Correctly update the clip.
15680 (setTransformImpl): New method. Updates the actual transform for
15682 (transform): Correctly update the clip.
15683 (translate): Correctly update the clip.
15684 (clip): Handle null clip and argument correctly.
15685 (clipRect): Avoid creating new Rectangle objects.
15686 (getClip): Get the correct copy of the clip.
15687 (setClip): Correctly handle null argument.
15688 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15689 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15690 be null or whatever has been set in copy().
15691 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15692 (drawImage): Add translation to the image coordinates.
15693 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15694 (VolatileImageGraphics): Don't set clip here. The clip can either
15695 be null or whatever has been set in copy().
15697 2006-06-12 Keith Seitz <keiths@redhat.com>
15699 From Kyle Galloway <kgallowa@redhat.com>:
15700 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15701 (forCaught): Removed unused/unnecessary method.
15702 (forUncaught): Likewise.
15703 (matches): Implement.
15705 2006-06-12 Keith Seitz <keiths@redhat.com>
15707 From Kyle Galloway <kgallowa@redhat.com>:
15708 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15710 2006-06-12 Keith Seitz <keiths@redhat.com>
15712 From Kyle Galloway <kgallowa@redhat.com>:
15713 * gnu/classpath/jdwp/event/Event.java: Added constants for
15715 (getParameter): Changed parameter type from Class to int.
15716 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15717 Changed from Class type to constants.
15718 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15720 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15722 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15724 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15726 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15728 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15730 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15732 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15734 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15737 2006-06-12 Lillian Angel <langel@redhat.com>
15739 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15740 (StandaloneAppletWindow): Changed title of standalone window.
15742 2006-06-12 Lillian Angel <langel@redhat.com>
15744 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15745 (layoutContainer): Added missing selectedComponent assignment.
15747 2006-06-12 Lillian Angel <langel@redhat.com>
15749 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15750 (layoutContainer): Added check to prevent exception.
15752 2006-06-12 Tom Tromey <tromey@redhat.com>
15754 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15756 2006-06-12 Mark Wielaard <mark@klomp.org>
15758 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15761 (lock): New method.
15762 (unlock): Likewise.
15763 (draw): Use lock() and unlock().
15765 (drawRenderedImage): Likewise.
15766 (drawImage): Likewise.
15767 (drawGlyphVector): Likewise.
15769 2006-06-12 Roman Kennke <kennke@aicas.com>
15771 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15772 (drawPixels): Include alpha in parameter list.
15773 (cairoFill): Include alpha in parameter list.
15774 (setComposite): Don't modify the color.
15775 (draw(Shape))): Use fill when the current composite has an alpha
15776 of != 1.0, so that the stroked shaped will be composited.
15777 (fill(Shape)): Call cairoFill() with alpha.
15778 (drawImage): Call drawPixels or drawSurface with alpha.
15779 (drawGlyphVector): When composite alpha is != 1.0, render the
15780 outline using fill() to enable compositing for text.
15781 (drawRaster): Call drawPixels with alpha.
15782 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15783 (nativeDrawSurface): Include alpha in parameter list.
15784 (drawSurface): Include alpha in parameter list. Pass it to
15785 nativeDrawSurface().
15786 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15787 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15789 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15790 (drawPixels): Handle possible alpha for compositing.
15791 (cairoFill): Likewise.
15792 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15793 (nativeDrawSurface): Handle possible alpha for compositing.
15795 2006-06-12 Mark Wielaard <mark@klomp.org>
15797 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15798 Notify data when completely done. Wait for worker thread to finish.
15799 Rethrow any pending exceptions.
15800 (exception): New field.
15801 (run): Store pending exception.
15803 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
15805 * java/lang/management/ManagementPermission.java:
15808 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15810 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15812 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15814 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15815 Use String.charAt().
15817 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15819 * doc/tools.texinfo
15820 (Applet Tools): New chapter.
15821 (appletviewer Tool): New section.
15822 (gcjwebplugin): New section.
15824 2006-06-11 Mark Wielaard <mark@klomp.org>
15826 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15827 Takes GdkPixbufWriter.
15828 (GdkPixbufWriter): Implements Runnable.
15829 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15831 (DATADONE): New static final field.
15833 (write(byte[])): New method.
15835 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15836 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15837 Get dataOutputWriteID from writeClass.
15838 (stream_save_request): Change stream field to writer.
15839 (save_to_stream): Remove FIXME, call writer.
15840 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15843 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
15846 Mention new VM interface and use of properties.
15847 * doc/vmintegration.texinfo:
15848 Update with new gnu.java.lang.management section.
15849 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15851 * java/lang/management/ManagementFactory.java:
15852 (getRuntimeMXBean()): Implemented.
15853 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15854 New VM interface file.
15856 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15859 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15860 debug code based on Configuration.DEBUG.
15861 Use logger instead of STDOUT and ot STDERR.
15862 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15863 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15864 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15865 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15866 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15867 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15868 * gnu/javax/crypto/pad/TBC.java: Likewise.
15869 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15870 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15871 * gnu/javax/crypto/pad/BasePad.java: Likewise.
15872 * gnu/javax/crypto/mac/OMAC.java: Likewise.
15873 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15874 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15875 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15876 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15877 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15878 * gnu/javax/crypto/keyring/Entry.java: Likewise.
15879 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15880 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15881 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15882 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15883 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15884 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15885 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15886 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15887 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15888 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15889 * gnu/java/security/Properties.java: Likewise.
15890 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15891 * gnu/java/security/x509/X509CRL.java: Likewise.
15892 * gnu/java/security/x509/ext/Extension.java: Likewise.
15893 * gnu/java/security/util/Prime2.java: Likewise.
15894 * gnu/java/security/util/Base64.java: Likewise.
15895 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15896 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15897 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15898 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15899 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15900 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15901 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15902 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15903 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15904 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15905 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15906 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15907 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15908 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15909 * gnu/java/security/hash/Whirlpool.java: Likewise.
15911 2006-06-11 Mark Wielaard <mark@klomp.org>
15913 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15914 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15915 Remove unused variable glyph_index.
15917 2006-06-11 Mark Wielaard <mark@klomp.org>
15919 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15920 Don't recurse, return false if not an BufferedImage and no image
15922 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15923 end_gdk_drawing() to finally block.
15925 (drawRenderedImage): Likewise.
15926 (drawImage): Likewise.
15927 (drawGlyphVector): Likewise.
15929 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15931 * doc/tools.texinfo: Added text for new -cacert command.
15932 Re-structured sections.
15933 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15934 for -cacert command.
15935 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15936 (_CACERT): Likewise.
15937 (shutdownThread): New field.
15938 (Main): Install shutdown thread.
15939 (main): Uninstall shutdown thread.
15940 (start): Handle new -cacert command.
15941 (getParser): Likewise.
15942 (teardown): Increased visibility.
15943 (ShutdownHook): New inner class.
15944 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15946 2006-06-11 Sven de Marothy <sven@physto.se>
15948 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15949 (setupGlyphMetrics): New method. Add glyphmetrics caching.
15950 (getOutline): Operate on the shape directly.
15951 * gnu/java/awt/peer/gtk/GdkFontPeer.java
15952 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15953 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15954 (getGlyph renamed getGlyphs)
15955 * java/awt/geom/AffineTransform.java
15956 (getTranslateInstance): Set fields directly.
15957 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15958 (getGlyphs): Get all glyph codes at once.
15960 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15963 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15965 2006-06-11 Sven de Marothy <sven@physto.se>
15967 * java/awt/font/TextLayout.java
15968 (getLogicalHighlightShape): Add check.
15969 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15970 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15972 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15974 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15975 Check that every component of 'cn' starts with a valid Java identifier char.
15977 2006-06-10 Tom Tromey <tromey@redhat.com>
15979 * java/io/File.java (pathSeparator): Typo fix.
15981 2006-06-10 Mark Wielaard <mark@klomp.org>
15983 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15986 Mark all unused parameters.
15987 (cp_gtk_get_cairo_t): Removed.
15988 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15989 Don't mix declerations and statements.
15990 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15991 Mark all unused parameters.
15992 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15993 Get cairographics2d pointer directly.
15994 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15995 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15996 Use jlong to pass pointer.
15997 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15998 Mark all unused parameters.
15999 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16000 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16001 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16002 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16003 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16004 * include/java_io_VMFile.h: Regenerated.
16006 2006-06-10 Roman Kennke <kennke@aicas.com>
16008 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16009 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16010 instead of setClip(), so that an already present clip is intersected
16013 2006-06-10 Mark Wielaard <mark@klomp.org>
16015 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16016 Call getSize() to avoid accessor method.
16018 2006-06-10 Mark Wielaard <mark@klomp.org>
16020 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16021 Qualify ElementSpec.
16023 2006-06-10 Mark Wielaard <mark@klomp.org>
16025 * lib/.cvsignore: Add sun.
16026 * lib/Makefile.am (dist-hook): Likewise.
16028 2006-06-10 Roman Kennke <kennke@aicas.com>
16030 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16031 * gnu/java/awt/peer/gtk/CairoSurface.java
16032 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16033 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16034 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16035 * native/jni/gtk-peer/cairographics2d.h
16036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16037 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16039 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16040 Changed method signatures and calls to pass native pointers directly
16041 into the JNI code, in order to avoid costly lookups on each
16043 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16044 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16045 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16046 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16049 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16052 * javax/swing/text/DefaultStyledDocument.java
16053 (ElementBuffer.insertContentTag):
16054 Do not recreate leaves and do not remove elements here.
16056 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16058 * javax/swing/text/html/HTMLDocument.java
16059 (HTMLReader.HiddenAction): Implemented.
16061 2006-06-10 Roman Kennke <kennke@aicas.com>
16063 * javax/swing/RepaintManager.java
16064 (getVolatileOffscreenBuffer): Store the created buffer.
16065 * javax/swing/JComponent.java
16066 (paintDoubleBuffered): Try to use a volatile offscreen buffer
16067 for better performance.
16069 2006-06-10 Roman Kennke <kennke@aicas.com>
16071 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16072 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16074 (getRealBounds): Overridden to return the correct bounds.
16076 2006-06-10 Roman Kennke <kennke@aicas.com>
16078 * javax/swing/plaf/metal/MetalButtonUI.java
16079 (update): Fixed to paint the gradient under the correct conditions.
16080 (updateWidthGradient): Removed.
16081 (isToolbarButton): New helper method.
16082 (isDrawingGradient): New helper method.
16084 2006-06-09 Roman Kennke <kennke@aicas.com>
16086 * javax/swing/JTabbedPane.java
16087 (setSelectedIndex): Don't change the visibility of the components,
16088 this is done by the UI class.
16089 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16090 (TabbedPaneLayout.layoutContainer): Change visibility of component
16091 here, depending on the selected index. Only do this if the new
16092 selected component is not null. Some programs seem to expect
16094 (visibleComponent): New field.
16095 (getVisibleComponent): Changed to return visibleComponent field.
16096 (setVisibleComponent): Changed to set the visibility of
16097 the old and new visible component.
16099 2006-06-09 Roman Kennke <kennke@aicas.com>
16101 * javax/swing/JComponent.java
16102 (paintChildrenOptimized): Paint component with a new Graphics
16103 object to protect the other painting code from modifications
16104 done in that object, and avoid cleanup ops on possibly dispose()ed
16107 2006-06-09 Sven de Marothy <sven@physto.se>
16109 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16110 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16111 Use GTK locks while disposing (Xlib) surface.
16113 2006-06-09 Tom Tromey <tromey@redhat.com>
16115 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16116 (uninstall-local): Delete 'sun' directory.
16117 (glibj.zip): Include 'sun' classes.
16118 (clean-local): Delete 'sun' directory.
16119 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16121 2006-06-09 Roman Kennke <kennke@aicas.com>
16123 * gnu/java/awt/java2d/AbstractGraphics2D.java
16124 (drawImage): Fixed scaling.
16125 (fillShape): Removed offset handling.
16126 (fillShapeImpl): Limit scanlining to device bounds.
16127 (getSegments): Removed offset handling.
16128 * gnu/java/awt/java2d/PolyEdge.java
16129 (toString): Include isClip flag in output.
16131 2006-06-08 Sven de Marothy <sven@physto.se>
16133 * java/awt/font/TextLayout.java
16134 (getOutline): Allow null transform.
16136 2006-06-08 Sven de Marothy <sven@physto.se>
16138 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16139 (drawString): Use TextLayout instead of GlyphVector.
16141 2006-06-08 Sven de Marothy <sven@physto.se>
16143 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16144 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16145 New constructor for bidirectionality.
16146 (getGlyphMetrics): Return whitespace glyphs.
16147 (getLogicalBounds): Offset rectangles to correct positions.
16148 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16149 (getBaselineFor): Default to ROMAN_BASELINE.
16150 (GdkFontLineMetrics): Guess some values for underline and
16152 (layoutGlyphVector): Use bidirectionality.
16153 * java/awt/font/TextLayout.java: Implement, mostly.
16155 2006-06-09 Anthony Green <green@redhat.com>
16157 PR classpath/27888:
16158 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16159 * java/util/Collections.java (binarySearch): Use unsigned shift.
16160 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16162 2006-06-09 Tom Tromey <tromey@redhat.com>
16164 * tools/.cvsignore: Added .deps.
16166 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16168 PR classpath/27966:
16169 * gnu/javax/security/auth/login/ConfigFileParser.java
16170 (validateClassName): Quote '.' in regexp.
16172 2006-06-09 Tom Tromey <tromey@redhat.com>
16174 PR classpath/23863:
16175 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16177 * native/fdlibm/mprec.c: New version from newlib. Commented out
16178 some includes. Added <assert.h>.
16179 (_reent, _Bigint): New defines.
16180 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16181 (__ULong, __Long): New types.
16182 (_calloc_r): New function.
16183 (Balloc): Dynamically add new _freelist entries as needed.
16184 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16185 MAX_BIGNUMS to size _x[].
16186 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16187 _allocation_map, num. Added _max_k.
16189 2006-06-09 Roman Kennke <kennke@aicas.com>
16191 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16192 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16195 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16197 * java/awt/image/BufferedImage.java
16198 (BufferedImage(int, int, int)): Added API docs,
16199 (getProperty(String)): Return correct value for undefined properties,
16200 (getPropertyNames()): Added comments and removed FIXME.
16202 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16204 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16205 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16207 2006-06-09 Francis Kung <fkung@redhat.com>
16209 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16210 (getPreferredSize): Return correct height for null or empty
16213 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16215 * java/awt/datatransfer/DataFlavor.java
16216 (readExternal): Mark as stub,
16217 (writeExternal): Likewise,
16218 * java/awt/dnd/DropTargetContext.java
16219 (dropComplete): Mark as stub,
16220 (acceptDrag): Likewise,
16221 (rejectDrag): Likewise,
16222 (acceptDrop): Likewise,
16223 (rejectDrop): Likewise,
16224 (getCurrentDataFlavors): Likewise,
16225 (getTransferable): Likewise,
16226 * java/awt/dnd/DropTargetDropEvent.java
16227 (dropComplete): Mark as stub.
16229 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16231 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16232 (constructor): Do not lowercase the values.
16233 * javax/swing/text/html/HTMLDocument.java
16234 (HTMLReader.addSpecialElement): Implemented.
16235 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16237 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16239 On behalf of Matthew Wringe <mwringe@redhat.com>
16240 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16241 * gnu/javax/crypto/pad/ISO10126.java: New class.
16242 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16243 (getInstance): Added support for ISO-10126 scheme.
16244 (getNames): Likewise.
16245 Cache result for speed.
16247 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16249 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16250 flexible self-test by sub-classes.
16251 (test1BlockSize): New method.
16253 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16255 * javax/swing/plaf/basic/BasicLookAndFeel.java
16256 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16257 * javax/swing/plaf/basic/BasicScrollBarUI.java
16258 (installKeyboardActions): Implemented,
16259 (uninstallKeyboardActions): Implemented,
16260 (getInputMap): New method,
16261 (getActionMap): New method,
16262 (createActionMap): New method,
16263 (installUI): Call installKeyboardActions(),
16264 (uninstallUI): Call uninstallKeyboardActions().
16266 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16268 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16269 (getActionMap): Use correct key to store action map.
16271 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16273 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16274 (executeInstruction): Added NOT support.
16276 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16278 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16281 2006-06-08 Tom Tromey <tromey@redhat.com>
16283 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16286 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16288 * java/lang/management/RuntimeMXBean.java:
16291 2006-06-08 Lillian Angel <langel@redhat.com>
16293 * native/plugin/gcjwebplugin.cc:
16294 (NP_Shutdown): Freed whitelist_filename.
16296 2006-06-08 Lillian Angel <langel@redhat.com>
16298 * native/plugin/Makefile.am:
16299 Removed DATA_DIRECTORY.
16300 * native/plugin/gcjwebplugin.cc:
16301 Added new global fields for whitelist_file
16302 and data_directory. Removed WHITELIST_FILE.
16303 (NP_Initialize): Initialized new fields. Also,
16304 Changed to use new fields.
16305 (NP_Shutdown): Freed data_directory.
16306 (GCJ_New): Changed to use new fields.
16307 (plugin_ask_user_about_documentbase): Likewise.
16309 2006-06-08 Lillian Angel <langel@redhat.com>
16311 * native/plugin/Makefile.am:
16312 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16313 * native/plugin/gcjwebplugin.cc:
16314 Changed all instances of PLUGIN_DATA_DIRECTORY
16317 2006-06-08 Roman Kennke <kennke@aicas.com>
16319 * java/awt/LightweightDispatcher.java
16320 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16321 with convertPointToChild(). This is more efficient and avoids
16322 problems with getLocationOnScreen().
16323 (findTarget): Check for component beeing showing() early.
16324 Simplified AWTUtilities.convertPoint() to a simple substraction
16326 (convertPointToChild): New helper method.
16328 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16330 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16333 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16334 Lillian Angel <langel@redhat.com>
16336 * native/plugin/gcjwebplugin.cc
16337 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16338 Also, reset initialized field.
16340 2006-06-08 Lillian Angel <langel@redhat.com>
16342 * javax/swing/plaf/basic/BasicProgressBarUI.java
16343 (paintString): Fixed to paint string at the correct location.
16345 2006-06-08 Roman Kennke <kennke@aicas.com>
16347 * javax/swing/plaf/basic/BasicTreeUI.java
16348 (createDefaultActions): Added new actions.
16349 (TreePageAction.TreePageAction): Set action name.
16350 (TreePageAction.actionPerformed): Implemented.
16351 (TreePageAction.isEnabled): Implemented.
16352 (TreeToggleAction.TreePageAction): Set action name.
16353 (TreeToggleAction.actionPerformed): Implemented.
16354 (TreeToggleAction.isEnabled): Implemented.
16355 (TreeTraverseAction.TreeTraverseAction): Set action name.
16356 (TreeTraverseAction.actionPerformed): Use action name as command.
16357 (TreeTraverseAction.isEnabled): Implemented.
16359 2006-06-08 Roman Kennke <kennke@aicas.com>
16361 * javax/swing/plaf/basic/BasicTreeUI.java
16362 (installKeyboardActions): Rewritten to correctly install the UI
16363 input and action maps.
16364 (getActionMap): New helper method.
16365 (createDefaultActionMap): New helper method.
16366 (TreeHomeAction.TreeHomeAction()): Implemented.
16367 (TreeHomeAction.actionPerformed): Implemented.
16368 (TreeHomeAction.isEnabled): Implemented.
16369 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16370 (TreeIncrementAction.actionPerformed): Use action name as command.
16371 (TreeIncrementAction.isEnabled): Implemented.
16373 2006-06-08 Mark Wielaard <mark@klomp.org>
16376 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16377 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16380 2006-06-08 Mark Wielaard <mark@klomp.org>
16382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16383 (attrs): Removed unused static.
16385 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16387 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16388 (getInputMap): New method,
16389 (getActionMap): New method,
16390 (createActionMap): New method,
16391 (installKeyboardActions): Implemented,
16392 (uninstallKeyboardActions): Implemented.
16394 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16396 * javax/swing/border/MatteBorder.java:
16397 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16399 (paintBorder): Added if-statement to abort painting early.
16401 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16404 * gnu/xml/dom/DomIterator.java:
16405 (successor): Changed expression.
16407 2006-06-08 Sven de Marothy <sven@physto.se>
16409 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16410 (defaultLayout): Do kerning.
16411 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16412 (getKerning): Correct class name, removed unused variable.
16414 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16416 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16417 libqtpeer.so unconditionally.
16419 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16421 * java/util/InputMismatchException.java:
16424 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16426 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16428 2006-06-07 Roman Kennke <kennke@aicas.com>
16430 * javax/swing/plaf/basic/BasicTreeUI.java
16431 (completeUIUninstall): Implemented.
16432 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16433 editing before uninstalling anything.
16434 (isToggleEvent): Implemented.
16435 (selectPathForEvent): Make use of isToggleEvent().
16436 (ComponentHandler.componentMoved): Implemented.
16437 (ComponentHandler.startTimer): Implemented.
16438 (ComponentHandler.getScrollPane): Implemented.
16439 (ComponentHandler.actionPerformed): Implemented.
16441 2006-06-07 Francis Kung <fkung@redhat.com>
16443 * javax/swing/JMenuBar.java:
16444 (getSubElements): Do not return null values.
16446 2006-06-07 Roman Kennke <kennke@aicas.com>
16449 * gnu/regexp/BacktrackStack.java
16450 * gnu/regexp/CharIndexed.java
16451 * gnu/regexp/CharIndexedCharArray.java
16452 * gnu/regexp/CharIndexedCharSequence.java
16453 * gnu/regexp/CharIndexedInputStream.java
16454 * gnu/regexp/CharIndexedString.java
16455 * gnu/regexp/CharIndexedStringBuffer.java
16456 * gnu/regexp/RE.java
16457 * gnu/regexp/REException.java
16458 * gnu/regexp/REFilterInputStream.java
16459 * gnu/regexp/REMatch.java
16460 * gnu/regexp/REMatchEnumeration.java
16461 * gnu/regexp/RESyntax.java
16462 * gnu/regexp/REToken.java
16463 * gnu/regexp/RETokenAny.java
16464 * gnu/regexp/RETokenBackRef.java
16465 * gnu/regexp/RETokenChar.java
16466 * gnu/regexp/RETokenEnd.java
16467 * gnu/regexp/RETokenEndOfPreviousMatch.java
16468 * gnu/regexp/RETokenEndSub.java
16469 * gnu/regexp/RETokenIndependent.java
16470 * gnu/regexp/RETokenLookAhead.java
16471 * gnu/regexp/RETokenLookBehind.java
16472 * gnu/regexp/RETokenNamedProperty.java
16473 * gnu/regexp/RETokenOneOf.java
16474 * gnu/regexp/RETokenPOSIX.java
16475 * gnu/regexp/RETokenRange.java
16476 * gnu/regexp/RETokenRepeated.java
16477 * gnu/regexp/RETokenStart.java
16478 * gnu/regexp/RETokenWordBoundary.java
16479 * gnu/regexp/UncheckedRE.java
16480 * gnu/java/util/regex/BacktrackStack.java
16481 * gnu/java/util/regex/CharIndexed.java
16482 * gnu/java/util/regex/CharIndexedCharArray.java
16483 * gnu/java/util/regex/CharIndexedCharSequence.java
16484 * gnu/java/util/regex/CharIndexedInputStream.java
16485 * gnu/java/util/regex/CharIndexedString.java
16486 * gnu/java/util/regex/CharIndexedStringBuffer.java
16487 * gnu/java/util/regex/RE.java
16488 * gnu/java/util/regex/REException.java
16489 * gnu/java/util/regex/REFilterInputStream.java
16490 * gnu/java/util/regex/REMatch.java
16491 * gnu/java/util/regex/REMatchEnumeration.java
16492 * gnu/java/util/regex/RESyntax.java
16493 * gnu/java/util/regex/REToken.java
16494 * gnu/java/util/regex/RETokenAny.java
16495 * gnu/java/util/regex/RETokenBackRef.java
16496 * gnu/java/util/regex/RETokenChar.java
16497 * gnu/java/util/regex/RETokenEnd.java
16498 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16499 * gnu/java/util/regex/RETokenEndSub.java
16500 * gnu/java/util/regex/RETokenIndependent.java
16501 * gnu/java/util/regex/RETokenLookAhead.java
16502 * gnu/java/util/regex/RETokenLookBehind.java
16503 * gnu/java/util/regex/RETokenNamedProperty.java
16504 * gnu/java/util/regex/RETokenOneOf.java
16505 * gnu/java/util/regex/RETokenPOSIX.java
16506 * gnu/java/util/regex/RETokenRange.java
16507 * gnu/java/util/regex/RETokenRepeated.java
16508 * gnu/java/util/regex/RETokenStart.java
16509 * gnu/java/util/regex/RETokenWordBoundary.java
16510 * gnu/java/util/regex/UncheckedRE.java
16511 Moved gnu.regexp classes to gnu.java.util.regex package.
16512 * java/util/regex/Matcher.java
16513 * java/util/regex/Pattern.java
16514 Adjusted import statements for new package name for gnu regexp.
16516 2006-06-07 Tom Tromey <tromey@redhat.com>
16518 PR classpath/27905:
16519 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16520 Added missing charsets.
16521 (charsetForName): Don't check 'extendedLoaded'.
16523 2006-06-07 Roman Kennke <kennke@aicas.com>
16526 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16527 (clip(Shape)): Implemented correctly, so that the current shape
16528 gets intersected by the parameter shape.
16530 2006-06-07 Lillian Angel <langel@redhat.com>
16532 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16533 (getTabBounds): If this method is called with a tab index
16534 that is not in the rects array, we need to re-layout the container
16537 2006-06-07 Lillian Angel <langel@redhat.com>
16539 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16540 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16541 * java/lang/String.java
16542 (codePointCount): Fixed check to match API. Shouldn't throw exception
16543 if end == count. end is 1 more than the endIndex, so end == count is
16546 2006-06-07 Gary Benson <gbenson@redhat.com>
16549 * native/jni/java-io/java_io_VMFile.c
16550 (Java_java_io_VMFile_toCanonicalForm): New method.
16551 * configure.ac: Added checks for lstat and readlink.
16552 * include/java_io_VMFile.h: Added new method.
16553 * vm/reference/java/io/VMFile.java: Use new method.
16554 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16555 * NEWS: Documented the above.
16556 * java/io/File.java: Javadoc fix.
16558 2006-06-07 Roman Kennke <kennke@aicas.com>
16561 * javax/swing/JTree.java
16562 (JTree()): Initialize with default model.
16563 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16564 on the updateUI() / setModel() order.
16565 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16567 * javax/swing/plaf/basic/BasicTreeUI.java
16568 (BasicTreeUI()): Initialize listeners in installListeners().
16569 (setModel): Complete editing on model change. Correctly resetup
16570 the listeners. Update the layout cache accordingly.
16571 (setShowRootHandles): Complete editing and update layout. Do not
16572 call back into the JTree, this could cause cycles.
16573 (prepareForUIInstall): Implemented. Moved some init code from
16574 installUI() to this method.
16575 (completeUIInstall): Implemented. Moved some init code from
16576 installUI() to this method.
16577 (createDefaultCellEditor): Check for type of renderer, and install
16578 with null renderer when not DefaultTreeCellRenderer.
16579 (updateLayoutCacheExpandedNodes): Added null check for tree root
16581 (updateRenderer): Call updateEditor().
16582 (installListeners): Initialize the listeners here. Added some null
16583 checks to avoid NPEs.
16584 (installUI): Moved some init code to prepareForUIInstall() and
16585 completeUIInstall().
16586 (completeEditing): Return immediately if editing component is null
16587 or if the setting is to not stop editing on complete editing.
16588 (checkForClickInExpandControl): Call handleExpandControlClick()
16589 instead of toggleExpandState() directly.
16590 (isLocationInExpandControl): Rewritten to correctly determine the
16591 expand click location.
16592 (MouseHandler.mousePressed): Rewritten to make better use of the
16593 instance methods of BasicTreeUI to handle the click.
16594 (PropertyHandler.propertyChange): Handle model and cell renderer
16596 * javax/swing/tree/DefaultTreeCellEditor.java
16597 (DefaultTreeCellEditor): Removed initialization of the icon. This
16598 is done so that the constructor can deal with null renderer as the
16599 RI does. Maybe this needs more fixing.
16600 * javax/swing/tree/TreePath.java
16601 (isDescendant): Fixed this method. The previous version did too
16602 much and compared the wrong things, which lead to a ClassCastException
16604 * javax/swing/tree/VariableHeightLayoutCache.java
16605 (update): Do nothing when model is null.
16606 (setModel): Clear the tables and update the layout. Added null
16607 check to prevent NPE.
16609 2006-06-07 Sven de Marothy <sven@physto.se>
16611 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16613 2006-06-07 Sven de Marothy <sven@physto.se>
16615 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16616 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16617 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16620 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16621 (getGlyphVector): Removed native method.
16622 (createGlyphVector, getStringBounds): Use new GV class.
16624 * include/Makefile.am
16625 * native/jni/gtk-peer/Makefile.am
16628 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16629 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16630 (getGlyphVector): Removed native method.
16632 2006-06-07 Chris Burdess <dog@gnu.org>
16634 * gnu/classpath/debug/TeeInputStream.java,
16635 gnu/classpath/debug/TeeOutputStream.java,
16636 gnu/classpath/debug/TeeReader.java,
16637 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16638 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16639 read more characters than absolutely necessary in tryRead method.
16641 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16643 * examples/gnu/classpath/examples/swing/Demo.java:
16644 (mkMenuBar): Put look and feel radio buttons into
16645 appropriate button group.
16647 2006-06-07 Chris Burdess <dog@gnu.org>
16649 * gnu/xml/stream/SAXParser.java,
16650 gnu/xml/stream/XMLParser.java: Add command line options for setting
16651 parsing parameters (for simpler debugging).
16652 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16653 closing output stream is propagated to application.
16655 2006-06-06 Mark Wielaard <mark@klomp.org>
16658 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16659 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16660 call disposeSurface.
16661 (disposeSurface): New native method.
16662 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16663 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16665 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16666 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16667 cairo_pattern_destroy.
16668 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16669 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16670 New function to destroy the surface.
16671 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16672 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16673 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16675 2006-06-06 Mark Wielaard <mark@klomp.org>
16677 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16680 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16682 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16683 (paint): If has focus, paint special background color,
16684 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16685 (FocusHandler.focusGained): Implemented,
16686 (FocusHandler.focusLost): Implemented.
16688 2006-06-06 Tom Tromey <tromey@redhat.com>
16690 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16692 (writeAttributeSet): Implemented.
16694 2006-06-06 Tom Tromey <tromey@redhat.com>
16696 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16698 (SpecialAction.end): Removed.
16699 (IsindexAction.end): Likewise.
16701 2006-06-06 Tom Tromey <tromey@redhat.com>
16703 * include/jni.h (JDK1_1InitArgs): New struct.
16704 (JDK1_1AttachArgs): Likewise.
16706 2006-06-06 Tom Tromey <tromey@redhat.com>
16708 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16710 (getUnresolvedName): New method.
16711 (getUnresolvedActions): New method.
16712 (getUnresolvedCerts): New method.
16714 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16716 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16717 (getColor): Removed debugging code.
16719 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16721 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16722 (getColor): Added support for "rgb(red, green, blue)" notation.
16723 (translateTag): Use Boolean.TRUE, not new Boolean().
16725 2006-06-06 Roman Kennke <kennke@aicas.com>
16728 * javax/swing/JTree.java
16729 (JTree(TreeModel)): Call updateUI() before setModel().
16730 (setModel): Don't call updateUI here.
16732 2006-06-06 Lillian Angel <langel@redhat.com>
16734 * native/plugin/gcjwebplugin.cc:
16735 Fixed failure message and commenting.
16736 (NP_Initialize): Added more comments.
16738 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16740 * javax/swing/JSplitPane.java
16741 (AccessibleJSplitPane): API doc fixes,
16742 (setDividerLocation): Likewise,
16743 * javax/swing/plaf/basic/BasicLookAndFeel.java
16744 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16745 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16746 (getInputMap): New method,
16747 (getActionMap): New method,
16748 (createActionMap): New method,
16749 (installKeyboardActions): Implemented,
16750 (uninstallKeyboardActions): Implemented.
16752 2006-06-06 Roman Kennke <kennke@aicas.com>
16755 * javax/swing/MenuSelectionManager.java
16756 (processKeyEvent): Added check to avoid
16757 ArrayIndexOutOfBoundsException.
16759 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16761 * gnu/javax/swing/text/html/htmlAttributeSet.java
16762 (getAttributeNames): Rewritten
16764 2006-06-06 Chris Burdess <dog@gnu.org>
16766 * gnu/xml/transform/TransformerImpl.java: Check type of created
16767 document (more cases).
16769 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16771 * gnu/javax/swing/text/html/htmlAttributeSet.java
16772 (clone): New method. (copyAttributes): New method.
16773 (getResolveParent): Comment fix. (getAttribute):
16774 Rewritten. (addAttribute): Rewritten.
16775 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16778 2006-06-06 Roman Kennke <kennke@aicas.com>
16781 * javax/swing/JMenuBar.java
16782 (processKeyBindingHelper): Added null check to prevent NPE.
16784 2006-06-06 Roman Kennke <kennke@aicas.com>
16786 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16787 (ShowSystemMenuAction): New class.
16788 (installKeyboardActions): Implemented.
16789 (uninstallKeyboardActions): Implemented.
16790 * javax/swing/plaf/metal/MetalInternalFrameUI.java
16791 (installKeyboardActions): Overridden to remove showSystemMenu action.
16793 2006-06-06 Chris Burdess <dog@gnu.org>
16795 * gnu/xml/transform/TransformerImpl.java: Check type of created
16798 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16800 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16801 (getScreenDevices): Added explicit cast.
16803 2006-06-06 Roman Kennke <kennke@aicas.com>
16805 * javax/swing/plaf/basic/BasicTextUI.java
16806 (installKeyboardActions): Use shared input map. Correctly
16807 install the input/action maps in the component's input/action
16809 (getActionMap): New helper method for fetching an ActionMap from
16810 the UIManager or creating a default one if there is none supplied
16812 (createActionMap): Add the TransferHandler's actions here. Made
16814 (getInputMap): Leave out unnecessary method parameter. Load
16816 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16818 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16820 * configure.ac: Added missing [ to expression.
16822 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16824 * configure.ac: Added missing { to expression.
16826 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16828 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16829 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16830 * include/Makefile.am: Added
16831 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16832 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16833 (GdkGraphicsConfiguration): Rewritten.
16834 (getColorModel): Rewritten.
16835 (getColorModel(int)): Rewritten.
16836 (getBounds): Rewritten.
16837 (createCompatibleVolatileImage): Implemented.
16838 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16840 (getDefaultScreenDevice): Rewritten.
16841 (nativeGetDefaultScreenDevice): New method.
16842 (getScreenDevices): Rewritten.
16843 (nativeGetScreenDevices): New method.
16844 (nativeInitState): New method.
16845 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16847 (X11DisplayMode): New inner class.
16848 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16849 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16850 * native/jni/gtk-peer/gdkdisplay.h: New file.
16851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16852 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16854 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16856 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16857 _nativeGetScreenDevices):
16859 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16860 _nativeGetDefaultScreenDevice):
16862 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16864 * configure.ac: Added check for Xrandr library.
16866 2006-06-06 Roman Kennke <kennke@aicas.com>
16868 * javax/swing/plaf/basic/BasicTableUI.java
16869 (getMaximumSize): Don't return null. Fixed calculation of
16871 (getMinimumSize): Don't return null. Fixed calculation of
16873 (getPreferredSize): Fixed calculation of with and height. Added
16875 (getHeight): New helper method.
16877 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16879 * javax/swing/JComponent.java
16880 (getInputMap(int)): Throw IllegalArgumentException for unknown
16881 condition argument, and added API docs,
16882 (getInputMap()): Added API docs.
16884 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16886 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16888 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16890 * javax/swing/JTable.java
16891 (AccessibleJTableHeaderCell.header): New field,
16892 (AccessibleJTableHeaderCell.columnIndex): Likewise,
16893 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16894 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16895 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16896 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16897 (AccessibleJTable.getAccessibleChild(int)): Overridden,
16898 (AccessibleJTable.getAccessibleAt): Reimplemented.
16900 2006-06-05 Sven de Marothy <sven@physto.se>
16902 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16903 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16904 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16905 (initFromVolatile): New method.
16906 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16907 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16909 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16910 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16911 (copyArea, drawVolatileImage): New methods.
16913 2006-06-05 Tania Bento <tbento@redhat.com>
16915 * javax/swing/JFrame.java
16916 (frameInit): Set background color and fixed layout parameters.
16918 2006-06-05 Tom Tromey <tromey@redhat.com>
16920 * NEWS: Mention VMURLConnection.
16922 2006-06-05 Lillian Angel <langel@redhat.com>
16924 * native/plugin/gcjwebplugin.cc:
16925 Added new field to keep track of initialization.
16926 (plugin_start_appletviewer): Fixed to return an error value, if
16927 an error was encountered when loading the appletviewer.
16928 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16930 (plugin_failed): New helper function. Shows a warning if the appletviewer
16931 has not been installed.
16932 (NP_Initialize): Added code to make sure this function is only called
16935 2006-06-05 Lillian Angel <langel@redhat.com>
16937 * native/plugin/Makefile.am:
16938 Fixed to use a set plugin directory in the .mozilla directory.
16939 All applet logs are now stored here, instead of /tmp.
16940 * native/plugin/gcjwebplugin.cc:
16941 Added new fields for security warning.
16942 (GCJ_NEW): Added code to generate a security warning for all pages
16943 that spawn an appletviewer. This warning asks the user if they trust
16944 the applet and if they would like to add it to a 'whitelist'. This
16945 whitelist keeps track of all the addresses the user would like
16946 to trust indefinitely.
16947 (plugin_user_trusts_documentbase): New helper function.
16948 (plugin_add_documentbase_to_whitelist): New helper function.
16949 (plugin_ask_user_about_documentbase): New helper function.
16950 (plugin_in_pipe_callback): Fixed check to determine if channel_error
16952 (plugin_start_appletviewer): Likewise.
16953 (plugin_create_applet_tag): Reset all fields to null after they have been
16955 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
16956 if channel_error has been set.
16957 (plugin_stop_appletviewer): Likewise.
16958 (NP_Initialize): Likewise. Also, added code to determine if directory and file
16961 2006-06-05 Francis Kung <fkung@redhat.com>
16964 * gnu/java/awt/peer/gtk/GtkImage.java
16965 (getSource): Added check to determine if in
16966 errorLoading state.
16967 * gnu/java/awt/peer/gtk/GtkToolkit.java
16968 (createImage): Added check to prevent NPE.
16970 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16972 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16973 Create the ImageView, when applicable.
16974 * gnu/javax/swing/text/html/CombinedAttributes.java,
16975 javax/swing/text/html/ImageView.java: New files.
16977 2006-06-05 Roman Kennke <kennke@aicas.com>
16980 * javax/swing/text/GapContent.java
16981 (setPositionsInRange): Compare with startIndex and endIndex
16982 rather than start and end.
16983 (dumpMarks): Only dump real marks.
16985 2006-06-05 Sven de Marothy <sven@physto.se>
16987 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16988 (ComponentGraphics): Use 0,0 as clip origin.
16990 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16992 * java/util/Formattable.java,
16993 * java/util/FormattableFlags.java,
16994 * java/util/Formatter.java:
16997 2006-06-04 Tom Tromey <tromey@redhat.com>
16999 * javax/naming/Context.java (list): Genericized.
17000 (listBindings): Likewise.
17001 * javax/naming/Reference.java (addrs): Genericized.
17002 * javax/naming/InitialContext.java (myProps): Fixed type.
17003 (init): Genericized.
17005 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17007 * java/util/DuplicateFormatFlagsException.java,
17008 * java/util/FormatFlagsConversionMismatchException.java,
17009 * java/util/FormatterClosedException.java,
17010 * java/util/IllegalFormatCodePointException.java,
17011 * java/util/IllegalFormatConversionException.java,
17012 * java/util/IllegalFormatException.java,
17013 * java/util/IllegalFormatFlagsException.java,
17014 * java/util/IllegalFormatPrecisionException.java,
17015 * java/util/IllegalFormatWidthException.java,
17016 * java/util/MissingFormatArgumentException.java,
17017 * java/util/MissingFormatWidthException.java,
17018 * java/util/UnknownFormatConversionException.java,
17019 * java/util/UnknownFormatFlagsException.java:
17022 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17024 * java/lang/System.java:
17025 (getenv()): Handle cases where split only
17026 returns an array of size 1.
17028 2006-06-04 Sven de Marothy <sven@physto.se>
17030 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17031 (createVolatileImage): Pass peer to VolatileImage constructor.
17032 * java/awt/Component.java
17033 (createVolatileImage): Call peer method directly.
17035 2006-06-04 Sven de Marothy <sven@physto.se>
17037 * gnu/java/awt/peer/gtk/CairoSurface.java
17038 (getFlippedBuffer): New method.
17039 (getGtkImage): Renamed method.
17040 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17041 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17042 Renamed getSharedImage to getGtkImage.
17043 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17045 (getFlippedBuffer): New method
17046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17047 Avoid window casts.
17048 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
17050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17051 (drawVolatile): Add casts.
17052 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17053 (getOutline): Add casts.
17054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17055 Comment out unused prototype.
17056 (getPixels): Add appropriate cast and comment out unused variable.
17058 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17060 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17061 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17062 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17063 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17064 (getSystemInstance): Fix javadoc @link.
17065 (counter): Increased visibility.
17066 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17067 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17068 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17069 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17070 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17071 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17072 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17073 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17074 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17075 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17076 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17077 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17078 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17079 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17080 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17081 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17082 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17083 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17084 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17085 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17086 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17087 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17088 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17089 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17090 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17091 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17092 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17093 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17094 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17095 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17096 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17098 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17100 * gnu/java/security/PolicyFile.java: Updated copyright year.
17101 (logger): Increased visibility.
17102 * gnu/java/security/x509/Util.java: Updated copyright year.
17103 (hexDump): Fix javadoc @link.
17104 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17105 Removed unused import.
17106 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17107 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17108 * gnu/java/security/util/ExpirableObject.java: Likewise.
17109 (destroy): Likewise.
17110 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17111 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17112 Updated copyright year.
17113 (checkCRL): Fix javadoc @param.
17115 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17117 * java/lang/annotation/IncompleteAnnotationException.java:
17120 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17122 * java/lang/ProcessBuilder.java:
17124 (environment): Create as a copy.
17125 * java/lang/System.java:
17126 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17128 (EnvironmentMap.put(String,String)): Override superclass
17129 method with checks for nulls and non-Strings.
17131 2006-06-02 Sven de Marothy <sven@physto.se>
17133 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17134 (cairoPreserveClip, cairoResetClip): New methods.
17135 (setClip, clip): Reimplement.
17136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17137 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17138 (cairoPreserveClip, cairoResetClip): New methods.
17140 2006-06-02 Sven de Marothy <sven@physto.se>
17142 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17143 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17144 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17146 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17147 (drawImage): Overloads for VolatileImage drawing.
17148 (drawVolatile): New method.
17149 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17150 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17151 (drawVolatile): New method.
17152 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17153 Unstub implementation.
17154 * include/Makefile.am
17155 * native/jni/gtk-peer/Makefile.am
17157 * native/jni/gtk-peer/gtkpeer.h
17160 2006-06-03 Roman Kennke <kennke@aicas.com>
17163 * javax/swing/plaf/basic/BasicTextUI.java
17164 (damageRange): Added null check to avoid NPE.
17166 2006-06-03 Roman Kennke <kennke@aicas.com>
17168 * javax/swing/text/PlainView.java
17169 (updateDamage): Check for valid longestLine and initialize if
17172 2006-06-03 Mark Wielaard <mark@klomp.org>
17174 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17177 2006-06-02 Sven de Marothy <sven@physto.se>
17180 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17181 (copyArea): Implement.
17182 (copyAreaImpl, getRealBounds): New methods.
17183 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17184 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17185 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17186 (copyAreaImpl, getRealBounds): Implement.
17187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17188 (nativeCopyArea): Reimplement.
17190 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17192 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17193 (XTEST_LIBS): New, substitute.
17194 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17196 2006-06-02 Roman Kennke <kennke@aicas.com>
17199 * javax/swing/text/PlainView.java
17200 (updateDamage): Rewritten for correct repainting and revalidating.
17201 (findLongestLine): New helper method.
17202 (getLineLength): New helper method.
17204 2006-06-02 Sven de Marothy <sven@physto.se>
17206 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17207 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17208 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17209 (nativeCopyArea): Change stride parameter to use # of ints.
17210 (setPixels): Add checks.
17211 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17212 (ComponentGraphics): Set background, clip.
17213 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17214 (Cairographics2D): Don't set clip.
17215 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17218 2006-06-02 Lillian Angel <langel@redhat.com>
17221 * java/awt/DefaultKeyboardFocusManager.java
17222 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17223 to get the focused window.
17225 2006-06-01 Miriam Schuster <schmir11@web.de>
17227 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17228 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17230 2006-06-02 Roman Kennke <kennke@aicas.com>
17232 * javax/swing/JTable.java
17233 (columnSelectionChanged): Don't return when there's only one
17234 column (might still need repainting). Correctly calculate
17236 (valueChanged): Use return value of SwingUtilities.computeUnion
17239 2006-06-01 Keith Seitz <keiths@redhat.com>
17241 From Martin Platter <motse@complang.tuwien.ac.at>:
17242 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17243 (executeSet): Fix buffer underflow reading reference ID.
17244 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17245 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17246 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17247 (executeSuperclass): Handle case of Object with ID zero.
17249 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17251 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17252 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17253 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17254 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17255 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17256 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17257 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17258 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17259 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17260 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17261 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17263 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17265 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17266 (Command): Add the shutdown hook.
17267 (doCommand): Remove the shutdown hook.
17268 (ShutdownHook): New class.
17270 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17272 * tools/jarsigner.in: Use @VM_BINARY@.
17273 * tools/keytool.in: Likewise.
17275 2006-06-01 Sven de Marothy <sven@physto.se>
17277 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17278 (setColor): Update the cairo paint.
17280 2006-06-01 Mark Wielaard <mark@klomp.org>
17282 * java/util/logging/LogManager.java (createInstance): Always add
17283 original exception on warning.
17285 2006-06-01 Lillian Angel <langel@redhat.com>
17287 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17288 (prependCodebase): Fixed check. No dirname was ever considered to
17289 be a file, so every applet fell into the if-statement causing a lot
17290 of classloading problems with the applets.
17292 2006-06-01 Sven de Marothy <sven@physto.se>
17294 Patch submitted by Boris Dusek.
17295 * native/jni/qt-peer/qtmenupeer.cpp
17298 2006-06-01 Roman Kennke <kennke@aicas.com>
17300 * javax/swing/JTable.java
17301 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17302 why the behaviour is like it is.
17303 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17304 (AccessibleJTableHeader): New inner class.
17305 (AccessibleJTableHeaderCell): New inner class.
17306 (AccessibleJTable.lastSelectedRow): New field.
17307 (AccessibleJTable.lastSelectedColumn): New field.
17308 (AccessibleJTable.caption): New field.
17309 (AccessibleJTable.summary): New field.
17310 (AccessibleJTable.rowDescriptions): New field.
17311 (AccessibleJTable.columnDescriptions): New field.
17312 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17313 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17314 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17315 (AccessibleJTable.addAccessibleSelection): Implemented.
17316 (AccessibleJTable.removeAccessibleSelection): Implemented.
17317 (AccessibleJTable.clearAccessibleSelection): Implemented.
17318 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17319 (AccessibleJTable.valueChange): Implemented.
17320 (AccessibleJTable.tableRowsInserted): Implemented.
17321 (AccessibleJTable.tableRowsDeleted): Implemented.
17322 (AccessibleJTable.handleRowChange): New helper method.
17323 (AccessibleJTable.columnAdded): Implemented.
17324 (AccessibleJTable.columnMarginChanged): Implemented.
17325 (AccessibleJTable.columnMoved): Implemented.
17326 (AccessibleJTable.columnRemoved): Implemented.
17327 (AccessibleJTable.columnSelectionChanged): Implemented.
17328 (AccessibleJTable.handleColumnChange): New helper method.
17329 (AccessibleJTable.editingCanceled): Implemented.
17330 (AccessibleJTable.editingStopped): Implemented.
17331 (AccessibleJTable.getAccessibleRow): Implemented.
17332 (AccessibleJTable.getAccessibleColumn): Implemented.
17333 (AccessibleJTable.getAccessibleIndex): Implemented.
17334 (AccessibleJTable.getAccessibleCaption): Implemented.
17335 (AccessibleJTable.setAccessibleCaption): Implemented.
17336 (AccessibleJTable.getAccessibleSummary): Implemented.
17337 (AccessibleJTable.setAccessibleSummary): Implemented.
17338 (AccessibleJTable.getAccessibleRowCount): Implemented.
17339 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17340 (AccessibleJTable.getAccessibleAt): Implemented.
17341 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17342 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17343 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17344 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17345 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17346 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17347 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17348 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17349 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17350 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17351 (AccessibleJTable.isAccessibleSelected): Implemented.
17352 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17353 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17354 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17355 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17356 (getAccessibleContext): Register listeners for the accessibility
17357 class on the JTable.
17359 2006-06-01 Sven de Marothy <sven@physto.se>
17361 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17362 (setPaint): Scale +1 pixel larger.
17364 2006-06-01 Sven de Marothy <sven@physto.se>
17367 * gnu/java/awt/Buffers.java (getData): Reimplement.
17368 * gnu/java/awt/peer/gtk/CairoSurface.java
17369 (getElem, setElem): Call native methods.
17371 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17373 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17375 2006-06-01 Sven de Marothy <sven@physto.se>
17377 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17378 (drawImage): Check for zero size.
17379 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17380 (setFont): Declare new native method.
17381 (GdkTextLayout): Read some attributes.
17382 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17383 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17384 (setFont): New native method.
17386 2006-06-01 Sven de Marothy <sven@physto.se>
17388 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17389 (updateBufferedImage): Fix some errors.
17391 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17393 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17395 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17396 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17397 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17398 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17399 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17400 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17401 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17402 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17403 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17404 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17406 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17408 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17409 * javax/swing/JEditorPane.java: Likewise,
17410 * javax/swing/JFormattedTextField.java: Likewise,
17411 * javax/swing/JLayeredPane.java: Likewise,
17412 * javax/swing/JScrollPane.java: Likewise,
17413 * javax/swing/JSlider.java: Likewise,
17414 * javax/swing/JSpinner.java: Likewise,
17415 * javax/swing/JTree.java: Likewise,
17416 * javax/swing/JViewport.java: Likewise,
17417 * javax/swing/UIDefaults.java: Likewise,
17418 * javax/swing/UIManager.java: Likewise.
17420 2006-06-01 Sven de Marothy <sven@physto.se>
17422 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17423 (BufferedImageGraphics): Cache surfaces.
17424 (updateBufferedImage): Copy directly for certain color models.
17425 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17426 (drawImage): Reimplement.
17428 2006-06-01 Sven de Marothy <sven@physto.se>
17430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17431 (setPixels): Don't swap, correct size.
17433 2006-05-31 Anthony Green <green@redhat.com>
17436 * java/net/InetSocketAddress.java: Defer getting the host
17437 name until somebody calls InetSocketAddress.getHostName().
17438 Fix "represenation" typo.
17440 2006-06-01 Sven de Marothy <sven@physto.se>
17442 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17443 (updateBufferedImage): Simplify.
17444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17445 (getPixels): Don't swap.
17447 2006-06-01 Sven de Marothy <sven@physto.se>
17449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17450 (setGradient): Reimplement.
17452 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17454 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17455 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17456 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17457 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17458 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17459 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17460 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17463 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17465 * javax/swing/table/JTableHeader.java
17466 (getColumnHeaderRenderer): New method,
17467 (getAccessibleColumnHeaderRenderer): Delegate part to new
17468 getColumnHeaderRenderer() method,
17469 (getLocale): Implemented.
17471 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17473 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17474 (cp_gtk_grab_current_drawable): Rename
17475 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17476 cp_gtk_grab_current_drawable, remove static declaration.
17477 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17479 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17480 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17481 Remove prototype of
17482 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17483 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17485 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17486 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17487 cp_gtk_grab_current_drawable here.
17489 2006-05-31 Sven de Marothy <sven@physto.se>
17491 Should fix PR 27835
17492 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17493 (updateBufferedImage): Keep within image bounds.
17495 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17496 Andreas Tobler <a.tobler@schweiz.ch>
17498 * configure.ac: Check for libXrender when the GTK peers are
17499 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17501 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17502 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17503 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17505 2006-05-31 Lillian Angel <langel@redhat.com>
17507 * javax/swing/plaf/basic/BasicProgressBarUI.java
17508 (paintString): Implemented to paint the string vertically.
17510 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17512 * javax/swing/JTable.java
17513 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17514 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17516 (AccessibleJTable.getAccessibleTable()): Likewise,
17517 (getAccessibleContext): Create new context if required.
17519 2006-05-31 Roman Kennke <kennke@aicas.com>
17521 * javax/swing/JTabbedPane.java
17522 (AccessibleJTabbedPane.stateChanged): Implemented.
17523 (Page.getAccessibleStateSet): Implemented.
17524 (Page.getAccessibleIndexInParent): Implemented.
17525 (getAccessibleContext): Add AccessibleJTabbedPane object
17526 as ChangeListener to the JTabbedPane.
17528 2006-05-31 Roman Kennke <kennke@aicas.com>
17530 * javax/swing/JMenuItem.java
17531 (getAccessibleContext): Register accessible object as ChangeListener
17533 (AccessibleJMenuItem.armed): New field.
17534 (AccessibleJMenuItem.focusOwner): New field.
17535 (AccessibleJMenuItem.pressed): New field.
17536 (AccessibleJMenuItem.selected): New field.
17537 (stateChanged): Implemented.
17539 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17541 * javax/swing/ListSelectionModel.java: Added API docs all over.
17543 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17545 * examples/gnu/classpath/examples/swing/FillRect.java
17546 (paintComponent): Optionally paint lines rather than rectangles.
17547 (createContent): Added option to test line painting.
17549 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17551 * javax/swing/event/EventListenerList.java
17552 (getListenerList): Updated API docs.
17554 2006-05-30 Sven de Marothy <sven@physto.se>
17556 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17557 (drawImage): Clip scaled image to dest rectangle.
17559 2006-05-30 Sven de Marothy <sven@physto.se>
17561 * gnu/java/awt/peer/gtk/CairoSurface.java:
17562 (CairoSurface): Convert pixels properly.
17563 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17564 Remove commented-out lines.
17566 2006-05-30 Sven de Marothy <sven@physto.se>
17568 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17569 (drawImage): Use Toolkit to convert to BufferedImage.
17570 * gnu/java/awt/peer/gtk/CairoSurface.java
17571 (CairoSurface(GtkImage)): New Constructor.
17572 (getBufferedImage): New method.
17573 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17574 Don't fill background - FIXME.
17575 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17576 Remove unused methods.
17577 * gnu/java/awt/peer/gtk/GtkImage.java:
17578 (pixbuflock): New field. Methods change to use this lock.
17579 * gnu/java/awt/peer/gtk/GtkToolkit.java
17580 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17582 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17583 (setPixels): Correct length in bytes.
17585 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17587 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17588 System.loadLibrary unconditionally.
17589 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17590 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17591 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17592 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17594 2006-05-30 Mark Wielaard <mark@klomp.org>
17596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17597 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17598 Mark unused parameters, remove unused variables.
17600 2006-05-30 Sven de Marothy <sven@physto.se>
17602 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17603 (copyArea): Implemented.
17604 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17605 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17606 (copyAreaNative): New method.
17608 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17610 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17611 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17612 for non big endian systems.
17613 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17615 2006-05-30 Roman Kennke <kennke@aicas.com>
17617 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17618 * java/awt/TexturePaint.java
17619 (createContext): Implemented.
17621 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17623 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17626 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17628 * java/awt/Container.java:
17629 (removeAll): Reimplemented, added note.
17631 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17633 * java/awt/Container.java:
17634 (removeAll): Implemented different removal mechanism, added note.
17636 2006-05-30 Lillian Angel <langel@redhat.com>
17639 * java/awt/Component.java:
17640 (translateEvent): Added handling to translate WindowEvents
17641 * java/awt/Window.java:
17642 Removed unneeded imports.
17644 2006-05-30 Mark Wielaard <mark@klomp.org>
17646 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17649 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17651 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17653 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17655 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17656 (clearRect): Do not reuse the fg field, call updateColor.
17657 (drawRaster): Likewise.
17658 (setColor): Call updateColor.
17659 (updateColor): New method.
17661 2006-05-30 Mark Wielaard <mark@klomp.org>
17663 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17664 (PTR_TO_JLONG): Likewise.
17665 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17666 (getPointer): Use new conversion macros.
17667 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17668 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17669 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17671 (setNativeObject): Likewise.
17672 (getNativeObject): Likewise.
17673 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17674 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17676 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17677 Correctly cast XID and pointer values.
17678 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17679 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17680 Mark unused variables.
17681 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17683 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17684 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17685 Remove unused cairographics2d struct.
17686 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17687 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17688 Use new conversion macros.
17689 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17691 2006-05-30 Mark Wielaard <mark@klomp.org>
17693 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17695 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17697 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17698 (copy): Do not reuse the fd field.
17699 (setColor): Do not set the color if the parameter
17701 (translate(double, double): Rewritten to use
17702 AffineTransform.translate.
17704 2006-05-30 Sven de Marothy <sven@physto.se>
17706 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17707 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17708 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17710 * include/Makefile.am
17711 * native/jni/gtk-peer/Makefile.am
17713 * gnu/java/awt/peer/gtk/CairoSurface.java
17714 (getSharedGtkImage): New method.
17715 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17716 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17718 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17719 Support a non-xrender context.
17720 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17722 * gnu/java/awt/peer/gtk/GtkImage.java
17723 * include/gnu_java_awt_peer_gtk_GtkImage.h
17724 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17725 (initFromBuffer): New method.
17726 * native/jni/gtk-peer/gtkpeer.h:
17727 Remove declarations of previouslyremoved methods.
17729 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17731 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17733 2006-05-29 Mark Wielaard <mark@klomp.org>
17735 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17736 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17739 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17740 early. Remove unused return statement in void function.
17741 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17744 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17746 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17747 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17749 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17752 2006-05-29 Sven de Marothy <sven@physto.se>
17754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17755 (setPixels): Remove superfluous return statement.
17757 2006-05-29 Sven de Marothy <sven@physto.se>
17759 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17760 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17761 * gnu/java/awt/peer/gtk/CairoSurface.java
17762 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17763 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17764 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17765 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17766 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17767 * native/jni/gtk-peer/cairographics2d.h
17768 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17769 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17772 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17774 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17777 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17778 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17779 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17780 (releasePeerGraphicsResource): Moved to Font peer class.
17782 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17783 (createGraphics): Use new context classes.
17785 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17786 Use native BufferedImages where possible.
17788 * gnu/java/awt/peer/gtk/GdkTextLayout.java
17789 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17790 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17791 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17792 renamed to cairoDrawGdkTextLayout.
17794 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17795 (getGraphics): Use ComponentGraphics context.
17796 (createImage): Use native BufferedImage.
17798 * gnu/java/awt/peer/gtk/GtkImage.java:
17799 * include/gnu_java_awt_peer_gtk_GtkImage.h
17800 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17801 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17802 Remove drawing methods.
17804 * gnu/java/awt/print/JavaPrinterGraphics.java:
17805 Use CairoSurface instead of GtkImage.
17807 * include/Makefile.am
17808 * native/jni/gtk-peer/Makefile.am
17809 Update for new files.
17811 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17812 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17813 Remove superfluous GtkImage code for GdkPixmaps.
17815 * native/jni/gtk-peer/gtkpeer.h
17816 Remove graphics2d structure.
17818 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17820 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17821 Do not reuse fg in the constructor.
17823 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
17825 * java/io/ObjectStreamConstants.java: Added API docs.
17827 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17829 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17830 Take no action if this color is already set.
17832 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17834 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17836 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17837 Optionally paint with translation. (createContent): Added option
17838 to test painting with translation
17840 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
17842 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17843 pattern to the default value when null.
17844 Pass field pattern, and not parameter with same name to createFileStream.
17846 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
17848 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17849 New class implementing the OS bean.
17850 * gnu/java/lang/management/package.html:
17851 New file to document the gnu.java.lang.management package.
17852 * java/lang/management/ManagementFactory.java:
17853 New class to provide access to the OS bean.
17854 * java/lang/management/OperatingSystemMXBean.java:
17856 * java/lang/management/package.html:
17857 New file to document the java.lang.management package.
17859 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17861 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17864 (SECURITY): Likewise.
17865 (CACERTS): Likewise.
17866 (CACERTS_GKR): Likewise.
17867 (gkrCaCertsPathName): New field.
17868 (jksCaCertsPathName): Likewise.
17869 (selfSignedCertificate): Likewise.
17870 (start): Initialize trusted certificate key stores if -trustcacerts is
17872 (ensureReplyIsOurs): Initialize selfSignedCertificate.
17873 (orderChain): Implemented.
17874 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17875 certificate key stores if -trustcacerts option is specified.
17876 (findTrustInCACerts): Removed.
17877 (getCertPathParameters): New method.
17878 (validate): New method.
17879 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17881 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17883 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17884 (PATTERN_KEY): Likewise.
17885 (DEFAULT_PATTERN): Likewise.
17886 (LIMIT_KEY): Likewise.
17887 (DEFAULT_LIMIT): Likewise.
17888 (COUNT_KEY): Likewise.
17889 (DEFAULT_COUNT): Likewise.
17890 (APPEND_KEY): Likewise.
17891 (DEFAULT_APPEND): Likewise.
17892 (FileHandler()): Use pattern value as set in logging.properties.
17893 Use constants defined above.
17894 (FileHandler(1)): Use constants defined above.
17895 (FileHandler(2)): Likewise.
17896 (FileHandler(3)): Likewise.
17897 (FileHandler(4)): Likewise.
17898 (createFileStream): Likewise.
17900 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17902 * java/util/logging/FileHandler.java: Reverted previous patch.
17903 * java/util/logging/LogManager.java: Likewise.
17905 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17907 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17908 (DEFAULT_PATTERN): Likewise.
17909 (FileHandler()): Use configured pattern property if any; otherwise use a
17910 default value as per RI documentation.
17911 * java/util/logging/LogManager.java (getStringProperty): New method.
17913 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17915 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17917 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17919 * configure.ac (FOUND_CACAO): New automake conditional.
17920 Add --enable-tool-wrappers.
17921 * NEWS: Introduce the --enable-tool-wrappers option.
17922 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17923 * tools/appletviewer.c: Remove file. Make tool-indepedent and
17925 * tools/toolwrapper.c: New file.
17927 2006-05-27 Dalibor Topic <robilad@kaffe.org>
17929 * java/awt/Graphics2D.java: Use full class name for
17930 PrinterJob in javadoc.
17932 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
17934 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17935 (callMouseMethod): Likewise.
17937 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17939 * native/jni/java-net/java_net_VMURLConnection.c:
17940 Fix function declarations to specify unused parameters.
17941 * scripts/check_jni_methods.sh:
17942 Remove copies of the same function using uniq.
17944 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17946 * vm/reference/java/net/VMURLConnection.java:
17947 Make package-private and final.
17949 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17951 * examples/gnu/classpath/examples/swing/TableDemo.java
17952 (TModed): Added editor for the icons column.
17953 (createContent): Increase the row height by 2 px.
17955 2006-05-26 Tom Tromey <tromey@redhat.com>
17957 PR classpath/27685:
17958 * java/math/BigInteger.java (modPow): Correctly handle negative
17961 2006-05-26 Tom Tromey <tromey@redhat.com>
17963 * configure.ac: Check for magic.h and -lmagic.
17964 * vm/reference/java/net/VMURLConnection.java: New file.
17965 * include/java_net_VMURLConnection.h: New file.
17966 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17967 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17968 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17970 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17971 * native/jni/java-net/java_net_VMURLConnection.c: New file.
17973 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17975 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17977 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17979 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17980 libjawtgnu.la libjawt.la.
17982 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17984 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17987 2006-05-25 Lillian Angel <langel@redhat.com>
17990 * java/awt/Window.java
17991 (Window): Moved code to helper.
17992 (addWindowFocusListener): New function. Handles focus
17993 listener code. Added code to handle focus lost/gained
17996 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
17999 Make pkg-config check for GTK+ >= 2.8.
18001 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18003 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18004 (flush): Remove debugging printfs.
18006 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18008 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18009 (schedule_flush): New function.
18010 (end_drawing_operation): Call schedule_flush.
18012 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18014 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18015 paint performance demo.
18016 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18018 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
18020 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
18021 Cairo version requirement. Do not mention --enable-gtk-cairo
18023 * NEWS: Add entry for GdkGraphics2D.
18024 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18025 Cairo library and headers.
18026 * .externalToolBuilders/Configure.launch: Remove
18027 --enable-gtk-cairo from configure line.
18028 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18030 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18031 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18032 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18033 useGraphics2D references. Always assume Graphics2D is enabled.
18034 * gnu/java/awt/peer/gtk/GdkGraphics.java,
18035 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18036 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18037 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18038 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
18039 useGraphics2D references. Always assume Graphics2D is enabled.
18040 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18041 Graphics2D check. Always assume Graphics2D is enabled.
18042 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18043 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18044 (realize): Remove method.
18045 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18046 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18047 (isRealized): Remove method.
18048 (realize): Implement as a native method. Remove useGraphics2D
18049 references. Always assume Graphics2D is enabled.
18050 * gnu/java/awt/peer/gtk/GtkImage.java,
18051 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18052 GdkGraphics references with GdkGraphics2D references.
18053 * gnu/java/awt/peer/gtk/GtkToolkit.java,
18054 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18055 useGraphics2D references. Always assume Graphics2D is enabled.
18056 * include/Makefile.am (GTKPEER_H_FILES): Remove
18057 gnu_java_awt_peer_gtk_GdkGraphics.h.
18058 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18059 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18060 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18061 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18062 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18063 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18064 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18065 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
18066 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18067 (AM_LDFLAGS): Remove CAIRO_LIBS.
18068 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18069 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18071 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18073 2006-05-25 Lillian Angel <langel@redhat.com>
18075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18076 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18077 Added check to prevent assertion error. If widget->window is null, then
18078 use the parent widget's window to set the cursor on.
18080 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18082 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18085 2006-05-24 Lillian Angel <langel@redhat.com>
18087 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18088 (prependCodeBase): Added check to determine if the documentbase
18089 points to a directory or a file.
18091 2006-05-24 Sven de Marothy <sven@physto.se>
18093 * java/awt/dnd/DragGestureRecognizer.java
18094 (resetRecognizer): Implement.
18095 (fireDragGestureRecognized): Implement.
18097 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18099 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18100 fixed source code formatting.
18102 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18104 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18106 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18108 Reported by Antony Balkisson.
18109 * javax/swing/JTable.java (selectAll): Return without action
18110 if the table is empty.
18112 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18114 * examples/gnu/classpath/examples/swing/TableDemo.java:
18115 (SliderCell): New inner class. (setCustomEditors,
18116 setInformativeHeaders): New fields. (createContent):
18118 * javax/swing/DefaultCellEditor.java
18119 (JComboBoxDelegate.shouldSelectCell): New method.
18120 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18121 * javax/swing/plaf/basic/BasicTableUI.java
18122 (MouseInputHandler.mouseClicked): Start editing on a single
18123 click if the cell editor is not a default cell editor.
18125 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18127 * javax/swing/naming/CompositeName.java,
18128 javax/swing/naming/CompoundName.java:
18131 2006-05-23 Archie Cobbs <archie@dellroad.org>
18133 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18136 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18138 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18139 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18140 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18141 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18142 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18143 * javax/swing/tree/ExpandVetoException.java: Likewise,
18144 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18145 * javax/swing/tree/RowMapper.java: Likewise,
18146 * javax/swing/tree/TreeNode.java: Likewise,
18147 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18148 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18150 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18152 * javax/swing/tree/DefaultTreeCellRenderer.java
18153 (DefaultTreeCellRenderer): Changed key for
18154 setBackgroundNonSelectionColor(),
18155 plus API docs all over.
18157 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18160 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18161 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18162 Initialise in constructor. (columnMoved): Cancel editing.
18163 (createDefaultEditors): Rewritten. (editCellAt):
18164 Just invert the value if this is a boolean cell.
18165 (initialiseLocalVars): Do not initialise renderer and editor tables.
18166 (setUI): Create editors and renderers here.
18168 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18170 * examples/gnu/classpath/examples/awt/Demo.java:
18171 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18172 instance as subframe.
18173 (ResolutionWindow): New inner class.
18174 (FullscreenWindow): New inner class.
18176 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18179 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18180 Set horizontal alignment to centered.
18182 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18184 * javax/accessibility/AccessibleContext.java
18185 (getAccessibleComponent): Fixed typo in docs,
18186 * javax/swing/JLabel.java:
18187 (AccessibleJLabel.getAccessibleName): Check for explicit
18189 * javax/swing/JTableHeader.java
18190 (AccessibleJTableHeaderEntry.columnIndex): New field,
18191 (AccessibleJTableHeaderEntry.parent): New field,
18192 (AccessibleJTableHeaderEntry.table): New field,
18193 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18195 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18197 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18198 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18199 (AccessibleJTableHeaderEntry.contains): Implemented,
18200 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18201 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18202 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18203 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18204 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18205 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18206 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18207 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18208 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18209 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18210 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18211 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18212 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18213 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18214 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18215 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18216 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18217 (AccessibleJTableHeaderEntry.getFont): Implemented,
18218 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18219 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18220 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18221 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18222 (AccessibleJTableHeaderEntry.getSize): Implemented,
18223 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18224 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18225 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18226 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18227 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18228 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18230 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18231 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18232 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18233 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18234 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18235 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18236 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18237 (AccessibleJTableHeaderEntry.setFont): Implemented,
18238 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18239 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18240 (AccessibleJTableHeaderEntry.setSize): Implemented,
18241 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18242 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18243 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18244 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18245 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18247 2006-05-22 Tom Tromey <tromey@redhat.com>
18251 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18253 * javax/swing/JLabel.java
18254 (AccessibleJLabel.getAccessibleName): New method (override),
18255 (setLabelFor): Fire 'labelFor' property change event before other
18258 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18260 * javax/swing/JLabel.java
18261 (AccessibleJLabel.getAccessibleRole): New method (override).
18263 2006-05-22 Tom Tromey <tromey@redhat.com>
18265 * resource/gnu/classpath/tools/serialver/messages.properties: New
18267 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18268 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18270 (classpath): Likewise.
18273 (addFileURL): New method.
18274 (getClassLoader): Likewise.
18275 (printMessage): Likewise.
18277 2006-05-22 Tom Tromey <tromey@redhat.com>
18279 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18281 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18283 * javax/swing/JTable.java (doLayout): In the column
18284 resize mode, only repaing the changed part of the table.
18285 (getLeftResizingBoundary): New method.
18287 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18289 * javax/naming/spi/InitialContextFactory.java,
18290 javax/naming/spi/InitialContextFactoryBuilder.java,
18291 javax/naming/spi/NamingManager.java,
18292 javax/naming/spi/ObjectFactory.java,
18293 javax/naming/spi/ResolveResult.java,
18294 javax/naming/spi/Resolver.java,
18295 javax/naming/spi/StateFactory.java: Documented.
18297 2006-05-21 Tom Tromey <tromey@redhat.com>
18299 PR classpath/27688:
18300 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18302 (initSet): Removed.
18303 (shouldExtract): Removed.
18305 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18306 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18309 (allItems): New field.
18310 (run): Initialize it.
18313 2006-05-22 Sven de Marothy <sven@physto.se>
18315 * java/nio/CharBuffer.java
18316 (wrap): Fix bounds checking.
18318 2004-08-26 Tom Tromey <tromey@redhat.com>
18320 * java/io/OutputStream.java
18321 (OutputStream): Implements Closeable, Flushable.
18323 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18325 * java/io/ObjectOutputStream.java:
18326 (writeObject(Object)): Added enum support.
18327 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18328 * java/io/ObjectStreamClass.java:
18329 (isEnum()): New package-private method.
18330 (setFlags(Class)): Added enum support.
18331 * java/io/ObjectStreamConstants.java:
18334 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18336 * java/io/ObjectInputStream.java:
18337 (parseContent(byte)): Added enum support.
18338 * java/io/ObjectStreamConstants.java:
18340 (TC_MAX): Changed to new maximum, TC_ENUM.
18342 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18344 * java/beans/beancontext/BeanContextSupport.java:
18345 (instantiateChild(String)): Implemented.
18347 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18349 * java/beans/beancontext/BeanContextSupport.java:
18350 (add(Object)): Add further documentation.
18351 (isEmpty()): Documented.
18352 (propertyChange(PropertyChangeEvent)): Implemented.
18353 (remove(Object)): Documented.
18354 (remove(Object,boolean)): Documented and implemented.
18355 (vetoableChange(PropertyChangeEvent)): Marked as
18356 implemented (only subclasses appear to need this).
18358 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18360 * java/beans/beancontext/BeanContextSupport.java:
18361 (add(Object)): Implement support for the child being
18362 a BeanContextChild.
18363 (avoidingGui()): Implemented.
18364 (dontUseGui()): Likewise.
18365 (needsGui()): Likewise.
18366 (okToUseGui()): Likewise.
18368 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18370 * javax/naming/Context.java,
18371 javax/naming/ContextNotEmptyException.java,
18372 javax/naming/Reference.java: Documented.
18374 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18376 * javax/swing/text/html/MinimalHTMLWriter.java
18377 (writeComponent, writeImage): Declare that the method
18378 may throw the IOException.
18380 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18383 * javax/naming/InitialContext.java (colon_list): Changed type to
18384 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18385 (merge): Rewritten.
18387 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18389 * javax/naming/InitialContext.java: Documented.
18391 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18393 * javax/naming/NameParser.java,
18394 javax/naming/NamingEnumeration.java,
18395 javax/naming/PartialResultException.java,
18396 javax/naming/SizeLimitExceededException.java,
18397 javax/naming/spi/ObjectFactory.java,
18398 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18400 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18402 * gnu/java/net/loader/JarURLLoader.java:
18403 Use Map.Entry instead of LinkedHashMap.Entry
18405 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18407 * javax/naming/Context.java: Documented.
18409 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18411 * javax/naming/Referenceable.java: Documented.
18412 * javax/naming/spi/NamingManager.java: Documented.
18414 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18416 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18417 to messages.properties.
18418 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18419 Renamed to messages.properties.
18420 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18422 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18423 Renamed from MessageBundle.properties.
18424 Added copyright notice.
18425 * resource/gnu/classpath/tools/keytool/messages.properties:
18427 * tools/gnu/classpath/tools/jarsigner/Messages.java
18428 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18429 (getFormattedString): Fixed a spelling mistake.
18430 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18432 2006-05-20 Sven de Marothy <sven@physto.se>
18434 * gnu/java/awt/font/opentype/NameDecoder.java
18436 (getName): Use getShort instead of getChar(), fix PS name.
18437 (decodeName): New method.
18438 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18439 (getSubFamilyName): Implement.
18440 (getPostScriptName): Use the NameDecoder class instead.
18441 (parsePSName): Removed.
18444 2006-05-20 Sven de Marothy <sven@physto.se>
18446 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18447 (getTrueTypeTable): New native method.
18448 (getPostScriptName): Reimplement.
18449 (parsePSName): New method.
18450 (getNumGlyphs): Implement.
18451 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18453 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18454 New function. File is now explicitly dependent on FT2.
18456 2006-05-20 Tom Tromey <tromey@redhat.com>
18458 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18459 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18461 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18462 (HandleFile): New class.
18463 (input, output, encoding, reversed): New fields.
18464 (createParser): New method.
18467 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18468 (notifyFile): Throws OptionException.
18470 2006-05-20 Tom Tromey <tromey@redhat.com>
18472 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18475 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18477 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18478 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18481 2006-05-20 Sven de Marothy <sven@physto.se>
18483 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18485 2006-05-20 Sven de Marothy <sven@physto.se>
18487 * gnu/java/awt/print/JavaPrinterJob.java
18488 (print): Use PostScriptGraphics2D.
18489 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18491 2006-05-20 Sven de Marothy <sven@physto.se>
18493 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18495 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18497 * gnu/java/security/OID.java: Updated copyright year.
18498 (OID): Removed unused Javadoc param tag.
18499 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18500 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18502 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18504 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18506 Added trace/debug statements.
18507 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18508 Entry. Also ensure that any previous entry for this alias is removed
18509 before a new one is added.
18510 (engineGetKey): Do not trace/log passwords.
18511 Trace key's class name only.
18512 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18513 Certificate Entry. Also ensure that previous entry for this alias is
18514 removed before a new one is added.
18515 (engineLoad): Do not trace/log passwords.
18516 (engineStore): Likewise.
18517 (engineSize): Use size of enumeration instead of collection size.
18519 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18521 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18522 (toString): New method.
18523 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18524 Do not trace/log passwords.
18525 Set masked to false before decoding envelope.
18526 Do not set payload to null.
18527 (encrypt): Set masked to true.
18528 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18529 Do not trace/log passwords.
18530 Set masked to false before decoding envelope.
18531 Do not set payload to null.
18532 Added trace/debug statements.
18533 (authenticate): Do not trace/log passwords.
18534 Set masked to true.
18535 Added trace/debug statements.
18536 (getMac): Added trace/debug statements.
18537 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18538 (remove(String)): Changed the signature to return a boolean.
18539 (toString): New method.
18540 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18542 (getCertificate): Likewise.
18543 (putCertificate): Likewise.
18545 Do not trace/log passwords.
18547 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18548 Do not trace/log passwords.
18549 Added more trace/logging statements.
18550 (putPrivateKey): Do not trace/log passwords.
18551 Trace only key's class name.
18553 (containsPublicKey): Formatting.
18554 (getPublicKey): Likewise.
18555 Trace only key's class name.
18556 (putPublicKey): Trace only key's class name.
18557 (containsCertPath): Formatting.
18558 (getCertPath): Likewise.
18559 (putCertPath): Likewise.
18560 (load): Do not trace/log passwords.
18563 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18564 (add): Do not set payload to null.
18565 Added trace/debug statements.
18566 (containsAlias): Added trace/debug statements.
18568 (remove(Entry)): Likewise.
18569 (remove(String)): Likewise.
18570 Changed the signature to return a boolean.
18571 Do not set payload to null unless really removed.
18572 (toString): New method.
18573 (decodeEnvelope): Clear entries before proceeding.
18574 (makeAliasList): Added trace/debug statements.
18575 Ensure only non-null aliases and alias-lists are added.
18576 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18577 (TYPES): New constant.
18578 (toString): New method.
18579 (defaultDecode): Add trace/debug statement.
18581 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18583 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18584 Increased visibility.
18585 (setup): Do not trace/log passwords.
18586 (parsed): Was not setting correct (rfc) field; fixed.
18587 (print1Chain): Formatting.
18588 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18589 Do not trace/log passwords.
18590 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18591 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18592 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18593 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18594 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18595 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18596 (orderChain): Added FIXME.
18597 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18598 Do not trace/log passwords.
18599 Removed commented out code.
18600 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18601 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18602 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18603 (setKeystoreURLParam): Likewise.
18604 (setKeystorePasswordParam): Do not trace/log passwords.
18605 (saveKeyStore): Likewise.
18607 2006-05-19 Roman Kennke <kennke@aicas.com>
18609 * gnu/java/awt/java2d/AbstractGraphics2D.java
18611 (pixel): Removed obsolete field.
18612 (draw(Shape)): Removed commented out code.
18613 (drawImage): Formatting.
18614 (drawString): Added optimization hook.
18615 (setPaint): Removed rawSetForeground().
18616 (getFontRenderContext): Return context with correct transform.
18617 (drawGlyphVector): Draw complete outline in one go.
18618 (copyArea): Added optimization hook.
18619 (clearRect): Added optimization hook.
18620 (drawImage): Added optimization hook.
18621 (fillShape): (Temporarily) Set antialiasing off by default for
18622 font rendering. Adjust the shape by some bits to improve rendering.
18623 Pass clip bounds to the render methods.
18624 (drawPixel): Removed.
18625 (rawSetPixel): Removed.
18626 (rawSetForeground): Removed.
18627 (rawDrawLine): Default impl calls standard pipeline.
18628 (rawDrawString): New method, calls standard pipeline for rendering.
18629 (rawClearRect): New method, calls standard pipeline for rendering.
18630 (rawFillRect): New method, calls standard pipeline for rendering.
18631 (rawDrawImage): New method, calls standard pipeline for rendering.
18632 (rawCopyArea): New method.
18633 (copyAreaImpl): New method.
18634 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18636 (fillShapeAntialias): Fixed AA rendering.
18637 (fillScanlineAA): Fixed AA rendering.
18638 (getSegments): Take offset into account.
18640 2006-05-19 Sven de Marothy <sven@physto.se>
18642 * javax/swing/text/AbstractWriter.java
18643 (getText): Fix parameters (start, length) not (start, end).
18645 2006-05-19 Tom Tromey <tromey@redhat.com>
18647 PR classpath/27444:
18648 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18649 Changed return type.
18650 * java/net/URLClassLoader.java (urlloaders): Removed.
18651 (addURLImpl): Updated.
18652 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18653 (indexSet): Likewise.
18654 (classPath): Changed type.
18655 (JarURLLoader): New constructor.
18656 (initialize): New method.
18657 (getResource): Use index set if it exists.
18658 (getClassPath): Updated.
18659 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18660 (prefixes): New field.
18661 (headers): Removed.
18662 (IndexListParser): Fill in prefixes.
18663 (clearAll): Clear prefixes.
18664 (getHeaders): Changed return type.
18666 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18668 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18669 (MouseInputHandler.mouseExitted): No nothing there.
18670 (MouseInputHandler.endDragging): Move column to the
18671 first/last position if released outside the horizontal
18674 2006-05-19 Lillian Angel <langel@redhat.com>
18676 * java/awt/font/GlyphVector.java
18677 (getGlyphCharIndex): Implemented.
18678 (getGlyphCharIndices): Implemented.
18679 (getGlyphOutline): Implemented.
18680 (getGlyphVisualBounds): Implemented.
18681 (getGlyphVisualBounds): Implemented.
18682 (getPixelBounds): Implemented.
18683 (getLayoutFlags): Implemented.
18685 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18687 * java/awt/LightweightDispatcher.java: Added field dragButton and
18688 documentation for it.
18689 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18690 added subexpression to if-clause in MOUSE_RELEASED case.
18692 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18694 * javax/swing/metal/MetalButtonUI.java:
18695 (update): Removed some subexpression from if-clause and call
18696 updateWithGradient.
18697 (updateWithGradient): New method.
18699 2006-05-19 Roman Kennke <kennke@aicas.com>
18701 * javax/swing/JComponent.java
18702 (findOverlapFreeParent): Implemented algorithm for finding
18703 overlapping in component hierarchy.
18705 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18707 * java/lang/Thread.java
18708 (contextClassLoaderIsSystemClassLoader): New field.
18709 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18710 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18711 and set contextClassLoaderIsSystemClassLoader.
18712 (Thread(ThreadGroup,Runnable,String,long)):
18713 Set contextClassLoaderIsSystemClassLoader.
18714 (createAnonymousThreadName): New method.
18715 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18716 and fixed security check.
18717 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18719 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18721 * javax/swing/plaf/basic/BasicToolBarUI.java:
18722 (createNonRolloverBorder): Rewritten.
18723 (createRolloverBorder): Rewritten.
18724 (setToNonRolloverBorder): Store old border instance in hashtable.
18725 (setToRolloverBorder): Store old border instance in hashtable, use
18726 AbstractButton instead of JButton in statements.
18727 (setBorderToNormal): Rewritten.
18728 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18729 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18730 ToolBar.nonrolloverBorder.
18732 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18734 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18735 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18737 2006-05-18 Lillian Angel <langel@redhat.com>
18739 * java/awt/font/GlyphMetrics.java
18740 (getLSB): Implemented.
18741 (getRSB): Implemented.
18743 2006-05-18 Lillian Angel <langel@redhat.com>
18745 * java/awt/font/GraphicAttribute.java:
18746 Documented entire class.
18747 (GraphicAttribute): Added check for alignment.
18748 (getBounds): Implemented.
18749 (getJustificationInfo): Implemented.
18751 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18753 * java/awt/LightweightDispatcher.java:
18754 (handleMouseEvent): Added note, added subexpression to if-statement.
18756 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18758 * javax/swing/plaf/basic/BasicToolBarUI.java:
18759 (navigateFocusedComp): Marked as stub.
18760 (createRolloverBorder): Create a different Border instance, added note.
18761 * javax/swing/plaf/metal/MetalBorders.java:
18762 (ButtonBorder): Added documentation.
18763 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18764 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18765 subexpression into if-else cascade, added note.
18767 2006-05-18 Lillian Angel <langel@redhat.com>
18769 * java/awt/font/ShapeGraphicAttribute.java:
18770 Documented entire class.
18771 (ShapeGraphicAttribute): Initialized bounds field.
18772 (draw): Implemented.
18773 (equals): Implemented.
18774 (getAdvance): Implemented.
18775 (getAscent): Implemented.
18776 (getBounds): Implemented.
18777 (getDescent): Implemented.
18778 (hashCode): Implemented.
18780 2006-05-18 Roman Kennke <kennke@aicas.com>
18782 * javax/swing/CellRendererPane.java
18783 (CellRendererPane): Set CellRendererPane to invisible.
18785 2006-05-18 Roman Kennke <kennke@aicas.com>
18787 * gnu/java/awt/peer/gtk/GdkGraphics.java
18788 (clipRect): Removed old intersection statement.
18790 2006-05-18 Roman Kennke <kennke@aicas.com>
18792 * gnu/java/awt/peer/gtk/GdkGraphics.java
18793 (clipRect): Don't use Rectangle.intersection() to avoid creating
18794 2 unnecessary Rectangle instances and fix a clipping problem.
18795 (computeIntersection): New helper method, adapted from SwingUtilities.
18797 2006-05-18 Roman Kennke <kennke@aicas.com>
18799 * javax/swing/JComponent.java
18800 (isCompletelyDirty): Removed.
18801 (paint): Don't mark children as clean, this is no longer necessary.
18802 (findOverlapFreeParent): Don't stop at Viewports, this breaks
18803 painting when something overlaps the viewport (like a popup/menu).
18804 * javax/swing/RepaintManager.java
18805 (currentRepaintManagers): Made package private to avoid accessor
18807 (dirtyComponents): Made private.
18808 (dirtyComponentsWork): Made private.
18809 (markCompletelyDirty): Fixed bounds of dirtyrect to be
18810 component-local not parent-local. Do not set flag in JComponent.
18811 (markCompletelyClean): Don't set JComponent flag.
18812 (isCompletelyDirty): Rewritten to return true when the complete
18813 component is marked dirty.
18814 (paintDirtyRegions): Improved parent-merging so that the merged-in
18815 components don't get painted too. 'Outsourced' the compilation
18816 of the repaint root components.
18817 (compileRepaintRoots): New helper method.
18819 2006-05-18 Roman Kennke <kennke@aicas.com>
18822 * javax/swing/text/GapContent.java
18823 (GapContentPosition(int)): Use adapted binarySearch method to
18824 allow for having a greater array than number of entries.
18825 (numMarks): New field, holds the end of the marks list.
18826 (GapContent): Initialize positionMarks with size of 10 instead of 0.
18827 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18828 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18829 (setPositionsInRange): Changed signature to narrow the purpose and
18830 special cases inside. Reimplemented to crunch together equal marks.
18831 (adjustPositionsInRange): Added assertion to make sure we do
18832 not accidentally change the order of the mark. Added some debug
18833 output for a special case of which I don't know if it even exists.
18834 (resetMarksAtZero): Made impl simpler.
18835 (dumpMarks): New debug helper method.
18836 (insertMark): Grow array in bigger chunks to avoid excessive copying.
18837 (binarySearch): New method. An adaption of Arrays.binarySearch()
18838 that allows for an maxIndex parameter.
18840 2006-05-18 Roman Kennke <kennke@aicas.com>
18842 * javax/swing/KeyboardManager.java
18843 (topLevelLookup): Use WeakHashMap to avoid memory leak.
18845 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
18847 * gnu/java/net/loader/JarURLLoader.java
18848 (JarURLLoader): Use a slightly more efficient URL constructor.
18850 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
18852 * gnu/java/awt/print/JavaPrinterGraphics.java
18853 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18854 (drawImage(Image, int, int, ImageObserver)): Likewise,
18855 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18856 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18857 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
18858 ImageObserver)): Likewise,
18859 (drawImage(Image, int, int, int, int, int, int, int, int,
18860 ImageObserver)): Likewise.
18862 2006-05-17 Tom Tromey <tromey@redhat.com>
18864 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18867 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18869 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18870 * javax/swing/border/BevelBorder.java: Likewise,
18871 * javax/swing/border/CompoundBorder.java: Likewise,
18872 * javax/swing/border/TitledBorder.java: Likewise.
18874 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18876 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18877 * javax/swing/table/DefaultTableModel.java: Likewise,
18878 * javax/swing/table/TableCellEditor.java: Likewise,
18879 * javax/swing/table/TableCellRenderer.java: Likewise.
18881 2006-05-17 Lillian Angel <langel@redhat.com>
18883 * java/awt/font/ImageGraphicAttribute.java:
18884 Documented entire class.
18885 (ImageGraphicAttribute): Changed to call this.
18886 (ImageGraphicAttribute): Implemented.
18887 (draw): Implemented.
18888 (equals): Implemented.
18889 (getAdvance): Implemented.
18890 (getAscent): Implemented.
18891 (getBounds): Implemented.
18892 (getDescent): Implemented.
18893 (hashCode): Implemented.
18894 * javax/swing/text/html/HTMLDocument.java
18895 (create): Removed. Sufficent enough for
18896 super to be called.
18897 (insert): Likewise.
18898 (insertUpdate): Likewise.
18899 (processHTMLFrameHyperlinkEvent): Marked as stub.
18900 (start): Removed FIXME.
18902 (start): Called super.
18903 (end): Called super.
18904 (getElement): removed unneeded code.
18905 (setParagraphAttribute): Removed. Sufficent enough
18906 for super to be called.
18907 (fireChangedUpdate): Likewise.
18908 (fireUndoableEditUpdate): Likewise.
18910 2006-05-17 Lillian Angel <langel@redhat.com>
18912 * java/awt/TexturePaint.java:
18913 Added documentation for class and all functions.
18914 (getTransparency): Implemented.
18916 2006-05-17 Roman Kennke <kennke@aicas.com>
18918 * java/awt/LightweightDispatcher.java
18919 (findTarget): Translate point to child components.
18921 2006-05-17 Roman Kennke <kennke@aicas.com>
18924 * javax/swing/text/GapContent.java
18925 (GapContentPosition): Do no more implement Comparable.
18926 (GapContentPosition.mark): Removed field.
18927 (GapContentPosition.index): New field to hold the index into
18928 the positions array.
18929 (GapContentPosition(int)): Rewritten to use the new indirection
18930 to the positions array.
18931 (GapContentPosition.compareTo): Removed.
18932 (GapContentPosition.getOffset): Synchronized. Fetch mark from
18933 positionMarks array.
18934 (WeakPositionComparator): Removed obsolete class.
18935 (positions): Changed type to WeakHashMap.
18936 (positionMarks): New field, holds the marks of the positions.
18937 (GapContent): Initialize new fields.
18938 (createPosition): Rewritten to use the new indirection
18939 to the positions array.
18940 (getPositionsInRange): Rewritten to use the new indirection
18941 to the positions array.
18942 (setPositionsInRange): Rewritten to use the new indirection
18943 to the positions array.
18944 (adjustPositionsInRange): Rewritten to use the new indirection
18945 to the positions array.
18946 (insertMark): New helper method.
18947 (clearPositionReferences): Removed obsolete methods.
18949 2006-05-17 Lillian Angel <langel@redhat.com>
18951 * java/awt/GraphicsConfiguration.java
18952 (getImageCapabilities): Implemented.
18953 (getBufferCapabilities): Implemented.
18955 2006-05-17 Lillian Angel <langel@redhat.com>
18957 * javax/swing/plaf/basic/BasicSliderUI.java
18958 (focusGained): Implemented.
18959 (focusLost): Implemented.
18960 (paint): Added code to paint the focus.
18961 * javax/swing/plaf/metal/MetalSliderUI.java
18962 (paintThumb): Added code to set the thumbColor.
18963 (paintFocus): Implemented properly.
18965 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18968 * javax/naming/spi/NamingManager.java (getURLContext):
18969 Always search for the factory class in all possible places
18970 and use VMStackWalker.
18971 (forName): New method.
18973 2006-05-17 Roman Kennke <kennke@aicas.com>
18975 * java/awt/LightweightDispatcher.java
18976 (handleMouseEvent): Fixed search algorithm for finding the
18977 mouse event target.
18978 (findTarget): Fixed search algorithm for finding the
18979 mouse event target.
18981 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18983 * javax/naming/spi/NamingManager.java: Documented.
18985 2006-05-17 Mark Wielaard <mark@klomp.org>
18987 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18988 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18989 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18990 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18992 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18995 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18997 (BorderListener.mouseClicked): Detect double-clicks in title pane,
18999 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19001 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
19004 * java/awt/LightweightDispatcher.java:
19005 (handleMouseEvent): Moved assignment into switch-block, added notes.
19007 2006-05-16 Lillian Angel <langel@redhat.com>
19009 * javax/swing/text/StyleContext.java:
19010 Changed staticAttributeKeys to be a Hashtable.
19011 (getStaticAttribute): Implemented.
19012 (getStaticAttributeKey): Implemented.
19013 (readAttributeSet): Implemented.
19014 (writeAttributeSet): Added FIXME. Not sure how
19016 (readAttributes): Implemented.
19017 (writeAttributes): Implemented.
19018 (registerStaticAttibuteKey): Fixed to add key to
19021 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19023 * javax/swing/DefaultButtonModel.java
19024 (setGroup): Removed event notification.
19026 2006-05-16 Lillian Angel <langel@redhat.com>
19028 * javax/swing/plaf/basic/BasicComboBoxUI.java
19029 (installKeyboardActions): Implemented.
19030 (uninstallKeyboardActions): Implemented.
19031 * javax/swing/plaf/basic/BasicComboPopup.java
19032 (uninstallKeyboardActions): Removed FIXME. Nothing
19034 (installKeyboardActions): Likewise.
19035 * javax/swing/plaf/basic/BasicTextUI.java
19036 (uninstallKeyboardActions): Implemented.
19037 * javax/swing/plaf/basic/BasicTreeUI.java:
19038 Added field for hashColor.
19039 Marked stub methods.
19040 (getHashColor): Implemented to use field.
19041 (setHashColor): Likewise.
19042 (getRowX): Implemented.
19043 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
19045 2006-05-16 Roman Kennke <kennke@aicas.com>
19048 * javax/swing/JTable.java
19049 (rowHeights): New field.
19050 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19051 in order to initialize rowHeights correctly.
19052 (tableChanged): Nullify rowHeights when model changes. Only
19053 create default columns from model when corresponding property
19054 is set. Sync table model with rowHeights as appropriate.
19055 (valueChanged): Call repaint with the correct rectangle.
19056 (rowAtPoint): Handle rowHeights.
19057 (getCellRect): Mostly rewritten. Check for boundaries
19058 of model and return (0,0,0,0) or (0,0,width,height) when outside.
19059 Handle component orientation. Round correctly.
19060 (getRowHeight(int)): Implemented for variable row height.
19061 (setRowHeight(int,int)): Implemented for variable row height.
19062 (setRowHeight(int)): Nullify rowHeights.
19063 (setModel): Notify tableChanged().
19064 * javax/swing/plaf/basic/BasicTableUI.java
19065 (installDefaults): Create rendererPane in installUI.
19066 (installUI): Create and install rendererPane.
19067 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19069 (paint): Correctly handle rowMargin.
19071 2006-05-16 Tom Tromey <tromey@redhat.com>
19073 PR classpath/27563:
19074 * java/text/NumberFormat.java (getIntegerInstance): Use
19075 "integerFormat", not "numberFormat".
19077 2006-05-16 Lillian Angel <langel@redhat.com>
19079 * javax/swing/JPopupMenu.java
19080 (addMenuKeyListener): Implemented.
19081 (removeMenuKeyListener): Implemented.
19082 (getMenuKeyListeners): Implemented.
19083 * javax/swing/ProgressMonitor.java:
19084 Added new protected field.
19085 (getAccessibleContext): Implemented.
19087 2006-05-16 Lillian Angel <langel@redhat.com>
19089 * javax/swing/JFileChooser.java:
19090 Added new private field.
19091 (setDragEnabled): Implemented.
19092 (getDragEnabled): Implemented.
19094 2006-05-16 Lillian Angel <langel@redhat.com>
19096 * java/awt/Window.java
19097 (applyResourceBundle): Implemented.
19099 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19101 * javax/swing/DefaultButtonModel.java
19102 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19105 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19107 * javax/swing/JList.java (getSelectedValues):
19108 Ask the value for the indexed array element.
19110 2006-05-16 Roman Kennke <kennke@aicas.com>
19112 * javax/swing/JTable.java
19113 (valueChanged): Also repaint when table has only 1 row. Fixed
19114 repaint rectangle to span the entire changed rows.
19116 2006-05-16 Roman Kennke <kennke@aicas.com>
19119 * javax/swing/JOptionPane.java
19120 (startModal): Rewritten. The events are now dispatched, even
19121 when the event dispatch thread gets blocked by the call
19122 to this method. Also, mouse events get intercepted outside the
19125 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19127 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19128 (BorderListener.mouseDragged):Do not set cursor
19129 if the frame is being dragged.
19131 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19133 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19134 (BorderListener): Rewritten. (InternalFrameBorder):
19135 Made package private.
19136 (InternalFrameBorder.offset):
19137 Renamed to cornerSize, made package private.
19138 (bSize): Made package private.
19140 2006-05-16 Roman Kennke <kennke@aicas.com>
19142 * javax/swing/JMenu.java
19143 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19144 (AccessibleJMenu.getAccessibleChild): Implemented.
19145 (AccessibleJMenu.getAccessibleSelection): Implemented.
19146 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19147 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19148 (AccessibleJMenu.getAccessibleRole): Documented.
19149 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19150 (AccessibleJMenu.addAccessibleSelection): Implemented.
19151 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19152 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19153 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19154 (createPath): New helper method.
19156 2006-05-15 Tom Tromey <tromey@redhat.com>
19158 * java/text/MessageFormat.java (format): Now varargs.
19160 2006-05-15 Tom Tromey <tromey@redhat.com>
19162 * java/lang/Thread.java (State): Fixed typo.
19164 2006-05-15 Tom Tromey <tromey@redhat.com>
19166 * java/net/URLClassLoader.java: Moved inner classes to
19167 gnu.java.net.loader.
19168 (factoryCache): Changed type.
19169 (URL_LOADER_PREFIX): New constant.
19170 (URLClassLoader): Updated for new factoryCache.
19171 (addURLImpl): Use reflection to search for a loader.
19172 (findClass): Use getClass method on URLLoader.
19173 (getURLStreamHandler): Removed.
19174 * gnu/java/net/loader/URLLoader.java: New file, extracted
19175 from URLClassLoader.
19176 * gnu/java/net/loader/Resource.java: Likewise.
19177 * gnu/java/net/loader/FileResource.java: Likewise.
19178 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19179 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19180 * gnu/java/net/loader/JarURLResource.java: Likewise.
19181 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19182 * gnu/java/net/loader/RemoteResource.java: Likewise.
19183 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19185 2006-05-15 Sven de Marothy <sven@physto.se>
19187 * native/target/generic/target_generic_network.h:
19188 Add a pair of parenthesis.
19190 2006-05-15 Mark Wielaard <mark@klomp.org>
19192 * java/awt/Graphics2D.java: Remove PrinterJob import.
19194 2006-05-15 Mark Wielaard <mark@klomp.org>
19196 * doc/www.gnu.org/announce/20060515.wml: New file.
19197 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19198 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19200 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19202 * NEWS: Announce inclusion of gcjwebplugin.
19203 Announce inclusion of appletviewer.
19204 * INSTALL: Note gcjwebplugin dependencies.
19206 2006-05-15 Mark Wielaard <mark@klomp.org>
19208 * configure.ac (VERSION): Set to 0.91-generics.
19210 2006-05-15 Mark Wielaard <mark@klomp.org>
19212 * NEWS: Add release date and VMClassLoader.getBootPackages()
19215 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19217 * README: Added CACAO to list of VMs.
19219 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19221 * javax/swing/RepaintManager.java (paintDirtyRegions):
19222 Break loop as soon as the component repaint is merged
19223 with some parent. (ComponentComparator): Removed.
19224 (comparator): Removed.
19226 2006-05-15 Roman Kennke <kennke@aicas.com>
19228 * javax/swing/border/TitledBorder.java
19229 (paintBorderWithTitle): Fixed indentation.
19231 2006-05-15 Roman Kennke <kennke@aicas.com>
19233 * javax/swing/border/TitledBorder.java
19234 (layoutBorderWithTitle): Fetch border using getBorder() instead
19235 of using the border field directly. Allows for the use of
19236 an UI supplied border in the case when a null border was set.
19237 Fixed component orientation.
19238 (paintBorderWithTitle): Fetch border using getBorder() instead
19239 of using the border field directly. Allows for the use of
19240 an UI supplied border in the case when a null border was set.
19242 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19244 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19245 (contains): New method.
19247 2006-05-15 Tom Tromey <tromey@redhat.com>
19249 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19251 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19254 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19256 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19258 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19259 region. (paintDirtyRegions): Rewritten.
19261 2006-05-15 Tom Tromey <tromey@redhat.com>
19263 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19265 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19267 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19268 (run): Use MessageFormat.
19269 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19270 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19271 (writeFile): Use MessageFormat.
19273 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19275 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19276 instead of directly calling the class loader.
19278 2006-05-15 Tom Tromey <tromey@redhat.com>
19280 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19281 Removed old comment.
19282 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19283 Externalized strings.
19284 (getVersionString): Use MessageFormat.
19285 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19286 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19287 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19288 (getArgument): Use a MessageFormat.
19289 (handleLongOption): Likewise.
19292 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19295 * javax/swing/text/FieldView.java:
19296 (paint): Calculate intersection between clip and allocation area and
19297 set that as new clip.
19299 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19301 * javax/swing/text/JTextComponent.java: Marked stub methods.
19303 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19305 * javax/swing/JTable.java: Marked stub methods.
19307 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19309 * tools/gnu/classpath/tools/jarsigner/Main.java:
19310 Increased visibility of fields used by parser anonymous classes.
19311 (KEYTOOL_TOOL): New constant.
19312 (cmdLineParser): Changed type to ToolParser.
19313 (fileAndAlias): new field.
19314 (main): Don't catch OptionException.
19315 (processArgs): Removed validation checks; now handled by ToolParser.
19316 (getParser): Removed.
19317 (ToolParserCallback): New inner class.
19318 (ToolParser): Likewise.
19320 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19322 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19325 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19327 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19328 endResizingFrame): Do not repaint, unless in the outline mode.
19330 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19332 * javax/swing/JTabbedPane.java
19333 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19334 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19335 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19336 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19337 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19338 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19339 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19340 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19341 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19342 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19343 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19344 (Page.getAccessibleName): Implemented.
19346 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19348 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19349 Do not repaint nor revalidate here.
19351 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19353 * javax/swing/RepaintManager.java (addDirtyRegion):
19354 If there is a lightweight parent, recursively add the corresponding
19355 region of the parent instead.
19357 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19359 * java/awt/Graphics2D.java: Added some API doc comments.
19361 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19363 * javax/swing/JTabbedPane.java
19364 (paramString): Reimplemented,
19365 (getAccessibleContext): Added API docs.
19367 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19369 * javax/swing/JFileChooser.java
19370 (paramString): Reimplemented,
19371 (getAccessibleContext): Updated API docs,
19372 (AccessibleJFileChooser): Added API docs.
19374 2006-05-14 Tom Tromey <tromey@redhat.com>
19376 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19378 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19380 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19382 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19383 validation to JarParser.
19384 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19385 (run): Moved validation to JarParser. Don't throw OptionException.
19386 (initializeParser): Create a JarParser.
19387 (main): Don't catch OptionException.
19388 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19390 (validate): New method.
19391 (parse): Call it. Print '-help' in error message when long-only.
19393 2006-05-14 Tom Tromey <tromey@redhat.com>
19395 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19398 2006-05-15 Sven de Marothy <sven@physto.se>
19400 * gnu/java/awt/print/JavaPrinterGraphics.java:
19401 Sweeping changes I can't be bothered to document in detail.
19402 * gnu/java/awt/print/JavaPrinterJob.java
19403 (getPageAttributes): New method.
19404 (setPageable,cancel,isCancelled): Implement.
19406 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19408 * javax/swing/JCheckBoxMenuItem.java
19409 (requestFocus): Fixed typo in API docs,
19410 (paramString): Just call super.paramString(),
19411 (getAccessibleContext): Added API docs,
19412 (AccessibleJCheckBoxMenuItem): Likewise.
19414 2006-05-14 Tom Tromey <tromey@redhat.com>
19416 * tools/gnu/classpath/tools/jar/Indexer.java
19417 (writeCommandLineEntries): Simplify insertion.
19418 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19421 2006-05-14 Tom Tromey <tromey@redhat.com>
19423 PR classpath/27514:
19424 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19426 (JAR_INDEX_VERSION_KEY): Likewise.
19427 (IndexListParser): Updated.
19428 (getVersionInfo): Likewise.
19429 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19430 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19432 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19434 (ModeOption): New constructor.
19435 (parsed): Updated. Use setArchiveFile.
19436 (setArchiveFile): New method.
19437 (run): Handle no-argument case.
19438 (main): Emit --help message on option error.
19439 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19440 (createManifest): New method.
19441 (run): Updated. Throws OptionException. Correctly copy zip entry.
19442 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19444 (writeManifest): Removed.
19445 (outputStream): Now a JarOutputStream.
19446 (writeCommandLineEntries): Changed parameters. Updated callers.
19447 (run): Throws OptionException.
19448 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19449 * java/util/jar/Manifest.java (read): Typo fix.
19451 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19453 * javax/swing/JMenuItem.java
19454 (paramString): Fixed class name in API doc comment.
19456 2006-05-14 Tom Tromey <tromey@redhat.com>
19458 * native/plugin/.cvsignore: Updated.
19460 2006-05-14 Mark Wielaard <mark@klomp.org>
19462 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19465 2006-05-14 Chris Burdess <dog@gnu.org>
19467 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19468 nodes to be preserved during cloneNode.
19470 2006-05-14 Mark Wielaard <mark@klomp.org>
19473 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19474 inherited timeout on socket.
19476 2006-05-14 Lillian Angel <langel@redhat.com>
19478 * java/util/SimpleTimeZone.java: Reverted patch.
19479 (SimpleTimeZone): Throw exception if startMonth ==
19481 (SimpleTimeZone): Likewise.
19482 (checkRule): Rewritten to properly check all values (more
19484 This code is now more stable, at least less buggy than before.
19485 Fixed API documentation.
19486 (setStartRule): Moved checkRule call to end.
19487 (setStartRule): Likewise.
19488 (setEndRule): Likewise.
19489 (setEndRule): Likewise.
19491 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19493 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19496 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19499 * javax/swing/text/AbstractDocument.java:
19500 (insertString): Flipped if-expression and its blocks.
19502 (replace): Flipped if-expression and its blocks, added note, invoke
19503 insertString and remove instead of insertStringImpl and removeImpl.
19505 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19507 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19509 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19511 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19513 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19514 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19515 Increased visibility of fields used by parser anonymous classes.
19516 (processArgs): Removed.
19517 (getParser): New method.
19518 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19519 (setup): Mark (Eclipse) strings that need not be externalised.
19521 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19522 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19523 command line option parsing.
19524 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19525 Increased visibility of fields used by parser anonymous classes.
19526 (processArgs): Removed.
19527 (setup): set 'all' local field.
19528 (getParser): New method.
19529 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19530 Increased visibility of fields used by parser anonymous classes.
19531 (processArgs): Removed.
19532 (getParser): New method.
19533 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19534 (setNewKeyPassword): Fixed comments.
19535 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19536 Increased visibility of fields used by parser anonymous classes.
19537 (processArgs): Removed.
19538 (getParser): New method.
19539 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19541 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19542 Increased visibility of fields used by parser anonymous classes.
19543 (processArgs): Removed.
19544 (setup): Mark (Eclipse) strings that need not be externalised.
19545 (getParser): New method.
19546 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19547 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19548 Increased visibility of fields used by parser anonymous classes.
19549 (processArgs): Removed.
19550 (getParser): New method.
19551 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19552 (ATTRIBUTES_OPT): New constant.
19553 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19554 Increased visibility of fields used by parser anonymous classes.
19555 (processArgs): Removed.
19556 (setup): Mark (Eclipse) strings that need not be externalised.
19558 Reduced logging level.
19559 (getParser): New method.
19560 * tools/gnu/classpath/tools/keytool/Command.java
19561 (processArgs): Made it concrete.
19562 (getParser): New abstract method.
19563 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19565 2006-05-13 Casey Marshall <csm@gnu.org>
19567 Patch by Michael Barker <mike@middlesoft.co.uk>.
19568 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19569 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19570 gnu.java.nio.SocketChannelSelectionKeyImpl.
19571 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19572 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19574 * include/gnu_java_nio_VMChannel.h: new file.
19575 * java/nio/FileChannel.java (read,write): changed to call abstract
19577 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19578 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19579 `gnu_java_nio_VMChannel.c.'
19580 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19582 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19584 * javax/swing/text/AbstractDocument.java:
19585 (insertString): Flipped if-expression and its blocks.
19587 (replace): Flipped if-expression and its blocks, added note, invoke
19588 insertString and remove instead of insertStringImpl and removeImpl.
19590 2006-05-13 Tom Tromey <tromey@redhat.com>
19592 * java/nio/ByteBufferImpl.java (compact): Always set position.
19594 2006-05-13 Sven de Marothy <sven@physto.se>
19596 * gnu/java/awt/print/JavaPrinterGraphics.java
19597 (spoolPostScript): Use a faster writer.
19599 2006-05-13 Sven de Marothy <sven@physto.se>
19601 * gnu/java/awt/print/JavaPrinterGraphics.java
19602 (colorTripleHex): Reimplement better.
19604 2006-05-13 Sven de Marothy <sven@physto.se>
19606 * javax/swing/text/html/HTMLDocument.java
19607 (CharacterAction.start): Translate tag to StyleAttribute.
19608 (pushCharacterStyle): Push copy of attributes onto stack.
19609 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19612 2006-05-13 Sven de Marothy <sven@physto.se>
19614 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19615 * java/awt/print/PrinterJob.java
19616 (getPrinterJob): Return a JavaPrinterJob
19617 (setPrintService,getPrintService): Implement.
19618 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19619 (getPixels): Gtk_threads_enter required.
19620 * gnu/java/awt/print/JavaPrinterGraphics.java
19621 * gnu/java/awt/print/JavaPrinterJob.java
19622 * gnu/java/awt/print/SpooledDocumet.java:
19625 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19627 * javax/swing/text/TextAction.java:
19628 (HorizontalMovementAction): New inner class.
19629 (VerticalMovementAction): New inner class.
19630 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19631 new inner classes to array 'defaultActions'.
19632 (SelectionBeginWordAction): New inner class.
19633 (SelectionEndWordAction): New inner class.
19634 (BeginWordAction): New inner class.
19635 (EndWordAction): New inner class.
19636 (PreviousWordAction.actionPerformed): Rewritten.
19637 (SelectLineAction): New inner class.
19638 (SelectWordAction): New inner class.
19639 (SelectionDownAction): Rewritten.
19640 (SelectionUpAction): Rewritten.
19641 (DownAction): Rewritten.
19642 (UpAction): Rewritten.
19643 (SelectionForwardAction): Rewritten.
19644 (SelectionBackwardAction): Rewritten.
19645 (ForwardAction): Rewritten.
19646 (BackwardAction): Rewritten.
19647 (BeginAction): New inner class.
19648 (EndAction): New inner class.
19649 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19650 Character.isISOControl.
19652 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19654 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19655 (WordFilter.getNextVisualPositionFrom): Added statement to check
19656 for variable pt not being null.
19658 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19660 * javax/swing/text/Utilities.java:
19661 (getNextWord): Fixed grammar in exception message.
19662 (getPreviousWord): Changed expression in first if-clause, added sub-
19663 expression to if-clause in while-loop.
19664 (getWordStart): Changed expression in if-clause.
19665 getNextVisualPositionFrom): Added package-private helper method.
19667 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19669 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19672 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19674 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19676 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19677 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19678 * tools/gnu/classpath/tools/jarsigner/Main.java:
19679 Increased visibility of fields used by parser anonymous classes.
19680 (HELP_PATH): Removed.
19681 (cmdLineParser): New field.
19682 (main): Handle JVM exit status.
19683 Handle command line parsing exceptions.
19684 (processArgs): Use getopt command line parser.
19685 (getParser): New method.
19686 (setupCommonParams): Removed checks now handled by processArgs().
19687 (setupSigningParams): Likewise.
19688 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19689 Reuse an existing message-bundle constant.
19691 2006-05-12 Tom Tromey <tromey@redhat.com>
19693 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19694 Explicitly specify class for synchronization.
19696 2006-05-12 Tom Tromey <tromey@redhat.com>
19698 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19700 2006-05-12 Sven de Marothy <sven@physto.se>
19702 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19703 * gnu/java/net/protocol/http/HTTPURLConnection.java
19704 (setConnectTimeout): New method.
19705 (getConnection): Add timeout parameter.
19706 * java/net/URLConnection.java
19707 (getConnectTimeout, setConnectTimeout): Implement.
19708 * native/target/generic/target_generic_network.h:
19709 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19711 2006-05-12 Sven de Marothy <sven@physto.se>
19713 * gnu/javax/print/CupsServer.java
19714 (CupsServer): Make the Cups host configurable.
19715 * java/lang/System.java: Document the system property.
19717 2006-05-12 Roman Kennke <kennke@aicas.com>
19719 * javax/swing/border/TitledBorder.java
19720 (paintBorder): Rewritten for simplicity and correctness.
19721 (layoutBorderWithTitle): New helper method.
19722 (paintBorderWithTitle): New helper method.
19723 (getBorderInsets): Rewritten.
19724 (getMinimumSize): Rewritten.
19725 (getRealJustification): Removed.
19726 (getMeasurements): Removed.
19727 (Measurements): Removed.
19729 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19731 * javax/swing/plaf/basic/BasicPanelUI.java
19732 (sharedUI): New field,
19733 (createUI): Return a shared instance rather than a new instance,
19734 (installUI): Reformatted and added API docs,
19735 (installDefaults): Install border if one is defined,
19736 (uninstallDefaults): Uninstall border.
19738 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19740 * javax/swing/JProgressBar.java: Updated API docs all over.
19742 2006-05-11 Lillian Angel <langel@redhat.com>
19744 * java/awt/ContainerOrderFocusTraversalPolicy.java
19745 (getComponentAfter): Should not throw exception if
19746 the ancestor is null. Added a check for this.
19747 Also, changed to use new helper function, we should
19748 iterate through all the components at least once.
19749 (getNextAvailableComponent): New helper function.
19750 (getPrevAvailableComponent): New helper function.
19751 (getComponentBefore): Should not throw exception if
19752 the ancestor is null. Added a check for this.
19753 Also, changed to use new helper function, we should
19754 iterate through all the components at least once.
19755 (getFirstComponent): Changed check to manually check
19756 fields. Calling accept() casts the object to a Component,
19757 so different values may be returned.
19758 (getLastComponent): Likewise.
19760 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19762 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19763 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19764 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19765 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19766 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19767 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19768 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19769 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19770 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19771 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19772 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19773 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19774 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19775 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19776 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19777 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19778 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19779 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19781 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19783 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19784 package-private, added field 'active'.
19785 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19786 cases to update field 'active'.
19787 (mouseDragged): Added documentation, added if-clause to update
19788 selection or caret position.
19789 (mouseClicked): Added early return when text component is disabled.
19790 (focusGained): Moved statements into an if-clause.
19791 (focusLost): Added subexpression to if-clause.
19792 (install): Preset value of 'active'.
19793 (paint): Added subexpression to if-clause.
19794 (isVisible): Extended return expression.
19795 * javax/swing/text/JTextComponent.java:
19796 (copy): Copy only if component is enabled.
19797 (cut): Cut only if component is enabled and editable.
19800 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19802 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19803 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19804 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19805 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19806 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19807 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19808 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
19810 2006-05-11 Roman Kennke <kennke@aicas.com>
19812 * gnu/java/awt/font/GNUGlyphVector.java
19813 (GNUGlyphVector): Don't apply the font renderer context's
19816 2006-05-11 Mark Wielaard <mark@klomp.org>
19818 * java/util/logging/Logger.java (global): Initialize inside static
19821 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19823 * javax/swing/JFrame.java
19824 (EXIT_ON_CLOSE): Added note to API docs,
19825 (close_action): Renamed closeAction,
19826 (JFrame()): Change title to "",
19827 (JFrame(String)): Added API docs,
19828 (getAccessibleContext): Likewise,
19829 (getDefaultCloseOperation): Updated for renamed field, added API docs,
19830 (processWindowEvent): Updated for renamed field,
19831 (setDefaultCloseOperation): Likewise, and updated API docs.
19833 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19835 * javax/swing/JFrame.java
19836 (paramString): Reimplemented,
19837 * javax/swing/SwingUtilities.java
19838 (convertWindowConstantToString): New method.
19840 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19842 * javax/swing/WindowConstants.java: Updated API docs.
19844 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19846 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19847 (createUI): Removed 'final' qualifier for parameter,
19848 (paint): Reformatted.
19850 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19852 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19853 (createUI): Removed 'final' qualifier on method argument.
19855 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19857 * javax/swing/plaf/basic/BasicCheckBoxUI.java
19858 (getDefaultIcon): Removed this redundant method.
19860 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19862 * javax/swing/plaf/basic/BasicRadioButtonUI.java
19863 (paint): Pass component size to paintFocus().
19865 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19867 * java/awt/Component.java:
19868 (dispatchEventImpl): Added comment.
19870 2006-05-11 Mark Wielaard <mark@klomp.org>
19872 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19873 Option constructor null argument to String.
19875 2006-05-11 Mark Wielaard <mark@klomp.org>
19877 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19878 Fully qualify PathIterator constants
19880 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19882 * java/awt/Component.java:
19883 (dispatchEventImpl): Added subexpression to if-clause.
19885 2006-05-11 Mark Wielaard <mark@klomp.org>
19887 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19890 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19892 * javax/swing/TransferHandler.java: Marked stub methods.
19894 2006-05-10 Roman Kennke <kennke@aicas.com>
19897 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19898 (installDefaults): Set background of content pane to null, if
19899 no custom color has been installed by the application yet.
19901 2006-05-10 Roman Kennke <kennke@aicas.com>
19904 * javax/swing/JRootPane.java
19905 (createContentPane): Don't set background to null.
19907 2006-05-10 Sven de Marothy <sven@physto.se>
19909 * java/awt/print/PrinterJob.java:
19910 (lookupPrintServices): Un-comment-out.
19912 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
19914 * tools/gnu/classpath/tools/getopt/OptionGroup.java
19915 (FILLER): New constant.
19916 (formatText(PrintStream,String,int)): New method.
19917 (formatText(PrintStream,String,int,Locale)): Likewise.
19918 (printHelp): Use formatText method.
19919 * tools/gnu/classpath/tools/getopt/Parser.java
19920 (MAX_LINE_LENGTH): New constant.
19921 (formatText(PrintStream,String)): New method.
19922 (formatText(PrintStream,String,Locale)): Likewise.
19923 (printHelp): New method.
19924 (printHelp(PrintStream)): Increased visibility to protected.
19925 Use formatText method.
19927 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19929 * javax/swing/plaf/metal/MetalRadioButtonUI.java
19930 (installDefaults): Use getPropertyPrefix() to allow subclasses to
19931 modify the lookup key.
19933 2006-05-10 Lillian Angel <langel@redhat.com>
19935 * java/util/SimpleTimeZone.java: Reverted patch.
19936 (SimpleTimeZone): Throw exception if startMonth ==
19938 (SimpleTimeZone): Likewise.
19939 (checkRule): Rewritten to properly check all values (more
19941 This code is now more stable, at least less buggy than before.
19942 Fixed API documentation.
19943 (setStartRule): Moved checkRule call to end.
19944 (setStartRule): Likewise.
19945 (setEndRule): Likewise.
19946 (setEndRule): Likewise.
19948 2006-05-10 Roman Kennke <kennke@aicas.com>
19950 * gnu/java/awt/peer/swing/SwingComponent.java:
19951 Some API comment fixlets.
19952 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19953 (createImage): Create a BufferedImage, not a Toolkit image.
19954 (paint): Removed bogus API comment.
19955 (prepareImage): Added checks to avoid NPE.
19956 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19957 (getInsets): Added check to avoid NPE.
19958 (handleMouseEvent): Added check to avoid NPE.
19959 * gnu/java/awt/peer/swing/SwingFramePeer.java:
19960 Some API comment fixlets.
19961 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19962 Some API comment fixlets.
19963 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19964 Changed start_pos name to startPos.
19965 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19966 Some API comment fixlets.
19968 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19970 * java/awt/BasicStroke.java
19971 (equals): Fixed typo in HTML tag for API doc comment.
19973 2006-05-10 Gary Benson <gbenson@redhat.com>
19975 * java/lang/ThreadGroup.java (parent): Make package-private.
19976 * java/lang/SecurityManager.java (checkAccess(Thread)):
19977 Reference ThreadGroup.parent directly to avoid extra checks.
19978 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19981 2006-05-10 Roman Kennke <kennke@aicas.com>
19983 Reported by Ingo Proetel (proetel@aicas.com)
19984 * java/awt/EventDispatchThread.java
19985 (DEFAULT_PRIORITY): New constant field.
19986 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19987 system property for adjusting the priority of the event
19990 2006-05-10 Roman Kennke <kennke@aicas.com>
19992 Reported by Ingo Proetel (proetel@aicas.com)
19993 * java/awt/image/ColorModel.java
19994 (S_RGB_MODEL): New constant field.
19995 (getRGBDefault): Return constant SRGBColorModel.
19996 (SRGBColorModel): Specialized color model for sRGB.
19998 2006-05-10 Roman Kennke <kennke@aicas.com>
20000 * java/awt/ColorPaintContext.java
20001 (getRaster): Create Raster with (0,0) as source location.
20003 2006-05-10 Roman Kennke <kennke@aicas.com>
20005 * gnu/java/awt/java2d/AlphaCompositeContext.java
20006 (compose): Don't premultiply alpha to alpha itself.
20008 2006-05-10 Roman Kennke <kennke@aicas.com>
20010 * gnu/java/awt/java2d/AbstractGraphics2D.java
20011 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20012 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20014 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20015 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20016 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20018 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20019 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20021 (scale): Inverse transform by doing 1/scale instead of -scale.
20022 (drawImage(Image,int,int,ImageObserver)): Implemented.
20023 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20024 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20025 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20026 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20028 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20030 (fillScanline): Work on translated destination raster for
20031 correct compositin.
20032 (init): Fetch the clip after the destination raster is initialized.
20033 * gnu/java/awt/java2d/ImagePaint.java: New file.
20034 * gnu/java/awt/java2d/RasterGraphics
20035 (drawImage): Removed.
20037 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20039 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20040 Clarify option descriptions.
20041 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20042 uppercase for metasyntactic variables.
20044 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
20047 * javax/swing/text/AbstractDocument.java:
20048 (insertString): Added more documentation, added argument check.
20049 (remove): Added more documentation.
20050 (removeImpl): Added argument check.
20051 (replace): Added more documentation, added argument check.
20053 2006-05-09 Tom Tromey <tromey@redhat.com>
20055 * tools/.cvsignore: Added appletviewer.
20057 2006-05-09 Tom Tromey <tromey@redhat.com>
20059 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20062 2006-05-09 Tom Tromey <tromey@redhat.com>
20064 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
20065 Special case for '-J'. Use space instead of '='.
20066 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20069 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20071 * configure.ac: Add --disable-plugin and --with-vm options. Check
20072 for plugin support headers and libraries.
20073 * native/Makefile.am: Recurse into plugin directory.
20074 * native/plugin/.cvsignore: New file.
20075 * native/plugin/Makefile.am: New file.
20076 * native/plugin/gcjwebplugin.cc: New file.
20077 * tools/Makefile.am: Install appletviewer wrapper script.
20078 * tools/appletviewer.in: Replace VM location heuristic with
20079 VM_BINARY configure substitution.
20081 2006-05-09 Tom Tromey <tromey@redhat.com>
20083 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20084 an initial pass to look for short options. Added 'longOnly' option.
20085 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20087 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20088 options into final group. Added -J.
20089 (add): Insert new groups before final group.
20090 (printHelp): Updated.
20092 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20095 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20096 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20097 Expect -classpath option.
20098 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20099 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20101 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20102 (classLoader): New field. (loadClass, setClassPath):
20105 2006-05-09 Roman Kennke <kennke@aicas.com>
20107 * gnu/java/awt/java2d/RasterGraphics.java
20108 (RasterGraphics): Call init() and super().
20109 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20112 2006-05-09 Gary Benson <gbenson@redhat.com>
20114 * java/lang/Thread.java (Thread): Always perform threadgroup
20115 access checks on thread creation.
20117 2006-05-09 Chris Burdess <dog@gnu.org>
20119 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20120 be preserved during cloneNode.
20122 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20125 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20126 Do not demand all thrown exceptions to be an instance of RemoteException.
20128 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20130 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20131 Use hash-style comments.
20132 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20135 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20137 * javax/swing/JLabel.java
20138 (paramString): Added more attribute details,
20139 * javax/swing/SwingUtilities.java
20140 (convertHorizontalAlignmentCodeToString): New method,
20141 (convertVerticalAlignmentCodeToString): New method.
20143 2006-05-08 Tom Tromey <tromey@redhat.com>
20145 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20146 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20147 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20150 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20152 (run): Use ZipInputStream.
20153 (initSet): New method.
20154 (shouldExtract): Likewise.
20155 (run): Use new methods.
20156 * tools/gnu/classpath/tools/jar/Creator.java
20157 (writeCommandLineEntries): New overload.
20158 (writeFile): Use System.err for verbose.
20159 (writeManifest): New method.
20160 (writtenItems): New field.
20161 (writeFile): Update it.
20162 (writeCommandLineEntries): Return void. Call writeManifest.
20163 (addEntries): Don't add extra '/'.
20164 * NEWS: Mention jar.
20166 2006-05-08 Lillian Angel <langel@redhat.com>
20168 * gnu/java/net/IndexListParser.java: New class.
20169 * java/net/URLClassLoader.java
20170 (JarURLLoader): Fixed code to use new class.
20172 2006-05-08 Roman Kennke <kennke@aicas.com>
20174 * javax/swing/JComboBox.java
20175 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20176 (AccessibleJComboBox.getAccessibleChild): Implemented.
20177 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20178 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20179 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20180 (AccessibleJComboBox.getAccessibleAction): Implemented.
20181 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20182 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20183 (AccessibleJComboBox.doAccessibleAction): Implemented.
20184 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20185 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20186 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20187 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20188 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20190 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20192 * configure.ac: Add support for building appletviewer.
20193 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20195 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20197 * tools/appletviewer.c: New file.
20198 * tools/appletviewer.in: New file.
20199 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20201 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20203 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20204 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20206 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20208 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20210 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20212 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20214 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20215 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20217 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20219 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20221 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20223 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20225 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20227 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20230 2006-05-08 Tom Tromey <tromey@redhat.com>
20232 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20233 * tools/gnu/classpath/tools/jar/Action.java: New file.
20234 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20235 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20236 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20237 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20238 * tools/gnu/classpath/tools/jar/Main.java: New file.
20239 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20240 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20241 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20242 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20243 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20244 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20247 2006-05-08 Lillian Angel <langel@redhat.com>
20249 * java/net/URLClassLoader.java
20250 (JarURLLoader): Added check to make sure the INDEX.LIST file
20253 2006-05-08 Roman Kennke <kennke@aicas.com>
20255 * gnu/java/awt/java2d/AbstractGraphics2D.java
20256 (fill): Removed commented out code.
20257 (fillShape): Also determine the outline of the clip and feed
20258 it into the rendering method. Use new helper method for
20259 converting the shapes into lists of segments.
20260 (getUserBounds): Removed obsolete method.
20261 (rawFillShape): Respect the clip when rendering shapes.
20262 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20263 However, the implementation can't clip still.
20264 (getSegments): New helper method for converting a shape into
20265 a list of segments.
20266 (clipShape): Removed obsolete method.
20267 * gnu/java/awt/java2d/PolyEdge.java
20268 (isClip): New field.
20269 (PolyEdge): Added isField argument to constructor.
20271 2006-05-08 Roman Kennke <kennke@aicas.com>
20274 * javax/swing/JRootPane.java
20275 (createContentPane): Set background of the content pane to null,
20276 so that the content pane inherits its background from the
20279 2006-05-08 Roman Kennke <kennke@aicas.com>
20282 * javax/swing/ButtonGroup.java
20283 (add): Check if new button is selected and if so, deselect other
20284 buttons in the group.
20286 2006-05-08 Lillian Angel <langel@redhat.com>
20289 * java/net/URLClassLoader.java
20290 (JarURLLoader): Added code to go through
20291 META-INF/INDEX.LIST file to load all jars listed.
20293 2006-05-08 Roman Kennke <kennke@aicas.com>
20296 * javax/swing/ImageIcon.java
20297 (ImageIcon(URL)): Set description to URL.toString().
20299 2006-05-08 Roman Kennke <kennke@aicas.com>
20302 * javax/swing/JTable.java
20303 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20304 null when cell value is null.
20306 2006-05-08 Roman Kennke <kennke@aicas.com>
20309 * javax/swing/DefaultDesktopManager.java
20310 (closeFrame): Don't perform default close action on the frame
20311 to prevent endless loop.
20313 2006-05-08 Roman Kennke <kennke@aicas.com>
20316 * javax/swing/table/DefaultTableModel.java
20317 (addExtraRows): New helper method.
20318 (checkSize): New helper method.
20319 (setRowCount): Use addExtraRows helper method.
20320 (addColumn): Use addExtraRows helper method.
20321 (getColumnName): Check and adjust size if necessary using
20324 2006-05-08 Roman Kennke <kennke@aicas.com>
20327 * javax/swing/JTable.java
20328 (setValueAt): Allow setting values even when table is editable.
20330 2006-05-08 Tom Tromey <tromey@redhat.com>
20332 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20333 space to error message.
20335 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20337 * javax/swing/AbstractButton.java: Fixed comment typos.
20339 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20341 PR classpath/27435:
20342 * java/util/zip/DeflaterEngine.java:
20343 (deflateFast(boolean,boolean)): Empty buffer when full.
20345 2006-05-07 Sven de Marothy <sven@physto.se>
20348 * java/util/Calendar.java (setTimeZone): Force recalculation.
20350 2006-05-07 Sven de Marothy <sven@physto.se>
20353 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20354 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20356 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20358 PR classpath/27311:
20359 * gnu/java/text/StringFormatBuffer.java:
20360 (toString()): Implemented so we can see the contents.
20361 * java/text/DecimalFormat.java:
20362 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20363 Don't calculate the exponent when the number is 0 or less.
20364 Also, use log10 instead of log now it's available.
20366 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20368 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20369 Use instance's field creationDate not the constructor's argument.
20370 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20371 Removed unused imports.
20374 (decrypt): Added trace/debug/timing statements.
20375 (encrypt): Likewise.
20376 Use PRNG instead of instantiating every time a new SecureRandom.
20377 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20378 Removed unused imports.
20381 (verify): Added trace/debug/timing statements.
20382 (authenticate): Likewise.
20383 Use PRNG instead of instantiating every time a new SecureRandom.
20385 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20387 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20388 (THREAD_FORMAT): Likewise.
20389 (dateFormat): Added field.
20390 (threadFormat): Added field.
20391 (format): Initialize instance fields if null.
20392 Use StringBuilder instead of StringBuffer.
20394 2006-05-07 Roman Kennke <kennke@aicas.com>
20396 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20398 2006-05-07 Roman Kennke <kennke@aicas.com>
20400 * gnu/java/awt/java2d/AbstractGraphics2D.java
20401 (fillShape): Determine user space bounds of shape and feed them
20402 into the actual rendering pipeline.
20403 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20404 (rawSetForeground): Likewise.
20405 (getDestinationColorModel): Removed.
20406 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20407 (rawFillShape): Handle paint context.
20408 (fillScanline): Implement painting and compositing.
20409 (fillShapeAntialias): Handle paint context.
20410 (fillScanlineAA): Implemented preliminary antialiasing based on
20411 composite context. Not working yet.
20412 (fillScanlineAlpha): Removed.
20413 (init): Fetch destination raster.
20414 (getDestinationRaster): New abstract method.
20415 (updateRaster): New backend method.
20417 2006-05-07 Roman Kennke <kennke@aicas.com>
20419 * gnu/java/awt/java2d/AlphaCompositeContext.java
20420 (compose): Fixed loops, conditions and logic to make compositing
20423 2006-05-07 Roman Kennke <kennke@aicas.com>
20425 * java/awt/ColorPaintContext.java
20426 (ColorPaintContext): Fixed filling of the raster.
20428 2006-05-07 Sven de Marothy <sven@physto.se>
20431 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20432 * java/awt/Component.java (processMouseEvent):
20433 Do lightweight cursor handling.
20434 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20435 (endResizing,mouseMoved): Save and reset original cursor, not the
20438 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20441 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20442 getNodeDimensions): Mind the size of the node icon. (getRowX):
20443 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20444 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20445 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20446 (installDefaults): assign totalChildIndent. (installUI): Call
20447 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20448 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20451 2006-05-06 Sven de Marothy <sven@physto.se>
20454 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20455 Check for zero image sizes.
20457 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20460 * java/util/Calendar.java (clear(int)): Forced internal state
20461 completion before performing a field clearing.
20463 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20465 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20466 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20467 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20468 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20469 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20470 UnmodifiableMapEntry as part of their return value.
20472 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20474 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20475 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20476 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20477 Generate jarsigner and keytool scripts.
20478 * tools/keytool.in: New file (renamed from keytool.sh.in).
20479 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20480 * tools/.cvsignore: Replaced *.sh with *
20481 * configure.ac: Replaced tools/*.sh with tools/*.
20483 2006-05-05 Roman Kennke <kennke@aicas.com>
20485 * java/awt/image/ColorModel.java
20486 (getNormalizedComponents): Implemented.
20488 2006-05-05 Roman Kennke <kennke@aicas.com>
20490 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20491 (paint): Query the button model for it's state, not the
20494 2006-05-05 Roman Kennke <kennke@aicas.com>
20496 * javax/swing/JTable.java
20497 (tableChanged): Sync selection model with table model changes.
20499 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20501 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20502 if there are no visible nodes to paint.
20504 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20506 * javax/swing/JOptionPane.java: API doc updates.
20508 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20510 * javax/swing/JToolBar.java
20511 (paramString): Reimplemented.
20513 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20515 * javax/swing/JScrollBar.java
20516 (paramString): Reimplemented.
20518 2006-05-04 Tom Tromey <tromey@redhat.com>
20520 PR classpath/27375:
20521 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20522 (readEntries): Updated.
20523 (getEntries): Likewise.
20524 (getEntry): Likewise.
20525 (getInputStream): Likewise.
20527 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20529 * gnu/javax/imageio/jpeg/DCT.java,
20530 gnu/javax/imageio/jpeg/HuffmanTable.java,
20531 gnu/javax/imageio/jpeg/JPEGComponent.java,
20532 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20533 gnu/javax/imageio/jpeg/JPEGException.java,
20534 gnu/javax/imageio/jpeg/JPEGFrame.java,
20535 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20536 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20537 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20538 gnu/javax/imageio/jpeg/JPEGMarker.java,
20539 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20540 gnu/javax/imageio/jpeg/JPEGScan.java,
20541 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20542 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20544 2006-05-04 Lillian Angel <langel@redhat.com>
20546 * javax/swing/JLabel.java
20547 (JLabel): Pass in an empty string for the text parameter.
20548 (JLabel): Likewise.
20549 (JLabel): Likewise.
20551 2006-05-04 Roman Kennke <kennke@aicas.com>
20553 * javax/swing/plaf/basic/BasicButtonListener.java
20554 (mouseEntered): Fixed conditions for changing states.
20556 2006-05-04 Roman Kennke <kennke@aicas.com>
20558 * javax/swing/JOptionPane.java
20559 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20561 2006-05-04 Roman Kennke <kennke@aicas.com>
20563 * javax/swing/JLabel.java
20564 (AccessibleJLabel.getSelectedText): Return null instead of "".
20565 (AccessibleJLabel.getSelectionStart): Added comment why
20566 return -1 is correct here.
20567 (AccessibleJLabel.getSelectionEnd): Added comment why
20568 return -1 is correct here.
20569 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20571 (AccessibleJLabel.getCharCount): Added comment about what
20573 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20574 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20575 (paramString): Return super.paramString() here, this provides
20576 a more meaningful output.
20578 2006-05-04 Roman Kennke <kennke@aicas.com>
20580 * javax/swing/JComponent.java
20581 (paint): Added null check to avoid NPE when clip == null.
20583 2006-05-04 Roman Kennke <kennke@aicas.com>
20585 * javax/swing/AbstractButton.java
20586 (addImpl): New method. Installs an OverlayLayout if no
20587 other layout has been installed before.
20588 (setLayout): New method. Detect if a client app installs a custom
20591 2006-05-04 Roman Kennke <kennke@aicas.com>
20593 * javax/swing/table/DefaultTableCellRenderer.java
20594 (noFocusBorder): Fixed width of empty border to 1.
20595 (getTableCellRendererComponent): Don't change the colors for
20596 focuses cells. Fixed border for focused cells.
20598 2006-05-04 Roman Kennke <kennke@aicas.com>
20600 * javax/swing/JTable.java
20601 (moveToCellBeingEdited): Adjust bounding box of editing component
20602 to exactly cover the grid.
20603 * javax/swing/plaf/basic/BasicTableUI.java
20604 (paint): Paint grid to the bottom and right of the cells instead
20605 of left and top. Adjust bounding box of cells accordingly.
20606 * javax/swing/plaf/metal/MetalLookAndFeel.java
20607 (initComponentDefaults): Fixed color of JTable selection border.
20608 * javax/swing/plaf/metal/OceanTheme.java
20609 (addCustomEntriesToTable): Fixed color of JTable selection border.
20611 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20613 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20614 Use _alias instead of alias.
20616 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20619 Set version to 0.92-pre.
20621 Add space for 0.92 entries.
20623 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20625 * include/Makefile.am:
20626 Added rules for gnu.java.net.local.LocalSocketImpl.h
20627 * include/java_lang_VMSystem.h:
20628 Regenerated correctly.
20630 2006-05-03 Sven de Marothy <sven@physto.se>
20633 * java/awt/Image.java:
20634 (getScaledInstance): Default to AreaAveraging for "smooth",
20635 don't thrown an error on illegal flag values.
20636 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20638 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20640 * javax/swing/text/FieldView.java:
20641 (adjustAllocation): Added if-block to return null when shape argument
20643 * javax/swing/text/PlainView.java:
20644 (updateDamage): Added if-block to return early if a is null.
20646 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20648 * javax/swing/plaf/basic/BasicTextUI.java:
20649 (changeUpdate): Added note.
20650 (removeUpdate): Dito.
20651 (insertUpdate): Dito.
20652 (damageRange): Added if-block to return early.
20653 (modelToView): Added check of getVisibleEditorRect's return value.
20654 (getVisibleEditorRect): Return null instead of empty rectangle.
20655 * javax/swing/text/DefaultCaret.java:
20656 (clearHighlight): Removed if-clause to create a highlight entry if it
20657 did not exist before.
20658 * javax/swing/text/WrappedPlainView.java:
20659 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20660 removed 2nd part of if-expression.
20661 (WrappedLine.updateDamage): Added more documentation, added check
20662 whether allocation area rectangle is null.
20664 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20666 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20667 Reset to preferred sizes if the argument is negative.
20669 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20671 * javax/swing/JList.java: Added/updated API docs.
20673 2006-05-03 Lillian Angel <langel@redhat.com>
20675 * javax/swing/JComponent.java
20676 (getRoot): New private function. Gets the root appropriate
20677 for painting. If an applet exists as a parent, then it is returned.
20678 (paintDoubleBuffered): Changed to use new function.
20679 * javax/swing/RepaintManager.java
20680 (getRoot): New private function. Gets the root appropriate
20681 for painting. If an applet exists as a parent, then it is returned.
20682 (getOffscreenBuffer): Changed to use new function.
20683 * javax/swing/SwingUtilties.java
20684 (getRoot): Reverted last patch to return Window, even if
20687 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20689 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20690 a pair of one public keyring and one private keyring.
20691 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20692 (containsCertificate): Added logging.
20693 (getCertificate): Likewise.
20694 (putCertificate): Likewsie.
20697 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20698 (containsPrivateKey): Added logging.
20699 (getPrivateKey): Likewise.
20700 (putPrivateKey): Likewise.
20701 (containsPublicKey): Likewise.
20702 (getPublicKey): Likewise.
20703 (putPublicKey): Likewise.
20704 (containsCertPath): Likewise.
20705 (getCertPath): Likewise.
20706 (putCertPath): Likewise.
20710 2006-05-03 Roman Kennke <kennke@aicas.com>
20712 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20713 * java/awt/AlphaComposite.java
20714 (createContext): Implemented.
20716 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20718 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20719 Set the current color again after drawing the raster.
20721 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20723 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20724 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20726 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20728 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20729 Assign returned value to field handler.
20730 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20733 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20735 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20736 Return without action if there is no view in the viewport.
20737 * javax/swing/text/WrappedPlainView.java
20738 (WrappedLine.getPreferredSpan): If metrics == null, update
20740 * javax/swing/tree/DefaultTreeModel.java (constructors):
20741 Do not call setRoot, assign the root node directly.
20743 2006-05-02 Lillian Angel <langel@redhat.com>
20745 * javax/swing/SwingUtilities.java
20746 (getRoot): Should return the Applet if it exists.
20747 Only return the Window if an Applet has not been
20750 2006-05-02 Lillian Angel <langel@redhat.com>
20752 * gnu/javax/swing/text/html/parser/support/Parser.java
20753 (readAttributes): Reverted Audrius' last patch. There is
20754 a slight difference in code between the NUMTOKEN and SLASH case.
20756 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20758 * javax/swing/text/JTextComponent.java:
20759 (setText): Throw InternalError from catch-block.
20760 * javax/swing/text/GapContent.java:
20761 (removed): Removed if-expression, changed '>' to '>='.
20763 2006-05-02 Roman Kennke <kennke@aicas.com>
20765 * gnu/java/awt/java2d/AbstractGraphics2D.java
20766 (AA_SAMPLING): New constant.
20767 (alpha): New field. Used in the antialiasing renderer.
20768 (edgeTable): New field. Used in the antialiasing renderer.
20769 (AbstractGraphics2D): Initialize rendering hints wrt
20771 (draw): Clip after stroking. Commented out clipping for now,
20772 it seems to be buggy.
20773 (fill): Commented out clipping for now, it seems to be buggy.
20774 (setComposite): Don't create composite context.
20775 (setPaint): Only change paint when parameter is not null.
20776 (translate): Call setClip() so subclasses can update their clip
20778 (clip): Call setClip() so subclasses can update their clip
20780 (drawGlyphVector): Added clipping, but left it commented out
20781 because it's buggy.
20782 (getClipBounds): Returns null when clip is null.
20783 (drawLine): Call rawDrawLine with translation applied.
20784 (filLRect): Call rawFillRect with translation applied.
20785 (fillShape): Added support for anti-aliasing.
20786 (rawSetForeground(int,int,int)): New method.
20787 (rawFillShape): A couple of painting fixes.
20788 (fillScanline): Implemented to call rawDrawLine.
20789 (fillShapeAntialias): New method. Implements an anti-aliasing
20791 (fillScanlineAA): New method. Used for the anti-aliasing
20793 (fillScanlineAlpha): New method. Used for the anti-aliasing
20795 (init): Initialize clip with the device bounds.
20796 (updateOptimization): Fixed the optimization condition.
20798 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20800 * javax/swing/text/GapContent.java:
20801 (GapContent): Restrict size argument by 2.
20802 (insertString): Changed expression from >= to >.
20803 (remove): Changed right side of expression to 'length - 1', changed
20805 (getChars): Throw exception if where below 0.
20806 (replace): Replaced call to setPositionsInRange() with
20807 resetMarksAtZero(), removed note.
20809 2006-05-02 Roman Kennke <kennke@aicas.com>
20812 * javax/swing/MenuSelectionManager.java
20813 (setSelectedPath): Rewritten.
20815 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20817 * gnu/javax/swing/text/html/parser/support/Parser.java
20818 (readAttributes): Merge case NUMTOKEN: and case SLASH:
20821 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20823 * tools/.cvsignore: Added keytool.sh.
20824 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20826 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20828 * doc/tools.texinfo: New file.
20829 * doc/Makefile.am: Generate tools documentation.
20831 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20833 * tools/keytool.sh.in: New file.
20834 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20835 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20836 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20837 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20838 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20839 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20840 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20841 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20842 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20843 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20844 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20845 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20846 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20847 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20848 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20849 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20850 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20851 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20853 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20855 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20856 resemble more closely man-page style text.
20857 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20858 Mark (Eclipse) strings that need not be externalised.
20859 (writeSF): Likewise.
20860 (writeDSA): Likewise.
20861 Use package-private Messages class to provide i18n-ready strings.
20863 Use package-private Messages class to provide i18n-ready strings.
20864 (updateEntry): Likewise.
20865 Mark (Eclipse) strings that need not be externalised.
20866 (finishSigning): Likewise.
20867 * tools/gnu/classpath/tools/jarsigner/Main.java:
20868 Mark (Eclipse) strings that need not be externalised.
20869 (main): Do not use constant strings as class name.
20870 Use package-private Messages class to provide i18n-ready strings.
20871 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20872 (processArgs): Do not use constant strings as class name.
20873 Mark (Eclipse) strings that need not be externalised.
20874 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20875 (start): Do not use constant strings as class name.
20876 (teardown): Likewise.
20878 (setupCommonParams): Do not use constant strings as class name.
20879 Use package-private Messages class to provide i18n-ready strings.
20880 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20881 (installNewProvider): Do not use constant strings as class name.
20883 (setupSigningParams): Do not use constant strings as class name.
20884 Use package-private Messages class to provide i18n-ready strings.
20885 Mark (Eclipse) strings that need not be externalised.
20886 (getCallbackHandler): Use CallbackUtil.
20887 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20888 Use package-private Messages class to provide i18n-ready strings.
20889 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20890 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20891 (verifySF): Likewise.
20892 (verifySFEntries): Do not use constant strings as class name.
20893 Use Boolean.valueOf instead of new Boolean().
20894 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20895 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20897 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20898 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20900 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20902 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20903 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20904 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20906 2006-05-01 Tom Tromey <tromey@redhat.com>
20908 * java/nio/ByteBufferImpl.java (compact): Don't reset position
20910 * gnu/java/nio/ChannelReader.java (read): Synchronize.
20911 (close): Synchronize.
20912 * java/nio/ShortBufferImpl.java (compact): Rewrote.
20913 * java/nio/LongBufferImpl.java (compact): Rewrote.
20914 * java/nio/IntBufferImpl.java (compact): Rewrote.
20915 * java/nio/FloatBufferImpl.java (compact): Rewrote.
20916 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20917 * java/nio/CharBufferImpl.java (compact): Rewrote.
20918 * gnu/java/nio/ChannelWriter.java: New file.
20919 * java/nio/channels/Channels.java (newWriter): Implemented.
20921 2006-05-01 Lillian Angel <langel@redhat.com>
20923 * java/util/SimpleTimeZone.java
20924 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20925 (SimpleTimeZone): Likewise.
20926 (checkRule): Rewritten to properly check all values (more efficently).
20927 This code is now more stable, at least less buggy than before. Fixed
20929 (setStartRule): Moved checkRule call to end.
20930 (setStartRule): Likewise.
20931 (setEndRule): Likewise.
20932 (setEndRule): Likewise.
20934 2006-05-01 Tom Tromey <tromey@redhat.com>
20936 * lib/.cvsignore: Added classes.2.
20938 2006-05-01 Tom Tromey <tromey@redhat.com>
20940 * java/util/jar/JarFile.java (provider): Now package-private.
20941 * java/lang/Enum.java (compareTo): Javadoc fix.
20942 * java/lang/Boolean.java (compareTo): Javadoc fix.
20944 2006-05-01 Lillian Angel <langel@redhat.com>
20946 * gnu/javax/swing/text/html/parser/support/Parser.java
20947 (readAttributes): Formatted function. Added handling for
20948 SLASH token. The value of an attribute may start with a slash
20949 (i.e. a path). I added handling similar to to the NUMTOKEN code.
20950 We should not be skipping over these type of attributes.
20952 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
20954 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20955 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20956 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20957 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20958 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20959 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20960 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20961 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20962 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20963 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20964 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20965 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20966 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20967 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20968 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20969 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20970 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20971 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20972 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20973 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20974 * include/gnu_java_awt_peer_gtk_GtkImage.h,
20975 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20976 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20977 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20978 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20979 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20980 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20981 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20982 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20983 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20984 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20985 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20986 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20987 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20988 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20989 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20990 * include/gnu_java_awt_peer_qt_MainQtThread.h,
20991 * include/gnu_java_awt_peer_qt_QMatrix.h,
20992 * include/gnu_java_awt_peer_qt_QPainterPath.h,
20993 * include/gnu_java_awt_peer_qt_QPen.h,
20994 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20995 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20996 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20997 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20998 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20999 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21000 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21001 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21002 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21003 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21004 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21005 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21006 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21007 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21008 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21009 * include/gnu_java_awt_peer_qt_QtImage.h,
21010 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21011 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21012 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21013 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21014 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21015 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21016 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21017 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21018 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21019 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21020 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21021 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21022 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21023 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21024 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21025 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21026 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21027 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21028 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21029 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21030 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21031 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21032 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21033 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21034 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21035 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21036 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21037 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21038 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21039 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21040 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21041 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21042 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21043 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21044 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21045 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21046 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21047 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21048 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21049 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21050 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21051 * include/java_lang_VMProcess.h:
21053 * native/jni/java-lang/java_lang_VMProcess.c:
21054 Redirect when pipe_count is 2 not 3.
21056 2006-04-30 Sascha Brawer <sascha@brawer.ch>
21058 * gnu/java/awt/font/FontDelegate.java,
21059 * gnu/java/awt/font/FontFactory.java,
21060 * gnu/java/awt/font/GNUGlyphVector.java,
21061 * gnu/java/awt/font/opentype/CharGlyphMap.java,
21062 * gnu/java/awt/font/opentype/GlyphNamer.java,
21063 * gnu/java/awt/font/opentype/MacResourceFork.java,
21064 * gnu/java/awt/font/opentype/NameDecoder.java,
21065 * gnu/java/awt/font/opentype/OpenTypeFont.java,
21066 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21067 * gnu/java/awt/font/opentype/Scaler.java,
21068 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21069 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21070 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21071 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21072 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21073 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21074 * gnu/java/awt/font/opentype/truetype/Zone.java,
21075 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21076 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21077 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21078 New files. Imported font framework from:
21079 http://www.brawer.ch/software/fonts/
21081 2006-04-30 Roman Kennke <kennke@aicas.com>
21083 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21084 (lastTabInRun): Fix calculation of the last tab in a run. This
21085 has caused painting problems sometimes, making the
21086 last tab painted incorrectly.
21088 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21091 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21092 Use for and not while to prevent the endless loop.
21094 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21096 * javax/swing/JList.java
21097 (paramString): Changed from public to protected.
21099 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21101 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21102 (printHelpAndExit): Re-factored to use the above method.
21104 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21106 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21107 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21108 * tools/gnu/classpath/tools/jarsigner/Main.java:
21109 Changed license to GPL + Exception.
21110 (handler): New field.
21111 (getCallbackHandler): New method.
21112 (setupSigningParams): Use above method.
21113 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21114 Changed license to GPL + Exception.
21115 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21116 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21117 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21118 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21120 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21122 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21123 (handleConfirmation): Use print instead of println.
21124 (handleConfirmation): When case is YES_NO_OPTION, print default option
21126 (handleLanguage): Use print instead of println.
21128 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21130 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21131 (putComponent): Handle O and OU components.
21132 (getDer): Use correct (it2) iterator.
21133 (readAttributeValue): Read next character and break if end-of-stream.
21135 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21137 * gnu/java/security/provider/Gnu.java (run):
21138 Add "RSA" as an alias to MD5withRSA.
21139 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21140 Always encode a NULL as the value of an algorithm parameters field.
21141 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21142 (encodePrivateKey): Added trace/log statements.
21143 (decodePrivateKey): Likewise.
21144 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21145 (setup): Added trace/log statements.
21146 (generate): Likewise.
21147 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21148 (toString): New method.
21149 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21151 (toString): New method.
21152 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21153 (getEncoded): Use defaultFormat.
21154 (toString): New method.
21155 * gnu/java/security/key/dss/DSSKey.java (toString):
21156 Include defaultFormat in string.
21157 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21158 Break if successfully decoded public key.
21159 (engineGeneratePrivate): Break if successfully decoded private key.
21161 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21163 * java/security/Security.java <clinit>: Add our Callback provider.
21164 * resource/java/security/classpath.security: Likewise
21166 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21169 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21170 Decide about scroll bars from the preferred view size, not
21172 * javax/swing/ViewportLayout.java (layoutContainer):
21173 Do not change returned preferred size. Do not treat JScrollPane
21176 2006-04-28 Sven de Marothy <sven@physto.se>
21178 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21179 * javax/swing/ProgressMonitor.java (actionPerformed):
21180 Avoid divide-by-zero.
21182 2006-04-28 Sven de Marothy <sven@physto.se>
21184 * javax/swing/JSpinner.java: Fix default text justification.
21185 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21187 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21189 * javax/swing/JList.java
21190 (getMinSelectionIndex): Return correct value, added API docs,
21191 (getMaxSelectionIndex): Added API docs.
21193 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21195 * javax/swing/JList.java
21196 (JList(Object[])): Pass new model directly to init(),
21197 (JList(Vector)): Likewise,
21198 (JList(ListModel)): Renamed argument and updated API docs,
21199 (init): Throw IllegalArgumentException for null argument,
21200 (setListData(Object[])): Delegate model creation,
21201 (setListData(Vector)): Likewise,
21202 (createListModel(Object[])): New private method,
21203 (createListModel(Vector)): New private method,
21204 (paramString): Implemented.
21206 2006-04-28 Tom Tromey <tromey@redhat.com>
21208 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21210 (isSynthetic): Likewise.
21211 (isAnnotation): Likewise.
21212 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21213 (isAnnotation): Likewise.
21214 (isEnum): Likewise.
21216 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21218 * javax/swing/text/View.java:
21219 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21222 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21224 * javax/swing/text/View.java:
21225 (getNextVisualPositionFrom): Rewritten.
21226 * javax/swing/text/CompositeView.java:
21227 (getNextEastWestVisualPositionFrom): Partly implemented.
21228 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21230 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21232 * javax/swing/JList.java
21233 (setFixedCellHeight): Use correct property name for event.
21235 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21237 * javax/swing/text/Utilities.java:
21238 (getNextWord): Use codePointAt instead of charAt, added note, changed
21239 if-expression, added throwing of exception.
21240 (getPreviousWord): Use codePointAt instead of charAt.
21242 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21244 * java/lang/StringBuilder.java
21245 (ensureCapacity, getChars, append(StringBuffer),
21246 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21247 insert(int,String), insert(int,char), trimToSize): Replaced
21248 System.arraycopy calls with VMSystem.arraycopy.
21250 2006-04-27 Tom Tromey <tromey@redhat.com>
21252 * java/awt/image/renderable/RenderableImageProducer.java
21253 (requestTopDownLeftRightResend): Implemented.
21255 (startProduction): Add new consumer.
21257 2006-04-27 Sven de Marothy <sven@physto.se>
21259 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21261 2006-04-27 Roman Kennke <kennke@aicas.com>
21263 * java/awt/LightweightDispatcher.java
21264 Dispatch events only to targets that have a mouselistener
21265 attached. Changed to also handle null targets.
21267 2006-04-27 Roman Kennke <kennke@aicas.com>
21269 * NEWS: Added entries about accessibility support and L&F
21270 window decorations.
21272 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21274 * javax/swing/text/Utilities.java:
21275 (getTabbedTextOffset): Introduced width variable, rewritten the check
21276 which ends the loop.
21277 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21280 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21282 * examples/gnu/classpath/examples/swing/TreeDemo.java
21283 (createContent): Added root visibility and selection listener demos.
21284 * javax/swing/JTree.java (setRootVisible): If false, unselect
21285 the root node, if it is selected.
21286 * javax/swing/plaf/basic/BasicTreeUI.java
21287 (TreeTraverseAction.actionPerformed): Do not select the root if it
21289 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21290 removeSelectionPaths): Reset lead to null if the current lead path is
21291 removed from selection.
21292 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21293 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21294 Return the same path regardless is root visible or not. (update):
21295 Reduce the identation if the root is not visible.
21296 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21297 Return the same path regardless is root visible or not. (update):
21298 Reduce the identation if the root is not visible.
21300 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21302 * javax/swing/plaf/basic/BasicTreeUI.java
21303 (TreeAction.actionPerformed):Newly obtain the current lead
21304 path that must stay visible.
21305 (TreeTraverseAction.actionPerformed):Rewritten.
21306 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21307 Do not treat root specially. (setModel): Assume the root node
21308 initially expanded.
21309 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21310 Do not treat root specially. (setModel): Assume the root node
21311 initially expanded.
21313 2006-04-26 Chris Burdess <dog@gnu.org>
21316 * javax/xml/datatype/DatatypeFactory.java: Use complete
21317 implementation resolution mechanism.
21319 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21321 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21323 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21324 Removed NoImplementException form the implemented method.
21326 2006-04-26 Tom Tromey <tromey@redhat.com>
21328 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21331 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21333 * javax/swing/DefaultListSelectionModel.java
21334 (clone): Initialise empty listener list,
21335 (setSelectionMode): Throw IllegalArgumentException for bad input.
21337 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21339 * javax/swing/DefaultListSelectionModel.java
21340 (clearSelection): Clear the Bitset.
21342 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21344 * javax/swing/JTree.java (setLeadSelectionPath):
21345 Repaint the new and old lead pathes.
21346 * javax/swing/plaf/basic/BasicTreeUI.java
21347 (FocusHandler): Repaint the lead row when focus changes.
21348 (PropertyChangeHandler): Use existing constants, not the
21349 string literals for the property names.
21350 (TreeIncrementAction): Shrink the selection when moving
21351 from the selection edge to the selection anchor.
21352 (TreeSelectionHandler.valueChanged): Repaint the
21353 new and old lead pathes.
21354 (paintRow): Treat row as focused only if it is the lead row.
21355 * javax/swing/tree/DefaultTreeCellRenderer.java
21356 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21357 (paint): Rewritten.
21358 * javax/swing/tree/DefaultTreeSelectionModel.java
21359 (addSelectionPath): Event construction fix (old and new lead were
21361 (addSelectionPaths): Likewise.
21362 * javax/swing/JComponent.java (setOpaque): Explained.
21363 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21365 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21368 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21370 * examples/gnu/classpath/examples/swing/TreeDemo.java
21371 (createContent): Call DefaultTreeModel.reload(), not the
21372 tree.repaint(). Expand the parent of the added node.
21373 * javax/swing/JTree.java (constructor): Do not call
21374 UpdateUI (and documented why). (treeDidChange):
21375 Added comment, excluding the misinterpretation of this method.
21376 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21377 focusListener, keyListener, mouseListener, propertyListener,
21378 selectionModelPropertyChangeListener, treeModelListener,
21379 treeSelectionListener): Made package private.
21380 (PropertyChangeHandler): If the model changes, install the
21381 listener on it. (installUI): Assign treeModel.
21382 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21383 comment, excluding misinterpretation.
21384 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21385 (reload(TreeNode)): Implemented.
21387 2006-04-25 Tom Tromey <tromey@redhat.com>
21389 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21390 * javax/swing/tree/VariableHeightLayoutCache.java
21391 (getVisiblePathsFrom): Genericized.
21392 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21395 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21397 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21398 If clicked on the other row, cancel the current editing session.
21400 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21402 * javax/swing/plaf/basic/BasicTreeUI.java
21403 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21404 (paintExpandControl): Always paint in one gap distance from the left
21405 border of the path bounds.
21406 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21407 into consideration.
21408 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21411 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21413 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21415 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21417 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21418 Allow slashes (/) in the unquoted parameter value.
21420 2006-04-25 Roman Kennke <kennke@aicas.com>
21422 * gnu/java/awt/java2d/AbstractGraphics2D.java
21423 (drawString(String,int,int)): Implemented.
21424 (drawString(String,float,float)): Implemented.
21425 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21426 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21427 (getFontRenderContext): Implemented.
21428 (drawGlyphVector): Implemented.
21429 (getFont): Implemented.
21430 (setFont): Don't change font setting when null.
21431 (getFontMetrics): Implemented.
21432 (fillShape): Re-written to fill call rawFillShape() with a list
21433 of the edges instead of double arrays.
21434 (rawFillShape): Implemented using a polygon scanline conversion.
21435 (fillScanline): New helper method.
21436 (init): Initialize foreground black. Set font.
21437 * gnu/java/awt/java2d/PolyEdge.java: New file.
21438 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21440 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21442 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21444 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21446 * javax/swing/JTable.java: Fixed API doc tags,
21447 * javax/swing/text/AsyncBoxView.java: Likewise,
21448 * javax/swing/text/FlowView.java: Likewise.
21450 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21452 * javax/swing/table/DefaultTableColumnModel.java
21453 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21455 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21457 * javax/swing/table/DefaultTableColumnModel.java
21458 (DefaultTableColumnModel): Set selection model field and add 'this' as
21460 (addColumn): Add 'this' as a PropertyChangeListener,
21461 (removeColumn): Remove column before firing event, and remove 'this' as
21462 a PropertyChangeListener,
21463 (setSelectionModel): Remove 'this' as a listener from old model,
21464 (propertyChange): Check for 'width' property rather than
21465 TableColumn.COLUMN_WIDTH_PROPERTY.
21467 2006-04-24 Chris Burdess <dog@gnu.org>
21470 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21471 attributes when no doctype exists.
21473 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21475 * javax/swing/event/ChangeEvent.java: Updated API docs,
21476 * javax/swing/event/ChangeListener.java: Likewise,
21477 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21478 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21479 * javax/swing/table/TableColumnModel.java: Likewise.
21481 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21483 * javax/swing/text/Utilities.java:
21484 (getBreakLocation): Introduced shift variable, added notes.
21485 * javax/swing/text/WrappedPlainView.java:
21486 (calculateBreakPosition): Decrease allocation area bounds by insets,
21487 added early return when allocation area is empty, provide start offset
21489 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21490 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21491 numLines after loop.
21492 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21493 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21494 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21495 decreasing variable end by one, changed break condition in while-loop,
21496 added check for return value.
21497 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21498 allocation area is empty.
21500 2006-04-24 Sven de Marothy <sven@physto.se>
21502 * gnu/java/awt/java2d/Segment.java: New file.
21503 * gnu/java/awt/java2d/CubicSegment.java: New file.
21504 * gnu/java/awt/java2d/QuadSegment.java: New file.
21505 * gnu/java/awt/java2d/LineSegment.java: New file.
21506 * java/awt/BasicStroke.java
21507 (start): New field.
21509 (createStrokedShape): Implemented.
21510 (solidStroke): New method.
21511 (dashedStroke): New method.
21512 (capEnds): New method.
21513 (convertPath): New method.
21514 (addSegments): New method.
21515 (capEnd): New method.
21516 (lineIntersection): New method.
21517 (joinSegments): New method.
21519 2006-04-24 Roman Kennke <kennke@aicas.com>
21521 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21524 (clip): Changed clip to be in user space not in target space.
21525 (isOptimized): Added flag to allow optimized drawing for
21526 primitive operations (e.g. for Swing).
21527 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21528 with the paint context etc.
21529 (draw): Clip the shape before drawing it.
21530 (fill): Clip the shape before drawing it.
21531 (setComposite): Update isOptimized flag.
21532 (setPaint): Likewise.
21533 (setStroke): Likewise.
21534 (translate): Update the clip.
21535 (rotate): Likewise.
21538 (transform): Likewise.
21539 (setTransform): Likewise.
21540 (clip): Added optimization for rectangle clips.
21541 (create): Implemented.
21542 (clone): New method.
21543 (setFont): Basic implementation.
21544 (setClip): Update opimization flag.
21545 (drawLine): Added possible optimization.
21546 (fillRect): Added possible optimization.
21547 (fillShape): Implemented shape-filling by filling the flattended
21548 shape using polygon fill.
21549 (drawPixel): Added basic painting.
21550 (rawSetPixel): Changed signature to only take coordinates.
21551 (rawSetForeground): New abstract method.
21552 (getUserBounds): Implemented default for this method.
21553 (rawDrawLine): New method.
21554 (rawFillRect): New method.
21555 (rawFillPolygon): New method.
21556 (init): New method.
21557 (updateOptimization): New method.
21558 (computeIntersection): New method.
21559 (updateClip): New method.
21560 (clipShape): New method.
21562 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21564 * java/lang/Package.java: Added compatibility constructor to ease
21565 VM interface migration.
21567 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21569 * java/lang/Class.java (getEnumConstants): Implemented without
21570 delegating to VMClass.
21571 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21573 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21575 * java/lang/ClassLoader.java (definePackage): Added argument to
21576 Package constructor.
21577 * java/lang/Package.java (Package): Added ClassLoader argument.
21578 (loader): New field.
21579 (getDeclaredAnnotations): Implemented without help from VMPackage.
21580 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21581 to Package constructor.
21582 * vm/reference/java/lang/VMPackage.java: Removed.
21584 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21586 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21587 (createContent): Added check box to swith between single and
21588 multiple selection.
21589 * javax/swing/JTree.java (leadSelectionPath): Removed.
21590 (addSelectionInterval): Explained. (getLeadSelectionPath):
21591 Request the path from model. (getPathsBetweenRows): Explained.
21592 (setLeadSelectionPath): Set the path in model.
21593 * javax/swing/plaf/basic/BasicTreeUI.java
21594 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21595 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21596 (MouseHandler.mousePressed): Call selectPathForEvent.
21598 2006-04-23 Roman Kennke <kennke@aicas.com>
21600 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21602 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21605 Mention changes to VMProcess and VMSystem.
21606 * doc/vmintegration.texinfo:
21607 Change documentation on VMProcess and VMSystem.
21608 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21609 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21610 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21611 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21612 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21613 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21614 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21615 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21616 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21617 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21618 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21619 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21620 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21621 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21622 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21623 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21624 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21625 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21626 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21627 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21628 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21629 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21630 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21631 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21632 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21633 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21634 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21635 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21636 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21637 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21638 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21639 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21640 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21641 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21642 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21643 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21644 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21645 * include/gnu_java_awt_peer_qt_QMatrix.h,
21646 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21647 * include/gnu_java_awt_peer_qt_QPen.h,
21648 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21649 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21650 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21651 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21652 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21653 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21654 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21655 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21656 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21657 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21658 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21659 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21660 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21661 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21662 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21663 * include/gnu_java_awt_peer_qt_QtImage.h,
21664 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21665 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21666 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21667 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21668 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21669 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21670 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21671 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21672 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21673 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21674 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21675 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21676 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21677 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21678 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21679 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21680 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21681 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21682 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21683 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21684 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21685 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21686 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21687 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21688 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21689 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21690 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21691 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21692 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21693 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21694 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21695 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21696 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21697 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21698 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21699 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21700 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21701 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21702 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21703 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21704 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21705 * include/java_lang_VMProcess.h,
21706 * include/java_lang_VMSystem.h:
21707 Regenerated with GCJ 4.1.
21709 2006-04-22 Casey Marshall <csm@gnu.org>
21711 Fixes PR classpath/27228.
21712 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21713 (initialize): also accept `DHParameterSpec.'
21714 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21715 handle a passed-in `DHParameterSpec' properly.
21716 (generate): don't check if the random exponent is less than `q -
21717 1' if no `q' was specified.
21719 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21721 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21722 Only repaint the patches, speficied in the passed event.
21723 (expandPath): Do nothing if the path is already expanded.
21724 (scrollPathToVisible): Only scroll to visible, do nothing else.
21725 * javax/swing/plaf/basic/BasicTreeUI.java
21726 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21727 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21728 (TreeTraverseAction.actionPerformed): Collapse the node on the
21729 action "selectParent". (selectPath): Rewritten.
21730 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21731 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21732 Do not reuse selection array.
21733 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21735 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21738 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21740 * javax/swing/tree/DefaultTreeSelectionModel.java
21741 (addSelectionPath): If the path cannot be added, set it.
21742 (addSelectionPaths): Call insureRowContinuity.
21743 (arePathsContiguous): Implemented.
21744 (canPathBeAdded): New private method.
21745 (canPathsBeAdded): Implemented.
21746 (canPathsBeRemoved): Implemented.
21747 (getPath): New private method.
21748 (insureRowContinuity): Implemented.
21749 (removeSelectionPath): Call insureRowContinuity.
21750 (removeSelectionPaths): Call insureRowContinuity.
21751 (resetRowSelection): Removed stub marking, not used in implementation
21752 (nothing to do there).
21753 (selectOne): New private method.
21754 (setSelectionMode) Call insureRowContinuity.
21755 (setSelectionPaths) Remove the current selection by clearing it.
21757 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21759 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21760 parameters consistendly, documented some methods.
21761 * java/sql/Blob.java: Likewise.
21762 * java/sql/CallableStatement.java: Likewise.
21763 * java/sql/Clob.java: Likewise.
21764 * java/sql/Connection.java: Likewise.
21765 * java/sql/DatabaseMetaData.java: Likewise.
21766 * java/sql/Date.java: Likewise.
21767 * java/sql/Driver.java: Likewise.
21768 * java/sql/PreparedStatement.java: Likewise.
21769 * java/sql/ResultSet.java: Likewise.
21770 * java/sql/ResultSetMetaData.java: Likewise.
21771 * java/sql/SQLData.java: Likewise.
21772 * java/sql/SQLOutput.java: Likewise.
21773 * java/sql/SQLWarning.java: Likewise.
21774 * java/sql/Statement.java: Likewise.
21775 * java/sql/Time.java: Likewise.
21776 * java/sql/Timestamp.java: Likewise.
21778 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21780 * java/lang/reflect/AccessibleObject.java:
21781 Implemented AnnotatedElement.
21782 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21783 isAnnotationPresent): New methods.
21785 2006-04-21 Tom Tromey <tromey@redhat.com>
21787 PR classpath/27163:
21788 * gnu/java/net/protocol/ftp/FTPConnection.java
21789 (changeWorkingDirectory): Do nothing if path is empty.
21791 2006-04-21 Tom Tromey <tromey@redhat.com>
21794 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21795 case where no '/' appears in 'location'.
21797 2006-04-21 Tom Tromey <tromey@redhat.com>
21799 * java/security/Security.java (<clinit>): Add all default providers.
21800 * resource/java/security/classpath.security: Added comment.
21802 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21804 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21805 * javax/swing/SpinnerNumberModel.java: Likewise.
21807 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21809 * javax/swing/SpinnerDateModel.java
21810 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21811 checking to call compareTo() on start and end.
21813 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21815 * javax/swing/border/AbstractBorder.java: API doc updates,
21816 * javax/swing/border/BevelBorder.java: Likewise,
21817 * javax/swing/border/CompoundBorder.java: Likewise,
21818 * javax/swing/border/EtchedBorder.java: Likewise,
21819 * javax/swing/border/LineBorder.java: Likewise,
21820 * javax/swing/border/MatteBorder.java: Likewise,
21821 * javax/swing/border/TitledBorder.java: Likewise.
21823 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21825 * gnu/javax/crypto/cipher/Anubis.java:
21826 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21828 * gnu/javax/crypto/cipher/Blowfish.java:
21829 (selfTest): Likewise,
21830 * gnu/javax/crypto/cipher/Cast5.java:
21831 (selfTest): Likewise,
21832 * gnu/javax/crypto/cipher/Khazad.java:
21833 (selfTest): Likewise,
21834 * gnu/javax/crypto/cipher/Rijndael.java:
21835 (selfTest): Likewise,
21836 * gnu/javax/crypto/cipher/Serpent.java:
21837 (selfTest): Likewise,
21838 * gnu/javax/crypto/cipher/Square.java:
21839 (selfTest): Likewise,
21840 * gnu/javax/crypto/cipher/Twofish.java:
21841 (selfTest): Likewise,
21842 * gnu/javax/crypto/mac/UMac32.java:
21843 (selfTest): Likewise,
21844 * gnu/javax/crypto/prng/CSPRNG.java:
21845 (getSystemInstance): Likewise.
21847 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21849 * gnu/java/security/hash/Haval.java:
21850 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
21852 * gnu/java/security/hash/MD2.java:
21853 (selfTest): Likewise,
21854 * gnu/java/security/hash/MD4.java:
21855 (selfTest): Likewise,
21856 * gnu/java/security/hash/MD5.java:
21857 (selfTest): Likewise,
21858 * gnu/java/security/hash/RipeMD128.java:
21859 (selfTest): Likewise,
21860 * gnu/java/security/hash/RipeMD160.java:
21861 (selfTest): Likewise,
21862 * gnu/java/security/hash/Sha160.java:
21863 (selfTest): Likewise,
21864 * gnu/java/security/hash/Sha256.java:
21865 (selfTest): Likewise,
21866 * gnu/java/security/hash/Sha384.java:
21867 (selfTest): Likewise,
21868 * gnu/java/security/hash/Sha512.java:
21869 (selfTest): Likewise,
21870 * gnu/java/security/hash/Tiger.java:
21871 (selfTest): Likewise,
21872 * gnu/java/security/hash/Whirlpool.java:
21873 (selfTest): Likewise.
21875 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21877 * javax/swing/plaf/basic/BasicTreeUI.java
21878 (PropertyChangeHandler.propertyChange): Set the row mapper
21879 for the selection model.
21880 * javax/swing/tree/AbstractLayoutCache.java
21881 (NodeDimensions.getNodeDimensions): Explained.
21882 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21883 Implemented. (setRowHeight): Invalidate sizes.
21884 * javax/swing/tree/DefaultTreeSelectionModel.java
21885 (addSelectionPath, addSelectionPaths): Update lead row.
21886 (removeSelectionPath, removeSelectionPaths): Do nothing if
21887 selection is empty.
21888 (clone): Only clone list selection model if it is not null.
21889 (getRow): New method. (isRowSelected, getLeadSelectionRow,
21890 setSelectionPath, setSelectionPaths, toString): Implemented.
21891 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21892 Pass the empty rectangle. (isFixedRowHeight): New method.
21893 * javax/swing/tree/VariableHeightLayoutCache.java
21894 (NodeRecord.getBounds): Pass the empty rectangle.
21896 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21898 * gnu/java/security/Properties.java
21899 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21901 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21903 * gnu/classpath/jdwp/util/Value.java
21904 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
21905 creating new Boolean instances.
21907 2006-04-20 Mark Wielaard <mark@klomp.org>
21909 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21910 PrivilegedAction. Access awt.toolkit through SystemProperties.
21912 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21914 * javax/swing/ActionMap.java: Removed unused imports,
21915 * javax/swing/DefaultListSelectionModel.java
21916 (clearSelection): Removed unused label,
21917 * javax/swing/JScrollPane.java: Removed unused imports,
21918 * javax/swing/UIManager.java: Likewise,
21919 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21921 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21923 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21924 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21925 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21926 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21927 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21929 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21931 * java/sql/Array.java: Fixed Eclipse API doc warnings,
21932 * java/sql/Blob.java: Likewise,
21933 * java/sql/CallableStatement.java: Likewise,
21934 * java/sql/Clob.java: Likewise,
21935 * java/sql/Connection.java: Likewise,
21936 * java/sql/DatabaseMetaData.java: Likewise,
21937 * java/sql/Date.java: Likewise,
21938 * java/sql/Driver.java: Likewise,
21939 * java/sql/PreparedStatement.java: Likewise,
21940 * java/sql/ResultSet.java: Likewise,
21941 * java/sql/ResultSetMetaData.java: Likewise,
21942 * java/sql/SQLData.java: Likewise,
21943 * java/sql/SQLOutput.java: Likewise,
21944 * java/sql/SQLWarning.java: Likewise,
21945 * java/sql/Statement.java: Likewise,
21946 * java/sql/Time.java: Likewise,
21947 * java/sql/Timestamp.java: Likewise.
21949 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21951 * java/sql/DriverManager.java
21952 (setLoginTimeout): Use incoming argument,
21953 (setLogStream): Likewise,
21954 (println): Fix API doc comment.
21956 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21958 * javax/swing/JMenuItem.java
21959 (paramString): Updated API docs,
21960 (getAccessibleContext): Added API docs,
21961 (AccessibleJMenuItem.stateChanged): Marked as stub,
21962 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21963 * javax/swing/JSlider.java
21964 (paramString): Fix for API docs,
21965 * javax/swing/JToolTip.java
21966 (getAccessibleContext): Fix for API docs.
21968 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21970 * javax/swing/JRadioButtonMenuItem.java
21971 (paramString): Reimplemented,
21972 (getAccessibleContext): API docs added,
21973 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
21975 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21977 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21979 * javax/swing/plaf/basic/BasicTreeUI.java
21980 (finish): Invalidate path bounds.
21981 (getMaxHeight): Set the row height to the layout cache.
21982 (startEditing): Do not request to recalculated
21983 row height and preferred size.
21984 * javax/swing/tree/DefaultTreeCellEditor.java
21985 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21987 * javax/swing/tree/FixedHeightLayoutCache.java:
21990 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21992 * javax/swing/JDesktopPane.java
21993 (paramString): Reimplemented,
21994 plus API doc updates in AccessibleJDesktopPane.
21996 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21998 * javax/swing/ImageIcon.java:
21999 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22000 (AccessibleImageIcon.getLocale): Declared exception and always return
22002 (getAccessibleContext): Updated API docs,
22003 plus updated API docs all over AccessibleImageIcon.
22005 2006-04-20 Roman Kennke <kennke@aicas.com>
22008 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22009 (paintText): Fetch the ascent only once. Add the ascent to
22010 the text rect also when tabs are disabled.
22012 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
22014 * java/util/Locale.java (defaultLocale): Set to en_US per
22015 default and use user.country but prioritize user.region if
22017 (getLocale(String language, String country)): Renamed region to
22019 (getLocale(String language, String region, String variant)):
22021 (getAvailableLocales): Likewise.
22023 2006-04-20 Roman Kennke <kennke@aicas.com>
22026 * javax/swing/JList.java
22027 (JList()): Call init() with DefaultListModel instance.
22028 (JList(Object[])): Call init() with null.
22029 (JList(Vector)): Call init() with null.
22030 (JList(ListModel)): Call init() with model.
22031 (init): Changed to take the model as argument. Don't call
22032 setter methods and initialize stuff directly instead.
22033 (getCellBounds): Check if UI is null.
22035 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
22037 * javax/swing/text/WrappedPlainView.java: Initialize
22038 WrappedLine.numLines with -1.
22039 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22040 numLines is -1 and reculcalate the value appropriately.
22041 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22042 allocation area is empty.
22044 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
22046 * javax/swing/JTabbedPane.java
22047 (AccessibleJTabbedPane.stateChanged): Marked as stub,
22048 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22049 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22050 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22051 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22052 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22053 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22054 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22055 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22056 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22057 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22058 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22059 (Page.getAccessibleStateSet): Likewise,
22060 (Page.getAccessibleIndexInParent): Likewise.
22062 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22064 * javax/swing/JProgressBar.java
22065 (paramString): Reimplemented.
22067 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22069 * javax/swing/JButton.java: Updated API docs all over.
22071 2006-04-19 Roman Kennke <kennke@aicas.com>
22073 * java/awt/Toolkit.java
22074 (getDefaultToolkit): Use system classloader to load the
22077 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22079 * javax/swing/text/DefaultCaret.java:
22080 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22081 instead of DefaultCaret.setDot.
22083 2006-04-19 Roman Kennke <kennke@aicas.com>
22085 * native/jni/java-net/local.c
22086 (local_read): Handle EINTR correctly.
22087 (local_write): Likewise.
22089 2006-04-19 Riccardo Mottola <multix@gmail.com>
22091 PR classpath/27062, PR classpath/25650:
22092 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22094 2006-04-19 Tom Tromey <tromey@redhat.com>
22096 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22097 value of 'pureMinutes'. PR classpath/27189.
22099 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22101 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22102 boot packages list from the META-INF/INDEX.LIST file if it exists.
22104 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22106 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22107 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22108 (ITERATION_COUNT): Removed modifiers.
22109 (PASSWORD): Likewise.
22111 (PASSWORD_ENCODING): New property.
22112 (DEFAULT_PASSWORD_ENCODING): New constant.
22113 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22114 material (bytes) before a password (chars).
22116 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22118 * javax/swing/JMenu.java
22119 (getAccessibleChildrenCount): Marked as stub,
22120 (getAccessibleChild): Likewise,
22121 (getAccessibleSelection): Likewise,
22122 (getAccessibleSelection(int)): Likewise,
22123 (isAccessibleChildSelected): Likewise,
22124 (getAccessibleSelectionCount): Likewise,
22125 (addAccessibleSelection): Likewise,
22126 (removeAccessibleSelection): Likewise,
22127 (clearAccessibleSelection): Likewise,
22128 (selectAllAccessibleSelection): Likewise.
22130 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22132 * javax/swing/JSplitPane.java
22133 (getAccessibleContext): Added API docs,
22134 (paramString): Reimplemented,
22135 (setOrientation): Updated API docs,
22136 (setResizeWeight): Added argument checking and event notification.
22138 2006-04-18 Casey Marshall <csm@gnu.org>
22140 Fixes PR classpath/25673
22141 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22142 property is set. Update JavaDoc to reflect this.
22144 2006-04-18 Lillian Angel <langel@redhat.com>
22146 * gnu/xml/dom/DomDocument.java
22147 (setCheckingCharacters): New function used to set
22148 checkingCharacters flag.
22149 * gnu/xml/dom/html2/DomHTMLParser.java
22150 (parseDocument): Added call to set checkingCharacters flag
22153 2006-04-18 Lillian Angel <langel@redhat.com>
22155 * gnu/xml/dom/DomDocument.java
22156 (checkNCName): Reverted last patch. Added check for colon at
22157 last position back in.
22159 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22161 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22163 * examples/gnu/classpath/examples/swing/Demo.java:
22164 (mkMenuBar): Added NavigationFilter demo.
22166 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22168 * javax/swing/JSeparator.java: Updated API docs all over, plus
22169 (setOrientation): Fire PropertyChangeEvent,
22170 (paramString): Reimplemented.
22172 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22174 * javax/swing/plaf/basic/BasicTextUI.java:
22175 (getNextVisualPositionFrom): Implemented.
22177 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22179 * javax/swing/JPanel.java: Updated API docs all over, plus
22180 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22181 double-buffer flag.
22183 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22185 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22187 * examples/gnu/classpath/examples/swing/Demo.java:
22188 (mkMenuBar): Added DocumenFilter demo.
22190 2006-04-18 Tom Tromey <tromey@redhat.com>
22192 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22194 2006-04-18 Mark Wielaard <mark@klomp.org>
22196 Reported by John Sullivan (johns@fsf.org)
22197 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22199 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22201 * javax/swing/JInternalFrame.java
22202 (JDesktopIcon.getAccessibleContext): Added API docs,
22203 (getDefaultCloseOperation): Likewise,
22204 (paramString): Added 'title' attribute,
22205 (setDefaultCloseOperation): Added API docs.
22207 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22209 * javax/swing/JSlider.java
22210 (paramString): Reimplemented.
22212 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22214 * javax/swing/JComboBox.java
22215 (paramString): Reimplemented,
22216 (getAccessibleContext): Added API docs,
22217 (AccessibleJComboBox.getAccessibleRole): Likewise.
22219 2006-04-18 Roman Kennke <kennke@aicas.com>
22221 * javax/swing/RepaintManager.java
22222 (dirtyComponentsWork): New field.
22223 (ComponentComparator): Use dirtyComponentsWork instead of
22225 (RepaintManager): Initialize new field.
22226 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22227 and work on the copy.
22229 2006-04-18 Roman Kennke <kennke@aicas.com>
22231 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22232 (setBounds): Call reshape().
22233 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22234 (SwingContainerPeer): Changed argument to be a Component
22235 instead a Container.
22236 (getInsets): Call insets().
22237 (handleMouseEvent): Added null check to avoid NPE.
22238 (handleMouseMotionEvent): Added null check to avoid NPE.
22240 2006-04-18 Roman Kennke <kennke@aicas.com>
22243 * javax/swing/JComponent.java
22244 (paintChildrenWithOverlap): When one child is not opaque, propagate
22245 the dirty rectangles to the next child.
22246 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22247 This actually didn't work right and probably gained nothing.
22249 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22251 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22252 (moveToCellBeingEdited): Do not clone the rectangle here.
22254 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22256 * javax/swing/plaf/basic/BasicSliderUI.java
22257 (getActionMap): Fixed lookup key,
22258 (createActionMap): Modified actions to fetch slider/ui from the event
22261 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22263 * java/lang/Enum.java: Documented.
22265 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22267 * gnu/java/lang/InstrumentationImpl.java:
22268 Moved from java.lang.
22269 * java/lang/InstrumentationImpl.java:
22271 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22272 Moved from java.lang.
22273 * vm/reference/java/lang/VMClassLoader.java:
22274 Corrected reference to InstrumentationImpl.
22275 * vm/reference/java/lang/VMInstrumentationImpl.java:
22278 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22280 * java/lang/annotation/Annotation.java:
22283 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22285 * javax/swing/JToolBar.java
22286 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22287 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22288 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22289 (getAccessibleContext): Likewise.
22291 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22294 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22296 * native/fdlibm/Makefile.am,
22297 native/jni/classpath/Makefile.am:
22298 Don't use -module and -version-info for convenience libraries LDFLAGS.
22299 Fixes libtool warnings.
22301 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22303 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22304 (installKeyboardActions): Marked as stub,
22305 (uninstallKeyboardActions): Likewise,
22306 * javax/swing/plaf/basic/BasicComboPopup.java:
22307 (installKeyboardActions): Marked as stub,
22308 (uninstallKeyboardActions): Likewise,
22309 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22310 (installKeyboardActions): Marked as stub,
22311 (uninstallKeyboardActions): Likewise,
22312 * javax/swing/plaf/basic/BasicLabelUI.java:
22313 (installKeyboardActions): Marked as stub,
22314 (uninstallKeyboardActions): Likewise,
22315 * javax/swing/plaf/basic/BasicListUI.java:
22316 (installKeyboardActions): Marked as stub,
22317 (uninstallKeyboardActions): Likewise,
22318 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22319 (installKeyboardActions): Marked as stub,
22320 (uninstallKeyboardActions): Likewise,
22321 * javax/swing/plaf/basic/BasicMenuUI.java:
22322 (installKeyboardActions): Marked as stub,
22323 (uninstallKeyboardActions): Likewise,
22324 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22325 (installKeyboardActions): Marked as stub,
22326 (uninstallKeyboardActions): Likewise,
22327 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22328 (installKeyboardActions): Marked as stub,
22329 (uninstallKeyboardActions): Likewise,
22330 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22331 (installKeyboardActions): Marked as stub,
22332 (uninstallKeyboardActions): Likewise,
22333 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22334 (installKeyboardActions): Marked as stub,
22335 (uninstallKeyboardActions): Likewise,
22336 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22337 (installKeyboardActions): Marked as stub,
22338 (uninstallKeyboardActions): Likewise,
22339 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22340 (installKeyboardActions): Marked as stub,
22341 (uninstallKeyboardActions): Likewise,
22342 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22343 (installKeyboardActions): Marked as stub,
22344 (uninstallKeyboardActions): Likewise,
22345 * javax/swing/plaf/basic/BasicTableUI.java:
22346 (installKeyboardActions): Marked as stub,
22347 (uninstallKeyboardActions): Likewise,
22348 * javax/swing/plaf/basic/BasicTextUI.java:
22349 (installKeyboardActions): Marked as stub,
22350 (uninstallKeyboardActions): Likewise,
22351 * javax/swing/plaf/basic/BasicToolBarUI.java:
22352 (installKeyboardActions): Marked as stub,
22353 (uninstallKeyboardActions): Likewise.
22355 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22357 * javax/swing/plaf/basic/BasicSliderUI.java
22358 (installKeyboardActions): Implemented,
22359 (uninstallKeyboardActions): Implemented,
22360 (scrollByBlock): Accept any value for direction,
22361 (scrollByUnit): Likewise,
22362 (getInputMap): New method,
22363 (getActionMap): New method,
22364 (createActionMap): New method.
22367 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22369 * doc/vmintegration.texinfo:
22372 2006-04-16 Tom Tromey <tromey@redhat.com>
22374 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22376 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22379 Mention generics additions to the VM interface.
22380 * doc/vmintegration.texinfo:
22381 Added information on VMClass 1.5 additions and
22384 2006-04-16 Casey Marshall <csm@gnu.org>
22386 * NEWS: add an entry mentioning local socket support.
22388 2006-04-16 Casey Marshall <csm@gnu.org>
22390 * configure.ac (--enable-local-sockets): new enable argument.
22391 (ENABLE_LOCAL_SOCKETS): new define.
22392 * native/jni/java-net/Makefile.am (local_sources): new variable.
22393 (lib_javanet_la_SOURCES): append `local_sources.'
22394 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22395 * native/jni/java-net/local.c,
22396 * native/jni/java-net/local.h,
22397 * include/gnu_java_net_local_LocalSocketImpl.h,
22398 * gnu/java/net/local/LocalServerSocket.java,
22399 * gnu/java/net/local/LocalSocket.java,
22400 * gnu/java/net/local/LocalSocketAddress.java,
22401 * gnu/java/net/local/LocalSocketImpl.java: new files.
22403 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22405 * javax/accessibility/AccessibleAction.java:
22406 (DECREMENT): Added field.
22407 (INCREMENT): Likewise.
22408 (TOGGLE_EXPAND): Likewise.
22409 * javax/accessibility/AccessibleRole.java:
22410 (EDITBAR): Added field.
22411 (FOOTER): Likewise.
22412 (HEADER): Likewise.
22413 (PARAGRAPH): Likewise.
22414 (PROGRESS_MONITOR): Likewise.
22416 * javax/accessibility/AccessibleState.java:
22417 (INDETERMINATE): Added field.
22418 (MANAGES_DESCENDANTS): Likewise.
22419 (TRUNCATED): Likewise.
22421 2006-04-14 Tom Tromey <tromey@redhat.com>
22423 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22425 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22428 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22430 * javax/swing/text/DefaultCaret.java:
22431 (getBypass): New method.
22432 (moveDot): Rewritten.
22433 (moveDotImpl): New method.
22434 (setDot): Rewritten.
22435 (setDotImpl): New method.
22436 (DefaultCaret.Bypass): New class.
22438 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22440 * javax/swing/text/AbstractDocument.java:
22441 (getBypass): New method.
22442 (insertString): Rewritten.
22443 (remove): Rewritten.
22444 (replace): Rewritten.
22445 (insertStringImpl): New method.
22446 (removeImpl): New method.
22447 (replaceImpl): New method.
22448 (AbstractDocument.Bypass): New class.
22450 2006-04-14 Casey Marshall <csm@gnu.org>
22452 Fixes PR classpath/24642
22453 * NEWS: add note about SecureRandom changes, and addition of
22455 * java/security/SecureRandom.java (isSeeded): new field.
22456 (setSeed, setSeed): set `isSeeded' to `true.'
22457 (nextBytes): seed this instance if `isSeeded' is false.
22458 (getSeed): call `generateSeed.'
22459 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22460 (generateSeed, generateSeed): new methods.
22461 * vm/reference/java/security/VMSecureRandom.java: new file.
22463 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22465 * javax/swing/text/FieldView.java:
22466 (paint): Apply clipping rectangle of the allocation area
22467 before painting the text.
22468 * javax/swing/text/DefaultHighlighter.java:
22469 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22470 compute union and intersection, calculate intersection with allocation
22471 area before painting, adjust x and width when painting multiple lines
22472 by the range of the allocation area.
22474 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22476 * javax/swing/text/DefaultHighlighter.java:
22477 (paintLayeredHighlights): Marked as stub.
22479 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22481 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22482 (propertyChanged): Added note, change color only if current background
22483 is a ColorUIResource instance.
22485 2006-04-14 Tom Tromey <tromey@redhat.com>
22487 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22491 2006-04-14 Tom Tromey <tromey@redhat.com>
22493 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22495 2006-04-14 Mark Wielaard <mark@klomp.org>
22497 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22498 thread group when exceptionHandler isn't set.
22499 * vm/reference/java/lang/VMThread.java (run): Use result of
22500 thread.getUncaughtExceptionHandler directly.
22502 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22504 * javax/swing/JSplitPane.java
22505 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22506 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22507 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22508 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22509 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22510 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22511 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22513 2006-04-10 Tom Tromey <tromey@redhat.com>
22515 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22516 Fixed parameter bounds.
22518 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22520 * gnu/javax/crypto/assembly/Assembly.java,
22521 * gnu/javax/crypto/assembly/Cascade.java,
22522 * gnu/javax/crypto/assembly/CascadeStage.java,
22523 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22524 * gnu/javax/crypto/assembly/Direction.java,
22525 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22526 * gnu/javax/crypto/assembly/ModeStage.java,
22527 * gnu/javax/crypto/assembly/Operation.java,
22528 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22529 * gnu/javax/crypto/assembly/Stage.java,
22530 * gnu/javax/crypto/assembly/Transformer.java,
22531 * gnu/javax/crypto/cipher/Square.java,
22532 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22533 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22534 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22535 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22536 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22537 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22538 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22539 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22540 * gnu/javax/crypto/jce/cipher/PBES2.java,
22541 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22542 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22543 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22544 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22545 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22546 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22547 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22548 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22549 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22550 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22551 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22552 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22553 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22554 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22555 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22556 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22557 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22558 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22559 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22560 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22561 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22562 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22563 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22564 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22565 * gnu/javax/crypto/pad/WrongPaddingException.java,
22566 * gnu/javax/crypto/prng/ICMGenerator.java,
22567 * gnu/javax/crypto/prng/IPBE.java,
22568 * gnu/javax/crypto/prng/PBKDF2.java,
22569 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22570 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22571 * gnu/javax/crypto/sasl/srp/IALG.java,
22572 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22573 Remove CVS revision tags.
22575 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22577 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22578 Removed debugging code.
22580 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22582 * javax/swing/JTree.java (getPreferredSize): Return the
22584 * javax/swing/ViewportLayout.java (layoutContainer):
22585 Do not manage the view size and location if the view is
22586 in the scroll pane. Also manage size and location for
22587 Scrollable, if it is not in the scroll pane.
22588 * javax/swing/plaf/basic/BasicTreeUI.java,
22589 * javax/swing/tree/FixedHeightLayoutCache.java,
22590 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22591 * gnu/javax/swing/tree/GnuPath.java: New file.
22593 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22595 * javax/swing/JToolBar.java
22596 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22598 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22600 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22601 (createCustomColoredPanel): Set background color as demo intends,
22602 changed custom selection color to red.
22603 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22604 Replaced various single variables with a Compound instance, added
22605 custom highlighter demo.
22606 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22608 (TextFieldDemo.Compound): New class.
22609 (createTextFieldCompound): New method.
22610 (createLeftAlignedPanel): Rewritten.
22611 (createRightAlignedPanel): Rewritten.
22612 (createCenteredPanel): Rewritten.
22613 (createCustomColoredPanel): Removed.
22614 (createCustomColoredPanel1): New method.
22615 (createCustomColoredPanel2): New method.
22616 (createCustomBordersPanel): New method.
22617 (createMiscPanel): Rewritten.
22618 (actionPerformed): Rewritten.
22619 (createContent): Add panels of new compounds to main panel, put
22620 main panel in a JScrollPane.
22621 * examples/gnu/classpath/examples/swing/Demo.java:
22622 (Demo): Put desktop in a scrollpane.
22623 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22624 method via reflection.
22626 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22628 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22629 (createUI): Return new instance rather than shared instance.
22631 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22633 * javax/swing/text/FieldView.java:
22634 (checkContainer): Call updateVisibility() at the end.
22636 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22638 * java/awt/event/MouseEvent.java:
22639 (paramString): Add value of 'consumed' variable in string.
22641 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22644 * javax/swing/JTextField.java: Removed scrollOffset variable.
22645 (JTextField): Moved up initialization of horizontalVisibility field.
22646 (getScrollOffset): Implemented.
22647 (setScrollOffset): Implemented.
22648 (getHorizonztalVisibility): Removed note.
22649 (scrollRectToVisible): New method.
22650 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22651 (checkContainer): New method.
22652 (updateVisibility): New method.
22653 (calculateHorizontalSpan): New method.
22654 (adjustAllocation): Removed unneeded local variables, added code
22655 to handle scrolling.
22656 (getPreferredSpan): Use new method calculateHorizontalSpan,
22657 avoid calculation by returning cached value cachedSpan.
22658 (paint): Added check whether the hosted component is a JTextField.
22659 (insertUpdate): Invalidate cached span value, update visibility
22661 (removeUpdate): Dito.
22662 (changeUpdate): Dito.
22664 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22666 * javax/swing/JInternalFrame.java
22667 (setTitle): Set old value to 'this.title', not 'title'.
22669 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22671 * javax/swing/JInternalFrame.java
22672 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22673 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22674 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22675 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22676 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22677 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22678 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22679 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22680 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22681 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22683 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22685 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22687 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22689 (JInternalFrame()): Use "" for default title,
22690 (getAccessibleContext): Updated API docs,
22691 (getDesktopIcon): Likewise,
22692 (getLayer): Check for layer in client properties, and return
22693 DEFAULT_LAYER if no setting is found,
22694 (getTitle): Updated API docs,
22695 (setDesktopIcon): Fire property change event.
22697 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22699 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22700 Mind that the presence of one scroll bar may cause the
22703 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22705 * gnu/regexp/REToken.java(unicodeAware): New field,
22706 (toLowerCase, toUpperCase): New methods.
22707 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22708 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22709 Use toLowerCase and toUpperCase defined in REToken instead of
22710 those defined in java.lang.Character.
22711 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22712 (initialize): Sets unicodeAware of the generated REToken to false if
22713 REG_ICASE_USASCII is set.
22714 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22715 to lower case and keep the original value.
22716 (matchOneString): Use the new method charEquals to compare characters.
22717 (charEquals): New method to compare characters.
22718 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22720 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22722 * javax/swing/event/InternalFrameEvent.java:
22723 (paramString): Implemented,
22724 updated API docs all over.
22726 2006-04-12 Casey Marshall <csm@gnu.org>
22728 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22729 (Generator.setup): call `fillBlock.'
22731 2006-04-12 Casey Marshall <csm@gnu.org>
22733 Fixes PR classpath/24481.
22734 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22735 initialize the adaptee.
22736 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22737 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22738 addRandomBytes): new methods.
22740 2006-04-12 Tom Tromey <tromey@redhat.com>
22742 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22745 2006-04-12 Lillian Angel <langel@redhat.com>
22747 * gnu/xml/dom/DomDocument.java
22748 (checkNCName): Removed unneeded part of check.
22749 * gnu/xml/dom/DomNode.java
22750 (dispatchEvent): Added code to grow ancestors array
22751 if needed. Changed checks to use depth of node instead.
22752 Fixes an infinite loop and segmentation fault.
22753 * gnu/xml/dom/html2/DomHTMLParser.java
22754 (handleEndTag): No need to use/make a copy of the node.
22755 Causes an infinite loop.
22757 2006-04-12 Tom Tromey <tromey@redhat.com>
22759 PR classpath/27131:
22760 * java/util/BitSet.java (get): Early return if to==from.
22762 2006-04-12 Mark Wielaard <mark@klomp.org>
22764 * java/security/SecureRandom.java (algorithm): New private field.
22765 (SecureRandom): Initialize algorithm.
22766 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22768 (getInstance): Call 3 argument constructor.
22769 (getAlgorithm): New method.
22771 2006-04-12 Mark Wielaard <mark@klomp.org>
22773 Port UncaughtExceptionHandler support from generics branch.
22774 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22776 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22778 * java/lang/Thread.java:
22779 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22780 Added docs and security check.
22781 (getUncaughtExceptionHandler()): Documented.
22782 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22783 Added docs and security check.
22784 (getDefaultUncaughtExceptionHandler()): Documented.
22785 (getId()): Documented.
22787 2006-04-12 Tom Tromey <tromey@redhat.com>
22789 * vm/reference/java/lang/VMThread.java (run): Use thread's
22791 * java/lang/Thread.java (defaultHandler): New field.
22792 (setDefaultUncaughtExceptionHandler,
22793 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22794 getUncaughtExceptionHandler): New methods.
22795 * java/lang/ThreadGroup.java (ThreadGroup): Implements
22796 UncaughtExceptionHandler.
22797 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22799 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
22801 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22802 buffer. Loop only once to determine Utf8 length when possible. Make
22803 the inner loop bounded by buf.length.
22804 (getUTFlength): New private method.
22805 (buf): New private field.
22807 2006-04-11 Lillian Angel <langel@redhat.com>
22809 * gnu/xml/dom/DomNodeIterator.java
22810 (nextNode): Moved line of code to avoid an infinite loop.
22811 * gnu/xml/dom/html2/DomHTMLAppletElement.java
22812 (getCls): New function.
22813 (setCls): Likewise.
22814 (getSrc): Likewise.
22815 (setSrc): Likewise.
22816 * gnu/xml/dom/html2/DomHTMLDocument.java:
22817 Added DomHTMLEmbedElement to map.
22818 (getApplets): Added node name, 'embed'.
22819 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22821 * gnu/xml/dom/html2/DomHTMLObjectElement.java
22822 (getJavaCode): New function.
22823 (setJavaCode): Likewise.
22824 (getObject): Likewise.
22825 (setObject): Likewise.
22826 (getJavaObject): Likewise.
22827 (setJavaObject): Likewise.
22828 (getJavaArchive): Likewise.
22829 (setJavaArchive): Likewise.
22830 (getJavaCodeBase): Likewise.
22831 (setJavaCodeBase): Likewise.
22832 (getJavaType): Likewise.
22833 (setJavaType): Likewise.
22834 (setMayscript): Likewise.
22835 (getMayscript): Likewise.
22836 (setScriptable): Likewise.
22837 (getScriptable): Likewise.
22838 * gnu/xml/dom/html2/DomHTMLParser.java
22839 (parseDocument): Should not check for well formedness
22840 when parsing an html document.
22841 * java/awt/Window.java
22842 (dispatchEvent): Added check to avoid NPE.
22844 2006-04-10 Tom Tromey <tromey@redhat.com>
22846 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22848 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22849 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22851 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
22853 * javax/swing/plaf/basic/BasicTextUI.java:
22854 (getNextVisualPositionFrom): Marked as stub.
22856 2006-04-10 Roman Kennke <kennke@aicas.com>
22858 * javax/swing/plaf/basic/BasicLookAndFeel.java
22859 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22860 and create the defaults as strings constants.
22861 (loadSystemColors): Implemented stubbed method.
22863 2006-04-10 Tom Tromey <tromey@redhat.com>
22865 * .settings/org.eclipse.core.resources.prefs: Set encoding for
22868 2006-04-10 Tom Tromey <tromey@redhat.com>
22870 * java/io/CharArrayWriter.java (append): Javadoc fix.
22871 (append): Likewise.
22873 2006-04-10 Tom Tromey <tromey@redhat.com>
22875 * javax/accessibility/AccessibleTextSequence.java: New file.
22876 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22878 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22879 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22880 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22881 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22882 * javax/accessibility/AccessibleExtendedText.java: New file.
22883 * javax/accessibility/AccessibleContext.java
22884 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22885 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22886 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22887 * javax/accessibility/AccessibleAttributeSequence.java: New file.
22888 * javax/accessibility/AccessibleStreamable.java: New file.
22889 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22892 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22894 * javax/swing/tree/AbstractLayoutCache.java
22895 (getNodeDimensions, getRowsForPath): Implemented.
22896 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22897 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22899 2006-04-10 Roman Kennke <kennke@aicas.com>
22901 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22903 2006-04-10 Roman Kennke <kennke@aicas.com>
22905 * javax/swing/JInternalFrame.java
22906 (AccessibleJInternalFrame): Marked all stubbed methods as such
22907 by adding throws NotImplementedException.
22909 2006-04-10 Roman Kennke <kennke@aicas.com>
22911 * javax/swing/JFileChooser.java
22912 (getAccessibleContext): Don't create a new instance on each
22913 call, instead store the accessible context in the
22914 accessibleContext field.
22916 2006-04-10 Roman Kennke <kennke@aicas.com>
22918 * javax/swing/JComboBox.java
22919 (AccessibleJComboBox): Marked all stubbed methods as such
22920 by adding throws NotImplementedException.
22922 2006-04-10 Roman Kennke <kennke@aicas.com>
22924 * javax/swing/ActionMap.java
22925 (readObject): Removed.
22926 (writeObject): Removed.
22928 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22930 * javax/swing/tree/DefaultTreeSelectionModel.java
22931 (addSelectionPaths, setSelectionPaths): Call
22932 insureUniqueness. (clone, setRowMapper): Implemented.
22933 * TreePath (path): Marked final.
22935 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22937 * javax/swing/tree/DefaultTreeSelectionModel.java:
22938 Documented and autoformatted. (insureUniqueness):
22939 Removed stub marking.
22941 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
22943 * javax/swing/SizeSequence.java
22944 (sizes): Don't initialise here,
22945 (SizeSequence(int, int)): Initialise sizes field,
22946 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22947 (setSize): Do nothing when index is out of bounds,
22948 (getIndex): Implemented,
22949 (setSizes): Reimplemented,
22950 (getSizes): Likewise,
22951 (insertEntries): Likewise,
22952 (removeEntries): Likewise,
22953 plus added API docs all over.
22955 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
22957 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22958 one way message and retry after any IOException.
22960 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22962 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22963 Set the byte order.
22965 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
22967 * org/omg/PortableServer/ServantLocatorPOA.java:
22968 (preinvoke, postinvoke): Remove default implementation.
22969 * org/omg/PortableServer/ServantActivatorPOA.java:
22970 (incarnate, etherealize): Remove default implementation.
22971 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
22972 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22973 (make_object): Moved method from ObjectReferenceFactoryOperations.
22974 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
22975 Removed unspecified interface.
22976 * org/omg/DynamicAny/_DynAnyStub.java:
22977 (_DynAnyStub(Delegate)): Removed constructor.
22978 * org/omg/DynamicAny/_DynArrayStub.java,
22979 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22980 * org/omg/DynamicAny/_DynEnumStub.java,
22981 * org/omg/DynamicAny/_DynFixedStub.java,
22982 * org/omg/DynamicAny/_DynSequenceStub.java,
22983 * org/omg/DynamicAny/_DynStructStub.java,
22984 * org/omg/DynamicAny/_DynUnionStub.java,
22985 * org/omg/DynamicAny/_DynValueStub.java:
22986 Extend from ObjectImpl and not from _DynAnyStub.
22987 (type, next, destroy, copy, rewind, assign, component_count,
22988 current_component, equal, from_any, get_any, get_boolean, get_char,
22989 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
22990 get_reference, get_short, get_string, get_typecode, get_ulong,
22991 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22992 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22993 insert_long, insert_longlong, insert_octet, insert_reference,
22994 insert_short, insert_string, insert_typecode, insert_ulong,
22995 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
22996 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
22997 * org/omg/CosNaming/_BindingIteratorStub.java:
22998 (_BindingIteratorStub(Delegate)): Made package private.
22999 * org/omg/CosNaming/_NamingContextExtStub.java:
23000 (_NamingContextExtStub(Delegate)): Made package private.
23001 * org/omg/CosNaming/_NamingContextStub.java:
23002 (_NamingContextStub(Delegate)): Made package private.
23003 (throw4, throw5): Likewise.
23004 * gnu/CORBA/NamingService/NameParser.java (resolve):
23005 Adapt to package private constructor. Use _set_delegate instead.
23006 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23007 * org/omg/CORBA/ORB.java:
23008 (create_recursive_sequence_tc): Made abstract.
23009 (get_default_context): Likewise.
23010 * gnu/CORBA/OrbRestricted.java:
23011 (create_recursive_sequence_tc): New moved method.
23012 (get_default_context): Likewise.
23013 * org/omg/CORBA/ParameterMode.java:
23014 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
23016 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23018 * gnu/CORBA/GIOP/MessageHeader.java (write):
23019 More informative exception.
23020 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23021 * gnu/CORBA/SocketRepository.java (get_socket):
23022 Removed debugging code.
23024 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23026 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23027 one way message, but ignore if EOF was received.
23028 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23029 Minor.EOF if the end of file is received instead of the header.
23031 2006-04-09 Roman Kennke <kennke@aicas.com>
23033 * javax/swing/plaf/metal/MetalRootPaneUI.java
23034 (MetalTitlePane.IconifyAction): New inner class.
23035 (MetalTitlePane.MaximizeAction): New inner class.
23036 (MetalTitlePane.createActions): Create iconifyAction and
23038 (MetalRootLayout.titlePane): New field.
23039 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23041 (MetalRootLayout.preferredLayoutSize): Changed to not make
23042 assumptions about the actual component order.
23043 (MetalRootLayout.layoutContainer): Changed to not make
23044 assumptions about the actual component order.
23045 (installWindowDecorations): Pass the titlePane as parameter to
23046 the MetalRootLayout constructor.
23047 (uninstallWindowDecorations): Changed to not make
23048 assumptions about the actual component order.
23050 2006-04-08 Roman Kennke <kennke@aicas.com>
23052 * javax/swing/plaf/metal/MetalRootPaneUI.java
23053 (MetalTitlePane.MouseHandler): New inner class to handle dragging
23055 (MetalTitlePane.installListeners): Don't register a focus listener
23056 on the window. This is a potential memory leak and must be
23057 implemented on a different way. Install mouse listener here.
23058 (installWindowDecorations): Fixed assertion condition. Always
23059 insert the window decoration at index#1 in the layered
23062 2006-04-08 Roman Kennke <kennke@aicas.com>
23064 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23065 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23066 Only resize window if actual width or height value changes.
23067 Avoids nasty flicker when only setLocation() is beeing called
23070 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23072 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23073 exception if the magic sequence does not match.
23075 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23077 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23078 response for the one way messages.
23080 2006-04-08 Roman Kennke <kennke@aicas.com>
23082 * javax/swing/MenuSelectionManager.java
23083 (processKeyEvent): Implemented stub method.
23084 * javax/swing/JMenu.java
23085 (processKeyEvent): Implemented stub method.
23086 * javax/swing/JMenu.java
23087 (processKeyEvent): Implemented stub method.
23088 (processMenuKeyEvent): Implemented stub method.
23090 2006-04-08 Roman Kennke <kennke@aicas.com>
23092 * javax/swing/AbstractAction.java
23093 (readObject): Removed unneeded method.
23094 (writeObject): Removed unneeded method.
23096 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23098 * javax/swing/plaf/synth/SynthPainter.java:
23099 (paintSplitPaneDividerBorder): Removed.
23101 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23103 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23104 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23105 No longer constants.
23106 (static_initializer): Added to initialize above fields.
23107 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23108 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23109 (static_initializer): Added to initialize above fields.
23111 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23113 * java/awt/Dialog.java: Improved documentation all over.
23114 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23115 (Dialog(Dialog)): Likewise.
23117 2006-04-08 Mark Wielaard <mark@klomp.org>
23119 * java/util/jar/JarFile.java (provider): New static field.
23120 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23123 2006-04-08 Mark Wielaard <mark@klomp.org>
23126 * java/lang/StackTraceElement.java (toString): Don't add space
23127 between type and source indicator.
23129 2006-04-07 Casey Marshall <csm@gnu.org>
23131 Fixes PR classpath/24464
23132 * java/util/jar/JarFile.java (verify, verifyHashes,
23133 EntryInputStream.<init>): pass the Gnu provider directly to
23136 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23139 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23140 (DIGEST0): Use version 3 test vector.
23142 (S_box): New field: Version 3 S-box values.
23143 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23144 (transform): Formating.
23145 (padBuffer): Likewise.
23146 (getResult): Likewise.
23147 (selfTest): Likewise.
23149 2006-04-07 Tom Tromey <tromey@redhat.com>
23151 * java/util/InvalidPropertiesFormatException.java
23152 (serialVersionUID): New field.
23153 (readObject, writeObject): New methods.
23154 * java/util/Arrays.java (toString): Javadoc fixes.
23155 * java/net/URLConnection.java: Cleaned up imports.
23156 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23157 * java/lang/reflect/MalformedParameterizedTypeException.java
23158 (serialVersionUID): New field.
23159 * java/lang/reflect/GenericSignatureFormatError.java
23160 (serialVersionUID): New field.
23161 * java/lang/Class.java (Class): Javado fixes.
23162 (getComponentType): Likewise.
23163 (getGenericInterfaces): Likewise.
23164 (getTypeParameters): Likewise.
23165 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23166 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23168 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23170 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23173 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23175 * java/awt/Dialog.java
23176 (AccessibleAWTDialog): Added api docs
23177 (AccessibleAWTDialog.getAccessibleStateSet):
23178 Renamed from getAccessibleState.
23179 * java/awt/Frame.java
23180 (AccessibleAWTFrame): Added api docs
23181 (AccessibleAWTFrame.getAccessibleStateSet):
23182 Renamed from getAccessibleState.
23184 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23186 * java/awt/Dialog.java: Reformatted.
23188 2006-04-07 Lillian Angel <langel@redhat.com>
23190 * java/awt/Component.java
23191 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23192 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23194 2006-04-07 Tom Tromey <tromey@redhat.com>
23196 * java/beans/beancontext/BeanContextMembershipEvent.java
23197 (serialVersionUID): New field.
23198 * java/beans/beancontext/BeanContextServicesSupport.java
23199 (addBeanContextServicesListener): Synchronize.
23200 (addService): Implemented.
23201 (createBCSChild): Implemented.
23202 (BCSSChild): Added arguments.
23203 (fireServiceAdded): Implemented.
23204 (fireServiceRevoked): Implemented.
23205 (getCurrentServiceSelectors): Implemented.
23206 (hasService): Implemented.
23207 (removeBeanContextServicesListener): Implemented.
23208 (serviceAvailable): Implemented.
23209 (serviceRevoked): Implemented.
23210 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23212 (createBCSChild): Implemented.
23213 (BeanContextSupport):
23214 (addBeanContextMembershipListener): Synchronize.
23215 (fireChildrenAdded): Implemented.
23216 (fireChildrenRemoved): Implemented.
23217 (BeanContextSupport): Use default locale.
23218 (isEmpty): Implemented.
23219 (isDesignTime): Implemented.
23220 (size): Implemented.
23221 (toArray): Synchronized.
23222 (toArray): Likewise.
23223 (iterator): Likewise.
23224 (BCSIterator): Implemented.
23225 (bcsChildren): Implemented.
23226 (validatePendingAdd): Implemented.
23227 (validatePendingRemove): Likewise.
23228 (childJustAddedHook): Implemented.
23229 (childJustRemovedHook): Likewise.
23230 (classEquals): Likewise.
23231 (toArray): Mark as stub.
23232 (setDesignTime): Implemented.
23233 (copyChildren): Implemented.
23234 (containsKey): Implemented.
23235 (contains): Likewise.
23236 (containsAll): Likewise.
23237 (getResource): Implemented.
23238 (getResourceAsStream): Likewise.
23239 (removeBeanContextMembershipListener): Likewise.
23240 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23241 (serialVersionUID): New field.
23242 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23243 (serialVersionUID): New field.
23244 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23247 2006-04-06 Roman Kennke <kennke@aicas.com>
23250 * javax/swing/MenuSelectionManager.java
23251 (setSelectedPath): Search one more item in the loop.
23253 2006-04-06 Tom Tromey <tromey@redhat.com>
23255 * java/awt/image/renderable/RenderableImageProducer.java
23256 (image, context, consumers): New fields.
23257 (RenderableImageProducer): Implemented.
23258 (setRenderContext): Likewise.
23259 (addConsumer): Likewise.
23260 (isConsumer): Likewise.
23261 (removeConsumer): Likewise.
23262 (startProduction): Likewise.
23264 2006-04-06 Roman Kennke <kennke@aicas.com>
23266 * java/awt/Component.java
23267 (AccessibleAWTComponent.getBounds): Return the component
23268 bounds regardless of its showing state.
23269 (AccessibleAWTComponent.getLocation): Return the component
23270 location regardless of its showing state.
23271 (AccessibleAWTComponent.getSize): Return the component
23272 size regardless of its showing state.
23274 2006-04-06 Roman Kennke <kennke@aicas.com>
23276 * javax/swing/JRootPane.java
23277 (getAccessibleContext): New method. Provides an accessibleContext
23280 2006-04-06 Roman Kennke <kennke@aicas.com>
23282 * java/awt/Toolkit.java
23283 (initAccessibility): Use the 'gnu.classpath.home.url' property
23284 to determine the system confiuration directory.
23285 * java/awt/Component.java
23286 (dispatchEvent): Trigger Toolkit dispatching here.
23287 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23288 so it can't be overridden by subclasses and is performed in
23291 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23293 * javax/naming/Binding.java: Added API docs.
23294 * javax/naming/NameClassPair.java: Added API docs.
23295 (fullName): New field.
23296 (setNameInNamespace): New 1.5 method.
23297 (getNameInNamespace): Likewise.
23299 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23301 * javax/naming/CompositeName.java:
23302 (readObject): New deserialization method.
23303 (writeObject): New serialization method.
23305 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23307 * javax/security/auth/x500/X500Principal.java
23308 (readAttributeValue) Check for separator after quoted value was
23309 failing in all cases.
23311 2006-04-06 Mark Wielaard <mark@klomp.org>
23313 * java/lang/Class.java (getClassLoader): Don't do security check
23314 when loader is null.
23316 2006-04-06 Roman Kennke <kennke@aicas.com>
23318 * java/awt/Toolkit.java
23319 (getDefaultToolkit): Initialize accessibility after setting
23321 (initAccessibility): New helper method to setup accessibility.
23323 2006-04-06 Roman Kennke <kennke@aicas.com>
23325 * javax/swing/AbstractButton.java
23326 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23327 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23329 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23330 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23331 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23332 (AccessibleAbstractButton.getCharCount): Implemented stub.
23333 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23334 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23335 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23336 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23337 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23338 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23341 2006-04-06 Roman Kennke <kennke@aicas.com>
23343 * java/awt/Component.java
23344 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23345 state here. This is only done in JComponent.
23346 * javax/swing/JComponent.java
23347 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23349 (getNextFocusableComponent): Implemented stub method.
23350 (grabFocus): Implemented stub method.
23351 (unregisterKeyboardAction): Implemented stub method.
23352 (setNextFocusableComponent): Implemented stub method.
23353 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23354 This is a helper class for providing compatibility with the older
23357 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23360 * javax/naming/directory/BasicAttribute.java,
23361 * javax/naming/directory/BasicAttributes.java:
23362 (readObject): New deserialization method.
23363 (writeObject): New serialization method.
23365 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23367 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23368 (getErrorHandler): Made method abstract.
23369 (setErrorHanlder): Likewise.
23370 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23371 (getErrorHandler): Implement abstract method from superclass.
23372 (setErrorHandler): Likewise.
23373 (errorHandler): New field.
23374 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23375 (getErrorHandler): Implement abstract method from superclass.
23376 (setErrorHandler): Likewise.
23377 (errorHandler): New field.
23378 * javax/xml/XMLConstants.java: Corrected since tag.
23379 (XMLConstants): Added private constructor.
23380 * javax/xml/datatype/Duration.java: Corrected since tag.
23381 (multiply): Made method abstract.
23382 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23383 (DatatypeConstants): Added private constructor.
23384 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23385 (XPathConstants): Added private constructor.
23387 2006-04-05 Tom Tromey <tromey@redhat.com>
23389 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23391 2006-04-05 Tom Tromey <tromey@redhat.com>
23394 * lib/Makefile.am (compile-classes): Touch the output file.
23396 2006-04-05 Roman Kennke <kennke@aicas.com>
23398 * javax/swing/AbstractButton.java
23399 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23400 of the focused state. This is already done in AccessibleAWTComponent.
23402 2006-04-05 Roman Kennke <kennke@aicas.com>
23404 * javax/swing/JComponent.java
23405 (accessibleContext): Fixed API doc for this field.
23406 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23407 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23408 Implemented and added API docs.
23409 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23410 Implemented and added API docs.
23411 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23412 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23413 Implemented and added API docs.
23414 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23415 Implemented and added API docs.
23416 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23417 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23418 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23419 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23420 (AccessibleJComponent.getAccessibleStateSet): Simply return
23421 super here. Added comment about this.
23423 2006-04-05 Roman Kennke <kennke@aicas.com>
23425 * javax/swing/JComponent.java
23426 (AccessibleJComponent.addPropertyChangeListener): Install
23427 ContainerHandler and FocusHandler here.
23428 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23429 ContainerHandler and FocusHandler here.
23430 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23431 by super.getAccessibleChildrenCount().
23432 (AccessibleJComponent.getAccessibleChild): Replaced
23433 by super.getAccessibleChild().
23434 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23435 adding OPAQUE to the supported states.
23436 (AccessibleJComponent.getAccessibleName): Added titled border
23437 and label fallbacks.
23438 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23439 and label fallbacks.
23440 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23441 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23442 explaining why return null seems correct here.
23443 * javax/swing/JLabel.java
23444 (LABEL_PROPERTY): New constant.
23445 (setLabelFor): Store label in labeled component's client properties
23446 for the AccessibleJComponent to read.
23448 2006-04-05 Tom Tromey <tromey@redhat.com>
23450 * java/util/zip/ZipFile.java (available): Defer to super if
23451 entry's size is unknown.
23453 2006-04-05 Tom Tromey <tromey@redhat.com>
23455 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23456 property with mime.types name.
23457 * gnu/classpath/SystemProperties.java: Set
23458 gnu.classpath.mime.types.file if not already set.
23459 * java/net/URLConnection.java (defaultFactory): New field.
23460 (guessContentTypeFromStream): Mark as unimplemented.
23461 (getContentHandler): Updated with libgcj's implementation.
23462 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23465 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23469 * java/util/AbstractList.java (hasNext): Don't throw
23470 ConcurrentModificationException. Update Javadoc.
23471 (hasPrevious): Likewise.
23472 (nextIndex): Likewise.
23473 (previousIndex): Likewise.
23474 * java/util/HashMap.java (hasNext): Likewise.
23475 * java/util/Hashtable.java (hasNext): Likewise.
23476 * java/util/IdentityHashMap.java (hasNext): Likewise.
23477 * java/util/LinkedHashMap.java (hasNext): Likewise.
23478 * java/util/LinkedList.java (nextIndex): Likewise.
23479 (previousIndex): Likewise.
23480 (hasNext): Likewise.
23481 (hasPrevious): Likewise.
23482 * java/util/TreeMap.java (hasNext): Likewise.
23483 * java/util/WeakHashMap.java (hasNext): Likewise.
23485 2006-04-05 Roman Kennke <kennke@aicas.com>
23487 * javax/swing/AbstractButton.java
23488 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23489 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23490 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23491 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23492 (AccessibleAbstractButton.getAccessibleActionDescription):
23494 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23495 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23496 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23497 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23498 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23499 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23501 2006-04-05 Roman Kennke <kennke@aicas.com>
23503 * javax/swing/JComboBox.java
23504 (selectWithKeyChar): Implemented stubbed method.
23506 2006-04-05 Roman Kennke <kennke@aicas.com>
23508 * javax/swing/LookAndFeel.java
23509 (installProperty): New method. Allows primitive typed properties
23510 to be handled like UIResources.
23511 * javax/swing/AbstractButton.java
23512 (clientBorderPaintedSet): New field.
23513 (clientRolloverEnabledSet): New field.
23514 (clientIconTextGapSet): New field.
23515 (clientContentAreaFilledSet): New field.
23516 (setRolloverEnabled): Set the client field to true.
23517 (setBorderPainted): Likewise.
23518 (setIconTextGap): Likewise.
23519 (setContentAreaFilled): Likewise.
23520 (setUIProperty): New helper method.
23521 * javax/swing/JComponent.java
23522 (clientOpaqueSet): New field.
23523 (clientAutoscrollsSet): New field.
23524 (setAutoscrolls): Set the client field to true.
23525 (setOpaque): Likewise.
23526 (setUIProperty): New helper method.
23527 * javax/swing/JDesktopPane.java
23528 (clientDragModeSet): New field.
23529 (setDragMode): Set the client field to true.
23530 (setUIProperty): New helper method.
23531 * javax/swing/JSplitPane.java
23532 (clientDividerSizeSet): New field.
23533 (clientOneTouchExpandableSet): New field.
23534 (setDividerSize): Set the client field to true.
23535 (setOneTouchExpandable): Likewise.
23536 (setUIProperty): New helper method.
23537 * javax/swing/JTable.java
23538 (clientRowHeightSet): New field.
23539 (setRowHeight): Set the client field to true.
23540 (setUIProperty): New helper method.
23541 * javax/swing/JTree.java
23542 (clientRowHeightSet): New field.
23543 (clientScrollsOnExpandSet): New field.
23544 (clientShowsRootHandlesSet): New field.
23545 (setRowHeight): Set the client field to true.
23546 (setShowsRootHandles): Likewise.
23547 (setScrollsOnExpand): Likewise.
23548 (setUIProperty): New helper method.
23550 2006-04-05 Roman Kennke <kennke@aicas.com>
23552 * java/awt/Component.java
23553 (getFont): Don't request the font from the peer's graphics. The
23554 graphics should instead get the font from the Component, which might
23556 (getFocusCycleAncestor): Don't special case Window.
23557 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23558 to here. Correctly determine the focus cycle root.
23559 (transferFocusBackward): Likewise.
23560 (transferFocusUpCycle): Likewise.
23561 * java/awt/Container.java
23562 (transferFocusDownCycle): Moved implementation from
23563 DefaultKeyboardFocusManager to here.
23564 * java/awt/DefaultKeyboardFocusManager.java
23565 (focusPreviousComponent): Moved implementation to
23566 Component.transferFocusBackward().
23567 (focusNextComponent): Moved implementation to
23568 Component.nextFocus().
23569 (upFocusCycle): Moved implementation to
23570 Component.transferFocusUpCycle().
23571 (downFocusCycle): Moved implementation to
23572 Container.transferFocusDownCycle().
23574 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23576 * java/awt/image/ComponentSampleModel.java
23577 (equals): Implemented,
23578 (hashCode): Likewise.
23580 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23582 * java/lang/Class.java
23583 (cast): New method.
23585 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23587 * java/awt/image/ComponentSampleModel.java
23588 (getBankIndices): Return a copy of the array, not a reference to the
23590 (getBandOffsets): Likewise.
23592 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23594 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23596 2006-04-04 Tom Tromey <tromey@redhat.com>
23598 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23600 2006-04-04 Tom Tromey <tromey@redhat.com>
23602 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23603 (MimeTypeMapper): Initialize.
23604 (fillFromFile): New method.
23605 (main): New method.
23606 (mime_strings): Updated.
23608 2006-04-04 Tom Tromey <tromey@redhat.com>
23610 * lib/gen-classlist.sh.in: Correct handle generated files.
23612 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23614 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23615 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23616 * gnu/regexp/CharIndexedCharSequence.java: New file.
23617 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23618 gnu.regexp.CharIndexedCharSequence.
23619 * gnu/regexp/CharIndexedString.java: Likewise.
23620 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23621 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23622 using CharIndexedCharSequence. Use setAnchor when the input
23623 object is already a CharIndexed.
23624 * java/util/regex/Matcher.java(inputCharIndexed): New field
23625 to be used as a parameter of the RE#getMatch.
23627 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23629 * java/awt/image/SampleModel.java: Reformatted.
23631 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23633 * java/awt/image/ComponentSampleModel.java
23634 (ComponentSampleModel(int, int, int, int, int[])): Added API
23636 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23637 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23638 of the bandOffsets and bankIndices arguments, added API documentation,
23639 * java/awt/image/SampleModel.java
23640 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23641 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23642 less than or equal to zero, added API documentation.
23644 2006-04-04 Lillian Angel <langel@redhat.com>
23646 * java/util/zip/ZipFile.java
23647 (getInputStream): Fixed to return size of ZipEntry
23648 minus the total bytes read. This guarantees that the
23649 right value is returned even if some bytes have already
23652 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23654 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23655 Remove static modifier.
23657 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23659 * java/awt/image/ComponentSampleModel.java: Reformatted.
23661 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23663 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23664 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23665 retrieval instructions to javadoc header.
23666 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23667 compressionType field.
23668 * lib/Makefile.am (propertydirs): Add javax directory.
23669 (propertyfiles): Likewise.
23670 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23673 2006-04-03 Tom Tromey <tromey@redhat.com>
23675 PR classpath/26971:
23676 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23677 (BasicAttributeEnumeration.where): Initialize to 0.
23678 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23680 2006-04-03 Lillian Angel <langel@redhat.com>
23682 PR classpath/24596 and PR classpath/26930
23683 * java/util/zip/ZipFile.java
23684 (getInputStream): Override available function for
23685 InflaterInputStream instance.
23687 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23689 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23691 2006-04-03 Tom Tromey <tromey@redhat.com>
23693 * javax/security/auth/kerberos/ServicePermission.java: New file.
23694 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23695 * javax/security/auth/kerberos/KerberosKey.java: New file.
23696 * javax/security/auth/kerberos/KeyImpl.java: New file.
23697 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23698 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23700 2006-04-03 Sven de Marothy <sven@physto.se>
23702 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23703 non-GtkImage images.
23705 2006-04-03 Mark Wielaard <mark@klomp.org>
23707 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23708 as temporary file name.
23710 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23712 * INSTALL: Documented --with-glibj-zip option.
23714 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23716 Fixed all pscan warnings.
23718 * native/jni/classpath/jcl.c (JCL_ThrowException),
23719 native/jni/classpath/jcl.h (DBG),
23720 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23721 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23722 Use "%s" format in fprintf and snprintf explicitely when printing a single
23723 string to prevent format string exploits.
23725 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23726 definition. Included jcl.h instead.
23728 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23730 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23731 (provider): Made it protected.
23732 (providerInstalled): New field.
23733 (Main): Made it a 0-arguments constructor.
23734 Removed throws clasue.
23735 (main): Removed throws clause.
23736 Call processArgs(args) after constructing instance.
23737 Call teardown() before existing.
23738 (processArgs): Added javadoc.
23739 Reduced to throws Exception.
23741 (teardown): New method.
23742 (setupCommonParams): Added javadoc.
23743 Install designated provider if not already installed.
23744 (installNewProvider): New method.
23745 (setupSigningParams): Added javadoc.
23746 Instantiate the KeyStore using type only.
23747 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23748 Removed unused imports.
23749 (start): Reduced to throws Exception.
23750 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23751 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23752 Re-organized imports.
23753 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23754 Test ignoring case.
23755 (getNames): Add "dsa" as an algorithm provided by this Factory.
23756 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23758 2006-04-03 Roman Kennke <kennke@aicas.com>
23760 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23761 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23762 Replaced g_free() with pango_item_free() to avoid problems
23763 with the allocator.
23765 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23768 * java/util/logging/Level.java (parse): Document.
23769 * java/util/logging/LogManager.java (rootLogger): Removed.
23770 (LogManager): Just set loggers to new HashMap.
23771 (getLogManager): Make synchronized. Create and init LogManager if it
23773 (static): Removed block.
23774 (MANAGER_PROPERTY): New private final string.
23775 (makeLogManager): Use new property string, move warning to
23776 createInstance() method.
23777 (CONFIG_PROPERTY): New private final string.
23778 (initLogManager): New method.
23779 (addLogger): Use Logger.root, not rootLogger.
23780 (findAncestor): Likewise.
23781 (readConfiguration): Move warning to createInstance() method.
23782 Add handlers directly to Logger.root. Warn about bad level values.
23783 (getClassProperty): Use new locateClass() method.
23784 (getInstanceProperty): Only catch specific newInstance Errors.
23785 (createInstance): Make private and takes a string to use in warning
23786 messages. Use new locateClass() method and generate appropriate
23788 (warn): New methods.
23789 (locateClass): Locates a class through the context class loader and
23790 system class loader as backup.
23791 * java/util/logging/Logger.java (root): New static final field.
23792 (Logger): Set parent to root.
23793 (setParent): Directly check root field.
23795 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23797 * java/util/Collections.java:
23798 (binarySearch(List, T)): Fixed signature.
23799 (unmodifiableList(List)): Likewise.
23800 (UnmodifiableList(List)): Fixed constructor.
23801 (UnmodifiableRandomAccessList(List)): Likewise.
23802 (unmodifiableMap(Map)): Fixed signature.
23803 (UnmodifiableMap(Map)): Fixed constructor.
23804 (unmodifiableSortedMap(Map)): Fixed signature.
23805 (UnmodifiableSortedMap(Map)): Fixed constructor.
23807 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23809 * java/io/ObjectOutputStream.java:
23810 (writeObject(Object)): Added enum support.
23811 (writeClassDescriptor(ObjectStreamClass)): Likewise.
23812 * java/io/ObjectStreamClass.java:
23813 (isEnum()): New package-private method.
23814 (setFlags(Class)): Added enum support.
23815 * java/io/ObjectStreamConstants.java:
23818 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23820 * javax/swing/text/Segment.java:
23821 (setPosition): Make exception message more verbose.
23822 * javax/swing/text/WrappedPlainView.java:
23823 (insertUpdate): Removed unneeded repaint call.
23824 (changeUpdate): Dito.
23825 (removeUpdate): Dito.
23826 (WrappedLine.determineNumLines): Do not return numLines, break
23827 from loop if no new break point has been calculated.
23828 (WrappedLine.updateDamage): Rewritten.
23829 (WrappedLine.insertUpdate): Removed unneeded update code.
23830 (WrappedLine.removeUpdate): Removed unneeded update code, added
23833 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23835 * configure.ac (with-glibj-zip): Added new option.
23837 * examples/Makefile.am,
23839 tools/Makefile.am: Adapted build classpath to use glibj.zip,
23840 in addition to classes in lib directory.
23842 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23844 * tools/gnu/classpath/tools/giop/GRMIC.java,
23845 tools/gnu/classpath/tools/giop/IorParser.java,
23846 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23847 tools/gnu/classpath/tools/giop/grmic/Generator.java,
23848 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23849 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23850 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23851 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23852 tools/gnu/classpath/tools/rmi/RMIC.java,
23853 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23854 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23855 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23856 linking exception from the licensing header.
23857 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23858 Added licensing header.
23860 2006-04-02 Mark Wielaard <mark@klomp.org>
23862 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23863 (jarsigner): Removed.
23865 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23867 * configure.ac: don't check for isnan function.
23868 * native/fdlibm/fdlibm.h: Always use the isnan macro.
23870 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23872 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23873 * tools/Makefile.am: Generate jarsigner shell script.
23874 * tools/jarsigner.sh.in: New template.
23875 * tools/.cvsignore: Added jarsigner.sh.
23877 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23879 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23880 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23881 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23882 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23883 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23884 Re-organised imports.
23886 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
23888 PR classpath/25924:
23889 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23890 Handle case where alpha==0.
23892 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23895 * javax/swing/text/Utilities.java:
23896 (getTabbedTextOffset): Added check to decrement pos not below zero,
23897 changed '>' comparison to '>='.
23898 * javax/swing/text/WrappedPlainView.java:
23899 (lineHeight): New field.
23900 (calculateBreakPosition): Throw InternalError in catch block, removed
23901 unneeded brackets, use specific version of
23902 Utilities.getTabbedTextOffset.
23903 (paint): Set various properties neccessary for drawing.
23904 (WrappedLine.paint): Removed code to set field of outer class.
23905 (WrappedLine.modelToView): Removed unneeded expression from
23907 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23908 -1 from return statement, copy only a subset into the Segment, removed
23909 special handling of mark value - just return it, simplified
23910 incrementation of currLineStart.
23911 (WrappedLine.insertUpdate): Recalculate numLines, report preference
23912 change to parent view.
23913 (WrappedLine.removeUpdate): Dito.
23915 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23917 * javax/swing/text/Segment.java:
23918 (toString): Return empty string when array is null.
23920 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23922 * javax/swing/plaf/basic/BasicTextUI.java:
23923 (damageRange): Use SwingUtilities.computeUnion to avoid
23924 unneccessary Rectangle instantiation.
23926 2006-04-01 Tom Tromey <tromey@redhat.com>
23928 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23930 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23932 * javax/swing/text/CompositeView.java: Fixed copyright header.
23933 * javax/swing/text/BoxView.java: Fixed copyright header.
23934 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23935 * javax/swing/text/Utilities.java: Fixed copyright header.
23937 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23939 * javax/swing/text/CompositeView.java:
23940 (modelToView): Throw BadLocationException when no child
23941 view can be found, restructed to throw exception as early
23943 (viewToModel): Use mutable allocation as argument for viewToModel
23944 call on child view.
23945 * javax/swing/text/BoxView.java:
23946 (getViewAtPoint): Call setBounds() r before method returns with
23947 suitable child view.
23948 * javax/swing/text/Utilities.java:
23949 (getPositionBelow): Added try-catch-block around modelToView call,
23950 added method return when BadLocationException was thrown.
23951 * javax/swing/text/WrappedPlainView.java:
23952 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23953 added note about meaning of rect.x and rect.width, removed unneeded
23954 checks, added code to not return the last possible document offset.
23956 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23958 * javax/swing/text/WrappedPlainView.java:
23959 (WrappedLine.viewToModel): Change < to <= in if-statement,
23960 removed addition of currLineStart to return value.
23961 * javax/swing/text/BoxView.java:
23962 (getViewAtPoint): Use copy instead of r for method call
23963 which modifies the second argument.
23965 2006-04-01 Mark Wielaard <mark@klomp.org>
23968 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23970 2006-03-31 Tom Tromey <tromey@redhat.com>
23972 * lib/split-for-gcj.sh: Updated for multi-field format.
23973 * lib/Makefile.am (CLEANFILES): Added classes.2.
23974 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
23975 classes.2 using multiple fields.
23977 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23979 * javax/swing/JTable.java (columnSelectionChanged):
23980 Removed print statement.
23981 * javax/swing/DefaultListSelectionModel.java
23982 (addSelectionInterval, removeSelectionInterval):
23983 Fire the difference between selection. (setLeadSelectionIndex):
23984 Fire the difference and mark current and previous lead
23985 selection indexes for repaint.
23987 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
23989 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23990 unnecessary copying.
23991 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23993 2006-03-31 Lillian Angel <langel@redhat.com>
23995 * java/awt/Component.java
23996 (translateEvent): oldKey should be the value of the
23999 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24001 * javax/swing/JTable.java (columnSelectionChanged):
24002 Treat second repaint parameter as width.
24004 2006-03-31 Lillian Angel <langel@redhat.com>
24007 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24008 (realize): New native function.
24009 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24010 Added new function declaration.
24011 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24012 (realize): New function.
24014 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
24016 * javax/swing/text/GapContent.java:
24017 (replace): Move all Position instances from gap's end to
24018 it's start before increasing the gap start.
24019 * javax/swing/plaf/basic/BasicTextAreaUI.java:
24020 (propertyChanged): Update the view only instead of
24021 indicating a document change.
24023 2006-03-31 Roman Kennke <kennke@aicas.com>
24025 * javax/swing/JTextField.java
24026 (fireActionPerformed): Put the textfields text in the action
24027 instead of the action name.
24029 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
24031 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24032 Check for null jar-file argument.
24033 (setupSigningParams): Check for null alias argument.
24035 2006-03-31 Roman Kennke <kennke@aicas.com>
24037 * javax/swing/JComponent.java
24038 (paintChildren): Split up in two cases, depending on the
24039 optimizedDrawingEnabled flag.
24040 (paintChildrenWithOverlap): New method. Paints children when
24041 not optimizedDrawingEnabled. This implements better painting
24042 algorithm for overlapping components, so that the painted
24043 regions are minimized.
24044 (paintChildrenOptimized): New method. Paints children when
24045 when optimizedDrawingEnabled. This implements a painting
24046 algorithm that is optimized for the case when all children
24047 are guaranteed to be tiled.
24049 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
24051 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24052 Attributes.putValue(String,String).
24053 (finishSigning): Likewise.
24054 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24055 (SIGNATURE_VERSION): Likewise.
24056 (readSFManifest): Use local string constant.
24057 (readMainSection): Likewise.
24058 (readVersionInfo): Likewise.
24059 * java/util/jar/Attributes.java (MANIFEST_VERSION):
24060 Redefined using JarUtils constant.
24061 (SIGNATURE_VERSION): Likewise.
24062 (putValue(Name,String)): Made it private.
24064 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24066 * javax/swing/DefaultListSelectionModel.java (fireDifference):
24067 New method. (clearSelection): Rewritten. (setSelectionInterval):
24068 Fire the difference between current and new selection.
24069 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24070 Only repaint the region, where selection has been changed.
24071 * javax/swing/plaf/basic/BasicTableUI.java
24072 (TableAction.actionPerformed): Do not change the column selection
24073 when only row selection change is wanted (and in reverse) and
24074 do not call the repaint() here.
24076 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24079 * javax/swing/DefaultComboBoxModel.java
24080 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24082 (addElement): Call list.addElement() rather than list.add(), and only
24083 update selected item if it is currently null,
24084 (removeElementAt): Update selected item, then remove the element.
24086 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24089 * java/awt/geom/Point2D.java
24090 (distanceSq(double, double)): Fixed order of arguments,
24091 (distanceSq(Point2D)): Likewise,
24092 (distance(double, double)): Likewise,
24093 (distance(Point2D)): Likewise.
24095 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24097 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24098 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24099 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24100 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24101 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24103 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24105 * javax.swing.JTable (constructor): Initialize column
24106 model column margin and table row margin before setting the
24107 table column model. (initialiseLocalVars): Do not call
24108 setIntercellSpacing.
24110 2006-03-30 Chris Burdess <dog@gnu.org>
24112 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24114 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24116 2006-03-30 Mark Wielaard <mark@klomp.org>
24119 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24120 adjust bounds. On resize invalidate and validate container.
24121 Always pass on ComponentEvents to Container super class.
24122 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24123 menuBar and pass to GtkWindowPeer super class.
24124 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24125 bounds and pass to GtkWindowPeer super class.
24126 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24127 New fields for local bounds.
24128 (getX, getY): New methods.
24129 (getWidth): Don't call into awtComponent.
24130 (getHeight): Likewise.
24131 (create): Cache local bounds.
24132 (setLocation): Documented, made protected and just call
24134 (setLocationUnlocked): Removed unused method.
24135 (setBoundsUnlocked): Likewise.
24136 (setBounds): Check whether bounds actually changed and cache local
24138 (setSize): Documented and made protected.
24139 (setResizable): Documented and cache local bounds.
24140 (postConfigureEvent): Update local bounds. Don't call awtComponent
24141 directly but post ComponentEvents.
24142 (show): Cache local bounds.
24143 (getBounds): Override to return cached bounds.
24145 2006-03-30 Lillian Angel <langel@redhat.com>
24147 * gnu/java/awt/peer/gtk/GdkGraphics.java
24148 (drawImage): Added check to prevent NPE.
24149 (drawImage): Likewise.
24150 (drawImage): Likewise.
24151 * java/awt/Choice.java
24152 (dispatchEventImpl): New function. selectedIndex was
24153 not being updated properly otherwise.
24155 2006-03-30 Roman Kennke <kennke@aicas.com>
24157 * javax/swing/JTabbedPane.java
24158 (removeTabAt): Removed debug code.
24160 2006-03-30 Roman Kennke <kennke@aicas.com>
24163 * javax/swing/plaf/basic/BasicTextUI.java
24164 (installKeyboardActions): Simply call getKeymap() and install this.
24165 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24167 2006-03-30 Roman Kennke <kennke@aicas.com>
24169 * javax/swing/JTabbedPane.java
24170 (removeTabAt): Adjust selection correctly when removing a tab
24171 before the selected tab. Also remove the component from the
24172 container, not only the tab object. Repaint and revalidate the
24173 component after the removal.
24174 (removeAll): Set selection to -1 before removing the tabs.
24176 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24178 * java/io/ObjectInputStream.java:
24179 (parseContent(byte)): Added enum support.
24180 * java/io/ObjectStreamConstants.java:
24182 (TC_MAX): Changed to new maximum, TC_ENUM.
24184 2006-03-29 Lillian Angel <langel@redhat.com>
24186 Partial fix for bug #26929
24187 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24188 (updateComponent): Removed. We want to clear the panel
24190 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24191 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24192 Should set the background to the saved background color.
24194 2006-03-29 Mark Wielaard <mark@klomp.org>
24196 Partial fix for bug #26848 (pack).
24197 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24198 Always show instances of Window.
24200 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24202 * javax/swing/JSlider.java
24203 (setPaintLabels): Only create standard labels if labelTable is null,
24204 * javax/swing/plaf/basic/BasicSliderUI.java
24205 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24206 "paintTicks" property change,
24207 (calculateThumbSize): Updated API docs,
24208 (calculateContentRect): Likewise,
24209 (calculateTrackBuffer): Take into account the lowest and highest
24210 labels when calculating buffer space,
24211 (calculateTrackRect): Include labels, if visible, in the calculation of
24212 the trackRect position,
24213 (calculateTickRect): Height is zero if ticks are not painted,
24214 (calculateLabelRect): Use max dimensions of actual labels,
24215 (getWidthOfHighValueLabel): Use preferred size,
24216 (getWidthOfLowValueLabel): Likewise,
24217 (getHeightOfHighValueLabel): Likewise,
24218 (getHeightOfLowValueLabel): Likewise,
24219 (drawInverted): Just return slider setting,
24220 (getHighestValueLabel): Updated API docs,
24221 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24222 to xPositionForValue() and yPositionForValue(),
24223 (paintHorizontalLabel): Removed full qualification of class name,
24224 (paintVerticalLabel): Likewise,
24225 (xPositionForValue): Reimplemented,
24226 (yPositionForValue): Reimplemented,
24227 * javax/swing/plaf/metal/MetalSliderUI.java
24228 (paintTrack): Made track one pixel longer.
24230 2006-03-29 Tom Tromey <tromey@redhat.com>
24233 * tools/Makefile.am (JCOMPILER): Added encoding options.
24234 * examples/Makefile.am (JCOMPILER): Added encoding options.
24236 2006-03-29 Gary Benson <gbenson@redhat.com>
24238 Partial fix for PR classpath/24895
24239 * java/io/FilePermission.java (implies): Canonicalize paths.
24241 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24244 * javax/swing/text/GapContent.java:
24245 (replace): Added call to resetMarksAtZero.
24247 2006-03-29 Roman Kennke <kennke@aicas.com>
24250 * javax/swing/plaf/basic/BasicMenuItemUI.java
24251 (cachedRect): New field.
24252 (BasicMenuItemUI): Initialize cachedRect field.
24253 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24254 to determine layout. Store maximum accelerator and text width
24255 in client properties of parent to allow correct alignment
24256 of accelerators among menu items of one menu.
24257 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24258 method. Align accelerators according to the values calculated
24259 in getPreferredMenuItemSize.
24260 (getAcceleratorString) New helper method.
24261 (layoutMenuItem): New helper method.
24263 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24265 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24266 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24267 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24269 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24270 readExternal, writeExternal): New methods.
24271 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24272 two stages, invokeCommon(Remote, ...) and
24273 invokeCommen(UnicastConnection, ...).
24274 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24275 also the ActivatableRef. toString(): Documented.
24276 * gnu/java/rmi/server/ActivatableRef.java,
24277 tools/gnu/classpath/tools/rmi/Persistent.java,
24278 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24279 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24280 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24281 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24282 tools/gnu/classpath/tools/rmi/RMID.java,
24283 tools/gnu/classpath/tools/rmi/RMID.txt,
24284 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24285 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24286 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24287 tools/gnu/classpath/tools/rmi/registry/package.html,
24288 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24289 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24291 * tools/README: Documented.
24292 * NEWS: Added entry about the activation.
24294 2006-03-29 Roman Kennke <kennke@aicas.com>
24297 * javax/swing/plaf/basic/BasicMenuItemUI.java
24298 (viewRect): New field.
24299 (textRect): New field.
24300 (accelRect): New field.
24301 (iconRect): New field.
24302 (arrowIconRect): New field.
24303 (checkIconRect): New field.
24304 (BasicMenuItemUI): Initialize new fields.
24305 (paintMenuItem): Rewritten to correctly layout and paint
24306 the menu item in a more straightforward way. Use cached rectangle
24307 objects for layout.
24308 (paintAccelerator): Pulled inside the paintMenuItem method.
24310 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24312 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24313 Do not use initCause with UnexpectedException.
24314 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24317 2006-03-29 Mark Wielaard <mark@klomp.org>
24319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24320 (setCursorID): Removed unused static variable.
24322 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24324 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24326 2006-03-29 Mark Wielaard <mark@klomp.org>
24329 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24330 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24332 2006-03-28 Roman Kennke <kennke@aicas.com>
24334 * javax/swing/UIManager.java
24335 (installLookAndFeel): Implemented.
24336 (setInstalledLookAndFeels): Implemented.
24338 2006-03-28 Roman Kennke <kennke@aicas.com>
24340 * javax/swing/plaf/metal/MetalButtonUI.java
24341 (update): Paint gradient only when the background color
24342 is not a UIResource and if the button is neither armed nor
24343 pressed and if the button is contentAreaFilled.
24345 2006-03-28 Roman Kennke <kennke@aicas.com>
24347 * javax/swing/JLayeredPane.java
24348 (addImpl): Repaint added component.
24350 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24352 * java/util/regex/Matcher.java: Reverted.
24354 2006-03-28 Roman Kennke <kennke@aicas.com>
24356 * javax/swing/text/AsyncBoxView.java
24357 (setEstimatedMajorSpan): Made method protected.
24358 (getEstimatedMajorSpan): Made method protected.
24359 * javax/swing/text/BoxView.java
24360 (flipEastAndWestAtEnds): Fixed typo.
24361 * javax/swing/text/InternationalFormatter.java
24362 (getActions): Made method protected.
24363 * javax/swing/text/Position.java
24364 (Bias): Made class final.
24365 * javax/swing/text/html/HTML.java
24366 (MEDIA): Made field package private. Not specified.
24367 (NOBR): Made field package private. Not specified.
24368 * javax/swing/text/html/NullView.java
24369 Made class package private.
24370 * javax/swing/text/html/parser/Entity.java
24371 Made class non-serializable as specified.
24373 2006-03-28 Roman Kennke <kennke@aicas.com>
24375 * javax/swing/plaf/metal/MetalButtonUI.java
24376 (update): Don't paint gradient if the background color is
24377 no UIResource. Removed double getModel() call. Don't check for
24380 2006-03-28 Roman Kennke <kennke@aicas.com>
24382 * javax/swing/plaf/basic/BasicMenuItemUI.java
24383 (paint): Call paintMenuItem with the selectionBackground as
24385 (paintBackground): Fixed the condition and color for the background
24388 2006-03-28 Roman Kennke <kennke@aicas.com>
24390 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24391 (tabsOpaque): New field.
24392 (paintLeftTabBorder): Paint some parts only when the tabs are
24393 opaque. Determine the tab background using the paintLeftTabBorder()
24395 (paintRightTabBorder): Likewise.
24396 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24398 2006-03-27 Tom Tromey <tromey@redhat.com>
24400 PR classpath/25189:
24401 * java/lang/Enum.java (valueOf): Ensure that the named field
24402 is an enum constant.
24403 (compareTo): Check class of enum.
24405 2006-03-27 Tom Tromey <tromey@redhat.com>
24407 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24409 2006-03-27 Tom Tromey <tromey@redhat.com>
24411 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24413 (getModifiersInternal): Renamed from getModifiers.
24414 (getModifiers): New method.
24415 (isBridge): Likewise.
24416 (isSynthetic): Likewise.
24417 (isVarArgs): Likewise.
24418 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24420 (getModifiersInternal): Renamed from getModifiers.
24421 (getModifiers): New method.
24422 (isSynthetic): Likewise.
24423 (isEnumConstant): Likewise.
24424 * vm/reference/java/lang/reflect/Constructor.java
24425 (getModifiersInternal): Renamed from getModifiers.
24426 (getModifiers): New method
24427 (CONSTRUCTOR_MODIFIERS): New constant.
24428 (isSynthetic): New method.
24429 (isVarArgs): Likewise.
24430 * java/lang/reflect/Member.java (isSynthetic): New method.
24432 2006-03-28 Tom Tromey <tromey@redhat.com>
24434 * java/net/Proxy.java (TYPE): Added missing ";".
24436 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24438 * java/math/RoundingMode.java:
24439 Fixed serialization UID.
24440 * java/net/Proxy.java:
24443 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24445 * java/io/CharArrayWriter.java:
24446 (append(char)): Documented.
24447 (append(CharSequence)): Likewise.
24448 (append(CharSequence,int,int)): Likewise.
24450 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24452 * vm/reference/java/lang/reflect/Constructor.java
24453 (getTypeParameters): Check return value of getSignature for null.
24454 * vm/reference/java/lang/reflect/Method.java
24455 (getTypeParameters): Check return value of getSignature for null.
24457 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24459 * java/rmi/activation/ActivationGroup_Stub.java:
24462 2006-03-27 Tom Tromey <tromey@redhat.com>
24464 * java/io/CharArrayWriter.java (append): New overloads.
24466 2006-03-27 Lillian Angel <langel@redhat.com>
24468 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24469 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24470 Added check for colormap. Prevents assertion error.
24471 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24473 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24475 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24477 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24479 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24482 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24484 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24485 AC_MSG_ERROR instead of echoing the error message
24486 that no compiler has been found manually.
24488 2006-03-27 Roman Kennke <kennke@aicas.com>
24490 * javax/swing/RepaintManager.java
24491 (commitBuffer): Use simple drawImage() method instead of the
24494 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24496 * javax/swing/text/PlainView.java:
24497 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24498 for painting the selected line.
24500 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24502 * javax/swing/plaf/basic/BasicSliderUI.java
24503 (getThumbSize): Removed TODO and updated API docs.
24505 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24507 * javax/swing/text/DefaultCaret.java:
24508 (mouseClicked): Word selection rewritten.
24509 (paint): Draw line inside the bounding rectangle.
24510 (damage): Retrieve caret height from line height.
24512 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24514 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24516 Check for -help option.
24517 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24519 2006-03-27 Roman Kennke <kennke@aicas.com>
24521 * javax/swing/text/FieldView.java
24522 (getPreferredSpan): Don't include trailing newline in
24524 * javax/swing/text/PlainView.java
24525 (drawLine): Don't include trailing newline.
24526 (determineMaxLineLength): Don't include trailing newline.
24527 (getLineBuffer): Made method final.
24529 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24531 * javax/swing/JSlider.java
24532 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24533 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24534 NotImplementedException,
24535 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24537 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24539 * java/lang/ProcessBuilder.java:
24542 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24544 * gnu/java/net/protocol/http/Headers.java:
24545 Match layout of file on HEAD.
24546 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24548 * java/awt/datatransfer/DataFlavor.java
24551 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24553 * gnu/java/security/jce/hash/HavalSpi.java,
24554 * gnu/java/security/jce/hash/MD2Spi.java,
24555 * gnu/java/security/jce/hash/MD4Spi.java,
24556 * gnu/java/security/jce/hash/MD5Spi.java,
24557 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24558 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24559 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24560 * gnu/java/security/jce/hash/Sha160Spi.java,
24561 * gnu/java/security/jce/hash/Sha256Spi.java,
24562 * gnu/java/security/jce/hash/Sha384Spi.java,
24563 * gnu/java/security/jce/hash/Sha512Spi.java,
24564 * gnu/java/security/jce/hash/TigerSpi.java,
24565 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24566 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24567 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24568 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24569 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24570 * gnu/java/security/jce/sig/SignatureAdapter.java,
24571 * gnu/java/security/key/IKeyPairCodec.java,
24572 * gnu/java/security/key/IKeyPairGenerator.java,
24573 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24574 * gnu/java/security/key/dss/DSSKey.java,
24575 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24576 * gnu/java/security/key/dss/DSSPrivateKey.java,
24577 * gnu/java/security/key/dss/DSSPublicKey.java,
24578 * gnu/java/security/key/dss/FIPS186.java,
24579 * gnu/java/security/key/rsa/GnuRSAKey.java,
24580 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24581 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24582 * gnu/java/security/sig/ISignature.java,
24583 * gnu/java/security/sig/ISignatureCodec.java,
24584 * gnu/java/security/sig/dss/DSSSignature.java,
24585 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24586 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24587 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24588 * gnu/java/security/util/Util.java:
24589 Remove CVS revision tags.
24591 2006-03-26 Tom Tromey <tromey@redhat.com>
24593 * java/io/InputStream.java (InputStream): Implements Closeable.
24595 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24597 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24599 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24600 getAnchor): New methods.
24601 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24602 getAnchor): New methods.
24603 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24604 getAnchor): New methods.
24605 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24606 getAnchor): New methods.
24607 * gnu/regexp/REMatch.java(start1): New field.
24608 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24609 (match): set the starting position to start1[] instead of start[],
24610 (getMatchImpl): Set the found REMatch to the input,
24611 (makeCharIndexed): Made public.
24612 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24613 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24614 set the value of start[] copying from start1[].
24615 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24617 * java/util/regex/Matcher.java(inputCharIndexed): New field
24618 to be used as a parameter of the RE#getMatch.
24620 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24622 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24623 Documented the default jre spawning strategy (none).
24624 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24625 getSystem): Obtain the acticivation system from the
24626 DefaultActivationSystem.
24628 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24630 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24631 Ask user for keystore password if one was not provided.
24633 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24635 * tools/README: Added Security tools section.
24636 Documented the jarsigner tool.
24638 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24640 * javax/swing/JScrollBar.java
24641 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24642 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24643 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24644 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24645 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24646 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24647 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24648 (getAccessibleContext): Updated API docs.
24650 2006-03-25 Tom Tromey <tromey@redhat.com>
24652 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24653 change or if generator script changes.
24655 2006-03-25 Tom Tromey <tromey@redhat.com>
24657 * javax/naming/ldap/StartTlsRequest.java: New file.
24658 * javax/naming/ldap/StartTlsResponse.java: New file.
24660 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24662 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24663 to validate all components of a resource path.
24664 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24665 allowed to walk through every component of a resource path.
24667 2006-03-25 Michael Koch <konqueror@gmx.de>
24669 * NEWS: Added item for CLDR 1.3 update.
24671 2006-03-25 Michael Koch <konqueror@gmx.de>
24673 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24674 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24675 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24676 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24677 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24678 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24681 2006-03-25 Michael Koch <konqueror@gmx.de>
24683 * resource/gnu/java/locale/LocaleInformation_az.properties,
24684 resource/gnu/java/locale/LocaleInformation_bs.properties,
24685 resource/gnu/java/locale/LocaleInformation_byn.properties,
24686 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24687 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24688 resource/gnu/java/locale/LocaleInformation_gez.properties,
24689 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24690 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24691 resource/gnu/java/locale/LocaleInformation_haw.properties,
24692 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24693 resource/gnu/java/locale/LocaleInformation_kok.properties,
24694 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24695 resource/gnu/java/locale/LocaleInformation_sid.properties,
24696 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24697 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24698 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24699 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24700 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24701 resource/gnu/java/locale/LocaleInformation_syr.properties,
24702 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24703 resource/gnu/java/locale/LocaleInformation_tig.properties,
24704 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24705 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24706 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24707 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24708 resource/gnu/java/locale/LocaleInformation_wal.properties,
24709 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24712 2006-03-25 Michael Koch <konqueror@gmx.de>
24714 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24715 resource/gnu/java/locale/LocaleInformation_kn.properties,
24716 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24717 resource/gnu/java/locale/LocaleInformation_ko.properties,
24718 resource/gnu/java/locale/LocaleInformation_sl.properties,
24719 resource/gnu/java/locale/LocaleInformation_so.properties,
24720 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24721 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24722 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24723 resource/gnu/java/locale/LocaleInformation_sr.properties:
24724 Random fixes I forgot to commit before.
24726 2006-03-25 Michael Koch <konqueror@gmx.de>
24728 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24729 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24730 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24731 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24732 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24733 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24734 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24735 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24736 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24737 resource/gnu/java/locale/LocaleInformation_en.properties,
24738 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24739 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24740 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24741 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24742 resource/gnu/java/locale/LocaleInformation_fa.properties,
24743 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24744 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24745 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24746 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24747 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24748 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24749 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24750 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24751 resource/gnu/java/locale/LocaleInformation_pa.properties,
24752 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24753 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24754 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24755 resource/gnu/java/locale/LocaleInformation_sa.properties,
24756 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24757 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24758 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24759 Updated currency formats.
24761 2006-03-25 Roman Kennke <kennke@aicas.com>
24763 * javax/swing/text/AbstractDocument.java
24764 (getAttributeContext): Made method final.
24765 (getCurrentWriter): Likewise.
24766 (getEndPosition): Likewise.
24767 (getProperty): Likewise.
24768 (getStartPosition): Likewise.
24769 (putProperty): Likewise.
24770 (readLock): Likewise.
24771 (readUnlock): Likewise.
24772 (writeLock): Likewise.
24773 (writeUnlock): Likewise.
24775 2006-03-25 Roman Kennke <kennke@aicas.com>
24777 * javax/swing/InputMap.java
24778 (allKeys): Check if parent keys is null.
24779 * javax/swing/KeyboardManager.java
24780 (registerEntireMap): Also register map's parent keys.
24781 * javax/swing/plaf/metal/MetalRootPaneUI.java
24782 (propertyChange): Also call super.propertyChange().
24784 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24786 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24787 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24788 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24789 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24790 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24791 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24793 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24795 * gnu/java/util/jar/JarUtils.java: New file.
24796 * java/util/jar/Manifest.java (CRLF): Removed.
24797 (read_main_section): Likewise.
24798 (read_version_info): Likewise.
24799 (expect_header(String,BufferedReader)): Likewise.
24800 (expect_header(String,BufferedReader,String)): Likewise.
24801 (read_header_value): Likewise.
24802 (read_attributes): Likewise.
24803 (read_attribute): Likewise.
24804 (read_individual_sections): Likewise.
24805 (read_section_name): Likewise.
24806 (write_main_section): Likewise.
24807 (write_version_info): Likewise.
24808 (write_header): Likewise.
24809 (write_main_attributes): Likewise.
24810 (write_attribute_entry): Likewise.
24811 (write_individual_sections): Likewise.
24812 (write_entry_attributes): Likewise.
24813 (read): use JarUtils.
24816 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24818 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24821 (SignerInfo(BERReader)): Updated javadoc.
24823 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24825 (encode): New method.
24826 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24827 (PKCS7_DATA): Removed.
24830 (PKCS7SignedData(BERReader)): Updated javadoc.
24832 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24834 (encode): New method.
24835 * gnu/java/security/pkcs/PKCS7Data.java: New file.
24836 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24837 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24838 (decodePrivateKey): Decode x from an OCTET STRING.
24839 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24840 (toString): New method.
24841 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24843 (toString): New method.
24844 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24845 (toString): New method.
24846 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24848 2006-03-25 Roman Kennke <kennke@aicas.com>
24850 * java/util/GregorianCalender.java
24851 (computeTime): Fix comparison to correctly calculate the
24854 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
24857 * java/awt/Window.java:
24858 (setFocusCycleRoot): New overriden method.
24859 (isFocusCycleRoot): Likewise.
24860 (getFocusCycleRootAncestor): Likewise.
24861 * java/awt/Container.java:
24862 (getFocusTraversalPolicy): Check also for anchestor == null.
24864 2006-03-25 Mark Wielaard <mark@klomp.org>
24866 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24867 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24870 2006-03-24 Tom Tromey <tromey@redhat.com>
24872 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24874 (writeChar): Removed useless cast.
24875 (writeChars(String)): Implemented.
24876 (writeDouble): Rewrote.
24877 (writeFloat): Likewise.
24878 (writeUTF): Implemented.
24879 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24882 2006-03-24 Roman Kennke <kennke@aicas.com>
24884 * javax/swing/JButton.java
24885 (def): Replaced field with defaultCapable field.
24886 (is_def): Removed field.
24887 (JButton): Initialize defaultCapable with true.
24888 (isDefaultButton): Documented and implemented method by querying
24889 the button's root pane if present.
24890 (isDefaultCapable): Changed def field to defaultCapable.
24891 Added documentation.
24892 (paramString): Call isDefaultButton() instead of accessing field,
24894 (setDefaultCapable): Changed def field to defaultCapable.
24895 Added documentation.
24896 * javax/swing/JRootPane.java
24897 (setDefaultButton): Only change the default button if the
24898 new button is defaultCapable.
24899 * javax/swing/plaf/basic/BasicRootPaneUI.java
24900 (DefaultPressAction): New class.
24901 (DefaultReleaseAction): New class.
24902 (installKeyboardActions): Implemented.
24903 (uninstallKeyboardActions): Implemented.
24904 (propertyChange): Implemented.
24905 * javax/swing/plaf/metal/MetalBorders.java
24906 (ButtonBorder.paintBorder): 'Outsourced' default theme
24907 painting to paintDefaultButtonBorder().
24908 (ButtonBorder.paintDefaultButtonBorder): New helper method
24909 to paint the border in the default theme. This also fixes
24910 painting of the border for default buttons.
24911 (ButtonBorder.paintOceanButtonBorder): Added support for
24912 default button painting. Fixed border for pressed/default state.
24913 * javax/swing/plaf/metal/MetalButtonUI.java
24914 (update): Only paint gradient when in OceanTheme and when the
24915 button is not armed.
24917 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24919 * gnu/java/rmi/activation/ActivationSystemTransient.java:
24920 Inherit from Activator.
24922 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24924 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24925 Print debug message if debug flag is set.
24926 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24927 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24928 detail, do not call iniCause(). (exportClass): New method.
24929 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24930 Ignore null (bootstrap) class loader.
24931 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24932 buildMethodHash, findStubSkelClass, getHelperClass): Changed
24933 visibility to protected.
24934 * java/rmi/activation/Activatable.java (export, register): Rewritten.
24935 (toStub): New method.
24936 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24937 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
24938 Explained property java.rmi.activation.port.
24940 2006-03-24 Tom Tromey <tromey@redhat.com>
24942 * .externalToolBuilders/CreateLocaleData.launch: Updated.
24943 * gnu/java/locale/.cvsignore: New file.
24944 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24945 * java/util/Locale.java (getAvailableLocales): Clone result.
24946 (getISOCountries): Likewise.
24947 (getISOLanguages): Likewise.
24948 * scripts/generate-locale-list.sh: Make class public. Added new
24950 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24951 (getLocaleCount): Likewise.
24952 * java/text/Collator.java (getInstance): Javadoc typo fix.
24953 (getAvailableLocales): Wrote.
24955 2006-03-24 Roman Kennke <kennke@aicas.com>
24957 * javax/swing/JTabbedPane.java
24958 (getSelectedComponent): Return null when no component is
24961 2006-03-24 Mark Wielaard <mark@klomp.org>
24963 * NEWS: Add cursor and selection improvements.
24965 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24967 * java/awt/Component.java
24968 (getAccessibleName): Just return accessibleName,
24969 * javax/swing/AbstractButton.java
24970 (getAccessibleStateSet): Mark as stub,
24971 (getAccessibleName): Implemented,
24972 (getAcessibleIcon): Mark as stub,
24973 (getAccessibleRelationSet): Likewise,
24974 (getAccessibleAction): Likewise,
24975 (getAccessibleValue): Likewise,
24976 (getAccessibleActionCount): Likewise,
24977 (getAccessibleActionDescription): Likewise,
24978 (doAccessibleAction): Likewise,
24979 (getCurrentAccessibleValue): Likewise,
24980 (setCurrentAccessibleValue): Likewise,
24981 (getMinimumAccessibleValue): Likewise,
24982 (getMaximumAccessibleValue): Likewise,
24983 (getAccessibleText): Likewise,
24984 (getIndexAtPoint): Likewise,
24985 (getCharacterBounds): Likewise,
24986 (getCharCount): Likewise,
24987 (getCaretPosition): Likewise,
24988 (getAtIndex): Likewise,
24989 (getAfterIndex): Likewise,
24990 (getBeforeIndex): Likewise,
24991 (getCharacterAttribute): Likewise,
24992 (getSelectionStart): Likewise,
24993 (getSelectionEnd): Likewise,
24994 (getSelectedText): Likewise,
24995 (getTextRectangle): Likewise,
24996 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24997 (getIconTextGap): Added @since 1.4,
24998 (setContentAreaFilled): Reordered code to make event sequence match
24999 reference implementation,
25000 * javax/swing/JButton.java
25001 (getSelectedObjects): Removed,
25002 *javax/swing/JComponent.java
25003 (getAccessibleName): Call super.
25005 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25007 * javax/swing/JProgressBar.java
25008 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25009 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25010 (AccessibleJProgressBar.getAccessibleValue): Implemented,
25011 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25012 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25013 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25014 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25015 (getAccessibleContext): Added API docs.
25017 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25019 * javax/swing/plaf/basic/BasicTextUI.java:
25020 (FocusListener.focusLost): Put current selection into the system
25023 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
25025 * java/awt/Component.java:
25026 (processMouseEvent): Remove call to consume event.
25027 (dispatchEventImpl): Handle specific events first, do focus request
25028 only when mouse event was not yet consumed.
25029 * javax/swing/text/DefaultCaret.java:
25030 (mousePressed): Rewritten.
25031 (setDot): Changed order of operations.
25034 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25036 * javax/swing/JComponent.java
25037 (AccessibleJComponent.changeSupport): Removed field,
25038 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25039 (AccessibleJComponent.addPropertyChangeListener): Call super,
25040 (AccessibleJComponent.removePropertyChangeListener): Likewise,
25041 * javax/swing/JSlider.java
25042 (AccessibleJSlider.getAccessibleStateSet): Implemented,
25043 (AccessibleJSlider.getAccessibleRole): Likewise,
25044 (AccessibleJSlider.getAccessibleValue): Likewise,
25045 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25046 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25047 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25048 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25049 (getAccessibleContext): Added API docs.
25051 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25053 * gnu/java/rmi/activation/ActivationSystemTransient.java
25054 (debug): Made public. (constructor): Made protected.
25055 (activate, getActivationDesc): Throw more informative exceptions.
25056 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25058 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
25060 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25062 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25064 * java/rmi/activation/Activatable.java (obtainId): Use the activation
25065 system, passed in the activation descriptor field.
25066 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25067 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25068 to package private final. (equals): Compare uid, not the system.
25069 (hashCode): Forward to uid.hashCode(). toString(): New method.
25070 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25071 Rewritten. (equals): Compare UID only. toString(): New method.
25072 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25073 UID (space). (hashCode, toString): Rewritten.
25074 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25075 New method. (invoke): Treat null as an empty array for parameters.
25076 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25077 Include count, do not include the static machineId.
25079 2006-03-23 Tom Tromey <tromey@redhat.com>
25081 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25083 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25085 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25086 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25087 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25088 (force): New field. (setForce): New method. (compile): Handle -force.
25089 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25090 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25092 2006-03-23 Roman Kennke <kennke@aicas.com>
25094 * javax/swing/JTabbedPane.java
25095 (Page.getBackground): Return the JTabbedPane's background,
25096 rather than the page's component background.
25097 (Page.getForeground): Return the JTabbedPane's foreground,
25098 rather than the page's component foreground.
25099 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25100 (uninstallUI): Don't set colors to null.
25101 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25102 (paintTabBackground): Correctly determine the tab background.
25103 (getUnselectedBackground): New helper method to
25104 handle the UI property 'TabbedPane.unselectedBackground'
25107 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25109 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25110 (BorderListener.showingResizeCursor): New field.
25111 (BorderListener.mouseMoved, BorderListner.mouseExited):
25114 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25116 * javax/swing/JComboBox.java
25117 (selectWithKeyChar): Mark as stub,
25118 * javax/swing/JFileChooser.java
25119 (setDragEnabled): Mark as stub,
25120 (getDragEnabled): Likewise,
25121 * javax/swing/JSlider.java
25122 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25123 (AccessibleJSlider.getAccessibleRole): Likewise,
25124 (AccessibleJSlider.getAccessibleValue): Likewise,
25125 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25126 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25127 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25128 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25129 * javax/swing/UIManager.java
25130 (installLookAndFeel): Mark as stub,
25131 (setInstalledLookAndFeels): Likewise.
25133 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25135 * javax/swing/filechooser/UnixFileSystemView.java
25136 (getSystemDisplayName): Mark as stub,
25137 (getSystemIcon): Likewise,
25138 (getSystemTypeDescription): Likewise.
25140 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25142 * javax/swing/tree/AbstractLayoutCache.java
25143 (getNodeDimensions): Mark as stub,
25144 (getPreferredHeight): Likewise,
25145 (getPreferredWidth): Likewise,
25146 (getRowsForPaths): Likewise,
25147 (isFixedRowHeight): Likewise,
25148 * javax/swing/tree/DefaultTreeModel.java
25149 (reload()): Mark as stub,
25150 (reload(TreeNode)): Likewise,
25151 (nodeStructureChanged): Likewise,
25152 * javax/swing/tree/DefaultTreeSelectionModel.java
25153 (clone): Mark as stub,
25154 (setRowMapper): Likewise,
25155 (setSelectionPaths): Likewise,
25156 (isRowSelected): Likewise,
25157 (resetRowSelection): Likewise,
25158 (insureRowContinuity): Likewise,
25159 (arePathsContiguous): Likewise,
25160 (canPathsBeAdded): Likewise,
25161 (canPathsBeRemoved): Likewise,
25162 (notifyPathChange): Likewise,
25163 (updateLeadIndex): Likewise,
25164 (insureUniqueness): Likewise,
25165 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25167 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25169 2006-03-22 Tom Tromey <tromey@redhat.com>
25171 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25173 (getStaticAttributeKey): Likewise.
25174 (readAttributeSet): Likewise.
25175 (writeAttributeSet): Likewise.
25176 (readAttributes): Likewise.
25177 (writeAttributes): Likewise.
25178 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25180 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25182 (fireChangedUpdate): Likewise.
25185 (handleEndOfLineString): Likewise.
25186 (textAreaContent): Likewise.
25187 (preContent): Likewise.
25188 (addSpecialElement): Likewise.
25189 (setInnerHTML): Likewise.
25190 (setOuterHTML): Likewise.
25191 (insertBeforeStart): Likewise.
25192 (insertBeforeEnd): Likewise.
25193 (insertAfterEnd): Likewise.
25194 (insertAfterStart): Likewise.
25195 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25196 Mark all methods as stub.s
25197 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25199 (paintHorizontalSeparators): Likewise.
25200 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25202 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25204 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25206 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25209 2006-03-22 Mark Wielaard <mark@klomp.org>
25211 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25213 2006-03-22 Mark Wielaard <mark@klomp.org>
25216 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25217 Takes GtkImage, x and y coordinates.
25218 (gtkWidgetSetCursorUnlocked): Likewise.
25219 (GtkComponentPeer): Set cursor when set.
25220 (setCursor): Handle GtkCursor.
25221 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25223 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25224 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25225 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25226 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25228 2006-03-23 Roman Kennke <kennke@aicas.com>
25231 * gnu/java/security/Registry.java
25232 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25233 * gnu/javax/crypto/pad/PadFactory.java
25234 (getInstance): For PKCS#5, also return PKCS#7 pad
25236 (getNames): Added PKCS#5.
25237 * javax/crypto/KeyGenerator.java
25238 (getInstance): Initialize key generator before returning
25241 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25243 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25244 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25245 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25246 if COMMENTS is set.
25248 2006-03-22 Tom Tromey <tromey@redhat.com>
25250 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25251 (getBoolean): Likewise.
25252 (getString): Likewise.
25253 (getIcon): Likewise.
25255 2006-03-22 Mark Wielaard <mark@klomp.org>
25258 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25259 (GLightweightPeer(Component)): Install MouseListener.
25260 (setCursor): Implement.
25261 (mouseEntered): New method.
25263 2006-03-22 Tom Tromey <tromey@redhat.com>
25265 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25267 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25269 (getFontForState): Likewise.
25270 (getInsets): Added 'result' argument.
25271 (getPainter): Renamed.
25273 2006-03-22 Tom Tromey <tromey@redhat.com>
25275 * javax/swing/plaf/synth/SynthPainter.java
25276 (paintScrollBarThumbBackground): Added 'orientation' argument.
25277 (paintScrollBarThumbBorder): Likewise.
25278 (paintSliderThumbBackground): Likewise.
25279 (paintSliderThumbBorder): Likewise.
25280 (paintTabbedPaneTabBackground): Added 'index' argument.
25281 (paintTabbedPaneTabBorder): Likewise.
25283 2006-03-22 Tom Tromey <tromey@redhat.com>
25285 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25286 (toString): New method.
25288 2006-03-22 Tom Tromey <tromey@redhat.com>
25290 * doc/hacking.texinfo (Source Code Style Guide): Mention
25291 NotImplementedException.
25292 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25293 (flushBefore): Mark as stub.
25295 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25297 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25300 (writeBit): Likewise.
25301 (writeChars): Likewise.
25302 (writeUTF): Likewise.
25303 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25306 * java/net/URLConnection.java (getContent): Mark as stub.
25307 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25308 * java/awt/TexturePaint.java (createContext): Mark as stub.
25309 (getTransparency): Mark as stub.
25310 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25311 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25312 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25314 (getImageCapabilities): Likewise.
25315 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25316 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25317 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25319 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25320 (getAdvanceBetween): Likewise.
25321 (getLayout): Likewise.
25322 (insertChar): Likewise.
25323 (getLineBreakIndex): Likewise.
25324 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25325 (getAdvance): Likewise.
25326 (getAscent): Likewise.
25327 (getDescent): Likewise.
25328 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25329 (insertChar): Likewise.
25330 (nextLayout): Likewise.
25331 (nextLayout): Likewise.
25332 (nextOffset): Likewise.
25333 (nextOffset): Likewise.
25334 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25335 (equals): Likewise.
25336 (getAdvance): Likewise.
25337 (getAscent): Likewise.
25338 (getBounds): Likewise.
25339 (getDescent): Likewise.
25340 (hashCode): Likewise.
25341 (ImageGraphicAttribute): Likewise.
25342 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25343 (getJustificationInfo): Likewise.
25344 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25345 (getGlyphCharIndices): Likewise.
25346 (getGlyphOutline): Likewise.
25347 (getGlyphPixelBounds): Likewise.
25348 (getLayoutFlags): Likewise.
25349 (getPixelBounds): Likewise.
25350 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25351 (getRSB): Likewise.
25352 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25353 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25354 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25356 (resetRecognizer): Likewise.
25357 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25359 (getNativesForFlavor): Likewise.
25360 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25361 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25363 (getRegion): Likewise.
25364 (createUI): Likewise.
25365 (initialize): Likewise.
25366 (uninitialize): Likewise.
25367 (getDefaults): Likewise.
25369 (shouldUpdateStyleOnAncestorChanged): Likewise.
25370 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25372 (getPreferredSize): Likewise.
25373 (getMaximumSize): Likewise.
25374 (paintText): Likewise.
25375 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25377 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25379 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25381 * java/io/ObjectStreamConstants.java: Added since tag.
25382 (PROTOCOL_VERSION_1): Added javadoc.
25383 (PROTOCOL_VERSION_2): Likewise.
25384 * java/io/ObjectOutputStream.java:
25385 (setDefaultProtocolVersion): Removed.
25386 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25388 2006-03-21 Lillian Angel <langel@redhat.com>
25390 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25391 (BMPInfoHeader): Removed debug lines.
25392 * gnu/javax/imageio/bmp/EncodeRLE4.java
25393 (encode): Implemented.
25394 (uncompress): New function implemented to
25395 uncompress the image before encoding.
25396 * gnu/javax/imageio/bmp/EncodeRLE8.java
25397 (encode): Implemented.
25398 (uncompress): New function implemented to
25399 uncompress the image before encoding.
25401 2006-03-21 Roman Kennke <kennke@aicas.com>
25403 * javax/swing/text/html/FormView.java
25404 (getImageData): New helper method.
25406 2006-03-21 Tom Tromey <tromey@redhat.com>
25408 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25410 (Unsafe): Now final.
25412 2006-03-21 Roman Kennke <kennke@aicas.com>
25414 * javax/swing/text/html/FormView.java
25415 (MouseEventListener): New inner class.
25417 2006-03-21 Roman Kennke <kennke@aicas.com>
25419 * javax/swing/text/html/ListView.java: New file.
25421 2006-03-21 Tom Tromey <tromey@redhat.com>
25423 * java/text/Bidi.java: Completed.
25425 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25427 * javax/swing/JTable.java:
25428 (columnAtPoint): Removed the null check, this method should throw a NPE
25429 if the argument is null.
25431 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25433 * javax/swing/text/DefaultHighlighter.java:
25434 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25436 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25438 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25439 the textcomponent having a selection.
25440 (clearSelection): Clear 'componentWithSelection' variable.
25441 (handleSelection): Clear selection of current component having a
25442 selection before setting a new selection in another component.
25443 (mouseDragged): Only react on left mouse button.
25444 (mouseClicked): Only react on left mouse button.
25446 2006-03-21 Roman Kennke <kennke@aicas.com>
25448 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25449 (paintContentBorderTopEdge): Implemented.
25450 (paintContentBorderBottomEdge): Implemented.
25451 (paintContentBorderLeftEdge): Implemented.
25452 (paintContentBorderRightEdge): Implemented.
25453 (isLastTabInRun): New helper method.
25455 2006-03-21 Roman Kennke <kennke@aicas.com>
25457 * javax/swing/JTabbedPane.java
25458 (Page.getForeground): Fall back to returning the tabbed pane's
25459 foreground if no foreground has been exclicitly set.
25461 2006-03-21 Roman Kennke <kennke@aicas.com>
25463 * javax/swing/plaf/metal/MetalComboBoxButton.java
25464 (setEnabled): Update colors of button correctly.
25465 * javax/swing/plaf/metal/MetalComboBoxUI.java
25466 (MetalPropertyChangeListener.propertyChange): Update the colors
25467 of the list and the button when any of the color properties
25468 of the ComboBox change.
25470 2006-03-21 Roman Kennke <kennke@aicas.com>
25472 * javax/swing/plaf/basic/BasicButtonUI.java
25473 (uninstallDefaults): Only nullify button colors if they are
25474 not UIResource instances.
25476 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25478 * javax/swing/JComponent.java
25479 (AccessibleJComponent.getAccessibleDescription): Call super,
25480 * javax/swing/JToolTip.java: API doc updates all over, plus
25481 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25482 (AccessibleJToolTip.getAccessibleRole): Implemented,
25483 (getAccessibleContext): Implemented,
25484 (paramString): Reimplemented,
25485 (setComponent): Fire PropertyChangeEvent,
25486 (setTipText): Likewise.
25488 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25490 * java/util/Formatter.java:
25491 Make the class final.
25493 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25495 * java/lang/System.java:
25496 (nanoTime()): Documented.
25497 * java/lang/Thread.java:
25498 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25499 Added docs and security check.
25500 (getUncaughtExceptionHandler()): Documented.
25501 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25502 Added docs and security check.
25503 (getDefaultUncaughtExceptionHandler()): Documented.
25504 (getId()): Documented.
25505 (Thread.State): Documented.
25506 * vm/reference/gnu/classpath/Unsafe.java:
25508 (getUnsafe()): Updated to handle security.
25510 2006-03-20 Tom Tromey <tromey@redhat.com>
25512 * java/lang/System.java:
25513 (nanoTime()): Implemented.
25514 * java/lang/Thread.java:
25515 (getId()): Implemented.
25516 * java/util/AbstractMap.java:
25517 (SimpleImmutableEntry): New 1.6 class.
25518 (BasicMapEntry): Modified to be SimpleEntry.
25519 * java/util/Collections.java:
25520 Modified to use SimpleEntry.
25521 * java/util/EnumMap.java: Likewise.
25522 * java/util/HashMap.java: Likewise.
25523 * java/util/Hashtable.java: Likewise.
25524 * java/util/TreeMap.java: Likewise.
25525 * vm/reference/gnu/classpath/Unsafe.java:
25526 New class to handle low-level facilities for concurrency.
25527 * vm/reference/java/lang/VMSystem.java:
25528 (nanoTime()): Implemented.
25530 2006-03-20 Tom Tromey <tromey@redhat.com>
25532 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25533 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25534 (CertStoreSpi): Updated throws clause.
25535 * java/security/cert/CertPathValidatorSpi.java: Added import for
25537 (engineValidate): Updated 'throws' clause.
25538 * java/security/cert/PKIXParameters.java: Javadoc fix.
25539 * java/security/cert/X509CertSelector.java
25540 (setAuthorityKeyIdentifier): Javadoc fix.
25542 2006-03-20 Tom Tromey <tromey@redhat.com>
25544 * .classpath: Build gnu.javax.swing.plaf.
25546 2006-03-20 Lillian Angel <langel@redhat.com>
25548 * gnu/javax/imageio/bmp/BMPDecoder.java:
25549 Removed unneeded import.
25550 * gnu/javax/imageio/bmp/BMPEncoder.java:
25552 * gnu/javax/imageio/bmp/BMPFileHeader.java
25553 (BMPFileHeader): New constructor used to create info header
25554 for an output stream.
25555 (write): Fixed indexes.
25556 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25557 Initialized writerSpiNames field.
25558 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25560 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25562 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25563 Change visibility for fields.
25564 (BMPInfoHeader): New constructor used to create
25565 file header for an output stream.
25566 (intToDWord): New method. Converts an int to a
25568 (intToWord): New method. Converts an int to a word.
25569 * gnu/javax/imageio/bmp/DecodeBF32.java:
25570 Removed unneeded imports.
25571 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25573 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25575 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25577 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25579 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25581 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25583 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25585 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25587 * javax/imageio/ImageIO.java:
25590 2006-03-20 Roman Kennke <kennke@aicas.com>
25592 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25593 (TabbedPaneLayout.normalizeTabRuns): New method.
25594 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25595 (paintTabBorder): Replaced if-else chain with switch.
25596 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25598 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25600 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25602 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25604 (paintTabBackground): Fetch background color from the TabbedPane.
25605 Fixed painting and improved by not using fillPolygon, and instead
25606 using fillRectangle. Replaced if-else chain with switch.
25607 (calculateMaxTabHeight): Added overridden method with FIXME.
25608 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25610 (paintContentBorderTopEdge): Added stub with FIXME.
25611 (paintContentBorderBottomEdge): Added stub with FIXME.
25612 (paintContentBorderLeftEdge): Added stub with FIXME.
25613 (paintContentBorderRightEdge): Added stub with FIXME.
25615 2006-03-20 Roman Kennke <kennke@aicas.com>
25617 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25618 (tabsOpaque): New field.
25619 (installDefaults): Fetch tabsOpaque property from UIManager.
25620 (paintTab): Fill tab background when tabsOpaque property is true.
25621 * javax/swing/plaf/basic/BasicLookAndFeel.java
25622 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25624 2006-03-20 Roman Kennke <kennke@aicas.com>
25626 * javax/swing/JTabbedPane.java
25627 (Pane.getBackground): When no background was explicitly set, return
25628 the JTabbedPane's background.
25630 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25632 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25633 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25634 * org/omg/CORBA/BAD_INV_ORDER.java,
25635 * org/omg/CORBA/BAD_CONTEXT.java,
25636 * org/omg/CORBA/BAD_OPERATION.java,
25637 * org/omg/CORBA/BAD_PARAM.java,
25638 * org/omg/CORBA/BAD_QOS.java,
25639 * org/omg/CORBA/BAD_TYPECODE.java,
25640 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25641 * org/omg/CORBA/COMM_FAILURE.java,
25642 * org/omg/CORBA/CurrentHolder.java,
25643 * org/omg/CORBA/DATA_CONVERSION.java,
25644 * org/omg/CORBA/FREE_MEM.java,
25645 * org/omg/CORBA/IMP_LIMIT.java,
25646 * org/omg/CORBA/INITIALIZE.java,
25647 * org/omg/CORBA/INTERNAL.java,
25648 * org/omg/CORBA/INTF_REPOS.java,
25649 * org/omg/CORBA/INVALID_ACTIVITY.java,
25650 * org/omg/CORBA/INVALID_TRANSACTION.java,
25651 * org/omg/CORBA/INV_FLAG.java,
25652 * org/omg/CORBA/INV_IDENT.java,
25653 * org/omg/CORBA/INV_OBJREF.java,
25654 * org/omg/CORBA/INV_POLICY.java,
25655 * org/omg/CORBA/MARSHAL.java,
25656 * org/omg/CORBA/NO_RESOURCES.java,
25657 * org/omg/CORBA/NO_MEMORY.java,
25658 * org/omg/CORBA/NO_IMPLEMENT.java,
25659 * org/omg/CORBA/NO_PERMISSION.java,
25660 * org/omg/CORBA/NO_RESPONSE.java,
25661 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25662 * org/omg/CORBA/OBJ_ADAPTER.java,
25663 * org/omg/CORBA/ParameterModeHolder.java,
25664 * org/omg/CORBA/PolicyError.java,
25665 * org/omg/CORBA/PolicyErrorHolder.java,
25666 * org/omg/CORBA/PolicyHolder.java,
25667 * org/omg/CORBA/PolicyListHolder.java,
25668 * org/omg/CORBA/REBIND.java,
25669 * org/omg/CORBA/TIMEOUT.java,
25670 * org/omg/CORBA/TRANSACTION_MODE.java,
25671 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25672 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25673 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25674 * org/omg/CORBA/TRANSIENT.java,
25675 * org/omg/CORBA/TypeCodeHolder.java,
25676 * org/omg/CORBA/UNKNOWN.java,
25677 * org/omg/CORBA/UnionMember.java,
25678 * org/omg/CORBA/UnknownUserException.java,
25679 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25680 * org/omg/CORBA/WrongTransactionHolder.java,
25681 * org/omg/IOP/IOR.java,
25682 * org/omg/IOP/IORHolder.java,
25683 * org/omg/IOP/MultipleComponentProfileHolder.java,
25684 * org/omg/IOP/ServiceContextHolder.java,
25685 * org/omg/IOP/ServiceContextListHolder.java,
25686 * org/omg/IOP/TaggedComponentHolder.java,
25687 * org/omg/IOP/TaggedProfileHolder.java,
25688 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25689 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25690 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25691 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25692 Made class final, various javadoc fixlets.
25693 * org/omg/CORBA/CompletionStatus.java,
25694 * org/omg/CORBA/PERSIST_STORE.java,
25695 * org/omg/CORBA/ValueMember.java,
25696 * org/omg/PortableInterceptor/ForwardRequest.java,
25697 * org/omg/PortableInterceptor/InvalidSlot.java,
25698 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25699 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25700 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25701 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25702 * org/omg/IOP/Encoding.java,
25703 * org/omg/IOP/TaggedComponent.java,
25704 * org/omg/IOP/TaggedProfile.java: Made class final.
25705 * org/omg/CORBA/SystemException.java: Made class abstract.
25706 * org/omg/CORBA/UserException.java: Made class abstract.
25707 (UserException): Now protected.
25708 (UserException(String)): Likewise.
25709 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25710 (typecode): Removed unused private variable.
25712 2006-03-20 Chris Burdess <dog@gnu.org>
25715 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25717 2006-03-20 Roman Kennke <kennke@aicas.com>
25719 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25720 (paintTabArea): Look up tab run indices in tabRuns array instead
25721 of using the index directly.
25723 2006-03-20 Roman Kennke <kennke@aicas.com>
25725 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25726 (paintTab): Fixed painting.
25727 (paintText): Fixed text painting.
25728 (paintFocusIndicator): Fixed painting of the focus rectangle.
25729 (paintContentBorder): Fixed painting of the content area.
25731 2006-03-20 Mark Wielaard <mark@klomp.org>
25733 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25734 static lock Object field.
25735 (produce): Synchronize on pixbufLock when calling initState(),
25736 pumpBytes() and pumpDone().
25737 (finalize): Likewise when calling finish().
25738 (GdkPixbufWriter.write): Likewise when calling streamImage().
25739 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25740 when calling loadPixbuf. Chain exception.
25741 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25742 (GtkImage(URL)): Likewise.
25743 (GtkImage(int,int)): Likewise when calling createPixmap().
25744 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25745 createScaledPixmap().
25746 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25747 (setImage): Likewise when calling createPixmap() and setPixels().
25748 (getSource): Likewise when calling getPixels().
25749 (flush): Likewise when calling freePixmap().
25750 (finalize): Likewise.
25751 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25752 drawPixelsScaledFlipped().
25753 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25754 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25755 gdk_threads_enter/leave().
25756 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25757 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25758 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25759 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25760 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25761 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25762 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25763 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25764 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25765 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25766 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25767 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25768 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25770 2006-03-20 Roman Kennke <kennke@aicas.com>
25772 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25773 (calculateTabHeight): Not need to use SwingUtilities here.
25774 (getTabInsets): Do not rotate insets.
25776 2006-03-20 Roman Kennke <kennke@aicas.com>
25778 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25779 (paint): Make sure the layout is valid before painting.
25780 (paintTabArea): Made tab painting more straightforward and efficient.
25782 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25784 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25785 (getScrollableUnitIncrement): Rewritten.
25786 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25787 (getScrollableUnitIncrement): Rewritten.
25788 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25789 (ROWS_PER_WHEEL_CLICK): New field.
25790 (MouseWheelHandler.mouseWheelMoved): Rewritten.
25792 2006-03-20 Roman Kennke <kennke@aicas.com>
25794 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25795 (paint): Make sure the layout is valid before painting.
25796 (paintTabArea): Made tab painting more straightforward and efficient.
25798 2006-03-20 Roman Kennke <kennke@aicas.com>
25800 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25801 (MouseHandler.mousePressed): Rewritten for clearer and simpler
25803 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25804 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25805 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25806 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25807 bounds here. That is moved into layoutContainer().
25808 (calculateSize): Correctly respect insets. Made code slightly more
25809 clear and efficient.
25810 (calculateTabRects): Rewritten completely. The old code was
25811 not quite right and unstable in some situations.
25812 (layoutContainer): Moved layout of tabbed pane's subcomponents
25814 (tabRunsDirty): New field.
25815 (rolloverTab): New field.
25816 (tabForCoordinate): Rewritten for simplicity and correctness.
25817 (setRolloverTab): New method.
25818 (getRolloverTab): New method.
25820 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25822 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25823 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25824 (getScrollableUnitIncrement
25825 * javax/swing/Scrollable.java: Documented.
25826 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25827 (MouseWheelHandler):Rewritten.
25829 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25831 * doc/vmintegration.texinfo:
25832 Updated with gnu.classpath.Unsafe
25834 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25837 Updated with VMArray and Unsafe changes.
25839 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25841 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25842 (getScrollableUnitIncrement): Rewritten.
25843 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25844 (getScrollableUnitIncrement): Rewritten.
25845 (getScrollableBlockIncrement): Rewritten.
25846 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25847 (MouseWheelHandler): Implemented. (ViewportContainerListener):
25848 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
25849 New field. (installListeners): Install wheel listeners.
25850 (uninstallListeners): Uninstall wheel listeners.
25851 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25852 of the MouseWheelListener. (installListeners): Do not install wheel
25853 listener. (ROWS_PER_WHEEL_CLICK): Removed.
25855 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25857 * vm/reference/gnu/classpath/Unsafe.java:
25859 (getUnsafe()): Updated to handle security.
25861 2006-03-19 Tom Tromey <tromey@redhat.com>
25863 * vm/reference/gnu/classpath/Unsafe.java:
25864 New class to handle low-level facilities for concurrency.
25866 2006-03-19 Mark Wielaard <mark@klomp.org>
25868 * include/Makefile.am: Rename PlainDatagramSocketImpl to
25869 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25870 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25871 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25873 2006-03-19 Mark Wielaard <mark@klomp.org>
25875 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25877 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25879 2006-03-19 Michael Koch <konqueror@gmx.de>
25881 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25882 resource/gnu/java/locale/LocaleInformation_am.properties,
25883 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25884 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25885 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25886 resource/gnu/java/locale/LocaleInformation_bg.properties,
25887 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25888 resource/gnu/java/locale/LocaleInformation_ca.properties,
25889 resource/gnu/java/locale/LocaleInformation_cs.properties,
25890 resource/gnu/java/locale/LocaleInformation_cy.properties,
25891 resource/gnu/java/locale/LocaleInformation_da.properties,
25892 resource/gnu/java/locale/LocaleInformation_de.properties,
25893 resource/gnu/java/locale/LocaleInformation_dv.properties,
25894 resource/gnu/java/locale/LocaleInformation_el.properties,
25895 resource/gnu/java/locale/LocaleInformation_en.properties,
25896 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25897 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25898 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25899 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25900 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25901 resource/gnu/java/locale/LocaleInformation_es.properties,
25902 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25903 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25904 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25905 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25906 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25907 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25908 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25909 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25910 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25911 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25912 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25913 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25914 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25915 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25916 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25917 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25918 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25919 resource/gnu/java/locale/LocaleInformation_es_US.properties,
25920 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25921 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25922 resource/gnu/java/locale/LocaleInformation_fa.properties,
25923 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25924 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25925 resource/gnu/java/locale/LocaleInformation_fi.properties,
25926 resource/gnu/java/locale/LocaleInformation_fr.properties,
25927 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25928 resource/gnu/java/locale/LocaleInformation_ga.properties,
25929 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25930 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25931 resource/gnu/java/locale/LocaleInformation_hr.properties,
25932 resource/gnu/java/locale/LocaleInformation_hu.properties,
25933 resource/gnu/java/locale/LocaleInformation_id.properties,
25934 resource/gnu/java/locale/LocaleInformation_is.properties,
25935 resource/gnu/java/locale/LocaleInformation_it.properties,
25936 resource/gnu/java/locale/LocaleInformation_ja.properties,
25937 resource/gnu/java/locale/LocaleInformation_kk.properties,
25938 resource/gnu/java/locale/LocaleInformation_kl.properties,
25939 resource/gnu/java/locale/LocaleInformation_km.properties,
25940 resource/gnu/java/locale/LocaleInformation_ky.properties,
25941 resource/gnu/java/locale/LocaleInformation_lo.properties,
25942 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25943 resource/gnu/java/locale/LocaleInformation_lt.properties,
25944 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25945 resource/gnu/java/locale/LocaleInformation_lv.properties,
25946 resource/gnu/java/locale/LocaleInformation_mk.properties,
25947 resource/gnu/java/locale/LocaleInformation_mn.properties,
25948 resource/gnu/java/locale/LocaleInformation_mr.properties,
25949 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25950 resource/gnu/java/locale/LocaleInformation_ms.properties,
25951 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25952 resource/gnu/java/locale/LocaleInformation_mt.properties,
25953 resource/gnu/java/locale/LocaleInformation_nb.properties,
25954 resource/gnu/java/locale/LocaleInformation_nl.properties,
25955 resource/gnu/java/locale/LocaleInformation_nn.properties,
25956 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25957 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25958 resource/gnu/java/locale/LocaleInformation_pa.properties,
25959 resource/gnu/java/locale/LocaleInformation_pl.properties,
25960 resource/gnu/java/locale/LocaleInformation_pt.properties,
25961 resource/gnu/java/locale/LocaleInformation_ru.properties,
25962 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25963 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25964 resource/gnu/java/locale/LocaleInformation_sa.properties,
25965 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25966 resource/gnu/java/locale/LocaleInformation_sk.properties,
25967 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25968 resource/gnu/java/locale/LocaleInformation_sv.properties,
25969 resource/gnu/java/locale/LocaleInformation_sw.properties,
25970 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25971 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25972 resource/gnu/java/locale/LocaleInformation_te.properties,
25973 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25974 resource/gnu/java/locale/LocaleInformation_th.properties,
25975 resource/gnu/java/locale/LocaleInformation_ti.properties,
25976 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25977 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25978 resource/gnu/java/locale/LocaleInformation_tr.properties,
25979 resource/gnu/java/locale/LocaleInformation_tt.properties,
25980 resource/gnu/java/locale/LocaleInformation_uk.properties,
25981 resource/gnu/java/locale/LocaleInformation_ur.properties,
25982 resource/gnu/java/locale/LocaleInformation_uz.properties,
25983 resource/gnu/java/locale/LocaleInformation_zh.properties,
25984 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25985 More updates for CLDR 1.3.
25987 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25989 * doc/vmintegration.texinfo:
25990 Updated to include VMArray.
25991 * include/Makefile.am:
25992 Replace java_lang_reflect_Array.h with
25993 java_lang_reflect_VMArray.h
25994 * include/java_lang_reflect_VMArray.h:
25995 New autogenerated header.
25996 * include/java_lang_reflect_Array.h:
25998 * java/lang/reflect/Array.java:
25999 (newInstance(Class,int)): Calls VMArray.
26000 (createMultiArray(Class,int[],int)): Likewise.
26001 (createObjectArray(Class,int)): Removed.
26002 * native/jni/java-lang/Makefile.am:
26003 Replaced java_lang_reflect_Array.c with
26004 java_lang_reflect_VMArray.c
26005 * native/jni/java-lang/java_lang_reflect_VMArray.c:
26006 Renamed from java_lang_reflect_Array.c.
26007 * vm/reference/java/lang/reflect/VMArray.java:
26008 (createObjectArray(Class,int)): Native method moved
26009 from java.lang.reflect.Array.
26011 2006-03-19 Roman Kennke <kennke@aicas.com>
26013 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26014 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26016 * examples/gnu/classpath/examples/swing/Demo.java
26017 (mkButtonBar): Hook up theme editor.
26018 (mkMenuBar): Hook up theme editor.
26020 2006-03-19 Roman Kennke <kennke@aicas.com>
26022 * javax/swing/plaf/basic/BasicFileChooserUI.java
26023 (ApproveSelectionAction.actionPerformed): Added case for when
26024 nothing has been selected but the user has typed a filename
26025 into the textfield.
26026 (getFileName): Return the value of the text field.
26028 2006-03-19 Roman Kennke <kennke@aicas.com>
26030 * javax/swing/JColorChooser.java
26031 (createDialog): Create JDialog instead of ModalDialog. Make this
26032 dialog modal by calling setModal(true).
26033 (ModalDialog): Removed unnecessary inner class.
26035 2006-03-19 Tom Tromey <tromey@redhat.com>
26037 * java/awt/font/NumericShaper.java: Rewrote.
26039 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26041 * javax/swing/plaf/basic/BasicTableUI.java:
26042 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26043 New field. MouseInputHandler.mouseWheelMoved): New method.
26044 (installListeners): Register MouseInputHandler as
26045 wheel listener also.
26047 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26050 * javax/swing/ViewportLayout.java (layoutContainer):
26051 If Scrollable tracks dimension, set view size to the port size.
26052 If port is larger than the view, move the view to the top/left.
26054 2006-03-19 Roman Kennke <kennke@aicas.com>
26056 * javax/swing/MenuSelectionManager.java
26057 (isComponentPartOfCurrentMenu): Also consider the first element
26058 in a menu selection list. Make a isDescendentFrom check instead
26059 of simple equals to also catch sub components.
26061 2006-03-19 Roman Kennke <kennke@aicas.com>
26063 * javax/swing/JComboBox.java
26064 (actionPerformed): Fetch selected item directly from the editor
26065 instead of trying to get it from the event.
26067 2006-03-19 Roman Kennke <kennke@aicas.com>
26069 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26070 (listener): Removed field.
26071 (BasicComboBoxEditor): Removed initialization of listener field.
26072 (addActionListener): Add listener directly to editor.
26073 (removeActionListener): Remove listener directly from editor.
26074 (ComboBoxEditorListener): Removed class.
26075 * javax/swing/plaf/basic/BasicComboBoxUI.java
26076 (getPreferredSize): Fixed to return the minimumSize.
26077 (getMinimumSize): Improved code for more clearness.
26078 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26079 (rectangleForCurrentValue): Correctly respect insets.
26080 (getDefaultSize): Return preferredSize here. Dont override height
26082 (getDisplaySize): Moved around code for more clearness. Added
26083 handling of prototype renderer.
26084 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26085 arrowButton bounds since the former depends on the latter.
26086 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26087 (MetalComboBoxButton): Make button rollover disabled.
26088 (isFocusTraversable): Return false unconditionally.
26089 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26090 (EditorTextField): New class. Fixes the size properties.
26091 (MetalComboBoxEditor): Create instance of EditorTextField.
26092 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26093 (getMinimumSize): Fixed editable size.
26095 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26097 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26099 2006-03-18 Roman Kennke <kennke@aicas.com>
26101 * javax/swing/plaf/metal/MetalToolBarUI.java
26102 (update): Added overridden method to support OceanTheme.
26104 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26106 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26107 Activate the cell editing on character keystroke.
26109 2006-03-18 Mark Wielaard <mark@klomp.org>
26111 * java/awt/Component.java (eventTypeEnabled): Handle
26112 MouseEvent.MOUSE_WHEEL.
26113 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26114 New callback method.
26115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26116 (AWT_MOUSE_WHEEL): New constant.
26117 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26118 (postMouseWheelEventID): New static variable.
26119 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26120 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26121 (button_number): Renamed to ...
26122 (button_number_direction): variable to hold button number or scroll
26124 (component_button_press_cb): Use button_number_direction.
26125 (component_scroll_cb): New static callback function.
26127 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26129 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26130 Return without action.
26132 2006-03-18 Mark Wielaard <mark@klomp.org>
26134 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26135 Don't cast graphics object to GdkGraphics.
26136 (updateComponent): Likewise.
26138 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26140 * examples/gnu/classpath/examples/swing/TableDemo.java
26141 (TModel.getColumnClass): Set second column to Icon.
26142 (TModel.isCellEditable): Say icons are not editable.
26143 (createContent): Fill the in second column with some icons from
26146 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26148 * examples/gnu/classpath/examples/swing/Demo.java
26149 (mkButtonBar): Set maximal button bar height to the preferred height.
26151 2006-03-18 Roman Kennke <kennke@aicas.com>
26153 * javax/swing/plaf/basic/BasicComboPopup.java
26154 (show): Substract insets from scroller width.
26155 (getPopupHeightForRowCount): If height==0, return a default of 100
26156 instead for empty ComboBoxes.
26158 2006-03-18 Roman Kennke <kennke@aicas.com>
26160 * javax/swing/plaf/basic/BasicLookAndFeel.java
26161 (PopupHelper.autoClosePopups): Removed field.
26162 (PopupHelper.mousePressed): Removed processing of registered
26164 (registerForAutoClose): Removed unneeded method.
26165 (autoClosePopups): Removed unneeded method.
26166 (registerForAutoClose): Removed unneeded method.
26168 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26170 * javax.swing.JTable.java (TableTextField): Set border.
26171 (moveToCellBeingEdited): Do not adjust the editor boundaries
26173 2006-03-18 Michael Koch <konqueror@gmx.de>
26175 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26176 resource/gnu/java/locale/LocaleInformation_af.properties,
26177 resource/gnu/java/locale/LocaleInformation_am.properties,
26178 resource/gnu/java/locale/LocaleInformation_ar.properties,
26179 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26180 resource/gnu/java/locale/LocaleInformation_be.properties,
26181 resource/gnu/java/locale/LocaleInformation_bg.properties,
26182 resource/gnu/java/locale/LocaleInformation_bn.properties,
26183 resource/gnu/java/locale/LocaleInformation_ca.properties,
26184 resource/gnu/java/locale/LocaleInformation_cs.properties,
26185 resource/gnu/java/locale/LocaleInformation_cy.properties,
26186 resource/gnu/java/locale/LocaleInformation_da.properties,
26187 resource/gnu/java/locale/LocaleInformation_de.properties,
26188 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26189 resource/gnu/java/locale/LocaleInformation_dz.properties,
26190 resource/gnu/java/locale/LocaleInformation_en.properties,
26191 resource/gnu/java/locale/LocaleInformation_eo.properties,
26192 resource/gnu/java/locale/LocaleInformation_es.properties,
26193 resource/gnu/java/locale/LocaleInformation_et.properties,
26194 resource/gnu/java/locale/LocaleInformation_eu.properties,
26195 resource/gnu/java/locale/LocaleInformation_fa.properties,
26196 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26197 resource/gnu/java/locale/LocaleInformation_fi.properties,
26198 resource/gnu/java/locale/LocaleInformation_fo.properties,
26199 resource/gnu/java/locale/LocaleInformation_fr.properties,
26200 resource/gnu/java/locale/LocaleInformation_ga.properties,
26201 resource/gnu/java/locale/LocaleInformation_gl.properties,
26202 resource/gnu/java/locale/LocaleInformation_gu.properties,
26203 resource/gnu/java/locale/LocaleInformation_he.properties,
26204 resource/gnu/java/locale/LocaleInformation_hi.properties,
26205 resource/gnu/java/locale/LocaleInformation_hr.properties,
26206 resource/gnu/java/locale/LocaleInformation_hu.properties,
26207 resource/gnu/java/locale/LocaleInformation_hy.properties,
26208 resource/gnu/java/locale/LocaleInformation_id.properties,
26209 resource/gnu/java/locale/LocaleInformation_is.properties,
26210 resource/gnu/java/locale/LocaleInformation_it.properties,
26211 resource/gnu/java/locale/LocaleInformation_ja.properties,
26212 resource/gnu/java/locale/LocaleInformation_ka.properties,
26213 resource/gnu/java/locale/LocaleInformation_km.properties,
26214 resource/gnu/java/locale/LocaleInformation_ko.properties,
26215 resource/gnu/java/locale/LocaleInformation_lo.properties,
26216 resource/gnu/java/locale/LocaleInformation_lt.properties,
26217 resource/gnu/java/locale/LocaleInformation_lv.properties,
26218 resource/gnu/java/locale/LocaleInformation_mk.properties,
26219 resource/gnu/java/locale/LocaleInformation_mr.properties,
26220 resource/gnu/java/locale/LocaleInformation_ms.properties,
26221 resource/gnu/java/locale/LocaleInformation_mt.properties,
26222 resource/gnu/java/locale/LocaleInformation_nb.properties,
26223 resource/gnu/java/locale/LocaleInformation_nl.properties,
26224 resource/gnu/java/locale/LocaleInformation_nn.properties,
26225 resource/gnu/java/locale/LocaleInformation_om.properties,
26226 resource/gnu/java/locale/LocaleInformation_pl.properties,
26227 resource/gnu/java/locale/LocaleInformation_ps.properties,
26228 resource/gnu/java/locale/LocaleInformation_pt.properties,
26229 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26230 resource/gnu/java/locale/LocaleInformation_ro.properties,
26231 resource/gnu/java/locale/LocaleInformation_ru.properties,
26232 resource/gnu/java/locale/LocaleInformation_sk.properties,
26233 resource/gnu/java/locale/LocaleInformation_sl.properties,
26234 resource/gnu/java/locale/LocaleInformation_so.properties,
26235 resource/gnu/java/locale/LocaleInformation_sq.properties,
26236 resource/gnu/java/locale/LocaleInformation_sr.properties,
26237 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26238 resource/gnu/java/locale/LocaleInformation_sv.properties,
26239 resource/gnu/java/locale/LocaleInformation_sw.properties,
26240 resource/gnu/java/locale/LocaleInformation_ta.properties,
26241 resource/gnu/java/locale/LocaleInformation_te.properties,
26242 resource/gnu/java/locale/LocaleInformation_th.properties,
26243 resource/gnu/java/locale/LocaleInformation_tr.properties,
26244 resource/gnu/java/locale/LocaleInformation_uk.properties,
26245 resource/gnu/java/locale/LocaleInformation_uz.properties,
26246 resource/gnu/java/locale/LocaleInformation_vi.properties,
26247 resource/gnu/java/locale/LocaleInformation_zh.properties,
26248 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26249 Updated to use the new localized strings for currencies, languages,
26250 variants, territories, etc.
26252 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26254 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26255 (start, end): Added comment about the negative values of them,
26256 (finish): Saves the input text in matchedCharIndexed,
26257 (toString): If the start or end index is out of bounds of the
26258 matched text, get the substring from matchedCharIndexed.
26259 Added special handlings in case start/end index < -1,
26260 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26261 Added special handlings in case start/end index < -1,
26262 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26263 found match, but keep the index as the original match.
26264 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26265 found match, but keep the index as the original match.
26266 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26267 in case start/end index < -1.
26269 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26271 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26274 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26276 * javax/swing/text/DefaultCaret.java:
26277 (mouseClicked) Use setDot() and moveDot() instead of
26278 JTextComponent.select().
26280 2006-03-17 Roman Kennke <kennke@aicas.com>
26282 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26283 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26284 border painting for the Ocean theme.
26285 (MetalComboBoxEditor): Create editor directly instead of going
26288 2006-03-17 Roman Kennke <kennke@aicas.com>
26290 * javax/swing/text/JTextComponent.java
26291 (JTextComponent): Make text components opaque.
26293 2006-03-17 Roman Kennke <kennke@aicas.com>
26295 * javax/swing/plaf/metal/MetalComboBoxUI.java
26296 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26298 (MetalPropertyChangeListener.propertyChange): Update focusable
26299 flag according to the enable and editable state.
26300 (editablePropertyChanged): Removed unnecessary code.
26301 (getMinimumSize): Rewritten to correctly compute the
26302 size, respecting the insets of the components and the icon,
26303 the visual properties of the combobox, etc.
26304 (configureEditor): Update listeners correctly.
26305 (unconfigureEditor): Update listeners correctly.
26306 (layoutComboBox): Implemented.
26308 2006-03-17 Roman Kennke <kennke@aicas.com>
26310 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26311 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26312 instead of Flush3DBorder.
26313 (paintBorder): Fixed border painting.
26314 (editorBorderInsets): Fixed border's insets.
26316 2006-03-17 Roman Kennke <kennke@aicas.com>
26318 * javax/swing/plaf/metal/MetalComboBoxButton.java
26319 (rendererPane): Documented.
26320 (MetalComboBoxButton): Set enabled flag from ComboBox.
26321 Set focusable flag from ComboBox's enabled flag.
26322 (isFocusTraversable): Make button focus traversable if
26323 ComboBox is not editable but enable.
26324 (paintComponent): Fixed painting to correctly adjust
26325 the boxes of the renderer and button.
26327 2006-03-17 Roman Kennke <kennke@aicas.com>
26329 * javax/swing/plaf/basic/BasicButtonUI.java
26330 (installDefaults): Only install UI margin if installed margin.
26331 is null or a UIResource.
26332 (uninstallDefaults): Only uninstall margin if it's
26335 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26337 * javax/swing/text/DefaultCaret.java:
26338 (mouseClicked) Use setDot() and moveDot() instead of
26339 JTextComponent.select().
26341 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26343 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26344 inner classes into package-private inner classes, added actions
26345 for caret movement and selection to the next and previous word
26346 and an action which selects the whole text.
26348 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26350 * javax/swing/Spring.java: Uncomment springdebug methods and
26351 rename them toString.
26352 * javax/swing/SpringLayout.java: Likewise.
26354 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26356 * javax/swing/text/FieldView.java:
26357 (viewToModel): Added call to adjust allocation area.
26359 2006-03-17 Roman Kennke <kennke@aicas.com>
26361 * javax/swing/plaf/basic/BasicComboBoxUI.java
26362 (mouseListener): Removed field.
26363 (buttonBackground): Removed field.
26364 (buttonShadow): Removed field.
26365 (buttonDarkShadow): Removed field.
26366 (buttonHighlight): Removed field.
26367 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26368 (installUI): Initialize and configure renderer and editor here.
26369 (uninstallUI): Close popup before uninitializing.
26370 Message popup that we are uninitializing. Clear layout.
26371 (installDefaults): Install UI border. Don't install colors.
26372 (installListeners): Install listeners fetched from the popup.
26373 Remove handling of mouseListener.
26374 (uninstallDefaults): Uninstall border. Don't handle colors.
26375 (uninstallListeners): Don't handle mouseListener. Uninstall
26376 listener from the popup.
26377 (createMouseListener): Removed method.
26378 (createRenderer): Create UIResource.
26379 (installComponents): Cleaned up.
26380 (uninstallComponents): Only remove renderer when it is
26382 (addEditor): Remove editor before adding new one.
26383 Fetch editor from comboBox.
26384 (removeEditor): Only do something when editor != null. Unconfigure
26385 editor before removing.
26386 (configureEditor): Add key listener. Call comboBox.configureEditor.
26387 (unconfigureEditor): Removed key listener.
26388 (configureArrowButton): Only handle when arrowButton != null.
26389 Add mouse listeners to arrow button.
26390 (unconfigureArrowButton): Remove listeners.
26391 (createArrowButton): Don't handle colors here.
26392 (setPopupVisible): Don't handle focus here.
26393 (paint): Only paint when comboBox is not editable. Update
26395 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26396 (getMinimumSize): Respect insets here.
26397 (getMaximumSize): Return preferredSize with width of 32767.
26398 (getInsets): Return ComboBox insets.
26399 (paintCurrentValue): Paint using currentValuePane.
26400 Install correct colors. Don't revalidate.
26401 (paintCurrentValueBackground): Implemented.
26402 (getDefaultSize): Reimplemented using a default renderer.
26403 (getDisplaySize): Reimplemented to use renderer.
26404 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26405 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26406 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26407 (FocusHandler.focusGained): Don't invalidate minimumSize.
26408 (FocusHandler.focusLost): Don't invalidate minimumSize.
26409 Only close popup if focus change is not temporary.
26410 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26411 Reconfigure editor if not null.
26412 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26413 editor if necessary.
26414 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26415 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26416 (MouseHandler): Removed unnecessary class.
26418 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26420 * examples/gnu/classpath/examples/swing/Demo.java:
26421 (Demo): Set default closing operation to shutdown the runtime.
26423 2006-03-17 Roman Kennke <kennke@aicas.com>
26425 * javax/swing/plaf/basic/BasicComboPopup.java
26426 (BasicComboPopup): Create listeners here.
26427 Configure components here.
26428 (show): Correctly calculate bounds using computePopupBounds().
26429 Make scroller fixed-size. Removed special autocloser handling.
26430 (hide): Rewritten to use MenuSelectionHandler.
26431 (createList): Don't set selection mode here.
26432 (configureList): Correctly install colors and fonts and selectionMode.
26433 (createScroller): Set scrollpane policies.
26434 (configureScroller): Make scroller and scrollbar not-focusable.
26435 (configurePopup): Make popup opaque and borderPainted.
26436 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26437 (delegateFocus): Implemented.
26438 (convertMouseEvent): Implemented.
26439 (updateListBoxSelectionForEvent): Implemented to also handle
26441 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26442 Only open popup on left mouse-click.
26443 (InvocationMouseHandler.mouseReleased): Rewritten.
26444 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26445 support autoscrolling.
26446 (ItemHandler.itemStateChanged): Implemented to sync selection with
26448 (ListMouseHandler.mouseReleased): Fetch selected index directly
26450 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26452 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26453 When model changes, then update listeners correctly.
26454 (uninstallListeners): Don't uninstall list listeners.
26455 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26457 (syncSelection): New helper method.
26459 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26461 * javax/swing/text/PlainView.java:
26462 (drawLine): Rewritten.
26463 (drawSelectedText): Corrected last argument for
26464 Utilities.drawTabbedText() call.
26465 (paint): Store start and end of selection in object variables,
26466 store constant values of for-loop in local variables.
26467 * javax/swing/text/Utilities.java:
26468 (drawTabbedText): Add 'pixelWidth' to the return value, store
26469 constant value of for-loop in local variable.
26471 2006-03-17 Roman Kennke <kennke@aicas.com>
26473 * javax/swing/plaf/basic/BasicComboPopup.java
26474 (BasicComboPopup): Create listeners here.
26475 Configure components here.
26476 (show): Correctly calculate bounds using computePopupBounds().
26477 Make scroller fixed-size. Removed special autocloser handling.
26478 (hide): Rewritten to use MenuSelectionHandler.
26479 (createList): Don't set selection mode here.
26480 (configureList): Correctly install colors and fonts and selectionMode.
26481 (createScroller): Set scrollpane policies.
26482 (configureScroller): Make scroller and scrollbar not-focusable.
26483 (configurePopup): Make popup opaque and borderPainted.
26484 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26485 (delegateFocus): Implemented.
26486 (convertMouseEvent): Implemented.
26487 (updateListBoxSelectionForEvent): Implemented to also handle
26489 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26490 Only open popup on left mouse-click.
26491 (InvocationMouseHandler.mouseReleased): Rewritten.
26492 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26493 support autoscrolling.
26494 (ItemHandler.itemStateChanged): Implemented to sync selection with
26496 (ListMouseHandler.mouseReleased): Fetch selected index directly
26498 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26500 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26501 When model changes, then update listeners correctly.
26502 (uninstallListeners): Don't uninstall list listeners.
26503 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26505 (syncSelection): New helper method.
26507 2006-03-17 Roman Kennke <kennke@aicas.com>
26509 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26510 (noFocusBorder): Make border with insets of (1,1,1,1).
26511 (BasicComboBoxRenderer): Make renderer opaque.
26512 No need to explicitly set alignment.
26513 (getListCellRendererComponent): Rewritten to correctly initialize
26516 2006-03-17 Roman Kennke <kennke@aicas.com>
26518 * javax/swing/JPopupMenu.java
26519 (setVisible): Handle JPopupMenu opening and closing via
26520 the MenuSelectionHandler.
26522 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26524 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26525 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26526 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26528 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26529 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26530 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26531 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26532 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26533 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26534 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26535 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26536 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26537 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26539 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26541 * java/rmi/activation/Activatable.java: Implemented.
26542 java/rmi/activation/ActivationDesc.java: Implemented.
26543 java/rmi/activation/ActivationGroup.java: Implemented.
26544 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26545 java/rmi/activation/ActivationID.java: Implemented.
26546 java/rmi/activation/ActivationSystem.java: Implemented.
26547 * gnu/java/rmi/server/UnicastServerRef.java
26548 (exportObject, incommingMessageCall): Documented.
26549 * java/rmi/activation/package.html: Documented.
26550 * java/rmi/server/ObjID.java (objNum, space): Made package
26552 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26553 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26555 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26556 gnu/java/rmi/activation/BidiTable.java: New file.
26557 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26558 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26559 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26561 2006-03-17 Mark Wielaard <mark@klomp.org>
26563 * java/security/BasicPermission.java (BasicPermission): Check
26564 name equals empty string to force NullPointerException.
26566 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26569 Commit patch by Caolan McNamara <caolanm@redhat.com>
26570 * javax/swing/Spring.java: Complete implementation
26571 * javax/swing/SpringLayout.java: Likewise.
26573 2006-03-16 Keith Seitz <keiths@redhat.com>
26575 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26577 (run): Remove catch clause for InterruptedException. It is no
26580 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26582 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26583 (getFontMetrics): Handle monospaced fonts specially.
26585 2006-03-16 Keith Seitz <keiths@redhat.com>
26587 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26588 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26589 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26590 Don't suspend the current thread unless it is not part of the JDWP
26593 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26595 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26597 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26598 font metrics through toolkit.
26599 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26601 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26602 (getFontMetrics): To calculate Java logical ascent and descent
26603 values, average Pango ink and logical values.
26605 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26607 * java/lang/Character.java: Updated header comment.
26609 2006-03-16 Tom Tromey <tromey@redhat.com>
26611 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26613 * javax/sound/sampled/FloatControl.java: Now abstract.
26614 * javax/sound/sampled/EnumControl.java: Now abstract.
26615 * javax/sound/sampled/CompoundControl.java: Now abstract.
26616 * javax/sound/sampled/BooleanControl.java: Now abstract.
26618 2006-03-16 Tom Tromey <tromey@redhat.com>
26620 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26622 2006-03-16 Roman Kennke <kennke@aicas.com>
26624 * java/util/zip/ZipFile.java
26625 (openFile): New helper method.
26626 (ZipFile): Use new openFile method to ensure the proper
26627 exception is thrown. This applies for all overloaded constructors.
26629 2006-03-16 Roman Kennke <kennke@aicas.com>
26631 * java/text/DateFormatSymbols.java
26632 (setAmPmStrings): Added null check and throw NPE.
26633 (setEras): Likewise.
26634 (setLocalPatternChars): Likewise.
26635 (setMonths): Likewise.
26636 (setShortMonths): Likewise.
26637 (setShortWeekdays): Likewise.
26638 (setWeekdays): Likewise.
26639 (setZoneStrings): Likewise.
26641 2006-03-16 Roman Kennke <kennke@aicas.com>
26643 * javax/swing/DefaultDesktopManager.java
26644 (iconifyFrame): Repaint after removing the frame.
26645 (removeIconFor): Repaint after removing the icon.
26647 2006-03-16 Roman Kennke <kennke@aicas.com>
26649 * javax/swing/JInternalFrame.java
26650 (remove): Respect the rootPaneCheckingEnabled flag here.
26652 2006-03-16 Roman Kennke <kennke@aicas.com>
26654 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26655 Moved from examples into gnu.javax.swing.. namespace.
26656 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26657 Moved to gnu.javax.swing.. namespace.
26658 * examples/gnu/classpath/examples/swing/Demo.java:
26659 (themesMenu): New field. Used to disable theme switch in
26661 (mkMenuBar): Added L&F menu.
26662 (ChangeThemeAction.actionPerformed): Only switch theme when
26664 (ChangeLAFAction): New class used for changing themes.
26665 * javax/swing/UIManager.java
26666 (installed): Added GNU L&F as installed L&F.
26668 2006-03-16 Mark Wielaard <mark@klomp.org>
26670 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26671 * examples/gnu/classpath/examples/icons/badge.png: Added.
26672 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26673 from icon directory.
26675 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26677 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26679 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26680 * examples/gnu/classpath/examples/awt/Demo.java: Add
26681 AnimationApplet demo.
26682 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26685 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26688 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26690 (handleEvent): Likewise.
26691 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26693 (beginNativeRepaint): Remove method.
26694 (endNativeRepaint): Likewise.
26695 (handleEvent): Call paintComponent and updateComponent.
26696 (paintComponent): New method.
26697 (updateComponent): Likewise.
26698 (repaint): Return early if width or height is less than one.
26699 (postExposeEvent): Remove isInRepaint reference.
26700 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26702 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26703 from GtkWindowPeer.
26704 (postMouseEvent): Likewise.
26705 (postExposeEvent): Likewise.
26706 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26707 Override to do nothing.
26708 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26709 from GtkWindowPeer.
26710 (postMouseEvent): Likewise.
26711 (postExposeEvent): Likewise.
26712 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26713 paint and update handling from GtkComponentPeer.
26714 (updateComponent): Override to call paintComponent.
26715 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26716 gdk_flush calls with schedule_flush calls.
26717 (flush): New function.
26718 (schedule_flush): Likewise.
26720 2006-03-15 Tom Tromey <tromey@redhat.com>
26722 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26724 (BCSIterator): Likewise.
26725 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26727 (BCSSProxyServiceProvider): Likewise.
26728 (BCSSServiceProvider): Likewise.
26730 2006-03-15 Tom Tromey <tromey@redhat.com>
26732 * javax/sound/midi/Track.java (Track): New constructor.
26733 (events): Now package-private.
26734 * javax/sound/midi/MidiUnavailableException.java
26735 (MidiUnavailableException): Removed invalid constructors.
26736 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26737 * javax/sound/midi/InvalidMidiDataException.java
26738 (InvalidMidiDataException): Removed invalid constructors.
26739 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26740 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26741 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26742 (SYSTEM_EXCLUSIVE): Removed.
26743 (getDataLength): Updated.
26744 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26745 (equals): Now final
26746 (getName): Now final.
26747 (getVendor): Now final.
26748 (getDescription): Likewise.
26749 (hashCode): Likewise.
26750 (getVersion): Likewise.
26751 (toString): Likewise.
26752 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26753 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26754 (getEarlyReflectionDelay): Likewise.
26755 (getEarlyReflectionIntensity): Likewise.
26756 (getLateReflectionDelay): Likewise.
26757 (getLateReflectionIntensity): Likewise.
26758 (toString): Likewise.
26759 * javax/sound/sampled/Port.java (toString): Now final.
26760 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26761 (getLine): Likewise.
26762 (getType): Likewise.
26763 * javax/sound/sampled/Mixer.java (Info): Now protected.
26764 (getDescription): Now final.
26765 (getName): Likewise.
26766 (getVendor): Likewise.
26767 (getVersion): Likewise.
26768 (toString): Likewise.
26769 * javax/sound/sampled/Control.java: Now abstract.
26770 (Type.toString): Now final.
26772 2006-03-15 Keith Seitz <keiths@redhat.com>
26774 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26775 of this redundant variable.
26776 (LineTable): Assert that the number of line numbers and the number of
26777 code indicies is the same.
26779 2006-03-15 Tom Tromey <tromey@redhat.com>
26781 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26783 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26785 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26786 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26787 * java/util/zip/Inflater.java (end): Not deprecated.
26788 * java/util/zip/Deflater.java (end): Not deprecated.
26789 * java/text/Bidi.java (Bidi): Now final.
26790 * java/nio/MappedByteBuffer.java (finalize): Now protected.
26792 2006-03-15 Keith Seitz <keiths@redhat.com>
26794 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26795 (Location): Index is a long, not an int.
26796 (getMethod): New method.
26797 (getIndex): New method.
26798 (toString): New method.
26800 2006-03-15 Tom Tromey <tromey@redhat.com>
26802 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26803 * java/awt/image/LookupOp.java (filter): Now final.
26804 (getBounds2D): Likewise.
26805 (getPoint2D): Likewise.
26806 (getTable): Likewise.
26807 (getRenderingHints): Likewise.
26808 * java/awt/image/ConvolveOp.java (filter): Now final.
26809 (getBounds2D): Likewise.
26810 (getKernel): Likewise.
26811 (getPoint2D): Likewise.
26812 (getRenderingHints): Likewise.
26813 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26814 (getMatrix): Likewise.
26815 (getBounds2D): Likewise.
26816 (getRenderingHints): Likewise.
26817 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26818 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26820 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26822 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26824 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26826 2006-03-15 Keith Seitz <keiths@redhat.com>
26828 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26830 (matches): Implement.
26832 2006-03-15 Keith Seitz <keiths@redhat.com>
26834 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26836 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26838 2006-03-15 Tom Tromey <tromey@redhat.com>
26840 * java/lang/StrictMath.java (signum): New methods.
26842 2006-03-15 Tom Tromey <tromey@redhat.com>
26844 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26846 2006-03-15 Lillian Angel <langel@redhat.com>
26849 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26850 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26851 Added check to avoid segmentation fault.
26853 2006-03-15 Lillian Angel <langel@redhat.com>
26855 * java/awt/Container.java
26856 (getComponentAt): Fixed documentation.
26857 (getComponentAt): Likewise.
26859 2006-03-15 Roman Kennke <kennke@aicas.com>
26861 * javax/swing/JComponent.java
26862 (dragBuffer): New field.
26863 (dragBufferInitialized): New field.
26864 (paint): Added facility for buffered dragging of components.
26865 (initializeDragBuffer): New method.
26866 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26868 * javax/swing/plaf/basic/BasicInternalFrameUI.java
26869 (BorderListener.mouseDragged): Turn on buffered dragging.
26870 (BorderListener.mouseReleased): Turn off buffered dragging.
26872 2006-03-15 Lillian Angel <langel@redhat.com>
26874 * java/awt/Container.java
26875 (getComponentAt): Fixed documentation.
26876 (getComponentAt): Likewise.
26877 (findComponentAt): Likewise.
26878 (findComponentAt): Likewise.
26880 2006-03-15 Roman Kennke <kennke@aicas.com>
26882 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26883 (PropertyChangeHandler.propertyChange): Call enableActions().
26884 Fixed 'iconable' property name.
26886 2006-03-15 Chris Burdess <dog@gnu.org>
26889 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26891 2006-03-15 Roman Kennke <kennke@aicas.com>
26893 * examples/gnu/classpath/examples/swing/Demo.java:
26894 (desktop): New field.
26895 (mkMenuBar): Added new subdemos.
26896 (mkButtonWorld): Removed.
26897 (CheckCellRenderer): Moved to ListDemo.
26898 (LabelCellRenderer): Moved to ListDemo.
26899 (mkTreeWorld): Moved to TreeDemo.
26900 (mkDesktopWorld): Removed.
26901 (mkTabWorld): Moved to TabbedPaneDemo.
26902 (mkTabbedPane): Removed.
26903 (Demo): Replaced 'worlds' tabbed pane with desktop.
26904 (PopupAction): Made class non-static.
26905 (PopupAction.actionPerformed): Bring up subdemos in internal
26907 (mkButtonBar): Added new demos.
26908 (createDesktop): New method.
26909 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26910 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26911 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26912 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26913 * examples/gnu/classpath/examples/swing/badge.png: New image file.
26915 2006-03-15 Lillian Angel <langel@redhat.com>
26917 * java/awt/Container.java
26918 (getComponentAt): Fixed mistake in comments.
26919 (getComponentAt): Likewise.
26920 (locate): Likewise. Also, handled lightweight components.
26921 Heavyweights take precedence over lightweights, so we should
26922 iterate through the heavyweights first.
26924 2006-03-15 Lillian Angel <langel@redhat.com>
26926 * java/awt/Container.java
26927 (getComponentAt): Added API documentation.
26928 (getComponentAt): Likewise.
26929 (locate): Likewise. Also, removed lines to ignore
26930 invisible components.
26931 (findComponentAt): Added API documentation.
26932 (findComponentAt): Added API documentation.
26933 (findComponentForMouseEvent): Removed, never used.
26935 2006-03-15 Roman Kennke <kennke@aicas.com>
26937 * javax/swing/Popup.java
26938 (LightweightPopup.show): Repaint the panel after showing it.
26940 2006-03-15 Lillian Angel <langel@redhat.com>
26942 * java/awt/Component.java
26943 (show): repaint should only be called if the component
26944 isShowing and isLightweight.
26946 2006-03-15 Roman Kennke <kennke@aicas.com>
26948 * javax/swing/JInternalFrame.java
26949 (setClosable): Made this property bound.
26950 (setResizable): Made this property bound.
26951 (setIconifiable): Made this property bound.
26952 (setMaximizable): Made this property bound.
26954 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26956 * javax/swing/table/TableColumn.java
26957 (sizeWidthToFit): Implemented.
26959 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26961 * javax/swing/table/TableColumn.java: API docs updated all over, plus
26962 (setIdentifier): Fire required PropertyChangeEvent,
26963 (setCellEditor): Likewise.
26965 2006-03-15 Roman Kennke <kennke@aicas.com>
26967 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26968 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26969 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26970 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26971 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26972 * examples/gnu/classpath/examples/swing/SliderDemo.java,
26973 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26974 * examples/gnu/classpath/examples/swing/TableDemo.java,
26975 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26976 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26977 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26978 * examples/gnu/classpath/examples/swing/Demo.java:
26979 Cleaned up. Reworked handling of Sub-demos to load lazily.
26980 * examples/gnu/classpath/examples/swing/DemoFactory.java:
26981 New interface. Used for loading the subdemos lazily.
26983 2006-03-15 Roman Kennke <kennke@aicas.com>
26985 * javax/swing/plaf/basic/BasicToolBarUI.java
26986 (PropertyListener.propertyChange): Added null check to avoid NPE.
26988 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26990 * javax/swing/table/TableColumn.java
26991 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26993 (minWidth): Likewise,
26994 (preferredWidth): Likewise,
26995 (maxWidth): Likewise,
26996 (headerRenderer): Likewise,
26997 (cellRenderer): Likewise,
26998 (cellEditor): Likewise,
26999 (changeSupport): Likewise,
27000 (firePropertyChange(String, Object, Object)): Removed,
27001 (firePropertyChange(String, int. int)): Likewise,
27002 (firePropertyChange(String, boolean, boolean)): Likewise,
27003 (setModelIndex): Fire property change,
27004 (setHeaderValue): Call changeSupport directly to generate event,
27005 (setHeaderRenderer): Likewise,
27006 (setCellRenderer): Likewise,
27007 (setWidth): Likewise,
27008 (setPreferredWidth): Likewise,
27009 (setMinWidth): Likewise,
27010 (setMaxWidth): Likewise,
27011 (createDefaultHeaderRenderer): Added API docs.
27013 2006-03-14 Roman Kennke <kennke@aicas.com>
27015 * examples/gnu/classpath/examples/swing/Demo.java
27016 Removed static initializer.
27017 (mkMenuBar): Made method non-static. Added themes menu.
27018 (ChangeThemeAction): New inner class, used to change themes.
27020 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27022 * javax/swing/table/TableColumn.java
27023 (setMaxWidth): Updated width and preferredWidth if necessary,
27024 (getMaxWidth): Updated API docs.
27026 2006-03-14 Roman Kennke <kennke@aicas.com>
27028 * javax/swing/plaf/basic/BasicSliderUI.java
27029 (TrackListener.mouseDragged): Only process event when slider is
27031 (TrackListener.mouseReleased): Only process event when slider is
27033 (TrackListener.mousePressed): Only process event when slider is
27036 2006-03-14 Roman Kennke <kennke@aicas.com>
27038 * NEWS: Added note about OceanTheme support.
27040 2006-03-14 Roman Kennke <kennke@aicas.com>
27042 * javax/swing/plaf/metal/MetalIconFactory.java
27043 (HorizontalSliderThumbIcon.gradientMask): New field
27044 (HorizontalSliderThumbIcon.paintIcon): Added support for the
27046 (VerticalSliderThumbIcon.gradientMask): New field
27047 (VerticalSliderThumbIcon.paintIcon): Added support for the
27049 * javax/swing/plaf/metal/MetalUtils.java
27050 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27051 (paintVerticalGradient): Fixed painting of 'masked' gradients.
27053 2006-03-14 Mark Wielaard <mark@klomp.org>
27056 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27057 of handleMouseEvent.
27058 (handleMouseEvent): Return boolean to indicate whether we handled the
27059 event by passing it to a lightweight.
27061 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27063 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27064 * org/omg/PortableServer/ServantActivatorPOA.java,
27065 * org/omg/PortableServer/ServantLocatorPOA.java:
27066 Make class abstract and minor api docs fixlets.
27067 * org/omg/PortableServer/ForwardRequest.java,
27068 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27069 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27070 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27071 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27072 * org/omg/PortableServer/POAPackage/NoServant.java,
27073 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27074 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27075 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27076 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27077 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27078 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27079 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27080 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27081 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27082 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27084 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27086 * NEWS: Added entry about printing support.
27088 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27090 * javax/swing/table/TableColumn.java
27091 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27092 (isResizable): Likewise,
27093 (setWidth): Likewise,
27094 (getWidth): Likewise,
27095 (setPreferredWidth): Likewise,
27096 (getPreferredWidth): Likewise,
27097 (setMinWidth): Check for negative argument and update width and
27098 preferredWidth if necessary,
27099 (getMinWidth): Updated API docs.
27101 2006-03-14 Lillian Angel <langel@redhat.com>
27103 * java/awt/Container.java
27104 (addImpl): Removed call to repaint. No need to repaint here.
27106 2006-03-14 Roman Kennke <kennke@aicas.com>
27108 * javax/swing/plaf/metal/MetalSliderUI.java
27109 (paintTrack): Added OceanTheme support.
27111 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27113 * javax/swing/table/TableColumn.java
27114 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27115 (isResizable): Updated API docs.
27117 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27119 * javax/swing/LookAndFeel.java: Updated API docs.
27121 2006-03-14 Roman Kennke <kennke@aicas.com>
27123 * javax/swing/plaf/metal/MetalUtils.java
27124 (paintGradient): Added support for 'masked' gradients.
27125 (paintHorizontalGradient): Likewise.
27126 (paintVerticalGradient): Likewise.
27127 * javax/swing/plaf/metal/MetalIconFactory.java
27128 (RadioButtonIcon.gradientMask): New field.
27129 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27131 2006-03-14 Mark Wielaard <mark@klomp.org>
27134 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27136 (removeActionListener): Add listener to ComboBoxEditorListener.
27137 (removeActionListener): Remove listener from ComboBoxEditorListener.
27138 (ComboBoxEditorListener): New static helper class.
27140 2006-03-14 Roman Kennke <kennke@aicas.com>
27142 * javax/swing/plaf/metal/MetalBorders.java
27143 (getToolBarButtonBorder): Don't create a UIResource border
27145 * javax/swing/plaf/metal/MetalToolBarUI.java
27146 (installUI): New overridden method. Installs the rollover property.
27147 (uninstallUI): New overridden method. Resets the rollover property.
27148 * javax/swing/plaf/metal/MetalUtils.java
27149 (paintGradient): Fetch Float values from the UIManager. Adjusted
27150 method signatures accordingly.
27151 (paintHorizontalGradient): Adjusted signature to accept float
27153 (paintVerticalGradient): Adjusted signature to accept float
27155 * javax/swing/plaf/metal/OceanTheme.java
27156 (addCustomEntriesToTable): Added missing UIDefaults entries,
27157 except of Icons. Fixed gradient entries to use Float instead
27160 2006-03-14 Roman Kennke <kennke@aicas.com>
27162 * javax/swing/JInternalFrame.java
27163 (JInternalFrame): Make JInternalFrame opaque.
27164 * javax/swing/JToolBarFrame.java
27165 (JToolBar): Make JToolBar opaque.
27167 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27169 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27170 * javax/swing/tree/TreePath.java: Likewise.
27172 2006-03-13 Tom Tromey <tromey@redhat.com>
27174 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27176 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27177 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27179 2006-03-13 Keith Seitz <keiths@redhat.com>
27181 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27182 (executeMethods): Output number of methods.
27184 2006-03-13 Roman Kennke <kennke@aicas.com>
27186 * javax/swing/plaf/basic/BasicButtonUI.java
27187 (uninstallDefaults): Only uninstall border if it's a UIResource.
27188 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27189 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27190 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27191 (installUI): Don't touch the opaque flag of the glassPane and
27192 the frame. Don't invalidate.
27193 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27194 (installUI): Don't touch the opaque flag of the glassPane.
27195 * javax/swing/plaf/basic/BasicMenuBarUI.java
27196 (properyChangeListener): Made field private.
27197 (ChangeHandler): Made class private.
27198 (ContainerHandler): Made class private.
27199 (PropertyChangeHandler): Made class private.
27200 * javax/swing/plaf/basic/BasicMenuUI.java
27201 (MenuHandler): Made class private.
27202 (PropertyChangeHandler): Removed unneeded class.
27203 (MenuDragMouseHandler): Made class private.
27204 (MenuKeyHandler): Made class private.
27205 * javax/swing/plaf/basic/BasicPanelUI.java
27206 (installDefaults): Made method protected. Don't set opaque
27208 * javax/swing/plaf/basic/BasicScrollBarUI.java
27209 (TrackListener.shouldScroll): Made method private.
27210 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27211 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27212 Made constructor package private.
27213 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27214 (cellBorder): Made field private.
27215 * javax/swing/plaf/basic/BasicTextUI.java
27216 (installDefaults): Don't make component opaque.
27217 * javax/swing/plaf/basic/BasicToolBarUI.java
27218 (createNonRollOverBorder): Don't create UIResource border.
27219 (createRollOverBorder): Don't create UIResource border.
27220 (installComponents): Moved setRolloverBorders call here.
27221 (installDefaults): Moved setRolloverBorders call from here.
27222 (installUI): Don't make toolbar opaque.
27223 (setBorderToNonRollover): Handle AbstractButton instead of
27225 (uninstallComponents): Don't nullify class fields here.
27227 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27229 * javax/swing/SwingUtilities.java
27230 (calculateInnerArea): handle null component, and replace
27231 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27234 2006-03-13 Roman Kennke <kennke@aicas.com>
27236 * javax/swing/JColorChooser.java
27237 (updateUI): Don't call revalidate().
27238 * javax/swing/JComboBox.java
27239 (updateUI): Don't call invalidate().
27240 * javax/swing/JDesktopPane.java
27241 (updateUI): Don't call invalidate().
27242 * javax/swing/JFileChooser.java
27243 (updateUI): Don't call revalidate().
27244 * javax/swing/JMenu.java
27245 (updateUI): Don't call invalidate().
27246 * javax/swing/JMenuBar.java
27247 (updateUI): Don't call invalidate().
27248 * javax/swing/JMenuItem.java
27249 (updateUI): Don't call invalidate().
27250 * javax/swing/JOptionPane.java
27251 (updateUI): Don't call invalidate().
27252 * javax/swing/JPopupMenu.java
27253 (updateUI): Don't call invalidate().
27254 * javax/swing/JProgressBar.java
27255 (updateUI): Don't call invalidate().
27256 * javax/swing/JScrollBar.java
27257 (updateUI): Don't call invalidate() and repaint().
27258 * javax/swing/JScrollPane.java
27259 (updateUI): Rewritten to be like the other updateUI()
27261 * javax/swing/JSlider.java
27262 (updateUI): Don't call invalidate() and repaint().
27263 * javax/swing/JSplitPane.java
27264 (updateUI): Don't call invalidate() and repaint().
27265 * javax/swing/JTabbedPane.java
27266 (updateUI): Don't call invalidate().
27267 * javax/swing/JTable.java
27268 (updateUI): Don't call revalidate() and repaint().
27269 * javax/swing/JToolBar.java
27270 (updateUI): Don't call revalidate() and repaint().
27271 * javax/swing/JToolTip.java
27272 (updateUI): Don't call revalidate() and repaint().
27274 2006-03-13 Roman Kennke <kennke@aicas.com>
27276 * javax/swing/SwingUtilities.java
27277 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27278 menus and non-Swing components is improved.
27279 (updateComponentTreeUIImpl): New helper method.
27280 (replaceUIActionMap): Added check for uiActionMap==parent to
27282 (replaceUIInputMap): Added check for uiInputMap==parent to
27285 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27287 * gnu/classpath/debug/Component.java:
27288 (IPP) New component for IPP debugging.
27289 (EVERYTHING): Adapted to include IPP.
27290 * javax/print/PrintServiceLookup.java:
27291 (registerServiceProvider): New method.
27292 (registerService): Likewise.
27293 (lookupPrintServices): Likewise.
27294 (lookupMultiDocPrintServices): Likewise.
27295 (lookupDefaultPrintService): Likewise.
27296 (static_initializer): Likewise.
27297 (printServiceLookups): New field for found service providers.
27298 (printServices): New field for application registered providers.
27299 (systemProvider): New field for the system provider.
27300 * javax/print/ServiceUI.java: New file.
27301 * javax/print/package.html: Added more usage content.
27302 * javax/print/event/package.html: Likewise.
27303 * javax/print/attribute/package.html: Likewise.
27304 * javax/print/attribute/standard/package.html: Likewise.
27305 * gnu/javax/print/PrintUriException.java,
27306 gnu/javax/print/PrintFlavorException.java,
27307 gnu/javax/print/PrinterDialog.java,
27308 gnu/javax/print/PrintAttributeException.java,
27309 gnu/javax/print/CupsPrintServiceLookup.java,
27310 gnu/javax/print/CupsServer.java,
27311 gnu/javax/print/CupsPrintService.java,
27312 gnu/javax/print/CupsMediaMapping.java,
27313 gnu/javax/print/CupsIppOperation.java:
27314 New implementation files of the Java Print Service API.
27315 * gnu/javax/print/ipp/IppValueTag.java,
27316 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27317 gnu/javax/print/ipp/IppStatusCode.java,
27318 gnu/javax/print/ipp/IppUtilities.java,
27319 gnu/javax/print/ipp/IppResponse.java,
27320 gnu/javax/print/ipp/IppException.java,
27321 gnu/javax/print/ipp/IppPrintService.java,
27322 gnu/javax/print/ipp/IppRequest.java,
27323 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27324 gnu/javax/print/ipp/IppDelimiterTag.java,
27325 gnu/javax/print/ipp/DocPrintJobImpl.java:
27326 New files of the IPP client implementation.
27327 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27328 gnu/javax/print/ipp/attribute/StatusMessage.java,
27329 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27330 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27331 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27332 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27333 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27334 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27335 New attribute syntax/role files of the printing implementation.
27336 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27337 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27338 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27339 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27340 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27341 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27342 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27343 gnu/javax/print/ipp/attribute/supported/
27344 OrientationRequestedSupported.java,
27345 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27346 gnu/javax/print/ipp/attribute/supported/
27347 MultipleDocumentHandlingSupported.java,
27348 gnu/javax/print/ipp/attribute/supported/
27349 MultipleDocumentJobsSupported.java,
27350 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27351 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27352 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27353 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27354 gnu/javax/print/ipp/attribute/supported/
27355 GeneratedNaturalLanguageSupported.java,
27356 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27357 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27358 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27359 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27360 New supported attribute files.
27361 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27362 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27363 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27364 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27365 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27366 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27367 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27368 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27369 New printer description attribute files.
27370 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27371 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27372 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27373 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27374 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27375 gnu/javax/print/ipp/attribute/job/JobId.java,
27376 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27377 gnu/javax/print/ipp/attribute/job/JobUri.java,
27378 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27379 New job description attribute files.
27380 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27381 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27382 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27383 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27384 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27385 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27386 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27387 gnu/javax/print/ipp/attribute/defaults/
27388 MultipleDocumentHandlingDefault.java,
27389 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27390 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27391 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27392 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27393 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27394 New default printing attribute files.
27395 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27396 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27397 * examples/gnu/classpath/examples/print/Demo.java:
27398 New demo application of the current implemented functionality.
27400 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27402 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27403 java/rmi/activation/ActivationDesc.java.java,
27404 java/rmi/activation/ActivationGroup.java,
27405 java/rmi/activation/ActivationID.java,
27406 java/rmi/activation/ActivationMonitor.java,
27407 java/rmi/activation/ActivationSystem.java,
27408 java/rmi/activation/package.html: Documenting.
27410 2006-03-13 Roman Kennke <kennke@aicas.com>
27412 * javax/swing/JInternalFrame.java
27413 (setSelected): Repaint frame when it is showing and the selection
27416 2006-03-13 Roman Kennke <kennke@aicas.com>
27418 * javax/swing/AbstractButton.java
27419 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27422 2006-03-13 Roman Kennke <kennke@aicas.com>
27424 * javax/accessibility/AccessibleContext.java
27425 (getAccessibleRelationSet): Return empty set instead of null.
27427 2006-03-13 Roman Kennke <kennke@aicas.com>
27429 * javax/swing/ImageIcon.java
27430 (loadImage): Remove completed images from the MediaTracker. This
27431 avoids a potential memory leak.
27433 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27435 * javax/print/MultiDocPrintService.java,
27436 * javax/print/MultiDocPrintJob.java,
27437 * javax/print/MultiDoc.java: Added and enhanced documentation.
27439 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27441 * java/rmi/activation/ActivationID.java (uid): New field.
27442 (writeExternal, readExternal): New methods.
27443 (equals, hashCode): Rewritten.
27444 * java/rmi/activation/ActivationInstantiator.java,
27445 * java/rmi/activation/ActivationSystem.java,
27446 * java/rmi/activation/Activator.java,
27447 * java/rmi/activation/Activatable.java,
27448 * java/rmi/activation/ActivationGroup.java,
27449 * java/rmi/activation/ActivationGroupDesc.java:
27450 Documented and autoformatted.
27451 * java/rmi/activation/package.html: Added content.
27453 2006-03-12 Chris Burdess <dog@gnu.org>
27456 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27457 encoding are specified.
27459 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27461 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27462 (changeEvent): Initialise in fireStateChange(),
27463 (setSelectedIndex): Check if change is made before firing event,
27464 (clearSelection): Delegate to setSelectedIndex(),
27465 (fireStateChanged): Initialise changeEvent if necessary,
27466 * javax/swing/SingleSelectionModel.java: API docs all over.
27468 2006-03-11 Tom Tromey <tromey@redhat.com>
27470 * java/util/zip/InflaterInputStream.java: Reverted previous
27473 2006-03-11 Mark Wielaard <mark@klomp.org>
27475 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27478 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27480 * javax/swing/event/TreeSelectionEvent.java
27481 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27482 not one of the added/removed paths,
27483 (cloneWithSource): Reformatted.
27485 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27487 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27488 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27490 2006-03-10 Casey Marshall <csm@gnu.org>
27493 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27495 (doFinal, update): new methods.
27496 (init, init, init, init): initialize `state' after trying the
27497 implementation, which can throw an exception.
27498 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27501 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27503 * gnu/regexp/BacktrackStack.java: New file.
27504 * gnu/regexp/RE.java(findMatch): New method.
27505 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27506 REMatchList): Removed. (backtrackStack): New field.
27507 * gnu/regexp/REToken.java(match): Changed from an abstract
27508 method to an ordinary method defined with the new method
27509 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27510 findFixedLengthMatches, backtrack, toString): New methods.
27511 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27512 * gnu/regexp/RETokenBackRef.java: Likewise.
27513 * gnu/regexp/RETokenChar.java: Likewise.
27514 * gnu/regexp/RETokenEnd.java: Likewise.
27515 * gnu/regexp/RETokenEndSub.java: Likewise.
27516 * gnu/regexp/RETokenIndependent.java: Likewise.
27517 * gnu/regexp/RETokenLookAhead.java: Likewise.
27518 * gnu/regexp/RETokenLookBehind.java: Likewise.
27519 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27520 * gnu/regexp/RETokenPOSIX.java: Likewise.
27521 * gnu/regexp/RETokenRange.java: Likewise.
27522 * gnu/regexp/RETokenStart.java: Likewise.
27523 * gnu/regexp/RETokenWordBoundary.java: Likewise
27524 * gnu/regexp/RETokenOneOf.java: Rewriten.
27525 * gnu/regexp/RETokenRepeated.java: Rewriten.
27527 2006-03-10 Roman Kennke <kennke@aicas.com>
27529 * javax/swing/plaf/metal/MetalBorders.java
27530 (RolloverButtonBorder.paintBorder): Only call super here.
27531 * javax/swing/plaf/metal/MetalButtonListener.java
27532 (propertyChange): Only call super here.
27533 * javax/swing/plaf/metal/MetalButtonUI.java
27534 (update): Changed condition from isOpaque() to isContentAreaFilled()
27535 for the gradient fill.
27536 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27537 (paintText): API doc fix. Makes paintText not deprecated as specified
27538 but adds comment that this is obsolete.
27539 * javax/swing/plaf/metal/MetalUtils.java
27540 (fillMetalPattern): Fixed condition so that the Java2D is not
27541 used when the noGraphics2D property is set.
27543 2006-03-10 Roman Kennke <kennke@aicas.com>
27545 * javax/swing/plaf/metal/MetalLookAndFeel.java
27546 (createDefaultTheme): Set OceanTheme as default metal theme.
27548 2006-03-10 Roman Kennke <kennke@aicas.com>
27550 * javax/swing/text/WrappedPlainView.java
27551 (metrics): Made field package private to avoid accessor method.
27552 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27553 The drawLine (righly) interprets the y parameter as the baseline.
27554 * javax/swing/text/Utilities.java
27555 (getBreakLocation): Don't consider the offset. The returned value
27556 for getTabbedTextOffset is already relative to the offset.
27558 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27560 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27561 (dateFormat): Made private.
27562 (put): Replace only the last occurance and the value.
27563 (putAll): Save one iteration. Clarified documentation.
27565 2006-03-10 Tom Tromey <tromey@redhat.com>
27567 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27569 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27572 2006-03-10 Lillian Angel <langel@redhat.com>
27574 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27575 (comboboxgroup_get_widget): New function.
27576 (removed): Fixed to use new function to get the correct widget.
27577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27578 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27581 2006-03-10 Lillian Angel <langel@redhat.com>
27583 * java/awt/GridBagLayout.java
27584 (ArrangeGrid): Added checks to determine if component
27585 is placed last in a row or column. If so, the location
27586 of the last component should be used to get the location
27587 of the current component.
27589 2006-03-10 Lillian Angel <langel@redhat.com>
27591 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27592 (nativeSetCheckboxGroup): No need to use new function here.
27593 Should just pass in pointer.
27595 2006-03-10 Lillian Angel <langel@redhat.com>
27597 * java/awt/GridBagLayout.java
27598 (distributeSizeAndWeight): Change else if to else. This
27599 allows for components to be added to a new row when
27600 their gridheight is REMAINDER.
27602 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27604 * java/rmi/activation/ActivationDesc.java,
27605 java/rmi/activation/ActivationGroupID.java,
27606 java/rmi/activation/Activator.java,
27607 java/rmi/server/Operation.java,
27608 java/rmi/server/RemoteServer.java: Documented and formatted.
27610 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27612 * javax/swing/JToggleButton.java: Fixed API doc tags,
27613 * javax/swing/OverlayLayout.java: Likewise.
27615 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27617 * javax/swing/DefaultCellEditor.java
27618 (cancelCellEditing): Removed spurious API doc tag.
27620 2006-03-10 Lillian Angel <langel@redhat.com>
27622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27623 (create): Put checkbox widget into an event box so it paints properly.
27624 (connectSignals): Fixed to use new function.
27625 (nativeSetCheckboxGroup): Likewise.
27626 (gtkToggleButtonSetActive): Likewise.
27627 (gtkWidgetModifyFont): Likewise.
27628 (gtkButtonSetLabel): Likewise.
27629 (combobox_get_widget): New function.
27631 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27633 * javax/swing/text/rtf/package.html: New file.
27635 2006-03-10 Roman Kennke <kennke@aicas.com>
27637 * javax/swing/plaf/metal/OceanTheme.java
27638 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27639 * javax/swing/plaf/metal/MetalScrollBarUI.java
27640 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27641 (paintThumbHorizontal): Added handling of OceanTheme.
27642 (paintThumbVertical): Added handling of OceanTheme.
27644 2006-03-10 Roman Kennke <kennke@aicas.com>
27646 Reported by Fridjof Siebert <siebert@aicas.com>
27647 * java/awt/MediaTracker.java
27648 (removeImage): Only set prev to e when the the images of the
27649 entries are not the same. This avoids a potentially corrupt list.
27651 2006-03-10 Chris Burdess <dog@gnu.org>
27654 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27655 checking while reindenting.
27657 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27659 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27661 2006-03-09 Tom Tromey <tromey@redhat.com>
27663 PR classpath/26585:
27664 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27665 subdir. Added README.
27666 (install-data-local): Removed.
27667 (uninstall-local): Likewise.
27668 (EXTRA_DIST): Removed.
27670 2006-03-09 Tom Tromey <tromey@redhat.com>
27672 PR classpath/26623:
27673 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27675 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27677 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27679 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27681 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27683 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27685 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27687 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27689 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27691 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27693 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27694 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27696 2006-03-09 Keith Seitz <keiths@redhat.com>
27698 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27699 (executeVariableTable): Use VMMethod instead of reflection.
27700 (executeLineTable): Likewise.
27701 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27702 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27703 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27704 (getLineTable): Removed. Now resides in VMMethod.
27705 (getVarTable): Likewise.
27706 (getAllClassMethods): New method.
27708 2006-03-09 Keith Seitz <keiths@redhat.com>
27710 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27711 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27712 (ThreadStartEvent): Likewise.
27713 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27714 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27715 (ConditionalFilter): Likewise.
27716 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27717 (ExceptionOnlyFilter): Likewise.
27718 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27719 (FieldOnlyFilter): Likewise.
27720 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27721 (getSize): Likewise.
27722 (StepFilter): Likewise.
27723 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27724 * gnu/classpath/jdwp/transport/JdwpPacket.java
27725 (JdwpPacket): Likewise.
27726 (fromBytes): Likewise.
27727 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27728 (JdwpReplyPacket): Likewise.
27729 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27730 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27731 (getReferenceType): Likewise.
27732 (newObjectId): Likewise.
27733 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27734 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27735 (getFrames): Fix typo in parameter name and update javadoc.
27736 (getClassMethod): Update javadoc.
27738 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27740 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27741 * javax/swing/event/TreeSelectionListener.java: Likewise.
27743 2006-03-09 Lillian Angel <langel@redhat.com>
27745 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27746 (getHScrollbarHeight): Fixed property name.
27747 (getVScrollbarHeight): Likewise.
27749 2006-03-09 Lillian Angel <langel@redhat.com>
27751 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27752 (get_widget): New function.
27753 (gtkWidgetSetParent): Changed to use new function.
27754 (gtkWidgetSetCursorUnlocked): Likewise.
27755 (gtkWidgetSetSensitive): Likewise.
27756 (gtkWidgetRequestFocus): Likewise.
27757 (gtkWindowGetLocationOnScreen): Likewise.
27758 (gtkWidgetGetDimensions): Likewise.
27759 (gtkWidgetGetPreferredDimensions): Likewise.
27760 (setNativeBounds): Likewise.
27761 (gtkWidgetGetBackground): Likewise.
27762 (gtkWidgetGetForeground): Likewise.
27763 (gtkWidgetSetBackground): Likewise.
27764 (gtkWidgetSetForeground): Likewise.
27765 (setVisibleNativeUnlocked): Likewise.
27766 (isEnabled): Likewise.
27767 (isRealized): Likewise.
27768 (setNativeEventMask): Likewise.
27770 2006-03-09 Lillian Angel <langel@redhat.com>
27773 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27774 (create): Added combobox widget to an event box.
27775 (connectSignals): Added call to choice_get_widget to get the
27776 combobox out of the event box.
27777 (append): Likewise.
27778 (nativeRemoveAll): Likewise.
27779 (nativeRemove): Likwise.
27780 (nativeAdd): Likewise.
27781 (selectNative): Likewise.
27782 (choice_get_widget): New function.
27783 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27784 (create): Added list scroll window widget to an event box.
27785 (connectSignals): Changed call to use new function to get the
27786 correct widget out of the event box.
27787 (getWidgetModifyFont): Likewise.
27788 (getWidgetRequestFocus): Likewise.
27789 (append): Likewise.
27791 (delItems): Likewise.
27792 (select): Likewise.
27793 (deselect): Likewise.
27794 (getSize): Likewise.
27795 (getSelectedIndexes): Likewise.
27796 (makeVisible): Likewise.
27797 (setMultipleMode): Likewise.
27798 (list_get_widget): New function.
27799 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27800 (create): Added scrollpane to an eventbox.
27801 (setScrollPosition): Changed call to use new function to get the
27802 correct widget out of the event box.
27803 (gtkScrolledWindowSetHScrollIncrement): Likewise.
27804 (gtkScrolledWindowSetVScrollIncrement): Likewise.
27805 (getHScrollbarHeight): Likewise.
27806 (getVScrollbarWidth): Likewise.
27807 (setPolicy): Likewise.
27808 (scrollpane_get_widget): New function.
27809 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27810 (connectSignals): Changed call to use new function to get the
27811 correct widget out of the event box.
27812 (create): Added scrollbar to an eventbox.
27813 (setLineIncrement): Changed call to use new function to get the
27814 correct widget out of the event box.
27815 (setPageIncrement): Likewise.
27816 (setBarValues): Likewise.
27817 (scrollbar_get_widget): New function.
27818 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27819 (create): Added text area scroll window widget to an event box.
27820 (connectSignals): Changed call to use new function to get the
27821 correct widget out of the event box.
27822 (insert): Likewise.
27823 (replaceRange): Likewise.
27824 (gtkWidgetModifyFont): Likewise.
27825 (gtkWidgetRequestFocus): Likewise.
27826 (getHScrollbarHeight): Likewise.
27827 (getVScrollbarWidth): Likewise.
27828 (getCaretPosition): Likewise.
27829 (setCaretPosition):Likewise.
27830 (getSelectionStart): Likewise.
27831 (getSelectionEnd): Likewise.
27832 (select): Likewise.
27833 (setEditable): Likewise.
27834 (getText): Likewise.
27835 (setText): Likewise.
27836 (textarea_get_widget): New function.
27838 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27840 * java/rmi/dgc/VMID.java:
27841 (equals, hashCode, static initializer): Rewritten.
27842 * java/rmi/dgc/package.html: Documented.
27844 2006-03-09 Mark Wielaard <mark@klomp.org>
27846 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27848 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27849 (canCache): Likewise.
27850 (GtkClipboard): Take String argument.
27851 (getInstance): Removed.
27852 (getClipboardInstance, getSelectionInstance): New static methods.
27853 (setSystemContents): Make synchronized. Takes boolean argument.
27854 (initNativeState): Add clipboard and selection.
27855 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27856 (announceClipboardChange, announcePrimaryChange): New static field.
27857 (announce): Take GtkClipboard as argument.
27858 (run): Check which clipboard to announce change for.
27859 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27861 (GtkSelection): Take GtkClipboard as argument.
27862 (requestText, requestImage, requestURIs, requestBytes): Add boolean
27863 clipboard argument.
27864 (requestMimeTypes): Likewise.
27865 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27867 * java/awt/Toolkit.java (getSystemSelection): Document.
27868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27869 (cp_gtk_selection_instance): New var.
27870 (current_selection, owner): Removed.
27871 (clipboard_owner_change_cb): Use clipboard argument.
27872 (initNativeState): Store clipboard and selection instances. Cache
27873 setSystemContentsID, provideContentID, provideTextID, provideImageID,
27875 (clipboard_get_func): Use clipboard argument.
27876 (clipboard_clear_func): Likewise. Always call method.
27877 (advertiseContent): Don't cache method ids here. Check whether to
27878 use clpboard or selection. Don't set owner or current_selection.
27879 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27880 (requestText, requestImage, requestURIs, requestBytes): Use extra
27881 boolean argument to select clipboard.
27882 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27883 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27884 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27885 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27887 2006-03-09 Keith Seitz <keiths@redhat.com>
27889 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27890 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27891 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27892 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27893 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27894 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27895 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27896 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27897 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27899 2006-03-09 Mark Wielaard <mark@klomp.org>
27901 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27902 bounds for index is valid.
27903 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27905 (getCellBounds): Update documentation.
27907 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
27909 * .classpath: added exclude pattern on source folders
27910 (Makefiles, README and .cvsignore)
27912 2006-03-08 Michael Koch <konqueror@gmx.de>
27914 * java/net/Proxy.java (NO_PROXY): Made final.
27915 (equals): Likewise.
27916 (hashCode): Likewise.
27918 2006-03-08 Keith Seitz <keiths@redhat.com>
27920 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27921 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27922 (getClassMethod): New method.
27924 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27926 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27928 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27930 * java/rmi/server/ObjID.java: Documented and autoformatted.
27932 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27935 * tools/Makefile.am (install-data-local,
27936 uninstall-local): Install/uninstall the tools/README only.
27937 * tools/gnu/classpath/tools/giop/README: Updated.
27938 * tools/README: New file.
27940 2006-03-08 Lillian Angel <langel@redhat.com>
27942 * java/awt/GridBagLayout.java
27943 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27944 then the next item should be set to current_y (not 0).
27946 2006-03-08 Lillian Angel <langel@redhat.com>
27948 * java/awt/GridBagLayout.java
27949 (GetLayoutInfo): If gridy is RELATIVE and there is no component
27950 in the bottom-most spot of the column, we need to place that component
27951 at the y-location of the other components in that row. If there are
27952 no other components in that row, then place it at y = 0.
27954 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
27956 * javax/swing/ProgressMonitor.java: Updated API docs,
27957 * javax/swing/ProgressMonitorInputStream.java: Likewise.
27959 2006-03-08 Michael Koch <konqueror@gmx.de>
27961 * java/net/InetSocketAddress.java
27962 (InetSocketAddress(String,int,resolve)): New private contructor.
27963 (InetSocketAddress(String,int)): Use new private constructor.
27964 (createUnresolved): New method.
27966 2006-03-07 Michael Koch <konqueror@gmx.de>
27968 * gnu/java/net/DefaultProxySelector.java,
27969 java/net/Proxy.java, java/net/ProxySelector.java:
27972 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27974 * java/rmi/server/UID.java (constructor): Assign last and time fields
27977 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27979 * java/rmi/server/UID.java: New file (replacing).
27981 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
27983 * java/util/jar/Manifest.java: Removed unused imports.
27984 (CRLF): New constant.
27985 (read): Added method documentation.
27986 Use UTF-8 encoding instead of 8859_1.
27987 (write): Added method documentation.
27988 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27989 (write_main_section): Replace PrintWriter arg with OutputStream.
27990 Replace JarException with IOException.
27991 (write_version_info): Likewise.
27992 (write_main_attributes): Likewise.
27993 (write_attribute_entry): Likewise.
27994 (write_individual_sections): Likewise.
27995 (write_entry_attributes): Likewise.
27996 (write_header): Replace PrintWriter arg with OutputStream.
27999 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28001 * javax/swing/tree/DefaultMutableTreeNode.java
28002 (getFirstChild): Updated API docs,
28003 (getLastChild): Likewise,
28004 (getChildAfter): Likewise,
28005 (getChildBefore): Likewise,
28006 (isNodeSibling): Return true if node == this,
28007 (getSiblingCount): Updated API docs,
28008 (getNextSibling): Likewise,
28009 (getPreviousSibling): Likewise,
28010 (isLeaf): Likewise,
28011 (getFirstLeaf): Likewise,
28012 (getLastLeaf): Likewise,
28013 (getNextLeaf): Implemented,
28014 (getPreviousLeaf): Implemented.
28016 2006-03-07 Tom Tromey <tromey@redhat.com>
28018 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28019 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28020 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28021 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28024 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28026 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28027 (clone): Reimplemented,
28028 (add): Throw IllegalArgumentException if child is an ancestor,
28029 (remove(int)): Set child's parent to null,
28030 (remove(MutableTreeNode)): Check arguments and set child's parent to
28032 (insert): Check allowsChildren flag, check for null argument, and
28033 check for a node that is an ancestor,
28034 (getIndex): Throw IllegalArgumentException for null argument,
28035 (setAllowsChildren): If setting to false, remove existing children,
28036 (removeAllChildren): Set parent to null for removed children.
28038 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
28040 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28043 2006-03-06 Tom Tromey <tromey@redhat.com>
28045 * java/lang/StrictMath.java (ulp): New methods.
28046 * java/lang/Math.java (ulp): New methods.
28048 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28050 * gnu/java/rmi/server/UnicastRef.java,
28051 * gnu/java/rmi/server/UnicastServer.java: Formatted.
28053 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28055 * gnu/java/rmi/server/CombinedClassLoader.java
28056 (findClass, findLibrary, findResouce, findResources): check
28057 all loaders in array.
28059 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28062 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28063 (RefProtector): new inner class. (dirty): Rewritten.
28064 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28065 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28066 new methods. (readExternal): Create LeaseRenewingTask if non local.
28067 * gnu/java/rmi/server/UnicastServer.java (objects):
28068 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28069 (getExported): New method.
28070 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28072 2006-03-06 Mark Wielaard <mark@klomp.org>
28074 * doc/www.gnu.org/announce/20060306.wml: New file.
28075 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28076 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28078 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28080 * javax/swing/plaf/metal/MetalLookAndFeel.java
28081 (initComponentDefaults): Use Boolean.TRUE for
28082 'CheckBoxMenuItem.borderPainted'.
28084 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28086 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28087 (dateFormat): Made private.
28088 (put): Replace only the last occurance and the value.
28089 (putAll): Reimplemented with the put method.
28091 2006-03-06 Lillian Angel <langel@redhat.com>
28094 * java/awt/List.java
28095 (preferredSize): Return the size of the list if the peer is
28097 * gnu/java/awt/peer/gtk/GtkListPeer.java
28098 (preferredSize): Code was returning the minimum size of the
28099 list. Added adjustment to the width of the list so it is a
28102 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28104 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28105 (getRequestProperty): Remove duplicated null check.
28106 * java/net/URLConnection.java:
28107 (URLConnection): Javadoc fix.
28108 (addRequestProperty): Likewise.
28109 (getDefaultRequestProperty): Likewise.
28110 (getHeaderField): Likewise.
28111 (getHeaderFieldDate): Likewise.
28112 (getHeaderFieldKey): Likewise.
28113 (getHeaderFields): Likewise.
28114 (getRequestProperties): Likewise.
28115 (getRequestProperty): Likewise.
28116 (setDefaultRequestProperty): Likewise.
28117 (setRequestProperty): Likewise.
28119 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28121 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28122 * examples/gnu/classpath/examples/swing/Demo.java:
28123 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28125 (mkMenuBar): Added entry for text area example.
28127 2006-03-06 Tom Tromey <tromey@redhat.com>
28129 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28130 (FORMATTED_TEXT_FIELD): Likewise.
28132 2006-03-06 Tom Tromey <tromey@redhat.com>
28134 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28136 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28138 * examples/gnu/classpath/examples/swing/Demo.java:
28139 (mkMenuBar): Added menu entry that will display the VM's name,
28140 version and distributor.
28142 2006-03-06 Tom Tromey <tromey@redhat.com>
28144 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28146 (getName): Likewise.
28148 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28150 * java/util/jar/Manifest.java: Removed unused imports.
28151 (CRLF): New constant.
28152 (read): Added method documentation.
28153 Use UTF-8 encoding instead of 8859_1.
28154 (write): Added method documentation.
28155 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28156 (write_main_section): Replace PrintWriter arg with OutputStream.
28157 Replace JarException with IOException.
28158 (write_version_info): Likewise.
28159 (write_main_attributes): Likewise.
28160 (write_attribute_entry): Likewise.
28161 (write_individual_sections): Likewise.
28162 (write_entry_attributes): Likewise.
28163 (write_header): Replace PrintWriter arg with OutputStream.
28166 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28169 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28170 API doc tag warnings,
28171 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28173 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28175 * gnu/java/net/protocol/file/Connection.java (unquote):
28176 Update position in buffer after decoding a unicode character
28177 outside of the basic plane.
28179 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28181 * java/net/URI.java
28182 (quote): Pass Unicode characters outside the basic plane through.
28184 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28186 * javax/swing/plaf/basic/BasicTextUI.java:
28187 (damageRange): Rewritten if-expressions to correctly identify the
28190 2006-03-06 Mark Wielaard <mark@klomp.org>
28192 * configure.ac: Set version to 0.90-generics.
28195 2006-03-06 Mark Wielaard <mark@klomp.org>
28197 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28198 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28199 (isnan): Define explicitly isnan if it is not a macro.
28201 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28203 * javax/swing/text/GapContent.java:
28204 (insertString): Throw exception when argument is below
28207 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28209 * javax/swing/text/PlainDocument.java:
28210 (insertUpdate): Extended if-expression, added
28211 code to generate another Element when newly inserted characters
28212 and old ones will be on the same line.
28214 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28216 * javax/swing/text/DefaultCaret.java:
28217 (mouseDragged): Do selection when shift is pressed.
28218 (mouseClicked): Implemented.
28220 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28222 * javax/swing/text/PlainDocument.java: Fix copyright header,
28224 (insertUpdate): Do not copy the whole document any more, added some
28225 more variables to prevent needless method calls.
28227 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28229 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28230 is required on Darwin.
28231 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28232 (AM_CFLAGS): Likewise.
28234 2006-03-06 Mark Wielaard <mark@klomp.org>
28236 * NEWS: Add updates for 0.90 release.
28238 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28240 * javax/swing/text/GapContent.java:
28241 (insertString): Throw exception when argument is below
28244 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28247 * javax/swing/filechooser/FileFilter.java:
28248 (accept): Fixed API doc tag,
28249 (getDescription): Likewise,
28250 * javax/swing/filechooser/FileView.java:
28251 (isTraversable): Fixed API doc tag.
28253 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28255 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28256 added API docs all over.
28258 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28260 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28261 and corrected a bad API doc tag.
28263 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28265 * javax/swing/undo/StateEditable.java
28266 (restoreState): Fixed bad API doc tag,
28267 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28268 AbstractUndoableEdit.java,
28269 * javax/swing/undo/UndoableEditSupport.java
28270 (createCompoundEdit): Fixed bad API doc tag,
28271 * javax/swing/undo/UndoManager.java
28272 (editToBeUndone): Fixed bad API doc tag,
28273 (editToBeRedone): Likewise.
28275 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28277 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28278 * javax/swing/FocusManager.java: Likewise.
28281 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28284 * javax/swing/plaf/metal/MetalComboBoxButton.java
28285 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28286 JList)): Fixed API doc tag,
28287 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28288 (createLayout): Fixed API doc warning.
28290 2006-03-05 Tom Tromey <tromey@redhat.com>
28292 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28293 ClassHelper.getUserName.
28294 * vm/reference/java/lang/reflect/Method.java (toString): Use
28295 ClassHelper.getUserName.
28296 (getUserTypeName): Removed.
28297 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28298 * vm/reference/java/lang/reflect/Field.java (toString): Use
28299 ClassHelper.getUserName.
28301 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28304 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28305 Allows directories as valid resources.
28307 2006-03-05 Mark Wielaard <mark@klomp.org>
28309 * configure.ac (VERSION): Set to 0.90-pre-generics.
28310 * Merge with CVS trunk from classpath-0_90-branch-point.
28312 2006-03-04 Tom Tromey <tromey@redhat.com>
28314 * javax/swing/SpringLayout.java (Constraints): New constructor.
28315 * javax/swing/Spring.java (width): New method.
28316 (height): Likewise.
28319 2006-03-04 Mark Wielaard <mark@klomp.org>
28321 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28322 existing connection from pool before returning.
28324 2006-03-04 Mark Wielaard <mark@klomp.org>
28326 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28327 exceptions thrown by handlers while cleaning up and rethrow original
28330 2006-03-04 Tom Tromey <tromey@redhat.com>
28332 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28334 (findConstructor): Likewise.
28335 (instantiateClass): Likewise.
28337 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28339 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28340 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28341 lease value and not always the default one.
28342 (LeaseRecord): Remember the array of objects, marked as dirty.
28343 java/rmi/dgc/Lease.java: Boilerplate fix.
28345 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28347 * java/util/jar/Attributes.java (putValue): Made it public and updated
28348 method documentation.
28350 2006-03-04 Mark Wielaard <mark@klomp.org>
28352 * java/awt/Container.java (remove(int)): Always call removeNotify()
28353 on removed Component.
28355 2006-03-04 Mark Wielaard <mark@klomp.org>
28357 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28358 * javax/swing/JEditorPane.java (setText): Check for empty String
28359 with equals(), not equality (==).
28361 2006-03-04 Mark Wielaard <mark@klomp.org>
28363 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28364 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28366 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28368 * javax/swing/text/GapContent.java
28369 (getArray): Mark as final.
28371 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28373 * javax/swing/text/StyleConstants.java
28374 (CharacterConstants.Background): Marked final,
28375 (CharacterConstants.BidiLevel): Likewise,
28376 (CharacterConstants.Bold): Likewise,
28377 (CharacterConstants.ComponentAttribute): Likewise,
28378 (CharacterConstants.Family): Likewise,
28379 (CharacterConstants.Size): Likewise,
28380 (CharacterConstants.Foreground): Likewise,
28381 (CharacterConstants.IconAttribute): Likewise,
28382 (CharacterConstants.Italic): Likewise,
28383 (CharacterConstants.StrikeThrough): Likewise,
28384 (CharacterConstants.Subscript): Likewise,
28385 (CharacterConstants.Superscript): Likewise,
28386 (CharacterConstants.Underline): Likewise,
28387 (ColorConstants.Foreground): Likewise,
28388 (ColorConstants.Background): Likewise,
28389 (FontConstants.Bold): Likewise,
28390 (FontConstants.Family): Likewise,
28391 (FontConstants.Italic): Likewise,
28392 (FontConstants.Size): Likewise,
28393 (ParagraphConstants.Alignment): Likewise,
28394 (ParagraphConstants.FirstLineIndent): Likewise,
28395 (ParagraphConstants.LeftIndent): Likewise,
28396 (ParagraphConstants.LineSpacing): Likewise,
28397 (ParagraphConstants.Orientation): Likewise,
28398 (ParagraphConstants.RightIndent): Likewise,
28399 (ParagraphConstants.SpaceAbove): Likewise,
28400 (ParagraphConstants.SpaceBelow): Likewise,
28401 (ParagraphConstants.TabSet): Likewise.
28403 2006-03-03 Tom Tromey <tromey@redhat.com>
28405 * javax/net/ssl/SSLException.java: Added missing @since.
28408 2006-03-03 Tom Tromey <tromey@redhat.com>
28410 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28411 (serialVersionUID): New field.
28413 2006-03-03 Tom Tromey <tromey@redhat.com>
28415 * java/security/spec/InvalidKeySpecException.java
28416 (InvalidKeySpecException): New constructors.
28417 * java/security/cert/CertificateParsingException.java
28418 (CertificateParsingException): New constructors.
28419 * java/security/cert/CertificateEncodingException.java
28420 (CertificateEncodingException): New constructors.
28421 * java/security/cert/CertificateException.java (CertificateException):
28423 * java/security/cert/CRLException.java (CRLException): New
28426 2006-03-03 Tom Tromey <tromey@redhat.com>
28428 * java/security/SignatureException.java (SignatureException): New
28430 * java/security/ProviderException.java (ProviderException): New
28432 * java/security/NoSuchAlgorithmException.java
28433 (NoSuchAlgorithmException): New constructors.
28434 * java/security/KeyStoreException.java (KeyStoreException): New
28436 * java/security/KeyManagementException.java (KeyManagementException):
28438 * java/security/InvalidKeyException.java (InvalidKeyException): New
28440 * java/security/KeyException.java (KeyException): New constructors.
28441 * java/security/InvalidAlgorithmParameterException.java
28442 (InvalidAlgorithmParameterException): New constructors.
28443 * java/security/DigestException.java (DigestException): New
28445 * java/security/GeneralSecurityException.java
28446 (GeneralSecurityException): New constructors.
28448 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28450 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28452 * javax/swing/event/DocumentEvent.java: Likewise,
28453 * javax/swing/event/EventListenerList.java: Likewise,
28454 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28455 * javax/swing/event/MenuKeyEvent.java: Likewise,
28456 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28457 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28458 * javax/swing/event/TreeModelEvent.java: Likewise,
28459 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28460 * javax/swing/event/UndoableEditEvent.java: Likewise.
28462 2006-03-03 Tom Tromey <tromey@redhat.com>
28464 * java/awt/Insets.java (set): New method.
28465 (equals): Added @since.
28467 2006-03-03 David Daney <ddaney@avtrex.com>
28469 * gnu/java/net/protocol/http/HTTPURLConnection.java
28470 (getRequestProperties): Rewrote.
28471 (addRequestProperty): Rewrote.
28472 (getHeaderFields): Rewrote.
28473 (getHeaderField): Rewrote.
28474 (getHeaderFieldKey): Rewrote.
28475 (getHeaderField): Removed useless cast.
28476 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28477 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28479 (notifyHeaderHandlers): Use new Headers interface.
28481 2006-03-03 Tom Tromey <tromey@redhat.com>
28483 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28484 * javax/naming/spi/ResolveResult.java,
28485 javax/naming/event/NamingExceptionEvent.java,
28486 javax/naming/event/NamingEvent.java,
28487 javax/naming/directory/SearchResult.java,
28488 javax/naming/directory/SearchControls.java,
28489 javax/naming/directory/SchemaViolationException.java,
28490 javax/naming/directory/NoSuchAttributeException.java,
28491 javax/naming/directory/ModificationItem.java,
28492 javax/naming/directory/InvalidSearchFilterException.java,
28493 javax/naming/directory/InvalidSearchControlsException.java,
28494 javax/naming/directory/InvalidAttributesException.java,
28495 javax/naming/directory/InvalidAttributeIdentifierException.java,
28496 javax/naming/directory/AttributeModificationException.java,
28497 javax/naming/directory/AttributeInUseException.java,
28498 javax/naming/TimeLimitExceededException.java,
28499 javax/naming/SizeLimitExceededException.java,
28500 javax/naming/PartialResultException.java,
28501 javax/naming/Reference.java,
28502 javax/naming/ServiceUnavailableException.java,
28503 javax/naming/OperationNotSupportedException.java,
28504 javax/naming/NotContextException.java,
28505 javax/naming/NoPermissionException.java,
28506 javax/naming/NoInitialContextException.java,
28507 javax/naming/NameNotFoundException.java,
28508 javax/naming/NameAlreadyBoundException.java,
28509 javax/naming/NameClassPair.java,
28510 javax/naming/MalformedLinkException.java,
28511 javax/naming/LinkLoopException.java,
28512 javax/naming/LinkException.java,
28513 javax/naming/LimitExceededException.java,
28514 javax/naming/InvalidNameException.java,
28515 javax/naming/InterruptedNamingException.java,
28516 javax/naming/InsufficientResourcesException.java,
28517 javax/naming/ContextNotEmptyException.java,
28518 javax/naming/ConfigurationException.java,
28519 javax/naming/CannotProceedException.java,
28520 javax/naming/CommunicationException.java,
28521 javax/naming/Binding.java,
28522 javax/naming/AuthenticationNotSupportedException.java,
28523 javax/naming/AuthenticationException.java: Added serialVersionUID.
28525 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28527 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28529 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28531 * javax/swing/event/TableModelListener.java: Updated API docs.
28533 2006-03-03 Mark Wielaard <mark@klomp.org>
28535 * java/awt/Component.java (addNotify): Expand documentation.
28537 2006-03-03 Mark Wielaard <mark@klomp.org>
28539 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28540 Always call setParentAndBounds().
28541 (setComponentBounds): Always call setBounds().
28542 (setBounds): Call setVisible().
28543 (setVisible): If no pixels are showing then don't make it visible.
28544 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28545 to call setParentAndBounds() anymore.
28547 2006-03-03 Roman Kennke <kennke@aicas.com>
28549 * javax/swing/JInternalFrame.java
28550 (JInternalFrame): Set frame invisible.
28551 (show): Reformatted.
28552 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28553 (installDefaults): Do not set invisible here.
28555 2006-03-03 Roman Kennke <kennke@aicas.com>
28557 * java/awt/Toolkit.java
28558 (getScreenInsets): Return (0,0,0,0) here.
28560 2006-03-03 Roman Kennke <kennke@aicas.com>
28562 * javax/swing/text/FlowView.java
28563 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28564 (FlowStrategy.getLogicalView): Made method protected.
28566 2006-03-03 Chris Burdess <dog@gnu.org>
28568 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28569 gnu/xml/validation/relaxng/AttributePattern.java,
28570 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28571 gnu/xml/validation/relaxng/ChoicePattern.java,
28572 gnu/xml/validation/relaxng/DataPattern.java,
28573 gnu/xml/validation/relaxng/Define.java,
28574 gnu/xml/validation/relaxng/ElementPattern.java,
28575 gnu/xml/validation/relaxng/EmptyPattern.java,
28576 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28577 gnu/xml/validation/relaxng/Grammar.java,
28578 gnu/xml/validation/relaxng/GrammarException.java,
28579 gnu/xml/validation/relaxng/GrammarValidator.java,
28580 gnu/xml/validation/relaxng/GroupPattern.java,
28581 gnu/xml/validation/relaxng/InterleavePattern.java,
28582 gnu/xml/validation/relaxng/ListPattern.java,
28583 gnu/xml/validation/relaxng/NSNameNameClass.java,
28584 gnu/xml/validation/relaxng/NameClass.java,
28585 gnu/xml/validation/relaxng/NameNameClass.java,
28586 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28587 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28588 gnu/xml/validation/relaxng/Param.java,
28589 gnu/xml/validation/relaxng/Pattern.java,
28590 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28591 gnu/xml/validation/relaxng/RefPattern.java,
28592 gnu/xml/validation/relaxng/TextPattern.java,
28593 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28594 builder and data model.
28595 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28596 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28597 gnu/xml/validation/xmlschema/AttributeUse.java,
28598 gnu/xml/validation/xmlschema/ComplexType.java,
28599 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28600 gnu/xml/validation/xmlschema/Particle.java,
28601 gnu/xml/validation/xmlschema/ValidationException.java,
28602 gnu/xml/validation/xmlschema/XMLSchema.java,
28603 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28604 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28605 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28606 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28607 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28608 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28609 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28610 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28611 W3C XML Schema builder and schema components.
28612 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28613 XML Schema namespace URIs.
28615 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28617 * NEWS: Add entry for --enable-collections.
28618 * configure.ac: Add --enable-collections option.
28619 * lib/Makefile.am (collections.jar): New target.
28620 (glibj_DATA): Add $(COLLECTIONS).
28621 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28622 configure substitution.
28623 (classpath): Read from command line.
28624 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28626 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28628 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28630 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28632 * javax/swing/event/ListSelectionEvent.java
28633 (toString): Implemented,
28634 plus updated API docs all over.
28636 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28638 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28640 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28642 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28644 * gnu/java/rmi/dgc/DGCImpl.java,
28645 java/rmi/dgc/DGC.java,
28646 java/rmi/dgc/Lease.java: Formatted and commented.
28648 2006-03-03 Roman Kennke <kennke@aicas.com>
28650 * NEWS: Added comment about text highlighting and copy+paste
28653 2006-03-03 Roman Kennke <kennke@aicas.com>
28655 * javax/swing/JTabbedPane.java
28656 (remove(int)): Call super.remove(int) instead of remove(Component).
28657 Avoids a stack overflow.
28659 2006-03-03 Roman Kennke <kennke@aicas.com>
28661 * javax/swing/JTable.java
28662 (distributeSpillResizing): Avoid ArithmeticException by checking
28665 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28667 * javax/swing/text/package.html: Added package description.
28669 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28671 * javax/swing/CellRendererPane.java: Minor API doc fix,
28672 * javax/swing/ComboBoxModel.java: Updated API docs.
28674 2006-03-03 Chris Burdess <dog@gnu.org>
28677 * gnu/xml/stream/EntityReferenceImpl.java,
28678 gnu/xml/stream/FilteredEventReader.java,
28679 gnu/xml/stream/SAXParser.java,
28680 gnu/xml/stream/XIncludeFilter.java,
28681 gnu/xml/stream/XMLEventAllocatorImpl.java,
28682 gnu/xml/stream/XMLEventFactoryImpl.java,
28683 gnu/xml/stream/XMLEventImpl.java,
28684 gnu/xml/stream/XMLEventReaderImpl.java,
28685 gnu/xml/stream/XMLEventWriterImpl.java,
28686 gnu/xml/stream/XMLInputFactoryImpl.java,
28687 gnu/xml/stream/XMLOutputFactoryImpl.java,
28688 gnu/xml/stream/XMLParser.java,
28689 javax/xml/stream/EventFilter.java,
28690 javax/xml/stream/Location.java,
28691 javax/xml/stream/StreamFilter.java,
28692 javax/xml/stream/XMLEventFactory.java,
28693 javax/xml/stream/XMLEventReader.java,
28694 javax/xml/stream/XMLEventWriter.java,
28695 javax/xml/stream/XMLInputFactory.java,
28696 javax/xml/stream/XMLOutputFactory.java,
28697 javax/xml/stream/XMLReporter.java,
28698 javax/xml/stream/XMLResolver.java,
28699 javax/xml/stream/XMLStreamConstants.java,
28700 javax/xml/stream/XMLStreamReader.java,
28701 javax/xml/stream/events/EntityDeclaration.java,
28702 javax/xml/stream/events/EntityReference.java,
28703 javax/xml/stream/events/XMLEvent.java,
28704 javax/xml/stream/util/EventReaderDelegate.java,
28705 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28706 StAX API as specified in JWSDP 2.0.
28707 * gnu/xml/stream/EndEntityImpl.java,
28708 gnu/xml/stream/LocationImpl.java,
28709 gnu/xml/stream/StartEntityImpl.java,
28710 gnu/xml/stream/XMLStreamReaderImpl.java,
28711 javax/xml/stream/XMLFilter.java,
28712 javax/xml/stream/XMLIterator.java,
28713 javax/xml/stream/events/EndEntity.java,
28714 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28716 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28718 * javax/swing/CellEditor.java: API doc updates,
28719 * javax/swing/DefaultCellEditor.java: Likewise.
28721 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28723 * javax/swing/AbstractListModel.java:
28724 (AbstractListModel): Added API docs,
28725 (fireContentsChanged): Minor API doc correction,
28726 (fireIntervalAdded): Likewise,
28727 (fireIntervalRemoved): Likewise.
28729 2006-03-03 Roman Kennke <kennke@aicas.com>
28731 * NEWS: Added paragraph about Swing improvements.
28733 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28735 * javax/swing/AbstractAction.java: Updated API docs all over,
28736 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28737 (stopCellEditing): Minor API doc correction,
28738 * javax/swing/UnsupportedLookAndFeelException.java
28739 (UnsupportedLookAndFeelException): Changed argument name, updated API
28742 2006-03-03 Roman Kennke <kennke@aicas.com>
28744 * javax/swing/plaf/metal/MetalUtils.java
28745 (fillMetalPattern): Added switch to not use Graphics2D methods,
28746 even if they are available.
28748 2006-03-03 Roman Kennke <kennke@aicas.com>
28750 * javax/swing/plaf/basic/BasicHTML.java
28751 (isHTMLString): Check for string beeing null.
28752 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28753 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28754 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28755 (InternalFrameLayout): Don't touch the glass pane here.
28756 (installUI): Fix handling of glass pane.
28757 * javax/swing/plaf/basic/BasicLabelUI.java
28761 (BasicLabelUI): Initialize new fields.
28762 (getPreferredSize): Avoid creating new Rectangles by using
28763 SwingUtilities method.
28764 (paint): Avoid creating new Rectangles by reusing
28765 new fields. Added some preliminary handling of HTML inside the
28767 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28768 (uninstallComponents): Clear HTML renderer.
28769 (propertyChange): Check for HTML text and install renderer if
28771 * javax/swing/plaf/basic/BasicListUI.java
28772 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28774 * javax/swing/plaf/basic/BasicTextUI.java
28775 (RootView.getStartOffset): Implemented.
28776 (RootView.getEndOffset): Implemented.
28777 (RootView.getDocument): Implemented.
28779 2006-03-03 Roman Kennke <kennke@aicas.com>
28781 * javax/swing/text/DefaultStyledDocument.java
28782 (ElementBuffer.inserUpdate): Added check for zero-length
28784 * javax/swing/text/DefaultStyledDocument.java
28785 (setIndex): Improved exception message.
28786 * javax/swing/text/TableView.java
28787 Made class abstract.
28788 (TableRow.replace): Probably extend columnRequirements
28790 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28791 of super.layoutMajorAxis.
28792 (columnRequirements): Made field package private.
28793 (TableView): Do not load any child views here.
28794 (layoutColumns): Implemented this method.
28795 (updateColumnRequirements): New helper method.
28796 * javax/swing/text/Utilities.java
28797 (getBreakLocation): Also take offset into account when
28798 finding end location.
28799 * javax/swing/text/html/HTMLDocument.java
28800 (HTMLReader.parseStack): New field.
28801 (HTMLReader.blockOpen): Properly handle p-implied tags.
28802 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28803 (HTMLReader.addContent): Insert p-implied when adding content to
28805 * javax/swing/text/html/HTMLEditorKit.java
28806 (HTMLFactory.create): Create HTMLTableView for <table> tags and
28807 ParagraphView for TD tags. Print out warning for tags that don't have
28808 matching view yet and create NullView for them.
28809 (read): Only set document base when document != null.
28810 * javax/swing/text/html/HTMLTableView.java:
28813 2006-03-03 Roman Kennke <kennke@aicas.com>
28815 * javax/swing/plaf/basic/BasicHTML.java
28816 (HTMLRootView): New inner class.
28817 (createHTMLView): Embed view inside a HTMLRootView.
28819 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
28821 * gnu/java/net/protocol/jar/Connection.java:
28822 (connect): Throw FileNotFoundException.
28823 (getInputStream): Remove duplicated code.
28825 2006-03-03 Roman Kennke <kennke@aicas.com>
28827 * javax/swing/RepaintManager.java
28828 (commitBuffer): Added null check for clip.
28830 2006-03-02 Lillian Angel <langel@redhat.com>
28832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28833 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28834 to use GtkWidget instead of GTKMenu.
28836 2006-03-02 Lillian Angel <langel@redhat.com>
28838 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28839 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
28840 use the submenu to get the list of children. This now works
28841 in the same way as addItem.
28843 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
28845 * java/lang/StringBuilder.java:
28846 (codePointAt): New method.
28847 (codePointBefore): Likewise.
28848 (codePointCount): Likewise.
28849 (trimToSize): Likewise.
28851 2006-03-02 Tom Tromey <tromey@redhat.com>
28853 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28855 2006-03-02 Tom Tromey <tromey@redhat.com>
28857 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28858 (getProviderInstance):
28860 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
28862 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28863 Fix regression caused by move to VM variant.
28864 PR classpath/22926.
28866 2006-03-01 Tom Tromey <tromey@redhat.com>
28868 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28869 * vm/reference/java/net/VMInetAddress.java: Organized imports.
28870 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28871 imports for javadoc.
28872 (getProxyClass): Javadoc fixes.
28873 (getProxyData): Likewise.
28874 (generateProxyClass): Likewise.
28875 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28876 (setOut): Likewise.
28877 (setErr): Likewise.
28878 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28879 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28881 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28883 (getModifiers): Likewise.
28884 (getDeclaredClasses): Javadoc fix.
28885 (getDeclaredFields): Likewise.
28886 (getDeclaredMethods): Likewise.
28887 (getDeclaredConstructors): Likewise.
28888 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28891 2006-03-01 Tom Tromey <tromey@redhat.com>
28893 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28894 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28895 (getVersion): Javadoc fix.
28897 * gnu/java/net/protocol/http/Headers.java: Organized imports.
28898 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28900 2006-03-01 David Daney <ddaney@avtrex.com>
28902 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28903 as relative if it contains a colon but no protocol handler can be
28906 2006-03-01 Roman Kennke <kennke@aicas.com>
28908 * javax/swing/text/AbstractDocument.java
28909 (LeafElement.LeafElement): Handle delta with respect to content
28910 length not document length.
28911 * javax/swing/text/CompositeView.java
28912 (getViewIndex): Handle bias correctly.
28913 * javax/swing/text/DefaultCaret.java
28914 (paint): Align caret position to document bounds to avoid trouble
28915 when removing large portions of content.
28916 * javax/swing/text/DefaultStyledDocument.java
28917 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28918 (ElementBuffer.createFracture): Copy old childs attribute. The
28919 ElementSpec usually doesn't carry attribute information.
28920 Use pos instead of offset.
28921 (ElementBuffer.insertFracture): Use pos instead of offset.
28922 (createDefaultRootElement): Don't use create* and instead directly
28923 instantiate the elements.
28924 (handleInsertAfterNewline): Compare the paragraphs startOffset
28925 rather than previous paragraphs endOffset.
28926 * javax/swing/text/JTextComponent.java
28927 (getScrollableTracksViewportWidth): Remove unnecessary cast to
28929 (getScrollableTracksViewportHeight): Remove unnecessary cast to
28931 * javax/swing/text/PlainView.java
28932 (damageLineRange): Avoid creating new Rectangle by using
28934 * javax/swing/text/View.java
28935 (forwardUpdate): Correct the use of bias.
28936 (modelToView): Avoid new Rectangles by using SwingUtilities.
28937 (dump): Made (temprorarily) protected for use in BasicTextUI.
28938 (dump(int)): Dump out the element of the view.
28940 2006-03-01 Lillian Angel <langel@redhat.com>
28942 * NEWS: javax.imageio.plugins.bmp implementation.
28944 2006-03-01 Lillian Angel <langel@redhat.com>
28946 * javax/imageio/ImageWriteParam.java:
28947 Added documentation for fields.
28948 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28949 New class implemented.
28951 2006-03-01 Tom Tromey <tromey@redhat.com>
28953 * NEWS: Mention java.util.prefs update.
28955 2006-03-01 Tom Tromey <tromey@redhat.com>
28957 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28958 * java/nio/charset/UnmappableCharacterException.java:
28959 (serialVersionUID): New field.
28960 * java/nio/charset/MalformedInputException.java:
28961 (serialVersionUID): New field.
28962 * java/nio/charset/CoderMalfunctionError.java:
28963 (serialVersionUID): New field.
28964 * java/nio/charset/CharacterCodingException.java:
28965 (serialVersionUID): New field.
28966 * java/nio/channels/UnsupportedAddressTypeException.java:
28967 (serialVersionUID): New field.
28968 * java/nio/channels/UnresolvedAddressException.java:
28969 (serialVersionUID): New field.
28970 * java/nio/channels/OverlappingFileLockException.java:
28971 (serialVersionUID): New field.
28972 * java/nio/channels/NotYetConnectedException.java:
28973 (serialVersionUID): New field.
28974 * java/nio/channels/NotYetBoundException.java
28975 (serialVersionUID): New field.
28976 * java/nio/channels/NonWritableChannelException.java
28977 (serialVersionUID): New field.
28978 * java/nio/channels/NonReadableChannelException.java
28979 (serialVersionUID): New field.
28980 * java/nio/channels/NoConnectionPendingException.java
28981 (serialVersionUID): New field.
28982 * java/nio/channels/IllegalSelectorException.java
28983 (serialVersionUID): New field.
28984 * java/nio/channels/IllegalBlockingModeException.java
28985 (serialVersionUID): New field.
28986 * java/nio/channels/FileLockInterruptionException.java
28987 (serialVersionUID): New field.
28988 * java/nio/channels/ConnectionPendingException.java
28989 (serialVersionUID): New field.
28990 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28992 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28994 * java/nio/channels/ClosedByInterruptException.java
28995 (serialVersionUID): New field.
28996 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
28998 * java/nio/channels/AsynchronousCloseException.java
28999 (serialVersionUID): New field.
29000 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29002 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29003 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29004 * java/nio/BufferUnderflowException.java (serialVersionUID): New
29006 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29007 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29008 Javadoc fix. Added import.
29009 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29010 (validOps): Likewise.
29011 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29012 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29013 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29014 * java/nio/channels/Channels.java: Added import.
29015 * java/nio/channels/FileChannel.java (lock): Typo fix.
29016 (tryLock): Likewise.
29018 2006-03-01 Tom Tromey <tromey@redhat.com>
29020 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29022 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29023 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29025 (putSpi): Likewise.
29026 (newNode): Likewise.
29028 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29029 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29031 (systemRoot): Use it.
29032 (userPreferences): New field.
29033 (userRoot): Use it.
29035 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
29037 * java/util/ResourceBundle.java
29038 (tryBundle): Catch and ignore all Exceptions.
29040 2006-02-28 Roman Kennke <kennke@aicas.com>
29042 * javax/swing/plaf/basic/BasicScrollBarUI.java
29043 (getPreferredSize): Fixed add a fixed space between the buttons
29044 instead of something related to min/max.
29045 (installComponents): Create and install buttons here.
29046 (installDefaults): Don't create buttons here.
29047 * javax/swing/plaf/metal/MetalScrollBarUI.java
29048 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29049 (getPreferredSize): New method.
29051 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
29053 * examples/gnu/classpath/examples/swing/Demo.java
29054 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29055 connected 'Spinner' action to SpinnerDemo,
29056 (mkCheckbox): Removed,
29057 (mkRadio): Likewise,
29058 (mkSpinner): Likewise,
29059 (mkToggle): Likewise,
29060 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29061 connected 'Spinner' action to SpinnerDemo.
29063 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
29065 * javax/print/ServiceUIFactory.java: Added documentation to class.
29067 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29070 * javax/swing/DefaultListSelectionModel.java:
29071 (addSelectionInterval): Return early if either of the arguments is -1.
29072 (removeSelectionInterval): Likewise.
29073 (setSelectionInterval): Likewise.
29075 2006-02-28 Lillian Angel <langel@redhat.com>
29077 * javax/swing/text/DefaultFormatter.java
29078 (stringToValue): Added NPE check.
29080 2006-02-28 Roman Kennke <kennke@aicas.com>
29083 * javax/swing/JList.java
29084 (getPreferredScrollableViewportSize): Restored specified behaviour.
29085 * javax/swing/plaf/metal/MetalFileChooserUI.java
29086 (createList): Set filelist panel's preferredSize, so that it doesn't
29087 get size into infinity for big lists.
29089 2006-02-28 Lillian Angel <langel@redhat.com>
29091 * javax/swing/ViewportLayout.java
29092 (layoutContainer): Should not extend container to be
29093 minimum size. Mauve test shows that the preferred size
29094 and the size of the viewport can be set smaller than
29097 2006-02-28 Lillian Angel <langel@redhat.com>
29100 * javax/swing/JList.java
29101 (getPreferredScrollableViewportSize): Added a check to determine
29102 if orientation is VERTICAL_WRAP. If it is, we should only
29105 2006-02-28 Lillian Angel <langel@redhat.com>
29108 * javax/swing/ViewportLayout.java:
29109 Patch submitted by Audrius Meskauskas
29110 (addLayoutComponent): Added documentation.
29111 (removeLayoutComponent): Likewise.
29112 (preferredLayoutSize): Likewise.
29113 (minimumLayoutSize): Likewise.
29114 (layoutContainer): Fixed code, so view is set
29115 to the right position when inside a scrollpane.
29117 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29119 * java/math/BigInteger.java:
29120 Committed patch by Rafael:
29121 developer.classpath.org/pipermail/classpath-patches/
29122 2006-February/000473.html
29123 (signum): Return early 0 if words == null and ival == 0.
29124 (readObject): Handle special case of magnitude.length or signum being
29126 (writeObject): If signum is zero return a zero-sized byte[].
29128 2006-02-28 Lillian Angel <langel@redhat.com>
29130 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29131 (create): Initially set the directory to the current working directory.
29132 (setDirectory): Removed else-if. No need for this check.
29134 2006-02-28 Tom Tromey <tromey@redhat.com>
29136 * .project: Run java builder before header generation.
29138 2006-02-28 Tom Tromey <tromey@redhat.com>
29140 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29142 * gnu/java/util/prefs/EventDispatcher.java: New file.
29143 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29144 (NodeWriter): Specify UTF-8.
29145 (writeHeader): Emit DOCTYPE.
29146 * java/util/prefs/Preferences.java (getFactory): Add cause to
29148 (exportNode): Documented.
29149 (exportSubtree): Likewise.
29150 (importPreferences): Likewise.
29151 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29152 (writeObject): Likewise.
29153 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29154 (writeObject): Likewise.
29155 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29156 (nodeListeners): New field.
29157 (preferenceListeners): Likewise.
29158 (addNodeChangeListener): Implemented.
29159 (addPreferenceChangeListener): Likewise.
29160 (removeNodeChangeListener): Likewise.
29161 (removePreferenceChangeListener): Likewise.
29162 (fire): New methods.
29164 (remove): Likewise.
29165 (purge): Likewise. Fixed synchronization.
29166 (removeNode): Fixed synchronization.
29167 (getNode): Fire event.
29168 (flushNode): Fixed synchronization.
29170 2006-02-28 Roman Kennke <kennke@aicas.com>
29172 * javax/swing/text/BranchElement.java
29173 (startOffset): New field.
29174 (endOffset): New field.
29175 (BranchElement): Initialize new fields.
29176 (getEndOffset): Rewritten to possibly return cached values
29177 if element has no children.
29178 (getStartOffset): Rewritten to possibly return cached values
29179 if element has no children.
29180 * javax/swing/text/LeafElement.java
29181 (startDelta): New field.
29182 (endDelta): New field.
29183 (LeafElement): Handle possible delta of start/endOffset when
29184 these parameters lie outside the document range.
29185 (getStartOffset): Handle possible startDelta.
29186 (getEndOffset): Handle possible startDelta.
29188 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29190 * NEWS: Added line about Unicode 4.0.0 support.
29192 2006-02-28 Roman Kennke <kennke@aicas.com>
29194 * javax/swing/SwingUtilities.java
29195 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29197 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29199 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29201 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29203 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29204 Amended class documentation.
29205 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29207 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29208 a BIT STRING construct.
29209 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29211 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29213 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29214 a BIT STRING construct.
29215 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29216 (engineVerify): Added logging.
29218 2006-02-28 Roman Kennke <kennke@aicas.com>
29220 * java/awt/Component.java
29221 (dispatchEventImpl): Let the Toolkit dispatch global events.
29222 * java/awt/Container.java
29223 (dispatchEventImpl): Let the LightweightDispatcher handle events
29225 * java/awt/EventQueue.java
29226 (dispatchEvent): Don't do the global event dispatching here. This
29227 is moved to the Component.
29228 (globalDispatchEvent): Moved this method to Toolkit.
29229 * java/awt/LightweightDispatcher.java
29230 (instances): New field.
29231 (getInstance): New method. Delivers an instance of
29232 LightweightDispatcher.
29233 (LightweightDispatcher): Made default constructor private.
29234 (dispatchEvent): New method. Replaces the eventDispatched method.
29235 This now returns true when the event was actually dispatched.
29236 (eventDispatched): Replaced by dispatchEvent.
29237 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29238 received the last MOUSE_RELEASED.
29239 * java/awt/Toolkit.java
29240 (Toolkit): Don't register LightweightDispatcher as global event
29242 (globalDispatchEvent): Moved here from EventQueue.
29244 2006-02-27 David Daney <ddaney@avtrex.com>
29247 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29249 (getRequestProperties): Rewrote.
29251 2006-02-27 David Daney <ddaney@avtrex.com>
29254 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29256 (ChunkedInputStream): Extend InputStream.
29258 (headers): Moved to top of class.
29259 (constructor): Save referenct to in.
29260 (read(byte[])): Removed method.
29261 (read(byte[], int, int)): Made synchronized and throw IOException
29262 on error parsing chunk header.
29263 (available): New method.
29264 (close): New method.
29266 2006-02-27 David Daney <ddaney@avtrex.com>
29268 * gnu/java/net/protocol/http/HTTPURLConnection.java
29269 (imports): Cleaned up.
29270 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29271 (constructor): ... Here, using SystemProperties instead of System.
29273 2006-02-27 Lillian Angel <langel@redhat.com>
29275 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29276 (setDirectory): GtkFileChooser requires an absolute directory
29277 name. Added a check to make the directory passed to nativeSetDirectory
29280 2006-02-27 Roman Kennke <kennke@aicas.com>
29282 * javax/swing/SwingUtilities.java
29283 (computeIntersection): Changed to store result in rect, instead of
29284 creating new Rectangle instances. Fixed API docs accordingly.
29285 (computeUnion): Changed to store result in rect, instead of
29286 creating new Rectangle instances. Fixed API docs accordingly.
29288 2006-02-27 Roman Kennke <kennke@aicas.com>
29290 * javax/swing/JViewport.java
29291 (static_init): Changed default scrollmode to BLIT.
29292 (paintSimple): Added some clipping to avoid painting problems.
29293 (paintBlit): Added some clipping to avoid painting problems.
29295 2006-02-27 Roman Kennke <kennke@aicas.com>
29297 * javax/swing/JComponent.java
29298 (rectCache): Made field static to save memory.
29299 (getVisibleRect): Don't use rectCache and create new Rectangle
29301 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29302 (repaint(long,int,int,int,int)): Directly call
29303 RepaintManager.addDirtyRegion(). The visibleRect check is now
29304 performed in the RepaintManager.
29306 2006-02-27 Roman Kennke <kennke@aicas.com>
29308 * javax/swing/RepaintManager.java
29309 (currentRepaintManagers): Made field private.
29310 (rectCache): New field.
29311 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29312 component. Changed Rectangle handling to avoid unnecessary new
29313 Rectangle instances.
29314 (getOffscreenBuffer): Create buffer with size of the root window.
29315 Respect the maximum buffer size here.
29316 (commitBuffer): Align the regions so that they are inside the buffer
29317 image and inside the clip. This avoids problems with a bug in GTKImage.
29318 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29320 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29322 * native/fdlibm/e_acos.c,
29323 * native/fdlibm/e_asin.c,
29324 * native/fdlibm/e_atan2.c,
29325 * native/fdlibm/e_cosh.c,
29326 * native/fdlibm/e_exp.c,
29327 * native/fdlibm/e_fmod.c,
29328 * native/fdlibm/e_hypot.c,
29329 * native/fdlibm/e_log.c,
29330 * native/fdlibm/e_log10.c,
29331 * native/fdlibm/e_rem_pio2.c,
29332 * native/fdlibm/e_remainder.c,
29333 * native/fdlibm/e_sinh.c,
29334 * native/fdlibm/e_sqrt.c,
29335 * native/fdlibm/k_cos.c,
29336 * native/fdlibm/k_sin.c,
29337 * native/fdlibm/k_tan.c,
29338 * native/fdlibm/s_atan.c,
29339 * native/fdlibm/s_cbrt.c,
29340 * native/fdlibm/s_ceil.c,
29341 * native/fdlibm/s_copysign.c,
29342 * native/fdlibm/s_cos.c,
29343 * native/fdlibm/s_expm1.c,
29344 * native/fdlibm/s_fabs.c,
29345 * native/fdlibm/s_finite.c,
29346 * native/fdlibm/s_floor.c,
29347 * native/fdlibm/s_log1p.c,
29348 * native/fdlibm/s_rint.c,
29349 * native/fdlibm/s_scalbn.c,
29350 * native/fdlibm/s_sin.c,
29351 * native/fdlibm/s_tan.c,
29352 * native/fdlibm/s_tanh.c:
29353 Fixed to call our macros rather than __HI and __LO.
29354 * native/fdlibm/fdlibm.h:
29355 Reintroduced previous extraction code.
29356 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29357 (GET_HIGH_WORD(i,d)): Readded.
29358 (GET_LOW_WORD(i,d)): Readded.
29359 (INSERT_WORDS(d,ix0,ix1)): Readded.
29360 (SET_HIGH_WORD(d,i)): Readded.
29361 (SET_LOW_WORD(d,i)): Readded.
29362 * native/jni/gtk-peer/gthread-jni.c:
29363 Use Glib macros to convert integers/pointers portably.
29365 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29367 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29368 as the fallback SPI.
29369 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29370 ones referencing GNU-CRYPTO classes.
29371 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29372 (engineValidate): Use GNU-CRYPTO class.
29373 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29374 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29375 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29376 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29377 * gnu/java/security/provider/DSAParameters: Likewise.
29378 * gnu/java/security/provider/DSASignature: Likewise.
29379 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29380 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29381 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29382 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29383 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29384 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29385 * gnu/java/security/provider/MD2withRSA: Likewise.
29386 * gnu/java/security/provider/MD4withRSA: Likewise.
29387 * gnu/java/security/provider/MD5: Likewise.
29388 * gnu/java/security/provider/MD5withRSA: Likewise.
29389 * gnu/java/security/provider/RSA: Likewise.
29390 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29391 * gnu/java/security/provider/SHA: Likewise.
29392 * gnu/java/security/provider/SHA1PRNG: Likewise.
29393 * gnu/java/security/provider/SHA1withRSA: Likewise.
29394 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29396 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29398 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29399 (engineGeneratePublic): Added logging.
29400 (engineGeneratePrivate): Likewise.
29401 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29402 (encodePublicKey): Added logging.
29403 Clarified in method documentation that params is optional, but is
29404 always NULL if present.
29405 (decodePublicKey): Added logging.
29406 Handle optional NULL element.
29408 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29410 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29412 2006-03-03 Tom Tromey <tromey@redhat.com>
29414 * java/awt/MenuBar.java (shortcuts): Genericized.
29416 2006-03-03 Tom Tromey <tromey@redhat.com>
29418 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29420 (getListenerType): Likewise.
29421 * java/beans/Introspector.java (getBeanInfo): Genericized.
29422 * java/beans/DefaultPersistenceDelegate.java (initialize):
29425 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29427 * java/math/BigDecimal.java:
29428 (precision): Fixed overflow problem with large numbers.
29429 (longValueExact): New method.
29430 (intValueExact): Likewise.
29431 (byteValueExact): Likewise.
29432 (shortValueExact): Likewise.
29434 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29436 * java/math/BigDecimal.java:
29437 (remainder(BigDecimal)): New method.
29438 (divideAndRemainder(BigDecimal)): Likewise.
29439 (divideToIntegralValue(BigDecimal)): Likewise.
29440 (floor): New implementation method.
29442 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29444 * java/math/BigDecimal.java:
29445 (divide(BigDecimal, int, RoundingMode)): New method.
29446 (divide(BigDecimal, RoundingMode)): Likewise.
29447 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29448 when the new scale is < 0.
29449 (setScale(int, RoundingMode)): New method.
29452 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29454 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29455 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29456 (add(BigDecimal, MathContext)): New method.
29457 (subtract(BigDecimal, MathContext)): Likewise.
29458 (precision): Fixed to correctly handle BigIntegers with more than 19
29460 (pow(int, MathContext)): New method.
29462 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29464 * java/math/BigDecimal.java: Added @throws clause to constructors.
29465 (mathContext): Removed this unneeded field.
29466 (BigDecimal(int, MathContext)): New constructor.
29467 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29468 (multiply(BigDecimal, MathContext)): New method.
29469 (negate(MathContext)): Likewise.
29470 (plus(MathContext)): Likewise.
29471 (numDigitsInLong): Fixed to properly handle negatives.
29473 2006-02-25 Chris Burdess <dog@gnu.org>
29475 * gnu/java/net/CRLFInputStream.java,
29476 gnu/java/net/LineInputStream.java: Streams that use mark
29477 capabilities on the underlying stream do not expose mark
29478 functionality themselves.
29479 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29482 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29484 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29485 option flags passed to match methods.
29486 (MF_FIND_ALL): New flag.
29487 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29488 do not try other possibilties once a match is found.
29489 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29490 so that all possibilities can be found.
29491 (match): Rewritten using new methods matchMinimum and _match.
29492 (_match): New method which performs a depth-first recursive search.
29493 (matchMinimum): New method.
29494 (initVisited), (visitedContains), (addVisited): New methods for
29495 manipulating an array of icharacter positions which _match has
29498 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29500 * java/math/BigDecimal.java:
29501 (BigDecimal(long, MathContext)): New constructor.
29502 (BigDecimal(BigInteger, MathContext)): Likewise.
29503 (BigDecimal(String, MathContext)): Likewise.
29504 (BigDecimal(double, MathContext)): Likewise.
29505 (round): Fixed a typo where the precision field was used instead of a
29506 call to the precision method, and also store the new precision in the
29507 returned BigDecimal.
29508 (abs(MathContext)): New method.
29510 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29512 * java/math/BigDecimal.java
29513 (toBigInteger): Fixed problem where this method couldn't handle
29514 negative values for scale.
29515 (toBigIntegerExact): New method.
29516 (stripTrailingZeros): Likewise.
29518 2006-02-24 David Daney <ddaney@avtrex.com>
29521 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29523 (Pool): New inner class.
29524 (timeLastUsed): New field.
29525 (setPool): Changed parameter type to Pool.
29526 (release): Moved pool management logic to new class Pool.
29527 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29529 (maxConnections) : Removed.
29530 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29531 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29533 2006-02-24 Lillian Angel <langel@redhat.com>
29535 * java/awt/Container.java:
29536 Added new field. True if Container has been cleared and
29537 heavyweights need to be repainted.
29538 (paint): Fixed comment. Fixed to use backCleared and
29540 (update): Set backCleared to true after the background
29541 of the container has been cleared.
29543 2006-02-24 Lillian Angel <langel@redhat.com>
29545 * java/awt/TextField.java
29546 (addNotify): Added call to super.
29548 2006-02-24 Lillian Angel <langel@redhat.com>
29550 * java/awt/Component.java
29551 (reshape): Reverted last patch. Should have check here.
29552 (addNotify): Added check. If parent is lightweight, then
29553 initialize listener on the parent.
29554 (HeavyweightInLightweightListener): New class.
29556 2006-02-24 Roman Kennke <kennke@aicas.com>
29558 * javax/swing/plaf/basic/BasicComboPopup.java
29559 (show): Register the popup with the autocloser after it has been
29560 opened completely, by putting the registration on the eventqueue.
29562 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29564 * gnu/java/security/prng/BasePRNG.java:
29565 (clone()): Added cast of buffer to byte[].
29566 * gnu/javax/crypto/mac/TMMH16.java:
29567 (clone()): Fixed casting of cloned arrays.
29568 * native/fdlibm/fdlibm.h:
29569 Added missing defines from old fdlibm.h needed by Darwin.
29570 (GET_FLOAT_WORD(i,d)): Re-added.
29571 (SET_FLOAT_WORD(d,i)): Re-added.
29573 2006-02-24 Roman Kennke <kennke@aicas.com>
29575 * java/awt/Container.java:
29576 (dispatcher): Removed field.
29577 (dispatchEventImpl): Removed lightweight dispatching.
29578 (addNotifyContainerChildren): Removed LightweightDispatcher
29580 (LightweightDispatcher): Removed class.
29581 * java/awt/LightweightDispatcher.java: New class.
29582 * java/awt/Toolkit.java
29583 (Toolkit): Install LightweightDispatcher in global listener
29586 2006-02-24 Chris Burdess <dog@gnu.org>
29589 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29592 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29594 * NEWS: Mentions the VMMath runtime changes.
29595 * doc/vmintegration.texinfo: Updated to include
29598 2006-02-24 Roman Kennke <kennke@aicas.com>
29600 * javax/swing/plaf/basic/BasicLookAndFeel.java
29601 (PopupHelper.autoClosePopups): New field.
29602 (PopupHelper.mousePressed): Also autoclose any registered popups.
29603 (PopupHelper.registerForAutoClose): New method.
29604 (PopupHelper.autoClosePopups): New method.
29605 (popupHelper): Changed type of field to PopupHelper.
29606 (registerForAutoClose): New method.
29607 * javax/swing/plaf/basic/BasicComboPopup.java
29608 (show): Register this popup for autoclosing.
29610 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29612 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29613 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29614 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29616 2006-02-24 Roman Kennke <kennke@aicas.com>
29618 Reported by Ingo Proetel <proetel@aicas.com>
29619 * java/util/logging/LogManager.java
29620 (addLogger): Search the parent loggers for log level
29621 configuration and inherit that.
29622 (readConfiguration): Provide minimal default configuration
29623 if no configuration can be found otherwise.
29625 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29627 * java/math/BigDecimal.java:
29628 (toString): Fixed a problem where the negative sign was being displayed
29629 twice in the exponent.
29630 (toEngineeringString): New method.
29631 (toPlainString): Likewise.
29634 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29636 * java/math/BigDecimal.java:
29637 (toString): Rewrote this method to behave as specified. Added API
29638 comments to explain behaviour.
29639 (scaleByPowerOfTen): New method.
29641 2006-02-23 Roman Kennke <kennke@aicas.com>
29643 * javax/swing/JRootPane.java
29644 (isOptimizedDrawingEnabled): Implemented to return true
29645 when the glassPane is not visible.
29647 2006-02-23 Roman Kennke <kennke@aicas.com>
29649 * javax/swing/plaf/basic/BasicLookAndFeel.java
29650 (PopupHelper): New inner class.
29651 (popupHelper): New field.
29652 (initialize): New method.
29653 (uninitialize): New method.
29654 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29655 (mouseInputListener): Removed field.
29656 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29657 handling of GlassPane.
29658 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29659 handling of GlassPane.
29660 (MouseInputHandler): Removed class.
29662 2006-02-23 Roman Kennke <kennke@aicas.com>
29664 * java/awt/AWTEvent.java
29665 (eventIdToMask): New utility method.
29666 * java/awt/EventQueue.java
29667 (dispatchEvent): Also globally dispatch events via the toolkit.
29668 (globalDispatchEvent): New method.
29669 * java/awt/Toolkit.java
29670 (awtEventListeners): New field.
29671 (Toolkit()): Initialize new field.
29672 (createComponent): Create GLightweightPeer here.
29673 (addAWTEventListener): Implemented and documented.
29674 (removeAWTEventListener): Implemented and documented.
29675 (getAWTEventListeners): Implemented and documented both method
29677 * java/awt/event/AWTEventListenerProxy.java
29678 (eventDispatched): Don't filter events here.
29680 2006-02-23 Chris Burdess <dog@gnu.org>
29683 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29684 gnu/xml/dom/JAXPFactory.java,
29685 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29686 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29687 implement DocumentBuilderFactory.get/setFeature methods.
29689 2006-02-23 Lillian Angel <langel@redhat.com>
29691 * gnu/java/awt/peer/GLightweightPeer.java
29692 (repaint): Scott's proposed fix. Send repaint to the
29693 component's parent.
29694 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29695 (setBounds): Removed next_parent, not needed. Removed
29696 lightweightChild, we always need to compensate for the
29698 * java/awt/Component.java
29699 (setBounds): Removed check. Caused lots of problems, because some
29700 components were not being invalidated. Components should be
29701 invalidated when they are resized or moved, and in some cases,
29702 when a parent is resized/moved, the components do not know
29703 about it and do not adjust.
29704 * java/awt/Graphics.java
29705 (hitClip): Scott's proposed fix. Added check to handle a
29708 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29710 * javax/print/attribute/standard/MediaSize.java:
29711 (media): Field renamed to mediaName for serialization.
29712 (MediaSize): Adapted to new fieldname.
29713 (getMediaSizeName): Likewise.
29714 * javax/print/attribute/HashAttributeSet.java:
29715 (interfaceName): Field renamed to myInterface for serialization.
29716 (HashAttributeSet): Adapted to the new fieldname.
29718 (addAll): Likewise.
29719 (addInternal): Likewise.
29720 (attributeMap): Made transient.
29721 (readObject): New serialization method.
29722 (writeObject): Likewise.
29723 * javax/print/attribute/AttributeSetUtilities.java:
29724 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29725 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29726 (SynchronizedAttributeSet.addAll): Likewise.
29727 (SynchronizedAttributeSet.clear): Likewise.
29728 (SynchronizedAttributeSet.containsKey): Likewise.
29729 (SynchronizedAttributeSet.containsValue): Likewise.
29730 (SynchronizedAttributeSet.equals): Likewise.
29731 (SynchronizedAttributeSet.get): Likewise.
29732 (SynchronizedAttributeSet.hashCode): Likewise.
29733 (SynchronizedAttributeSet.isEmpty): Likewise.
29734 (SynchronizedAttributeSet.remove): Likewise.
29735 (SynchronizedAttributeSet.size): Likewise.
29736 (SynchronizedAttributeSet.toArray): Likewise.
29737 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29738 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29739 (UnmodifiableAttributeSet.addAll): Likewise.
29740 (UnmodifiableAttributeSet.clear): Likewise.
29741 (UnmodifiableAttributeSet.containsKey): Likewise.
29742 (UnmodifiableAttributeSet.containsValue): Likewise.
29743 (UnmodifiableAttributeSet.equals): Likewise.
29744 (UnmodifiableAttributeSet.get): Likewise.
29745 (UnmodifiableAttributeSet.hashCode): Likewise.
29746 (UnmodifiableAttributeSet.isEmpty): Likewise.
29747 (UnmodifiableAttributeSet.remove): Likewise.
29748 (UnmodifiableAttributeSet.size): Likewise.
29749 (UnmodifiableAttributeSet.toArray): Likewise.
29750 * javax/print/attribute/standard/MediaPrintableArea.java:
29751 (width): Field renamed to w for serialization.
29752 (height): Field renamed to h for serialization.
29753 (MediaPrintableArea): Adapted to the new fieldnames.
29754 (MediaPrintableArea): Likewise.
29755 (equals): Likewise.
29756 (hashCode): Likewise.
29757 (getHeight): Likewise.
29758 (getWidth): Likewise.
29760 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29762 * include/java_lang_VMMath.h:
29763 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29764 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29765 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29766 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29767 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29768 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29769 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29770 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29771 * java/lang/Math.java:
29772 (cbrt(double)): Implemented.
29773 (cosh(double)): Implemented.
29774 (expm1(double)): Implemented.
29775 (hypot(double,double)): Implemented.
29776 (log10(double)): Implemented.
29777 (log1p(double)): Implemented.
29778 (signum(double)): Implemented.
29779 (signum(float)): Implemented.
29780 (sinh(double)): Implemented.
29781 (tanh(double)): Implemented.
29782 * native/fdlibm/Makefile.am:
29783 Added new files from fdlibm 5.3.
29784 * native/fdlibm/e_acos.c,
29785 * native/fdlibm/e_asin.c,
29786 * native/fdlibm/e_atan2.c,
29787 * native/fdlibm/e_exp.c,
29788 * native/fdlibm/e_fmod.c,
29789 * native/fdlibm/e_log.c,
29790 * native/fdlibm/e_rem_pio2.c,
29791 * native/fdlibm/e_remainder.c,
29792 * native/fdlibm/e_scalb.c,
29793 * native/fdlibm/e_sqrt.c,
29794 * native/fdlibm/k_cos.c,
29795 * native/fdlibm/k_rem_pio2.c,
29796 * native/fdlibm/k_sin.c,
29797 * native/fdlibm/k_tan.c,
29798 * native/fdlibm/s_atan.c,
29799 * native/fdlibm/s_ceil.c,
29800 * native/fdlibm/s_copysign.c,
29801 * native/fdlibm/s_cos.c,
29802 * native/fdlibm/s_fabs.c,
29803 * native/fdlibm/s_finite.c,
29804 * native/fdlibm/s_floor.c,
29805 * native/fdlibm/s_rint.c,
29806 * native/fdlibm/s_scalbn.c,
29807 * native/fdlibm/s_sin.c,
29808 * native/fdlibm/s_tan.c,
29809 * native/fdlibm/w_acos.c,
29810 * native/fdlibm/w_asin.c,
29811 * native/fdlibm/w_atan2.c,
29812 * native/fdlibm/w_acos.c,
29813 * native/fdlibm/w_exp.c,
29814 * native/fdlibm/w_fmod.c,
29815 * native/fdlibm/w_log.c,
29816 * native/fdlibm/w_pow.c,
29817 * native/fdlibm/w_remainder.c,
29818 * native/fdlibm/w_sqrt.c:
29819 Updated to fdlibm 5.3.
29820 * native/fdlibm/e_cosh.c,
29821 * native/fdlibm/e_hypot.c,
29822 * native/fdlibm/e_log10.c,
29823 * native/fdlibm/e_sinh.c,
29824 * native/fdlibm/s_cbrt.c,
29825 * native/fdlibm/s_expm1.c,
29826 * native/fdlibm/s_log1p.c,
29827 * native/fdlibm/s_tanh.c,
29828 * native/fdlibm/w_cosh.c,
29829 * native/fdlibm/w_hypot.c,
29830 * native/fdlibm/w_log10.c,
29831 * native/fdlibm/w_sinh.c:
29832 Imported from fdlibm 5.3.
29833 * native/fdlibm/fdlibm.h:
29834 Imported from fdlibm 5.3 with Classpath additions.
29835 * native/fdlibm/namespace.h:
29836 Updated from new math_symbols file.
29837 * native/jni/java-lang/java_lang_VMMath.c:
29838 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29839 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29840 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29841 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29843 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29844 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29845 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29846 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29847 * scripts/math_symbols:
29848 Added tanh, expm1, log10 and log1p.
29849 * vm/reference/java/lang/VMMath.java:
29850 (cbrt(double)): Implemented.
29851 (cosh(double)): Implemented.
29852 (expm1(double)): Implemented.
29853 (hypot(double,double)): Implemented.
29854 (log10(double)): Implemented.
29855 (log1p(double)): Implemented.
29856 (sinh(double)): Implemented.
29857 (tanh(double)): Implemented.
29859 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29861 * javax/print/DocFlavor.java: Added documentation all over.
29862 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29863 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29864 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29865 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29866 (URL.TEXT_HTML_HOST): Likewise.
29867 (URL.TEXT_PLAIN_HOST): Likewise.
29868 (hostEncoding): Initialize with host default charset encoding.
29869 (mediaSubtype): Made transient.
29870 (mediaType): Likewise.
29871 (params): Made transient. Changed type to TreeMap.
29872 (className): Removed, changed to myClassName.
29873 (myClassName): New field as defined in serialized form.
29874 (DocFlavor): Adapted to new variable types, names.
29875 (parseMimeType): Reimplemented.
29876 (getParameter): Search with lowercase name.
29877 (getRepresentationClassName): Adapted to changed variable name.
29878 (hashCode): Likewise.
29879 (toString): Reimplemented.
29880 (readObject): New method for serialization.
29881 (writeObject): Likewise.
29883 2006-02-23 Roman Kennke <kennke@aicas.com>
29885 * javax/swing/RepaintManager.java
29886 (commitBuffer): Clip the repaint area with the current clip.
29888 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
29890 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29891 (DEFAULT_PRIME_SIZE): Made public.
29892 (DEFAULT_EXPONENT_SIZE): Likewise.
29893 (setup): Handle DHParameterSpec as well.
29894 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29895 defaultFormat instead of Raw.
29896 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29897 (checkIsConstructed): Removed.
29898 (checkIsBigInteger): Likewise.
29899 (decodePublicKey): Use DerUtil.
29900 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29901 (checkIsConstructed): Removed.
29902 (checkIsBigInteger): Likewise.
29903 (decodePrivateKey): Use DerUtil.
29904 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29906 Added mappings for AlgorithmParameters.DH and
29907 AlgorithmParameterGenerator.DH.
29908 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29909 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29910 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29911 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29913 (engineGeneratePublic): Likewise.
29914 * gnu/java/security/util/DerUtil.java: New file.
29915 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29916 Include only valid RSA PKCS1 (v1.5) signature names.
29917 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29918 (RSAPKCS1V1_5SignatureX509Codec): Removed.
29919 (checkIsConstructed): Likewise.
29920 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29921 (checkIsConstructed): Removed.
29922 (checkIsBigInteger): Likewise.
29923 (decodeSignature): Use DerUtil.
29924 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29925 (checkIsConstructed): Removed.
29926 (checkIsBigInteger): Likewise.
29927 (decodePublicKey): Use DerUtil.
29928 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29929 (checkIsConstructed): Removed.
29930 (checkIsBigInteger): Likewise.
29931 (decodePrivateKey): Use DerUtil.
29932 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29933 (checkIsConstructed): Removed.
29934 (checkIsBigInteger): Likewise.
29935 (decodePublicKey): Use DerUtil.
29936 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29937 (checkIsConstructed): Removed.
29938 (checkIsBigInteger): Likewise.
29939 (decodePrivateKey): Use DerUtil.
29940 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29941 (DEFAULT_MODULUS_LENGTH): Made it public.
29942 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29943 defaultFormat instead of Raw.
29944 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29945 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29946 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29948 (engineGeneratePublic): Likewise.
29949 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29951 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
29953 * java/math/BigDecimal.java:
29954 (BigDecimal(char[], int, int, MathContext)): New constructor.
29955 (BigDecimal(char[], MathContext)): Likewise.
29956 (BigDecimal(char[])): Likewise.
29957 (BigDecimal(char[], int, int)): Likewise.
29958 (BigDecimal(String)): Fixed handling of exponent and scale.
29960 2006-02-22 Mark Wielaard <mark@klomp.org>
29962 * java/awt/Checkbox.java (setState): Check that state actually changed
29963 before calling peer.
29964 (dispatchEventImpl): Set new state if ItemEvent.
29965 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29966 (create): Set currentState.
29967 (setState): Make synchronized, check and set currentState before
29968 calling gtkToggleButtonSetActive.
29969 (postItemEvent): Make synchronized, check and set currentState before
29971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29972 (postItemEventID): Method now takes boolean.
29973 (item_toggled_cb): Likewise.
29975 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29977 * javax/swing/text/DefaultHighlighter.java:
29978 (changeHighlight): Added code to minimize the damaged area.
29980 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29982 * javax/swing/text/PlainView.java:
29983 (getPreferredSpan): Added missing 'break'.
29984 statement which corrects an unwanted fall through.
29985 (updateDamage): Update maxLineLength correctly when text is
29986 removed, call preferenceChanged accordingly.
29987 (viewToModel): Restrict line number to be within 0 and the
29988 number of elements-1.
29990 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29992 * javax/swing/text/Utilities.java:
29993 (getPositionAbove): Prefer first value by changing comparison
29995 (getPositionBelow): Dito.
29997 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29999 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30000 behavior when magic caret position is null.
30002 2006-02-22 Roman Kennke <kennke@aicas.com>
30004 * javax/swing/JTextField.java
30005 (isValidateRoot): New method.
30007 2006-02-22 Roman Kennke <kennke@aicas.com>
30009 * javax/swing/JEditorPane.java
30010 (getPreferredSize): Rewritten to behave like the reference impl.
30011 (getScrollableTracksViewportWidth): Likewise.
30012 (getScrollableTracksViewportHeight): Likewise.
30014 2006-02-22 Roman Kennke <kennke@aicas.com>
30016 * javax/swing/RepaintManager.java
30017 (addInvalidComponent): Also consider the component itself.
30019 2006-02-22 Mark Wielaard <mark@klomp.org>
30021 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30022 qualify AbstractDocument.AttributeContext.
30023 (blockOpen): Likewise.
30025 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30027 * java/math/BigDecimal.java:
30028 (mathContext): New field.
30029 (precision): Likewise.
30030 (BigDecimal(int)): New constructor.
30031 (BigDecimal(long)): Likewise.
30032 (BigDecimal(BigInteger)): Added API docs.
30033 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30034 and added API docs.
30035 (plus): New method.
30037 (precision): Likewise.
30038 (valueOf): Likewise.
30039 (numDigitsInLong): New implementation method.
30041 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
30043 * java/math/MathContext.java: New class.
30044 * java/math/RoundingMode: New Enum.
30046 2006-02-21 Mark Wielaard <mark@klomp.org>
30048 * java/awt/Component.java (translateEvent): Translate
30049 AdjustmentEvents to 1.0 Events.
30050 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30051 Call setValue() before processing event.
30052 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30053 whether we are currently changing and being called back from the
30054 Scrollbar component.
30055 (setBarValues): New native method.
30056 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30057 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30058 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30059 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30060 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30062 2006-02-21 Roman Kennke <kennke@aicas.com>
30064 * javax/swing/text/View.java
30065 (setParent): Set child parent to null when disconnecting
30066 the view from the View hierarchy.
30068 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30070 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30072 2006-02-21 Roman Kennke <kennke@aicas.com>
30074 * javax/swing/text/WrappedPlainView.java
30075 (calculateBreakPosition): Changed to use the view's allocation instead
30076 of the container's preferredSize.
30078 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30080 * java/awt/CardLayout.java:
30081 (first): Updated api documentation.
30084 (previous): Likewise.
30085 (show): Clarified api docs. Return if name is null. Throw
30086 IllegalArgumentException if layout of container is not this.
30087 (gotoComponent): Updated api documentation. Throw
30088 IllegalArgumentException if layout of container is not this.
30090 2006-02-21 Roman Kennke <kennke@aicas.com>
30092 * javax/swing/text/NavigationFilter.java
30093 (getNextVisualPositionFrom): New method.
30095 2006-02-21 Roman Kennke <kennke@aicas.com>
30097 * javax/swing/plaf/basic/BasicTextUI.java
30098 (RootView.setView): Call setParent() on the view with this as
30099 argument instead of null.
30100 (setView): Don't set root view's parent here.
30102 2006-02-21 Roman Kennke <kennke@aicas.com>
30104 * javax/swing/text/AbstractDocument.java
30105 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30106 the resolving parent.
30107 (AbstractElement.getResolveParent): Fixed to handle possible null
30109 * javax/swing/text/BoxView.java
30110 (childReqs): New field.
30111 (paint): Added debugging code (commented out).
30112 (getPreferredSpan): Rewritten to use new update* methods.
30113 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30114 for the minor axis and preferredSpan for the major axis.
30115 (getMinimumSpan): Rewritten to use new update* methods.
30116 (baselineRequirements): Rewritten to avoid creation of
30117 unnecessary SizeRequirements objects.
30118 (baselineLayout): Rewritten to use new update* methods.
30119 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30120 unnecessary SizeRequirements objects.
30121 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30122 unnecessary SizeRequirements objects.
30123 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30125 (layoutMajorAxis): Rewritten to use new update* methods.
30126 (layoutMinorAxis): Rewritten to use new update* methods.
30127 (getChildRequirements): Replaced by the update* methods.
30128 (getAlignment): Use update* methods.
30129 (updateChildRequirements): New methods. Updates the child requirements
30131 (updateRequirements): New methods. Updates the BoxView requirements
30133 * javax/swing/text/DefaultStyledDocument.java
30134 (ElementBuffer.insert): Added warning for illegal replacement operation.
30135 * javax/swing/text/FlowView.java
30136 (layoutRow): When offset doesn't change, return -1.
30137 (LogicalView): Now subclasses BoxView.
30138 (loadChildren): Let the CompositeView.setParent() load the children
30139 of the logicalView.
30140 (calculateMinorRequirements): New overridden method.
30141 * javax/swing/text/GlyphView.java
30142 (DefaultGlyphPainter.paint): Fixed typo.
30143 (startOffset): Made field private.
30144 (endOffset): Made field private.
30145 (paint): Call getStartOffset() and getEndOffset() instead of the
30147 (isStrikeThrough): Fixed typo.
30148 (breakView): Use Utilities.getBreakLocation() to determine best
30150 (changedUpdate): Call preferencedChange on this instead of parent.
30151 (removeUpdate): Call preferencedChange on this instead of parent.
30152 * javax/swing/text/ParagraphView.java
30153 (Row.getAlignment): For Y_AXIS, call super.
30154 (getAlignment): Likewise.
30155 * javax/swing/text/Utilities.java
30156 (getBreakLocation): Set Segment object directly on the BreakIterator.
30157 * javax/swing/text/html/HTML.java
30158 (Attribute): Made class non-serializable and final as specified.
30159 (Attribute(String)): Made constructor private.
30160 (Attribute.compareTo): Removed.
30161 (Attribute.equals): Removed.
30162 (Attribute.hashCode): Removed.
30163 (Tag): Made class non-comparable and non-serializable as specified.
30164 (Tag.compareTo): Removed.
30165 (Tag.equals): Removed.
30166 (Tag.hashCode): Removed.
30167 * javax/swing/text/html/HTMLDocument.java
30168 (HTMLReader.blockOpen): Add tag as name attribute to element.
30169 * javax/swing/text/html/HTMLEditorKit.java
30170 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30172 * javax/swing/text/html/InlineView.java
30173 (setPropertiesFromAttributes): Call super.
30174 * javax/swing/text/html/NullView.java: New class.
30176 2006-02-21 Roman Kennke <kennke@aicas.com>
30179 * javax/swing/text/GapContent.java
30180 (GapContentPosition): Made class private.
30181 (InsertUndo): Made class private.
30182 (UndoRemove): Made class private.
30183 (WeakPositionComparator): New inner class.
30184 (positions): Made field private.
30185 (createPosition): Clear up GC'ed positions before creating
30186 a new one. Store position as WeakReference.
30187 (getPositionsInRange): Changed to handle WeakReference
30189 (setPositionsInRange): Changed to handle WeakReference
30191 (adjustPositionsInRange): Changed to handle WeakReference
30193 (dumpPositions): Handle WeakReference positions.
30194 (clearPositionReferences): New method.
30196 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30198 * javax/swing/plaf/basic/BasicTextUI.java:
30199 (paint): Remove unneccessary part of the if-expression.
30200 (damageRange): Added case where the range spans multiple lines.
30201 * javax/swing/text/DefaultCaret.java:
30202 (clearHighlight): New method.
30203 (handleHighlight): Removed unneccessary part of the if-expression.
30204 (setDot): Use clearHighlight method.
30205 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30207 (paint): Prevented calling size() on every loop iteration, fixed
30208 calculation of allocation area bounds.
30209 (getHighlights): Implemented.
30210 (removeHighlight): Mark damaged area in textcomponent.
30211 (addHighlight): Mark damaged area in textcomponent.
30212 (changeHighlight): Mark damaged area in textcomponent.
30213 (DefaultHighlighter.HighlightEntry): Made it a real
30214 Highlighter.Highlight implementation.
30215 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30218 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30220 * java/util/zip/ZipConstants.java
30221 (LOCSIG): Change type to long.
30222 (EXTSIG): Likewise.
30223 (CENSIG): Likewise.
30224 (ENDSIG): Likewise.
30225 * java/util/zip/ZipOutputStream.java
30226 (writeLeInt(long)): New method.
30228 2006-02-21 Michael Koch <konqueror@gmx.de>
30230 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30232 2006-02-20 Mark Wielaard <mark@klomp.org>
30234 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30235 (begin_drawing_operation): Output stacktrace and return on bad cairo
30237 (end_drawing_operation): Likewise. And reset cairo_t.
30239 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30241 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30242 in backward selection action.
30244 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30246 * java/lang/reflect/Proxy.java:
30247 (ProxyData.getProxyData): Skipped overriding of core methods.
30248 (ProxyData.isCoreObjectMethod): New method.
30250 2006-02-20 Mark Wielaard <mark@klomp.org>
30252 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30254 2006-02-20 Roman Kennke <kennke@aicas.com>
30256 * javax/swing/text/html/Option.java: New class.
30258 2006-02-20 Lillian Angel <langel@redhat.com>
30260 * java/swt/Window.java
30261 (show): Calling show() on the owned windows caused problems.
30262 Changed back to get the peer and call setVisible.
30264 2006-02-20 Roman Kennke <kennke@aicas.com>
30266 * javax/swing/plaf/basic/BasicTextUI.java
30267 (damageRange): Implemented this method.
30269 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30271 * javax/swing/text/GapContent.java:
30272 (shiftGapEndUp): Corrected new mark value.
30273 * javax/swing/text/AbstractDocument.java:
30274 (remove): Changed order of operations.
30276 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30278 * javax/swing/text/GapContent.java:
30279 (shiftGapEndUp): Reverted.
30280 * javax/swing/text/AbstractDocument.java:
30281 (remove): Reverted.
30283 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30285 * javax/swing/text/GapContent.java:
30286 (shiftGapEndUp): Corrected new mark value.
30287 * javax/swing/text/AbstractDocument.java:
30288 (remove): Changed order of operations.
30290 2006-02-20 Mark Wielaard <mark@klomp.org>
30292 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30294 (insert): Likewise.
30295 (addNotify): Add the item after addNotifying it.
30296 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30297 there is a peer. Use getParent() and setParent() to manipulate parent
30299 (add(Menu)): Use getParent() and setParent() to manipulate parent
30300 field. Call addNotify() and addMenu() when there is a peer.
30301 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30302 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30303 when there is a peer.
30304 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30305 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30306 (setFont): Call setFont(Font).
30307 (setFont(Font)): Document. Only set font when not null.
30308 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30310 (connectSignals): Likewise.
30311 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30313 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30315 (postMenuActionEvent): Document.
30316 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30318 (addItem): Document. Made private.
30319 (addTearOff): Made private.
30320 (connectSignals): New protected overridden method.
30321 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30322 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30323 (create): Document.
30324 (addMenu): Made private, take GtkMenuPeer as argument and document.
30325 (GtkMenuBarPeer): Document.
30326 (nativeSetHelpMenu): Removed.
30327 (addHelpMenu): Implement.
30328 (delMenu): Document.
30329 (addMenu): Implement.
30330 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30331 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30332 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30333 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30336 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30338 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30339 Expect that proxy interfaces may have different class loaders.
30340 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30341 * java/rmi/registry/Registry.java,
30342 * java/rmi/server/UnicastRemoteObject.java:
30343 Documented about proxy stubs.
30344 * gnu/java/rmi/server/CombinedClassLoader.java,
30345 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30346 * NEWS: Added entry.
30348 2006-02-19 Mark Wielaard <mark@klomp.org>
30350 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30351 Parent and Bounds of our children if either or parent is showing, or
30352 we are a Window and are showing ourselves now.
30354 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30356 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30358 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30359 Another stub name fix.
30361 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30363 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30364 Call convertStubName. (convertStubName): New method.
30365 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30366 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30367 (convertStubName): New method.
30368 (getMethodHashCode):
30369 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30370 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30372 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30374 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30376 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30378 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30380 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30382 * javax/swing/JViewport.java (paintBackingStore): If the component has
30383 not been scrolled, only repaint the buffer part, indicated by
30384 the parameter graphics clip.
30386 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30388 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30390 (writePrivateKey): Likewise.
30391 (writeKey): New method.
30392 (getKeyType): Likewise.
30393 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30395 (readPrivateKey): Likewise.
30396 (getKeyPairCodec): New method.
30397 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30398 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30399 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30400 (RSA_PSS_ENCODING): Likewise..
30401 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30402 (RSA_PSS_SIG): Redefined using other constants.
30403 (RSA_PKCS1_V1_5_SIG): Likewise.
30404 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30405 * gnu/java/security/util/FormatUtil.java: New file.
30406 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30407 (getInstance): Let RSASignatureFactory handle RSA signature names.
30408 (getNames): Handle new RSA signature (with format) names.
30409 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30410 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30412 (name): Include hash algorithm name.
30413 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30414 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30415 (RSAPSSSignature): Call constructor with IMessageDigest.
30416 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30417 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30419 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30421 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30422 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30423 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30424 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30425 hash algorithm name to exception.
30426 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30427 * gnu/java/security/key/KeyPairCodecFactory.java
30428 (names): New class field.
30429 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30430 (getInstance(String,String)): New method.
30431 (getInstance(String,int)): New method.
30432 (getInstance(byte[])): Removed.
30433 (getInstance(Key)): Handle new formats.
30434 (getNames): Likewise.
30435 (getEncodingName(int)): Moved to FormatUtil.
30436 (getEncodingShortName(int)): Likewise.
30437 (getRawCodec(String)): New method.
30438 (getX509Codec(String)): Likewise.
30439 (getPKCS8Codec(String)): Likewise.
30440 (getRawCodec(Key)): Likewise.
30441 (getX509Codec(Key)): Likewise.
30442 (getPKCS8Codec(Key)): Likewise.
30443 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30444 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30445 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30446 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30447 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30448 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30449 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30450 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30451 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30453 2006-02-18 Mark Wielaard <mark@klomp.org>
30455 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30457 (NoDragGestureRecognizer): New static class.
30458 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30459 Toolkit doesn't support drag and drop.
30461 2006-02-18 Mark Wielaard <mark@klomp.org>
30463 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30464 (AbstractAction(String)): Just call putValue() for NAME.
30465 (putValue): Nothing to do is old and new value are both null.
30467 2006-02-18 Mark Wielaard <mark@klomp.org>
30469 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30470 through getContentPane().
30471 (preferredLayoutSize): Likewise.
30473 2006-02-18 Mark Wielaard <mark@klomp.org>
30475 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30476 actually set before painting.
30478 2006-02-18 Mark Wielaard <mark@klomp.org>
30480 * javax/swing/text/html/HTMLDocument.java (addContent):
30481 Fully qualify AbstractDocument.AttributeContext and
30482 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30484 2006-02-18 Mark Wielaard <mark@klomp.org>
30486 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30487 (getRepresentationClassFromMime): Add exception cause to
30488 IllegalArgumentException.
30490 2006-02-17 Lillian Angel <langel@redhat.com>
30492 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30493 Removed unneeded import.
30494 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30495 Removed unneeded imports.
30496 * java/awt/BorderLayout.java:
30497 Fixed comment, this is not yet handled in the JDK 1.5.
30498 * java/awt/Container.java:
30499 Removed unneeded import.
30501 2006-02-17 Lillian Angel <langel@redhat.com>
30503 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30504 (setBounds): Removed check. Coordinates should always be changed
30505 to incorporate the parent's coordinates.
30506 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30507 (setMenuBar): Added checks. Don't validate component if it has
30508 not been validated yet, it will be validated later. Only validate
30509 if it has already been validated, in that case it needs to be
30511 * java/awt/Window.java
30512 (show): Added check. If the window is visible, then bring it to the
30513 front. Otherwise, iterate through all its children windows and show them.
30514 No need to do both.
30516 2006-02-17 Roman Kennke <kennke@aicas.com>
30518 * javax/swing/text/html/ParagraphView.java: New file.
30520 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30522 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30523 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30524 same location where was the initial text.
30525 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30527 2006-02-17 Chris Burdess <dog@gnu.org>
30529 Fixes PRs 26319, 26320, 26321, 26322, 26325
30530 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30531 rethrowing exception.
30532 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30533 1.1-style prefix unbinding in 1.0 document" error for xmlns
30534 prefixes, not xmlns attributes. Fix a problem with empty namespace
30535 stack at the end of a document. Permit parameter entity references
30536 in element and attribute-list definition name area. Corrected
30537 normalisation of whitespace character entity references in CDATA
30538 attribute values. Fixed number of characters read following a
30539 reset when detecting end of character data with characters after a
30540 Unicode surrogate pair.
30542 2006-02-17 Roman Kennke <kennke@aicas.com>
30544 * javax/swing/text/html/HTMLEditorKit.java
30545 (HTMLFactory.create): Create InlineView for content tags.
30546 * javax/swing/text/html/HTMLDocument.java
30547 (HTMLReader.flush): Call create() on first flush and insert
30548 on subsequent flushes.
30550 2006-02-17 Roman Kennke <kennke@aicas.com>
30552 * javax/swing/text/AbstractDocument.java
30553 (BranchElement.getStartOffset): Implemented workaround for wrong
30555 (BranchElement.getEndOffset): Implemented workaround for wrong
30557 (ElementBuffer.split): Use createBranchElement() instead of
30558 new BranchElement().
30559 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30560 new BranchElement().
30561 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30562 instead of new BranchElement().
30563 (createDefaultRoot): Use createBranchElement() and createLeafElement
30564 instead of the constructors.
30565 (create): Rewritten.
30567 2006-02-17 Keith Seitz <keiths@redhat.com>
30569 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30570 (SIZE): New constant.
30571 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30572 (executeIDsizes): Use SIZE constant.
30573 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30574 (SIZE): New constant.
30576 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30578 * javax/swing/JTable.java (IconCellRenderer): Set the component
30579 text to empty string. (createDefaultRenderers): Register
30580 IconCellRenderer also for ImageIcon.
30581 (getCellEditor(int, int), getCellRenderer(int, int)):
30582 Use model index for data model and column index for column model.
30583 (getColumnClass): Convert to model index before requesting class
30586 2006-02-17 Roman Kennke <kennke@aicas.com>
30588 * javax/swing/text/html/HTMLDocument.java
30589 (createDefaultRoot): Implemented.
30590 (createLeafElement): Implemented.
30591 (createBranchElement): Implemented.
30592 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30593 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30594 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30595 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30596 (HTMLReader.blockOpen): Add name attribute with the current tag.
30597 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30599 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30601 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30603 * javax/swing/table/JTableHeader.java: Documenting related methods.
30605 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30608 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30609 (connect): Changed to use SystemProperties.
30610 (getInputStream): Try changeWorkingDirectory to figure out if
30611 url is a directory, if not use retrieve.
30612 (getOutputStream): Don't worry about directories, simply always
30615 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30617 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30618 (ActiveModeDTP): Mark accept thread as daemon.
30620 2006-02-17 Michael Koch <konqueror@gmx.de>
30622 * tools/.cvsignore: Ignore tools.zip.
30624 2006-02-16 Keith Seitz <keiths@redhat.com>
30626 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30627 Set the ID's reference.
30628 (<clinit>): Remove comments for field, method, and frame ID types,
30629 which will not be handled by VMIdManager.
30631 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30633 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30634 Use model index, not the column number.
30635 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30636 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30637 movement by painting draggingHeaderRect.
30638 * NEWS: Added entry about JTable columns.
30640 2006-02-16 Keith Seitz <keiths@redhat.com>
30642 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30643 default size of eight bytes.
30644 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30645 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30646 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30647 (executeIDsizes): Use new static methods.
30648 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30651 2006-02-16 David Daney <ddaney@avtrex.com>
30654 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30655 return value with 0xff.
30657 2006-02-16 Keith Seitz <keiths@redhat.com>
30659 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30660 (matches): Use Iterator instead of ListIterator.
30662 2006-02-16 Keith Seitz <keiths@redhat.com>
30664 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30665 processor thread for easier debugging.
30666 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30669 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30671 * javax/swing/JTable.java
30672 (TableColumnPropertyChangeHandler.propertyChange): Return without
30673 action if table header resizing column in not null. (doLayout):
30674 Only repaint the header if it is not null.
30675 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30676 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30677 Rewritten. (MouseInputHandler.endResizing): New method.
30679 2006-02-16 Roman Kennke <kennke@aicas.com>
30681 * javax/swing/text/html/InlineView.java: New file.
30683 2006-02-16 Roman Kennke <kennke@aicas.com>
30685 * javax/swing/JTabbedPane.java
30686 (AccessibleJTable.getAccessibleChild): Implemented to return
30687 the Page instance for the specified index.
30688 (Page): Changed to implement Accessible and extend
30690 (Page.getAccessibleContext): New method.
30691 (Page.getAccessibleRole): New method.
30692 (Page.getAccessibleStateSet): New method.
30693 (Page.getAccessibleIndexInParent): New method.
30694 (Page.getAccessibleChildrenCount): New method.
30695 (Page.getAccessibleChild): New methdod.
30696 (Page.getLocale): New method.
30698 2006-02-16 Roman Kennke <kennke@aicas.com>
30700 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30701 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30702 tabCount gets greater than tabRuns.length.
30703 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30704 when tabCount gets greater than tabRuns.length.
30705 (paintTabArea): Don't set tabCount == runCount.
30707 2006-02-16 Roman Kennke <kennke@aicas.com>
30709 * javax/swing/plaf/basic/BasicTextUI.java
30710 (installUI): Moved installation of PropertyChangeListener
30711 to installListeners(). Call modelChanged() after everything is
30713 (installListeners): Install PropertyChangeListener here.
30714 (uninstallUI): Moved uninstallation of PropertyChangeListener
30715 to uninstallListeners.
30716 (uninstallListeners): Uninstall PropertyChangeListener here.
30718 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30720 * javax/swing/JTable.java (doLayout):
30721 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30723 javax/swing/plaf/basic/BasicTableHeaderUI.java
30724 (MouseInputHandler.mouseDragged): Do not repaint the header.
30726 2006-02-16 Roman Kennke <kennke@aicas.com>
30728 * javax/swing/JViewport.java
30729 (static_initializer): Set default scrollMode to backingstore.
30731 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30733 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30734 returned by getCellRect. To not translate the component.
30736 2006-02-16 Roman Kennke <kennke@aicas.com>
30738 * javax/swing/JComponent.java
30739 (rectCache): Made field non-static to avoid nasty interferences.
30740 (computeVisibleRect): Avoid creation of new Rectangles and double
30741 calculations on ints by using Swing.computeIntersection() instead
30742 of Rectangle2D.intersect().
30743 (repaint): Interect the dirty region with the visible rectangle
30744 of this component to avoid unnecessary painting.
30746 2006-02-16 Gary Benson <gbenson@redhat.com>
30748 * java/lang/Thread.java (stop): Add a missing access check.
30750 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30752 * javax/swing/text/JTextComponent.java:
30753 (replaceSelection): Added code to update the magic caret position.
30754 * javax/swing/text/DefaultEditorKit.java: Added code to update
30755 the magic caret position of the text component in all relevant
30756 movement actions, make use of the magic caret position in up
30757 and down movements and selections, simplified some actions
30760 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30762 * gnu/java/lang/CharData.java: Regenerated from
30763 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30764 and scripts/unicode-muncher.pl.
30765 * java/lang/Character.java:
30766 (PrivateUseCharacters): New private static class.
30767 (UnassignedCharacters): Likewise.
30768 (blocks): Changed from char[] to char[][] to reflect the changes in
30769 gnu/java/lang/CharData. There is now one char[] per Unicode code
30772 (numValue): Likewise.
30775 (direction): Likewise.
30776 (readChar): Replaced this method with new method readCodePoint.
30777 (readCodePoint): New method.
30778 (isLowerCase(char)): Redirected to new isLowerCase(int).
30779 (isLowerCase(int)): New method.
30780 (isUpperCase(char)): Redirected to new isUpperCase(int).
30781 (isUpperCase(int)): New method.
30782 (isTitleCase(char)): Redirected to new isTitleCase(int).
30783 (isTitleCase(int)): New method.
30784 (isDigit(char)): Redirected to new isDigit(int).
30785 (isDigit(int)): New method.
30786 (isDefined(char)): Redirected to new isDefined(int).
30787 (isDefined(int)): New method.
30788 (isLetter(char)): Redirected to new isLetter(int).
30789 (isLetter(int)): New method.
30790 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30791 (isLetterOrDigit(int)): New method.
30792 (isJavaIdentifierStart(char)): Redirected to new
30793 isJavaIdentifierStart(int).
30794 (isJavaIdentifierStart(int)): New method.
30795 (isJavaIdentifierPart(char)): Redirected to new
30796 isJavaIdentifierPart(int).
30797 (isJavaIdentifierPart(int)): New method.
30798 (isUnicodeIdentifierStart(char)): Redirected to new
30799 isUnicodeIdentifierStart(int).
30800 (isUnicodeIdentifierStart(int)): New method.
30801 (isUnicodeIdentifierPart(char)): Redirected to new
30802 isUnicodeIdentifierPart(int).
30803 (isUnicodeIdentifierPart(int)): New method.
30804 (isIdentifierIgnorable(char)): Redirected to new
30805 isIdentifierIgnorable(int).
30806 (isIdentifierIgnorable(int)): New method.
30807 (toLowerCase(char)): Changed access to lower to correspond with new
30808 char[][] type of lower.
30809 (toLowerCase(int)) New method.
30810 (toUpperCase(char)): Changed access to upper to correspond with new
30811 char[][] type of upper.
30812 (toUpperCase(int)): New method.
30813 (toTitleCase(int)): New method.
30814 (digit(char, int)): Replaced call to readChar with call to
30815 readCodePoint and changed access to numValue to reflect new char[][]
30817 (digit(int, int)): New method.
30818 (getNumericValue(char)): Changed access to numValue to reflect new
30819 char[][] type of numValue.
30820 (getNumericValue(int)): New method.
30821 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30822 (isSpaceChar(int)): New method.
30823 (isWhitespace(char)): Redirected to new isWhitespace(int).
30824 (isWhitespace(int)): New method.
30825 (isISOControl(char)): Redirected to new isISOControl(int).
30826 (isISOControl(int)): New method.
30827 (getType(char)): Redirected to new getType(int).
30828 (getType(int)): New method.
30829 (getDirectionality(char)): Redirected to new getDirectionality(int).
30830 (getDirectionality(int)): New method.
30831 (isMirrored(char)): Changed call to readChar to readCodePoint.
30832 (isMirrored(int)): New method.
30833 * java/lang/String.java:
30834 (upperCaseExpansion): Changed access to Character.direction to reflect
30835 new char[][] type of direction.
30836 (offsetByCodePoints): New method.
30837 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
30838 4.0.0 which introduced supplementary character assignments.
30840 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30842 * javax/swing/JTable.java,
30843 javax/swing/plaf/basic/BasicTableHeaderUI.java,
30844 javax/swing/table/DefaultTableModel.java: Documented.
30846 2006-02-15 Lillian Angel <langel@redhat.com>
30848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30849 Removed duplicate methods.
30851 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30853 * javax/swing/JTable.java (distributeSpillResizing): New method.
30854 (doLayout): Use distributeSpillResizing when resizing.
30855 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30856 Rewritten. (installListeners): Add mouse motion listener.
30857 (uninstallListeners): Remove mouse motion listener.
30859 2006-02-15 Lillian Angel <langel@redhat.com>
30861 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30862 (setVisible): Removed method.
30863 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30864 (setLocation): New method.
30865 (setLocationUnlocked): New method.
30866 (show): Changed to use setLocation instead of setBounds.
30867 * java/awt/Component.java
30868 (show): Should call peer.show(), not peer.setVisible(), so the
30869 location of the component is correctly set.
30870 (preferredSize): Added curly braces so else statements are
30871 properly associated with if's.
30872 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30873 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
30875 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30876 LocationUnlocked): New function.
30877 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30878 Added declarations for Java_gnu_java_awt_peer_gtk_
30879 GtkWindowPeer_nativeSetLocation and
30880 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30881 _nativeSetLocationUnlocked.
30883 2006-02-15 Mark Wielaard <mark@klomp.org>
30885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30886 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30887 Downcast gtk_plug_new result when used.
30889 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
30891 * java/io/ObjectOutputStream.java (writeClassDescriptor):
30892 Call assignNewHandle() after writing Proxy class.
30894 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
30897 * java/io/ObjectInputStream.java (readClassDescriptor):
30898 Class doesn't have to be abstract for first_nonserial.
30900 2006-02-15 Roman Kennke <kennke@aicas.com>
30902 * javax/swing/JInternalFrame.java
30903 (setClosed): Call dispose to actually make the frame invisible
30906 2006-02-15 Roman Kennke <kennke@aicas.com>
30908 * javax/swing/JInternalFrame.java
30909 (dispose): Call setVisible(false) instead of hide.
30910 (doDefaultCloseOperation): Likewise.
30912 2006-02-15 Roman Kennke <kennke@aicas.com>
30914 * javax/swing/JComponent.java
30915 (paintChildren): Also check for the visibility of a child component
30916 to avoid artifacts.
30917 (repaint): Simply add this component to the RepaintManager rather than
30918 trying to do useless optimization here.
30920 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30922 * javax/swing/JSpinner.java
30923 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
30924 PropertyChangeListener,
30925 (DefaultEditor.getSpinner): Updated API docs,
30926 (DefaultEditor.dismiss): Likewise,
30927 (DefaultEditor.getTextField): Likewise,
30928 (DefaultEditor.layoutContainer): Likewise,
30929 (DefaultEditor.minimumLayoutSize): Likewise,
30930 (DefaultEditor.preferredLayoutSize): Likewise,
30931 (DefaultEditor.propertyChange): Implemented,
30932 (DefaultEditor.stateChanged): Implemented,
30933 (DefaultEditor.removeLayoutComponent): Updated API docs,
30934 (DefaultEditor.addLayoutComponent): Likewise,
30935 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30936 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30937 (NumberEditor.getFormat): Implemented,
30938 (NumberEditor.getModel): Updated API docs,
30939 (NumberEditorFormatter): New static inner class,
30940 (ListEditor.getModel): Updated API docs,
30941 (DateEditor.dateFormat): Removed,
30942 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30943 (DateEditor.DateEditor(JSpinner, String)): Likewise,
30944 (DateEditor.init): Removed,
30945 (DateEditor.getFormat): Reimplemented,
30946 (DateEditorFormatter): New static inner class,
30947 (ModelListener): New inner class,
30948 (model): Updated API docs,
30949 (editor): Likewise,
30950 (listener): Removed,
30951 (JSpinner()): Updated API docs,
30952 (JSpinner(SpinnerModel)): Set up ModelListener,
30953 (setEditor): Fire property change,
30954 (getModel): Updated API docs,
30955 (setModel): Removed check for null editor,
30956 (setValue): Updated API docs,
30957 (getUIClassID): Updated API docs,
30958 (createEditor): Handle SpinnerListModel case,
30959 * javax/swing/plaf/basic/BasicSpinnerUI.java
30960 (createUI): Updated API docs,
30961 (createPropertyChangeListener): Added FIXME,
30962 (installDefaults): Set text field border to null,
30963 (DefaultLayoutManager): Updated API docs,
30964 (DefaultLayoutManager.layoutContainer): Modified layout,
30965 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30966 (DefaultLayoutManager.preferredLayoutSize): Likewise,
30967 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30968 (DefaultLayoutManager.addLayoutComponent): Likewise,
30969 (DefaultLayoutManager.minSize): Renamed prefSize,
30970 (DefaultLayoutManager.setBounds): Reformatted,
30971 (DefaultLayoutManager.editor): Added API docs,
30972 (DefaultLayoutManager.next): Likewise,
30973 (DefaultLayoutManager.previous): Likewise,
30974 * javax/swing/plaf/metal/MetalLookAndFeel.java
30975 (initComponentDefaults): Added entry for 'Spinner.border',
30976 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30978 2006-02-15 Chris Burdess <dog@gnu.org>
30980 * gnu/xml/validation/datatype/BooleanType.java,
30981 gnu/xml/validation/datatype/ByteType.java,
30982 gnu/xml/validation/datatype/DateTimeType.java,
30983 gnu/xml/validation/datatype/DateType.java,
30984 gnu/xml/validation/datatype/DecimalType.java,
30985 gnu/xml/validation/datatype/DoubleType.java,
30986 gnu/xml/validation/datatype/DurationType.java,
30987 gnu/xml/validation/datatype/FloatType.java,
30988 gnu/xml/validation/datatype/GDayType.java,
30989 gnu/xml/validation/datatype/GMonthDayType.java,
30990 gnu/xml/validation/datatype/GMonthType.java,
30991 gnu/xml/validation/datatype/GYearMonthType.java,
30992 gnu/xml/validation/datatype/GYearType.java,
30993 gnu/xml/validation/datatype/IntType.java,
30994 gnu/xml/validation/datatype/IntegerType.java,
30995 gnu/xml/validation/datatype/LongType.java,
30996 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30997 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30998 gnu/xml/validation/datatype/MinExclusiveFacet.java,
30999 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31000 gnu/xml/validation/datatype/NegativeIntegerType.java,
31001 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31002 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31003 gnu/xml/validation/datatype/PositiveIntegerType.java,
31004 gnu/xml/validation/datatype/ShortType.java,
31005 gnu/xml/validation/datatype/SimpleType.java,
31006 gnu/xml/validation/datatype/TimeType.java,
31007 gnu/xml/validation/datatype/TypeBuilder.java,
31008 gnu/xml/validation/datatype/UnsignedByteType.java,
31009 gnu/xml/validation/datatype/UnsignedIntType.java,
31010 gnu/xml/validation/datatype/UnsignedLongType.java,
31011 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31012 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31013 minInclusive facets use the value space of the base type, and
31016 2006-02-15 Mark Wielaard <mark@klomp.org>
31018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31019 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31020 gtk_plug_new() returns a GtkWindow.
31022 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
31024 * javax/swing/SpinnerNumberModel.java
31025 (getNextValue): Check for null maximum,
31026 (getPreviousValue): Check for null minimum.
31028 2006-02-15 Roman Kennke <kennke@aicas.com>
31030 * javax/swing/plaf/basic/BasicTableUI.java
31031 (paint): Paint vertical and horizontal lines one pixel shifted
31034 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
31036 * java/util/zip/ZipFile.java
31037 (checkZipFile): Inlined readLeInt and rewritten for robustness.
31038 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31039 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31040 (readEntries): Rewritten to use PartialInputStream.
31041 (locBuf, checkLocalHeader): Removed.
31042 (getInputStream): Rewritten to use new PartialInputStream.
31043 (PartialInputStream): Rewritten to do buffering.
31045 2006-02-15 Michael Koch <konqueror@gmx.de>
31047 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31048 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31049 Make sure the embedded window gets no decorations.
31050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31051 (window_get_frame_extents): Return early of the window has no
31054 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31056 * examples/gnu/classpath/examples/swing/TableDemo.java
31057 (TModel, createContent): Explain which value appears in the header.
31058 * javax/swing/JTable.java (setColumnModel): Only set the
31059 column header value if the getHeaderValue() returns null.
31061 2006-02-14 Mark Wielaard <mark@klomp.org>
31064 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31065 (getErrorImage): New static method.
31066 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31067 (bufferedImageOrError): Renamed to ...
31068 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31069 Returns GtkImage.getErrorImage() when argument null.
31070 (createImage(String)): Always use imageOrError.
31071 (createImage(URL)): Likewise.
31072 (createImage(ImageProducer)): Likewise.
31073 (createImage(byte[],int,int)): Likewise.
31075 2006-02-14 Roman Kennke <kennke@aicas.com>
31077 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31079 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31080 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31081 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31082 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31083 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31085 2006-02-14 Roman Kennke <kennke@aicas.com>
31087 * javax/swing/text/AsyncBoxView.java
31088 (ChildState.locator): Removed wrong field.
31089 (ChildState): Removed initialization of removed field.
31090 (locator): Changed access modifier to be protected as specified.
31092 2006-02-14 Roman Kennke <kennke@aicas.com>
31094 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31095 * javax/swing/Timer.java: Some small reindention.
31096 (task): Made package private to avoid synthetic accessor method.
31098 2006-02-14 Roman Kennke <kennke@aicas.com>
31100 * javax/swing/SwingUtilities.java
31101 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31104 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31106 * examples/gnu/classpath/examples/swing/TableDemo.java:
31107 Making the columns variable width.
31108 * javax/swing/JTable.java (distributeSpill, doLayout):
31109 Call getPreferredSize and not getSize().
31111 2006-02-14 Roman Kennke <kennke@aicas.com>
31113 * javax/swing/DefaultCellEditor.java
31114 (DefaultCellEditor): API doc fixlet.
31116 2006-02-14 Roman Kennke <kennke@aicas.com>
31118 * javax/swing/JViewport.java
31119 (isPaintRoot): New field.
31120 (repaint): Only call super here. Also added a comment regarding
31121 the diversion from the JDK.
31122 (paintBlit): Implemented real blitting.
31123 (paintImmediately2): New method. Overrides the same package private
31124 method in JComponent.
31126 2006-02-14 Roman Kennke <kennke@aicas.com>
31128 * javax/swing/plaf/basic/BasicTableUI.java
31129 (paint): Check for boundary cases when determining the painting
31132 2006-02-14 Mark Wielaard <mark@klomp.org>
31134 * java/awt/Menu.java (add): Always set parent of item to this. Call
31135 addNotify() on item when we have a MenuPeer already.
31136 (insert): Always adjust parent for item. Call addNotify() on item if
31137 we already have a peer.
31138 (remove(int)): Always clear item parent. Call removeNotify() on item
31141 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31143 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31144 row == getRowCount().
31146 2006-02-14 Lillian Angel <langel@redhat.com>
31148 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31149 (setVisible): New method to override super. Need to set the
31150 native bounds of the component, so it appears at the
31153 2006-02-14 Mark Wielaard <mark@klomp.org>
31155 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31156 (remove): If menu component is the current MenuBar remove it,
31157 otherwise call super.remove().
31158 * java/awt/MenuBar.java (frame): Remove field.
31159 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31161 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31163 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31164 to NameServicePersistent.
31165 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31166 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31168 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31170 * NEWS: Updated tool status.
31171 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31172 (constructor, bind, rebind): Rewritten.
31173 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31174 * tools/gnu/classpath/tools/giop/README: Updated.
31175 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31176 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31177 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31178 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31179 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31182 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31184 * javax/swing/JComponent.java
31185 (getListeners): Check for PropertyChangeListener.class and delegate to
31186 getPropertyChangeListeners() for that case.
31188 2006-02-13 Roman Kennke <kennke@aicas.com>
31190 * javax/swing/plaf/basic/BasicTableUI.java
31191 (paint): Determine the cells that need painting based on the
31192 current clip. Use getCellRect() for calculating the cell
31195 2006-02-13 Roman Kennke <kennke@aicas.com>
31197 * javax/swing/JTable.java
31198 (rectCache): New field.
31199 (getCellRect): Returns cached Rectangle instance.
31201 2006-02-13 Roman Kennke <kennke@aicas.com>
31203 * javax/swing/JLayeredPane.java
31204 (removeAll): New method. Avoid potential memory leak.
31205 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31208 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31210 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31211 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31213 2006-02-13 Tom Tromey <tromey@redhat.com>
31215 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31216 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31218 2006-02-13 Roman Kennke <kennke@aicas.com>
31220 * javax/swing/RepaintManager.java
31221 (offscreenBuffers): New field.
31222 (doubleBuffer): Removed field.
31223 (repaintUnderway): New field.
31224 (commitRequests): New field.
31225 (RepaintManager): Initialize new fields.
31226 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31228 (getOffscreenBuffer): Returns the offscreen buffer for the
31229 corresponding root component.
31230 (commitBuffer): New method.
31231 (commitRemainingBuffers): New method.
31232 * javax/swing/JComponent.java
31233 (paint): Call paintDoubleBuffered with the current clip.
31234 (paintImmediately2): Don't paint on screen here.
31235 (paintDoubleBuffered): Rewritten for real double buffering.
31236 (paintSimple): Draw to screen in this method.
31238 2006-02-13 Roman Kennke <kennke@aicas.com>
31240 * javax/swing/JRootPane.java
31241 (JRootPane): Set opaque property to true.
31243 2006-02-13 Tom Tromey <tromey@redhat.com>
31245 * .classpath: Updated for external/relaxngDatatype.
31247 2006-02-13 Chris Burdess <dog@gnu.org>
31249 * gnu/xml/stream/UnicodeReader.java,
31250 gnu/xml/validation/datatype/Annotation.java,
31251 gnu/xml/validation/datatype/AnySimpleType.java,
31252 gnu/xml/validation/datatype/AnyType.java,
31253 gnu/xml/validation/datatype/AnyURIType.java,
31254 gnu/xml/validation/datatype/AtomicSimpleType.java,
31255 gnu/xml/validation/datatype/Base64BinaryType.java,
31256 gnu/xml/validation/datatype/BooleanType.java,
31257 gnu/xml/validation/datatype/ByteType.java,
31258 gnu/xml/validation/datatype/DateTimeType.java,
31259 gnu/xml/validation/datatype/DateType.java,
31260 gnu/xml/validation/datatype/DecimalType.java,
31261 gnu/xml/validation/datatype/DoubleType.java,
31262 gnu/xml/validation/datatype/DurationType.java,
31263 gnu/xml/validation/datatype/EntitiesType.java,
31264 gnu/xml/validation/datatype/EntityType.java,
31265 gnu/xml/validation/datatype/EnumerationFacet.java,
31266 gnu/xml/validation/datatype/Facet.java,
31267 gnu/xml/validation/datatype/FloatType.java,
31268 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31269 gnu/xml/validation/datatype/GDayType.java,
31270 gnu/xml/validation/datatype/GMonthDayType.java,
31271 gnu/xml/validation/datatype/GMonthType.java,
31272 gnu/xml/validation/datatype/GYearMonthType.java,
31273 gnu/xml/validation/datatype/GYearType.java,
31274 gnu/xml/validation/datatype/HexBinaryType.java,
31275 gnu/xml/validation/datatype/IDRefType.java,
31276 gnu/xml/validation/datatype/IDRefsType.java,
31277 gnu/xml/validation/datatype/IDType.java,
31278 gnu/xml/validation/datatype/IntType.java,
31279 gnu/xml/validation/datatype/IntegerType.java,
31280 gnu/xml/validation/datatype/LanguageType.java,
31281 gnu/xml/validation/datatype/LengthFacet.java,
31282 gnu/xml/validation/datatype/ListSimpleType.java,
31283 gnu/xml/validation/datatype/LongType.java,
31284 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31285 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31286 gnu/xml/validation/datatype/MaxLengthFacet.java,
31287 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31288 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31289 gnu/xml/validation/datatype/MinLengthFacet.java,
31290 gnu/xml/validation/datatype/NCNameType.java,
31291 gnu/xml/validation/datatype/NMTokenType.java,
31292 gnu/xml/validation/datatype/NMTokensType.java,
31293 gnu/xml/validation/datatype/NameType.java,
31294 gnu/xml/validation/datatype/NegativeIntegerType.java,
31295 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31296 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31297 gnu/xml/validation/datatype/NormalizedStringType.java,
31298 gnu/xml/validation/datatype/NotationType.java,
31299 gnu/xml/validation/datatype/PatternFacet.java,
31300 gnu/xml/validation/datatype/PositiveIntegerType.java,
31301 gnu/xml/validation/datatype/QNameType.java,
31302 gnu/xml/validation/datatype/ShortType.java,
31303 gnu/xml/validation/datatype/SimpleType.java,
31304 gnu/xml/validation/datatype/StringType.java,
31305 gnu/xml/validation/datatype/TimeType.java,
31306 gnu/xml/validation/datatype/TokenType.java,
31307 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31308 gnu/xml/validation/datatype/Type.java,
31309 gnu/xml/validation/datatype/TypeBuilder.java,
31310 gnu/xml/validation/datatype/TypeLibrary.java,
31311 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31312 gnu/xml/validation/datatype/UnionSimpleType.java,
31313 gnu/xml/validation/datatype/UnsignedByteType.java,
31314 gnu/xml/validation/datatype/UnsignedIntType.java,
31315 gnu/xml/validation/datatype/UnsignedLongType.java,
31316 gnu/xml/validation/datatype/UnsignedShortType.java,
31317 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31318 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31319 RELAX NG datatype library implementation for XML Schema Datatypes.
31321 2006-02-13 Chris Burdess <dog@gnu.org>
31327 external/Makefile.am,
31328 external/relaxngDatatype/.cvsignore,
31329 external/relaxngDatatype/Makefile.am,
31330 external/relaxngDatatype/README.txt,
31331 external/relaxngDatatype/copying.txt,
31332 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31333 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31334 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31335 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31336 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31337 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31338 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31339 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31340 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31341 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31343 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31344 datatypes library API.
31346 2006-02-13 Mark Wielaard <mark@klomp.org>
31348 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31350 (gtkWidgetModifyFont(Font)): New protected helper method.
31351 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31352 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31353 protected and document.
31354 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31356 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31358 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31360 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31361 (setFont): Removed method. Done in GtkMenuComponent.
31362 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31363 abstract and protected.
31364 (setFont): Made private, add implementation.
31365 (setFont(Font)): Implemented.
31366 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31367 Made protected and document.
31368 (create): Made protected.
31369 (setFont): Removed method. Done in GtkMenuComponent.
31370 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31371 (gtkWidgetModifyFont): Made protected and document.
31372 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31373 Removed, similar to GtkGenericPeer super class implementation.
31374 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31375 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31376 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31379 2006-02-13 Mark Wielaard <mark@klomp.org>
31381 * java/lang/Math.java (static): Explicitly call
31382 System.loadLibrary("javalang").
31384 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31386 * javax/print/StreamPrintServiceFactory.java: New file.
31388 2006-02-13 Tom Tromey <tromey@redhat.com>
31390 * tools/.cvsignore: Added Makefile.
31392 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31394 * java/awt/print/PrinterGraphics.java: Reformatted.
31395 * java/awt/print/Paper.java: Likewise.
31396 * java/awt/print/PageFormat.java: Likewise.
31397 * java/awt/print/Pageable.java: Likewise.
31399 2006-02-13 Lillian Angel <langel@redhat.com>
31401 * java/awt/BorderLayout.java
31402 (layoutContainer): Rewrote part of this function to
31403 properly set the bounds of the components.
31404 (setBounds): Removed method, not needed.
31406 2006-02-13 Roman Kennke <kennke@aicas.com>
31408 * javax/swing/text/DefaultStyledDocument.java
31409 (ElementBuffer.clone): Fixed replace call.
31410 (clone): Removed method.
31412 2006-02-13 Roman Kennke <kennke@aicas.com>
31414 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31416 2006-02-13 Roman Kennke <kennke@aicas.com>
31418 * java/rmi/server/UnicastRemoteObject.java
31419 (exportObject(Remote)): Forward method call to export(Remote,int).
31421 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31423 * include/Makefile.am:
31424 Swapped Math.h for VMMath.h
31425 * include/java_lang_Math.h:
31427 * include/java_lang_VMMath.h:
31428 New autogenerated header for the new class.
31429 * java/lang/Math.java:
31430 (sin(double)): Changed to link to VMMath.
31431 (cos(double)): Changed to link to VMMath.
31432 (tan(double)): Changed to link to VMMath.
31433 (asin(double)): Changed to link to VMMath.
31434 (acos(double)): Changed to link to VMMath.
31435 (atan(double)): Changed to link to VMMath.
31436 (atan2(double)): Changed to link to VMMath.
31437 (exp(double)): Changed to link to VMMath.
31438 (log(double)): Changed to link to VMMath.
31439 (sqrt(double)): Changed to link to VMMath.
31440 (pow(double,double)): Changed to link to VMMath.
31441 (IEEEremainder(double,double)): Changed to link to VMMath.
31442 (ceil(double)): Changed to link to VMMath.
31443 (floor(double)): Changed to link to VMMath.
31444 (rint(double)): Changed to link to VMMath.
31445 * native/jni/java-lang/Makefile.am:
31446 Replaced java_lang_Math.c with java_lang_VMMath.c
31447 * native/jni/java-lang/java_lang_Math.c:
31449 * native/jni/java-lang/java_lang_VMMath.c:
31450 Renamed from java_lang_Math.c.
31451 * vm/reference/java/lang/VMMath.java:
31453 (sin(double)): New native method.
31454 (cos(double)): New native method.
31455 (tan(double)): New native method.
31456 (asin(double)): New native method.
31457 (acos(double)): New native method.
31458 (atan(double)): New native method.
31459 (atan2(double)): New native method.
31460 (exp(double)): New native method.
31461 (log(double)): New native method.
31462 (sqrt(double)): New native method.
31463 (pow(double,double)): New native method.
31464 (IEEEremainder(double,double)): New native method.
31465 (ceil(double)): New native method.
31466 (floor(double)): New native method.
31467 (rint(double)): New native method.
31469 2006-02-13 Lillian Angel <langel@redhat.com>
31471 * java/awt/Component.java
31472 (repaint): No need to call isShowing, it is done in the other repaint call.
31473 (repaint): Likewise.
31474 (repaint): Likewise.
31476 2006-02-13 Lillian Angel <langel@redhat.com>
31478 * java/awt/Component.java
31479 (repaint): Reverted last change.
31480 (repaint): Likewise.
31481 (repaint): Likewise.
31483 2006-02-13 Lillian Angel <langel@redhat.com>
31485 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31486 (handleEvent): Made more efficent by handling paint event and
31487 setting the clip for the graphics.
31488 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31489 (handleEvent): Likewise.
31490 * java/awt/Component.java
31491 (repaint): No need to call isShowing, it is done in the other repaint call.
31492 (repaint): Likewise.
31493 (repaint): Likewise.
31495 2006-02-13 Roman Kennke <kennke@aicas.com>
31497 * javax/swing/text/AbstractDocument.java
31498 (setParent): Added API docs. Call setParent(null) on children before
31499 disconnecting this view from the View hierarchy.
31501 2006-02-13 Roman Kennke <kennke@aicas.com>
31503 * javax/swing/text/AbstractDocument.java
31504 (readUnlock): Don't attempt to unlock when the current threads also
31505 holds a write lock.
31507 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31509 * javax/swing/plaf/metal/MetalBorders.java
31510 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31511 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31513 (Flush3DBorder.borderInsets): New field,
31514 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31515 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31516 null insets argument, and populate result from borderInsets,
31517 (PaletteBorder.borderInsets): New field,
31518 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31519 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31520 null insets argument, and populate result from borderInsets,
31521 (InternalFrameBorder.borderInsets): New field,
31522 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31524 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31525 for null insets argument, and populate result from borderInsets,
31526 (MenuItemBorder.borderInsets): Initialise to correct value.
31528 2006-02-13 Roman Kennke <kennke@aicas.com>
31530 * javax/swing/text/AsyncBoxView.java: New file.
31532 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31535 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31536 was moved to a new method parseCharClass.
31537 (parseCharClass): New method originally in initialize. Added parsing
31538 of nested character classes.
31539 (ParseCharClassResult): New inner class used as a return value of
31541 (getCharExpression),(getNamedProperty): Made static.
31542 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31543 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31544 nested character classes.
31545 (RETokenOneOf): New constructor accepting the Vector addition.
31546 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31547 stands for only one character.
31548 (match): Added the processing of the Vector addition.
31549 (matchN), (matchP): Do not check next token if addition is used.
31551 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31553 * AUTHORS: add self.
31555 2006-02-12 Tom Tromey <tromey@redhat.com>
31557 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31558 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31559 (securityContext): Likewise.
31562 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31566 * gnu/java/net/protocol/file/Connection.java (unquote):
31567 Convert Unicode characters outside basic plane to UTF-8,
31568 rather than throwing an exception.
31570 2006-02-12 Tom Tromey <tromey@redhat.com>
31572 * javax/sound/sampled/LineEvent.java (readObject): New method.
31573 (writeObject): Likewise.
31574 (serialVersionUID): New field.
31576 2006-02-12 Mark Wielaard <mark@klomp.org>
31578 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31579 Silently ignores null listener.
31580 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31581 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31582 array for null propertyName.
31584 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31586 * java/rmi/MarshalledObject.java: Added api docs to the class.
31587 * java/rmi/Remote.java: Added interface api docs.
31588 * java/rmi/package.html: Added package description.
31589 * java/rmi/AccessException.java: Minor api doc fixes.
31590 * java/rmi/NoSuchObjectException.java: Likewise.
31591 * java/rmi/AlreadyBoundException.java: Likewise.
31592 * java/rmi/RemoteException.java: Likewise.
31593 * java/rmi/NotBoundException.java: Likewise.
31594 * java/rmi/RMISecurityException.java: Likewise.
31595 * java/rmi/StubNotFoundException.java: Likewise.
31597 2006-02-12 Mark Wielaard <mark@klomp.org>
31599 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31600 q() to get EventQueue.
31601 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31602 (enableQueue): Remove static method.
31603 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31604 Don't call GtkGenericPeer.enableQueue().
31606 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31608 * java/rmi/MarshalledObject.java: Reformatted.
31609 * java/rmi/Naming.java: Likewise.
31611 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31613 * java/io/InputStream.java
31614 (read(byte[],int,int)): Changed argument validation to prevent
31615 integer overflow. Remove redundant check.
31617 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31620 * java/io/InputStreamReader.java
31621 (InputStreamReader(InputStream)): Use SystemProperties.
31622 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31623 Throw NullPointerException if in is null.
31624 Added maxBytesPerChar initialisation.
31625 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31626 Throw NullPointerException if in is null.
31628 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31630 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31631 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31632 (GnuDHPublicKey): New constructor.
31633 (getEncoded): Removed.
31634 (valueOf): Added support for ASN.1 encoding.
31635 (getEncoded(int)): Likewise.
31636 (equals): New method.
31637 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31638 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31639 (GnuDHPrivateKey(5)): New constructor.
31640 (getEncoded): Removed.
31641 (valueOf): Added support for ASN.1 encoding.
31642 (getEncoded(int)): Likewise.
31643 (equals): New method.
31644 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31645 (PREFERRED_ENCODING_FORMAT): New constant.
31646 (DEFAULT_ENCODING_FORMAT): Likewise.
31647 (preferredFormat): New field.
31648 (setup): Handle preferred encoding format identifier.
31649 (generate): Call constructors with format identifier.
31650 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31651 (GnuDHKey): Added an int argument.
31652 (getEncoded): New method.
31653 (getFormat): New implementation.
31654 (getEncoded(int)): New abstract method.
31655 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31656 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31657 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31658 key-pair generator and key-factory.
31659 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31660 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31661 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31662 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31663 (invokeConstructor): New method.
31664 (getConcreteClass): Likewise.
31665 (getConcreteCtor): Likewise.
31666 (invokeValueOf): Likewise.
31667 (getValueOfMethod): Likewise.
31668 (engineGeneratePublic): Add support for DH keys.
31669 (engineGeneratePrivate): Likewise.
31670 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31671 (decodeDHPublicKey(byte[])): Likewise.
31672 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31673 (decodeDHPrivateKey(byte[])): Likewise.
31675 2006-02-11 Mark Wielaard <mark@klomp.org>
31677 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31679 (repaint): Immediately post to queue when tm <= 0, otherwise call
31680 RepaintTimerTask.schedule().
31681 (RepaintTimerTask): Make static.
31682 (RepaintTimerTask.repaintTimer): New static final field.
31683 (RepaintTimerTask.awtComponent): New field.
31684 (schedule): New static method.
31686 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31688 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31689 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31690 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31691 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31692 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31694 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31696 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31698 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31699 (engineGeneratePublic): Added support for raw key-specifications.
31700 (engineGeneratePrivate): Likewise.
31701 (decodeDSSPublicKey): New method.
31702 (decodeRSAPublicKey): Likewise.
31703 (decodeDSSPrivateKey): Likewise.
31704 (decodeRSAPrivateKey): Likewise.
31705 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31706 (encodePrivateKey): Throw InvalidParameterException.
31707 (decodePublicKey): Likewise.
31708 (decodePrivateKey): Likewise.
31709 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31710 (encodePublicKey): Likewise.
31711 (encodePrivateKey): Likewise.
31712 (decodePublicKey): Likewise.
31713 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31714 (encodePrivateKey): Likewise.
31715 (decodePublicKey): Likewise.
31716 (decodePrivateKey): Likewise.
31717 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31718 (encodePublicKey): Likewise.
31719 (encodePrivateKey): Likewise.
31720 (decodePublicKey): Likewise.
31722 2006-02-10 Roman Kennke <kennke@aicas.com>
31724 * javax/swing/text/StyleContext.java
31725 (registerStaticAttributeKey): New static method.
31727 2006-02-10 Roman Kennke <kennke@aicas.com>
31729 * javax/swing/text/DefaultStyledDocument.java
31730 (ElementBuffer.clone): New method.
31732 2006-02-10 Roman Kennke <kennke@aicas.com>
31734 * javax/swing/text/ParagraphView.java
31735 (findOffsetToCharactersInString): New method.
31736 (getClosestPositionTo): New method.
31737 (getPartialSize): New method.
31738 (getTabBase): New method.
31739 (adjustRow): New method.
31740 (breakView): New method.
31741 (getBreakWeight): New method.
31743 2006-02-10 Roman Kennke <kennke@aicas.com>
31745 * javax/swing/text/GapContent.java
31746 (updateUndoPositions): New method.
31747 * javax/swing/text/StringContent.java
31748 (updateUndoPositions): New method.
31750 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31752 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31754 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31755 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31756 Added support for encoded key specifications.
31757 (engineGeneratePrivate): Likewise.
31758 (engineGetKeySpec): Likewise.
31759 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31761 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31763 * javax/swing/text/Utilities.java:
31764 (getTabbedTextOffset): Fixed usage of variable p0.
31765 (getPositionAbove): Rewritten.
31766 (getPositionBelow): Rewritten.
31768 2006-02-09 Roman Kennke <kennke@aicas.com>
31770 * javax/swing/text/BoxView.java
31771 (getAxis): Added @since tag.
31772 (setAxis): Added @since tag.
31773 (layoutChanged): Added @since tag.
31774 (isLayoutValid): Added @since tag.
31775 (paint): Don't call setSize here. This is done in RootView already.
31776 (getMaximumSpan): Reimplemented to return the requirements'
31777 maximum size. Added API docs.
31778 (getMinimumSpan): New method.
31779 (layout): Fixed layout order.
31780 (modelToView): Call layout instead of setSize here.
31781 (getResizeWeight): New method.
31782 (getChildAllocation): New method.
31783 (forwardUpdate): New method.
31784 (viewToModel): New method.
31785 (flipEastEndWestEnds): New method.
31786 * javax/swing/text/CompositeView.java
31787 (modelToView): Made this method more robust by returning a default
31788 location if it's not possible to calculate one via the children.
31789 This default location returns the left or right edge of this
31791 (createDefaultLocation): New helper method.
31792 * javax/swing/text/IconView.java
31793 (modelToView): Don't throw BadLocationException. This should
31794 really only be thrown if the position is outside the document
31795 model, not if it's outside the view's boundary.
31797 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31799 * tools/Makefile.am: Handle rmi and giop folders separately.
31801 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31803 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31804 * javax/swing/SpinnerNumberModel.java: Likewise.
31806 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31808 * javax/swing/SpinnerDateModel.java: Removed tabs,
31809 * javax/swing/SpinnerNumberModel.java: Likewise.
31811 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
31813 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31814 * doc/unicode/UnicodeData-4.0.0.txt: New file.
31816 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31819 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31820 (isRedirect): Removed, moved to Response.java.
31821 (connect): If error condition redirect responseSink to errorSink.
31822 (getInputStream): If error condition throw IOException, for the error
31823 codes 404 and 410 throw a FileNotFoundException.
31824 * gnu/java/net/protocol/http/Response.java (isError): New method.
31825 (isRedirect): New method, moved from HTTPURLConnection.java.
31827 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31829 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31830 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31831 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
31833 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31835 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31836 AbstractMethodGenerator.
31837 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31838 tools/gnu/classpath/tools/rmi/RMIC.java,
31839 tools/gnu/classpath/tools/rmi/RMIC.txt,
31840 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31841 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31842 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31843 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31844 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31845 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
31847 * NEWS: Corrected entry about the tools.
31849 2006-02-09 Lillian Angel <langel@redhat.com>
31851 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31852 (handleEvent): Added more to check to prevent assertion errors.
31853 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31854 (handleEvent): Likewise.
31855 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31856 (handleEvent): Likewise.
31858 2006-02-09 Mark Wielaard <mark@klomp.org>
31860 * javax/swing/JTable.java (tableChanged): Interpret null event as
31861 "everything changed".
31863 2006-02-09 Roman Kennke <kennke@aicas.com>
31865 * javax/swing/text/DefaultCaret.java
31866 (DocumentHandler.removeUpdate): When update policy is
31867 'on eventqueue', and the update doesn't come from the
31868 event queue, check if the current dot location is still
31870 (moveDot): Make sure the new dot location is valid.
31871 (setDot): Set the mark the same as the dot.
31873 2006-02-09 Roman Kennke <kennke@aicas.com>
31875 * javax/swing/text/AbstractDocument.java
31876 (remove): Perform all operations within a write lock and in the
31879 2006-02-09 Mark Wielaard <mark@klomp.org>
31881 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31882 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31883 creater than min, adjusting page_size if necessary.
31884 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31886 2006-02-09 Lillian Angel <langel@redhat.com>
31888 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31889 (handleEvent): Added code to handle PaintEvent.UPDATE.
31890 Sun does not call update(Graphics g) on Panels.
31891 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31892 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31893 Sun does not call update(Graphics g) on Panels.
31895 2006-02-09 Roman Kennke <kennke@aicas.com>
31897 * javax/swing/text/BoxView.java
31898 (myAxis): Made field private.
31899 (xLayoutValid): Replaced by layoutValid array.
31900 (yLayoutValid): Replaced by layoutValid array.
31901 (layoutValid): New field.
31902 (spansX): Replaced by spans array.
31903 (spansY): Replaced by spans array.
31904 (spans): New field.
31905 (offsetsX): Replaced by offsets array.
31906 (offsetsY): Replaced by offsets array.
31907 (offsets): New field.
31908 (requirements): New field.
31909 (BoxView): Initialize new fields.
31910 (layoutChanged): Rewritten to use the layoutValid array.
31911 (isLayoutValid): Rewritten to use the layoutValid array.
31912 (replace): Use the new arrays.
31913 (getPreferredSpan): Rewritten to call calculateXXXRequirements
31914 instead of baselineRequirements.
31915 (baselineRequirements): Rewritten to calculate baseline requirements.
31916 (baselineLayout): Rewritten to calculate baseline layout.
31917 (childAllocation): Use new arrays.
31918 (layout): Rewritten. Only update the layout if necessary.
31919 (layoutMajorAxis): Directly set layoutValid.
31920 (layoutMinorAxis): Directly set layoutValid. Use cached size
31922 (getWidth): Use new span array.
31923 (getHeight): Likewise.
31924 (setSize): Rewritten to simply call layout().
31925 (validateLayout): Removed unneeded method.
31926 (getSpan): Use new arrays.
31927 (getOffset): Use new arrays.
31928 (getAlignment): Use cached requirements if possible.
31929 (preferenceChanged): Use new arrays.
31930 * javax/swing/text/FlowView.java
31931 (FlowStrategy.insertUpdate): Do nothing here.
31932 (FlowStrategy.removeUpdate): Do nothing here.
31933 (FlowStrategy.changedUpdate): Do nothing here.
31934 (FlowStrategy.layoutRow): Rewritten.
31935 (FlowStrategy.createView): Rewritten.
31936 (FlowStrategy.adjustRow): New method.
31937 (LogicalView.getViewIndex): Fixed condition for finding child
31939 (layoutDirty): New field indicating the state of the layout.
31940 (FlowView): Initialize new field.
31941 (loadChildren): Set parent on logical view so that preferenceChanges
31942 get propagated upwards.
31943 (layout): Rewritten to match the specs.
31944 (insertUpdate): Set layout to dirty.
31945 (removeUpdate): Set layout to dirty.
31946 (changedUpdate): Set layout to dirty.
31947 * javax/swing/text/GlyphView.java
31948 (getBreakWeight): Rewritten to use the Utilities class. Commented
31949 out though because that is broken.
31950 (insertUpdate): Call preferenceChanged on this object instead of
31952 * javax/swing/text/ParagraphView.java
31953 (Row.loadChildren): Overridden to be a noop to prevent initial
31954 creation of child views. This is carried out by the flow layout.
31955 * javax/swing/text/View.java
31956 (getPreferredSpan): Added API docs.
31957 (getResizeWeight): Added API docs.
31958 (getMaximumSpan): Added API docs. Rewritten to only have one exit
31960 (getMinimumSpan): Added API docs. Rewritten to return 0 when
31961 resizable instead of Integer.MAX_VALUE.
31962 (getAlignment): Added API docs.
31963 (replace): Added API docs.
31964 (forwardUpdate): Rewritten to only notify child views that need to
31967 2006-02-09 Roman Kennke <kennke@aicas.com>
31969 * javax/swing/plaf/basic/BasicTextUI.java
31970 (RootView.paint): Call setSize() before painting the view.
31972 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
31975 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31976 flag which enables backslash escape in a replacement.
31977 (getReplacement): New public static method.
31978 (substituteImpl),(substituteAllImpl): Use getReplacement.
31979 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31980 * java/util/regex/Matcher.java(appendReplacement)
31981 Use RE#getReplacement.
31982 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31984 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
31986 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31987 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31988 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31989 (PREFERRED_ENCODING_FORMAT): New constant.
31990 (DEFAULT_ENCODING_FORMAT): Likewise.
31991 (preferredFormat): New field.
31992 (setup): Add support for preferred encoding format.
31993 (generate): Call key constructors with explicit format identifier.
31994 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
31995 Call constructor with 3 arguments..
31996 (GnuRSAPublicKey(3)): New constructor.
31997 (valueOf): Added support for ASN.1 format.
31998 (getEncoded): Likewise.
31999 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32000 Call constructor with 5 arguments.
32001 (GnuRSAPrivateKey(5)): New constructor.
32002 (GnuRSAPrivateKey(9)): New constructor.
32003 (valueOf): Added support for ASN.1 format.
32004 (getEncoded): Likewise.
32005 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32006 (GnuRSAKey): Modified constructor.
32007 (getFormat): Return preferred format identifier.
32008 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32009 (decodePrivateKey): Fixed documentation.
32010 Check Version field.
32011 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32012 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32014 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32015 * gnu/java/security/jce/sig/EncodedKeyFactory.java
32016 (engineGeneratePublic): Added support for RSA.
32017 (engineGeneratePrivate): Likewise.
32019 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32021 * java/net/URLConnection.java:
32022 (setAllowUserInteraction): Throw IllegalStateException if connected.
32023 (getRequestProperty): Document return value if key is null.
32024 * gnu/java/net/protocol/http/HTTPURLConnection.java:
32025 (getRequestProperty): Return null if key is null.
32026 (getRequestProperties): Throw IllegalStateException if connected.
32027 (setRequestProperty): Call super method for exception tests.
32028 (addRequestProperty): Likewise.
32030 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
32032 * gnu/java/net/protocol/http/Request.java:
32033 (Request): Remove initialization of removed field.
32034 (requestBodyNegotiationThreshold): Removed now unused field.
32035 (setRequestBodyNegotiationThreshold): Remove now unused method.
32036 (dispatch): Do not use 'Expect 100-continue' header if content-length
32037 is over a treshold. If user specified 'Expect 100-continue' still
32038 initialize the expectingContinue variable.
32040 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32042 * javax/swing/SpinnerNumberModel.java
32043 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
32044 maximum and minimum to take null values,
32045 (setValue): Only fire ChangeEvent if new value is different to old
32047 (setMinimum): Fixed test for updating value,
32048 (setMaximum): Likewise,
32049 (setStepSize): Likewise.
32051 2006-02-08 Tom Tromey <tromey@redhat.com>
32053 * tools/.cvsignore: Added Makefile.in.
32055 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32057 * java/rmi/server/RemoteRef.java,
32058 java/rmi/server/RemoteStub.java: Commented.
32060 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
32062 * javax/swing/SpinnerDateModel.java
32063 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32065 (getPreviousValue): Check result against start, not end,
32066 (setValue): Check that value actually changes before firing
32069 2006-02-08 Lillian Angel <langel@redhat.com>
32071 * java/awt/Choice.java
32072 (select): Fixed up code, added some checks to prevent errors.
32073 (dispatchEventImpl): Removed. This function is not needed. It
32074 causes several assertion errors.
32076 2006-02-08 Roman Kennke <kennke@aicas.com>
32078 * javax/swing/text/PlainView.java
32079 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32080 drawing unnecessary characters.
32082 2006-02-08 Lillian Angel <langel@redhat.com>
32084 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32085 (handleEvent): Fixed check to determine if height or
32086 width is less than 1.
32088 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32090 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32092 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32094 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32095 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32096 Documenting the code generator.
32097 * gnu/CORBA/IOR.java (toStringFormatted,
32098 CodeSet_component.toStringFormatted): New methods.
32099 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32100 * tools/gnu/classpath/tools/giop/README: Rewritten.
32101 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32102 (printHelpAndExit): Removed.
32103 *tools/gnu/classpath/tools/giop/IorParser.java,
32104 tools/gnu/classpath/tools/giop/IorParser.txt,
32105 tools/gnu/classpath/tools/giop/NameService.java,
32106 tools/gnu/classpath/tools/giop/NamingService.txt,
32107 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32108 NEWS: Added note about GIOP tools.
32110 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32112 * .classpath: New source patch (tools).
32113 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32114 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32115 * tools/gnu/classpath/tools/Makefile.am,
32116 tools/gnu/classpath/tools/giop/GRMIC.java
32117 tools/gnu/classpath/tools/giop/GRMIC.txt,
32118 tools/gnu/classpath/tools/giop/README,
32119 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32120 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32121 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32122 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32123 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32124 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32125 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32126 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32127 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32128 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32129 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32130 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32132 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32134 * java/awt/BasicStroke.java: Updated API docs all over,
32135 * java/awt/doc-files/capjoin.png: New file.
32137 2006-02-07 Lillian Angel <langel@redhat.com>
32139 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32140 (handleEvent): Added check. Should not paint or update the
32141 component if it's width and height are both 0.
32143 2006-02-07 Roman Kennke <kennke@aicas.com>
32145 * javax/swing/text/AbstractDocument.java
32146 (insertString): Enclose locking/unlocking in try-finally block
32147 and also keep locked while notifying the listeners.
32149 2006-02-07 Roman Kennke <kennke@aicas.com>
32151 * javax/swing/text/GlyphView.java
32152 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32154 (getStartOffset): Return element boundary if startOffset < 0.
32155 (getEndOffset): Return element boundary if endOffset < 0.
32156 (createFragment): Set startOffset and endOffset fields of fragment
32157 if one of p0 or p1 is not at the element boundary.
32159 2006-02-07 Roman Kennke <kennke@aicas.com>
32161 * javax/swing/CellRendererPane.java
32162 (paintComponent): Enclosed painting in try finally to properly
32163 clean up even when throwing an exception.
32165 2006-02-07 Roman Kennke <kennke@aicas.com>
32167 * javax/swing/UIManager.java
32168 (listeners): Made this an instance of
32169 java.beans.PropertyChangeSupport instead of the obsoleted
32170 SwingPropertyChangeSupport.
32172 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32174 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32175 of actions "delete-next" and "delete-previous", added new TextAction
32176 implementations for "selection-begin", "selection-begin-line",
32177 "selection-end" and "selection-end-line".
32179 2006-02-07 Roman Kennke <kennke@aicas.com>
32181 * javax/swing/plaf/basic/BasicTextUI.java
32182 (paint): Acquire read lock on the document before calling
32184 (paintSafely): Added comment about what this method does.
32185 (paintBackground): Implemented to actually paint the background.
32186 (update): Overridden to _not_ paint the background. This is done
32187 in paintBackground in this UI.
32189 2006-02-07 Roman Kennke <kennke@aicas.com>
32191 * javax/swing/text/View.java
32192 (forwardUpdate): Don't notify newly added child views as specified.
32194 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32196 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32198 2006-02-07 Roman Kennke <kennke@aicas.com>
32200 * javax/swing/text/DefaultStyledDocument.java
32201 (ElementBuffer.insert): Only register change when the element
32204 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32206 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32208 (getEncodingShortName): Likewise.
32209 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32210 (PKCS8_FORMAT): Likewise.
32211 (ASN1_FORMAT): Likewise.
32212 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32213 constructor with 5 arguments.
32214 (DSSPublicKey(5)): New constructor.
32215 (valueOf): Handle ASN.1 encoding.
32216 (getEncoded): Likewise.
32217 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32218 constructor with 5 arguments.
32219 (DSSPrivateKey(5)): New constructor.
32220 (valueOf): Handle ASN.1 encoding.
32221 (getEncoded): Likewise.
32222 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32223 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32224 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32225 (PREFERRED_ENCODING_FORMAT): New constant.
32226 (DEFAULT_ENCODING_FORMAT): Likewise.
32227 (preferredFormat): New field.
32228 (setup): Handle preferred format ID.
32229 (generate): Use new ctors with 5 arguments.
32230 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32231 ID as an additional argument.
32232 (defaultFormat): new field.
32233 (getFormat): Returns the preferred format as a short string.
32234 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32235 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32237 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32238 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32240 (initialize(int,boolean,SecureRandom)): Likewise.
32241 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32242 writeLength() instead of write().
32243 return buf.length + 1 instead of buf.length.
32245 2006-02-07 Roman Kennke <kennke@aicas.com>
32247 * javax/swing/plaf/basic/BasicTextUI.java
32248 (RootView.preferenceChange): Changed view parameter to view so
32249 that it doesn't hide a field of that class.
32250 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32251 (RootView.modelToView): Removed unnecessary cast from View to View.
32252 (PropertyChangeHandler): Made inner class private.
32253 (updateHandler): Made field private.
32254 (getVisibleEditorRect): Removed unneeded local variable that
32255 shadowed a field with the same name and purpose.
32257 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32259 * javax/swing/text/JTextComponent.java:
32260 (getSelectedText): Calculate offset and use that as
32263 2006-02-07 Roman Kennke <kennke@aicas.com>
32265 * javax/swing/JTextPane.java
32266 (setCharacterAttributes): Replace input attributes when
32269 2006-02-07 Roman Kennke <kennke@aicas.com>
32271 * java/awt/Component.java
32272 (firePropertyChange(String,byte,byte)): Made method public.
32273 (firePropertyChange(String,char,char)): Made method public.
32274 (firePropertyChange(String,short,short)): Made method public.
32275 (firePropertyChange(String,long,long)): Made method public.
32276 (firePropertyChange(String,float,float)): Made method public.
32277 (firePropertyChange(String,double,double)): Made method public.
32279 2006-02-06 Tom Tromey <tromey@redhat.com>
32281 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32283 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32285 2006-02-06 Anthony Green <green@redhat.com>
32287 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32289 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32291 * .settings/org.eclipse.jdt.core.prefs:
32292 Force a line split on extends and implements.
32293 Force a white-space after unary operators.
32294 Don't force a new-line after @params.
32295 Add new-line at end-of-file.
32296 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32298 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32300 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32302 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32304 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32306 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32308 * gnu/java/security/provider/EncodedKeyFactory.java
32309 (ID_DSA): Redefined in terms of Registry constant.
32310 (ID_DSA): Redefined in terms of Registry constant.
32311 (ID_DH): Redefined in terms of Registry constant.
32312 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32313 (PKCS8_ENCODING): Likewise.
32314 (ASN1_ENCODING): Likewise.
32315 (RAW_ENCODING_SHORT_NAME): Likewise.
32316 (X509_ENCODING_SORT_NAME): Likewise.
32317 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32318 (ASN1_ENCODING_SHORT_NAME): Likewise.
32319 (X509_ENCODING_ID): Likewise.
32320 (PKCS8_ENCODING_ID): Likewise.
32321 (ASN1_ENCODING_ID): Likewise.
32322 (DSA_OID_STRING): Likewise.
32323 (RSA_OID_STRING): Likewise.
32324 (DH_OID_STRING): Likewise.
32326 2006-02-06 Roman Kennke <kennke@aicas.com>
32328 * javax/swing/text/GlyphView.java:
32329 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32330 Only fill background if there is a background set on the view.
32331 Call Utilities.drawTabbedText with the baseline height, rather than
32332 the upper left corner of the view rectangle.
32333 (getBackground): Return null if no background is set.
32334 * javax/swing/text/GlyphView.java:
32335 (setPropertiesFromAttributes): Use null for background when no
32336 background is set. StyleConstants.getBackground() doesn't work
32337 for this, because it returns Color.BLACK in that case.
32339 2006-02-06 Roman Kennke <kennke@aicas.com>
32341 * java/awt/Container.java
32342 (changeSupport): Removed duplicate (from Component) field.
32343 (addPropertyChangeListener): Call super.
32345 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32347 * java/util/regex/Matcher.java(matches):
32348 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32350 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32353 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32354 * gnu/regexp/CharIndexedCharArray.java
32355 (lookBehind),(length): Implemented.
32356 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32357 * gnu/regexp/CharIndexedString.java: Likewise.
32358 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32359 * gnu/regexp/REToken.java(getMaximumLength): New method.
32360 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32362 (initialize): Parse (?<=X), (?<!X), (?>X).
32363 (getMaximumLength): Implemented.
32364 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32365 * gnu/regexp/RETokenChar.java: Likewise.
32366 * gnu/regexp/RETokenEnd.java: Likewise.
32367 * gnu/regexp/RETokenEndSub.java: Likewise.
32368 * gnu/regexp/RETokenLookAhead.java: Likewise.
32369 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32370 * gnu/regexp/RETokenOneOf.java: Likewise.
32371 * gnu/regexp/RETokenPOSIX.java: Likewise.
32372 * gnu/regexp/RETokenRange.java: Likewise.
32373 * gnu/regexp/RETokenRepeated.java: Likewise.
32374 * gnu/regexp/RETokenStart.java: Likewise.
32375 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32376 * gnu/regexp/RETokenIndependent.java: New file.
32377 * gnu/regexp/RETokenLookBehind.java: New file.
32379 2006-02-06 Roman Kennke <kennke@aicas.com>
32381 * java/awt/Component.java
32382 (firePropertyChange(String,byte,byte)): New method.
32383 (firePropertyChange(String,char,char)): New method.
32384 (firePropertyChange(String,short,short)): New method.
32385 (firePropertyChange(String,long,long)): New method.
32386 (firePropertyChange(String,float,float)): New method.
32387 (firePropertyChange(String,double,double)): New method.
32389 2006-02-06 Roman Kennke <kennke@aicas.com>
32391 * javax/swing/JComponent.java
32392 (AccessibleJComponent.changeSupport): Changed to be a
32393 java.beans.PropertyChangeSupport rather than
32394 SwingPropertyChangeSupport.
32395 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32397 (changeSupport): Removed unneeded field.
32398 (removePropertyChangeListener): Removed unneeded methods.
32399 (addPropertyChangeListener): Removed unneeded methods.
32400 (getPropertyChangeListeners): Removed unneeded methods.
32401 (firePropertyChange(String,boolean,boolean)): Changed to simply
32402 call super. Added specnote.
32403 (firePropertyChange(String,char,char)): Changed to simply
32404 call super. Added specnote.
32405 (firePropertyChange(String,int,int)): Changed to simply
32406 call super. Added specnote.
32407 (firePropertyChange(String,byte,byte)): Removed.
32408 (firePropertyChange(String,Object,Object)): Removed.
32409 (firePropertyChange(String,double,double)): Removed.
32410 (firePropertyChange(String,float,float)): Removed.
32411 (firePropertyChange(String,long,long)): Removed.
32412 (firePropertyChange(String,short,short)): Removed.
32414 2006-02-06 Roman Kennke <kennke@aicas.com>
32416 * javax/swing/event/SwingPropertyChangeSupport.java
32417 (listeners): Removed field.
32418 (propertyListeners): Removed field.
32419 (source): Removed field.
32420 (SwingPropertyChangeSupport()): Removed initialization of removed
32422 (addPropertyChangeListener): Removed methods.
32423 (removePropertyChangeListener): Removed methods.
32424 (getPropertyChangeListeners): Removed methods.
32425 (firePropertyChange): Removed methods.
32426 (hasListeners): Removed methods.
32428 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32431 * java/net/InetAddress.java
32432 (readResolve): Implemented.
32434 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32437 * java/io/ObjectInputStream.java
32438 (readNextBlock()): Handle TC_RESET.
32440 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32442 * javax/print/attribute/standard/Compression.java,
32443 * javax/print/attribute/standard/Finishings.java,
32444 * javax/print/attribute/standard/JobMediaSheets.java,
32445 * javax/print/attribute/standard/JobSheets.java,
32446 * javax/print/attribute/standard/JobState.java,
32447 * javax/print/attribute/standard/JobStateReason.java,
32448 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32449 * javax/print/attribute/standard/PrintQuality.java,
32450 * javax/print/attribute/standard/Media.java,
32451 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32452 * javax/print/attribute/standard/PrinterStateReason.java,
32453 * javax/print/attribute/standard/PDLOverrideSupported.java:
32454 (getName): Make method final.
32455 (getCategory): Likewise.
32456 * javax/print/attribute/standard/MediaSize.java:
32457 (getName): Make method final.
32458 (getCategory): Likewise.
32459 (ISO): Added private default constructor.
32463 (Engineering): Likewise.
32465 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32467 * native/jni/java-net/javanet.c (_javanet_connect):
32468 Throw ConnectException instead of IOException if connection failed.
32469 * native/jni/java-net/javanet.h:
32470 Add a define for java.net.ConnectException
32472 2006-02-05 Mark Wielaard <mark@klomp.org>
32475 reported by Egon Willighagen <egon.willighagen@gmail.com>
32476 * javax/swing/DefaultListCellRenderer.java
32477 (getListCellRendererComponent): Turn null value into empty string.
32479 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32481 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32482 a Unicode block if the name starts with "In".
32483 (UnicodeBlockHandler): New inner class.
32485 2006-02-04 Roman Kennke <kennke@aicas.com>
32487 * java/awt/Container.java
32488 (getComponentZOrder): New method.
32489 (setComponentZOrder): New method.
32490 * javax/swing/JLayeredPane.java
32491 (setPosition): Reimplemented to use setComponentZOrder().
32492 (getIndexOf): Reimplemented to use getComponentZOrder().
32493 (addImpl): Pass layerContraint to super call. Important for possibly
32494 installed layout managers.
32495 (swapComponents): Remove unneeded method.
32497 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32499 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32500 DSAKeyPairGenerator.
32501 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32502 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32504 Surround call to adaptee in a try/catch.
32505 (initialize((DSAParams,SecureRandom)): New method.
32506 (initialize(int,boolean,SecureRandom)): New method.
32507 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32508 KeyPairGenerator rather than KeyPairGeneratorSpi.
32509 (KeyPairGeneratorAdapter): Call super with algorithm name.
32511 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32513 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32514 (getDefaultPRNG): New method.
32515 (parseO): Use method above.
32516 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32517 (getDefaultPRNG): New method.
32518 (createO): Use method above.
32519 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32520 (nextByte): Use above field.
32521 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32522 * gnu/java/security/sig/rsa/RSA.java: New class field.
32523 (newR): Use above field
32524 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32525 (encode): Use field.above.
32526 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32527 (getDefaultPRNG): new method.
32528 (nextRandomBytes): Use above method.
32529 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32530 * gnu/java/security/sig/BaseSignature.java: Likewise.
32531 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32532 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32533 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32534 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32535 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32536 (getDefaultPRNG): new method.
32537 (nextRandomBytes): Use above method.
32538 (STRICT_DEFAULTS): new class field.
32539 (USE_DEFAULTS): more documentation to clarify behavior.
32540 (setup): amended to handle new attribute.
32541 * gnu/java/security/util/PRNG.java: New file.
32543 2006-02-03 Lillian Angel <langel@redhat.com>
32545 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32546 chooser field should be protected, not package-private.
32548 2006-02-03 Lillian Angel <langel@redhat.com>
32550 * javax/swing/text/DefaultStyledDocument.java
32551 (changeUpdate): Cleaned up code.
32553 (insertUpdate): Set offset to be equal to pos after
32554 insertContentTag call.
32555 (insertContentTag): If paragraph has no children, should use
32556 replace instead of Edit.
32557 (insertFracture): Moved around code to prevent any exception. Also,
32558 left side of tree should not be recreated if it has already been
32559 edited. In that case, we should only be creating a new right branch
32561 (getEditForParagraphAndIndex): No need to check index. We should
32562 use the same edit for each paragraph.
32564 2006-02-03 Mark Wielaard <mark@klomp.org>
32566 * javax/swing/event/SwingPropertyChangeSupport.java
32567 (propertyListeners): Change type to HashMap.
32568 (SwingPropertyChangeSupport): Allocate HashMap.
32570 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32572 * java/security/KeyPairGenerator.java (getInstance): Test for
32573 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32575 2006-02-02 Roman Kennke <kennke@aicas.com>
32577 * javax/swing/RepaintManager.java
32578 Made fields private.
32579 (RepaintWorker.run): Enclosed work stuff in try finally block in
32580 order to clean up correctly if invalidation or painting fails,
32581 otherwise we would get no more RepaintWorkers onto the EventQueue.
32582 Also, now the RepaintWorker is marked 'dead' only after it has
32583 finished its work, avoid more than one RepaintWorker on the queue.
32584 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32585 instead of hierarchy depths.
32586 (workDirtyComponents): Removed unused field.
32587 (repaintOrder): Removed unused field.
32588 (workRepaintOrder): Removed unused field.
32589 (workInvalidComponents): Removed unused field.
32590 (RepaintManager()): Removed initialization of removed fields.
32591 (addInvalidComponent): Fine tuned synchronization.
32592 (removeInvalidComponent): Fine tune synchronization.
32593 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32594 synchronization. Don't manager repaintOrder here.
32595 (insertRepaintOrder): Removed method.
32596 (markCompletelyClean): Fine tuned synchronization.
32597 (validateInvalidComponents): Dont use a working copy of the
32598 invalidComponents list, instead fine tuned synchronization on this
32599 list. Also, don't search validateRoot, this is already done in
32600 addInvalidComponent().
32601 (paintDirtyRegions): Compute repaint order here, based on size of
32602 damaged regions. Fine tuned synchronization. Avoid use of working
32603 copies of dirtyComponent.
32605 2006-02-02 Lillian Angel <langel@redhat.com>
32607 * javax/swing/text/DefaultStyledDocument.java
32608 (insertUpdate): JoinNextDirection should push the
32609 'next' paragraph on the stack.
32611 2006-02-02 Lillian Angel <langel@redhat.com>
32613 * javax/swing/text/DefaultStyledDocument.java
32614 (insertUpdate): Rewrote code for Originate. This prevents
32615 leaves being created multiple times. If it is on the last
32616 ElementSpec, the leaves need to be created right then;
32617 otherwise, only a branch is created.
32618 (insertContentTag): Rewrote to add new leaf directly if
32619 this is a branch with no children. Otherwise, it
32620 recreates the remainder of the tree as before.
32622 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32624 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32625 for making a list of REMatch instances.
32626 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32627 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32628 (match): Rewritten using REMatchList.
32629 (matchRest): Rewritten using REMatchList.
32631 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32633 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32634 (friendsMove): Call repaint() only after endOfGame is assigned.
32636 2006-02-02 Mark Wielaard <mark@klomp.org>
32638 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32639 * java/util/AbstractCollection.java (toString): Only use Iterator,
32640 check whether collection contains itself.
32642 2006-02-01 Casey Marshall <csm@gnu.org>
32644 Partial fix for PR classpath/25143.
32645 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32646 (<init>): fill in `algName,' derive `algOid' from `algName.'
32647 (getOid): new method.
32648 (encode): embed NULL value for parameters if `params' is `null.'
32650 2006-02-01 Casey Marshall <csm@gnu.org>
32652 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32653 <monoman@gmail.com>.
32654 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32655 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32657 2006-02-01 Casey Marshall <csm@gnu.org>
32659 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32660 * gnu/java/security/der/DERValue.java
32661 (getLength, getEncoded, getEncodedLength): throw an exception,
32662 don't initialize `encoded' to a bogus value.
32663 (toString): return a more helpful string.
32665 Partial fix for PR classpath/25144.
32666 * gnu/java/security/der/DERWriter.java (write): if the value is
32667 the pseudo-value used for CONSTRUCTED, write the encoded value
32670 2006-02-01 Tom Tromey <tromey@redhat.com>
32672 * java/security/Security.java (loadProviders): Use system class
32675 2006-02-01 Mark Wielaard <mark@klomp.org>
32677 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32678 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32679 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32680 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32681 (UnicodeCategoriesHandler): New private static class.
32683 2006-02-01 Lillian Angel <langel@redhat.com>
32685 * javax/swing/text/DefaultStyledDocument.java:
32686 Removed unneeded fields.
32687 (insertUpdate): Removed field initialization.
32688 (insertContentTag): Rewrote part of function. Still
32691 2006-02-01 Lillian Angel <langel@redhat.com>
32693 * javax/swing/text/DefaultStyledDocument.java
32694 (insertParagraph): Cleaned up code.
32695 (insertFirstContentTag): Fixed call to recreateLeaves.
32696 (insertContentTag): Added check to code to determine where
32697 content should be inserted with respect to next element.
32698 (createFracture): Removed check, recreateLeaves is called in
32699 other places when needed.
32700 (recreateLeaves): Added new parameter for paragraph instead
32701 of checking the stack. Removed editing for newBranch, replaced
32702 with a replace call.
32704 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32706 * doc/unicode/Blocks-4.0.0.txt: New file.
32707 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32708 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32709 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32710 but replaced some 1.5-only features (such as enum).
32712 2006-01-31 Roman Kennke <kennke@aicas.com>
32714 * javax/swing/text/PasswordView.java
32715 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32717 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32720 2006-01-31 Roman Kennke <kennke@aicas.com>
32722 * javax/swing/JTextField.java
32723 (getPreferredSize): Also include textfield's insets in width
32726 2006-01-31 Roman Kennke <kennke@aicas.com>
32728 * javax/swing/plaf/basic/BasicTextUI.java
32729 (getPreferredSize): Include the textcomponent's insets in
32732 2006-01-31 Roman Kennke <kennke@aicas.com>
32734 * javax/swing/table/DefaultTableCellRenderer.java
32735 (getTableCellRendererComponent): Moved setting of the value into
32736 setValue(). Removed (bogus) special handling of JTextField values.
32737 (setValue): Made ?: statement more clear by rewriting it
32740 2006-01-31 Roman Kennke <kennke@aicas.com>
32742 * javax/swing/JLayeredPane.java
32743 (insertIndexForLayer): Fixed algorithm to correctly determine
32744 inser index for positions >= 0.
32745 (addImpl): Fixed API docs for the index parameter.
32747 2006-01-31 Mark Wielaard <mark@klomp.org>
32749 * java/net/URI.java (getURIGroup): Check for null to see whether
32750 group actually exists.
32752 2006-01-31 Lillian Angel <langel@redhat.com>
32754 * javax/swing/text/DefaultStyledDocument.java
32755 (changeUpdate): Fixed calls to split to incorporate
32757 (insertParagraph): Likewise. Uses 0 as editIndex
32758 because inserting into a new paragraph.
32759 (insertContentTag): Fixed check to use
32760 recreateLeaves. Added a FIXME comment.
32761 (split): Added a new parameter for edits.
32763 2006-01-31 Roman Kennke <kennke@aicas.com>
32765 * javax/swing/plaf/basic/BasicRootPaneUI.java
32766 (installDefaults): Don't install a background color here.
32768 2006-01-31 Lillian Angel <langel@redhat.com>
32770 * javax/swing/text/DefaultStyledDocument.java
32771 (insert): Removed comment.
32772 (insertUpdate): Added comment.
32773 (recreateLeaves): Removed call to push newBranch onto the
32774 stack. This does not need to be done here.
32776 2006-01-31 Chris Burdess <dog@gnu.org>
32778 * gnu/xml/stream/SAXParser.java,
32779 gnu/xml/stream/UnicodeReader.java,
32780 gnu/xml/stream/XIncludeFilter.java,
32781 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32782 only resolved the system ID not the stream. Make some utility methods
32783 public and static for use by other private XML APIs.
32784 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32785 called without throwing IllegalStateException.
32786 * java/util/logging/SimpleFormatter.java: Write thrown exception if
32789 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32792 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32793 for an invalid index and return null for a skipped group.
32795 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32798 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32799 (NamedProperty): New inner class.
32800 (getNamedProperty): New method.
32801 (getRETokenNamedProperty): New Method.
32802 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32803 * gnu/regexp/RETokenNamedProperty.java: New file.
32805 2006-01-31 Roman Kennke <kennke@aicas.com>
32807 * javax/swing/plaf/PlainView.java
32808 (paint): Call drawLine with baseline coordinates.
32809 (drawLine): Documented and indented this method.
32810 (drawUnselecetedText): Documented and indented this method.
32811 * javax/swing/plaf/text/Utilites.java
32812 (drawTabbedText): The coordinates denote the baseline of the text
32813 not the upper left corner.
32815 2006-01-31 Roman Kennke <kennke@aicas.com>
32817 * javax/swing/plaf/basic/BasicTextUI.java
32818 (createKeymap): Don't store KeyBindings[] as focusInputMap in
32819 UIManager. Added FIXME regarding the implementation of this method.
32821 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32823 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32824 (ButtonDemo): Move content initialisation to new method,
32825 (initFrameContent): New method,
32826 (main): Call initFrameContent(),
32827 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32828 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32829 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32830 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32831 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32833 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32835 * examples/gnu/classpath/examples/swing/Demo.java
32836 (Demo): Set frame size,
32837 (mkButtonBar): Removed stacked sub-panels.
32839 2006-01-30 Lillian Angel <langel@redhat.com>
32841 * javax/swing/text/DefaultStyledDocument.java:
32843 (insert): Initialized fields. Removed call to addEdit,
32844 and created ElementEdit instead.
32845 (insertUpdate): Added check for fracturing. If the
32846 fracturing was not successful, we should push the
32847 last element back on the stack.
32848 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32849 Also, changed replace calls to use Edit.
32850 (insertFirstContentTag): Removed unneeded check and fixed call
32852 (insertContent): Fixed check to use new fields. Added code in
32853 to check if leaves overlap.
32854 (createFracture): Fixed call to recreateLeaves.
32855 (recreateLeaves): Fixed code and cleaned it up a bit.
32856 (insertFracture): Set fracNotCreated field.
32857 (addEdit): Removed, this method is not needed.
32859 2006-01-30 Roman Kennke <kennke@aicas.com>
32861 * javax/swing/JRootPane.java
32862 (RootLayout.prefSize): Removed caching for preferredSize.
32863 (RootLayout.invalidateLayout): Likewise.
32864 (RootLayout.preferredLayoutSize): Likewise.
32866 2006-01-30 Roman Kennke <kennke@aicas.com>
32869 * javax/swing/JFrame.java
32870 (frameInit): Handle the defaultLookAndFeelDecorated flag.
32871 * javax/swing/plaf/metal/MetalRootPaneUI.java
32872 (MetalFrameBorder): New inner class, provides the border for
32873 top level containers with L&F decorations.
32874 (MetalTitlePane): New inner class, provides the title pane for
32875 top level containers with L&F decorations.
32876 (MetalRootLayout): New inner class. Used to layout the root pane
32877 when L&F window decorations are enabled.
32878 (installUI): New method. Handles window decorations.
32879 (uninstallUI): New method. Handles window decorations.
32880 (propertyChange): Handles window decorations.
32881 (installWindowDecorations): New method. Handles window
32883 (uninstallWindowDecorations): New method. Handles window
32885 * javax/swing/plaf/metal/MetalLookAndFeel.java
32886 (getSupportsWindowDecorations): Overridden to return true.
32888 2006-01-30 Mark Wielaard <mark@klomp.org>
32890 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32891 IllegalArgumentException when orientation is illegal.
32892 (JProgressBar(int, int, int)): Likewise and throw exception.
32893 (setOrientation): Likewise.
32895 2006-01-30 Roman Kennke <kennke@aicas.com>
32897 * javax/swing/ViewportLayout.java
32898 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32900 2006-01-30 Mark Wielaard <mark@klomp.org>
32902 * javax/swing/JProgressBar.java (orientation): Always set by
32904 (JProgressBar(int)): Document default on 'illegal' value.
32905 (JProgressBar(int, int, int)): Likewise and set orientation to
32906 HORIZONTAL when 'illegal'.
32907 (setOrientation): Likewise.
32909 2006-01-30 Roman Kennke <kennke@aicas.com>
32911 * javax/swing/plaf/basic/BasicListUI.java
32912 (ListDataHandler.contentsChanged): Update the
32913 updateLayoutStateNeeded flag.
32914 (ListDataHandler.intervalAdded): Update the
32915 updateLayoutStateNeeded flag.
32916 (ListDataHandler.intervalRemoved): Update the
32917 updateLayoutStateNeeded flag.
32918 (PropertyChangeHandler.propertyChange): Correctly update the
32919 listeners on new list model.
32920 (maybeUpdateLayoutState): Don't consider the validation state
32923 2006-01-30 Mark Wielaard <mark@klomp.org>
32925 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32928 2006-01-30 Roman Kennke <kennke@aicas.com>
32930 * javax/swing/JLayeredPane.java
32931 (insertIndexForLayer): Fixed algorithm to correctly insert
32932 components within different layers and -1 position.
32934 2006-01-30 Mark Wielaard <mark@klomp.org>
32936 * doc/api/Makefile.am (create_html): Add -validhtml.
32938 2006-01-30 Roman Kennke <kennke@aicas.com>
32940 * javax/swing/JLayeredPane.java
32941 (insertIndexForLayer): Fixed algorithm to correctly insert
32942 components within same layer and -1 position.
32944 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
32947 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32948 New execution flag.
32949 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32950 implicit RETokenEnd at the end of the regexp chain.
32951 Do not select the longest match, but select the first match.
32952 (match): Do not take care of REMatch.empty.
32953 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32954 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32955 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32956 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32957 Do not take care of REMatch.empty. Set and check REMatch.empty
32958 when trying to match the single token.
32960 2006-01-30 Mark Wielaard <mark@klomp.org>
32962 * java/awt/Cursor.java (toString): Include name and type.
32964 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
32966 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32968 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32970 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32973 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
32974 Consider the validation state of the list.
32976 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
32978 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32980 * java/beans/XMLDecoder.java:
32981 (setExceptionListener): Use shared DefaultExceptionListener
32983 * java/beans/Encoder.java:
32984 (setExceptionListener): Use shared DefaultExceptionListener
32987 2006-01-29 Roman Kennke <kennke@aicas.com>
32989 * javax/swing/ScrollPaneLayout.java
32990 (minimumLayoutSize): Rewritten to match JDKs behaviour.
32992 2006-01-29 Mark Wielaard <mark@klomp.org>
32994 * java/net/SocketPermission.java (setActions): Trim and lower case
32997 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
32999 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33000 incorrectly failing primality test for some known primes. Fixed.
33001 (passFermatLittleTheorem): Removed.
33002 (passMillerRabin): Removed.
33003 (isProbablePrime): Cache primes that pass the primality tests.
33004 Use BigInteger.isProbablePrime(int) for primality tests.
33005 (debugBI): New static debugging method.
33007 2006-01-28 Roman Kennke <kennke@aicas.com>
33009 * javax/swing/plaf/basic/BasicListUI.java
33010 (updateLayoutState): Removed unneeded special case for VERTICAL.
33012 2006-01-28 Roman Kennke <kennke@aicas.com>
33014 * javax/swing/plaf/basic/BasicListUI.java
33015 (getCellBounds): Determine correct list width when having a
33016 layoutOrientation of VERTICAL.
33017 (maybeUpdateLayoutState): Don't consider the validation state of
33020 2006-01-28 Mark Wielaard <mark@klomp.org>
33022 Reported by Dimitri Fontaine <dimitri@dalibo.com>
33023 * java/awt/print/NoPrinterJob.java: New (fake) class.
33024 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33026 2006-01-28 Mark Wielaard <mark@klomp.org>
33028 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33030 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33032 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33033 (addChildren): New method.
33035 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
33037 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33038 constructor for cloning purposes.
33039 (clone): New implementation that ensures cloning.
33040 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33041 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33044 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33046 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33047 Call updateCurrentVisiblePath.
33049 2006-01-27 Roman Kennke <kennke@aicas.com>
33051 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33053 2006-01-27 Roman Kennke <kennke@aicas.com>
33055 * examples/gnu/classpath/examples/swing/ButtonDemo.java
33056 (createContent): Only create new content if we don't have one
33058 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33059 (createContent): Only create new content if we don't have one
33061 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33062 (createContent): Only create new content if we don't have one
33064 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33065 (createContent): Only create new content if we don't have one
33067 * examples/gnu/classpath/examples/swing/SliderDemo.java
33068 (createContent): Only create new content if we don't have one
33070 * examples/gnu/classpath/examples/swing/TableDemo.java
33071 (createContent): Only create new content if we don't have one
33073 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33074 (createContent): Only create new content if we don't have one
33077 2006-01-27 Lillian Angel <langel@redhat.com>
33079 * javax/swing/text/DefaultStyledDocument.java
33080 (insertFirstContentTag): Removed check, not needed. This
33081 still needs to be fixed for some cases. Added call to
33083 (createFracture): Added call to recreateLeaves.
33084 (recreateLeaves): New method used to recreate all the
33085 leaves after the initial insertion. This still needs
33087 (handleInsertAfterNewline): Removed else, not needed.
33089 2006-01-27 Roman Kennke <kennke@aicas.com>
33091 * javax/swing/JLayeredPane.java
33092 (inserIndexForLayer): Fixed direction of search.
33094 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33096 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33097 node into nodeStates.
33099 2006-01-27 Roman Kennke <kennke@aicas.com>
33101 * javax/swing/JLayeredPane.java
33102 (FRAME_CONTENT_LAYER): Made field final.
33103 (componentToLayer): Made field private.
33104 (rectCache): Removed field.
33105 (layers): Removed field.
33106 (JLayeredPane()): Removed initialization of removed fields.
33107 (getLayer): Rewritten to make use of client properties in
33108 JComponents and to be more straighforward.
33109 (static getLayer): Rewritten to make use of client properties in
33111 (layerToRange): Removed method.
33112 (incrLayer): Removed method.
33113 (decrLayer): Removed method.
33114 (highestLayer): Rewritten to be more straightforward.
33115 (lowestLayer): Rewritten to be more straightforward.
33116 (getPosition): Rewritten to be more straightforward.
33117 (getComponentsInLayer): Rewritten to be more straightforward.
33118 (getComponentCountInLayer): Rewritten to be more straightforward.
33119 (getIndexOf): Rewritten to be more straightforward.
33120 (inserIndexForLayer): Rewritten to be more straightforward.
33121 (remove): Rewritten to be more straightforward.
33122 (setLayer): Rewritten to be more straightforward.
33123 (addImpl): Rewritten to be more straightforward.
33124 (putLayer): Rewritten to be more straightforward.
33126 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33128 * java/lang/Character.java:
33129 (offsetByCodePoints(CharSequence, int, int)): New API method.
33130 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33131 (toChars): Throw the Exception that the docs say we throw.
33132 (codePointAt): Fixed an off-by-one error in the bounds of the if
33134 * java/lang/String.java:
33135 (String(int[], int, int)): New API constructor.
33137 2006-01-27 Lillian Angel <langel@redhat.com>
33139 * javax/swing/text/DefaultStyledDocument.java
33140 (insert): Moved this loop to insertUpdate.
33141 (insertUpdate): Likewise. Fixed variable
33142 names. Incremented pos if new paragraph
33144 (split): Changed edits to use replace instead. Prevents
33146 (insertFirstContentTag): Removed else.
33147 (insertContentTag): Implemented else for JoinNextDirection.
33148 (createFracture): Fixed up code, still not fully complete.
33149 (insertFracture): Fixed to use return value from
33150 recreateAfterFracture.
33151 (recreateAfterFracture): Changed to return an array of the
33152 elements to be added. This prevents an assertion error.
33153 (contains): New function checks if an element is already in
33154 the Vector. Vector's contain function was not enough to use.
33155 (addAddedElement): Changed to use new contains function.
33156 (addAddedElements): Likewise.
33157 (addRemovedElement): Likewise.
33158 (addRemovedElements): Likewise.
33160 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33163 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33164 If no user class loaders found on the stack, return the thread
33165 context class loader. (currentClassLoader): Explained.
33167 2006-01-27 Roman Kennke <kennke@aicas.com>
33169 * java/awt/Container.java
33170 (swapComponents): Removed unspecified method.
33171 * javax/swing/JLayeredPane.java
33172 (setPosition): Reimplemented correctly.
33173 (swapComponents): New helper method.
33175 2006-01-27 Mark Wielaard <mark@klomp.org>
33177 * configure.ac: Set version to 0.21-pre.
33179 2006-01-27 Roman Kennke <kennke@aicas.com>
33182 * javax/swing/JComponent.java
33183 (findOverlapFreeParent): Improved the algorithm to make better use
33184 of the optimizedDrawingEnabled flag.
33185 * javax/swing/JLayeredPane.java
33186 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33187 * javax/swing/JViewport.java
33188 (computeBlit): Fixed check to decide if blitting is possible or not,
33189 so that it doesn't blit if nothing was scrolled (in order to
33190 update the buffer when the view updates itself).
33192 2006-01-27 Roman Kennke <kennke@aicas.com>
33194 * javax/swing/plaf/metal/MetalFileChooserUI.java
33195 (createList): Don't set scrollbar policy.
33197 2006-01-27 Roman Kennke <kennke@aicas.com>
33199 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33200 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33201 Fixed to also handle non-Swing toplevel containers.
33202 (PopupMenuHandler.popupMenuWillBecomeVisible):
33203 Fixed to also handle non-Swing toplevel containers.
33204 * javax/swing/Popup.java
33205 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33208 2006-01-27 Roman Kennke <kennke@aicas.com>
33210 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33211 (InternalFramePropertyChangeListener): Don't implement
33212 VetoableChangeListener.
33213 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33214 (internalFrameVetoableChangeListener): Removed unneeded field.
33215 (installListeners): Don't install vetoableChangeListener.
33216 * javax/swing/event/DocumentEvent.java
33217 (EventType): Made class final.
33219 2006-01-27 Roman Kennke <kennke@aicas.com>
33221 * javax/swing/SwingUtilities.java
33222 (calculateInsetArea): Removed unneeded method. The method
33223 calculateInnerArea has the same purpose and is actually specified.
33224 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33225 * javax/swing/plaf/basic/BasicMenuItemUI.java
33226 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33227 of SwingUtilities.calculateInsetArea().
33229 2006-01-27 Roman Kennke <kennke@aicas.com>
33231 * javax/swing/plaf/basic/BasicTreeUI.java
33232 (installDefaults): Removed requestFocusInWindow() call.
33233 * javax/swing/JComponent.java
33234 (requestFocusInWindow(boolean)): Made method protected.
33235 (printComponent): Made method protected.
33236 (printChildren): Made method protected.
33237 (printComponent): Made method protected.
33238 (printBorder): Made method protected.
33240 2006-01-27 Roman Kennke <kennke@aicas.com>
33242 * javax/swing/AbstractButton.java
33243 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33245 * javax/swing/ImageIcon.java
33246 (component): Made field final.
33247 (tracker): Made field final.
33248 * javax/swing/JApplet.java
33249 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33250 * javax/swing/JCheckBox.java
33251 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33253 * javax/swing/JDialog.java
33254 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33255 * javax/swing/JFrame.java
33256 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33257 * javax/swing/JLayeredPane.java
33258 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33260 (DEFAULT_LAYER): Made field final.
33261 (PALETTE_LAYER): Made field final.
33262 (MODAL_LAYER): Made field final.
33263 (POPUP_LAYER): Made field final.
33264 (DRAG_LAYER): Made field final.
33265 * javax/swing/JMenu.java
33266 (ActionChangeListener): Made class private.
33267 * javax/swing/JOptionPane.java
33268 (UNITITIALIZED_VALUE): Made field final.
33269 * javax/swing/JPanel.java
33270 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33271 * javax/swing/JPopupMenu.java
33272 (ActionChangeListener): Made class private.
33273 * javax/swing/JTree.java
33274 (paramString): Made method protected.
33275 * javax/swing/JViewport.java
33276 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33277 * javax/swing/JWindow.java
33278 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33279 * javax/swing/RepaintManager.java
33280 (RepaintWorker): Made class private.
33282 2006-01-27 Roman Kennke <kennke@aicas.com>
33284 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33285 (handleEvent): Removed debug statement.
33287 2006-01-27 Roman Kennke <kennke@aicas.com>
33289 * java/awt/Component.java
33290 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33291 more than it helps.
33293 2006-01-26 Lillian Angel <langel@redhat.com>
33295 * javax/swing/text/DefaultStyledDocument.java
33296 (createFracture): Commented out a known problem,
33299 2006-01-26 Lillian Angel <langel@redhat.com>
33301 * javax/swing/text/DefaultStyledDocument.java
33302 (ElementBuffer): Added fields.
33303 (remove): Initialized pos.
33304 (change): Likewise.
33305 (insert): Likewise.
33306 (insertUpdate): Incremented pos. Fixed check, createFracture should
33307 be called on first tag if it is not ContentType.
33308 (insertFirstContentTag): Reworked to use proper offsets and
33309 set offset accordingly. This might need more work in the future.
33310 (insertContentTag): Likewise. Fixed to use pos, instead of
33312 (createFracture): Fixed to recreate other leaves. Still needs
33314 (insertFracture): Reimplemented.
33315 (recreateAfterFracture): New method.
33316 (getParagraphElement): Reimplemented, more efficent.
33318 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33320 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33321 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33322 ordering for little-endian arms without VFP.
33324 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33327 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33329 2006-01-26 Mark Wielaard <mark@klomp.org>
33331 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33332 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33333 Add trailing zeros to the fraction of the decimal with the smallest
33336 2006-01-26 Roman Kennke <kennke@aicas.com>
33338 * javax/swing/text/html/ObjectView.java: New file.
33340 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33342 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33343 Call startEditing when appropriate.
33344 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33345 (startEditing): Always edit if directly ordered from
33346 MouseHandler.mousePressed.
33347 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33348 New field. (createTreeCellEditor): Set click count to start.
33349 (getTreeCellEditorComponent): Assing realEditor directly.
33351 2006-01-25 Casey Marshall <csm@gnu.org>
33353 Merging GNU Crypto and Jessie.
33355 * NEWS: mention the merge in the 0.21 notes.
33356 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33357 (SSL_RECORD_LAYER): new constants.
33358 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33360 * resource/java/security/classpath.security: add new providers.
33361 * gnu/javax/crypto/assembly/Assembly.java,
33362 gnu/javax/crypto/assembly/Cascade.java,
33363 gnu/javax/crypto/assembly/CascadeStage.java,
33364 gnu/javax/crypto/assembly/CascadeTransformer.java,
33365 gnu/javax/crypto/assembly/DeflateTransformer.java,
33366 gnu/javax/crypto/assembly/Direction.java,
33367 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33368 gnu/javax/crypto/assembly/ModeStage.java,
33369 gnu/javax/crypto/assembly/Operation.java,
33370 gnu/javax/crypto/assembly/PaddingTransformer.java,
33371 gnu/javax/crypto/assembly/Stage.java,
33372 gnu/javax/crypto/assembly/Transformer.java,
33373 gnu/javax/crypto/assembly/TransformerException.java,
33374 gnu/javax/crypto/cipher/Anubis.java,
33375 gnu/javax/crypto/cipher/BaseCipher.java,
33376 gnu/javax/crypto/cipher/Blowfish.java,
33377 gnu/javax/crypto/cipher/Cast5.java,
33378 gnu/javax/crypto/cipher/CipherFactory.java,
33379 gnu/javax/crypto/cipher/DES.java,
33380 gnu/javax/crypto/cipher/IBlockCipher.java,
33381 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33382 gnu/javax/crypto/cipher/Khazad.java,
33383 gnu/javax/crypto/cipher/NullCipher.java,
33384 gnu/javax/crypto/cipher/Rijndael.java,
33385 gnu/javax/crypto/cipher/Serpent.java,
33386 gnu/javax/crypto/cipher/Square.java,
33387 gnu/javax/crypto/cipher/TripleDES.java,
33388 gnu/javax/crypto/cipher/Twofish.java,
33389 gnu/javax/crypto/cipher/WeakKeyException.java,
33390 gnu/javax/crypto/jce/GnuCrypto.java,
33391 gnu/javax/crypto/jce/GnuSasl.java,
33392 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33393 gnu/javax/crypto/jce/cipher/AESSpi.java,
33394 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33395 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33396 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33397 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33398 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33399 gnu/javax/crypto/jce/cipher/DESSpi.java,
33400 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33401 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33402 gnu/javax/crypto/jce/cipher/PBES2.java,
33403 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33404 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33405 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33406 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33407 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33408 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33409 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33410 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33411 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33412 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33413 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33414 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33415 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33416 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33417 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33418 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33419 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33420 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33421 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33422 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33423 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33424 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33425 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33426 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33427 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33428 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33429 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33430 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33431 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33432 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33433 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33434 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33435 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33436 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33437 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33438 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33439 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33440 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33441 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33442 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33443 gnu/javax/crypto/jce/mac/MacAdapter.java,
33444 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33445 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33446 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33447 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33448 gnu/javax/crypto/jce/mac/OMacImpl.java,
33449 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33450 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33451 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33452 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33453 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33454 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33455 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33456 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33457 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33458 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33459 gnu/javax/crypto/jce/params/DEREncodingException.java,
33460 gnu/javax/crypto/jce/params/DERReader.java,
33461 gnu/javax/crypto/jce/params/DERWriter.java,
33462 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33463 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33464 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33465 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33466 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33467 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33468 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33469 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33470 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33471 gnu/javax/crypto/key/GnuSecretKey.java,
33472 gnu/javax/crypto/key/IKeyAgreementParty.java,
33473 gnu/javax/crypto/key/IncomingMessage.java,
33474 gnu/javax/crypto/key/KeyAgreementException.java,
33475 gnu/javax/crypto/key/KeyAgreementFactory.java,
33476 gnu/javax/crypto/key/OutgoingMessage.java,
33477 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33478 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33479 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33480 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33481 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33482 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33483 gnu/javax/crypto/key/dh/ElGamalSender.java,
33484 gnu/javax/crypto/key/dh/GnuDHKey.java,
33485 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33486 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33487 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33488 gnu/javax/crypto/key/dh/RFC2631.java,
33489 gnu/javax/crypto/key/srp6/SRP6Host.java,
33490 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33491 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33492 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33493 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33494 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33495 gnu/javax/crypto/key/srp6/SRP6User.java,
33496 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33497 gnu/javax/crypto/key/srp6/SRPKey.java,
33498 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33499 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33500 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33501 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33502 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33503 gnu/javax/crypto/keyring/BaseKeyring.java,
33504 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33505 gnu/javax/crypto/keyring/CertPathEntry.java,
33506 gnu/javax/crypto/keyring/CertificateEntry.java,
33507 gnu/javax/crypto/keyring/CompressedEntry.java,
33508 gnu/javax/crypto/keyring/EncryptedEntry.java,
33509 gnu/javax/crypto/keyring/Entry.java,
33510 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33511 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33512 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33513 gnu/javax/crypto/keyring/IKeyring.java,
33514 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33515 gnu/javax/crypto/keyring/IPublicKeyring.java,
33516 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33517 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33518 gnu/javax/crypto/keyring/MeteredInputStream.java,
33519 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33520 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33521 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33522 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33523 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33524 gnu/javax/crypto/keyring/Properties.java,
33525 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33526 gnu/javax/crypto/mac/BaseMac.java,
33527 gnu/javax/crypto/mac/HMac.java,
33528 gnu/javax/crypto/mac/HMacFactory.java,
33529 gnu/javax/crypto/mac/IMac.java,
33530 gnu/javax/crypto/mac/MacFactory.java,
33531 gnu/javax/crypto/mac/MacInputStream.java,
33532 gnu/javax/crypto/mac/MacOutputStream.java,
33533 gnu/javax/crypto/mac/OMAC.java,
33534 gnu/javax/crypto/mac/TMMH16.java,
33535 gnu/javax/crypto/mac/UHash32.java,
33536 gnu/javax/crypto/mac/UMac32.java,
33537 gnu/javax/crypto/mode/BaseMode.java,
33538 gnu/javax/crypto/mode/CBC.java,
33539 gnu/javax/crypto/mode/CFB.java,
33540 gnu/javax/crypto/mode/CTR.java,
33541 gnu/javax/crypto/mode/EAX.java,
33542 gnu/javax/crypto/mode/ECB.java,
33543 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33544 gnu/javax/crypto/mode/ICM.java,
33545 gnu/javax/crypto/mode/IMode.java,
33546 gnu/javax/crypto/mode/ModeFactory.java,
33547 gnu/javax/crypto/mode/OFB.java,
33548 gnu/javax/crypto/pad/BasePad.java,
33549 gnu/javax/crypto/pad/IPad.java,
33550 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33551 gnu/javax/crypto/pad/PKCS7.java,
33552 gnu/javax/crypto/pad/PadFactory.java,
33553 gnu/javax/crypto/pad/SSL3.java,
33554 gnu/javax/crypto/pad/TBC.java,
33555 gnu/javax/crypto/pad/TLS1.java,
33556 gnu/javax/crypto/pad/WrongPaddingException.java,
33557 gnu/javax/crypto/prng/ARCFour.java,
33558 gnu/javax/crypto/prng/CSPRNG.java,
33559 gnu/javax/crypto/prng/Fortuna.java,
33560 gnu/javax/crypto/prng/ICMGenerator.java,
33561 gnu/javax/crypto/prng/IPBE.java,
33562 gnu/javax/crypto/prng/PBKDF2.java,
33563 gnu/javax/crypto/prng/PRNGFactory.java,
33564 gnu/javax/crypto/prng/UMacGenerator.java,
33565 gnu/javax/crypto/sasl/AuthInfo.java,
33566 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33567 gnu/javax/crypto/sasl/ClientFactory.java,
33568 gnu/javax/crypto/sasl/ClientMechanism.java,
33569 gnu/javax/crypto/sasl/ConfidentialityException.java,
33570 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33571 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33572 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33573 gnu/javax/crypto/sasl/InputBuffer.java,
33574 gnu/javax/crypto/sasl/IntegrityException.java,
33575 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33576 gnu/javax/crypto/sasl/NoSuchUserException.java,
33577 gnu/javax/crypto/sasl/OutputBuffer.java,
33578 gnu/javax/crypto/sasl/SaslEncodingException.java,
33579 gnu/javax/crypto/sasl/SaslInputStream.java,
33580 gnu/javax/crypto/sasl/SaslOutputStream.java,
33581 gnu/javax/crypto/sasl/SaslUtil.java,
33582 gnu/javax/crypto/sasl/ServerFactory.java,
33583 gnu/javax/crypto/sasl/ServerMechanism.java,
33584 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33585 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33586 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33587 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33588 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33589 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33590 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33591 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33592 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33593 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33594 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33595 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33596 gnu/javax/crypto/sasl/plain/PlainClient.java,
33597 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33598 gnu/javax/crypto/sasl/plain/PlainServer.java,
33599 gnu/javax/crypto/sasl/srp/CALG.java,
33600 gnu/javax/crypto/sasl/srp/ClientStore.java,
33601 gnu/javax/crypto/sasl/srp/IALG.java,
33602 gnu/javax/crypto/sasl/srp/KDF.java,
33603 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33604 gnu/javax/crypto/sasl/srp/SRP.java,
33605 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33606 gnu/javax/crypto/sasl/srp/SRPClient.java,
33607 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33608 gnu/javax/crypto/sasl/srp/SRPServer.java,
33609 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33610 gnu/javax/crypto/sasl/srp/ServerStore.java,
33611 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33612 gnu/javax/net/ssl/Base64.java,
33613 gnu/javax/net/ssl/EntropySource.java,
33614 gnu/javax/net/ssl/NullManagerParameters.java,
33615 gnu/javax/net/ssl/PrivateCredentials.java,
33616 gnu/javax/net/ssl/SRPManagerParameters.java,
33617 gnu/javax/net/ssl/SRPTrustManager.java,
33618 gnu/javax/net/ssl/StaticTrustAnchors.java,
33619 gnu/javax/net/ssl/provider/Alert.java,
33620 gnu/javax/net/ssl/provider/AlertException.java,
33621 gnu/javax/net/ssl/provider/Certificate.java,
33622 gnu/javax/net/ssl/provider/CertificateRequest.java,
33623 gnu/javax/net/ssl/provider/CertificateType.java,
33624 gnu/javax/net/ssl/provider/CertificateVerify.java,
33625 gnu/javax/net/ssl/provider/CipherSuite.java,
33626 gnu/javax/net/ssl/provider/ClientHello.java,
33627 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33628 gnu/javax/net/ssl/provider/CompressionMethod.java,
33629 gnu/javax/net/ssl/provider/Constructed.java,
33630 gnu/javax/net/ssl/provider/ContentType.java,
33631 gnu/javax/net/ssl/provider/Context.java,
33632 gnu/javax/net/ssl/provider/DiffieHellman.java,
33633 gnu/javax/net/ssl/provider/DigestInputStream.java,
33634 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33635 gnu/javax/net/ssl/provider/Enumerated.java,
33636 gnu/javax/net/ssl/provider/Extension.java,
33637 gnu/javax/net/ssl/provider/Extensions.java,
33638 gnu/javax/net/ssl/provider/Finished.java,
33639 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33640 gnu/javax/net/ssl/provider/Handshake.java,
33641 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33642 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33643 gnu/javax/net/ssl/provider/Jessie.java,
33644 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33645 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33646 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33647 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33648 gnu/javax/net/ssl/provider/KeyPool.java,
33649 gnu/javax/net/ssl/provider/MacException.java,
33650 gnu/javax/net/ssl/provider/OverflowException.java,
33651 gnu/javax/net/ssl/provider/PRNG.java,
33652 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33653 gnu/javax/net/ssl/provider/Random.java,
33654 gnu/javax/net/ssl/provider/RecordInput.java,
33655 gnu/javax/net/ssl/provider/RecordInputStream.java,
33656 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33657 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33658 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33659 gnu/javax/net/ssl/provider/SSLHMac.java,
33660 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33661 gnu/javax/net/ssl/provider/SSLRandom.java,
33662 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33663 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33664 gnu/javax/net/ssl/provider/SSLSocket.java,
33665 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33666 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33667 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33668 gnu/javax/net/ssl/provider/SecurityParameters.java,
33669 gnu/javax/net/ssl/provider/ServerHello.java,
33670 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33671 gnu/javax/net/ssl/provider/Session.java,
33672 gnu/javax/net/ssl/provider/SessionContext.java,
33673 gnu/javax/net/ssl/provider/Signature.java,
33674 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33675 gnu/javax/net/ssl/provider/TLSHMac.java,
33676 gnu/javax/net/ssl/provider/TLSRandom.java,
33677 gnu/javax/net/ssl/provider/Util.java,
33678 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33679 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33680 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33681 gnu/javax/security/auth/Password.java,
33682 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33683 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33684 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33685 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33686 gnu/javax/security/auth/callback/GnuCallbacks.java,
33687 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33688 gnu/java/security/Registry.java,
33689 gnu/java/security/Properties.java,
33690 gnu/java/security/hash/BaseHash.java,
33691 gnu/java/security/hash/HashFactory.java,
33692 gnu/java/security/hash/Haval.java,
33693 gnu/java/security/hash/IMessageDigest.java,
33694 gnu/java/security/hash/MD2.java,
33695 gnu/java/security/hash/MD4.java,
33696 gnu/java/security/hash/MD5.java,
33697 gnu/java/security/hash/RipeMD128.java,
33698 gnu/java/security/hash/RipeMD160.java,
33699 gnu/java/security/hash/Sha160.java,
33700 gnu/java/security/hash/Sha256.java,
33701 gnu/java/security/hash/Sha384.java,
33702 gnu/java/security/hash/Sha512.java,
33703 gnu/java/security/hash/Tiger.java,
33704 gnu/java/security/hash/Whirlpool.java,
33705 gnu/java/security/jce/hash/HavalSpi.java,
33706 gnu/java/security/jce/hash/MD2Spi.java,
33707 gnu/java/security/jce/hash/MD4Spi.java,
33708 gnu/java/security/jce/hash/MD5Spi.java,
33709 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33710 gnu/java/security/jce/hash/RipeMD128Spi.java,
33711 gnu/java/security/jce/hash/RipeMD160Spi.java,
33712 gnu/java/security/jce/hash/Sha160Spi.java,
33713 gnu/java/security/jce/hash/Sha256Spi.java,
33714 gnu/java/security/jce/hash/Sha384Spi.java,
33715 gnu/java/security/jce/hash/Sha512Spi.java,
33716 gnu/java/security/jce/hash/TigerSpi.java,
33717 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33718 gnu/java/security/jce/prng/HavalRandomSpi.java,
33719 gnu/java/security/jce/prng/MD2RandomSpi.java,
33720 gnu/java/security/jce/prng/MD4RandomSpi.java,
33721 gnu/java/security/jce/prng/MD5RandomSpi.java,
33722 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33723 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33724 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33725 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33726 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33727 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33728 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33729 gnu/java/security/jce/prng/TigerRandomSpi.java,
33730 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33731 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33732 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33733 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33734 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33735 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33736 gnu/java/security/jce/sig/SignatureAdapter.java,
33737 gnu/java/security/key/IKeyPairCodec.java,
33738 gnu/java/security/key/IKeyPairGenerator.java,
33739 gnu/java/security/key/KeyPairCodecFactory.java,
33740 gnu/java/security/key/KeyPairGeneratorFactory.java,
33741 gnu/java/security/key/dss/DSSKey.java,
33742 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33743 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33744 gnu/java/security/key/dss/DSSPrivateKey.java,
33745 gnu/java/security/key/dss/DSSPublicKey.java,
33746 gnu/java/security/key/dss/FIPS186.java,
33747 gnu/java/security/key/rsa/GnuRSAKey.java,
33748 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33749 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33750 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33751 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33752 gnu/java/security/prng/BasePRNG.java,
33753 gnu/java/security/prng/EntropySource.java,
33754 gnu/java/security/prng/IRandom.java,
33755 gnu/java/security/prng/LimitReachedException.java,
33756 gnu/java/security/prng/MDGenerator.java,
33757 gnu/java/security/prng/PRNGFactory.java,
33758 gnu/java/security/prng/RandomEvent.java,
33759 gnu/java/security/prng/RandomEventListener.java,
33760 gnu/java/security/sig/BaseSignature.java,
33761 gnu/java/security/sig/ISignature.java,
33762 gnu/java/security/sig/ISignatureCodec.java,
33763 gnu/java/security/sig/SignatureFactory.java,
33764 gnu/java/security/sig/dss/DSSSignature.java,
33765 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33766 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33767 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33768 gnu/java/security/sig/rsa/EMSA_PSS.java,
33769 gnu/java/security/sig/rsa/RSA.java,
33770 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33771 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33772 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33773 gnu/java/security/util/Base64.java,
33774 gnu/java/security/util/ExpirableObject.java,
33775 gnu/java/security/util/Prime2.java,
33776 gnu/java/security/util/Sequence.java,
33777 gnu/java/security/util/SimpleList.java,
33778 gnu/java/security/util/Util.java,
33779 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33780 new files imported from GNU Crypto and Jessie.
33782 2006-01-25 Tom Tromey <tromey@redhat.com>
33784 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33785 Fixed calculation of number of bytes to read.
33786 (size, count, meta, eof): Document.
33788 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
33790 * java/lang/Character.java:
33791 (codePointCount(char[], int, int)): New API method.
33792 (codePointCount(CharSequence, int, int)): Likewise.
33794 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33797 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
33799 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
33800 action if not editing.
33801 * javax/swing/plaf/basic/BasicTreeUI.java
33802 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33803 (CellEditorHandler.editingStopped): Delegate to stopEditing.
33804 (EditorUpdateTimer): Removed.
33805 (TreeAction.actionPerformed): Stop and not cancel the current editing
33806 when starting editing another node.
33807 (editorTimer, newVal): Removed.
33808 (cancelEditing): Do not send the cancel message.
33809 (completeEditing): Obtain the edited value from the editor.
33810 (finish): New method.
33811 (paintRow): Do not paint the editing component here.
33812 (startEditing, stopEditing): Rewritten.
33813 * javax/swing/tree/DefaultTreeCellEditor.java
33814 (DefaultTextField): Added SVUID.
33815 (EditorContainer): Rewritten.
33816 (RealEditorListener): New inner class.
33817 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33818 (constructor): Add cell editor listener. Do not instantiate timer.
33819 (actionPerformed): Return without action.
33820 (cancelCellEditing): Rewritten.
33821 (createTreeCellEditor): Add cell editor listener to the editor.
33822 (getCellEditorValue): Request the value from the realEditor.
33823 (isCellEditable): Removed timer management.
33824 (prepareForEditing): Remove all components befor adding the
33826 (startEditingTimer): Start only if it is not null.
33827 (stopCellEditing): Rewritten.
33828 (stopEditingTimer): New method.
33829 (valueChanged): Do not configure editing component here.
33831 2006-01-25 Roman Kennke <kennke@aicas.com>
33833 * javax/swing/text/html/FormView.java: New file.
33835 2006-01-25 Roman Kennke <kennke@aicas.com>
33837 * javax/swing/JSplitPane.java
33838 (addImpl): Call resetToPreferredSizes() when no dividerLocation
33839 has been set in order to set an initial layout.
33840 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33841 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33842 layout of the right component.
33843 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33844 dividerLocation to the size of the left component.
33845 (createDefaultNonContinuousLayoutDivider): Fetch the color from
33847 (setDividerLocation): Don't validate the location here. Sometimes
33848 the divider needs to be set to an invalid location.
33849 (startDragging): Don't revalidate and repaint here.
33850 (finishDraggingTo): Don't repaint here. Also, don't call
33851 dragDividerTo() here.
33852 * javax/swing/plaf/basic/BasicLookAndFeel.java
33853 (initComponentDefaults): Added SplitPaneDivider.draggingColor
33856 2006-01-25 Roman Kennke <kennke@aicas.com>
33858 * javax/swing/JSplitPane.java
33859 (addImpl): Removed invalidate() and layout() call.
33860 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33861 (PropertyHandler.propertyChange): Remove layoutContainer() and
33864 2006-01-25 Roman Kennke <kennke@aicas.com>
33867 * native/Makefile.am
33868 * native/jni/classpath/Makefile.am
33869 * native/jni/classpath/jcl.c
33870 * native/jni/classpath/jcl.h
33871 * native/jni/classpath/native_state.c
33872 * native/jni/gtk-peer/Makefile.am
33873 * native/jni/java-io/Makefile.am
33874 * native/jni/java-io/java_io_VMFile.c
33875 * native/jni/java-io/java_io_VMObjectStreamClass.c
33876 * native/jni/java-lang/Makefile.am
33877 * native/jni/java-net/Makefile.am
33878 * native/jni/java-net/java_net_VMInetAddress.c
33879 * native/jni/java-net/javanet.c
33880 * native/jni/java-net/javanet.h
33881 * native/jni/java-nio/Makefile.am
33882 * native/jni/java-nio/gnu_java_nio_VMPipe.c
33883 * native/jni/java-nio/gnu_java_nio_VMSelector.c
33884 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33885 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33886 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33887 * native/jni/java-util/Makefile.am
33888 * native/jni/java-util/java_util_VMTimeZone.c
33889 * native/jni/midi-dssi/Makefile.am
33890 * native/jni/xmlj/Makefile.am
33891 * native/target/Makefile.am
33892 * native/target/Linux/target_native_math.h
33893 * native/target/Linux/target_native_memory.h
33894 * native/target/Linux/Makefile.am
33895 * native/target/Linux/target_native_io.h
33896 * native/target/Linux/target_native_math_float.h
33897 * native/target/Linux/target_native_math_int.h
33898 * native/target/generic/target_generic.c
33899 * native/target/generic/target_generic_io.c
33900 * native/target/generic/target_generic_math.h
33901 * native/target/generic/target_generic_memory.h
33902 * native/target/generic/target_generic_misc.c
33903 * native/target/generic/target_generic_network.c
33904 * native/target/generic/Makefile.am
33905 * native/target/generic/target_generic.h
33906 * native/target/generic/target_generic_file.h
33907 * native/target/generic/target_generic_io.h
33908 * native/target/generic/target_generic_math_float.h
33909 * native/target/generic/target_generic_math_int.h
33910 * native/target/generic/target_generic_misc.h
33911 * native/target/generic/target_generic_network.h:
33912 Reverted target native related changes back to the state of the
33914 * native/target/MinGW/.cvsignore
33915 * native/target/MinGW/Makefile.am
33916 * native/target/MinGW/target_native.h
33917 * native/target/MinGW/target_native_file.h
33918 * native/target/MinGW/target_native_io.h
33919 * native/target/MinGW/target_native_math.h
33920 * native/target/MinGW/target_native_memory.h
33921 * native/target/MinGW/target_native_misc.h
33922 * native/target/MinGW/target_native_network.h
33923 * native/target/RTEMS/.cvsignore
33924 * native/target/RTEMS/Makefile.am
33925 * native/target/RTEMS/target_native.h
33926 * native/target/RTEMS/target_native_file.h
33927 * native/target/RTEMS/target_native_io.h
33928 * native/target/RTEMS/target_native_math.h
33929 * native/target/RTEMS/target_native_memory.h
33930 * native/target/RTEMS/target_native_misc.h
33931 * native/target/RTEMS/target_native_network.h
33932 * native/target/SunOS/.cvsignore
33933 * native/target/SunOS/Makefile.am
33934 * native/target/SunOS/target_native.h
33935 * native/target/SunOS/target_native_file.h
33936 * native/target/SunOS/target_native_io.h
33937 * native/target/SunOS/target_native_math.h
33938 * native/target/SunOS/target_native_memory.h
33939 * native/target/SunOS/target_native_misc.h
33940 * native/target/SunOS/target_native_network.h
33941 * native/target/embOS/.cvsignore
33942 * native/target/embOS/Makefile.am
33943 * native/target/embOS/target_native.h
33944 * native/target/embOS/target_native_file.h
33945 * native/target/embOS/target_native_io.c
33946 * native/target/embOS/target_native_io.h
33947 * native/target/embOS/target_native_math.h
33948 * native/target/embOS/target_native_memory.h
33949 * native/target/embOS/target_native_misc.h
33950 * native/target/embOS/target_native_network.h
33951 * native/target/posix/.cvsignore
33952 * native/target/posix/Makefile.am
33953 * native/target/posix/target_posix.c
33954 * native/target/posix/target_posix.h
33955 * native/target/posix/target_posix_file.c
33956 * native/target/posix/target_posix_file.h
33957 * native/target/posix/target_posix_io.c
33958 * native/target/posix/target_posix_io.h
33959 * native/target/posix/target_posix_math.c
33960 * native/target/posix/target_posix_math.h
33961 * native/target/posix/target_posix_memory.c
33962 * native/target/posix/target_posix_memory.h
33963 * native/target/posix/target_posix_misc.c
33964 * native/target/posix/target_posix_misc.h
33965 * native/target/posix/target_posix_network.c
33966 * native/target/posix/target_posix_network.h:
33969 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33971 * javax/print/PrintService.java,
33972 * javax/print/DocPrintJob.java,
33973 * javax/print/CancelablePrintJob.java:
33974 Added and enhanced api documentation for class and methods.
33976 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33978 * javax/print/SimpleDoc.java: Make class final.
33979 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33980 * javax/print/attribute/DateTimeSyntax.java:
33981 (toString): New overridden method.
33982 * javax/print/attribute/standard/JobStateReasons.java:
33983 (add): Use the super.add method to avoid recursion.
33984 * javax/print/attribute/standard/PrinterStateReasons.java:
33985 (put): Use the super.put method to avoid recursion.
33987 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
33989 * java/beans/XMLEncoder.java:
33990 (writeExpression): Added early return (fixes PR #25941).
33991 (setExceptionListener, anonymous Class): Removed printStackTrace
33993 * java/beans/Encoder: Removed unused imports.
33994 (setupDefaultPersistenceDelegates): Removed unneccessary
33995 PersistenceDelegates for subclasses.
33996 * java/beans/PersistenceDelegate:
33997 (initialize): Use local variable as first argument as it was
33999 * java/beans/DefaultPersistenceDelegate:
34000 (initialize): Added call to superclass' implementation, added
34003 2006-01-24 Tom Tromey <tromey@redhat.com>
34005 * java/util/regex/PatternSyntaxException.java: Added @since.
34006 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34007 * java/util/regex/MatchResult.java: New file.
34009 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34011 * javax/swing/text/StringContent.java: Added API docs all over, plus
34012 minor reformatting.
34014 2006-01-24 Gary Benson <gbenson@redhat.com>
34016 * java/net/SocketPermission.java: Implemented serialization.
34018 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
34020 * javax/swing/text/StringContent.java
34021 (remove): Modified argument check to prevent removal of last character,
34022 (getChars): Removed null argument check to allow NullPointerException,
34024 (checkLocation): Added API docs and white space.
34026 2006-01-23 Lillian Angel <langel@redhat.com>
34028 * javax/swing/text/DefaultStyledDocument.java
34029 (insertUpdate): Should only call createFracture with
34030 StartTagType. Added check.
34031 (insertContentTag): Should use the tags length for splitting.
34032 Also, added a check to determine if current's start and end offset are
34033 equal to the offset and endOffset. If so, only one leaf element
34035 (createFracture): Removed FIXME. This function is complete.
34036 (split): Added calls to replace. Changed so the child is
34037 added immediately to the paragraph. Prevents NPEs.
34039 2006-01-23 Mark Wielaard <mark@klomp.org>
34041 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34043 2006-01-23 Tom Tromey <tromey@redhat.com>
34045 * gnu/java/security/x509/X509Certificate.java (parse):
34046 Unconditionally read value; for version==1 case when reading
34049 2006-01-23 Roman Kennke <kennke@aicas.com>
34051 * javax/swing/plaf/synth/ColorType.java,
34052 * javax/swing/plaf/synth/Region.java,
34053 * javax/swing/plaf/synth/SynthConstants.java,
34054 * javax/swing/plaf/synth/SynthContext.java
34055 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34056 * javax/swing/plaf/synth/SynthLookAndFeel.java,
34057 * javax/swing/plaf/synth/SynthPainter.java,
34058 * javax/swing/plaf/synth/SynthStyle.java,
34059 * javax/swing/plaf/synth/SynthStyleFactory.java,
34060 * javax/swing/plaf/synth/package.html:
34061 New files. Added the public API and framework classes for the
34062 Synth look and feel.
34064 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
34066 * javax/swing/text/Segment.java: API docs all over.
34068 2006-01-23 Lillian Angel <langel@redhat.com>
34070 * javax/swing/text/DefaultStyledDocument.java
34071 (split): Should not use createLeafElement and createBranchElement here.
34072 We should just instaniate the LeafElements and BranchElements instead
34073 to avoid the case where create*Element is overridden.
34075 2006-01-23 Lillian Angel <langel@redhat.com>
34077 * javax/swing/text/DefaultStyledDocument.java
34078 (insertFirstContentTag): Moved check outside of if-statement.
34079 This should be checked before creating the new leaf element.
34080 (insertFracture): Fixed check to prevent an NPE. The previous
34081 leaf should only be recreated if it has been created by
34082 insertFirstContentTag. Also, fixed up code: if the endOffset is
34083 greater than the offset, then we need to create a temp leaf
34084 as a place holder. Otherwise, the leaf elements should be
34087 2006-01-23 Gary Benson <gbenson@redhat.com>
34089 * java/net/SocketPermission.java: Almost completely rewritten.
34091 2006-01-23 Lillian Angel <langel@redhat.com>
34093 * javax/swing/text/DefaultStyledDocument.java
34094 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34096 2006-01-23 Lillian Angel <langel@redhat.com>
34098 * javax/swing/text/DefaultStyledDocument.java:
34099 Formatted ElementBuffer and added new fields.
34100 (remove): Added check to determine if length is 0.
34101 (insertFirstContentTag): Initialized firstCreated to the element that is created
34102 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34103 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34104 that have been recreated.
34105 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34106 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34107 FIXME tags to the lines that need to be rewritten.
34109 2006-01-23 Mark Wielaard <mark@klomp.org>
34111 * examples/Makefile.am: Add support for fastjar.
34113 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34115 * gnu/regexp/REToken.java(empty): Made Cloneable.
34116 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34117 Use separate methods matchN and matchP depending on the
34119 (matchN): New method used when negative. Done as before.
34120 (matchP): New method used when not negative. Each token is
34121 tried not by itself but by a clone of it.
34123 2006-01-23 Chris Burdess <dog@gnu.org>
34126 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34127 class to avoid getLength method contention.
34128 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34130 2006-01-23 Chris Burdess <dog@gnu.org>
34132 * native/jni/java-util/Makefile.am: Include library required
34133 explicitly by BSD systems.
34134 * native/target/generic/target_generic_misc.h: Remove old commented
34136 * native/target/generic/target_generic_network.h: Fallbacks (to
34137 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34139 2006-01-22 Tom Tromey <tromey@redhat.com>
34141 * native/target/posix/.cvsignore: Added .deps.
34143 2006-01-22 Mark Wielaard <mark@klomp.org>
34146 reported by James Damour <James.Damour@corp.request.com>
34147 * java/awt/Container.java (addImpl): Use empty string as name when
34148 null constraints for LayoutManager.addLayoutComponent().
34150 2006-01-22 Chris Burdess <dog@gnu.org>
34153 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34154 representing current directory as base for relative URLs.
34156 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34159 * gnu/regexp/REMatch.java(empty): New boolean indicating
34160 an empty string matched.
34161 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34163 (initialize): Support back reference \10, \11, and so on.
34164 (parseInt): renamed from getEscapedChar and returns int.
34165 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34166 when an empty string matched. Fixed a bug of the case where
34167 an empty string matched. Added special handling of {0}.
34168 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34169 when an empty string matched. Fixed the case insensitive matching.
34171 2006-01-21 Roman Kennke <kennke@aicas.com>
34173 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34174 (paint): Added painting of border if one is installed.
34176 2006-01-21 Roman Kennke <kennke@aicas.com>
34178 PR classpath/25843:
34179 * javax/swing/plaf/basic/BasicBorders.java
34180 (getSplitPaneDividerBorder): Use new border constructor
34182 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34183 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34184 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34185 colors are fetched dynamically in the paintBorder method.
34186 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34188 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34190 * javax/swing/plaf/basic/BasicLookAndFeel.java
34191 (initComponentDefaults): Added default for SplitPaneDivider.border.
34192 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34193 (tmpBorder): Removed unneeded inner class.
34194 (BasicSplitPaneDivider): Removed setting of border.
34195 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34197 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34198 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34199 to get behaviour right.
34200 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34201 implementation. This must be rewritten since the layout now works
34202 slightly different (basically, it shouldn't modify the sizes[]
34203 here but instead the dividerLocation.
34204 (dividerLocation): New field.
34205 (installDefaults): Initialize border on divider.
34206 (uninstallDefaults): Only remove background color and border from
34207 splitPane if they are instances of UIDefaults (== not set by
34209 (setDividerLocation): Set the dividerLocation field instead of
34210 doing stunt acts here.
34211 (getDividerLocation): Return dividerLocation field.
34212 (getMinimumDividerLocation): Fixed calculation of minimum location.
34214 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34217 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34219 * lib/Makefile.am: Likewise.
34221 2006-01-21 Roman Kennke <kennke@aicas.com>
34223 * javax/swing/PopupFactory.java
34224 (getPopup): If there is no Swing root found in any way, use a
34225 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34226 for the Swing AWT peers.
34228 2006-01-20 Tom Tromey <tromey@redhat.com>
34230 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34231 Read response body for redirect.
34233 2006-01-20 Chris Burdess <dog@gnu.org>
34235 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34238 2006-01-20 Lillian Angel <langel@redhat.com>
34240 * javax/swing/text/DefaultStyledDocument.java
34241 (pad): Removed, not needed.
34242 (printElements): Likewise.
34243 (printEdit): Likewise.
34245 2006-01-20 Roman Kennke <kennke@aicas.com>
34247 * javax/swing/text/DefaultFormatter.java
34248 (DefaultFormatter): Don't set a value class.
34250 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34252 * javax/swing/DefaultCellEditor.java: Commented.
34254 2006-01-19 Roman Kennke <kennke@aicas.com>
34256 * javax/swing/JOptionPane.java
34257 Added cast to Frame for JDialog constructor.
34259 2006-01-19 Roman Kennke <kennke@aicas.com>
34261 * javax/swing/JWindow.java
34262 (JWindow(Window)): Fixed to accept null owner argument.
34263 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34265 * javax/swing/SwingUtilities.java
34266 (getOwnerFrame): Owner parameter and return value are fixed to
34267 be of type Window for compatibity with the above JWindow
34269 * javax/swing/JDialog.java
34270 (JDialog): Added cast to Frame to make sure the correct constructor
34272 * javax/swing/JFileChooser.java
34273 (createDialog): Added cast to Frame for JDialog constructor.
34275 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34277 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34279 2006-01-19 Roman Kennke <kennke@aicas.com>
34281 * javax/swing/JWindow.java: Added API docs to the constructors.
34283 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34285 * javax/swing/JTable.java: Commenting method headers.
34286 (EditorUpdateTimer): Removed.
34288 2006-01-19 Roman Kennke <kennke@aicas.com>
34290 * javax/swing/JDialog.java
34291 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34292 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34293 SwingUtilities.getOwnerFrame() with the owner argument.
34294 * javax/swing/JFileChooser.java
34295 (showOpenDialog(Component)): Call pack() on the dialog instead of
34296 setting a fixed height.
34297 (showSaveDialog()): Likewise.
34298 (showDialog()): Likewise.
34299 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34300 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34302 * javax/swing/JWindow.java
34303 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34304 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34306 * javax/swing/SwingUtilities.java
34307 (getOwnerFrame): Changed to take a owner parameter that is returned
34308 as owner frame when not null.
34310 2006-01-19 Roman Kennke <kennke@aicas.com>
34312 * gnu/java/awt/peer/swing/SwingFramePeer.java
34313 (handleMouseEvent): Fixed handling of mouse events.
34314 (handleMouseMotionEvent): Fixed handling of mouse events.
34316 2006-01-19 Roman Kennke <kennke@aicas.com>
34318 * native/target/generic/target_generic_misc.c:
34319 (targetGenericMisc_formatString): Added missing method.
34321 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34323 * m4/acinclude.m4: Test also for ecj found before exiting configure
34324 with no javac found error message.
34326 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34329 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34330 \0123, \x1B, \u1234.
34331 (getEscapedChar): New method.
34332 (CharExpression): New inner class.
34333 (getCharExpression): New Method.
34334 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34335 RE_UNICODE_CHAR): New syntax bits.
34337 2006-01-19 Roman Kennke <kennke@aicas.com>
34339 * native/target/Makefile.am: Fixed so that posix stuff is really
34340 only built when requested.
34342 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34344 * javax/swing/JTable.java (editingStopped, editingCancelled):
34345 Repaint the edited cell.
34346 (setValueAt): Do not add the value object to this container.
34347 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34348 (editingStopped): Use editingRow, editingColumn and not
34349 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34350 (doLayout): Move the editor component, if present, into the new
34351 location and call repaint(). (moveToCellBeingEdited): new method.
34352 (TableTextField): new inner class.
34353 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34354 (setValueAt): Repaint the changed segment.
34355 (createDefaultEditors): Implemented.
34356 (BooleanCellRenderer): Center the checkbox and use the default foreground
34357 and background colors.
34358 * javax/swing/plaf/basic/BasicTableUI.java
34359 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34360 (paint): No need to allocate rectangle for each cell.
34361 * javax/swing/DefaultCellEditor.java: Rewritten.
34362 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34363 Use TableDemo.java table example.
34364 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34366 2006-01-19 Roman Kennke <kennke@aicas.com>
34368 * configure.ac: Added/fixed --enable-posix-layer option to enable
34369 build of posix layer.
34370 * native/target/Makefile.am: Added build for posix layer.
34372 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34374 * configure.ac: Set TARGET to Linux per default.
34375 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34377 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34378 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34381 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34383 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34384 what looked like proprietary documentation with original or new one.
34385 * java/security/spec/PSSParameterSpec.java: Likewise.
34386 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34387 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34388 * java/security/AlgorithmParameterGenerator.java: Likewise.
34389 * java/security/AlgorithmParameters.java: Likewise.
34390 * java/security/Identity.java: Likewise.
34391 * java/security/IdentityScope.java: Likewise.
34392 * java/security/KeyFactory.java: Likewise.
34393 * java/security/KeyPairGenerator.java: Likewise.
34394 * java/security/MessageDigest.java: Likewise.
34395 * java/security/Policy.java: Likewise.
34396 * java/security/ProtectionDomain.java: Likewise.
34397 * java/security/Security.java: Likewise.
34398 * java/security/Signature.java: Likewise.
34399 * java/security/SignatureSpi.java: Likewise.
34400 * java/security/SignedObject.java: Likewise.
34401 * java/security/Signer.java: Likewise.
34403 2006-01-18 Roman Kennke <kennke@aicas.com>
34405 * configure.ac: Added --enable-posix-layer option to enable
34406 build of the posix target layer.
34408 2006-01-18 Roman Kennke <kennke@aicas.com>
34410 * native/jni/java-net/java_net_VMInetAddress.c
34411 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34414 2006-01-18 Roman Kennke <kennke@aicas.com>
34416 * native/jni/java-util/java_util_VMTimeZone.c:
34417 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34418 to use target native layer.
34419 (jint_to_charbuf): Removed unneeded helper function.
34421 2006-01-18 Roman Kennke <kennke@aicas.com>
34423 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34424 Removed unnecessary include.
34425 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34426 Reorganized includes to only include sys/* headers when available.
34427 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34428 (get_pagesize): Return 0 when nothing else works.
34429 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34430 Replaced munmap() and strerror() with corresponding target macros.
34431 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34432 Replaced strerror() with corresponding target macro.
34433 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34434 Replaced strerror() with corresponding target macro.
34435 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34436 (Java_java_nio_VMDirectByteBuffer_allocate):
34437 Replaced malloc() with the corresponding target macro.
34438 (Java_java_nio_VMDirectByteBuffer_free):
34439 Replaced free() with the corresponding target macro.
34440 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34441 Add index to pointer when assigning the value.
34442 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34443 Replaced memcpy with corresponding target macro. Add index when
34444 doing the memcpy, not when fetching the pointer.
34445 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34446 Replaced memcpy with corresponding target macro.
34447 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34448 Replaced memmove with the corresponding target macro.
34450 2006-01-17 Tom Tromey <tromey@redhat.com>
34452 PR classpath/20198:
34453 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34454 (JarURLLoader): Likewise.
34455 (addURLImpl): Canonicalize file URLs.
34457 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34459 * configure.ac: Set TARGET.
34460 * native/Makefile.am, native/jni/classpath/Makefile.am,
34461 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34462 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34463 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34464 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34465 native/target/Linux/Makefile.am,
34466 native/target/generic/Makefile.am,
34467 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34468 and target stuff linked in and link it against lib*.so libraries.
34470 2006-01-17 Roman Kennke <kennke@aicas.com>
34472 * native/jni/java-net/javanet.c:
34473 (_javanet_connect): Changed type of some local variables to jint.
34474 Fixed error handling to throw a SocketTimeoutException if the
34475 connection attempt times out.
34476 (_javanet_bind): Changed type of some local variables to jint.
34477 (_javanet_accept): Likewise.
34478 (_javanet_recvfrom): Likewise.
34479 (_javanet_sendto): Fixed error handling to throw a
34480 PortUnreachableException when connection is refused.
34481 (_javanet_get_option): Changed type of some local variables to jint.
34482 Implemented SOCKOPT_SO_BROADCAST.
34483 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34484 target native macro.
34485 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34486 target native macro.
34487 * native/jni/java-net/javanet.h:
34488 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34489 SOCKOPT_SO_BROADCAST.
34491 2006-01-17 Lillian Angel <langel@redhat.com>
34493 * javax/swing/text/DefaultStyledDocument.java
34494 (insert): Cleaned up loop. No need to make so many calls
34495 to getAddedElements and getRemovedElements.
34496 (insertFracture): Removed unneeded array.
34498 2006-01-17 Lillian Angel <langel@redhat.com>
34500 * javax/swing/text/JTextComponent.java
34501 (AccessibleJTextComponent): Implemented.
34502 (getCaretPosition): Implemented.
34503 (getSelectedText): Implemented.
34504 (getSelectionStart): Implemented.
34505 (getSelectionEnd): Implemented.
34506 (getSelectionEnd): Implemented.
34507 (getCharCount): Implemented.
34508 (insertTextAtIndex): Implemented.
34509 (getTextRange): Implemented.
34510 (delete): Implemented.
34511 (cut): Implemented.
34512 (paste): Implemented.
34513 (replaceText): Implemented.
34514 (selectText): Implemented.
34516 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34518 * javax/swing/text/DefaultStyledDocument.java:
34519 (pad): New debugging method.
34520 (printElements): Likewise.
34521 (printPendingEdits): Likewise.
34522 (printElement): Likewise.
34523 (Edit): Improved docs, moved this class to be an inner class of
34524 ElementBuffer since it only applies within that scope. Changed added
34525 and removed to be Vectors instead of arrays because we need to be able
34526 to add to them after construction.
34527 (ElementBuffer): Updated docs with link to article that helped in this
34528 classes implementation.
34529 (ElementBuffer.Edit.getRemovedElements): New method.
34530 (ElementBuffer.Edit.getAddedElements): Likewise.
34531 (ElementBuffer.Edit.addRemovedElement): Likewise.
34532 (ElementBuffer.Edit.addRemovedElements): Likewise.
34533 (ElementBuffer.Edit.addAddedElement): Likewise.
34534 (ElementBuffer.Edit.addAddedElements): Likewise.
34535 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34537 (ElementBuffer.getEditForParagraphAndIndex): New method.
34538 (ElementBuffer.removeUpdate): Changed type of paragraph to
34539 BranchElement. Corrected style of adding the edit to use the new Edit
34541 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34542 the new Edit facilities.
34543 (ElementBuffer.split): Likewise.
34544 (ElementBuffer.insertParagraph): Likewise.
34545 (ElementBuffer.insertContentTag): Likewise.
34546 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34547 not just the root and the first one. Apply the structural changes to
34548 the tree at the same time as updating the DocumentEvent.
34549 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34550 handling of EndTags as the first ElementSpec. Instead have to handle
34551 ContentTags as a special case if they are the first ElementSpec and if
34552 not have to fracture the tree.
34553 (ElementBuffer.createFracture): New method. May not be complete yet.
34554 Added FIXME indicating what may remain to be done.
34555 (ElementBuffer.insertFirstContentTag): New method.
34556 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34557 be done. Changed the adding of edits to use the new Edit facilities.
34558 Removed the adding of edits for Elements that weren't in the tree prior
34560 (insertUpdate): Removed incorrect condition for setting a StartTag's
34561 direction to JoinNextDirection.
34562 * javax/swing/text/StyleContent.java:
34563 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34564 that was causing an ArrayOutOfBoundsException.
34566 2006-01-17 Roman Kennke <kennke@aicas.com>
34568 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34569 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34570 exception messages a little.
34571 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34572 alternative implementation for systems without filesystems.
34573 Replaced snprintf with the corresponding target native macro.
34574 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34575 Only do something when we have a filesystem.
34576 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34577 alternative implementation for systems without filesystems.
34578 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34579 alternative implementation for systems without filesystems.
34580 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34581 alternative implementation for systems without filesystems.
34582 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34583 Only do something when we have a filesystem.
34584 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34585 Only do something when we have a filesystem.
34586 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34587 alternative implementation for systems without filesystems.
34588 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34589 Replaced ssize_t variables with jint. Provided
34590 alternative implementation for systems without filesystems.
34591 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34592 Replaced ssize_t variables with jint. Provided
34593 alternative implementation for systems without filesystems.
34594 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34595 Replaced ssize_t variables with jint. Provided
34596 alternative implementation for systems without filesystems.
34597 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34598 Only do something when we have a filesystem.
34599 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34600 Replaced ssize_t variables with jint. Provided
34601 alternative implementation for systems without filesystems.
34602 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34603 to use the corresponding target native macro.
34604 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34605 to use the corresponding target native macro.
34607 2006-01-17 Lillian Angel <langel@redhat.com>
34609 * javax/swing/text/DefaultTextUI.java:
34610 Added deprecated tag.
34611 * javax/swing/text/JTextComponent.java
34612 (AccessibleJTextComponent): Fixed API doc and
34613 partiall9 implemented.
34614 (getCaretPosition): Fixed API doc and implemented.
34615 (getSelectedText): Fixed API doc.
34616 (getSelectionStart): Likewise.
34617 (getSelectionEnd): Likewise.
34618 (caretUpdate): Fixed API doc and
34619 partially implemented.
34620 (getAccessibleStateSet): Likewise.
34621 (getAccessibleRole): Fixed API doc and implemented.
34622 (getAccessibleEditableText): Implemented.
34623 (getAccessibleText): Fixed API doc and implemented.
34624 (insertUpdate): Fixed API doc.
34625 (changedUpdate): Likewise.
34626 (getIndexAtPoint): Likewise.
34627 (getRootEditorRect): Removed.
34628 (getCharacterBounds): Fixed API doc.
34629 (getCharCount): Likewise.
34630 (getCharacterAttribute): Likewise.
34631 (getAtIndex): Likewise.
34632 (getAfterIndex): Likewise.
34633 (getBeforeIndex): Likewise.
34634 (getAccessibleActionCount): Added function stub.
34635 (getAccessibleActionDescription): Added function,
34636 partially implemented.
34637 (doAccessibleAction): Added function stub.
34638 (setTextContents): Likewise.
34639 (insertTextAtIndex): Likewise.
34640 (delete): Likewise.
34643 (replaceText): Likewise.
34644 (selectText): Likewise.
34645 (setAttributes): Likewise.
34646 (getAccessibleContext): Implemented.
34648 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34651 * gnu/regexp/RETokenRange.java(constructor):
34652 Keep lo and hi as they are.
34653 (match): Changed the case insensitive comparison.
34655 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34657 * gnu/regexp/RETokenChar.java(chain):
34658 Do not concatenate tokens whose insens flags are diffent.
34660 2006-01-17 Roman Kennke <kennke@aicas.com>
34662 * native/target/generic/target_generic_network.c:
34663 (targetGenericNetwork_receive): Fixed signature to match the
34664 corresponding .h file.
34665 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34666 to match the corresponding .h file.
34668 2006-01-17 Roman Kennke <kennke@aicas.com>
34670 * native/jni/classpath/jcl.c:
34671 (JCL_malloc): Replaced calls to malloc with the corresponding
34672 target layer macro.
34673 (JCL_free): Replaced calls to free with the corresponding
34674 target layer macro.
34675 * native/jni/classpath/native_state.c:
34676 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34677 calloc with the corresponding target layer macro.
34678 (remove_node): Replaced calls to free with the corresponding
34679 target layer macro.
34680 (add_node): Replaced calls to malloc with the corresponding
34681 target layer macro.
34683 2006-01-17 Roman Kennke <kennke@aicas.com>
34685 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34686 (getFieldReference): Use MALLOC/FREE macros for portability instead
34687 of direct call to malloc() and free().
34689 2006-01-17 Roman Kennke <kennke@aicas.com>
34691 * native/jni/classpath/jcl.c: Added missing imports.
34692 (JCL_realloc): Fixed signature to include oldsize. This is needed
34693 for some targets. Make this function use the MEMORY_REALLOC macro
34695 * native/jni/classpath/jcl.h
34696 (JCL_realloc): Adjusted signature.
34697 * native/jni/java-io/java_io_VMFile.c:
34698 (Java_java_io_VMFile_create): Use target layer macro for handling
34699 errno, for portability.
34700 (Java_java_io_VMFile_length): Release filename string in error cases
34702 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34703 version of JCL_realloc.
34704 * native/jni/java-net/java_net_VMInetAddress.c:
34705 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34706 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34707 * native/jni/java-net/javanet.c:
34708 (_javanet_bind): Make errorstr variable const to avoid compiler
34710 (_javanet_set_option): Fixed typo.
34711 (_javanet_get_option): Fixed typo.
34712 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34713 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34714 error_string variable const to avoid compiler warning.
34715 * native/target/generic/target_generic_file.h:
34716 Replaced // comments with /* */ comments to avoid compiler warnings.
34717 Added some spaces to make code better readable.
34718 * native/target/generic/target_generic_memory.h:
34719 Replaced // comments with /* */ comments to avoid compiler warnings.
34720 * native/target/generic/target_generic_misc.c:
34721 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34722 compiler warnings due to use of varargs.
34723 * native/target/generic/target_generic_misc.h:
34724 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34725 compiler warnings due to use of varargs.
34726 * native/target/generic/target_generic_network.h:
34727 Replaced // comments with /* */ comments to avoid compiler warnings.
34728 (targetGenericNetwork_receive): Fixed signature to use signed chars
34729 for buffer parameter to avoid warning when passing a jbyte to the
34732 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34734 * javax/swing/text/StyleConstants.java
34735 (getAlignment): Removed isDefined() check, so that resolving parent is
34737 (getBackground): Likewise, plus changed default value to Color.BLACK,
34738 (getBidiLevel): Removed isDefined() check,
34739 (getComponent): Likewise,
34740 (getFirstLineIndent): Likewise,
34741 (getFontFamily): Likewise,
34742 (getFontSize): Likewise,
34743 (getForeground): Likewise,
34744 (getIcon): Likewise,
34745 (getLeftIndent): Likewise,
34746 (getLineSpacing): Likewise,
34747 (getRightIndent): Likewise,
34748 (getSpaceAbove): Likewise,
34749 (getSpaceBelow): Likewise,
34750 (getTabSet): Likewise,
34751 (isBold): Likewise,
34752 (isItalic): Likewise,
34753 (isStrikeThrough): Likewise,
34754 (isSubscript): Likewise,
34755 (isSuperscript): Likewise,
34756 (isUnderline): Likewise.
34758 2006-01-17 Gary Benson <gbenson@redhat.com>
34760 * java/lang/System.java (setSecurityManager): Catch
34761 ClassNotFoundException not Throwable.
34763 2006-01-16 Anthony Green <green@redhat.com>
34766 * gnu/java/net/protocol/http/Request.java
34767 (createResponseBodyStream): Remove Content-Encoding for
34768 compressed streams.
34770 2006-01-16 Chris Burdess <dog@gnu.org>
34772 * gnu/xml/stream/XMLParser.java,
34773 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34774 XMLStreamWriter arguments for conformance to the XML specifications.
34775 * gnu/xml/transform/Stylesheet.java,
34776 gnu/xml/transform/Template.java,
34777 gnu/xml/transform/TransformerImpl.java,
34778 gnu/xml/xpath/LangFunction.java,
34779 gnu/xml/xpath/Selector.java: better handling of template priorities;
34780 fix indents when pretty-printing; recursive tests for xml:lang.
34781 * gnu/xml/util/XHTMLWriter.java,
34782 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34784 2006-01-16 Roman Kennke <kennke@aicas.com>
34786 * native/target/MinGW/.cvsignore: New file.
34787 * native/target/RTEMS/.cvsignore: New file.
34788 * native/target/SunOS/.cvsignore: New file.
34789 * native/target/embOS/.cvsignore: New file.
34790 * native/target/posix/.cvsignore: New file.
34792 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34794 * javax/swing/text/StyleConstants.java: Updated API docs all over.
34796 2006-01-16 Roman Kennke <kennke@aicas.com>
34798 * configure.ac: Include new target native directories in build.
34800 2006-01-16 Roman Kennke <kennke@aicas.com>
34802 * native/target/generic/target_generic_file.h: Added missing
34804 * native/target/generic/target_generic_network.c: Fixed several
34805 typos and includes.
34806 * native/target/generic/target_generic_network.h: Likewise.
34808 2006-01-16 Roman Kennke <kennke@aicas.com>
34810 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34811 to include the new targets.
34812 * native/target/posix/Makefile.am: Fixed filenames.
34814 2006-01-16 Roman Kennke <kennke@aicas.com>
34816 * native/target/Makefile.am: Include new targets.
34817 * native/target/Linux/Makefile.am: Include new memory layer.
34818 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34819 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34820 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34821 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34822 * native/target/generic/Makefile.am: Include new memory and math
34824 * native/target/posix/Makefile.am: New file. Includes posix in dist.
34826 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
34829 * gnu/regexp/RE.java(initialize): Parse embedded flags.
34830 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34832 2006-01-16 Roman Kennke <kennke@aicas.com>
34834 * native/target/generic/target_generic_network.c: Fixed typo.
34835 * native/target/generic/target_generic_network.h: Fixed typo.
34837 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
34839 * doc/vmintegration.texinfo: Updated subsection of the
34840 java.lang.InstrumentationImpl documentation.
34842 2006-01-16 Roman Kennke <kennke@aicas.com>
34844 * native/target/RTEMS/target_native.h,
34845 * native/target/RTEMS/target_native_file.h,
34846 * native/target/RTEMS/target_native_io.h,
34847 * native/target/RTEMS/target_native_math.h,
34848 * native/target/RTEMS/target_native_memory.h,
34849 * native/target/RTEMS/target_native_misc.h,
34850 * native/target/RTEMS/target_native_network.h:
34851 New files. Implement the target native layer for the RTEMS platform.
34853 2006-01-16 Roman Kennke <kennke@aicas.com>
34855 * native/target/SunOS/target_native.h,
34856 * native/target/SunOS/target_native_file.h,
34857 * native/target/SunOS/target_native_io.h,
34858 * native/target/SunOS/target_native_math.h,
34859 * native/target/SunOS/target_native_memory.h,
34860 * native/target/SunOS/target_native_misc.h,
34861 * native/target/SunOS/target_native_network.h:
34862 New files. Implement the target native layer for the SunOS platform.
34864 2006-01-16 Roman Kennke <kennke@aicas.com>
34866 * native/target/MinGW/target_native.h,
34867 * native/target/MinGW/target_native_file.h,
34868 * native/target/MinGW/target_native_io.h,
34869 * native/target/MinGW/target_native_math.h,
34870 * native/target/MinGW/target_native_memory.h,
34871 * native/target/MinGW/target_native_misc.h,
34872 * native/target/MinGW/target_native_network.h:
34873 New files. Implement the target native layer for the MinGW
34876 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34879 * javax/swing/DefaultCellEditor.java
34880 (delegate): Assign new instance immediately.
34881 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34882 (getTableCellEditorComponent): Rewritten.
34883 (prepareAsJTextField):New method (add listener only once).
34884 * javax/swing/JTable.java
34885 (editingCanceled): Rewritten.
34886 (editingStopped ): Rewritten.
34887 (rowAtPoint): Mind row margin.
34888 (getCellRect): Mind row margin.
34889 (getDefaultEditor): Removing JTextComponent border.
34890 (editCellAt): Rewritten.
34891 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34892 Activate editing mode by the mouse clicks.
34893 (getMaximumSize): Mind row margin.
34894 (getPreferredSize): Mind row margin.
34895 (TableAction): Added 'stop editing' command.
34897 2006-01-16 Roman Kennke <kennke@aicas.com>
34899 * jni/java-io/java_io_VMFile.c
34900 (Java_java_io_VMFile_list): Use new 4 argument version of
34901 TARGET_NATIVE_FILE_READ_DIR macro.
34902 * target/Linux/target_native_io.h: Fixed comment at #endif.
34903 * target/Linux/target_native_memory.h: New file. Contains
34904 portability macros for memory operations.
34905 * target/generic/target_generic.c: New file. Contains some functions
34907 * target/generic/target_generic.h: Use posix target and shorter macro
34908 names if CP_NEW is set.
34909 * target/generic/target_generic_file.h: Use posix target and shorter
34910 macro names if CP_NEW is set.
34911 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34912 * target/generic/target_generic_io.c: New file. Contains some
34913 functions for IO portability.
34914 * target/generic/target_generic_io.h: Use posix target and shorter
34915 macro names if CP_NEW is set.
34916 * target/generic/target_generic_misc.c: New file. Contains some
34917 functions for miscallaneaous portability issues.
34918 * target/generic/target_generic_misc.h: Use posix target and shorter
34919 macro names if CP_NEW is set.
34920 * target/generic/target_generic_network.c: New file. Contains some
34921 functions for networking portability.
34922 * target/generic/target_generic_network.h: Use posix target and
34923 shorter macro names if CP_NEW is set.
34924 * target/posix/Makefile.am,
34925 * target/posix/target_posix.c,
34926 * target/posix/target_posix.h,
34927 * target/posix/target_posix_file.c,
34928 * target/posix/target_posix_file.h,
34929 * target/posix/target_posix_io.c,
34930 * target/posix/target_posix_io.h,
34931 * target/posix/target_posix_math.c,
34932 * target/posix/target_posix_math.h,
34933 * target/posix/target_posix_memory.c,
34934 * target/posix/target_posix_memory.h,
34935 * target/posix/target_posix_misc.c,
34936 * target/posix/target_posix_misc.h,
34937 * target/posix/target_posix_network.c,
34938 * target/posix/target_posix_network.h:
34939 New files. This implements the target native layer macros for
34940 Posix-like systems.
34942 2006-01-16 Gary Benson <gbenson@redhat.com>
34944 * java/net/SocketPermission.java (implies): Fix action checks.
34946 2006-01-16 Roman Kennke <kennke@aicas.com>
34948 * native/target/generic/target_generic_math_float.h: Removed. This
34949 file has been replaced by target_generic_math.h.
34950 * native/target/generic/target_generic_math_int.h: Removed. This
34951 file has been replaced by target_generic_math.h.
34952 * native/target/generic/target_generic_math.h: New file. Replaces
34953 the old _int and _float versions.
34954 * native/target/Linux/target_native_math_float.h: Removed. This
34955 file has been replaced by target_native_math.h.
34956 * native/target/Linux/target_native_math_int.h: Removed. This
34957 file has been replaced by target_native_math.h.
34958 * native/target/Linux/target_native_math.h: New file. Replaces
34959 the old _int and _float versions.
34960 * native/target/Linux/Makefile.am: Adjusted for the changed
34962 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34963 instead of target_native_math_int.h.
34964 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34966 * native/target/generic/target_generic_file.h: Likewise.
34968 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34970 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34972 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34974 * javax/swing/text/SimpleAttributeSet.java
34975 (SimpleAttributeSet()): Initialise storage directly,
34976 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34977 NullPointerException,
34978 (containsAttribute): If key is found locally, don't check resolving
34979 parent if the value doesn't match,
34980 (getAttribute): Removed redundant instanceof and cast.
34982 2006-01-16 Gary Benson <gbenson@redhat.com>
34984 * java/lang/System.java (setSecurityManager): Ensure policy
34985 files are loaded before a security manager is put in place.
34987 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34989 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34991 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
34993 * javax/print/attribute/standard/MediaSize.java:
34994 (static_initializer): Added comment.
34995 (MediaSize): Added javadoc to mention cache registration.
34996 (MediaSize): Likewise.
34997 (MediaSize): Likewise.
34998 (MediaSize): Likewise.
35000 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
35003 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35004 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35005 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35006 * javax/security/auth/login/AppConfigurationEntry.java: Updated
35008 (toString): Added method implementation.
35009 (LoginModuleControlFlag.toString): Removed class name from result.
35010 * javax/security/auth/login/Configuration.java: Updated copyright year.
35011 (getConfig(): replaced calls to NullConfiguration with
35014 2006-01-15 Tom Tromey <tromey@redhat.com>
35016 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35017 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35018 * java/beans/PersistenceDelegate.java (initialize): Genericized.
35019 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35020 (setPersistenceDelegate): Likewise.
35022 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
35024 * javax/print/attribute/standard/PrinterStateReasons.java:
35025 (printerStateReasonSet): Genericize the return type.
35027 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35029 * javax/swing/table/DefaultTableCellRenderer.java
35030 (getTableCellRendererComponent): Render null as the empty cell.
35032 2006-01-14 Anthony Green <green@redhat.com>
35034 * java/net/ServerSocket.java (accept): Remove bogus
35036 (implAccept): Add FIXME comment.
35038 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35041 * javax/print/Doc.java: Added and enhanced documentation.
35042 * javax/print/SimpleDoc.java: New file.
35044 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
35046 * javax/print/attribute/standard/MediaSize.java:
35047 (Other.TABLOID): New MediaSize added in 1.5
35049 2006-01-14 Chris Burdess <dog@gnu.org>
35051 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35052 correctly when I/O and runtime exceptions occur during parsing.
35054 2006-01-13 Roman Kennke <kennke@aicas.com>
35056 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35057 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35058 * gnu/java/awt/peer/swing/SwingComponent.java,
35059 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35060 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35061 * gnu/java/awt/peer/swing/SwingFramePeer.java,
35062 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35063 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35064 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35065 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35066 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35067 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35068 * gnu/java/awt/peer/swing/SwingToolkit.java,
35069 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35070 * gnu/java/awt/peer/swing/package.html:
35071 New files. Implemented some basic AWT peers based on Swing.
35073 2006-01-13 Roman Kennke <kennke@aicas.com>
35075 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35077 2006-01-13 Roman Kennke <kennke@aicas.com>
35079 * java/awt/MenuComponent.java: Reformatted to better match our
35082 2006-01-13 Roman Kennke <kennke@aicas.com>
35084 * java/awt/Frame.java: Reformatted to better match our
35087 2006-01-13 Roman Kennke <kennke@aicas.com>
35089 * java/awt/MenuBar.java
35090 (accessibleContext): Removed unnecessary field. This is already
35091 defined in MenuComponent.
35092 (setHelpMenu): Renamed the peer variable to myPeer because it was
35093 hiding a field of MenuComponent.
35094 (addNotify): Removed unnecessary cast.
35096 2006-01-13 Roman Kennke <kennke@aicas.com>
35098 * java/awt/MenuBar.java: Reformatted to better match our
35101 2006-01-13 Roman Kennke <kennke@aicas.com>
35103 * java/awt/MenuBar.java
35104 (frame): New field.
35105 (removeNotify): Clear frame field when beeing removed from the
35107 * java/awt/Frame.java
35108 (setMenuBar): Store a reference of the frame in the MenuBar.
35109 * java/awt/MenuComponent.java
35110 (postEvent): Implemented to forward the call to the parent until
35111 a parent can handle the event.
35112 (dispatchEvent): Moved handling of old style events from
35113 dispatchEventImpl() to here.
35114 (dispatchEventImpl): Moved handling of old style events to
35117 2006-01-13 Roman Kennke <kennke@aicas.com>
35119 * java/awt/Component.java
35120 (dispatchEvent): Moved handling of old style events from
35121 dispatchEventImpl() to this method.
35122 (translateEvent): Removed unnecessary cast.
35123 (dispatchEventImpl): Moved handling of old style events to
35126 2006-01-13 Lillian Angel <langel@redhat.com>
35128 * javax/swing/text/DefaultStyledDocument.java
35129 (createDefaultRoot): Removed FIXME.
35130 (setLogicalStyle): Added fireUndoableEditUpdate call and
35133 2006-01-13 Lillian Angel <langel@redhat.com>
35135 * javax/swing/text/DefaultStyledDocument.java
35136 (Edit): New inner class.
35137 (changeUpdate): Changed addEdit call to add a new
35138 instance of Edit to the edits Vector, so addEdits can
35141 (insertParagraph): Likewise.
35142 (insertFracture): Likewise.
35143 (insertContentTag): Likewise.
35144 (insert): Added loop to go through edits Vector and perform
35145 addEdit on each object.
35147 2006-01-13 Chris Burdess <dog@gnu.org>
35149 * gnu/xml/transform/AbstractNumberNode.java,
35150 gnu/xml/transform/ApplyImportsNode.java,
35151 gnu/xml/transform/ApplyTemplatesNode.java,
35152 gnu/xml/transform/AttributeNode.java,
35153 gnu/xml/transform/CallTemplateNode.java,
35154 gnu/xml/transform/ChooseNode.java,
35155 gnu/xml/transform/CommentNode.java,
35156 gnu/xml/transform/CopyNode.java,
35157 gnu/xml/transform/CopyOfNode.java,
35158 gnu/xml/transform/DocumentFunction.java,
35159 gnu/xml/transform/ElementNode.java,
35160 gnu/xml/transform/ForEachNode.java,
35161 gnu/xml/transform/IfNode.java,
35162 gnu/xml/transform/LiteralNode.java,
35163 gnu/xml/transform/MessageNode.java,
35164 gnu/xml/transform/OtherwiseNode.java,
35165 gnu/xml/transform/ParameterNode.java,
35166 gnu/xml/transform/ProcessingInstructionNode.java,
35167 gnu/xml/transform/Stylesheet.java,
35168 gnu/xml/transform/Template.java,
35169 gnu/xml/transform/TemplateNode.java,
35170 gnu/xml/transform/TextNode.java,
35171 gnu/xml/transform/TransformerImpl.java,
35172 gnu/xml/transform/ValueOfNode.java,
35173 gnu/xml/transform/WhenNode.java,
35174 gnu/xml/xpath/NodeTypeTest.java,
35175 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35176 with-param parameters when template does not define parameters; apply
35177 conflict resolution for templates; strip whitespace on documents
35178 retrieved via document() function; allow node() to match document
35181 2006-01-13 Mark Wielaard <mark@klomp.org>
35183 * doc/www.gnu.org/announce/20060113.wml: New file.
35184 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35185 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35187 2006-01-13 Lillian Angel <langel@redhat.com>
35189 * javax/swing/text/DefaultStyledDocument.java:
35190 Removed unused fields.
35191 (insert): Removed unused fields.
35192 (endEdit): Removed, not needed.
35193 (insertUpdate): Removed call to endEdit.
35194 (prepareContentInsertion): Removed, not needed.
35195 (insertContentTag): Removed call to prepareContentInsertion.
35196 (printElements): Removed, not needed.
35197 (attributeSetsAreSame): Removed, not needed.
35199 2005-01-13 Mark Wielaard <mark@klomp.org>
35201 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35202 Duplicate of toString(int, StringBuilder).
35204 2005-01-13 Mark Wielaard <mark@klomp.org>
35206 * configure.ac: Set version to 0.20.
35207 * NEWS: Add entries for all the new work done.
35209 2005-01-13 Mark Wielaard <mark@klomp.org>
35211 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35213 2005-01-13 Mark Wielaard <mark@klomp.org>
35215 * java/util/regex/Pattern.java (Pattern): Chain REException.
35217 2006-01-13 Chris Burdess <dog@gnu.org>
35219 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35221 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35223 * java/security/Security.java
35224 (getProperty): Added hack to skip security check when trusted
35225 code is direct caller.
35227 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35229 * java/io/PrintStream.java
35230 (line_separator, PrintStream(OutputStream,boolean)): Use
35233 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35235 * gnu/java/nio/charset/Provider.java: Added comment about its
35236 special relation with CharsetProvider.
35238 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35239 its special relation with CharsetProvider.
35241 * java/nio/charset/spi/CharsetProvider.java
35242 (CharsetProvider): Add special case to skip security check for
35243 built in providers.
35245 2005-01-13 Mark Wielaard <mark@klomp.org>
35247 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35248 name, accel, mnemonic and command are defined before setting.
35250 2005-01-12 Mark Wielaard <mark@klomp.org>
35252 * javax/swing/plaf/metal/MetalFileChooserUI.java
35253 (FileRenderer.getListCellRendererComponent): Set empty name and null
35254 icon when File is null.
35256 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35258 * gnu/java/rmi/server/UnicastRef.java (newCall):
35259 Throw ConnectException after catching IOException.
35261 2006-01-12 Lillian Angel <langel@redhat.com>
35263 * javax/swing/text/DefaultStyledDocument.java
35264 (insertUpdate): Removed unneeded check.
35266 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35268 * javax/swing/text/DefaultStyledDocument.java:
35269 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35270 and we haven't come immediately after a fracture, adjust the Element
35271 offsets. Added comment explaining the situation.
35272 (insert): Return early if no ElementSpecs passed in. Removed redundant
35273 call to insertUpdate. Fired the UndoableEditUpdate.
35275 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35278 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35279 character classes within a subexpression.
35281 2006-12-12 Lillian Angel <langel@redhat.com>
35283 * javax/swing/text/DefaultStyledDocument.java
35284 (insertUpdate): Added check to check if attribute set is
35286 (insertUpdate): Added check to determine if last character
35287 is a newline. If it is, we should not be fracturing.
35288 (insert): Added check to determine if attribute set is empty.
35289 If it is, insertUpdate should not be called.
35291 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35293 * configure.ac: Check for isnan.
35295 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35298 2006-01-12 Chris Burdess <dog@gnu.org>
35300 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35301 1.1 character ranges.
35303 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35305 * javax/swing/TransferHandler.java:
35306 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35307 gnu/testlet/javax/swing/JTextField/CopyPaste.
35309 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35311 * resource/Makefile.am: Install
35312 logging.properties into $(prefix)/lib.
35313 * resource/Makefile.am (securitydir): Changed to
35314 $(prefix)/lib/security.
35316 2006-01-12 Roman Kennke <kennke@aicas.com>
35318 * javax/swing/JTextField.java
35319 (createDefaultModel): Moved installation of the filterNewlines
35320 property to setDocument().
35321 (setDocument): New method. Installs the filterNewlines property
35324 2006-01-12 Chris Burdess <dog@gnu.org>
35326 * gnu/xml/dom/DomNode.java,
35327 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35329 * gnu/xml/xpath/NameTest.java,
35330 gnu/xml/xpath/NamespaceTest.java,
35331 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35333 * gnu/xml/transform/MessageNode.java: Use standard logging system
35334 for outputting messages.
35336 2006-01-12 Tom Tromey <tromey@redhat.com>
35338 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35339 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35340 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35341 (static initializer): Removed cache code.
35342 (checkCacheFor, addToCache): Removed.
35343 (getAllByName): Removed cache code.
35344 (lookup_time): Removed.
35345 (InetAddress): Updated.
35347 2006-01-12 Chris Burdess <dog@gnu.org>
35349 * gnu/xml/dom/DomDocument.java,
35350 gnu/xml/dom/DomElement.java,
35351 gnu/xml/dom/DomNode.java,
35352 gnu/xml/stream/XMLParser.java,
35353 gnu/xml/transform/Bindings.java,
35354 gnu/xml/transform/ElementAvailableFunction.java,
35355 gnu/xml/transform/ElementNode.java,
35356 gnu/xml/transform/FunctionAvailableFunction.java,
35357 gnu/xml/transform/NamespaceProxy.java,
35358 gnu/xml/transform/StreamSerializer.java,
35359 gnu/xml/transform/Stylesheet.java,
35360 gnu/xml/transform/TransformerImpl.java,
35361 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35362 document and element nodes; correct coalescing semantics when parsing;
35363 attribute-sets can only refer to top-level variables and parameters;
35364 fix namespace retrieval during element-available and
35365 function-available functions; implement xsl:fallback for extension
35366 elements; tokenize whitespace correctly during whitespace stripping;
35367 correct following and previous node axes selectors.
35369 2006-01-12 Roman Kennke <kennke@aicas.com>
35371 * java/util/Hashtable.java
35372 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35373 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35375 2006-01-12 Lillian Angel <langel@redhat.com>
35377 * javax/swing/text/GapContent.java
35378 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35380 2006-01-12 Mark Wielaard <mark@klomp.org>
35382 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35383 Throw UnknowHostException when name could not be resolved.
35385 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35387 * java/net/URL.java
35388 (static, getURLStreamHandler): Use SystemProperties.
35390 2006-01-12 Mark Wielaard <mark@klomp.org>
35392 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35393 Use packet.getLength().
35394 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35395 (nativeReceive): Check whether the receiver wants zero bytes.
35397 2006-01-12 Mark Wielaard <mark@klomp.org>
35399 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35400 other side orderly closed connection.
35401 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35402 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35403 when end of stream reached.
35405 2006-01-12 Mark Wielaard <mark@klomp.org>
35407 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35409 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35410 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35411 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35412 * native/jni/java-net/javanet.c: Likewise.
35414 2006-01-12 Mark Wielaard <mark@klomp.org>
35416 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35417 PR classpath/23863.
35419 2006-01-11 Chris Burdess <dog@gnu.org>
35421 * gnu/xml/transform/AttributeNode.java,
35422 gnu/xml/transform/ElementNode.java,
35423 gnu/xml/transform/LiteralNode.java,
35424 gnu/xml/transform/StreamSerializer.java,
35425 gnu/xml/transform/StrippingInstruction.java,
35426 gnu/xml/transform/Stylesheet.java,
35427 gnu/xml/transform/TransformerImpl.java,
35428 gnu/xml/transform/ValueOfNode.java,
35429 gnu/xml/xpath/Expr.java,
35430 gnu/xml/xpath/LocalNameFunction.java,
35431 gnu/xml/xpath/NameFunction.java,
35432 gnu/xml/xpath/NameTest.java,
35433 gnu/xml/xpath/NamespaceUriFunction.java,
35434 gnu/xml/xpath/NodeTypeTest.java,
35435 gnu/xml/xpath/SubstringFunction.java,
35436 javax/xml/namespace/QName.java: don't determine element namespace
35437 from namespace aliases when specified; better namespace handling
35438 when serializing elements; don't create HTML meta element unless
35439 head element exists; correct encoding of CDATA sections containing
35440 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35441 default encoding for HTML output; rewrite of XSLT
35442 strip-space/preserve-space handling; correct doctype-public and
35443 doctype-system output attributes; insert generated doctype before
35444 document element; fixed result tree whitespace stripping
35445 algorithm; fixed semantics of XPath name, local-name, and
35446 namespace-uri functions; name tests handle XML/XMLNS namespaces
35447 correctly; fixed semantics of processing-instruction node test.
35448 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35451 2006-01-11 Lillian Angel <langel@redhat.com>
35453 * javax/swing/text/DefaultStyledDocument.java
35454 (insertFracture): Added calls to addEdit for each time a structure
35455 is changed. addEdit is called on the newBranch, previous, and parent
35458 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35460 * javax/swing/text/DefaultStyledDocument.java:
35461 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35462 This will have been taken care of in insertFracture. Added a comment
35463 explaining that we need to add edits to the DocumentEvent and that
35464 this may be the place to do it.
35466 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35468 * javax/swing/text/DefaultStyledDocument.java:
35469 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35470 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35471 elementStack when there is a start tag with JoinNextDirection.
35473 2006-01-11 Roman Kennke <kennke@aicas.com>
35475 Reported by: Fridjof Siebert <siebert@aicas.com>
35476 * java/util/Hashtable.java
35477 (KEYS): Removed unneeded field.
35478 (VALUES): Removed unneeded field.
35479 (ENTRIES): Removed unneeded field.
35480 (keys): Return a KeyEnumerator instance.
35481 (elements): Returns a ValueEnumerator instance.
35482 (toString): Use an EntryIterator instance.
35483 (keySet): Return a KeyIterator instance.
35484 (values): Return a ValueIterator instance.
35485 (entrySet): Return an EntryIterator instance.
35486 (hashCode): Use EntryIterator instance.
35487 (rehash): Changed this loop to avoid redundant reads and make
35488 it obvious that null checking is not needed.
35489 (writeObject): Use EntryIterator instance.
35490 (HashIterator): Removed class.
35491 (Enumerator): Removed class.
35492 (EntryIterator): New class.
35493 (KeyIterator): New class.
35494 (ValueIterator): New class.
35495 (EntryEnumerator): New class.
35496 (KeyEnumerator): New class.
35497 (ValueEnumerator): New class.
35499 2006-01-11 Lillian Angel <langel@redhat.com>
35501 * javax/swing/text/DefaultStyledDocument.java
35502 (toString): Shouldn't append the '>' character here.
35503 (createDefaultRoot): Should not set the resolve parent. This
35504 causes problems when comparing attribute sets.
35506 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35508 * javax/swing/text/DefaultStyledDocument.java:
35509 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35511 (ElementBuffer.insertFracture): New method.
35512 (ElementBuffer.insertContentTag): Removed unnecessary case for
35513 JoinFractureDirection - this only applies to start tags, not content
35515 (insertUpdate): Corrected conditions for setting direction to
35518 2006-01-10 Roman Kennke <kennke@aicas.com>
35520 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35521 * ChangeLog-2005: New File.
35523 2006-01-10 Roman Kennke <kennke@aicas.com>
35525 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35526 (get): Release the array with the correct pointer.
35527 (put): Release the array with the correct pointer. Copy the array
35528 around _before_ releasing it.
35530 2006-01-10 Roman Kennke <kennke@aicas.com>
35532 * javax/swing/ViewportLayout.java
35533 (layoutContainer): Fixed condition, to avoid ClasscastException.
35535 2006-01-10 Roman Kennke <kennke@aicas.com>
35537 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35538 (MouseHandler.mousePressed): Fixed indendation.
35539 (MouseHandler.mouseDragged): Fixed indendation.
35541 2006-01-10 Roman Kennke <kennke@aicas.com>
35543 * javax/swing/plaf/basic/BasicLookAndFeel.java
35544 (playSound): Added @since 1.4 to the API docs.
35546 2006-01-10 Roman Kennke <kennke@aicas.com>
35548 * javax/swing/plaf/basic/BasicListUI.java
35549 (maybeUpdateLayoutState): Also update the layout state, if the
35550 list has been invalidated since the last update.
35552 2006-01-10 Roman Kennke <kennke@aicas.com>
35554 * javax/swing/plaf/ComponentUI.java
35555 (update): Fixed indendation.
35557 2006-01-10 Roman Kennke <kennke@aicas.com>
35559 * javax/swing/ViewportLayout.java
35560 (layoutContainer): Fixed condition, so that Scrollable components
35561 are always forced to have to Viewport size, when they
35562 return true for getScrollableTracksViewportHeight() and ..Width().
35564 2006-01-10 Roman Kennke <kennke@aicas.com>
35566 * javax/swing/RepaintManager.java
35567 (validateInvalidComponents): Fixed condition to avoid NPE.
35569 2006-01-10 Roman Kennke <kennke@aicas.com>
35571 * javax/swing/JViewport.java:
35572 (static_initializer): Removed unused variable myScrollMode.
35574 2006-01-10 Roman Kennke <kennke@aicas.com>
35576 * javax/swing/JTabbedPane.java:
35577 Cleared API docs a little.
35579 2006-01-10 Roman Kennke <kennke@aicas.com>
35581 * java/util/StringTokenizer.java
35582 (StringTokenizer(String, String, boolean)):
35583 Don't trigger NPE here for conformance with the spec.
35585 2006-01-10 Roman Kennke <kennke@aicas.com>
35587 * java/util/ArrayList.java
35588 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35590 2006-01-10 Roman Kennke <kennke@aicas.com>
35592 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35593 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35594 field to avoid NPE.
35596 2006-01-10 Roman Kennke <kennke@aicas.com>
35598 * native/jni/java-net/javanet.c
35599 (_javanet_shutdownOutput): Replaced strerror() with
35600 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35601 (_javanet_shutdownInput): Replaced strerror() with
35602 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35604 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35606 * java/beans/EventSetDescriptor.java: Reformatted and
35609 2006-01-10 Roman Kennke <kennke@aicas.com>
35611 * java/lang/SecurityManager.java
35612 Fully qualified AWT class references in API docs.
35614 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35616 * java/beans/EventSetDescriptor.java:
35617 (getGetListenerMethod): New method.
35619 2006-01-10 Mark Wielaard <mark@klomp.org>
35621 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35623 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35626 * java/util/Hashtable.java
35627 (contains): Call equals on existing value.
35628 (containsKey, get, put, remove): Call equals on existing key.
35629 (getEntry): Call equals on existing entry.
35631 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35634 * java/util/AbstractMap.java
35635 (equals(Object,Object)): Test for identity first.
35636 * java/util/WeakHashMap.java
35637 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35638 (WeakBucket.WeakEntry.toString): Fixed string representation of
35640 (internalGet): Use helper method to determine equality.
35642 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35644 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35647 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35649 * javax/swing/text/PlainDocument.java:
35650 (insertUpdate): Handle special case of an insertion immediately
35651 following a newline character.
35653 2006-01-09 Roman Kennke <kennke@aicas.com>
35655 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35656 (connect): Added stream parameter to _connect() call.
35657 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35658 (connect): Added stream parameter to _connect() call.
35659 * native/jni/java-net/javanet.c
35660 (_javanet_create_localfd): Added stream parameter. Look up
35661 fd field based on the stream parameter either in SocketImpl or
35662 in DatagramSocketImpl.
35663 (_javanet_connect): Added stream parameter. Call create_localfd
35664 using this stream parameter. Set localPort field either in
35665 SocketImpl or in DatagramSocketImpl, depending on the stream
35667 * native/jni/java-net/javanet.c
35668 (_javanet_connect): Added stream parameter.
35670 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35672 * javax.management.Attribute.java: Grammar and
35675 2006-01-09 Mark Wielaard <mark@klomp.org>
35677 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35678 exception when channel is not readable or writable.
35679 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35680 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35681 there is enough space to mmap().
35683 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35685 * java/beans/Introspector.java:
35686 (getBeanInfo(Class, int)): New method.
35687 (getBeanInfo(Class, Class): Moved common code in a new method.
35688 (merge): New method.
35690 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35692 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35694 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35696 * javax/swing/text/DefaultStyledDocument.java:
35697 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35698 inlined this method because it needs to change the value of the
35699 finalStartTag and finalStartDirection variables.
35700 (checkForInsertAfterNewline): Removed this method.
35701 (handleInsertAfterNewline): Added case for making the start tag's
35702 direction JoinNextDirection.
35704 2006-01-09 Lillian Angel <langel@redhat.com>
35706 * javax/swing/plaf/basic/BasicTreeUI.java:
35708 (setRowHeight): Row height is set to the max height of
35709 all the nodes, or 20 as a default value.
35710 (getPathBounds): Cleaned up code.
35711 (getMaxHeight): New helper function that gets the max
35712 height of all the rows.
35713 (getClosestPathForLocation): Fixed to use getMaxHeight.
35714 (updateCachedPreferredSize): Likewise.
35715 (installUI): Shouldn't expand tree on startup.
35716 (getNodeDimensions): Fixed to use getMaxHeight.
35718 2006-01-09 Mark Wielaard <mark@klomp.org>
35720 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35721 argument is negative.
35723 2006-01-08 Mark Wielaard <mark@klomp.org>
35725 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35727 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35729 * javax.management.Attribute.java: New file.
35731 2006-01-09 Roman Kennke <kennke@aicas.com>
35733 * java/net/DatagramSocketImpl.java
35734 (localPort): Renamed to localport for correct access from native
35737 2006-01-09 Roman Kennke <kennke@aicas.com>
35739 * javax/swing/Popup.java
35740 (LightweightPopup.hide): Repaint the layered pane when popup is
35743 2006-01-09 Roman Kennke <kennke@aicas.com>
35745 * java/awt/Container.java
35746 (remove): Don't repaint the container here.
35748 2006-01-08 Tom Tromey <tromey@redhat.com>
35750 * java/lang/InheritableThreadLocal.java: Organized imports.
35752 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35755 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35756 when an empty string matched an empty token.
35758 2006-01-08 Chris Burdess <dog@gnu.org>
35760 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35761 content models from external entities.
35762 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35763 attempting to continue with unpaired surrogates.
35764 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35765 resolving entities with character entity references; better
35766 checking of valid character ranges; don't report an error for URI
35767 fragments in notation declarations; check unbound namespace
35768 prefixes for elements and attributes, including XML 1.1 unbinding
35769 syntax; namespace-aware checking of attribute duplicates.
35771 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35773 * java/beans/Statement.java: Doc fixes.
35774 (doExecute): Workaround for Class.forName call.
35775 (toString): Made output look more like on the JDK.
35776 * java/beans/Expression.java: Doc fixes.
35777 (toString): Made output look more like on the JDK.
35778 * java/beans/PersistenceDelegate.java,
35779 java/beans/DefaultPersistenceDelegate.java,
35780 java/beans/Encoder.java,
35781 java/beans/XMLEncoder.java: New file.
35782 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35783 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35784 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35785 gnu/java/beans/encoder/Context.java,
35786 gnu/java/beans/encoder/GenericScannerState.java,
35787 gnu/java/beans/encoder/IgnoringScannerState.java,
35788 gnu/java/beans/encoder/MapPersistenceDelegate.java,
35789 gnu/java/beans/encoder/ObjectId.java,
35790 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35791 gnu/java/beans/encoder/ReportingScannerState.java,
35792 gnu/java/beans/encoder/Root.java,
35793 gnu/java/beans/encoder/ScanEngine.java,
35794 gnu/java/beans/encoder/ScannerState.java,
35795 gnu/java/beans/encoder/StAXWriter.java,
35796 gnu/java/beans/encoder/Writer.java: New file.
35797 * gnu/java/beans/encoder/elements/Array_Get.java,
35798 gnu/java/beans/encoder/elements/Element.java,
35799 gnu/java/beans/encoder/elements/List_Set.java,
35800 gnu/java/beans/encoder/elements/Array_Set.java,
35801 gnu/java/beans/encoder/elements/NullObject.java,
35802 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35803 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35804 gnu/java/beans/encoder/elements/StringReference.java,
35805 gnu/java/beans/encoder/elements/ClassResolution.java,
35806 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35807 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35808 gnu/java/beans/encoder/elements/ObjectReference.java,
35809 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35810 gnu/java/beans/encoder/elements/List_Get.java,
35811 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35813 2006-01-08 Chris Burdess <dog@gnu.org>
35815 * java/lang/Character.java (toChars,toCodePoint): Correct these
35816 methods to use algorithms from Unicode specification.
35818 2006-01-08 Mark Wielaard <mark@klomp.org>
35820 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35822 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
35825 * examples/Makefile.am: Corrected DESTDIR install paths.
35827 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35829 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
35830 ASCII character (line 46).
35832 2006-01-07 Roman Kennke <kennke@aicas.com>
35834 * javax/swing/text/TableView.java: New file.
35836 2006-01-07 Chris Burdess <dog@gnu.org>
35838 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35839 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35840 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35841 available; correct handling of unparsed entity references;
35842 absolutize all base URIs; remove commented out code.
35844 2006-01-07 Chris Burdess <dog@gnu.org>
35846 * gnu/xml/stream/SAXParser.java,
35847 gnu/xml/stream/XMLParser.java: Add SAX property to return base
35848 URI of the current event.
35850 2006-01-07 Chris Burdess <dog@gnu.org>
35852 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35855 2006-01-07 Chris Burdess <dog@gnu.org>
35857 * gnu/xml/stream/SAXParser.java,
35858 gnu/xml/stream/XIncludeFilter.java,
35859 gnu/xml/stream/XMLParser.java: Updated documentation.
35861 2006-01-07 Chris Burdess <dog@gnu.org>
35863 * AUTHORS: add self.
35865 2006-01-06 Casey Marshall <csm@gnu.org>
35867 * AUTHORS: add myself.
35869 2006-01-06 Casey Marshall <csm@gnu.org>
35872 * javax/crypto/CipherInputStream.java (logger): new constant.
35873 (cipher): make final.
35874 (outLength, inBuffer, inLength): removed.
35875 (isStream): make final.
35876 (VIRGIN, LIVING, DYING, DEAD, state): removed.
35878 (<init>): call `super,' not `this;' remove `inBuffer' and
35879 `outBuffer' initialization; init `eof;' add debug logging.
35880 (<init>): call `this' with a new null cipher.
35881 (available): fix javadoc to reflect the real semantics; if we
35882 don't have a buffer, call `nextBlock.'
35883 (close): synchronize.
35884 (read): synchronize; fix testing for buffered data.
35885 (read): synchronize; add `skip' semantics if first argument is
35886 `null;' decrypt stream cipher data only if there is any; fix tests
35888 (skip): stop using `available' to see how many data are buffered.
35889 (nextBlock): simplify to use cipher-allocated output buffers
35890 instead of internally allocated ones.
35892 2006-01-06 Tom Tromey <tromey@redhat.com>
35894 * java/lang/String.java (codePointCount): Fixed javadoc.
35896 2006-01-06 Tom Tromey <tromey@redhat.com>
35898 * java/lang/String.java (contains): Added @since.
35900 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
35903 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35904 * gnu/regexp/RETokenRepeated.java(match): Break the loop
35905 when an empty string matched an empty token.
35907 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
35910 * gnu/java/util/WeakIdentityHashMap.java: New file.
35911 * java/lang/InheritableThreadLocal.java
35912 (newChildThread): Modified to remove key indirection.
35913 * java/lang/Thread.java
35914 (locals): Changed type to WeakIdentityHashMap.
35915 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35917 * java/lang/ThreadLocal.java
35918 (key, Key): Removed.
35919 (get, set): Changed to use "this" instead of "key".
35921 2006-01-06 Dalibor Topic <robilad@kaffe.org>
35923 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35925 * native/fdlibm/java-assert.h: Removed file.
35927 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35928 Replaced use of JvAssert by assert.
35930 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35932 * javax/swing/text/DefaultCaret.java:
35933 (setDot): Fixed paramater to Math.max to be this.dot and not the
35936 2006-01-05 Roman Kennke <kennke@aicas.com>
35938 * javax/swing/plaf/basic/BasicListUI.java
35939 (getCellHeight): New helper method.
35940 (getCellBounds): Use new helper method for determining the cell
35942 (paint): Don't call list.indexToLocation() but instead call
35943 directly into the same UI method.
35944 (locationToIndex): Fixed calculation of # visible rows and handling
35946 (indexToLocation): Fixed calculation of # visible rows and handling
35949 2006-01-05 Roman Kennke <kennke@aicas.com>
35951 * javax/swing/plaf/metal/MetalFileChooserUI.java
35952 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35953 in the file chooser.
35955 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35957 * javax/swing/JTextPane.java:
35958 (replaceSelection): If the document is an AbstractDocument, use replace
35959 rather than remove and insert.
35960 * javax/swing/event/EventListenerList.java:
35961 (getListeners): Reversed the order of the listeners to match the
35962 reference implementation.
35963 * javax/swing/text/AbstractDocument.java:
35964 (insertString): Add the UndoableEdit from the content.insertString call
35965 to the DocumentEvent.
35966 (DefaultDocumentEvent.toString): Implemented.
35967 * javax/swing/text/DefaultCaret.java:
35968 (setDot): Make sure dot is > 0 and less than the length of the
35970 * javax/swing/text/DefaultStyledDocument.java:
35971 (ElementBuffer.insertUpdate): Set the modified tag of the document
35972 event when we get start and end tags. This ensures that we create the
35973 proper BranchElements in endEdit().
35974 (ElementBuffer.insertUpdate): Added FIXME to handle
35975 JoinFractureDirection case.
35976 (insertUpdate): Added code to check if we're inserting immediately
35977 after a newline and to handle this case (create start and end tags).
35978 Only change the direction of the first and last tags if they are of
35980 (checkForInsertAfterNewline): New helper method.
35981 (handleInsertAfterNewline): Likewise.
35982 * javax/swing/text/View.java:
35983 (updateLayout): Avoid NPE by checking if shape is null. Repaint
35986 2006-01-05 Mark Wielaard <mark@klomp.org>
35988 * newsitems.txt: Add fosdem meeting.
35989 * events/events.wml: Likewise.
35990 * events/fosdem06.wml: New file.
35992 2006-01-05 Lillian Angel <langel@redhat.com>
35994 * javax/swing/text/GapContent.java
35995 (createPosition): No positions should be created inside the
35996 gap. Fixed check to ensure this does not happen.
35998 2006-01-05 Roman Kennke <kennke@aicas.com>
36000 * javax/swing/RepaintManager.java
36001 (validateInvalidComponents): Search for the validate root
36002 and start validating there.
36004 2006-01-05 Roman Kennke <kennke@aicas.com>
36006 * javax/swing/plaf/basic/BasicListUI.java
36007 (ComponentHandler): Removed unneeded class.
36008 (ListDataHandler.contentsChanged): Revalidate instead of calling
36010 (ListDataHandler.intervalAdded): Revalidate instead of calling
36012 (ListDataHandler.intervalRemoved): Revalidate instead of calling
36014 (PropertyChangeHandler.propertyChange): Or flags together instead
36015 of adding them. Don't call damageLayout().
36016 (componentListener): Removed unnecessary field.
36017 (damageLayout): Removed unnecessary method.
36018 (installListeners): Don't install unnecessary listeners.
36019 (uninstallListeners): Dito.
36020 (getPreferredSize): Don't ask for the real list height and
36021 calculate with the previously calculated list height.
36022 (locationToIndex): Renamed list parameter to l so that it doesn't
36023 shadow the field with the same name.
36024 (indexToLocation): Renamed list parameter to l so that it doesn't
36025 shadow the field with the same name.
36027 2006-01-04 Tom Tromey <tromey@redhat.com>
36029 * include/.cvsignore: Ignore config-int.h.
36031 2006-01-04 Roman Kennke <kennke@aicas.com>
36033 * javax/swing/plaf/basic/BasicListUI.java
36034 (getPreferredSize): Rewritten to match the specs.
36036 2006-01-04 Roman Kennke <kennke@aicas.com>
36038 * javax/swing/JFileChooser.java
36039 (showOpenDialog): Set fixed width on the dialog.
36040 (showSaveDialog): Set fixed width on the dialog.
36041 (showDialog): Set fixed width on the dialog.
36043 2006-01-04 Roman Kennke <kennke@aicas.com>
36045 * javax/swing/plaf/basic/BasicListUI.java
36046 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36047 Adjusted iteration to not use visibleRowCount and instead iterate
36048 over the real number of elements in cellHeights.
36049 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36050 Adjusted iteration to not use visibleRowCount and instead iterate
36051 over the real number of elements in cellHeights.
36053 2006-01-04 Roman Kennke <kennke@aicas.com>
36055 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36056 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36057 Added __attribute__((__unused__)) macros to avoid gcc warnings.
36059 2006-01-04 Roman Kennke <kennke@aicas.com>
36061 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36062 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36064 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36065 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36067 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36069 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36070 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36071 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36072 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36073 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36074 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36075 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36076 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36078 2006-01-04 Lillian Angel <langel@redhat.com>
36080 * javax/swing/plaf/metal/MetalFileChooserUI.java
36081 (propertyChange): Fixed to change the combo box label
36082 appropriately. Also, fixed to set the textfield's text
36084 (editFile): Fixed size of editing field.
36085 (installComponents): Correctly aligned all panels.
36086 (installStrings): Fixed to set the label's text
36087 appropriately depending on the dialog type.
36089 2006-01-04 Lillian Angel <langel@redhat.com>
36093 * javax/swing/JTree.java
36094 (JTree): Because some L&F defaults have been updated,
36095 the selectionMode for the tree needed to be set to SINGLE.
36096 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36097 Initialized accessoryPanel.
36098 * javax/swing/plaf/metal/MetalFileChooserUI.java
36099 (installComponents): Added accessoryPanel to the filechooser.
36101 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36103 * configure.ac: Added AX_CREATE_STDINT_H
36105 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36107 * m4/ax_create_stdint_h.m4: New file.
36109 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36110 typedefs. Removed stdint.h and inttypes.h includes.
36112 2006-01-03 Mark Wielaard <mark@klomp.org>
36114 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36115 register keyboard action when accelerator is not null.
36116 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36117 re-register accelerator if not null.
36118 (installKeyboardActions): Only put accelerator in map when not null.
36120 2006-01-04 Lillian Angel <langel@redhat.com>
36122 * javax/swing/plaf/basic/BasicLookAndFeel.java
36123 (initComponentDefaults): Removed unneeded default.
36124 * javax/swing/plaf/metal/MetalLookAndFeel.java
36125 (initComponentDefaults): Added and fixed several defaults.
36127 2006-01-04 Roman Kennke <kennke@aicas.com>
36129 * javax/swing/plaf/basic/BasicHTML.java: New class.
36131 2006-01-03 Tom Tromey <tromey@redhat.com>
36133 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36134 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36136 2006-01-03 Mark Wielaard <mark@klomp.org>
36138 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36140 2006-01-03 Mark Wielaard <mark@klomp.org>
36142 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36143 Always call createDefaultTheme().
36144 (createDefaultTheme): Check whether theme is still null.
36146 2006-01-03 Mark Wielaard <mark@klomp.org>
36148 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36149 Color.WHITE if null.
36151 2006-01-03 Lillian Angel <langel@redhat.com>
36153 * javax/swing/plaf/metal/MetalLookAndFeel.java
36154 (getDescription): Fixed to return the correct string.
36156 (getName): Likewise.
36157 (getDefaults): Added check to avoid NPE.
36158 (getAcceleratorForeground): Likewise.
36159 (getAcceleratorSelectedForeground): Likewise.
36160 (getBlack): Likewise.
36161 (getControl): Likewise.
36162 (getControlDarkShadow): Likewise.
36163 (getControlDisabled): Likewise.
36164 (getControlHighlight): Likewise.
36165 (getControlInfo): Likewise.
36166 (getControlShadow): Likewise.
36167 (getControlTextColor): Likewise.
36168 (getControlTextFont): Likewise.
36169 (getDesktopColor): Likewise.
36170 (getFocusColor): Likewise.
36171 (getHighlightedTextColor): Likewise.
36172 (getInactiveControlTextColor): Likewise.
36173 (getInactiveSystemTextColor): Likewise.
36174 (getMenuBackground): Likewise.
36175 (getMenuDisabledForeground): Likewise.
36176 (getMenuForeground): Likewise.
36177 (getMenuSelectedBackground): Likewise.
36178 (getMenuSelectedForeground): Likewise.
36179 (getMenuTextFont): Likewise.
36180 (getPrimaryControl): Likewise.
36181 (getPrimaryControlDarkShadow): Likewise.
36182 (getPrimaryControlHighlight): Likewise.
36183 (getPrimaryControlInfo): Likewise.
36184 (getPrimaryControlShadow): Likewise.
36185 (getSeparatorBackground): Likewise.
36186 (getSeparatorForeground): Likewise.
36187 (getSubTextFont): Likewise.
36188 (getSystemTextColor): Likewise.
36189 (getSystemTextFont): Likewise.
36190 (getTextHighlightColor): Likewise.
36191 (getUserTextColor): Likewise.
36192 (getUserTextFont): Likewise.
36193 (getWhite): Likewise.
36194 (getWindowBackground): Likewise.
36195 (getWindowTitleBackground): Likewise.
36196 (getWindowTitleFont): Likewise.
36197 (getWindowTitleForeground): Likewise.
36198 (getWindowTitleInactiveBackground): Likewise.
36199 (getWindowTitleInactiveForeground): Likewise.
36201 2006-01-03 Mark Wielaard <mark@klomp.org>
36203 * javax/swing/JTextArea.java
36204 (JTextArea(Document,text,int,int)): Only call setText() when text is
36207 2006-01-03 Lillian Angel <langel@redhat.com>
36209 * javax/swing/plaf/basic/BasicFileChooserUI.java
36210 (installStrings): Fixed installation of defaults that
36211 were changed in BasicLookAndFeel.
36212 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36213 (installDefaults): Fixed installation of defaults that
36214 were changed in BasicLookAndFeel.
36216 2006-01-03 Lillian Angel <langel@redhat.com>
36218 * javax/swing/plaf/basic/BasicLookAndFeel.java
36219 (initComponentDefaults): Fixed several defaults that differed
36222 2006-01-03 Lillian Angel <langel@redhat.com>
36224 * javax/swing/tree/DefaultTreeSelectionModel.java
36225 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36227 2006-01-03 Lillian Angel <langel@redhat.com>
36229 * javax/swing/AbstractAction.java
36230 (AbstractAction): Fixed to pass in null. Should not be
36231 an empty string. Removed TODO comment.
36232 (AbstractAction): Removed TODO comment.
36233 * javax/swing/JList.java
36234 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36235 * javax/swing/JMenuItem.java
36236 (JMenuItem): Set all defaults if the action passed in is not null.
36237 * javax/swing/JProgressBar.java
36238 (JProgressBar): Added check to prevent NPE.
36240 2006-01-03 Lillian Angel <langel@redhat.com>
36242 * javax/swing/plaf/basic/BasicListUI.java
36243 (getPreferredSize): The JDK adds some extra space to
36244 the list, so we should as well.
36245 * javax/swing/plaf/metal/MetalFileChooserUI.java
36246 (getPreferredSize): Should only take the fileListPanel's
36247 width into account when getting the size. Also, the buttonPanel's
36248 size should not be checked, since it is in the bottomPanel already.
36249 (getMinimumSize): Likewise.
36251 2006-01-03 Lillian Angel <langel@redhat.com>
36253 * javax/swing/JList.java
36254 (init): visibleRowCount should be 7, like the JDK.
36255 * javax/swing/plaf/metal/MetalFileChooserUI.java
36256 (installComponents): No need to add the fileFilterCombo
36257 to a panel. It can be added to the row directly.
36259 2006-01-03 Lillian Angel <langel@redhat.com>
36261 PR classpath/25480 PR classpath/25478
36262 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36263 (updateViewport): Made changes suggested by
36265 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36266 Removed unneeded import.
36267 (createList): Removed comment, JList wrapping
36269 (getPreferredSize): Made changes suggested by
36270 Chris Lansdown. Uses fileListPanel, instead
36272 (getMinimumSize): Uses fileListPanel, instead
36274 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36275 (paintFocus): Fixed height.
36277 2006-01-03 Roman Kennke <kennke@aicas.com>
36279 * javax/swing/plaf/basic/BasicListUI.java
36280 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36282 2006-01-03 Roman Kennke <kennke@aicas.com>
36284 * javax/swing/plaf/basic/BasicListUI.java
36285 (locationToIndex): Special case for when variable cell heights
36286 are possible. (cellHeights is used instead of cellHeight).
36287 (indexToLocation): Special case for when variable cell heights
36288 are possible. (cellHeights is used instead of cellHeight).
36290 2006-01-03 Roman Kennke <kennke@aicas.com>
36292 * javax/swing/text/DefaultStyledDocument.java
36293 (ElementBuffer.remove): New method.
36294 (ElementBuffer.removeUpdate): New method.
36295 (removeUpdate): New method.
36297 2006-01-03 Roman Kennke <kennke@aicas.com>
36300 (dist-hook): Preserve attributes of Java sources when copying to
36303 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36305 * AUTHORS: Added self.
36306 * java/security/Security.java (getProvider): Ensures provider's name is
36307 not null, not an empty string, and is trimmed before usage.
36309 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36311 * gnu/CORBA/Poa/AOM.java (add):
36312 Changed parameter Object into gnuServantObject.
36313 (Obj.object): Changed type to gnuServantObject.
36314 (findObject): Rewritten.
36316 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36318 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36319 buffering. Ability has gone in Qt-4.1.x.
36321 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36322 to have the right include flags.
36324 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36326 * java/security/MessageDigest.java (getInstance(String,String)):
36327 Use trimmed copy of provider name.
36328 * gnu/java/security/Engine.java
36329 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36330 service and algorithm names.
36332 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36334 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36335 localhost is null or is an empty string. Trim hostname before