1 2007-02-09 Tom Tromey <tromey@redhat.com>
5 * configure.ac: Also check for jack/jack.h.
7 2007-02-09 Jakub Jelinek <jakub@redhat.com>
9 * java/util/TimeZone.java: Handle default (one hour) daylight
12 2007-02-09 Jakub Jelinek <jakub@redhat.com>
15 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
16 just Rule lines, in the other everything else. Pass 0 instead of
17 $savings as second argument to parseRule when parsing the start
19 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
21 2007-02-07 Chris Burdess <dog@gnu.org>
24 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
25 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
26 SAXSources without a backing URL or stream.
29 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
30 LSParser if implementation does not support asynchronous.
31 * gnu/xml/stream/XMLParser.java,
32 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
33 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
34 protocol handler problems.
36 2007-02-06 Tom Tromey <tromey@redhat.com>
39 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
40 (printClass): Always print a header.
42 2007-02-05 Andrew Haley <aph@redhat.com>
45 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
46 (printClass): Replace '/' in filenames with '_'.
47 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
48 (printClass): Likewise.
50 2007-02-05 Tom Tromey <tromey@redhat.com>
52 * java/net/Proxy.java (equals): Handle case where address==null.
56 2007-01-31 Tom Tromey <tromey@redhat.com>
58 * resource/gnu/classpath/tools/jar/messages.properties
59 (Main.Stdin): New message.
60 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
62 (readNames): New method.
65 2007-01-26 Andrew Haley <aph@redhat.com>
67 * java/lang/SecurityManager.java: Load and initialize
68 java.security.Security.
70 2007-01-26 Tom Tromey <tromey@redhat.com>
72 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
73 'volatile' after field type.
75 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
77 * java/util/Arrays.java (binarySearch): Change comparison order.
79 2007-01-17 Tom Tromey <tromey@redhat.com>
81 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
82 (PathOptionGroup): Set default boot class path.
84 2006-12-14 Andrew Haley <aph@redhat.com>
86 * tools/gnu/classpath/tools/jar/Creator.java: Close the
89 2006-10-12 Andrew Haley <aph@redhat.com>
91 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
92 * java/lang/ThreadLocal.java: Likewise.
94 2006-09-13 Andrew Haley <aph@redhat.com>
96 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
97 Revert previous gcj-specific disabling of checks.
98 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
100 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
103 2006-09-13 Andrew Haley <aph@redhat.com>
105 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
107 (Iterator.remove()): Decrement index after removing element.
109 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
111 * javax/net/ssl/SSLSocketFactory.java (getDefault):
112 Chain exception cause.
114 2006-12-11 Roman Kennke <kennke@aicas.com>
116 * .classpath: Include ASM in Eclipse classpath.
118 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
120 * gnu/java/lang/management/BeanImpl.java:
121 (translate(String)): Trim strings of whitespace.
122 * javax/management/MBeanAttributeInfo.java:
123 (MBeanAttributeInfo(String,String,Method,Method)):
124 Use Class.getName() for normal (non-parameterized) cases.
125 * javax/management/MBeanConstructorInfo.java:
126 (MBeanConstructorInfo(String, Constructor)):
128 * javax/management/MBeanOperationInfo.java:
129 (MBeanOperationInfo(String, Method)):
132 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
134 * java/lang/Class.java:
135 (getClasses()): Return Class<?>[].
136 (internalGetClasses()): Likewise.
137 (getConstructor(Class<?>...)): Add type parameter
139 (getDeclaredConstructor(Class<?>...)): Likewise.
140 (getDeclaredClasses()): Return Class<?>[].
141 (getDeclaredClasses(boolean)): Likewise.
142 (getDeclaredConstructors()): Return Constructor<?>[].
143 (getDeclaredConstructors(boolean)): Likewise.
144 (getDeclaredMethod(String,Class<?>...)): Add type
145 parameter to parameters.
146 (getInterfaces()): Return Class<?>[].
147 (getMethods(String,Class<?>...)): Add type
148 parameter to parameters.
149 * java/text/CollationKey.java:
151 * java/text/DecimalFormatSymbols.java:
154 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
156 * gnu/java/lang/management/BeanImpl.java:
157 (translate(String)): Handle Map and List as
158 Strings of the form "java.util.Map<K,V>" and
160 * javax/management/MBeanAttributeInfo.java:
161 (MBeanAttributeInfo(String,String,Method,Method)):
162 Use generic parameter and return types.
163 * javax/management/MBeanConstructorInfo.java:
164 (MBeanConstructorInfo(String, Constructor)):
165 Use generic parameter types.
166 * javax/management/MBeanOperationInfo.java:
167 (MBeanOperationInfo(String, Method)):
168 Use generic parameter and return types.
170 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
172 * gnu/java/lang/management/BeanImpl.java:
173 (translate(String)): Comment out code for using type
174 variables for Map and List.
175 * java/lang/Thread.java:
176 (Thread(ThreadGroup,Runnable,String,long)): Fix
177 incrementation of totalThreadsCreated to be prior to use.
179 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
181 * javax/management/MBeanServerFactory.java:
182 (createMBeanServer(String)): Added security check.
183 (findMBeanServer(String)): Likewise.
184 (newMBeanServer(String)): Likewise.
185 (releaseMBeanServer(String)): Likewise.
186 * javax/management/MBeanServerPermission.java:
189 2006-12-08 David Daney <ddaney@avtrex.com>
191 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
194 2006-12-08 David Daney <ddaney@avtrex.com>
196 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
198 2006-12-08 David Daney <ddaney@avtrex.com>
200 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
202 (HTTPConnection): Handle NumberFormatException in properties parsing.
203 (Pool.get): Set timeout on reused sockets.
204 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
206 (HTTPURLConnection): Cleanup properties handling.
207 (getConnection): Use both connection and read timeouts.
208 (setConnectTimeout): Removed.
209 (setReadTimeout): New method.
210 * java/net/URLConnection.java (timeout): Renamed to...
211 (connectTimeout): ... connectTimeout throughout.
212 (readTimeout): New field.
213 (getReadTimeout): New method.
214 (setReadTimeout): New method.
216 2006-12-08 Tania Bento <tbento@redhat.com>
218 * java/awt/ScrollPane.java
219 (doLayout): Change the location of the scrollpane's child
222 2006-12-08 David Daney <ddaney@avtrex.com>
224 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
226 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
227 SocketTimeoutException if a blocking socket timesout.
228 (Java_gnu_java_nio_VMChannel_readScattering): Same.
229 (Java_gnu_java_nio_VMChannel_read__I): Same.
230 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
231 (Java_gnu_java_nio_VMChannel_connect6): Same.
233 2006-12-08 Mark Wielaard <mark@klomp.org>
235 * configure.ac (VERSION): Set to 0.93-generics.
236 * NEWS: Add release date.
238 2006-12-08 Tania Bento <tbento@redhat.com>
240 * java/awt/ScrollPane.java
241 (getScrollPosition): Throw NullPointerException if scrollpane
243 (setScrollPosition(int, int)): Throw NullPointerException if
244 scrollpane does have a child. Check that both ints are within
245 the allowed bounds; If they are not, scroll to the closest allowed
248 2006-12-07 Roman Kennke <kennke@aicas.com>
250 * javax/swing/JEditorPane.java
251 (EditorKitMapping): New inner helper class.
252 (editorKits): New static field for caching editor kit instances.
253 (static_initiazer): Initialize static mappings here.
254 (createEditorKitForContentType): Try to use cached instance.
255 Use correct classloader for loading.
256 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
258 (getEditorKitForContentType): Store the fetched editor kit.
259 Fallback to createDefaultEditorKit().
260 (init): Don't clean the static registry here.
261 (registerEditorKitForContentType(String,String,ClassLoader)):
263 (registerEditorKitForContentType(String,String)): Delegate to
264 the other version of this method with the thread's context
267 2006-12-07 Mark Wielaard <mark@klomp.org>
269 * examples/gnu/classpath/examples/swing/HtmlDemo.java
270 (setPage): Don't convert URL to String for setPage().
272 2006-12-07 Mark Wielaard <mark@klomp.org>
274 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
276 2006-12-07 Mark Wielaard <mark@klomp.org>
278 * tools/Makefile.am: Explicitly define and use bootclasspath as
281 2006-12-07 Mark Wielaard <mark@klomp.org>
283 * javax/swing/JEditorPane.java (createEditorKitForContentType):
284 Always load from system class loader.
286 2006-12-07 Mark Wielaard <mark@klomp.org>
288 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
290 (URL(URL,String,URLStreamHandler)): Call new constructor.
291 (URL(URL,String)): Likewise.
292 (URL(String)): Likewise.
294 2006-12-07 Tom Tromey <tromey@redhat.com>
297 * INSTALL: Don't mention --with-asm.
298 * tools/external/README: New file.
299 * tools/toolwrapper.c (main): Don't use ASM_JAR.
300 * tools/gjavah.in: Don't use PATH_TO_ASM.
301 * tools/grmic.in: Likewise.
302 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
304 (javah, rmic): Removed variables.
305 (bin_PROGRAMS): Updated.
306 (gappletviewer_CFLAGS): Don't define ASM_JAR.
307 (gjarsigner_CFLAGS): Likewise.
308 (gkeytool_CFLAGS): Likewise.
309 (gjar_CFLAGS): Likewise.
310 (gnative2ascii_CFLAGS): Likewise.
311 (gserialver_CFLAGS): Likewise.
312 (grmiregistry_CFLAGS): Likewise.
313 (gtnameserv_CFLAGS): Likewise.
314 (gorbd_CFLAGS): Likewise.
315 (grmid_CFLAGS): Likewise.
316 (gjavah_CFLAGS): Likewise.
317 (grmic_CFLAGS): Likewise.
318 (bin_SCRIPTS): Updated.
319 (TOOLS_JAVA_FILES): Updated.
320 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
321 * configure.ac: Removed --with-asm. Always build gjavah.
323 2006-12-06 Roman Kennke <kennke@aicas.com>
325 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
327 * examples/gnu/classpath/examples/swing/HtmlDemo.java
328 (LoadActionListener): Call setPage() helper method.
329 (createContent): Register tweaked editor kit. For FormSubmitEvents
330 call submitForm(), otherwise setPage().
331 (postData): Helper method for posting form data.
332 (setPage): Helper method for navigating to a new URL.
333 (submitForm): Helper method for submitting a form.
334 * examples/gnu/classpath/examples/swing/forms.html:
335 Added text/password fields and select boxes.
336 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
338 2006-12-06 Roman Kennke <kennke@aicas.com>
340 * javax/swing/text/html/FormView.java
341 (SubmitThread.postData): Implemented.
342 (SubmitThread.run): Pass data to postData().
343 (actionPerformed): Reset form when reset button is activated.
344 (createComponent): Add support for select lists and comboboxes.
345 Don't set value of text and password fields here, this is done
346 now in HTMLDocument for consistency.
347 (getElementFormData): Add support for fetching form data from
348 select lists and comboboxes as well as textareas.
349 (getSelectData): New helper method. Fetches form data from
351 (getTextAreaData): New helper method. Fetches form data from
353 (resetForm): New helper method. Resets the entire form.
354 * javax/swing/text/html/HTMLDocument.java
355 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
356 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
357 (HTMLReader.FormAction.setModel): Initialize text and password
358 values here. Also, use the resetable special models.
359 Group radio buttons into ButtonGroup for exclusive selection.
360 (HTMLReader.FormTagAction): New class. Handles FORM tags.
361 (HTMLReader.buttonGroups): New field.
362 (HTMLReader.numOptions): New field.
363 (HTMLReader.option): New field.
364 (HTMLReader.selectModel): New field.
365 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
366 (HTMLReader.handleText): Handle OPTION text.
367 (HTMLReader.initTags): Map FORM tags to FormTagAction.
368 (HTMLReader.textAreaContent): Set initial content.
369 * javax/swing/text/html/Option.java
370 (Option): Make copy of attribute set. Initialize selected state.
371 (getValue): Fetch value from attribute set.
372 * javax/swing/text/html/ResetableModel.java: New interface.
373 * javax/swing/text/html/ResetablePlainDocument.java: New class.
374 Supports resetting the state.
375 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
376 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
377 * javax/swing/text/html/SelectListModel.java: Likewise.
379 2006-12-06 Roman Kennke <kennke@aicas.com>
381 * javax/swing/text/DefaultCaret.java
382 (appear): Adjust visibility here.
383 (setDotImpl): Don't adjust visibility here.
384 (moveDotImpl): Don't adjust visibility here.
386 2006-12-06 Roman Kennke <kennke@aicas.com>
388 * gnu/java/awt/peer/gtk/AsyncImage.java
389 (Loader.run): Synchronize on the AsyncImage to avoid threading
391 (addObservers): Check for obs==null outside and synchronize on
392 this inside to avoid locking issues.
393 (checkImage): New helper method.
394 (notifyObservers): Check that the correct lock is held and
395 remove actual locking.
396 * gnu/java/awt/peer/gtk/GtkToolkit.java
397 (checkImage): Added special handling for AsyncImages.
399 2006-12-06 Roman Kennke <kennke@aicas.com>
401 * examples/gnu/classpath/examples/swing/Demo.java
402 (getIcon): Made package private.
403 * examples/gnu/classpath/examples/swing/HtmlDemo.java
404 (hyperlinkUpdate): Convert URL to string.
406 2006-12-06 Mark Wielaard <mark@klomp.org>
408 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
411 2006-12-06 Roman Kennke <kennke@aicas.com>
413 * examples/gnu/classpath/examples/icons/back.png,
414 * examples/gnu/classpath/examples/icons/reload.png:
415 New icons for the HTML browser.
416 * examples/gnu/classpath/examples/swing/HtmlDemo.java
417 (history): New field. Manages the browsing history.
418 (HtmlDemo): Initialize history.
419 (createContent): Set location and add history. Add toolbar.
420 (createToolBar): New helper method.
421 (main): Make default size bigger.
422 * examples/gnu/classpath/examples/swing/frame1.html,
423 * examples/gnu/classpath/examples/swing/frame2.html,
424 * examples/gnu/classpath/examples/swing/frame3.html,
425 * examples/gnu/classpath/examples/swing/frame4.html,
426 * examples/gnu/classpath/examples/swing/frames.html,
427 * examples/gnu/classpath/examples/swing/tables.html:
429 * examples/gnu/classpath/examples/swing/welcome.html
430 Add a couple of links and new test pages.
432 2006-12-06 Roman Kennke <kennke@aicas.com>
434 * javax/swing/JEditorPane.java
435 (getStream): Buffer the stream for efficiency.
436 (setPage): Don't scroll the view at this point.
437 * javax/swing/plaf/basic/BasicTextUI.java
438 (RootView.paint): Call RootView's setSize to get synchronization.
439 (RootView.setSize): Synchronize to prevent race in layout code.
440 * javax/swing/text/AbstractDocument.java
441 (notifyListeners): New field.
442 (fireChangedUpdate): Track notifyListener field.
443 (fireRemoveUpdate): Track notifyListener field.
444 (fireIndertUpdate): Track notifyListener field.
445 (writeLock): Check notifyListener and throw IllegalStateException.
446 * javax/swing/text/View.java
447 (preferenceChanged): Create local var for better thread safety and
450 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
452 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
453 lightweight component, not just for non-Panel components.
454 (addImpl): Do not call doLayout.
455 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
456 (setNativeBounds): Ensure widget parent is a GtkFixed before
457 calling gtk_fixed_move.
458 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
459 (setNativeBounds): Likewise.
460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
461 (setNativeBounds): Likewise.
463 2006-12-06 Roman Kennke <kennke@aicas.com>
465 * javax/swing/text/html/TableView.java
466 (RowView.layoutMajorAxis): Check column index for invalid value.
467 (updateGrid): Check column index for invalid value.
469 2006-12-06 Roman Kennke <kennke@aicas.com>
471 * javax/swing/text/html/BlockView.java
472 (getAlignment): Align blocks horizontally by the superclass.
473 * javax/swing/text/html/HTMLEditorKit.java
474 (HTMLFactory.create): Replace equals comparison by == for efficiency.
475 Add mapping for misplaced tr, td and th tags. Include object mapping.
476 * javax/swing/text/html/TableView.java
477 (RowView.replace): Invalidate grid early.
478 (gridValid): Initialize with false.
479 (create): Only create RowView and CellView for correctly placed
480 tags. Avoid unnecessary casts.
481 (getAlignment): Removed.
482 (replace): Invalidate grid early.
484 2006-12-06 Francis Kung <fkung@redhat.com>
486 * java/awt/geom/RectangularShape.java
487 (getBounds): Remove empty rectangle check.
489 2006-12-06 Ben Konrath <bkonrath@redhat.com>
492 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
493 newValue are the same.
494 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
496 2006-12-06 Tania Bento <tbento@redhat.com>
498 * javax/swing/border/CompoundBorder.java:
499 (isBorderOpaque): If inside border is null, return true if outside
500 border is opaque, false otherwise; if outside border is null, return
501 true if inside border is opaque, false otherwise; if inside or
502 outside border are both not null, then return true only if both the
503 inside and outside border are opaque, false otherwise.
505 2006-12-06 Tania Bento <tbento@redhat.com>
507 * javax/swing/border/CompoundBorder.java:
508 (isBorderOpaque): If inside and outside border both have a null
511 2006-12-06 Chris Burdess <dog@gnu.org>
514 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
515 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
517 2006-12-06 Chris Burdess <dog@gnu.org>
520 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
523 2006-12-06 Chris Burdess <dog@gnu.org>
526 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
527 discover schema factory implementation class.
529 2006-12-05 Francis Kung <fkung@redhat.com>
531 * java/awt/BasicStroke.java
532 (capEnd): Prevent division by zero.
533 * java/awt/geom/Arc2D.java
534 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
535 (ArcIterator.currentSegment): Handle a negative extent.
537 2006-12-05 Francis Kung <fkung@redhat.com>
539 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
540 (constructor): Handle translated subimages properly, ie, if the image's
541 0,0 position is not the data buffer's first element.
543 2006-12-05 Roman Kennke <kennke@aicas.com>
545 * gnu/java/awt/peer/gtk/AsyncImage.java
546 (Loader.run): Nullify observers after loading.
547 (observers): Made package private.
548 (addObserver): Check for null observers field. Create local
549 variable for thread safety.
550 (getHeight): Use addObserver() for checking state of field
551 and notifying observer when necessary.
552 (getWidth): Use addObserver() for checking state of field
553 and notifying observer when necessary.
554 (getProperty): Use addObserver() for checking state of field
555 and notifying observer when necessary.
556 (notifyObservers): Check for null observers field. Create local
557 variable for thread safety.
559 2006-12-05 Roman Kennke <kennke@aicas.com>
561 * javax/swing/text/html/HTMLEditorKit.java
562 (HTMLFactory.create): Removed debug output.
563 * javax/swing/text/html/InlineView.java
564 (getBreakWeight): Likewise.
565 * javax/swing/text/html/StyleSheet.java
567 (ListPainter.paint): Removed debug output.
569 2006-12-05 Roman Kennke <kennke@aicas.com>
571 * javax/swing/text/html/BlockView.java
572 (painter): Made package visible.
573 * javax/swing/text/html/StyleSheet.java
574 (translateBorder): New helper method.
575 (translateHTMLToCSS): Add mappings for border attributes.
576 * javax/swing/text/html/TableView.java
577 Made class subclass of BlockView to get CSS goodness.
578 (CellView.rowSpan): New field.
579 (CellView.setPropertiesFromAttributes): Fetch rowspan.
580 (RowView.overlap): New field.
581 (RowView.rowIndex): New field.
582 (RowView.layoutMajorAxis): Skip overlapping cells.
583 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
584 (numColumns): New field.
585 (tmpRect): New field.
586 (TableView): Initialize tmpRect.
587 (calculateColumnRequirements): Adjusted and fixed for multirows.
588 (getAlignment): Overridden to center tables.
589 (paint): Overridden to fix clipping.
590 (getStyleSheet): Made protected.
591 (layoutMajorAxis): Invalidate rows.
592 (setPropertiesFromAttributes): Made protected and call super.
593 (updateGrid): Update the overlapping information for multirows.
595 2006-12-05 Roman Kennke <kennke@aicas.com>
597 * gnu/java/awt/peer/gtk/AsyncImage.java
598 (addObserver): Check for null and ignore null observers.
599 (getWidth): Check for null and ignore null observers.
600 (getHeight): Check for null and ignore null observers.
601 (getProperty): Check for null and ignore null observers.
603 2006-12-05 Francis Kung <fkung@redhat.com>
605 * java/awt/BasicStroke.java
606 (capEnd): Prevent division by zero.
607 * java/awt/geom/Arc2D.java
608 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
609 (ArcIterator.currentSegment): Handle a negative extent.
611 2006-12-05 Francis Kung <fkung@redhat.com>
613 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
614 (constructor): Handle translated subimages properly, ie, if the image's
615 0,0 position is not the data buffer's first element.
617 2006-12-05 Roman Kennke <kennke@aicas.com>
619 * javax/swing/text/html/ImageView.java
620 (imageUpdate): Use spans field to determine if the CSS width/height
621 are set. Call safePreferenceChanged to protect view structure
622 from threading issues.
623 (spans): Made package private.
624 (ImageView): Initialize loadOnDemand with false.
625 (loadImage): Call Toolkit.prepareImage() to make sure we have
626 our Observer registered.
627 (safePreferenceChanged): New helper method. Calls preferenceChanged
628 in a thread safe environment.
630 2006-12-05 Roman Kennke <kennke@aicas.com>
632 * NEWS: Add entry about improved HTML support.
634 2006-12-05 Roman Kennke <kennke@aicas.com>
636 * javax/swing/text/html/ImageView.java
637 (ImageView): Initialize spans array here.
638 (setPropertiesFromAttributes): Moved init of spans array to
641 2006-12-05 Roman Kennke <kennke@aicas.com>
643 * javax/swing/text/html/BlockView.java
644 (painter): Made package visible.
645 * javax/swing/text/html/StyleSheet.java
646 (translateBorder): New helper method.
647 (translateHTMLToCSS): Add mappings for border attributes.
648 * javax/swing/text/html/TableView.java
649 Made class subclass of BlockView to get CSS goodness.
650 (CellView.rowSpan): New field.
651 (CellView.setPropertiesFromAttributes): Fetch rowspan.
652 (RowView.overlap): New field.
653 (RowView.rowIndex): New field.
654 (RowView.layoutMajorAxis): Skip overlapping cells.
655 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
656 (numColumns): New field.
657 (tmpRect): New field.
658 (TableView): Initialize tmpRect.
659 (calculateColumnRequirements): Adjusted and fixed for multirows.
660 (getAlignment): Overridden to center tables.
661 (paint): Overridden to fix clipping.
662 (getStyleSheet): Made protected.
663 (layoutMajorAxis): Invalidate rows.
664 (setPropertiesFromAttributes): Made protected and call super.
665 (updateGrid): Update the overlapping information for multirows.
667 2006-12-05 Roman Kennke <kennke@aicas.com>
669 * javax/swing/text/html/HTMLEditorKit.java
670 (HTMLFactory.create): Removed debug output.
671 * javax/swing/text/html/InlineView.java
672 (getBreakWeight): Likewise.
673 * javax/swing/text/html/StyleSheet.java
675 (ListPainter.paint): Removed debug output.
677 2006-12-06 Roman Kennke <kennke@aicas.com>
679 * javax/swing/text/html/BlockView.java
680 (getAlignment): Align blocks horizontally by the superclass.
681 * javax/swing/text/html/HTMLEditorKit.java
682 (HTMLFactory.create): Replace equals comparison by == for efficiency.
683 Add mapping for misplaced tr, td and th tags. Include object mapping.
684 * javax/swing/text/html/TableView.java
685 (RowView.replace): Invalidate grid early.
686 (gridValid): Initialize with false.
687 (create): Only create RowView and CellView for correctly placed
688 tags. Avoid unnecessary casts.
689 (getAlignment): Removed.
690 (replace): Invalidate grid early.
693 2006-12-06 Roman Kennke <kennke@aicas.com>
695 * javax/swing/text/html/TableView.java
696 (RowView.layoutMajorAxis): Check column index for invalid value.
697 (updateGrid): Check column index for invalid value.
699 2006-12-06 Roman Kennke <kennke@aicas.com>
701 * javax/swing/JEditorPane.java
702 (getStream): Buffer the stream for efficiency.
703 (setPage): Don't scroll the view at this point.
704 * javax/swing/plaf/basic/BasicTextUI.java
705 (RootView.paint): Call RootView's setSize to get synchronization.
706 (RootView.setSize): Synchronize to prevent race in layout code.
707 * javax/swing/text/AbstractDocument.java
708 (notifyListeners): New field.
709 (fireChangedUpdate): Track notifyListener field.
710 (fireRemoveUpdate): Track notifyListener field.
711 (fireIndertUpdate): Track notifyListener field.
712 (writeLock): Check notifyListener and throw IllegalStateException.
713 * javax/swing/text/View.java
714 (preferenceChanged): Create local var for better thread safety and
717 2006-12-06 Roman Kennke <kennke@aicas.com>
719 * examples/gnu/classpath/examples/icons/back.png,
720 * examples/gnu/classpath/examples/icons/reload.png:
721 New icons for the HTML browser.
722 * examples/gnu/classpath/examples/swing/HtmlDemo.java
723 (history): New field. Manages the browsing history.
724 (HtmlDemo): Initialize history.
725 (createContent): Set location and add history. Add toolbar.
726 (createToolBar): New helper method.
727 (main): Make default size bigger.
728 * examples/gnu/classpath/examples/swing/frame1.html,
729 * examples/gnu/classpath/examples/swing/frame2.html,
730 * examples/gnu/classpath/examples/swing/frame3.html,
731 * examples/gnu/classpath/examples/swing/frame4.html,
732 * examples/gnu/classpath/examples/swing/frames.html,
733 * examples/gnu/classpath/examples/swing/tables.html:
735 * examples/gnu/classpath/examples/swing/welcome.html
736 Add a couple of links and new test pages.
738 2006-12-06 Roman Kennke <kennke@aicas.com>
740 * examples/gnu/classpath/examples/swing/Demo.java
741 (getIcon): Made package private.
742 * examples/gnu/classpath/examples/swing/HtmlDemo.java
743 (hyperlinkUpdate): Convert URL to string.
745 2006-12-06 Roman Kennke <kennke@aicas.com>
747 * javax/swing/text/DefaultCaret.java
748 (appear): Adjust visibility here.
749 (setDotImpl): Don't adjust visibility here.
750 (moveDotImpl): Don't adjust visibility here.
752 2006-12-06 Roman Kennke <kennke@aicas.com>
754 * javax/swing/text/html/FormView.java
755 (SubmitThread.postData): Implemented.
756 (SubmitThread.run): Pass data to postData().
757 (actionPerformed): Reset form when reset button is activated.
758 (createComponent): Add support for select lists and comboboxes.
759 Don't set value of text and password fields here, this is done
760 now in HTMLDocument for consistency.
761 (getElementFormData): Add support for fetching form data from
762 select lists and comboboxes as well as textareas.
763 (getSelectData): New helper method. Fetches form data from
765 (getTextAreaData): New helper method. Fetches form data from
767 (resetForm): New helper method. Resets the entire form.
768 * javax/swing/text/html/HTMLDocument.java
769 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
770 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
771 (HTMLReader.FormAction.setModel): Initialize text and password
772 values here. Also, use the resetable special models.
773 Group radio buttons into ButtonGroup for exclusive selection.
774 (HTMLReader.FormTagAction): New class. Handles FORM tags.
775 (HTMLReader.buttonGroups): New field.
776 (HTMLReader.numOptions): New field.
777 (HTMLReader.option): New field.
778 (HTMLReader.selectModel): New field.
779 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
780 (HTMLReader.handleText): Handle OPTION text.
781 (HTMLReader.initTags): Map FORM tags to FormTagAction.
782 (HTMLReader.textAreaContent): Set initial content.
783 * javax/swing/text/html/Option.java
784 (Option): Make copy of attribute set. Initialize selected state.
785 (getValue): Fetch value from attribute set.
786 * javax/swing/text/html/ResetableModel.java: New interface.
787 * javax/swing/text/html/ResetablePlainDocument.java: New class.
788 Supports resetting the state.
789 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
790 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
791 * javax/swing/text/html/SelectListModel.java: Likewise.
793 2006-12-06 Roman Kennke <kennke@aicas.com>
795 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
797 * examples/gnu/classpath/examples/swing/HtmlDemo.java
798 (LoadActionListener): Call setPage() helper method.
799 (createContent): Register tweaked editor kit. For FormSubmitEvents
800 call submitForm(), otherwise setPage().
801 (postData): Helper method for posting form data.
802 (setPage): Helper method for navigating to a new URL.
803 (submitForm): Helper method for submitting a form.
804 * examples/gnu/classpath/examples/swing/forms.html:
805 Added text/password fields and select boxes.
806 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
808 2006-12-07 Mark Wielaard <mark@klomp.org>
810 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
812 (URL(URL,String,URLStreamHandler)): Call new constructor.
813 (URL(URL,String)): Likewise.
814 (URL(String)): Likewise.
816 2006-12-07 Mark Wielaard <mark@klomp.org>
818 * javax/swing/JEditorPane.java (createEditorKitForContentType):
819 Always load from system class loader.
821 2006-12-06 Ben Konrath <bkonrath@redhat.com>
824 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
825 newValue are the same.
826 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
828 2006-12-06 Chris Burdess <dog@gnu.org>
831 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
832 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
834 2006-12-06 Chris Burdess <dog@gnu.org>
837 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
840 2006-12-056 Chris Burdess <dog@gnu.org>
843 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
844 discover schema factory implementation class.
846 2006-12-05 Roman Kennke <kennke@aicas.com>
848 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
849 asynchronous loading of images.
850 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
851 (drawImage): Fetch real image from possibly AsyncImage.
852 * gnu/java/awt/peer/gtk/ComponentGraphics.java
853 (drawImage): Fetch real image from possibly AsyncImage.
854 * gnu/java/awt/peer/gtk/GtkToolkit.java
855 (createImage(URL)): Create async image.
856 (imageOrError): Made method static for easy access from AsyncImage.
857 (prepareImage): For async images, register the observer to the
860 2006-12-05 Roman Kennke <kennke@aicas.com>
862 (paintComponent): Include paint area from event.
863 (updateComponent): Include paint area from event.
865 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
867 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
868 lightweight component, not just for non-Panel components.
869 (addImpl): Do not call doLayout.
870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
871 (setNativeBounds): Ensure widget parent is a GtkFixed before
872 calling gtk_fixed_move.
873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
874 (setNativeBounds): Likewise.
875 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
876 (setNativeBounds): Likewise.
878 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
880 * java/awt/Component.java (getFontImpl): Return a default font if
881 topmost parent's font is null.
883 2006-12-04 Mark Wielaard <mark@klomp.org>
885 * javax/swing/text/html/CSS.java (parseMarginShorthand):
888 2006-12-04 Roman Kennke <kennke@aicas.com>
890 * java/awt/font/TextLayout.java
891 (hitTestChar): Fixed conditions for inclusion of range.
892 Use layout information in the run for more efficiency.
894 2006-12-04 Roman Kennke <kennke@aicas.com>
896 * javax/swing/text/GlyphView.java
897 (J2DGlyphPainter): New inner class.
898 (checkPainter): For Java2D capable environments create
901 2006-12-04 Roman Kennke <kennke@aicas.com>
903 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
904 (FreeTypeGlyphVector): Don't filter control chars here.
905 (getGlyphs): Filter control chars and replace them by
908 2006-12-04 Roman Kennke <kennke@aicas.com>
910 * native/jni/java-nio/gnu_java_nio_VMChannel.c
911 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
913 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
915 * gnu/java/lang/management/BeanImpl.java:
916 (translate(String)): Don't assume the list uses "E",
917 just use the first and only type variable.
918 * java/lang/management/ManagementFactory.java:
919 (getPlatformMBeanServer()): Register logging bean.
920 * javax/management/openmbean/OpenType.java:
921 (OpenType(String,String,String)): Actually use
922 the string created to handle arrays.
924 2006-12-04 Mark Wielaard <mark@klomp.org>
926 * native/jni/java-nio/gnu_java_nio_VMChannel.c
927 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
929 2006-12-04 Mark Wielaard <mark@klomp.org>
931 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
933 * native/jni/java-nio/gnu_java_nio_VMChannel.c
934 (JCL_thread_interrupted): Only take JNIEnv.
935 (vm_channel_class): New static variable.
936 (initID): Set vm_channel_class.
937 Wrap all reads() and writes() in do-while blocks that check
940 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
942 * gnu/javax/management/Server.java:
943 Make map final and initialise it.
944 (unregisterMBean(ObjectName)): Match against
945 delegate's object name and not the instance.
946 * java/lang/management/ManagementFactory.java:
947 Added constant fields.
948 (getPlatformMBeanServer()): Implemented.
949 * javax/management/MBeanServerFactory.java: New file.
951 2006-12-04 Roman Kennke <kennke@aicas.com>
953 * javax/swing/text/BoxView.java
954 (paint): Replaced painting algorithm with more simple and more
955 reliable painting of the box.
956 * javax/swing/text/html/BlockView.java
957 (PositionInfo): New inner class. Stores additional CSS
958 positioning information.
959 (positionInfo): New field.
960 (BlockView): Initialize positionInfo field.
961 (fetchLayoutInfo): New helper method. Fetches additional
962 CSS positioning information.
963 (layoutMajorAxis): Perform additional CSS layout.
964 (layoutMinorAxis): Perform additional CSS layout.
965 (positionView): New helper method.
966 (replace): Overridden to fetch additional layout information.
967 * javax/swing/text/html/CSS.java
968 (Attribute.POSITION): New field.
969 (Attribute.LEFT): New field.
970 (Attribute.RIGHT): New field.
971 (Attribute.TOP): New field.
972 (Attribute.BOTTOM): New field.
973 (getValue): Create Length for left, right, top and bottom
976 2006-12-04 Roman Kennke <kennke@aicas.com>
978 * gnu/javax/swing/text/html/parser/support/Parser.java
979 (Sgml): Consume any whitespace that immediately follows
981 (parseDocument): Consume any initial whitespace.
983 2006-12-03 Mark Wielaard <mark@klomp.org>
985 * gnu/javax/management/Server.java (beans): Initialize.
986 (registerMBean): Don't initialize beans.
988 2006-12-03 Mark Wielaard <mark@klomp.org>
990 * java/util/logging/LogManager.java (getLevelProperty): Check
991 whether value is null before passing to Level.parse().
993 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
995 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
996 whether given a null lock and lockOwner.
998 2006-12-03 Mark Wielaard <mark@klomp.org>
1000 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1001 (PageLoader.page): Made package local.
1002 (PageLoader.run): Don't reset loader.
1003 (PageLoader.cancel): New method.
1004 (loading): Renamed to loader.
1005 (getPage): Return loader.page.
1006 (setPage): Always set loader. Never reset to null.
1008 2006-12-03 Mark Wielaard <mark@klomp.org>
1010 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1012 (isLastChild): Return false when path is null.
1014 2006-12-03 Mark Wielaard <mark@klomp.org>
1016 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1017 to currentPaintArea.
1018 (paintComponent): Work with local reference to currentPaintArea.
1019 (updateComponent): Likewise.
1020 (coalescePaintEvent): Set currentPaintArea.
1022 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
1024 * javax/management/MBeanServerBuilder.java: New file.
1026 2006-12-01 Mark Wielaard <mark@klomp.org>
1028 * java/text/DecimalFormat.java (parse): Always increment parsing
1029 index and adjust pos result.
1031 2006-12-01 Roman Kennke <kennke@aicas.com>
1033 * javax/swing/text/html/HTML.java
1034 (Attribute.DYNAMIC_CLASS): New field.
1035 (Attribute.PSEUDO_CLASS): New field.
1036 * javax/swing/text/html/HTMLDocument.java
1037 (HTMLReader.CharacterAction.start): Initialize anchor with link
1039 (updateSpecialClass): New helper method. Updates the dynamic
1040 or pseudo class for anchor tags.
1041 * javax/swing/text/html/HTMLEditorKit.java
1042 (LinkController.lastAnchorElement): New field. For tracking
1043 enter/exit of anchors.
1044 (LinkController.activateLink): Set pseudo class to 'visited'.
1045 (LinkController.mouseMoved): Added support for tracking
1046 the 'hover' dynamic class.
1047 * javax/swing/text/html/InlineView.java
1048 (changedUpdate): Fetch new properties.
1049 * javax/swing/text/html/StyleSheet.java
1050 (attributeSetToMap): New helper method.
1051 (getRule): Also append dynamic and pseudo class to key.
1052 (resolveStyle): Resolve style based generally on all attributes.
1053 * javax/swing/text/html/TableView.java
1054 (RowView.layoutMajorAxis): Make sure the grid is valid.
1055 (updateGrid): Made package private.
1056 * gnu/javax/swing/text/html/css/Selector.java
1057 (calculateSpecificity): Added support for dynamic and pseudo classes.
1058 (matches): Changed to operate on general attributes.
1059 Added support for dynamic and pseudo classes.
1061 2006-12-01 Mario Torre <neugens@limasoftware.net>
1063 * java/text/DecimalFormat.java (formatInternal): move the formatting of
1064 fractional portion in a separate method.
1065 Also fixes the handling of decimal separator and its associated field.
1066 (handleFractionalPart): new method, needed to relax a bit
1069 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1071 * java/beans/beancontext/BeanContextServicesSupport.java:
1072 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1073 Class)): Implemented.
1074 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1075 Class, Object)): Implemented.
1076 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1077 Object, Object)): Implemented.
1078 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1080 (initialiseBeanContextResources()): Implemented.
1081 (releaseBeanContextResoures()): Implemented.
1083 2006-12-01 Mark Wielaard <mark@klomp.org>
1085 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1087 2006-12-01 Roman Kennke <kennke@aicas.com>
1089 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1090 handling border styles.
1091 * gnu/javax/swing/text/html/css/BorderWidth.java
1092 (isValid): New method.
1093 * gnu/javax/swing/text/html/css/Length.java
1094 (isValid): New method.
1095 * javax/swing/text/html/CSS.java
1096 (addInternal): Added shorthand parsing for border, padding and
1098 (parseBackgroundShorthand): Added API docs.
1099 (parsePaddingShorthand): New method. Handles padding shorthand
1101 (parseMarginShorthand): New method. Handles margin shorthand
1103 (parseBorderShorthand): New method. Handles border shorthand
1105 * javax/swing/text/html/StyleSheet.java
1106 (translateHTMLToCSS): Set specific padding attributes.
1107 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1108 These shorthands are now handled in CSS.
1109 (BoxPainter.paint): Exclude the outer margin.
1111 2006-12-01 Roman Kennke <kennke@aicas.com>
1113 * gnu/javax/swing/text/html/css/Length.java
1114 (emBase): New field.
1115 (exBase): New field.
1116 (isFontEMRelative): New field.
1117 (isFontEXRelative): New field.
1118 (Length): Recognize and setup EM and EX relative values.
1119 (getValue): Handle EM and EX relative values.
1120 (isEMRelative): New method.
1121 (isEXRelative): New method.
1122 (setEMBase): New method.
1123 (setEXBase): New method.
1124 (setFontBases): New method.
1125 * gnu/javax/swing/text/html/parser/support/Parser.java
1126 (_handleEmptyTag): Use new isBlock() helper method.
1127 (_handleEndTag_remaining): Use new isBlock() helper method.
1128 (_handleStartTag): Consume whitespace after block start tag.
1129 (Comment): Consume whitespace after a comment.
1130 (isBlock): New helper method.
1131 (readAttributes): Consider all characters in unquoted attribute
1133 * javax/swing/text/html/BlockView.java
1134 (layoutMinorAxis): Use cached span value.
1135 (paint): Added debug code (commented out).
1136 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1137 * javax/swing/text/html/CSSBorder.java
1138 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1140 (getBorderWidth): Set the EM and EX base on the length values.
1141 * javax/swing/text/html/HTMLDocument.java
1142 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1143 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1144 (HTMLReader.inImpliedParagraph): Removed.
1145 (HTMLReader.inParagraph): Removed.
1146 (HTMLReader.parseStack): New field.
1147 (HTMLReader.addContent): Use new paragraph handling.
1148 (HTMLReader.addSpecialElement): Use new paragraph handling.
1149 (HTMLReader.blockClose): Use new paragraph handling.
1150 (HTMLReader.blockOpen): Use new paragraph handling.
1151 (HTMLReader.inImpliedParagraph): New helper method.
1152 (HTMLReader.inParagraph): New helper method.
1153 * javax/swing/text/html/ImageView.java
1154 (attributes): New field. Caches view attributes.
1155 (spans): New field. Caches CSS spans.
1156 (getAttributes): Correctly setup CSS view attributes.
1157 (getPreferredSpan): Use caches spans.
1158 (getStyleSheet): Use the view's getDocument() method.
1159 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1160 (updateSize): Use cached spans.
1161 * javax/swing/text/html/ParagraphView.java
1162 (setPropertiesFromAttributes): Setup EM and EX.
1163 * javax/swing/text/html/StyleSheet.java
1164 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1165 (getEMBase): New helper method.
1166 (getEXBase): New helper method.
1167 * javax/swing/text/html/TableView.java
1168 (width): New field. Caches the table width.
1169 (calculateMinorAxisRequirements): Use caches span.
1170 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1171 (updateGrid): Correctly setup EM/EX.
1173 2006-11-30 Roman Kennke <kennke@aicas.com>
1175 * javax/swing/text/html/FormSubmitEvent.java: New class.
1176 * javax/swing/text/html/FormView.java
1177 (SubmitThread): New class for submitting data in a separate thread.
1178 (actionPerformed): Fetch the actual for data.
1179 (addData): New helper method.
1180 (getElementFormData): New helper method.
1181 (getFormData): New helper method.
1182 (getInputFormData): New helper method.
1183 (submitData): Implemented.
1184 * javax/swing/text/html/FrameView.java
1185 (createComponent): Add this as hyperlink listener.
1186 Set the target document as frame document.
1187 (getTopEditorPane): New helper method.
1188 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1189 (handleHyperlinkEvent): New helper method.
1190 (handleFormSubmitEvent): New helper method.
1191 * javax/swing/text/html/HTMLDocument.java
1192 (HTMLReader.BaseAction.start): Track the base target.
1193 (HTMLReader.BaseAction.end): Removed.
1194 (baseTarget): New field.
1195 (frameDocument): New field.
1196 (getBaseTarget): New property accessor.
1197 (isFrameDocument): New property accessor.
1198 (processHTMLFrameHyperlinkEvent): Implemented.
1199 (setFrameDocument): New property accessor.
1200 (updateFrame): New helper method.
1201 (updateFrameSet): New helper method.
1202 * javax/swing/text/html/HTMLEditorKit.java
1203 (LinkController.createHyperlinkEvent): Handle frame documents.
1204 (autoFormSubmission): New field.
1205 (HTMLEditorKit): Set autoFormSubmission to true.
1206 (isAutoFormSubmission): New property accessor.
1207 (setAutoFormSubmission): New property accessor.
1209 2006-11-30 Roman Kennke <kennke@aicas.com>
1211 * javax/swing/text/ElementIterator.java
1212 (ElementRef): New inner class.
1213 (currentDepth): Removed.
1214 (currentElement): Removed.
1215 (previousItem): Removed.
1216 (stack): New field. Holds the iteration stack.
1218 (ElementIterator(Document)): Removed init of removed fields.
1219 (ElementIterator(Element)): Removed init of removed fields.
1220 (current): Changed to stack based algorithm.
1221 (deepestLeaf): New helper method.
1222 (depth): Changed to stack based algorithm.
1223 (first): Changed to stack based algorithm.
1224 (next): Changed to stack based algorithm.
1225 (previous): Changed to stack based algorithm.
1227 2006-11-30 Francis Kung <fkung@redhat.com>
1229 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1230 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1232 2006-11-30 Francis Kung <fkung@redhat.com>
1234 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1235 (draw): Set transform in buffered composite.
1236 (drawComposite): Do not transform bounds; round bounds.
1237 (drawGlyphVector): Set transform in buffered composite.
1238 (drawRenderedImage): Set transform in buffered composite.
1239 (fill): Set transform in buffered composite.
1240 (updateBufferedImage): Fix scanline & height calculations.
1241 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1242 (createPath): Simplify width & height calculation.
1243 (drawImage): Also transform width & height.
1245 2006-11-30 Roman Kennke <kennke@aicas.com>
1247 * javax/swing/text/html/FrameSetView.java: New class. Implements
1249 * javax/swing/text/html/FrameView.java: New class. Implements
1251 * javax/swing/text/html/HTMLDocument.java:
1252 (HTMLReader.addSpecialElement): Only add one artificial space.
1253 * javax/swing/text/html/HTMLEditorKit.java
1254 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1255 * gnu/javax/swing/text/html/parser/support/Parser.java
1256 (_handleEmptyTag): Also consume whitespace after frame tags.
1258 2006-11-30 Gary Benson <gbenson@redhat.com>
1260 * java/lang/Thread.java: Javadoc fixes.
1262 2006-11-29 Tom Tromey <tromey@redhat.com>
1265 * java/lang/Class.java (getAnnotations): Rewrote.
1267 2006-11-29 Tania Bento <tbento@redhat.com>
1269 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1270 (parseParams): Unescape 'val' before putting it into the Map.
1271 (unescapeString): New private method.
1273 2006-11-29 Tom Tromey <tromey@redhat.com>
1275 * tools/gnu/classpath/tools/getopt/package.html: New file.
1277 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1279 * javax/swing/plaf/metal/MetalIconFactory.java
1280 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1281 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1283 2006-11-29 Mario Torre <neugens@limasoftware.net>
1285 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1286 with the default international currency sign \u00A4.
1287 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1288 table for string formatting.
1289 (formatInternal): likewise.
1290 (scanNegativePattern): likewise.
1291 (applyPattern): likewise.
1292 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1293 Locale is immutable and does not need clone.
1295 2006-11-29 Francis Kung <fkung@redhat.com>
1297 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1298 (drawLine): Remove hard-coded pixel shifting.
1300 2006-11-29 Roman Kennke <kennke@aicas.com>
1302 * java/awt/Component.java
1303 (isShowing): Simplified condition code and avoid unnecessary
1305 (coalesceEvents): Always coalesce paint events and let the peer
1306 figure out the expanding of the repaint area.
1307 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1308 (currentPaintEvents): Removed. Replaced by paintArea.
1309 (paintArea): New field. Tracks the dirty area.
1310 (SwingComponentPeer): Removed init of currentPaintEvents.
1311 (coalescePaintEvent): Simplified to only union the dirty regions.
1312 (handleEvent): Paint dirty region that was tracked in paintArea.
1313 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1314 (paintArea): New field. Tracks the dirty region.
1315 (coalescePaintEvent): Implemented to track the dirty region.
1316 (paintComponent): Use the dirty region in paintArea. Protect
1317 state by putting the paint and dispose code in a try-finally.
1318 (updateComponent): Use the dirty region in paintArea. Protect
1319 state by putting the paint and dispose code in a try-finally.
1321 2006-11-29 Roman Kennke <kennke@aicas.com>
1323 * java/awt/font/TextLayout.java
1324 (getVisualHighlightShape): Removed debug output.
1326 2006-11-28 Andrew Haley <aph@redhat.com>
1328 * vm/reference/sun/reflect/misc/ReflectUtil.java
1329 (checkPackageAccess): Implement.
1331 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1333 * native/jni/java-lang/java_lang_VMDouble.c:
1334 (parseDoubleFromChars) New function. Factored out from ...
1335 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1336 (dtoa_toString): New function. Factored out from ...
1337 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1338 Changed conversion mode to 2, as modes 0 and 1 don't round
1339 as the API spec demands. Invoke conversion function as often
1340 as necessary with growing precision until a reversible
1341 representation of the double in form of a string is reached.
1343 2006-11-28 Roman Kennke <kennke@aicas.com>
1345 * javax/swing/JComponent.java
1346 (putClientProperty): Do not fire event when both old and new
1349 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1351 * java/lang/Enum.java:
1352 Make name and ordinal final.
1354 2006-11-27 Casey Marshall <csm@gnu.org>
1356 * java/util/jar/JarEntry.java (certs): removed.
1357 (jarfile): new field.
1358 (getCertificates): read the certificates from the containing JarFile.
1359 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1360 fill in 'certs,' fill in 'jarfile' for the entry.
1361 (getEntry): likewise.
1363 2006-11-27 Francis Kung <fkung@redhat.com>
1365 * java/awt/image/WritableRaster.java
1366 (createChild): Implemented.
1368 2006-11-27 Roman Kennke <kennke@aicas.com>
1370 * java/awt/font/TextLayout.java
1371 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1372 (getVisualHighlightShape): Implemented.
1373 (layoutRuns): Fixed boundary so that the last run is also laid out.
1374 (left): New helper method.
1375 (right): New helper method.
1377 2006-11-27 Roman Kennke <kennke@aicas.com>
1379 * java/awt/font/TextLayout.java
1380 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1381 (getCaretShape(TextHitInfo)): Use natural bounds.
1382 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1383 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1384 above with DEFAULT_CARET_POLICY.
1385 (getCaretShapes(int)): Use natural bounds.
1387 2006-11-27 Roman Kennke <kennke@aicas.com>
1389 * java/awt/font/TextLayout.java
1390 (Run.font): New field.
1391 (Run.location): New field.
1392 (Run.Run): Initialize font.
1393 (font): Removed field. This is moved into Run as the actual font
1394 is something run-specific.
1395 (TextLayout(String,Font,FontRenderContext)): Set font on the
1396 single runs. Layout the runs here.
1397 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1398 (findRunAtIndex): New helper method.
1399 (getCaretInfo): Implemented.
1400 (layoutRuns): New helper method.
1401 (toString): Don't put font in output string.
1403 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1405 * AUTHORS: Added Jeroen Fritjers.
1407 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1409 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1410 for FieldPosition to be null.
1411 Check if the factional part is just 0 and can be omitted from the
1413 (scanNegativePattern): Fixed index out of bound exception when searching
1414 for international currency symbol in negative pattern.
1416 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1418 * java/beans/beancontext/BeanContextSupport.java:
1419 (readObject(ObjectInputStream)): Implemented.
1420 (writeObject(ObjectOutputStream)): Likewise.
1421 (BCSChild.getTargetChild()): Added.
1422 (bcsPreDeserializationHook()): Implemented.
1423 (bcsPreSerializationHook()): Likewise.
1424 (childDeserializedHook(Object,BCSChild)): Likewise.
1425 (isSerializing()): Likewise.
1426 (readChildren(ObjectInputStream)): Likewise.
1427 (writeChildren(ObjectOutputStream)): Likewise.
1429 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1430 Ian Lance Taylor <ian <at> airs.com>
1431 Paolo Bonzini <bonzini <at> gnu.org>
1435 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1436 increased portability. Likewise, use -f instead of -e.
1438 2006-11-26 Mark Wielaard <mark@klomp.org>
1440 * lib/Makefile.am (propertydirs): Removed.
1441 (resources): Explicitly create all dirs.
1443 2006-11-26 Mark Wielaard <mark@klomp.org>
1445 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1447 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1449 * native/target/.cvsignore,
1450 native/target/generic/.cvsignore,
1451 native/target/Linux/.cvsignore:
1452 Removed no longer used files.
1454 * native/target: Removed no longer used directory.
1456 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1460 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1461 (Java_gnu_java_nio_VMSelector_select):
1462 Use strerror if strerror_r is not available.
1464 Reported by: Michael Franz <mvfranz@gmail.com>,
1465 Riccardo Mottola <zuse@libero.it>
1467 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1471 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1472 STRICT_WARNING_CFLAGS since it caused the build to fail
1475 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1477 * doc/vmintegration.texinfo: Update VM Threading Model section.
1479 2006-11-26 Tom Tromey <tromey@redhat.com>
1481 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1483 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1485 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1486 Conditionally include ifaddrs.h.
1487 (getif_address): Updated conditional.
1488 (getif_index): Likewise.
1489 * configure.ac: Check for ifaddrs.h.
1491 2006-11-25 Mark Wielaard <mark@klomp.org>
1493 * java/io/File.java (list): Return empty list for unreadable dirs.
1495 2006-11-25 Mark Wielaard <mark@klomp.org>
1497 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1498 Synchronize on font peer.
1499 (setFont): Likewise.
1500 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1502 (getTextMetrics): Likewise.
1504 2006-11-25 Roman Kennke <kennke@aicas.com>
1506 * javax/swing/text/GapContent.java
1507 (getPositionsInRange): Rewritten to use the more efficient
1508 binary search searchFirst() and avoid an NPE that was caused
1511 2006-11-25 Mark Wielaard <mark@klomp.org>
1513 * javax/swing/text/CompositeView.java (modelToView): Never return
1516 2006-11-25 Mark Wielaard <mark@klomp.org>
1518 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1519 Check whether rowView instanceof RowView.
1520 (updateGrid): Likewise.
1522 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1525 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1526 * java/text/NumberFormat.java (format): all format methods, fixed
1527 FieldPosition argument should never be null.
1528 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1529 method is not final.
1530 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1532 * AUTHORS: added my name to the file.
1534 2006-11-25 Mark Wielaard <mark@klomp.org>
1536 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1537 getChildAllocation() returning null.
1539 2006-11-25 Mark Wielaard <mark@klomp.org>
1541 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1542 Use clazzIndex for id substring.
1544 2006-11-25 Mark Wielaard <mark@klomp.org>
1546 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1547 it is still running.
1549 2006-11-25 Mark Wielaard <mark@klomp.org>
1552 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1555 2006-11-24 Tania Bento <tbento@redhat.com>
1557 * java/awt/font/TextHitInfo.java
1558 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1559 (beforeOffset): Decreased first parameter by 1.
1561 2006-11-24 Francis Kung <fkung@redhat.com>
1563 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1564 (constructor): Check sample model when setting fastCM flag.
1565 (updateBufferedImage): Check scanline and sample model offsets before
1566 copying data directly into the image data buffer.
1568 2006-11-24 Francis Kung <fkung@redhat.com>
1570 * gnu/java/awt/java2d/QuadSegment.java
1571 (offsetSubdivided): Handle special straight-line cases.
1573 2006-11-24 Roman Kennke <kennke@aicas.com>
1575 * java/awt/dnd/DropTarget.java
1576 (DropTargetAutoScroller.HYSTERESIS): New constant.
1577 (DropTargetAutoScroller.DELAY): New constant.
1578 (DropTargetAutoScroller.inner): New field. A cached
1580 (DropTargetAutoScroller.outer): New field. A cached
1582 (DropTargetAutoScroller.timer): New field. The actual timer.
1583 (DropTargetAutoScroller.DropTargetAutoScroller):
1585 (DropTargetAutoScroller.actionPerformed): Implemented.
1586 (DropTargetAutoScroller.stop): Implemented.
1587 (DropTargetAutoScroller.updateLocation): Implemented.
1588 (clearAutoscroll): Stop the autoscroller before nullifying it.
1589 (createDropTargetAutoScroller): Don't set the field here,
1590 only return a new instance.
1591 (dragEnter): Only do something when active. Initialize
1593 (dragExit): Only do something when active. Stop auto scrolling.
1594 (dragOver): Only do something when active. Update auto scrolling.
1595 (drop): Only do something when active. Update auto scrolling.
1596 (dropActionChanged): Only do something when active. Update
1598 (initializeAutoScrolling): Check if component is an instance
1599 of Autoscroll, otherwise do nothing.
1600 (setActive): Disable autoscrolling when deactivating.
1601 (setComponent): When component is set to null, disable autoscrolling.
1603 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1605 * java/beans/beancontext/BeanContextServicesSupport.java
1606 (getChildBeanContextServicesListener): Implemented.
1608 2006-11-23 Roman Kennke <kennke@aicas.com>
1610 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1611 (createGraphics): Use constructor to create new instance of
1612 BufferedImageGraphics.
1613 * java/awt/Toolkit.java
1614 (getDefaultToolkit): Really try to get a real toolkit. Only
1615 use HeadlessToolkit if no other is available.
1616 * gnu/java/awt/peer/gtk/GtkToolkit.java
1617 (checkHeadless): New helper method. Checks for headless environment
1618 and throws HeadlessException if appropriate.
1619 (createButton): Check for headless.
1620 (createCanvas): Check for headless.
1621 (createCheckbox): Check for headless.
1622 (createCheckboxMenuItem): Check for headless.
1623 (createChoice): Check for headless.
1624 (createDialog): Check for headless.
1625 (createDragGestureRecognizer): Check for headless.
1626 (createDragSourceContextPeer): Check for headless.
1627 (createEmbeddedWindow): Check for headless.
1628 (createFileDialog): Check for headless.
1629 (createFrame): Check for headless.
1630 (createCheckbox): Check for headless.
1631 (createLabel): Check for headless.
1632 (createList): Check for headless.
1633 (createMenu): Check for headless.
1634 (createMenuBar): Check for headless.
1635 (createMenuItem): Check for headless.
1636 (createPanel): Check for headless.
1637 (createPopupMenu): Check for headless.
1638 (createScrollbar): Check for headless.
1639 (createScrollPane): Check for headless.
1640 (createTextArea): Check for headless.
1641 (createTextField): Check for headless.
1642 (createWindow): Check for headless.
1644 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1646 * java/beans/beancontext/BeanContextSupport.java
1647 (deserialize): Implemented,
1648 (serialize): Implemented.
1650 2006-11-23 Roman Kennke <kennke@aicas.com>
1652 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1653 (createGraphics): Try to use Cairo graphics if available.
1655 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1657 * java/beans/beancontext/BeanContextSupport.java
1658 (toArray): Added API docs,
1659 (toArray(Object[])): Added API docs, removed NotImplementedException.
1661 2006-11-22 Tania Bento <tbento@redhat.com>
1663 * javax/swing/JRootPane.java
1664 (setLayeredPane): Added documentation; throw
1665 IllegalComponentStateException if layered pane parameter is null.
1667 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1669 * java/beans/beancontext/BeanContextSupport.java
1670 (avoidingGui): Removed NotImplementedException.
1672 2006-11-22 Francis Kung <fkung@redhat.com>
1674 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1675 (drawGlyphVector): Clip updated area to glyph bounds.
1676 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1677 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1678 x-coordinate and y-coordinate pixel shifting.
1679 (shifted): Removed method.
1680 (shiftX): New method, recognising scaling transforms.
1681 (shiftY): New method, recognising scaling transforms.
1682 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1684 2006-11-22 Roman Kennke <kennke@aicas.com>
1686 * java/awt/font/TextLayout.java
1687 (hash): New field. Caches the hash code.
1688 (hashCode): Implemented.
1690 2006-11-22 Roman Kennke <kennke@aicas.com>
1692 * java/awt/image/ImageFilter.java
1693 Reformat whole class.
1694 (getFilterInstance): Don't touch the consumer field. Don't check
1696 (imageComplete): Don't check consumer.
1697 (setColorModel): Don't check consumer.
1698 (setDimensions): Don't check consumer.
1699 (setHints): Don't check consumer.
1700 (setPixels): Don't check consumer.
1701 (setProperties): Pass the original property too.
1702 * java/awt/image/IndexColorModel.java
1703 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1704 transparent pixel by calling the new helper method.
1705 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1706 transparent pixel by calling the new helper method.
1707 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1708 transparent pixel by calling the new helper method.
1709 (coerceData): Removed. This is not needed.
1710 (getAlpha): Simply return value from color map. The transparent
1711 pixel has to be there.
1712 (setTransparentPixel): New helper method. Inserts the transparent
1714 * java/awt/image/RGBImageFilter.java
1715 Reformat whole class.
1716 (convertColorModelToDefault): Removed. No longer needed.
1717 (filterIndexColorModel): Don't handle transparent pixels
1719 (filterRGBPixels): Set pixels on consumer already.
1720 (makeColor): Removed. No longer needed.
1721 * java/awt/image/ReplicateScaleFilter.java
1722 (replicatePixels): Removed.
1723 (setDimension): Correctly compute destination size, avoid double
1725 (setPixels): Avoid double calculations. Fixed some boundary cases.
1726 (setupSources): New helper method.
1727 * java/awt/image/SampleModel.java
1728 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1730 * java/awt/image/SinglePixelPackedSampleModel.java
1731 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1732 This is not needed as the superclass already copies line
1734 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1735 removed some checks that the RI also doesn't perform. Call
1736 DataBuffer.setElem().
1738 2006-11-22 Roman Kennke <kennke@aicas.com>
1740 * java/awt/text/TextLayout.java
1741 (getLogicalRangesForVisualSelection): Implemented.
1743 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1745 * sun/reflect/annotation/AnnotationParser.java,
1746 * sun/reflect/annotation/AnnotationType.java,
1747 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1748 * sun/reflect/annotation/ExceptionProxy.java:
1750 * sun/misc/ServiceConfigurationError.java,
1751 * sun/misc/Service.java:
1754 2006-11-21 Roman Kennke <kennke@aicas.com>
1756 * java/awt/text/TextLayout.java
1757 (Run.isLeftToRight): New helper method.
1758 (logicalToVisual): New field. Maps logical indices to visual
1760 (visualToLogical): New field. Maps visual indices to logical
1762 (TextLayout): Setup mappings.
1763 (setupMappings): New method for setting up the mappings.
1764 (getCharacterLevel): Reorganized code.
1765 (getNextLeftHit(int)): Implemented.
1766 (getNextLeftHit(int,CaretPolicy)): New method.
1767 (getNextLeftHit(TextHitInfo)): Implemented.
1768 (getNextRightHit(int)): Implemented.
1769 (getNextRightHit(int,CaretPolicy)): New method.
1770 (getNextRightHit(TextHitInfo)): New method.
1771 (getVisualOtherHit): Implemented.
1772 (checkHitInfo): New helper methods for checking parameters.
1773 (hitToCaret): New helper method. Maps hit infos to caret locations.
1774 (caretToHit): New helper method. Maps caret locations to hit infos.
1775 (isCharacterLTR): New helper method.
1776 (CaretPolicy.getStrongCaret): Implemented.
1778 2006-11-21 Francis Kung <fkung@redhat.com>
1780 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1781 (draw): Include stroke width when calculating bounds.
1782 (updateBufferedImage): Round bounds more generously, handle negative
1783 height/width values, and clip more intelligently.
1784 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1785 (createPath): Add shortcut optimization for lines.
1786 (draw): Include stroke width when calculating bounds.
1787 (drawLine): Delegate to main draw() method.
1788 (drawRect): Likewise.
1789 (fillRect): Delegate to main fill() method.
1790 (findStrokedBounds): New method.
1791 (setCustomPaint): Round bounds more generously.
1792 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1793 (drawLine): Removed.
1794 (drawRect): Removed.
1795 (fillRect): Removed.
1797 2006-11-21 Francis Kung <fkung@redhat.com>
1799 * gnu/java/awt/java2d/TexturePaintContext.java
1800 (getRaster): Handle negative coordinate values.
1801 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1802 (setPaint): Moved custom paint processing to a new method.
1803 (setPaintPixels): Added x, y parameters.
1804 (getRealBounds): Added documentation.
1805 (copy): Copy clipping information.
1806 (drawLine): Process custom paints.
1807 (setCustomPaint): New method.
1808 (fill): Process custom paints.
1809 (drawGlyphVector): Process custom paints.
1810 (drawRect): Process custom paints.
1811 (draw): Process custom paints.
1812 * gnu/java/awt/peer/gtk/CairoSurface.java
1813 (cairoCM_opaque): New constant.
1814 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1815 (argb32): Removed constant.
1816 (rgb32): Removed constant.
1817 (BufferedImageGraphics(BufferedImage)): Updated constant names.
1818 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1819 (updateBufferedImage): Transform to device-space before updating.
1820 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1821 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1823 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1824 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1825 source at designated x, y origin.
1827 2006-11-21 Roman Kennke <kennke@aicas.com>
1829 * java/awt/text/TextLayout.java
1830 (Run): New inner helper class.
1831 (length): New field.
1832 (naturalBounds): New field.
1833 (offset): New field.
1834 (runIndices): Removed. This is now encapsulate in a Run object.
1835 (runs): Changed to Run[].
1836 (string): Changed to char[].
1837 (totalAdvance): New field. Caches advance value.
1838 (TextLayout(String,Font,FontRenderContext)): Change to store
1839 string as char[] and run layout as Run[]. Clean out empty
1841 (TextLayout(TextLayout,int,int)): Change to store
1842 string as char[] and run layout as Run[].
1843 (clone): Call private constructor for maximum efficiency.
1844 (determineWhitespace): Adapted to use char[] data.
1845 (draw): Adapted to use Run objects.
1846 (getAdvance): Cache computed total advance.
1847 (getBlackBoxBounds): Adapted to use Run objects.
1848 (getCaretInfo): Use natural layout bounds.
1849 (getCharacterCount): Return length field.
1850 (getLogicalHighlightShape): Adapted to use Run objects.
1851 (getNaturalBounds): New helper method. Calculates and returns the
1852 natural bounds of this text layout.
1853 (getOutline): Adapted to use Run objects.
1854 (getStringProperties): Adapted to use char[] data.
1855 (getVisibleAdvance): Adapted to use char[] and Run data.
1856 (handleJustify): Adapted to use char[] and Run data.
1857 (hitTestChar(float,float,Rectangle2D)): Implemented.
1858 (hitTestChar(float,float)): Use natural bounds.
1859 (setCharIndices): Adapted to use char[] and Run data.
1860 (toString): Adapted to use char[] and Run data.
1861 * java/text/Bidi.java
1862 (requiresBidi): Exclude paragraph separators from bidi-triggers.
1864 2006-11-21 Roman Kennke <kennke@aicas.com>
1866 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1867 Removed. This is now an inner class in GdkFontPeer.
1868 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1869 (drawString(float,float)): Use text layout cache from
1871 (getFontMetrics): Delegate to GdkFontPeer.
1872 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1873 (getGlyphCodes): Also check array size.
1874 (getGlyphPositions): Also check array size.
1875 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1876 (GdkFontLineMetrics.fm): Removed.
1877 (GdkFontLineMetrics.strikeThroughOffset): Removed.
1878 (GdkFontLineMetrics.strikeThroughThickness): Removed.
1879 (GdkFontLineMetrics.underlineOffset): Removed.
1880 (GdkFontLineMetrics.underlineThickness): Removed.
1881 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1882 FontMetrics argument. Don't init removed fields.
1883 (GdkFontLineMetrics.getAscent): Return font peer's field.
1884 (GdkFontLineMetrics.getDescent): Return font peer's field.
1885 (GdkFontLineMetrics.getHeight): Return font peer's field.
1886 (GdkFontLineMetrics.getLeading): Return font peer's field.
1887 (GdkFontLineMetrics.getNumChars): Reformat.
1888 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1889 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1890 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1891 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1892 (GdkFontMetrics): Moved class in here as inner class.
1893 Make it use the font peer's fields and for the char(s) width
1894 and string width method, use TextLayout to measure the actual widths.
1895 (ascent): New field.
1897 (DEFAULT_CTX): New constant field.
1898 (descent): New field.
1899 (FONT_METRICS_ASCENT): New constant.
1900 (FONT_METRICS_DESCENT): New constant.
1901 (FONT_METRICS_HEIGHT): New constant.
1902 (FONT_METRICS_MAX_ADVANCE): New constant.
1903 (FONT_METRICS_MAX_ASCENT): New constant.
1904 (FONT_METRICS_MAX_DESCENT): New constant.
1905 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1906 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1907 (height): New field.
1908 (maxAdvance): New field.
1909 (maxAscent): New field.
1910 (maxDescent): New field.
1911 (metrics): New field. Stores a FontMetrics for this font.
1912 (textLayoutCache): New field. Caches TextLayout instances.
1913 (underlineOffset): New field.
1914 (underlineThickness): New field.
1915 (cinit): Don't initialize resource bundle.
1916 (GdkFontPeer): Setup the metrics.
1917 (getFontMetrics): Return stored metrics if possible.
1918 (getLineMetrics): Adapt to new constructor.
1919 (initFont): New helper method.
1920 (setupMetrics): New helper method.
1921 * gnu/java/awt/peer/gtk/GtkToolkit.java
1922 (LRUCache): Made class a static class.
1923 (getFontMetrics): Delegate to GdkFontPeer.
1924 * native/jni/gtk-peer/gdkfont.h
1925 Added new constant defines.
1926 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1927 (getFontMetrics): Rewritten to fetch the font metrics from
1930 2006-11-20 Tania Bento <tbento@redhat.com>
1932 * javax/swing/ButtonGroup.java:
1933 (setSelected): Select the ButtonModel if all conditions
1936 2006-11-20 Tania Bento <tbento@redhat.com>
1938 * javax/swing/JSlider.java:
1939 (updateLabelUIs): Removed casting.
1941 2006-11-20 Mark Wielaard <mark@klomp.org>
1943 * gnu/java/util/regex/RE.java (messages): Don't initialize.
1944 (bundle): New static final String field.
1945 (getLocalizedMessage): Initialize messages when still null.
1946 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1947 (set): Use RE.getLocalizedMessage().
1949 (setLineSeparator): Likewise.
1951 2006-11-20 Roman Kennke <kennke@aicas.com>
1953 * javax/swing/text/html/StyleSheet.java
1954 (linked): New field.
1955 (styleSheet): Replaced by linked.
1956 (addStyleSheet): Use an arraylist for simplicity.
1957 (getRule): Removed useless instantiation.
1958 (getStyleSheets): Convert array list to array.
1959 (removeStyleSheet): Use an arraylist for simplicity.
1960 (resolveStyle): Include styles from linked lists.
1962 2006-11-20 Roman Kennke <kennke@aicas.com>
1964 * javax/swing/text/BoxView.java
1965 (BoxView): Initialize with invalid req's.
1966 (forwardUpdate): Trigger repaint when children changed the
1968 (getResizeWeight): Return resizable when the pref differs from
1969 the min or the pref differs from the max size.
1970 (layoutMajorAxis): Actually sum up the preferred sizes.
1971 (paint): Made binary search more robust.
1972 (replace): Let arrays shrink when needed.
1973 (replaceLayoutArray): Let arrays shrink when needed.
1974 (setAxis): Trigger preferenceChanged.
1975 * javax/swing/text/CompositeView.java
1976 (getInsideAllocation): Call insets method to take account
1977 of overriding subclasses.
1978 * javax/swing/text/DefaultStyledDocument.java
1979 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1980 (ElementBuffer.insertUpdate): Only remove the found element, not
1982 * javax/swing/text/GlyphView.java
1983 (insertUpdate): Pass null in preferenceChanged.
1984 (removeUpdate): Pass null in preferenceChanged.
1985 (changedUpdate): Pass null in preferenceChanged.
1986 * javax/swing/text/Utilities.java
1987 (drawTabbedText): Avoid single calls to charWidth() and instead
1988 call charsWidth() on whole chunks.
1989 * javax/swing/text/html/HTMLDocument.java
1990 (BlockElement.getName): Fall back to super when necessary.
1991 (RunElement.getName): Fall back to super when necessary.
1992 (HTMLReader.MAX_THRESHOLD): New constant field.
1993 (HTMLReader.GROW_THRESHOLD): New constant field.
1994 (HTMLReader.theshold): New field.
1995 (HTMLReader.HTMLReader): Fetch threshold from document.
1996 (HTMLReader.addContent): Sucessivly grow the threshold.
1997 (createLeafElement): Don't create two elemens and don't set
1999 * javax/swing/text/html/TableView.java
2000 (RowView.replace): Invalidate grid.
2001 (gridValid): Made package private.
2002 (layoutMinorAxis): Mark all rows as invalid.
2003 (replace): Invalidate grid.
2005 2006-11-20 Roman Kennke <kennke@aicas.com>
2007 * javax/swing/text/AbstractDocument.java
2008 (DefaultDocumentEvent.changes): Changed to be a HashMap.
2009 (DefaultDocumentEvent.modified): Made private.
2010 (DefaultDocumentEvent.THRESHOLD): New constant field.
2011 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2013 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2014 exceeding threshold.
2015 (DefaultDocumentEvent.getChange): Use iterative approach
2016 when we have no hashmap yet.
2017 (documentCV): Removed.
2018 (numWriters): Renamed from numWritersWaiting.
2019 (createPosition): Reformat.
2020 (getCurrentWriter): Synchronized.
2021 (readLock): Implement more straightforward.
2022 (readUnlock): Implement more straightforward.
2023 (writeLock): Implement more straightforward.
2024 (writeUnlock): Implement more straightforward.
2025 (remove): Write-lock here.
2026 (removeImpl): Don't write-lock here.
2028 2006-11-20 Roman Kennke <kennke@aicas.com>
2030 * javax/swing/JEditorPane.java
2031 (setPage): Set priority on loading thread.
2033 2006-11-20 Roman Kennke <kennke@aicas.com>
2035 * javax/swing/plaf/basic/BasicTextUI.java
2036 (RootView.paint): Avoid allocation.
2037 (cachedInsets): New field. Caches an Insets instance.
2038 (getNextVisualPositionFrom): Read-lock the document to avoid
2039 thread nastiness. Push allocation.
2040 (getPreferredSize): Push fake allocation when not yet laid out.
2041 (getVisibleEditorRect): Use cached insets.
2042 (viewToModel): Read-lock the document to avoid
2043 thread nastiness. Push allocation.
2045 2006-11-20 Roman Kennke <kennke@aicas.com>
2047 * javax/swing/text/StyleContext.java
2048 (attributeSetPool): Synchronize this map.
2049 (addAttribute): Synchronize this method.
2050 (addAttributes: Synchronize this method.
2051 (readObject): Install synchronized map on target object.
2052 (removeAttribute): Synchronize this method.
2053 (removeAttributes): Synchronize this method.
2054 (removeAttributes): Synchronize this method.
2056 2006-11-20 Roman Kennke <kennke@aicas.com>
2058 * javax/swing/text/GapContent.java
2059 (GapContentPosition.GapContentPosition): Removed constructor.
2060 (Mark): Made subclass of WeakReference to refer directly to
2061 the associated position.
2062 (Mark.refCount): Removed.
2063 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2064 New constructor. Used to reference a position and register the
2066 (Mark.Mark(index)): Call super and don't adjust mark offset.
2067 (Mark.compareTo): Removed.
2068 (Mark.equals): Removed.
2069 (Mark.getOffset): Return at least null. Removed assert.
2070 (Mark.getPosition): New helper method.
2071 (garbageMarks): New field.
2072 (positions): Removed.
2073 (searchMark): New field.
2074 (GapContent): Removed init of positions map.
2075 (addImpl): New helper method.
2076 (adjustPositionsInRange): Removed.
2077 (compare): New helper method.
2078 (createPosition): Rewritten for new datastructures. This now
2079 performs a much more efficient binary search for finding
2080 a position at the requested offste.
2081 (garbageCollect): Rewritten to collect unused marks.
2082 (getPositionsInRange): Adjusted for new data structures.
2083 (removeImpl): New helper method.
2084 (replace): Use new addImpl() and removeImpl() helper method for
2085 correctly adjusting the positions and gap.
2086 (search): Rewritten. Implements a more suitable binary search.
2087 (searchFirst): New helper method.
2088 (setPositionsInRange): Removed.
2089 (shiftEnd): Update the marks here.
2090 (shiftGap): Update the marks here.
2091 (shiftGapEndUp): Update the marks here.
2092 (shiftGapStartDown): Update the marks here.
2094 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2096 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2097 digest algorithm implementations.
2098 (readSignatures): Parse the manifest once and reuse that data.
2099 Add support for line breaks.
2100 (verifyHashes): Use the parsed manifest entry.
2101 (readManifestEntry): Removed.
2103 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2105 * java/beans/beancontext/BeanContextServicesSupport.java:
2106 Added more documentation.
2107 (addService(Class,BeanContextServiceProvider,boolean)):
2108 Synchronized over global hierarchy lock.
2109 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2110 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2111 (childJustRemovedHook(Object,BCSChild)): Implemented.
2112 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2114 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2115 Added revocation-only listeners.
2116 (getBeanContextServicesPeer()): Implemented.
2117 (getCurrentServiceClasses(Class)): Synchronized over global
2119 (getCurrentServiceSelectors(Class)): Synchronized over global
2120 hierarchy lock, and fixed FIXME.
2121 (getService(BeanContextChild,Object,Class,Object,
2122 BeanContextServiceRevokedListener)): Implemented.
2123 (hasService(Class)): Synchronized over global hierarchy lock.
2124 (releaseService(BeanContextChild,Object,Object)): Implemented.
2125 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2126 * java/beans/beancontext/BeanContextSupport.java:
2127 (remove(Object, boolean)): Documentation correction.
2129 2006-11-19 Roman Kennke <kennke@aicas.com>
2131 * javax/swing/JEditorPane.java
2132 (PageStream): New inner class.
2133 (PageLoader): New inner class.
2134 (loading): New field.
2135 (setPage): Implemented asynchronous loading.
2136 * javax/swing/text/DefaultStyledDocument.java
2137 (ElementBuffer.create): New helper method.
2138 (create): Use new ElementBuffer method instead of hack.
2139 * javax/swing/text/html/HTMLDocument.java
2140 (HTMLReader.flushImpl): New helper method.
2141 (HTMLReader.addContent): Use flushImpl().
2142 (HTMLReader.blockClose): Added null check.
2143 (HTMLReader.flush): Use flushImpl().
2144 * javax/swing/text/html/HTMLEditorKit.java
2145 (createDefaultDocument): Set load priority to 4 and token threshold
2147 * javax/swing/text/html/TableView.java
2148 (insertUpdate): Overridden to provide correct view factory.
2149 (removeUpdate): Overridden to provide correct view factory.
2150 (changedUpdate): Overridden to provide correct view factory.
2152 2006-11-19 Roman Kennke <kennke@aicas.com>
2154 * javax/swing/text/BoxView.java
2155 (clipRect): New field.
2156 (tmpRect): New field.
2157 (layout): Reorganized code. Now uses layoutAxis() helper method.
2158 (layoutAxis): New helper method.
2159 (paint): Optimized by using cached Rectangle objects and
2160 a binary search for child views inside the clip.
2161 * javax/swing/text/CompositeView.java
2162 (insideAllocation): Made private and initialized in constructor.
2163 (getInsideAllocation): Removed initialization block for
2164 insideAllocation field. Avoid unnecessary allocations.
2165 * javax/swing/text/GlyphView.java
2166 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2167 The remaining stuff (background, underline and striking) is
2168 done in the GlpyhView itself. Avoid unnecessary allocations.
2169 (cached): A cached Segment instance.
2170 (getText): Return cached segment.
2171 (paint): Paint underline, strike and background here. Avoid
2174 2006-11-19 Roman Kennke <kennke@aicas.com>
2176 * javax/swing/text/html/StyleSheet.java
2177 (getFontSize): Removed debug output.
2178 (ListPainter.tmpRect): New field.
2179 (ListPainter.paint): Align bullet vertically centered to
2180 the first line of the paragraph.
2182 2006-11-17 Roman Kennke <kennke@aicas.com>
2184 * gnu/javax/swing/text/html/css/CSSParser.java
2185 (parseDeclaration): Trim string before reporting.
2186 * gnu/javax/swing/text/html/css/FontSize.java
2188 (isRelative): New field.
2189 (sizeIndex): New field.
2190 (FontSize): Initialize new fields.
2191 (getValue): Changed to call getValue(int).
2192 (getValue(int)): New method. Implements relative font sizes.
2193 (isRelative): New method.
2194 (mapAbsolute): Store index.
2195 (mapEM): New helper method.
2196 (mapLarger): New helper method.
2197 (mapPercent): New helper method.
2198 (mapRelative): New helper method.
2199 (mapSmaller): New helper method.
2200 (mapValue): New helper method.
2201 * javax/swing/text/html/CSS.java
2202 (parseBackgroundShorthand): Create CSSColor directly.
2203 * javax/swing/text/html/StyleSheet.java
2204 (addRule): Invalidate resolved styles.
2205 (getFont): Call new getFontSize() method to resolve relative
2207 (getFontSize): New helper method. Resolves relative font sizes.
2208 (translateHTMLToCSS): Create CSS objects directly.
2210 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2212 * gnu/java/util/regex/RETokenNamedProperty.java:
2213 (getHandler(String)): Add support for 'all'.
2215 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2217 * gnu/javax/management/Server.java:
2218 Initial implementation of a GNU management server.
2219 * javax/management/MBeanPermission.java,
2220 * javax/management/MBeanRegistration.java,
2221 * javax/management/MBeanTrustPermission.java:
2224 2006-11-17 Mark Wielaard <mark@klomp.org>
2226 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2228 2006-11-17 Gary Benson <gbenson@redhat.com>
2230 * java/net/DatagramSocket.java (getLocalAddress, connect,
2231 receive): Perform security check on address not hostname.
2233 2006-11-16 Roman Kennke <kennke@aicas.com>
2235 * gnu/javax/swing/text/html/parser/support/Parser.java
2236 (_handleText): Fixed condition for consuming whitespace.
2237 Removed validator check, this is superfluous now.
2239 2006-11-16 Roman Kennke <kennke@aicas.com>
2241 * gnu/javax/swing/text/html/css/CSSParser.java
2242 (parseRuleset): Support 'combined' selectors.
2243 (main): Adapt callback for combined selectors support.
2244 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2245 (startStatement): Take selector array as argument, to
2246 support combined selectors.
2247 * javax/swing/text/html/BlockView.java
2248 (calculateMinorAxisRequirements): Fetch and apply alignment.
2249 * javax/swing/text/html/StyleSheet.java
2250 (CSSStyle): Inverted the constants for correct precedence.
2251 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2253 (CSSStyleSheetParserCallback.style): Removed.
2254 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2255 (CSSStyleSheetParserCallback.end): Push multiple styles.
2256 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2258 2006-11-16 Roman Kennke <kennke@aicas.com>
2260 * javax/swing/text/FlowView.java
2261 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2262 * javax/swing/text/GlyphView.java
2263 (tabExpander): New field.
2265 (breakView): Set tabX on broken view.
2266 (getPartialSpan): Let the painter fetch the span.
2267 (getTabbedSpan): Update the tab expander field. Maybe trigger
2269 (getTabExpander): Simply return the stored expander.
2270 * javax/swing/text/Utilities.java
2271 (getTabbedTextOffset): Made algoritm a little smarter and more
2273 (getTabbedTextWidth): Don't add single char widths, instead add
2274 chunks of characters.
2275 * javax/swing/text/html/ParagraphView.java
2276 (calculateMinorAxisRequirements): Adjust margin only when the
2277 CSS span is not fixed.
2279 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2281 * java/beans/beancontext/BeanContextSupport.java
2282 (getChildBeanContextMembershipListener): Implemented,
2283 (getChildPropertyChangeListener): Implemented,
2284 (getChildSerializable): Implemented,
2285 (getChildVetoableChangeListener): Implemented,
2286 (getChildVisibility): Implemented,
2287 (setDesignTime): Use same property name as Sun's implementation.
2289 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2291 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2292 * java/beans/Statement.java
2293 (toString): Updated to match reference implementation.
2295 2006-11-15 Roman Kennke <kennke@aicas.com>
2297 * javax/swing/text/html/HTMLEditorKit.java
2298 (InsertHTMLTextAction.actionPerformed): Also try inserting
2299 the alternate tag. Adjust the selection accordingly.
2300 (InsertHTMLTextAction.adjustSelection): New helper method.
2301 Adjusts the selection after an insertion.
2302 (insertAtBoundary): Delegate to deprecated method.
2303 (insertAtBoundry): Implemented missing method.
2304 (tryInsert): New helper method.
2305 (defaultActions): Implemented to fill the array with
2306 a couple of InsertHTMLTextActions.
2308 2006-11-15 Roman Kennke <kennke@aicas.com>
2310 * javax/swing/text/html/ImageView.java
2311 (Observer): New class. Observes image loading.
2312 (haveHeight): New field.
2313 (haveWidth): New field.
2314 (height): New field.
2317 (imageIcon): New field.
2318 (loading): New field.
2319 (observer): New field.
2320 (reloadImage): New field.
2321 (reloadProperties): New field.
2322 (ImageView): Initialize observer and some flags.
2323 (getImage): Update the image state and return the image.
2324 (loadImage): New helper method. Actually starts loading.
2325 (paint): Rewritten to paint the image directly, not via Icon.
2326 (reloadImage): Rewritten. Loads the image and its properties.
2327 (renderIcon): Removed. No more necessary.
2328 (setPropertiesFromAttributes): Don't nullify image here.
2329 Added comment about missing impl.
2330 (setSize): Added comment about missing impl.
2331 (updateSize): New helper method. Updates the size attributes.
2332 (updateState): New helper method. Makes sure the image
2333 and its properties are valid.
2335 2006-11-15 Roman Kennke <kennke@aicas.com>
2337 * gnu/javax/swing/text/html/parser/support/Parser.java
2338 (_handleEndTag_remaining): Consume whitespace after a closing
2341 2006-11-15 Roman Kennke <kennke@aicas.com>
2343 * javax/swing/text/html/HTMLDocument.java
2344 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2346 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2348 (HTMLReader.parseStack): Removed.
2349 (HTMLReader.blockClose): Simply call addContent() with ' '
2350 instead of doing more complicated stuff. Removed parseStack
2352 (HTMLReader.blockOpen): Removed parseStack handling.
2353 (getInsertingReader): Removed parseStack init.
2354 * gnu/javax/swing/text/html/parser/htmlValidator.java
2355 (closeTag): Return true only when the tag actually should be
2357 * gnu/javax/swing/text/html/parser/support/Parser.java
2358 (_handleEndTag): Only actually close the tag when the validator
2361 2006-11-15 Roman Kennke <kennke@aicas.com>
2363 * javax/swing/text/html/CSS.java
2364 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2366 * javax/swing/text/html/StyleSheet.java
2367 (BoxPainter.bottomPadding): New field.
2368 (BoxPainter.leftPadding): New field.
2369 (BoxPainter.rightPadding): New field.
2370 (BoxPainter.topPadding): New field.
2371 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2373 (BoxPainter.getInset): Recognize and include the padding.
2374 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2375 javax/swing/text/html/TableView.java
2376 (RowView.calculateMajorAxisRequirements): Adjust req's for
2378 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2379 (cellSpacing): New field.
2380 (columnRequirements): Made package private to avoid accessor method.
2381 (calculateMinorAxisRequirements): Include cellSpacing.
2382 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2383 (layoutMajorAxis): Likewise.
2384 (layoutColumns): Respect cellSpacing.
2385 (setParent): Overridden to fetch the CSS attributes when view gets
2387 (setPropertiesFromAttributes): New method. Fetches the cell
2388 spacing from the CSS attributes.
2390 2006-11-15 Roman Kennke <kennke@aicas.com>
2392 * gnu/javax/swing/text/html/parser/support/Parser.java
2393 (_handleText): Consume whitespace directly before a closing tag.
2394 (restOfTag): Consume whitespace directly after opening.
2395 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2396 (preprocess): Don't perform array boundary checking by
2397 catch AIOOBE, instead check the boundary in loop condition.
2398 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2399 (TAG_CLOSE): New constants. Describes the token pattern for
2402 2006-11-14 Roman Kennke <kennke@aicas.com>
2404 * javax/swing/text/html/ImageView.java
2405 (getPreferredSpan): Use CSS length values.
2406 * javax/swing/text/html/TableView.java
2407 (CellView.calculateMajorAxisRequirements): Overridden to
2408 set the maximum reqs to maximum.
2409 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2411 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2412 the total column reqs.
2413 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2414 the total column reqs.
2415 * gnu/javax/swing/text/html/css/CSSColor.java
2416 (convertValue): Catch NumberFormatExceptions for more robustness.
2417 * gnu/javax/swing/text/html/css/FontSize.java
2418 (mapPixels): Actually map px values. Catch NFE for more robustness.
2420 2006-11-14 Roman Kennke <kennke@aicas.com>
2422 * gnu/java/awt/font/autofit/AxisHints.java,
2423 * gnu/java/awt/font/autofit/Constants.java,
2424 * gnu/java/awt/font/autofit/GlyphHints.java,
2425 * nu/java/awt/font/autofit/Latin.java,
2426 * nu/java/awt/font/autofit/LatinAxis.java,
2427 * gnu/java/awt/font/autofit/LatinMetrics.java,
2428 * gnu/java/awt/font/autofit/Scaler.java,
2429 * gnu/java/awt/font/autofit/Script.java,
2430 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2431 * gnu/java/awt/font/autofit/Segment.java,
2432 * gnu/java/awt/font/autofit/Width.java:
2433 New classes. This is some skeleton stuff for the FreeType-alike
2435 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2436 * gnu/java/awt/font/opentype/OpenTypeFont.java
2437 (unitsPerEm): Made field public.
2438 (getRawGlyphOutline): New method. Fetches the raw outline.
2439 * gnu/java/awt/font/opentype/Scaler.java
2440 (getRawGlyphOutline): New method. Fetches the raw outline.
2441 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2442 (loadGlyph): New method. This is used to load raw outlines.
2443 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2444 (getRawOutline): New method. Fetches the raw outline.
2445 * gnu/java/awt/font/opentype/truetype/Zone.java:
2448 2006-11-14 Roman Kennke <kennke@aicas.com>
2450 * javax/swing/RepaintManager.java
2451 (RepaintManager): Fetch the default state for the double buffering
2452 from a system property gnu.swing.doublebuffering.
2454 2006-11-14 Roman Kennke <kennke@aicas.com>
2456 * javax/swing/plaf/basic/BasicLabelUI.java
2457 (cachedInsets): New field.
2458 (getFontMetrics): New helper method. Fetches the font metrics
2459 from the component or the toolkit.
2460 (getPreferredSize): Use getFontMetrics() helper method for
2461 fetching the font metrics.
2462 (paint): Use getFontMetrics() helper method for
2463 fetching the font metrics. Only paint if icon or text
2464 are != null. Use cached insets.
2465 (paintDisabledText): Don't store/restore color object. The
2466 JComponent painting mechanism takes care of this by calling
2468 (paintEnabledText): Don't store/restore color object. The
2469 JComponent painting mechanism takes care of this by calling
2472 2006-11-14 Roman Kennke <kennke@aicas.com>
2474 * gnu/java/awt/peer/GLightweightPeer.java
2475 (handleEvent): Try to do something reasonable and trigger painting
2476 for the lightweight component.
2477 (getFontMetrics): Fetch and return a font metrics object from
2480 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2482 * gnu/java/util/regex/RETokenNamedProperty.java:
2483 (getHandler(String)): Add support for 'all'.
2485 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2487 * AUTHORS: Add myself.
2489 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2491 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2492 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2493 Roman Kennke's entry.
2495 2006-11-13 Roman Kennke <kennke@aicas.com>
2497 * java/awt/image/IndexColorModel.java
2498 (createCompatibleSampleModel): Implemented missing method.
2500 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2502 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2503 from big endian systems correctly.
2505 2006-11-11 Roman Kennke <kennke@aicas.com>
2507 * gnu/javax/swing/text/html/css/CSSColor.java
2508 (isValidColor): New helper method. Checks strings if they
2509 form a valid color value.
2510 * gnu/javax/swing/text/html/css/Length.java
2511 (Length): Catch number format exceptions.
2512 * javax/swing/text/html/CSS.java
2513 (addInternal): New method. Checks for shorthand CSS attributes
2515 (parseBackgroundShorthand): New method. Parses the background
2516 shorthand attribute.
2517 * javax/swing/text/html/HTMLDocument.java
2518 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2519 (HTMLReader.LinkAction.start): Implemented to load the linked
2521 (HTMLReader.LinkAction.end): Removed. This is not needed.
2522 * javax/swing/text/html/StyleSheet.java
2523 (CSSStyleSheetParserCallback.declaration): Push declaration
2524 through CSS.addInternal() to parse shorthand attributes.
2525 (addCSSAttribute): Push declaration through CSS.addInternal()
2526 to parse shorthand attributes.
2527 (importStyleSheet): Implemented. This adds a stylesheet from
2529 * javax/swing/text/html/TableView.java
2530 (calculateColumnRequirements): Increase column index for
2531 non CellView children to avoid endless loop.
2532 * javax/swing/text/CompositeView.java
2533 (setParent): Comparen with numChildren not with real arraylength.
2535 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2537 * java/beans/beancontext/BeanContextSupport.java
2538 (getChildBeanContextChild): Implemented.
2540 2006-11-10 Roman Kennke <kennke@aicas.com>
2542 * javax/swing/text/View.java
2543 (updateLayout): Only repaint when needed.
2545 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2547 * java/util/Collections.java
2548 (sort(List)): Minor API doc addition,
2549 (sort(List, Comparator)): Likewise.
2551 2006-11-10 David Fu <fchoong@netbeans.jp>
2553 * javax/swing/text/html/HTMLWriter.java
2554 (traverse): Removed Classpath specific handling of implied
2556 (traverseHtmlFragment): Removed Classpath specific handling of
2559 2006-11-10 Roman Kennke <kennke@aicas.com>
2561 * javax/swing/text/ParagraphView.java
2562 (Row.getMaximumSize): Removed. This method is not necessary.
2563 * javax/swing/text/html/TableView.java
2564 (CellView): Moved attribute init to setPropertiesFromAttributes().
2565 (setPropertiesFromAttributes): Fetch attributes here.
2566 (RowView.RowView): Documented.
2567 (RowView.getMaximumSpan): Overridden to restrict the max span
2569 (RowView.layoutMajorAxis): Correctly layout the spans.
2570 (columnWidths): New field. Stores the width attributes of
2572 (calculateColumnRequirements): Added support for relative
2573 (== percent) width attributes.
2574 (calculateMajorAxisRequirements): Removed.
2575 (calculateMinorAxisRequirements): Removed unnecessary code.
2576 (getMaximumSpan): Overridden to restrict the table's width.
2577 (layoutColumns): Documented. Implement more clever table layout,
2578 i.e. for relative columns etc.
2579 (layoutMinorAxis): Don't mark rows invalid.
2580 (updateGrid): Added docs. Initialize column widths.
2582 2006-11-09 Roman Kennke <kennke@aicas.com>
2584 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2585 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2586 Implement basic headless toolkit.
2587 * java/awt/Toolkit.java
2588 (getDefaultToolkit): Check headless property and create
2589 headless toolkit when true.
2591 2006-11-09 Ingo Proetel <proetel@aicas.com>
2592 2006-11-09 Roman Kennke <kennke@aicas.com>
2594 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2595 (SwingButton.button): New field.
2596 (SwingButton.SwingButton): Added constructor.
2597 (SwingButton.isShowing): Access button field instead of
2598 the surrounding class.
2599 (SwingButton.getParent): Access button field instead of
2600 the surrounding class.
2601 (SwingButtonPeer): Call new SwingButton constructor.
2602 * gnu/java/awt/peer/swing/SwingComponent.java:
2603 Several documentation updates.
2604 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2605 (currentPaintEvents): New field.
2606 (peerFont): New field.
2607 (SwingComponentPeer): Initialize currentPaintEvents fields.
2608 (coalescePaintEvents): Implemented.
2609 (dispose): Unregister peer from heavyweight list of its container.
2610 (getGraphics): Fetch graphics from parent component.
2611 (handleEvent): Discard paint event if its coalesced.
2612 (init): Register component with its container for proper painting.
2613 (paint): Call peerPaint().
2614 (peerPaint): Added argument that indicates if we should update.
2615 Call paint or update on the actual AWT component.
2616 (peerPaintComponent): New method. Paints the peer (Swing) component.
2617 (setFont): Set peerFont field.
2618 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2619 (backbuffer): New field.
2620 (focusOwner): New field.
2621 (heavyweightDescendents): New field.
2622 (SwingContainerPeer): Take Container as argument. Don't call init
2624 (addHeavyweightDescendent): New method.
2625 (getFocusOwner): New helper method.
2626 (getInsets): Delegate to insets().
2627 (handleKeyEvent): Dispatch event to focus owner.
2628 (handleMouseEvent): Dispatch to child component.
2629 (isDoubleBuffering): New helper method.
2630 (peerPaint): Overridden to implement container painting with
2632 (peerPaintChildren): New method. Paints the descendents of this
2634 (removeHeavyweightDescendent): New helper method.
2635 * gnu/java/awt/peer/swing/SwingFramePeer.java
2636 (peerPaint): Removed.
2637 (peerPaintComponent): Overridden to paint the menu bar.
2638 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2639 (SwingLabel.label): New field.
2640 (SwingLabel.SwingLabel): Added constructor with Label argument.
2641 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2642 the actual AWT component.
2643 (SwingLabel.getParent): Implemented to fetch the parent from
2645 (SwingLabel.isShowing): Access the label field.
2646 (SwingLabelPeer): Set alignment from label.
2647 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2648 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2650 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2651 Don't be a lighweight peer.
2652 (SwingPanelPeer): Call init.
2653 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2654 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2655 (SwingTextField.textField): New field.
2656 (SwingTextField.SwingTextField): New constructor.
2657 (SwingTextField.isShowing): Access field not enclosing class.
2658 (SwingTextField.getGraphics): New method.
2659 (SwingTextField.getParent): New method.
2660 (SwingTextFieldPeer): Call new constructor.
2661 (select): Renamed arguments.
2662 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2663 (SwingWindowPeer): Call init.
2665 2006-11-09 Tania Bento <tbento@redhat.com>
2667 * javax/swing/JLabel.java
2668 (JLabel(Icon)): Changed documentation; Changed text to null.
2669 (JLabel(Icon,int)): Likewise.
2670 (JLabel(text)): Changed documenation.
2671 (JLabel(text,int)): Likewise.
2672 (JLabel(text,Icon,int)): Changed documentation; Throw
2673 IllegalArgumentException if int is not one of LEFT, RIGHT,
2674 CENTER, LEADING or TRAILING.
2676 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2678 * java/beans/beancontext/BeanContextSupport.java
2679 (BeanContextSupport): Use correct dtime default,
2680 (BeanContextSupport(BeanContext)): Likewise,
2681 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2683 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2684 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2686 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2688 * java/beans/beancontext/BeanContextSupport.java
2689 (getBeanContextPeer): Implemented.
2691 2006-11-09 Roman Kennke <kennke@aicas.com>
2693 * javax/swing/text/html/BlockView.java
2694 (cssHeight): Removed.
2695 (cssWidth): Removed.
2696 (cssSpans): New field. Replaces the two fields above.
2697 (BlockView): Allocate cssSpans array.
2698 (layoutMinorAxis): Fetch and use child span, not this view's span.
2699 (setCSSSpan): Adjusted to use cssSpans array.
2700 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2702 2006-11-09 Roman Kennke <kennke@aicas.com>
2704 * javax/swing/text/html/InlineView.java
2705 (nowrap): New field.
2706 (getBreakWeight): Add support for nowrap.
2707 (setPropertiesFromAttributes): Fetch the nowrap setting.
2709 2006-11-09 Roman Kennke <kennke@aicas.com>
2711 * gnu/javax/swing/text/html/css/CSSParser.java
2712 (parseRuleset): Use new Selector class.
2713 (parseValue): Parse multiple anys, not only one.
2714 (main): Allow stylesheet be specified on the command line.
2715 Use new Selector class.
2716 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2717 (startStatement): Use Selector class.
2718 * gnu/javax/swing/text/html/css/CSSScanner.java
2719 (readName): Actually read a character in the loop to avoid
2721 * gnu/javax/swing/text/html/css/Length.java
2722 (getValue): Only multiply when we have a percentage value.
2723 * gnu/javax/swing/text/html/css/Selector.java:
2724 New class. Provides handling of CSS selectors.
2725 * javax/swing/text/html/StyleSheet.java
2726 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2727 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2728 (CSSStyle.PREC_NORM): New constant field.
2729 (CSSStyle.PREC_UA): New constant field.
2730 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2731 (CSSStyle.precedence): New field.
2732 (CSSStyle.priority): Removed.
2733 (CSSStyle.selector): New field.
2734 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2736 (CSSStyle.compareTo): Adjusted to use the precedence and
2737 specificity of the selector.
2738 (CSSStyleSheetParserCallback.precedence): New field.
2739 (CSSStyleSheetParserCallback.selector): Removed.
2740 (CSSStyleSheetParserCallback.style): New field.
2741 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2742 Initialize with precedence.
2743 (CSSStyleSheetParserCallback.declaration): Don't look up
2744 existing rule, simply create new one.
2745 (CSSStyleSheetParserCallback.endStatement): Append style
2747 (CSSStyleSheetParserCallback.startStatement): Use new Selector
2749 (css): Changed to be ArrayList.
2750 (addRule): Create parser with author-normal precendence.
2751 (getRule): Fixed implementation.
2752 (loadRules): Create parser with UA precendence.
2753 (resolveStyle): Use Selector class for resolving and matching
2755 (translateHTMLToCSS): Added mappings for a couple of HTML
2758 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2761 * java/beans/SimpleBeanInfo.java
2762 (loadImage): Check for nulls.
2764 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2766 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2767 (getpeername): Added 16 byte offset to memcpy operation.
2769 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2771 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2772 (getsockname): Added 16 byte offset to memcpy operation.
2774 2006-11-08 Mark Wielaard <mark@klomp.org>
2777 * java/io/OutputStreamWriter.java
2778 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2779 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2781 2006-11-08 Roman Kennke <kennke@aicas.com>
2783 * javax/swing/text/html/HTMLEditorKit.java
2784 (getParser): Use plain HTML_401F DTD.
2785 * javax/swing/text/html/HTMLDocument.java
2786 (HTMLReader.print): Removed method and all calls to it.
2787 (HTMLReader.printBuffer): Removed method and all calls to it.
2788 (HTMLReader.inImpliedParagraph): New field.
2789 (HTMLReader.inParagraph): New field.
2790 (HTMLReader.addContent): Create implied p-tag if necessary.
2791 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2792 (HTMLReader.blockClose): Close implied p-tag if necessary.
2793 (HTMLReader.blockOpen): Close implied p-tag if necessary.
2794 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2796 2006-11-08 Roman Kennke <kennke@aicas.com>
2798 * javax/swing/text/html/HTMLEditorKit.java
2799 (HTMLFactory.create): Removed mapping for TD tag. This
2800 is done in TableView.
2801 * javax/swing/text/html/TableView.java:
2802 Implemented from scratch.
2804 2006-11-07 Roman Kennke <kennke@aicas.com>
2806 * gnu/javax/swing/text/html/parser/support/Parser.java
2807 (_handleText): Check if text content is actually allowed before
2808 passing empty text fragments on to the parser callbacks.
2810 2006-11-07 Mark Wielaard <mark@klomp.org>
2812 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2816 2006-11-07 Tania Bento <tbento@redhat.com>
2818 * java/awt/FlowLayout.java
2819 (getSize): If parent does not have a component, then a
2820 different formula is used to calcuate the width.
2822 2006-11-07 Roman Kennke <kennke@aicas.com>
2824 * javax/swing/text/html/HTMLEditorKit.java
2825 (HTMLFactory.create): Include ListView.
2826 * javax/swing/text/html/ListView.java
2827 (paint): Removed comment.
2828 * javax/swing/text/html/StyleSheet.java
2829 (CSSStyle.priority): New field.
2830 (CSSStyle.CSSStyle(int)): New constructor with priority.
2831 (CSSStyle.compareTo): New method. Used for sorting the styles.
2832 (CSSStyleSheetParserCallback.declaration): Store the style
2833 with the complete selector.
2834 (ListPainter.attributes): Renamed as field.
2835 (ListPainter.styleSheet): New field.
2836 (ListPainter.type): New field.
2837 (ListPainter.ListPainter): Pass StyleSheet to constructor.
2838 (ListPainter.paint): Provide simplistic implementation.
2839 (getListPainter): Pass StyleSheet to constructor.
2840 (resolveStyle): Fixed CSS style resolving.
2842 2006-11-07 Roman Kennke <kennke@aicas.com>
2844 * gnu/javax/swing/text/html/css/BorderWidth.java:
2845 New class. Handles CSS border width values.
2846 * gnu/javax/swing/text/html/css/Length.java
2847 (floatValue): Made protected so that BorderWidth can access it.
2848 * javax/swing/text/html/CSS.java
2849 (Attribute.BORDER_BOTTOM_COLOR): New static field.
2850 (Attribute.BORDER_BOTTOM_STYLE): New static field.
2851 (Attribute.BORDER_LEFT_COLOR): New static field.
2852 (Attribute.BORDER_LEFT_STYLE): New static field.
2853 (Attribute.BORDER_RIGHT_COLOR): New static field.
2854 (Attribute.BORDER_RIGHT_STYLE): New static field.
2855 (Attribute.BORDER_TOP_COLOR): New static field.
2856 (Attribute.BORDER_TOP_STYLE): New static field.
2857 (getValue): Added some mappings for the border color and
2858 border width values.
2859 * javax/swing/text/html/CSSBorder.java: New class. Implements
2861 * javax/swing/text/html/StyleSheet.java
2862 (BoxPainter.background): New field.
2863 (BoxPainter.border): New field.
2864 (BoxPainter.bottomInset): Documented.
2865 (BoxPainter.leftInset): Documented.
2866 (BoxPainter.rightInset): Documented.
2867 (BoxPainter.topInset): Documented.
2868 (BoxPainter.BoxPainter): Added support for borders and background.
2869 (BoxPainter.getInset): Add border insets.
2870 (BoxPainter.paint): Implemented. Paints the background and the
2872 (addRule): Be less picky about parse and IO exceptions.
2873 (getBoxPainter): Adjust to new BoxPainter constructor.
2875 2006-11-07 Andreas <a.tobler@schweiz.org>
2877 * examples/Makefile.am: Add rule to install the *.html files we use
2880 2006-11-06 Francis Kung <fkung@redhat.com>
2882 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2883 (fillRect): Handle custom composites.
2884 (drawRenderedImage): Handle custom composites.
2885 (drawImage): Handle custom composites.
2886 (createBuffer): New method.
2887 (drawLine): Handle custom composites.
2888 (drawComposite): New method.
2889 (fill): Handle custom composites.
2890 (getNativeCM): New method.
2891 (drawGlyphVector): Handle custom composites.
2892 (drawRect): Handle custom composites.
2893 (draw): Handle custom composites.
2894 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2895 (drawComposite): Unset composite during draw call, to prevent parent
2896 from handling composite again.
2897 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2898 (getBufferCM): Added comments.
2899 (getNativeCM): Made abstract.
2900 (setComposite): Removed comments.
2902 2006-11-06 Roman Kennke <kennke@aicas.com>
2904 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2905 Fixed initial window size and start document.
2907 2006-11-06 Roman Kennke <kennke@aicas.com>
2909 * javax/swing/text/html/HTMLDocument.java
2910 (HTMLReader.addSpecialElement): Removed comment about
2912 (HTMLReader.handleComment): Create SimpleAttributeSet instead
2913 of htmlAttributeSet.
2914 * javax/swing/text/html/parser/DocumentParser.java
2915 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2916 of htmlAttributeSet.
2917 * javax/swing/text/html/parser/ParserDelegator.java
2918 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2919 of htmlAttributeSet.
2920 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2921 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2922 of htmlAttributeSet.
2923 * gnu/javax/swing/text/html/parser/support/Parser.java
2924 (getAttributes): Return a SimpleAttributeSet.
2925 (restOfTag): Don't set resolving parent here.
2927 2006-11-06 Tania Bento <tbento@redhat.com>
2929 * java/awt/TextComponent.java
2930 (setSelectionStart): Added check.
2932 2006-11-06 Tania Bento <tbento@redhat.com>
2934 * java/awt/TextField.java
2935 (minimumSize(int)): Check if minimum size has been previously
2936 set and changed values of Dimension returned if peer == null.
2937 (preferredSize(int)): Check if preferred size has been previously
2938 set and changed values of Dimension returned if peer == null.
2940 2006-11-06 Roman Kennke <kennke@aicas.com>
2942 * javax/swing/JTree.java
2943 (TreeModelHandler.treeNodesRemoved): Implemented.
2944 (TreeModelHandler.treeStructureChanged): Implemented.
2945 (nodeStates): Made package private.
2947 2006-11-06 Francis Kung <fkung@redhat.com>
2950 * javax/swing/JTree.java
2951 (clearSelectionPathStates): New private method to clean up nodeStates.
2952 (removeSelectionPath): Call clearSelectionPathStates().
2953 (removeSelectionPaths): Call clearSelectionPathStates().
2954 (removeSelectionRow): Call clearSelectionPathStates().
2955 (setSelectionPath): Call clearSelectionPathStates().
2956 (setSelectionPaths): Call clearSelectionPathStates().
2957 (setSelectionRow): Call clearSelectionPathStates().
2959 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
2962 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2964 2006-11-06 Roman Kennke <kennke@aicas.com>
2966 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2967 Changed to implement a minimalistic browser.
2968 * examples/gnu/classpath/examples/swing/forms.html,
2969 * examples/gnu/classpath/examples/swing/textstyles.html,
2970 * examples/gnu/classpath/examples/swing/welcome.html:
2971 Some example content.
2973 2006-11-06 Roman Kennke <kennke@aicas.com>
2975 * javax/swing/text/ComponentView.java
2976 (setParent): Lock the document and repaint the hosting
2978 * javax/swing/text/FlowView.java
2979 (FlowStrategy.createView): Removed comment.
2980 (FlowView): Initialize span with Short.MAX_VALUE.
2981 (getFlowStart): Return 0 unconditionally.
2982 (layout): Moved code around to make it more readable.
2983 (loadChildren): Always set the parent.
2984 * javax/swing/text/GlyphView.java
2985 (DefaultGlyphPainter.fontMetrics): New field.
2986 (DefaultGlyphPainter.getAscent): Use new helper method to
2987 synchronize the font metrics.
2988 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2989 to synchronize the font metrics.
2990 (DefaultGlyphPainter.getDescent): Use new helper method to
2991 synchronize the font metrics.
2992 (DefaultGlyphPainter.getHeight): Use new helper method to
2993 synchronize the font metrics.
2994 (DefaultGlyphPainter.getSpan): Use new helper method to
2995 synchronize the font metrics.
2996 (DefaultGlyphPainter.modelToView): Use new helper method to
2997 synchronize the font metrics.
2998 (DefaultGlyphPainter.updateFontMetrics): New helper method for
2999 font metrics caching.
3000 (DefaultGlyphPainter.viewToModel): Use new helper method to
3001 synchronize the font metrics. Fixed view to model mapping.
3002 * javax/swing/text/View.java
3003 (removeAll): Pass null to replace().
3004 (setParent): Only reparent children that have this view as parent.
3006 2006-11-05 Mark Wielaard <mark@klomp.org>
3008 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3009 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3010 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3012 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3014 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3015 Remove gnu_java_nio_channels_FileChannelImpl.c.
3017 2006-11-03 Roman Kennke <kennke@aicas.com>
3019 * javax/swing/text/html/BlockView.java
3020 (attributes): New field.
3021 (cssHeight): New field.
3022 (cssWidth): New field.
3023 (painter): New field.
3024 (calculateMajorAxisRequirements): Overridden to account for
3026 (calculateMinorAxisRequirements): Overridden to account for
3028 (layoutMinorAxis): Overridden to account for CSS settings.
3029 (changedUpdate): Formatting fixlet.
3030 (constrainSize): New helper method.
3031 (getAlignment): Fix alignment.
3032 (getAttributes): Cache attributes for better performance.
3033 (getStyleSheet): Fetch stylesheet from document rather than creating
3035 (paint): Remove comment.
3036 (setCSSSpan): New helper method.
3037 (setPropertiesFromAttributes): Implemented to fetch the
3038 recognized properties.
3039 * javax/swing/text/html/CSS.java
3040 (getValue): Added mapping for width and height attributes.
3041 * javax/swing/text/html/InlineView.java
3042 (longestWord): New field.
3043 (getLongestWord): New helper method.
3044 (calculateLongestWord): New helper method.
3045 (getMinimumSpan): Overridden to constrain the minimum span by the
3047 * javax/swing/text/html/ParagraphView.java
3048 (cssHeight): New field.
3049 (cssWidth): New field.
3050 (calculateMinorAxisRequirements): Overridden to account for
3052 (setCSSSpan): New helper method.
3053 (setPropertiesFromAttributes): Fetch CSS width and height. Added
3055 * gnu/javax/swing/text/html/css/Length.java
3056 (percentage): New field.
3057 (Length): Determine percentage values.
3058 (getValue(float)): New method for handling percentage values.
3059 (isPercentage): New method.
3061 2006-11-03 Tania Bento <tbento@redhat.com>
3063 * java/awt/TextArea.java
3064 (getMinimumSize): Changed documentation.
3065 (getPreferredSize): Changed documentation.
3066 (getMinimumSize(int,int)): Changed documenation.
3067 (getPreferredSize(int,int)): Changed documenation.
3068 (minimumSize): Changed documentation.
3069 (preferredSize): Changed documenation.
3070 (minimumSize(int,int)): Changed documentation. Checked if
3071 minimum size had been previously set and changed values of
3072 Dimension returned if peer == null.
3073 (preferredSize(int, int)): Checked if preferred size had been
3074 previously set and changed values of Dimension returned if
3077 2006-11-03 Tania Bento <tbento@redhat.com>
3079 * java/awt/event/ComponentEvent.java
3080 (paramString): Changed format of string representation returned.
3082 2006-11-03 Roman Kennke <kennke@aicas.com>
3084 * javax/swing/text/html/HTMLDocument.java
3085 (HTMLReader.FormAction.start): Added support for textarea.
3086 (HTMLReader.FormAction.end): Added support for textarea.
3087 (HTMLReader.HeadAction.end): Call super to actually close the
3089 (HTMLReader.inTextArea): New field.
3090 (HTMLReader.textAreaDocument): New field.
3091 (HTMLReader.handleText): Call textAreaContent when inside
3093 (HTMLReader.textAreaContent): Implemented to initialize
3094 the text area's model.
3095 * javax/swing/text/html/FormView.java
3096 (createComponent): Added support for textarea tag.
3098 2006-11-03 Roman Kennke <kennke@aicas.com>
3100 * javax/swing/text/html/HTMLDocument.java
3101 (HTMLReader.IsindexAction.start): Implemented.
3103 2006-11-03 Roman Kennke <kennke@aicas.com>
3105 * javax/swing/text/html/StyleSheet.java
3106 (addRule): Implemented.
3107 * javax/swing/text/html/HTMLDocument.java
3108 (HTMLReader.inStyleTag): New field.
3109 (HTMLReader.styles): New field.
3110 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3112 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3113 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3114 (HTMLReader.handleText): When inside a style tag, add
3115 content to the styles array.
3117 2006-11-02 Roman Kennke <kennke@aicas.com>
3119 * javax/swing/text/html/FormView.java
3120 (maxIsPreferred): New field.
3121 (createComponent): Initialize components correctly.
3122 (getMaximumSpan): Return the preferred span for components
3123 that need this. The maxIsPreferred flag is set accordingly
3125 * javax/swing/text/html/HTMLDocument.java
3126 (HTMLReader.FormAction.start): Implemented to set the
3127 correct model as attribute.
3128 (HTMLReader.FormAction.setModel): New helper method.
3129 (HTMLReader.FormAction.end): Call super to finish the element.
3130 Added TODO about things left to do.
3131 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3132 than htmlAttributeSet.
3133 * javax/swing/text/html/HTMLEditorKit.java
3134 (HTMLFactory.create): Create BlockView for FORM tags.
3135 Create FormView for INPUT, TEXTAREA and SELECT tags.
3137 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3139 * java/awt/geom/GeneralPath.java: API doc fixes.
3141 2006-11-02 Roman Kennke <kennke@aicas.com>
3143 * javax/swing/text/html/ImageView.java
3144 (getImageURL): Fetch attribute from element. Consider the
3145 base URL for relative image locations.
3147 2006-11-02 Roman Kennke <kennke@aicas.com>
3149 * javax/swing/JEditorPane.java
3150 (setContentType): Strip off attributes.
3151 * javax/swing/text/html/HTMLEditorKit.java
3152 (LinkController.activateLink(int,JEditorPane,int,int): New
3153 method. Implements activation of a hyperlink.
3154 (LinkController.activateLinke(int,JEditorPane)): Delegate
3155 to the other activateLink() method.
3156 (LinkController.createHyperlinkEvent): New helper method.
3157 (LinkController.mouseClicked): Implemented to activate the link.
3158 (LinkController.mouseDragged): Added comment that this
3159 method does nothing.
3160 (LinkController.mouseMoved): Update cursor for hyperlinks.
3161 (mouseHandler): Renamed field to linkController.
3162 (HTMLEditorKit): Create a link controller.
3163 (clone): Give the clone a new link controller.
3164 (deinstall): De-install link controller as mouseMotionListener too.
3165 (install): Install link controller as mouseMotionListener too.
3167 2006-11-02 Roman Kennke <kennke@aicas.com>
3170 * javax/swing/text/FlowView.java
3171 (FlowStrategy.changedUpdate): Reversed condition. This caused
3172 wrong layout and bad performance.
3173 (FlowStrategy.insertUpdate): Reversed condition. This caused
3174 wrong layout and bad performance.
3175 (FlowStrategy.removeUpdate): Reversed condition. This caused
3176 wrong layout and bad performance.
3177 (LogicalView): Changed to be a subclass of CompositeView.
3178 (LogicalView()): Only take one Element argument.
3179 (LogicalView.childAllocation): New method for implementing
3180 the abstract CompositeView method.
3181 (LogicalView.forwardUpdateToView): Overridden for correct
3183 (getMinimumSpan): Overridden to handle line breaking correctly.
3184 (getPreferredSpan): Implemented to handle line breaking correctly.
3185 (getViewAtPoint): New method for implementing
3186 the abstract CompositeView method.
3187 (getViewIndexAtPosition): Overridden to handle leaf elements
3189 (isAfter): New method for implementing
3190 the abstract CompositeView method.
3191 (isBefore): New method for implementing
3192 the abstract CompositeView method.
3193 (loadChildren): Overridden to handle leaf elements
3195 (paint): New method for implementing
3196 the abstract CompositeView method.
3197 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3198 (loadChildren): Initialize flow layout by sending a synthetic
3199 insertUpdate() to the layout strategy.
3200 * javax/swing/text/GlyphView.java
3201 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3202 font metrics if component is not available. Add initial offset
3204 (breakView): Be more clever when breaking the view.
3205 (getBreakLocation): New helper method to determine a good
3207 (getBreakWeight): Be more clever when breaking the view.
3208 (getTabbedSpan): Make sure we have a painter. Use view's
3209 start and end offset rather than the element's.
3210 * javax/swing/text/Utilities.java
3211 (drawTabbedText): Avoid useless add and sub with the y offset.
3213 2006-11-02 Roman Kennke <kennke@aicas.com>
3216 * gnu/java/awt/peer/ClasspathFontPeer.java
3217 (getStringBounds): Removed abstract method. This is replaced
3218 in java.awt.Font to use a TextLayout.
3219 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3220 (GtkWindowPeer): Set a font on the window object.
3221 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3222 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3223 Changed to take char,int,int instead of String. Filter
3225 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3226 Create char array out of string.
3227 (getLogicalBounds): Don't translate bounds. They already are
3229 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3230 (stringWidth): Filter out control characters.
3231 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3232 (getStringBounds): Removed unneeded method.
3233 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3235 * gnu/java/awt/peer/qt/QtFontPeer.java
3236 (getStringBounds): Removed unneeded method.
3237 * gnu/java/awt/peer/x/XFontPeer.java
3238 (getStringBounds): Removed unneeded method.
3239 * gnu/java/awt/peer/x/XFontPeer2.java
3240 (getStringBounds): Removed unneeded method.
3241 * java/awt/Font.java
3242 (getStringBounds(char[],int,int,FontRenderContext)):
3243 Use TextLayout to determine the bounds.
3244 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3245 Delegate to the char[] version of this method.
3246 (getStringBounds(String,FontRenderContext)):
3247 Delegate to the char[] version of this method.
3248 (getStringBounds(String,int,int,FontRenderContext)):
3249 Delegate to the String version of this method.
3251 2006-11-01 Tania Bento <tbento@redhat.com>
3253 * java/awt/ScrollPaneAdjustable.java
3254 (paramString): Changed format of string representation returned.
3255 (paramStringHelper): New private method.
3257 2006-11-01 Tania Bento <tbento@redhat.com>
3259 * java/awt/GridBagLayout.java
3260 (toString): Implemented method.
3262 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3264 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3265 initialization to NP_Initialize.
3266 (NP_Initialize): Initialize GLib threading.
3268 2006-10-31 Tania Bento <tbento@redhat.com>
3270 * javax/swing/JTextField.java
3271 (fireActionPerformed): When creating the new event, if
3272 actionCommand == null, then getText() is used.
3274 2006-10-31 Francis Kung <fkung@redhat.com>
3276 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3277 (fillArc): Corrected arc type to Arc2D.PIE.
3279 2006-10-31 Roman Kennke <kennke@aicas.com>
3281 * javax/swing/text/html/HTMLDocument.java
3282 (HTMLReader.PreAction.end): Implemented.
3283 (HTMLReader.PreAction.start): Implemented.
3284 (HTMLReader.inPreTag): New field.
3285 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3286 (HTMLReader.preContent): Implemented.
3288 2006-10-31 Tania Bento <tbento@redhat.com>
3290 * javax/swing/JTextField.java
3291 (fireActionPerformed): When creating the new event,
3292 actionCommand should be used as the command, not
3295 2006-10-31 Roman Kennke <kennke@aicas.com>
3297 * javax/swing/text/html/HTMLEditorKit.java
3298 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3299 HTML or Styled documents.
3301 2006-10-31 David Fu <fchoong@netbeans.jp>
3303 * javax/swing/text/html/HTMLWriter.java: New class.
3305 2006-10-30 Roman Kennke <kennke@aicas.com>
3307 * java/awt/dnd/DragSourceContext.java
3308 (dragExit): Use constant fields instead of 0.
3309 (updateCurrentCursor): Completed implementation.
3311 2006-10-30 Roman Kennke <kennke@aicas.com>
3313 * java/awt/dnd/DragGestureRecognizer.java
3314 (resetRecognizer): Added API docs. Do not replace the events object
3315 but rather clear() it. Removed not implemented tag.
3317 2006-10-30 Roman Kennke <kennke@aicas.com>
3319 * java/awt/datatransfer/DataFlavor.java
3320 (writeExternal): Remove not implemented tag.
3322 2006-10-30 Roman Kennke <kennke@aicas.com>
3324 * java/awt/datatransfer/DataFlavor.java
3325 (javaFileListFlavor): Don't explicitly specify class.
3326 (plainTextFlavor): Don't explicitly specify class.
3327 (mimeType): Changed to type MimeType. Remove final.
3328 (representationClass): Remove final.
3329 (DataFlavor): Don't do anything here.
3330 (DataFlavor(Class,String,String)): Removed.
3331 (DataFlavor(Class,String)): Initialize here.
3332 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3333 (DataFlavor(String,String)): Initialize in init().
3334 (DataFlavor(String)): Initialize in init().
3335 (init): New initialization method.
3336 (getMimeType): Delegate to MimeType.toString().
3337 (getParameter(String,String)): Removed. Is now done in MimeType.
3338 (getParameter(String)): Delegate to MimeType.
3339 (getPrimaryType): Delegate to MimeType.
3340 (getRepresentationClassFromMime): Removed.
3341 (getRepresentationClassFromMimeThrows): Removed.
3342 (getSubType): Delegate to MimeType.
3343 (hashCode): Take MimeType.toString() for the hashCode.
3344 (isFlavorRemoveObjectType): Return true only when representation
3345 class is remove and serializable and the mime type is remote.
3346 (isFlavorSerializedObjectType): Return true only when representation
3347 class is serializable and the mime type is serialized.
3348 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3349 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3350 (readExternal): Implemented stub method.
3351 (writeExternal): Implemented stub method.
3352 * java/awt/datatransfer/MimeType.java: New helper class.
3354 2006-10-28 Roman Kennke <kennke@aicas.com>
3356 * javax/swing/TransferHandler.java
3357 (importData): Implemented stub method. Added API docs.
3359 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3361 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3363 * native/jni/classpath/classpath_jawt.h: Likewise.
3364 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3365 initializer for surface_info_x11->depth.
3367 2006-10-26 Tania Bento <tbento@redhat.com>
3369 * java/awt/FileDialog.java:
3370 (setFile): Changed if-clause condition.
3372 2006-10-25 Francis Kung <fkung@redhat.com>
3374 * include/gnu_java_nio_VMChannel.h,
3375 * include/java_net_VMNetworkInterface.h,
3376 * include/gnu_java_nio_EpollSelectorImpl.h,
3377 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3378 * include/gnu_java_nio_FileChannelImpl.h,
3379 * include/gnu_java_nio_KqueueSelectorImpl.h,
3380 * include/gnu_java_nio_VMPipe.h,
3381 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3383 2006-10-25 Tania Bento <tbento@redhat.com>
3385 * java/awt/Dialog.java: Created new private variable
3387 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3388 Set cursor to default cursor.
3389 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3391 (generateName): New method.
3392 (getUniqueLong): New private method.
3393 * java/awt/FileDialog.java: Created new private variable
3394 next_file_dialog_number.
3395 (setFile): If file == "", set it to null.
3396 (generateName): New method.
3397 (getUniqueLong): New private method.
3399 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3401 * java/net/MulticastSocket.java:
3402 (setNetworkInterface): Rewritten.
3404 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3406 * native/jni/java-net/javanet.h: Added declaration for
3407 _javanet_create_inetaddress.
3408 * native/jni/java-net/javanet.c:
3409 (_javanet_create_inetaddress): Removed static keyword.
3411 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3413 * gnu/java/net/PlainDatagramSocketImpl.java:
3414 (connect): Use VMChannel instance for connect call.
3415 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3416 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3417 (setOption): Handle multicast options.
3418 (getOption): Handle multicast options.
3419 * gnu/java/net/PlainSocketImpl.java:
3420 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3421 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3422 (setOption): Filter unappropriate options.
3423 (getOption): Filter unappropriate options.
3424 (connect): Use given SocketAddress.
3425 (close): Reset address and port.
3427 * include/Makefile.am: Removed all occurences of
3428 gnu_java_net_VMPlainDatagramSocketImpl.h.
3429 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3430 * native/jni/java-net/Makefile.am: Removed
3431 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3432 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3434 as SocketException, declare to throw SocketException.
3435 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3436 for SocketException and ConnectException.
3437 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3439 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3441 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3442 (JCL_thread_interrupted): New function.
3443 (initIDs): Added initialisation for isThreadInterrupted method id.
3444 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3445 CPNET_IP_TTL to java_sockopt enum.
3446 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3447 case, handle SO_LINGER case properly.
3448 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3449 case, handle SO_LINGER case properly.
3450 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3452 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3454 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3456 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3458 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3459 * vm/reference/gnu/java/nio/VMChannel.java:
3460 (connect(int, byte[], int, int)): Declare to throw SocketException.
3461 (connect6): Declare to throw SocketException.
3462 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3463 (isThreadInterrupted): New method.
3464 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3466 (setTimeToLive): New method.
3467 (getTimeToLive): New method.
3468 (setMulticastInterface(int, InetAddress)): New method.
3469 (setMulticastInterface(int, int, Inet4Address): New method.
3470 (setMulticastInterface6(int, int, Inet6Address): New method.
3471 (setOptions): Handle SO_LINGER case.
3472 (getOptions): Add missing SO_REUSEADDR case.
3473 * java/net/Socket.java:
3474 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3475 when exception was thrown out of connect().
3476 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3477 Boolean.FALSE with Integer.valueOf(-1).
3478 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3479 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3480 * NEWS: Documented VM interface changes.
3482 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3484 * java/net/Inet6Address.java:
3485 (isMulticastAddress): Fixed check.
3487 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3490 * java/net/MulticastSocket.java:
3491 (getNetworkInterface): Return a special NetworkInterface instance
3492 if the socket's multicast interface is set to any.
3494 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3497 * java/net/NetworkInterface.java:
3498 (createAnyInterface): New method.
3499 (equals): Added if-statement to handle case where netif.name is null.
3500 * vm/reference/java/net/VMNetworkInterface.java:
3501 (hashCode): Rewritten.
3502 (VMNetworkInterface): New constructor.
3504 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3506 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3507 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3508 Add ASM_JAR to bootclasspath.
3510 2006-10-24 Tania Bento <tbento@redhat.com>
3512 * java/awt/Scrollbar.java:
3513 (setLineIncrement): Removed unnecessary if-clause and if
3514 lineIncrement == 0, then it should be set to 1, not 0.
3515 (setPageIncrement): Removed unnecessary if-clause and if
3516 pageIncrement == 0, then it should be set to 1, not 0.
3517 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3518 If maximum <= minimum, maximum should be set to mininum + 1. The
3519 actual value of maximum is maximum - visibleAmount, so I made
3520 this change to the appropriate if-check. Remove the two unneccessary
3523 2006-10-23 Francis Kung <fkung@redhat.com>
3525 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3526 (cairoSetFont): New method.
3527 (copy): Set font using setFont method.
3528 (setFont): Call cairoSetFont.
3529 (setup): Set font using setFont method.
3530 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3531 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3532 (install_font_peer): Removed.
3533 (cairoDrawGlyphVector): Removed call to install_font_peer.
3534 (cairoSetFont): New method.
3536 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3538 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3539 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3540 NativeEventLoopRunningEvent after GTK main loop start and stop.
3541 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3542 (getNextEvent): Set dispatchThread to null.
3543 (postEventImpl): Set nativeLoopRunning.
3544 (pop): Interrupt event dispatch thread.
3545 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3547 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3549 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3551 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3554 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3556 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3557 * javax/crypto/CipherOutputStream.java: Re-implemented.
3558 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3559 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3560 decryption mode and check if it is a complete block.
3561 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3562 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3563 partially processed data into account.
3565 2006-10-21 Tom Tromey <tromey@redhat.com>
3568 * java/util/AbstractCollection.java (toArray): Removed cast.
3570 2006-10-20 Tom Tromey <tromey@redhat.com>
3572 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3573 Don't use mangled class name for .h file.
3574 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3575 Don't use mangled class name for .c file.
3576 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3577 Handle classes from the default package.
3579 2006-10-20 Francis Kung <fkung@redhat.com>
3581 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3583 2006-10-19 Francis Kung <fkung@redhat.com>
3586 * java/awt/image/BufferedImage.java
3587 (constructor): Updated some properties of default image types.
3588 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3589 (argb32): Updated field to match default in BufferedImage.
3591 2006-10-18 Roman Kennke <kennke@aicas.com>
3594 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3595 (copyArea): Changed size comparison to return when size == 0
3597 * javax/swing/JViewport.java
3598 (paintBackingStore): Check width and height of blitted area
3599 and only do blit if its > 0.
3600 (paintBlit): Check width and height of blitted area
3601 and only do blit if its > 0.
3603 2006-10-18 Roman Kennke <kennke@aicas.com>
3606 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3607 (maximize): New native method.
3608 (unmaximize): New native method.
3609 (iconify): New native method.
3610 (deiconify): New native method.
3611 (getState): Implemented.
3612 (setState): Implemented.
3613 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3614 (oldState): Rename to windowState and made protected, so that
3615 the FramePeer can access it.
3616 (postWindowEvent): Handle state change events more gently and
3618 * java/awt/Frame.java
3619 (getState): Fetch state from getExtendedState().
3620 (setExtendedState): Update the peer. Check if the state change
3621 is actually supported.
3622 (getExtendedState): Update the state from the peer.
3623 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3624 (maximize): New method.
3625 (unmaximize): New method.
3626 (iconify): New method.
3627 (deiconify): New method.
3628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3629 (AWT_FRAME_NORMAL): New macro.
3630 (AWT_FRAME_ICONIFIED): New macro.
3631 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3632 (window_window_state_cb): Rewritten to handle window state changes
3633 more gently (mostly on the java side of the world).
3634 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3636 2006-10-18 Tania Bento <tbento@redhat.com>
3638 * java/awt/CardLayout.java:
3639 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3640 its height and width if Container passed as argument is null.
3641 (gotoComponent): Consider the case where the component is not visible.
3643 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3645 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3647 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3649 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3651 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3653 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3655 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3656 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3657 Retrieve user-visible strings through Messages.getString.
3658 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3659 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3661 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3663 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3665 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3667 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3669 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3672 2006-10-18 Roman Kennke <kennke@aicas.com>
3674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3675 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3676 (window_show_cb): Removed unnecessary function.
3677 (connect_signals): Don't connect signal for show. *
3678 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3679 (hasBeenShown): Removed. This is handled in java.awt.Window.
3680 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3681 in java.awt.Window. * java/awt/Window.java
3682 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3684 2006-10-18 Francis Kung <fkung@redhat.com>
3686 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3687 (drawRenderedImage): New method.
3688 (drawImage): New method.
3689 (CairoSurfaceGraphics): Set clip.
3690 (createBuffer): New method.
3691 (getBufferCM): New method.
3692 (drawComposite): New method.
3694 (getNativeCM): New method.
3695 (drawGlyphVector): New method.
3697 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3698 (getNativeCM): Reflect renamed field.
3699 * gnu/java/awt/peer/gtk/CairoSurface.java
3700 (cairoCM_pre): Renamed from cairoColorModel.
3701 (cairoColorModel): Set premultiplication to false.
3703 2006-10-18 Roman Kennke <kennke@aicas.com>
3706 * javax/swing/JScrollPane.java
3707 (viewportBorder): Made field private.
3708 (wheelScrollingEnabled): Made field private.
3709 (JScrollPane): Enabled wheel scrolling by default.
3710 * javax/swing/JTree.java
3711 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3713 (getScrollableUnitIncrement): Fixed thinko.
3714 * javax/swing/plaf/basic/BasicScrollBarUI.java
3715 (static scrollByBlock): New static method to avoid code duplication
3716 for the BasicScrollPane wheel scrolling.
3717 (static scrollByUnits): New static method to avoid code duplication
3718 for the BasicScrollPane wheel scrolling.
3719 (scrollByBlock): Delegate to static helper method.
3720 (scrollByUnit): Delegate to static helper method.
3721 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3722 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3723 static helper methods to avoid code duplication.
3724 (MouseWheelHandler.bounds): Removed.
3725 (MouseWheelHandler.getValue): Removed.
3726 (MouseWheelHandler.scroll): Removed.
3728 2006-10-18 Roman Kennke <kennke@aicas.com>
3731 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3732 (updateComponent): Don't override this here.
3733 * java/awt/Window.java
3734 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3735 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3737 (addWindowStateListener): Ignore null listener. Set newEventsOnly
3740 2006-10-18 Roman Kennke <kennke@aicas.com>
3742 * javax/swing/JEditorPane.java
3743 (getStream): Try to detect and set the content type of the
3746 2006-10-18 Roman Kennke <kennke@aicas.com>
3748 * javax/swing/RepaintManager.java
3749 (RepaintWorkerEvent): Pass full set of params to super.
3750 (RepaintWorker.dispatch): Overridden to allow apps to call this
3752 (addDirtyRegion): Synchronize a little more to protect the
3753 dirtyComponents field and avoid NPEs.
3754 (invokeLater): Pass full set of params to RepaintWorkerEvent
3757 2006-10-18 Roman Kennke <kennke@aicas.com>
3759 * javax/swing/JEditorPane.java
3760 (page): Removed field. The page is now stored in the correct
3762 (getPage): Fetch page URL from document property.
3763 (read): Set the document for this JEditorPane. Use a Reader
3764 for reading in the document.
3765 (setPage): Call getStream() to get the stream from which we read.
3766 Fire property change. Store page in document property.
3768 2006-10-18 Roman Kennke <kennke@aicas.com>
3770 * java/awt/datatransfer/DataFlavor.java
3771 (DataFlavor(String)): Removed check for space in mime string.
3773 2006-10-18 Roman Kennke <kennke@aicas.com>
3775 * java/awt/Container.java
3776 (validateTree): Call ContainerPeer.begin|endLayout() rather than
3777 begin|endValidate().
3778 (validate): Call ContainerPeer.begin|endValidate() here.
3779 Added some local vars to avoid NPEs.
3781 2006-10-18 Roman Kennke <kennke@aicas.com>
3783 * native/target/.cvsignore
3784 * native/target/Linux/.cvsignore
3785 * native/target/generic/.cvsignore:
3786 Added to let CVS ignore the generated Makefile and Makefile.in
3789 2006-10-18 Roman Kennke <kennke@aicas.com>
3792 * java/awt/Window.java
3793 (eventTypeEnabled): Overridden to handle WindowEvents.
3794 (processEvent): Switch between processWindowEvent(),
3795 processWindowFocusEvent() and processWindowStateEvent() here,
3796 rather than simply calling processWindowEvent().
3797 (processWindowEvent): Only dispatch event to listener, do not
3798 switch to processWindowFocusEvent() or processWindowStateEvent()
3800 * javax/swing/JFrame.java
3801 (frameInit): Explicitly enable window and key events here.
3802 (processWindowEvent): Throw out some unnecessary code.
3803 * javax/swing/JWindow.java
3804 (windowInit): Explicitly enable key events here.
3805 * javax/swing/JDialog.java
3806 (close_action): Renamed to closeAction.
3807 (dialogInit): Explicitly enable window events here.
3808 (getDefaultCloseOperation): Renamed close_action to closeAction.
3809 (processWindowEvent): Throw out some unnecessary code.
3810 Renamed close_action to closeAction.
3811 (setDefaultCloseOperation): Renamed close_action to closeAction.
3813 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3815 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3816 to track native GTK event loop status.
3817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3818 clear running flag when native GTK event loop starts and stops.
3820 2006-10-17 Roman Kennke <kennke@aicas.com>
3822 * javax/swing/TransferHandler.java
3823 (exportToClipboard): Implemented.
3825 2006-10-17 Francis Kung <fkung@redhat.com>
3827 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3828 region to account for pixel-shifting.
3829 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3832 2006-10-17 Francis Kung <fkung@redhat.com>
3835 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3836 (getLogicalBounds): Translate individual glyphs before appending bounds.
3837 (getOutline): Translate individual glyphs before appending outline.
3839 2006-10-17 Cameron McCormack <cam@mcc.id.au>
3842 * java/awt/font/TextLayout.java
3844 (constructor): Store bidi in field.
3845 (getCharacterLevel): Implemented.
3847 2006-10-17 Roman Kennke <kennke@aicas.com>
3849 * javax/swing/TransferHandler.java
3850 (PropertyTransferable): New inner class. Handles transfers
3851 from component properties.
3852 (createTransferable): Implemented.
3854 2006-10-17 Francis Kung <fkung@redhat.com>
3856 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3857 (drawComposite): Ensure composite does not extend beyond buffer
3859 * java/awt/image/Raster.java
3860 (createChild): Ensure child does not extend beyond parent's
3862 * java/awt/image/WritableRaster.java
3863 (createWritableChild): Ensure child does not extend beyond
3866 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
3868 * native/jni/classpath/jcl.c
3869 (JNI_OnLoad): Corrected calling convention.
3871 2006-10-16 Roman Kennke <kennke@aicas.com>
3873 * javax/swing/TransferHandler.java
3874 (propertyName): New field.
3875 (TransferHandler(String)): Store property name in field.
3876 (canImport): Implemented stub method.
3877 (exportDone): This is a no-op. Removed not-implemented mark.
3878 (getPropertyDataFlavor): New helper method.
3879 (getPropertyDescriptor): New helper method.
3881 2006-10-16 Roman Kennke <kennke@aicas.com>
3883 * javax/swing/AbstractButton.java
3884 (AccessibleJButton.getAfterIndex): Implemented.
3885 (AccessibleJButton.getAtIndex): Implemented.
3886 (AccessibleJButton.getBeforeIndex): Implemented.
3887 (AccessibleJButton.getCharacterAttribute): Completed incomplete
3888 method implementation.
3890 2006-10-16 Roman Kennke <kennke@aicas.com>
3892 * javax/swing/JLabel.java
3893 (AccessibleJLabel.getIndexAtPoint): Implemented.
3894 (AccessibleJLabel.getCharacterBounds): Implemented.
3895 (AccessibleJLabel.getTextRectangle): New helper method.
3897 2006-10-16 Roman Kennke <kennke@aicas.com>
3899 * javax/swing/filechooser/FileSystemView.java
3900 (getFileSystemView): Mark as implemented.
3902 2006-10-14 Roman Kennke <kennke@aicas.com>
3905 * javax/swing/JComponent.java
3906 (toolTipText): Removed field.
3907 (createToolTip): Don't set tooltip text here. This is done
3908 in the ToolTipManager.
3909 (setToolTipText): Set tooltip text as client property.
3910 (getToolTipText): Get tooltip text from client property.
3911 * javax/swing/ToolTipManager.java
3912 (currentComponent): Made field non-static and of type JComponent.
3913 (currentPoint): Made field non-static.
3914 (currentTip): Made field non-static.
3915 (popup): Made field non-static.
3916 (toolTipText): New field. Stores the current tooltip text.
3917 (checkTipUpdate): New helper method. Checks for updates of
3918 the tooltip text and triggers the appropriate actions.
3919 (getContentPaneDeepestComponent): Removed unneeded casts.
3920 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3921 text from component.
3922 (mouseMoved): Check for tooltip text updates.
3923 (showTip): Set tooltip text from current setting.
3925 2006-10-14 Roman Kennke <kennke@aicas.com>
3928 * javax/swing/JSlider.java
3929 (setPaintLabels): Call setLabelTable() instead of setting
3930 the field directly. This also updates the label's size.
3932 2006-10-13 Tom Tromey <tromey@redhat.com>
3934 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3937 2006-10-13 Tania Bento <tbento@redhat.com>
3939 * java/awt/ScrollPane.java
3940 (setLayout): Should throw AWTError whenever called.
3942 2006-10-13 Roman Kennke <kennke@aicas.com>
3945 * java/awt/Component.java
3946 (dispatchEventImpl): Special handle ComponentReshapeEvents to
3947 update the AWT's knowledge about a component's size.
3948 * gnu/java/awt/ComponentReshapeEvent.java: New class.
3949 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3950 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3951 to update the AWT's knowledge about the component bounds.
3953 2006-10-13 Tania Bento <tbento@redhat.com>
3955 * java/awt/ScrollPaneAdjustable.java
3956 (setMaximum): Should throw AWTError whenever called.
3958 (setVisibleAmount): Same.
3960 2006-10-13 Tania Bento <tbento@redhat.com>
3962 * java/awt/ScrollPane.java
3963 (addImpl): When calling super, index should be value passed,
3965 (getIsValidString): New helper method for paramString().
3966 (getScrollbarDisplayString): New helper method for paramString().
3967 (paramString): Changed format of outputted string.
3969 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
3971 * javax/swing/tree/DefaultTreeSelectionModel.java
3972 (clone): Added cast to TreePath[].
3974 2006-10-13 Roman Kennke <kennke@aicas.com>
3977 * javax/swing/JMenuItem.java
3978 (isDragging): New field. Indicates if we are inside a mouse
3980 (createMenuDragMouseEvent): Removed unneeded method.
3981 (processMenuDragMouseEvent): Track if we are dragging.
3982 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3983 * javax/swing/plaf/basic/BasicMenuItemUI.java
3984 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3985 MenuSelectionManager from event.
3986 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3987 MenuSelectionManager from event.
3988 (MenuDragMouseHandler.menuDragMouseExited): Fetch
3989 MenuSelectionManager from event.
3990 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3991 release inside menu item, otherwise clear selection.
3992 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3993 and getY(). Call doClick() rather than the doClick() of JMenuItem.
3994 (doClick): Perform an immediate click.
3996 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3998 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3999 return if object is not in the list.
4001 2006-10-12 Andrew Haley <aph@redhat.com>
4003 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4004 * java/lang/ThreadLocal.java: Likewise.
4006 2006-10-12 Roman Kennke <kennke@aicas.com>
4009 * javax/swing/JSlider.java
4010 (LabelUIResource): New inner class. A JLabel as UIResource.
4011 (createStandardLabels): Don't set label bounds here.
4012 Create LabelUIResource instances.
4013 (setInverted): Repaint.
4014 (setLabelTable): Update the label UIs. Revalidate and repaint.
4015 (setMajorTickSpacing): Update the label table. Repaint if
4017 (setMinorTickSpacing): Repaint if necessary.
4018 (setOrientation): Revalidate.
4019 (setPaintLabels): Revalidate and repaint.
4020 (setPaintTicks): Revalidate and repaint.
4021 (setPaintTrack): Repaint.
4022 (updateLabelUIs): Set the label sizes here.
4023 (updateUI): Also update the label UIs.
4024 * javax/swing/plaf/basic/BasicSliderUI.java
4025 (ComponentHandler.componentResized): Don't revalidate.
4026 (FocusHandler.focusGained): Don't set field.
4027 (FocusHandler.focusLost): Don't set field.
4028 (PropertyChangeHandler.propertyChange): Calculate geometry
4029 and repaint for a couple more properties.
4030 (TrackListener.mouseReleased): Repaint.
4031 (hasFocus): Removed unneeded field.
4032 (calculateContentRect): No need to check for content size < 0.
4033 (calculateFocusRect): Use insets from insetCache.
4034 (calculateLabelRect): Fixed calculation of label rectangle.
4035 It is relative to the tick rectangle, rather than the content
4037 (calculateTickRect): Small restructuring to avoid unnecessary
4039 (calculateTrackRect): Fixed calculation of track rectangle.
4040 (getMaximumSize): Fixed. Fetch preferred size and set
4041 the height of width to Short.MAX_VALUE.
4042 (getMinimumHorizontalSize): Fixed to return UIManager value.
4043 (getMinimumVerticalSize): Fixed to return UIManager value.
4044 (getPreferredHorizontalSize): Fixed to return UIManager value.
4045 (getPreferredVerticalSize): Fixed to return UIManager value.
4046 (getMinimumSize): Fixed to return the UIManager value plus
4048 (getPreferredSize): Fixed to return the UIManager value plus
4050 (getWidthOfWidestLabel): Restructured for more cleanness and
4052 (hitClip): New helper method.
4053 (paintHorizontalLabel): Replaced by more efficient and clean
4055 (paintVerticalLabel): Replaced by more efficient and clean
4057 (paintLabels): Replaced by more efficient and clean
4059 (paint): Check if rectangles intersect with clip for maximum
4061 (recalculateIfInsetsChanged): Fixed. This method should
4062 recalculate only when the insets changed.
4063 (setThumbLocation): Repaint with a reasonable clip.
4064 (xPositionForValue): Made more clean and efficient.
4065 (yPositionForValue): Made more clean and efficient.
4066 * javax/swing/plaf/basic/BasicLookAndFeel.java
4067 (initComponenDefaults): Added Slider.horizontalSize,
4068 Slider.verticalSize, Slider.minimumHorizontalSize and
4069 Slider.minimumVerticalSize properties.
4070 * javax/swing/plaf/metal/MetalSliderUI.java
4071 (getTickLength): Add 1 for horizontal sliders and 3 for
4073 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4074 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4075 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4076 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4078 2006-10-12 Roman Kennke <kennke@aicas.com>
4081 * javax/swing/text/FlowView.java
4082 (FlowStrategy.layout): Preserve logical views from getting lost.
4083 (FlowStrategy.layoutRow): Fix line breaking.
4084 (FlowStrategy.adjustRow): Fix line breaking.
4085 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4086 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4087 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4088 (createView): Don't check index.
4089 (contains): New helper method.
4090 (reparent): New helper method.
4091 (layoutDirty): Removed unneeded field.
4092 (FlowView): Removed layoutDirty field init.
4093 (changedUpdate): Removed layoutDirty handling.
4094 (insertUpdate): Removed layoutDirty handling.
4095 (removeUpdate): Removed layoutDirty handling.
4096 (layout): Use isLayoutValid() rather than the layoutDirty field.
4097 * javax/swing/text/GlyphView.java
4098 (startOffset): Removed.
4099 (endOffset): Removed.
4100 (offset): New field.
4101 (length): New field.
4102 (GlyphView): Initialize new fields. Removed old fields.
4103 (createFragment): Create fragment with new relative offsets.
4104 (getEndOffset): Work with new relative offsets.
4105 (getStartOffset): Work with new relative offsets.
4106 * javax/swing/text/ParagraphView.java
4107 (Row.getStartOffset): Overidden to determine the minimum start
4108 offset from the children.
4109 (Row.getEndOffset): Overidden to determine the maximum end
4110 offset from the children.
4111 * javax/swing/text/html/BRView.java
4112 Make subclass of InlineView.
4113 (getBreakWeight): Fall back to super for Y_AXIS.
4115 2006-10-12 Roman Kennke <kennke@aicas.com>
4118 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4119 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4120 one that avoids faulty state that could cause division by zero
4123 2006-10-12 Roman Kennke <kennke@aicas.com>
4126 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4127 (paint): Determine correct icon. Added support for HTML label.
4128 Added small optimizations.
4129 (getPreferredSize): Only consider the buttons iconTextGap, and
4130 only when the text is not null.
4131 * javax/swing/plaf/basic/BasicLookAndFeel.java
4132 (initComponentDefaults): Fetch border for RadioButton from
4133 BasicButtons.getRadioButtonBorder().
4134 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4135 (paintFocus): Paint focus rectangle one pixel smaller.
4137 2006-10-12 Roman Kennke <kennke@aicas.com>
4140 * javax/swing/tree/AbstractLayoutCache.java
4141 (getNodeDimensions): Don't throw InternalError, but instead
4143 (getRowsForPaths): Check for null here.
4144 (isFixedRowHeight): Returns true when rowHeight > 0.
4145 (setSelectionModel): Set this as the row mapper for the selection
4147 * javax/swing/tree/VariableHeightLayoutCache.java
4148 (NodeRecord.NodeRecord): Initialize bounds field.
4149 (getBounds): Simply return the bounds field.
4150 (row2Node): Changed to be an ArrayList.
4151 (RECT_CACHE): New field. Caches a Rectangle instance.
4152 (countRows): Added y parameter and return value. The method
4153 now takes the current y position as parameter, and returns
4154 the updated y position.
4155 (getBounds): Fixed to return the correct bounds.
4156 (getPathForRow): Replaced by fixed implementation.
4157 (getPreferredHeight): Replaced by more efficient implementation.
4158 This simply fetches the last node record and returns its lower
4160 (getPreferredWidth): Added null check.
4161 (getVisibleChildCount): Added null check.
4162 (getVisiblePathsFrom): Added null check.
4163 (setExpandedState): Also expand the ancestors of the node
4165 (setModel): Set dirty flag rather than updating for real.
4166 (setNodeDimensions): Overridden to set the dirty flag.
4167 (setRowHeight): Overridden to set the dirty flag.
4168 (update): Don't special case the root here, this is done now
4171 2006-10-12 Roman Kennke <kennke@aicas.com>
4173 * javax/swing/JComponent.java
4174 (paintImmediately2): Added support for components which need
4175 to force themselves as paint root.
4176 (isPaintRoot): New method. This should be overridden by components
4177 which need to force themselves as paint root.
4178 * javax/swing/JViewport.java
4179 (isPaintRoot): Overridden to force the viewport as paint root
4180 when running in backingstore mode.
4182 2006-10-12 Roman Kennke <kennke@aicas.com>
4184 * javax/swing/tree/DefaultTreeSelectionModel.java
4185 (PathPlaceHolder): New inner class. Wraps a path and its status
4187 (selectedPaths): New field. A supporting datastructure.
4188 (tmpPaths): New field. A supporting datastructure.
4189 (DefaultTreeSelectionModel): Initialize the list selection model,
4190 the leadIndex and the supporting datastructures.
4191 (addPropertyChangeListener): Create changeSupport object lazily.
4192 (addSelectionPaths): Mostly rewritten to handle the different
4193 selection modes correctly.
4194 (addSelectionPath): Delegate to addSelectionPaths().
4195 (arePathsContiguous): Replaced with more efficient implementation
4197 (canPathBeAdded): Removed unneeded method.
4198 (canPathsBeAdded): Replaced with more efficient implementation.
4199 (clearSelection): Create correct event. Clear the fields correctly,
4200 including the supporting datastructures.
4201 (clone): Also clone the supporting datastructures and nullify
4202 changeSupport field.
4203 (getMaxSelectionRow): Delegate to list selection model.
4204 (getMinSelectionRow): Delegate to list selection model.
4205 (getPath): Removed unneeded method.
4206 (getPropertyChangeListeners): Handle null changeSupport field
4208 (getRow): Handle null rowMapper field correctly.
4209 (getSelectionRows): Handle invisible rows correctly.
4210 (insureRowContinuity): Replaced by more efficient and correct
4212 (isRowSelected): Delegate to list selection model.
4213 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4215 (removePropertyChangeListener): Handle null changeSupport field.
4216 (removeSelectionPaths): Mostly rewritten to handle the different
4217 selection modes correctly.
4218 (removeSelectionPath): Delegate to removeSelectionPaths().
4219 (resetRowSelection): Handle list selection model.
4220 (selectOne): Removed unneeded field.
4221 (setRowMapper): Reset the row selection.
4222 (setSelectionMode): Check for invalid mode and set to
4223 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4224 (setSelectionPaths): Mostly rewritten to handle the different
4225 selection modes correctly.
4226 (setSelectionPath): Delegate to setSelectionPaths().
4227 (updateLeadIndex): Made more efficient.
4229 2006-10-11 Francis Kung <fkung@redhat.com>
4231 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4232 (buffer, locked): New fields.
4233 (constructors): Initialize new variables.
4234 (createBuffer): New method.
4235 (draw): Implement custom composites.
4236 (drawComposite): New method.
4237 (drawGlyphVector): Implement custom composites.
4238 (drawImage): Implement custom composites.
4239 (drawRenderedImage): Implement custom composites.
4240 (fill): Implement custom composites.
4241 (getBufferCM): New method.
4242 (getNativeCM): New method.
4243 (updateBufferedImage): Fix premultiplication.
4244 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4245 (copy): Copy composite.
4246 (drawImage): Set background properly.
4247 (getBufferCM): New method.
4248 (setComposite): Reset alpha composite when using custom composite.
4249 * gnu/java/awt/peer/gtk/CairoSurface.java
4250 (cairoColorModel): New field.
4251 (nativeColorModel): Renamed.
4252 (constructor): Use renamed createCairoSampleModel method.
4253 (createCairoSampleModel): New method.
4254 (createNativeSampleModel): Renamed.
4255 (getBufferedImage): Use renamed cairoColorModel field.
4256 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4257 (gdkColorModel): New field.
4258 (createGdkSampleModel): New method.
4259 (getPixels): Added comments.
4260 (getSnapshot): Use GDK colour and sample models.
4261 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4262 (createBuffer): Use GDK colour and sample models.
4263 (getNativeCM): Added comments.
4264 * java/awt/image/BufferedImage.java
4265 (constructor): Set premultiplied flag properly.
4267 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4269 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4270 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4272 2006-10-10 Francis Kung <fkung@redhat.com>
4275 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4276 (createPath): Added isDraw parameter.
4277 (draw): Updated createPath call.
4278 (fill): Updated createPath call.
4280 2006-10-10 Tom Tromey <tromey@redhat.com>
4283 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4284 there is a stylesheet.
4286 2006-10-10 Roman Kennke <kennke@aicas.com>
4288 * java/awt/Toolkit.java
4289 (getDefaultTookit): Make method synchronized to avoid
4290 accidentally creating more than one toolkits from different
4293 2006-10-10 Roman Kennke <kennke@aicas.com>
4295 * java/awt/LightweightDispatcher.java
4296 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4297 (redispatch): Transfer the button to the redispatched event.
4299 2006-10-10 Francis Kung <fkung@redhat.com>
4301 * java/awt/image/ColorModel.java (coerceData): Implemented.
4303 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4305 * vm/reference/java/lang/VMClassLoader.java:
4306 (defineClassWithTransformers): Use proper class name format.
4308 2006-10-09 Gary Benson <gbenson@redhat.com>
4310 * java/net/ServerSocket.java
4311 (implAccept): Add security check.
4312 (accept): Close socket if security check fails.
4313 (setSocketFactory): Add security check and already-set check.
4315 2006-10-09 Roman Kennke <kennke@aicas.com>
4318 * javax/swing/JSplitPane.java
4319 (dividerLocation): New field. Stores the divider location.
4320 (JSplitPane): Initialize dividerLocation with -1.
4321 (addImpl): Removed unneeded local variables.
4322 (getDividerLocation): Manage dividerLocation in the JSplitPane
4323 class, not in the UI.
4324 (setDividerLocation): Manage dividerLocation in the JSplitPane
4325 class, not in the UI. Only call the UI method for notification.
4326 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4327 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4328 location from the JSplitPane. Honour the minimumSize, but only
4329 if the divider location hasn't been set explicitly.
4330 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4332 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4334 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4335 the divider location.
4336 (dividerLocationSet): New field.
4337 (dividerLocation): Removed field.
4338 (createActionMap): Fetch and set divider location on the JSplitPane.
4339 (getDividerLocation): Return the actual real divider location.
4340 (getMaximumSize): Removed unneeded cast.
4341 (getPreferredSize): Removed unneeded cast.
4342 (getMinimumSize): Removed unneeded cast.
4343 (installUI): Initialize dividerLocationSet with false.
4344 (uninstallUI): Initialize dividerLocationSet with false.
4345 (setDividerLocation): Set dividerLocationSet to true.
4347 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4349 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4350 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4351 convert jstring into char *.
4352 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4353 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4354 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4355 (getif_address): Added const modifier to second argument.
4356 (getif_index): Dito.
4358 2006-10-09 Roman Kennke <kennke@aicas.com>
4360 * javax/swing/JTree.java
4361 (isSelected): Added API docs.
4363 2006-10-09 Roman Kennke <kennke@aicas.com>
4365 * javax/swing/JTree.java
4366 (isSelected): Delegate to the selection model directly.
4368 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4370 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4371 sizeof_struct_kevent to _sizeof_struct_kevent.
4373 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4375 * tools/gnu/classpath/tools/rmic/RMICException.java:
4376 javadoc corrections, reformatted.
4378 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4380 * gnu/java/lang/InstrumentationImpl.java:
4381 Made constructor package visible.
4383 2006-10-05 Gary Benson <gbenson@redhat.com>
4385 * java/net/Socket.java
4386 (Socket): Perform security check on address not hostname.
4388 2006-10-04 Roman Kennke <kennke@aicas.com>
4390 * javax/swing/tree/VariableHeightLayoutCache.java
4391 (getBounds): When rect is null, create a new Rectangle.
4393 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4395 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4396 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4397 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4398 (cpnio_select): Use CPNIO_EXPORT.
4399 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4400 inline instead of extern inline, as newer GCCs changed their
4403 2006-10-04 Gary Benson <gbenson@redhat.com>
4405 * java/net/InetAddress.java: Updated javadoc.
4406 (<clinit>, getByLiteral): Throw InternalError on failures.
4408 2006-10-03 Francis Kung <fkung@redhat.com>
4410 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4411 (compCtx): New field for composite context.
4412 (copy): Copy composite.
4413 (dispose): Dispose of composite context.
4414 (getNativeCM): New method.
4415 (setComposite): Discard old composite context and set up new context.
4416 (setRenderingHints): Update composite context.
4417 * gnu/java/awt/peer/gtk/CairoSurface.java
4418 (nativeColorModel): New field, renamed from nativeModel.
4419 (nativeModel): Renamed field to nativeColorModel.
4420 (CairoSurface(int, int)): Call new method to create sample model.
4421 (createNativeSampleModel): New method.
4422 (getBufferedImage): Updated variable name.
4423 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4424 (buffer): New field.
4425 (createBuffer): New method.
4427 (drawComposite): New method.
4428 (drawGlyphVector): New method.
4429 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4430 (drawImage(Image, int, int, ImageObserver)): Check composite.
4431 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4433 (getNativeCM): New method.
4434 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4435 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4436 intermediary pixbuf to grab on-screen pixels.
4438 2006-10-03 Tom Tromey <tromey@redhat.com>
4441 * java/util/IdentityHashMap.java (tombstone): Removed.
4442 (emptyslot): Removed.
4443 (nullslot): New field.
4444 (IdentityHashMap): Don't fill array.
4445 (clear): Fill with null.
4446 (hash): Now final. Use linear probing.
4447 (xform): New method.
4448 (unxform): Likewise.
4449 (removeAtIndex): Likewise.
4450 (clone, containsKey, containsValue, entrySet, get, hashCode,
4451 keySet, put, remove, values): Updated.
4452 (IdentityIterator, IdentityEntry): Likewise.
4453 (writeObject): Likewise.
4455 2006-10-03 Tom Tromey <tromey@redhat.com>
4457 * java/util/Locale.java (hashcode): Updated javadoc.
4458 (hashcodeCache): Removed.
4460 (hashCode): Updated.
4461 (writeObject): New method.
4462 (readObject): Updated.
4464 2006-10-02 Francis Kung <fkung@redhat.com>
4466 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4467 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4468 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4469 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4470 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4471 pre-multiply data before drawing.
4472 (fillRect): Draw using regular fill() method.
4473 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4474 * gnu/java/awt/peer/gtk/CairoSurface.java
4475 (nativeModel): Use correct value for alpha premultiplication (true).
4476 * java/awt/image/BufferedImage.java
4477 (coerceData): Update isPremultiplied field.
4479 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4481 * gnu/classpath/ListenerData.java:
4482 New class for holding listener data.
4483 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4484 ListenerData class moved to its own file.
4485 * javax/management/MBeanServerDelegate.java,
4486 * javax/management/MBeanServerDelegateMBean.java,
4487 * javax/management/MBeanServerNotification.java:
4490 2006-10-02 Tania Bento <tbento@redhat.com>
4492 * java/ast/Rectangle.java:
4493 (Rectangle(Rectangle)): Do not throw NPE.
4494 (Rectangle(Point, Dimension)): Same.
4495 (Rectangle(Point)): Same.
4496 (Rectangle(Dimension)): Same.
4498 2006-09-29 Casey Marshall <csm@gnu.org>
4501 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4502 `AbstractSelectionKey.'
4503 (cancel, isValid): removed.
4504 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4505 (events): new field.
4506 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4508 (<clinit>): initialize those constants.
4509 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4510 (doSelect): deregister cancelled keys; remove keys attached to
4511 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4512 `events' buffer; reallocate `events' buffer if needed.
4513 (register): reallocate `events' buffer if needed.
4514 (reallocateBuffer): new method.
4517 2006-09-29 Roman Kennke <kennke@aicas.com>
4520 * javax/swing/JViewport.java
4521 (cinit): Renamed system property to gnu.swing.scrollmode
4522 to avoid bloat. Default to BACKINGSTORE, this is much
4524 (repaint): Forward repaint() to parent as is specified.
4526 2006-09-29 Tania Bento <tbento@redhat.com>
4528 * javax/swing/plaf/basic/BasicTableUI.java
4529 (getPreferredSize): The number of iterations for the for-loop should be
4530 the number of columns in the table's column model, not the number of
4531 columns of the table.
4532 * javax/swing/JTable.java
4533 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4534 lines that are not needed.
4535 (initializeLocalVars): dragEnabled should be set to false, not true.
4536 (getCellRenderer): Added a check to prevent an
4537 ArrayIndexOutOfBoundsException.
4538 (doLayout): The number of iterations for the for-loops should be the
4539 number of columns in the table's column model, not the number of columns
4542 2006-09-29 Roman Kennke <kennke@aicas.com>
4544 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4546 (isOptimized): Initialize with true.
4547 (paintRaster): Removed unneeded field.
4548 (shapeCache): New static field. Caches certain shapes for reuse.
4549 (computeIntersection): Removed unneeded casts.
4550 (drawArc): Use shape cache.
4551 (drawImage): Removed unneeded statement.
4552 (drawLine): Use shape cache. Pass untranslated coordinates
4554 (drawOval): Use shape cache.
4555 (drawPolygon): Use shape cache.
4556 (drawRect): Overridden to provide accelerated rectangle drawing
4557 if possible and to use the shape cache.
4558 (drawRoundRect): Use shape cache.
4559 (fillArc): Use shape cache.
4560 (fillOval): Use shape cache.
4561 (fillPolygon): Use shape cache.
4562 (fillRect): Pass untranslated coordinates to rawFillRect().
4564 (fillRoundRect): Use shape cache.
4565 (fillScanlineAA): Removed unneeded statement.
4566 (fillScanline): Updated API docs.
4567 (fillShapeAntialias): Removed unnecessary cast.
4568 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4569 (fillShape): Updated API docs.
4570 (getShapeCache): New helper method.
4571 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4572 certain shapes for reuse in AbstractGraphics2D.
4574 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4576 * javax/management/BadBinaryOpValueExpException.java:
4577 (getExp()): Implemented.
4578 * javax/management/MBeanConnection.java:
4579 Renamed to MBeanServerConnection.
4580 * javax/management/MBeanServer.java:
4581 (setAttribute(Attribute)): Fixed...
4582 (setAttribute(ObjectName,Attribute)): to this.
4583 * javax/management/MBeanServerConnection.java:
4584 Renamed from MBeanConnection.
4585 * javax/management/QueryExp.java:
4586 Extend Serializable.
4587 * javax/management/ValueExp.java:
4589 * javax/management/loading/ClassLoaderRepository.java:
4590 (loadClass(String)): Throw ClassNotFoundException.
4591 (loadClassBefore(ClassLoader,String)): Likewise.
4592 (loadClassWithout(String, ClassLoader): Fixed...
4593 (loadClassWithout(ClassLoader,String)): to this.
4595 2006-09-28 Roman Kennke <kennke@aicas.com>
4597 * javax/swing/tree/DefaultTreeCellRenderer.java
4598 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4599 property from UIManager.
4600 (paint): Rewritten to use super's implementation and only paint
4601 background and focus indicator before.
4602 (paintFocus): New helper method.
4603 (getXOffset): New helper method.
4605 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4607 * javax/management/BadBinaryOpValueExpException.java,
4608 * javax/management/MBeanConnection.java,
4609 * javax/management/MBeanServer.java,
4610 * javax/management/ObjectInstance.java:
4612 * javax/management/ObjectName.java:
4613 (setMBeanServer(MBeanServer)): Implemented.
4614 * javax/management/QueryExp.java,
4615 * javax/management/ValueExp.java,
4616 * javax/management/loading/ClassLoaderRepository.java:
4619 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4621 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4623 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4625 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4626 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4627 * gnu/java/nio/EpollSelectorImpl.java:
4628 (doSelect): Use Integer.valueOf() instead of constructor call.
4629 (register): Use Integer.valueOf() instead of constructor call.
4631 2006-09-27 Roman Kennke <kennke@aicas.com>
4633 * java/awt/Container.java
4634 (addContainerListener): Activate newEventsOnly for the component.
4635 Ignore null listeners.
4637 2006-09-27 Roman Kennke <kennke@aicas.com>
4639 * java/awt/EventQueue.java
4640 (Queue): New inner class. Implements the actual queue.
4641 (LOW_PRIORITY): New constant field.
4642 (NORM_PRIORITY): New constant field.
4643 (queueHead): Removed. Moved into Queue.
4644 (queueTail): Removed. Moved into Queue.
4645 (queues): New field.
4646 (EventQueue): Initialize two internal queues, one for
4647 normal events, one for low priority events.
4648 (getNextEventImpl): New helper method, fetches the next event.
4649 (getNextEvent): Use getNextEventImpl() for fetching the event.
4650 (peekEvent): Use getNextEventImpl() for fetching the event.
4651 (peekEvent(int)): Search for event in all queues.
4652 (postEventImpl(AWTEvent)): Moved actual posting into
4653 postEventImpl(AWTEvent,int). Prioritize events here.
4654 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4655 event into correct queue. Re-enable event coalescing.
4656 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4657 * javax/swing/RepaintManager.java
4658 (RepaintWorkerEvent): New internal class. This is a low priority
4659 event for the repaint worker.
4660 (addDirtyRegion): Use new internal invokeLater() for sending
4661 a low priority event.
4662 (addInvalidComponent): Use new internal invokeLater() for sending
4663 a low priority event.
4664 (commitBuffer): Added some null checks.
4665 (invokeLater): New helper method. Sends a low priority
4666 repaint worker event on the event queue.
4668 2006-09-27 Roman Kennke <kennke@aicas.com>
4672 * javax/swing/plaf/basic/BasicButtonUI.java
4673 (cachedInsets): New field.
4674 (installListeners): Fire synthetic property change to initialize
4675 TEXT_LAYOUT_CACHE for the button because the font has been
4677 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4678 (paint): Use cached insets.
4679 (paintText): Let new method forward to old one, not vice versa.
4680 * javax/swing/plaf/basic/BasicMenuItemUI.java
4681 (defaultAcceleratorLabelGap): Removed unused field.
4682 (MenuGap): Removed unused field.
4683 (propertyChangeListener): Made private.
4684 (getAcceleratorRect): Removed unused method.
4685 (getAcceleratorText): Removed unused method.
4686 (getPath): Removed unnecessary cast.
4687 (installListeners): Fire synthetic property change to initialize
4688 TEXT_LAYOUT_CACHE for the button because the font has been
4690 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4691 (layoutMenuItem): Removed unused statements.
4693 2006-09-27 Roman Kennke <kennke@aicas.com>
4696 * javax/swing/tree/DefaultTreeModel.java
4697 (isLeaf): Check if the node allows children when
4698 asksAllowsChildren is true, otherwise fall back
4699 to return the node's leaf property.
4701 2006-09-27 Mario Torre <neugens@limasoftware.net>
4703 * scripts/check_jni_methods.sh: removed methods from the
4705 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4706 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4707 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4708 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4709 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4710 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4711 to better follow the GNU style.
4712 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4713 regenerated header file for GConfNativePeer.
4715 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4717 * INSTALL: Added information about grmic being built when ASM
4718 is available, added information about gconf dependency, indented
4719 Qt4 dependency section.
4720 * configure.ac: Added information about grmic being built when ASM
4723 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
4725 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4726 DeleteGlobalRef on a local ref.
4728 2006-09-24 Mario Torre <neugens@limasoftware.net>
4730 * scripts/check_jni_methods.sh: added two new methods in the
4732 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4734 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4735 * native/jni/gconf-peer/GConfNativePeer.c:
4736 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4737 refacored method name, renamed from
4738 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4739 Added code to unescape escaped GConf key names.
4740 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4741 refacored method name, renamed from
4742 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4743 Added code to unescape escaped GConf key names.
4744 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4746 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4748 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4749 version javadoc tag.
4750 (escapeString): new method.
4751 (unescapeString): likewise.
4752 (gconf_escape_key): new native method.
4753 (gconf_unescape_key): likewise.
4754 (gconf_client_suggest_sync): update native method signature, now
4755 explicity throws BackingStoreException.
4756 (gconf_client_all_nodes): update native method signature, now
4757 explicity throws BackingStoreException. Refactored method name,
4758 renamed from gconf_client_gconf_client_all_nodes.
4759 (gconf_client_all_keys): update native method signature, now
4760 explicity throws BackingStoreException. Refactored method name,
4761 renamed from gconf_client_gconf_client_all_keys.
4762 (getKeys): refactored to use the new method name
4763 gconf_client_all_keys.
4764 (getChildrenNodes): refactored to use the new method name
4765 gconf_client_all_nodes.
4766 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4767 version javadoc tag.
4768 (GConfBasedPreferences): Added code to escape node names from
4769 invalid characters so that GConf now accept invalid node names.
4770 (GConfBasedPreferences): Moved code to register the current
4771 node to the list of nodes watched by GConf outside the constructor.
4772 (childSpi): Added code to register the current node to the
4773 list of nodes watched by GConf.
4774 (getGConfKey): Added code to escape key names from
4775 invalid characters so that GConf now accept invalid key names.
4777 2006-09-26 Tom Tromey <tromey@redhat.com>
4779 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4780 call mkdirs in output-directory case.
4781 (getPrintStream): Create output directory.
4782 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4785 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
4787 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4788 Accept three additional arguments.
4789 (writePreambleImpl): New method.
4790 (getPrintStreamImpl): Likewise.
4791 (printClass): Adapted to use new methods in Printer superclass.
4792 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4793 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4794 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4795 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4797 (getParser): Add support for -o option.
4798 Check that only one of -d or -o is defined.
4799 Add support for -jni option.
4800 Add support for -force option.
4801 (makeOutputFile): New method.
4802 (writeHeaders): Removed File argument from signature.
4803 (run): Take into account newly added fields.
4804 Invoke concrete PrintStream implementations with augmented constructors.
4805 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4806 (isDirectory): Likewise.
4808 (wrotePreamble): Likewise.
4809 (Printer): Changed ctor to accept three additional arguments.
4810 (printClass): Changed signature to accept one ClassWrapper argument.
4811 (writePreambleImpl): New abstract method.
4812 (getPrintStreamImpl): Likewise.
4813 (getPrintStream): New method.
4814 (writePreamble): Likewise.
4816 2006-09-26 Tania Bento <tbento@redhat.com>
4818 * java/awt/GridLayout.java
4819 (toString): There is no common before hgap.
4820 * java/awt/Rectangle.java
4821 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4822 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
4824 (Rectangle(Point)): Throw NPE if Point is null.
4825 (Rectangle(Dimension)): Throw NPE if Dimension is null.
4827 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4829 * javax/swing/plaf/metal/MetalIconFactory.java
4830 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4831 returned by getShift(),
4832 (FileIcon16.getShift): Updated API docs,
4833 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4834 returned by getShift(),
4835 (FolderIcon16.getShift): Updated API docs,
4836 (TreeFolderIcon.getShift): Likewise,
4837 (TreeLeafIcon.getShift): Likewise.
4839 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4841 * javax/swing/plaf/metal/MetalIconFactory.java
4842 (FileIcon16.paintIcon): Fetch colors from look and feel,
4843 (FolderIcon16.paintIcon): Likewise.
4845 2006-09-25 Casey Marshall <csm@gnu.org>
4847 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4849 (write): revert back to using `writeGathering.'
4850 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4851 the first buffer that has data remaining, and start at that one.
4853 2006-09-25 Tom Tromey <tromey@redhat.com>
4855 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4858 2006-09-25 Tom Tromey <tromey@redhat.com>
4860 * tools/.cvsignore: Updated.
4862 2006-09-25 Tom Tromey <tromey@redhat.com>
4865 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4866 (Encoder.canEncode): Likewise.
4867 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4868 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4870 (Encoder.canEncode): Likewise.
4871 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4873 (Encoder.canEncode): Likewise.
4875 2006-09-25 Tom Tromey <tromey@redhat.com>
4877 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4880 2006-09-25 Francis Kung <fkung@redhat.com>
4882 * java/awt/image/ColorModel.java
4883 (coerceData): Made abstract.
4884 (coerceDataWorker): New protected method.
4885 * java/awt/image/ComponentColorModel.java
4886 (coerceData): Return new instance of proper ColorModel.
4887 * java/awt/image/DirectColorModel.java
4888 (coerceData): Return new instance of proper ColorModel.
4889 * java/awt/image/IndexColorModel.java
4890 (coerceData): New method.
4892 2006-09-24 Casey Marshall <csm@gnu.org>
4894 * gnu/java/nio/FileChannelImpl.java
4895 (read): call `read' in a loop, don't use `readScattering.'
4896 (write): call `write' in a loop, don't use `writeGathering.'
4898 2006-09-24 Mark Wielaard <mark@klomp.org>
4900 * configure.ac: Move -pedantic from WARNING to STRICT flags.
4902 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4904 * java/nio/channels/spi/AbstractSelectableChannel.java
4905 (register): Set interestOps and attachment when the key already
4908 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4910 * java/net/ServerSocket.java
4911 (bind(SocketAddress,int)): Added support for null address.
4912 Throw proper exception if already bound.
4913 Handle unresolved addresses correctly. Ignore exceptions that
4914 happen during close in error path (to prevent losing the original
4917 2006-09-24 Mark Wielaard <mark@klomp.org>
4919 Suggested by Aaron M. Ucko <ucko@debian.org>
4921 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4923 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4925 * java/nio/channels/spi/AbstractSelectableChannel.java
4926 (implCloseChannel): Cancel all keys after closing the channel.
4928 2006-09-22 Casey Marshall <csm@gnu.org>
4930 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4931 after we delete them.
4932 (selectedKeys): return an empty set if nothing's been selected.
4933 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4934 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4935 throw an exception on EBADF.
4936 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4937 throw exception on EINTR, just return 0.
4939 2006-09-22 Casey Marshall <csm@gnu.org>
4941 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4942 remove `const' from `filename.'
4943 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4945 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4947 2006-09-22 Casey Marshall <csm@gnu.org>
4949 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4950 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4951 allocate `filename,' and handle changes to `cpio_readDir.'
4952 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4953 available; copy the filename into the destination buffer; return
4954 an error code if readdir returns NULL, but errno is 0.
4955 * native/jni/native-lib/cpio.h (cpio_readDir): change second
4956 parameter to `const char *.'
4958 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
4960 * javax/management/ObjectName.java:
4963 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4965 * resource/gnu/classpath/tools/orbd: New directory.
4966 * resource/gnu/classpath/tools/rmic: Likewise.
4967 * resource/gnu/classpath/tools/rmid: Likewise.
4968 * resource/gnu/classpath/tools/rmiregistry: Likewise.
4969 * resource/gnu/classpath/tools/tnameserv: Likewise.
4970 * tools/gnu/classpath/tools/giop: Move contents to...
4971 * tools/gnu/classpath/tools/orbd,
4972 tools/gnu/classpath/tools/tnameserv: New directories.
4973 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4974 * tools/gnu/classpath/tools/rmic: New directory.
4975 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4976 * tools/gnu/classpath/tools/rmid: New directory.
4977 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4978 * tools/gnu/classpath/tools/rmiregistry: New directory.
4979 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4980 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4981 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4982 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4984 * resource/gnu/classpath/tools/tnameserv/messages.properties:
4986 * tools/gnu/classpath/tools/orbd/Main.java,
4987 tools/gnu/classpath/tools/orbd/Messages.java,
4988 tools/gnu/classpath/tools/orbd/PersistentContext.java,
4989 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4990 tools/gnu/classpath/tools/orbd/PersistentMap.java,
4991 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4992 tools/gnu/classpath/tools/rmic/CompilationError.java,
4993 tools/gnu/classpath/tools/rmic/Generator.java,
4994 tools/gnu/classpath/tools/rmic/GiopIo.java,
4995 tools/gnu/classpath/tools/rmic/HashFinder.java,
4996 tools/gnu/classpath/tools/rmic/Main.java,
4997 tools/gnu/classpath/tools/rmic/Messages.java,
4998 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4999 tools/gnu/classpath/tools/rmic/RMICException.java,
5000 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5001 tools/gnu/classpath/tools/rmic/RmicBackend.java,
5002 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5003 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5004 tools/gnu/classpath/tools/rmic/Variables.java,
5005 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5006 tools/gnu/classpath/tools/rmic/templates,
5007 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5008 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5009 tools/gnu/classpath/tools/rmid/Main.java,
5010 tools/gnu/classpath/tools/rmid/Messages.java,
5011 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5012 tools/gnu/classpath/tools/rmiregistry/Main.java,
5013 tools/gnu/classpath/tools/rmiregistry/Messages.java,
5014 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5015 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5016 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5017 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5018 tools/gnu/classpath/tools/tnameserv/Main.java,
5019 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5020 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5021 RMIC.java from cp-tools.
5022 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5023 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5024 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5026 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5027 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5029 (start): New method.
5030 * tools/Makefile.am: Add build support for new tool wrappers.
5031 * tools/gorbd.in: New file.
5032 * tools/grmic.in: Likewise.
5033 * tools/grmid.in: Likewise.
5034 * tools/grmiregistry.in: Likewise.
5035 * tools/gtnameserv.in: Likewise.
5036 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5037 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5039 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5040 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5041 * tools/gnu/classpath/tools/common/Persistent.java: New file.
5043 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
5046 * gnu/java/util/regex/RETokenRepeated.java
5047 (findMatch): Rewriten without using recursive calls,
5048 (FindMatchControlStack): New class,
5049 (FindMatchControl): New class,
5050 (TryAnotherResult): New class,
5051 (tryAnother): New method.
5053 2006-09-22 Gary Benson <gbenson@redhat.com>
5055 * java/net/SocketPermission.java
5056 (processHostport): Cope with IPv6 addresses with a
5057 one-digit first component.
5059 2006-09-22 Roman Kennke <kennke@aicas.com>
5061 * java/awt/Component.java
5062 (enableEvents): Set newEventsOnly flag.
5063 * java/awt/Container.java
5064 (dispatchEventImpl): Consume event if lightweight dispatcher
5065 dispatched the event. Don't call processEvent() here, this
5066 is already done in Component.dispatchEventImpl(). For
5067 heavyweights or when the lightweight dispatcher could
5068 not dispatch, fall back to calling super.
5069 (dispatchNoLightweight): New helper method to avoid
5070 recursivly calling the lightweight dispatcher.
5071 * java/awt/LightweightDispatcher.java
5072 (dragButton): Removed field.
5073 (dragTarget): Removed field.
5074 (mouseEventTarget): New field.
5075 (convertPointToChild): Removed method.
5076 (dispatchEvent): Don't depend on component beeing
5078 (findTarget): Improved algorithm for finding a target.
5079 Before we went down to the deepest component and went
5080 up again to find a suitable target. Now we go
5081 down only once, without going up.
5082 (handleMouseEvent): Broke method down into some smaller
5084 (isDragging): New helper method.
5085 (isMouseListening): New helper method.
5086 (redispatch): New helper method.
5087 (trackEnterExit): New helper method.
5089 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5091 * javax/swing/SizeSequence.java
5092 (getSize): Return 0 if index is out of bounds.
5094 2006-09-21 Tom Tromey <tromey@redhat.com>
5096 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5097 (PathOptionGroup): Make -I a joined option.
5098 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5099 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5100 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5101 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5102 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5103 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5104 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5105 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5106 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5107 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5108 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5109 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5110 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5111 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5112 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5113 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5114 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5115 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5116 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5117 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5118 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5120 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5121 * tools/gnu/classpath/tools/common/Messages.java: New file.
5122 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5123 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5125 (ClasspathToolParser): Add -J option here.
5126 (ClasspathToolParser): Call other constructor in this class.
5127 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5128 Handle joined options.
5129 (handleShortOptions): Likewise.
5130 (handleShortOption): Removed.
5131 (finalGroup): New field.
5132 (Parser): Initialize new field. Don't add -J option.
5133 (addFinal): New method.
5134 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5136 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5137 (Option): Check short option for validity.
5138 (Option): New constructors.
5139 (joined): New field.
5141 2006-09-21 csm <csm@pollux.local>
5143 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5144 `InterruptedIOException;' try again if it gets thrown.
5145 (receive): likewise, but re-throw `SocketTimeoutException.'
5146 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5147 if we have nothing to select.
5149 2006-09-21 Francis Kung <fkung@redhat.com>
5151 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5152 (getLogicalBounds): Respect glyph transformations.
5153 (getGlyphOutline): Added null pointer check.
5154 (getGlyphTransform): Do not generate identity transform (API permits null).
5155 (setGlyphPosition): Do not invalidate transform.
5156 (setGlyphTransform): Do not modify glyph position.
5158 2006-09-21 Francis Kung <fkung@redhat.com>
5160 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5162 2006-09-21 Francis Kung <fkung@redhat.com>
5164 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5165 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5166 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5168 2006-09-21 Tania Bento <tbento@redhat.com>
5170 * javax/swing/JTabbedPane.java:
5171 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5172 (setModel): A ChangeListener should be created only if there does not
5173 currently exist one.
5175 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5177 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5178 (MaximizeAction.actionPerformed): Change icon on maxButton.
5180 2006-09-21 Roman Kennke <kennke@aicas.com>
5182 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5183 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5184 Use more efficient getViewPosition() and getViewSize() methods
5185 to avoid creating a rectangle.
5186 (HSBChangeListener.stateChanged): Update the view position
5187 unconditionally. Let the Viewport figure out if something
5189 (VSBChangeListener.stateChanged): Update the view position
5190 unconditionally. Let the Viewport figure out if something
5192 * javax/swing/JViewport.java
5193 (ViewListener.componentResized): Fire state change, because
5194 the extentSize changes.
5195 (extentSize): Removed unneeded field.
5196 (viewSize): Removed unneeded field.
5197 (getExtentSize): Return the viewport's size here.
5198 (getViewRect): Reformatted.
5199 (getViewSize): Reordered for only one return statement.
5200 (paintImmediately2): Fixed up javadoc.
5201 (paint): Removed unneeded statement.
5202 (setExtentSize): Set viewport size and check for actual change
5204 (setViewPosition): Simplified condition. Set scrollUnderway
5205 true and don't set isViewSizeSet. Avoid creating one Point
5207 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5209 * javax/swing/JScrollBar.java
5210 (ScrollBarListener): New class. Forwards change events from
5211 the model as adjustment events.
5212 (sbChangeListener): New field.
5213 (JScrollBar): Install listener on new model.
5214 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5216 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5217 method to allow custom isAdjusting value.
5218 (setMaximum): Only forward to model.
5219 (setMinimum): Only forward to model.
5220 (setValue): Only forward to model.
5221 (setVisibleAmount): Only forward to model.
5222 (setValues): Only forward to model.
5223 (setModel): Update the change listener.
5225 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5227 * java/util/Formatter.java (basicIntegralConversion): Removed
5228 check for ZERO && !LEFT_JUSTIFY.
5230 2006-09-20 Roman Kennke <kennke@aicas.com>
5233 * javax/swing/plaf/metal/DefaultMetalTheme.java
5234 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5235 (BOLD_CONTROL_TEXT_FONT): New constant field.
5236 (PLAIN_MENU_TEXT_FONT): New constant field.
5237 (BOLD_MENU_TEXT_FONT): New constant field.
5238 (controlTextFont): Removed.
5239 (menuTextFont): Removed.
5240 (CONTROL_TEXT_FONT): New constant field.
5241 (MENU_TEXT_FONT): New constant field.
5242 (getControlTextFont): Use getFont() helper method for fetching
5244 (getMenuTextFont): Use getFont() helper method for fetching
5246 (getFont): New helper method.
5247 (isBoldMetal): New helper method.
5249 2006-09-20 Casey Marshall <csm@gnu.org>
5251 * NEWS: mention epoll selector along with the kqueue one.
5253 2006-09-20 Casey Marshall <csm@gnu.org>
5255 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5256 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5258 2006-09-20 Francis Kung <fkung@redhat.com>
5261 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5262 (getGlyphTransform): Use translation instead of scale.
5263 (performDefaultLayout): Increment position values instead of resetting, and
5264 pre-increment instead of post-increment.
5265 (setGlyphTransform): Handle null case with identity transform.
5267 2006-09-20 Casey Marshall <csm@gnu.org>
5269 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5270 (AC_CHECK_FUNCS): check for `epoll_create.'
5271 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5272 * gnu/java/nio/EpollSelectorImpl.java: new file.
5273 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5275 (openSelector): return epoll selector if requested and available.
5276 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5277 (gnu_java_nio_EpollSelectorImpl.h): new target.
5278 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5279 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5280 gnu_java_nio_EpollSelectorImpl.c.
5281 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5283 2006-09-20 Casey Marshall <csm@gnu.org>
5285 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5287 (isConnected): return false if `connectionPending' is true.
5289 2006-09-20 Francis Kung <fkung@redhat.com>
5292 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5293 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5294 (getGlyphOutline): Call getGylphTransform to generate transform.
5295 (getGylphPosition): Read position directly out of array.
5296 (getGlyphPositions): Read positions directly out of array.
5297 (getGlyphTransform): Generate transform based on gylphPositions array.
5298 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5299 (setGlyphPosition): Set position directly into array.
5300 (setGlyphTransform): Update positions array as well.
5302 2006-09-20 David Daney <ddaney@avtrex.com>
5305 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5306 default content-type for POST method.
5308 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5310 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5311 (BasicRadioButtonUI): Don't fetch icon here,
5312 (installDefaults): Initialise icon here,
5313 (getDefaultIcon): Just return icon.
5315 2006-09-20 Mark Wielaard <mark@klomp.org>
5317 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5318 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5319 (EXTRA_DIST): Include javanio.c.
5321 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5323 * java/awt/geom/RoundRectangle2D.java:
5324 (getPathIterator): Reimplemented,
5325 and updated various API doc comments.
5327 2006-09-20 Roman Kennke <kennke@aicas.com>
5329 * java/awt/Container.java
5330 (addImpl): Set the new component's parent after it has been
5331 added to the array. Call addNotify() and invalidate()
5332 after the component has been added, so that the peer
5333 gets to know about the component structure when it is created.
5334 * java/awt/Window.java
5335 (dispatchEventImpl): Only revalidate when window is resized,
5336 let the other stuff be processed by the superclass.
5337 (dispose): Post WINDOW_CLOSED event only when some listener
5338 is registered or event is explicitly enabled.
5339 (show): Post WINDOW_OPENED event when appropriate.
5341 2006-09-20 Roman Kennke <kennke@aicas.com>
5343 * java/awt/Component.java
5344 (addNotify): Invalidate here. Fetch peer font.
5345 (getFont): Delegate to helper method, to protect from
5346 overriding client code. Lock the tree while fetching the font.
5347 (getFontImpl): New helper method. Moved code from getFont() in
5349 (removeNotify): Nullify peerFont too.
5350 (setFont): Synchronize on tree and component to avoid threading
5351 issues. Update the peerFont correctly.
5352 (validate): Update the peer font if necessary, before validating.
5353 (getGraphics): Revert to recursive graphics fetching.
5354 Set component font on the Graphics object.
5355 (translateEvent): Removed unnecessary cast.
5356 * java/awt/Container.java
5357 (invalidateTree): Made final and private. Made implementation
5358 slightly more efficient.
5359 (setFont): Get old and new font via getFont() to account for
5360 the real font, and only invalidate the tree when they are not
5361 the same and not equal.
5362 (visitChild): Set the font of the child on the component graphics.
5363 * java/awt/Frame.java
5364 (setMenuBar): Create local reference of peer for thread safety.
5365 Only call simple invalidate, not invalidateTree().
5367 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5370 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5371 (constructor): Copy image field.
5373 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5375 * javax/swing/JMenuBar.java
5376 (getHelpMenu): Implemented to throw an Error, and added API docs,
5377 (getMargin): Added API docs,
5378 (setMargin): Likewise.
5380 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5382 * javax/swing/AbstractButton.java
5383 (AbstractButton): Don't call updateUI(),
5384 * javax/swing/JButton.java
5385 (JButton(String, Icon)): Call setModel() before init(),
5386 * javax/swing/JMenuItem.java
5387 (JMenuItem()): Delegate to another constructor,
5388 (JMenuItem(Icon)): Likewise,
5389 (JMenuItem(Action)): Set model,
5390 (JMenuItem(String, Icon)): Likewise,
5391 * javax/swing/JToggleButton.java
5392 (init): Call setModel() before init().
5394 2006-09-19 Mark Wielaard <mark@klomp.org>
5397 * java/util/logging/LogManager.java (addLogger): Always check for
5398 existing children of a new Logger.
5400 2006-09-19 Roman Kennke <kennke@aicas.com>
5402 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5403 (HSBChangeListener.stateChanged): Moved handling of header to
5404 syncScrollPaneWithViewport().
5405 (VSBChangeListener.stateChanged): Moved handling of header to
5406 syncScrollPaneWithViewport().
5407 (ViewportChangedHandler.stateChanged): Removed unused statements.
5408 (syncScrollPaneWithViewport): Added null checks. Use setValues
5409 rather then the single setter methods to avoid multiple
5410 adjustments and side effects. Also snyc the headers here.
5411 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5412 (uninstallUI): Removed unnecessary cast and this qualifier as well
5413 as the call to super.
5415 2006-09-19 Gary Benson <gbenson@redhat.com>
5417 * java/net/ResolverCache.java: New class (a DNS cache).
5418 * java/net/InetAddress.java
5419 (internalGetCanonicalHostName, getAllByName): Use the above.
5421 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5423 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5424 * java/net/ServerSocket.java
5426 (bind): Set port field.
5427 (close): Set impl to null.
5428 (isClosed): Check impl and channel instead of using VMChannel.
5429 (toString): Use port field and getLocalPort() method.
5430 * java/net/Socket.java
5431 (isClosed): Check impl and channel instead of using VMChannel.
5433 2006-09-18 Tom Tromey <tromey@redhat.com>
5435 * java/util/concurrent/CopyOnWriteArrayList.java
5436 (CopyOnWriteArrayList): New constructor.
5438 2006-09-18 Casey Marshall <csm@gnu.org>
5440 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5441 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5443 2006-09-18 Tom Tromey <tromey@redhat.com>
5445 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5446 isConnected): Removed old comment.
5447 (getRemoteSocketAddress): Uncommented.
5448 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5449 setTrafficClass, getTrafficClass, setReuseAddress,
5450 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5451 isOutputShutdown): Uncommented.
5453 2006-09-18 David Pirkle <dpirkle@symyx.com>
5456 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5457 input stream during resolution.
5459 2006-09-18 Roman Kennke <kennke@aicas.com>
5461 * java/awt/LightweightDispatcher.java
5462 (findTarget): Correctly translate child coordinates.
5463 Use Component.eventTypeEnabled() for checking if a component
5464 has a certain event enabled.
5465 (handleMouseEvent): Find the correct mouse event target.
5466 Use Component.eventTypeEnabled() for checking if a component
5467 has a certain event enabled.
5469 2006-09-18 Roman Kennke <kennke@aicas.com>
5471 * java/awt/Component.java
5472 (show): Test for the peer beeing lightweight directly.
5473 (paintAll): Validate before painting. Don't paint when not
5474 showing. Call peer.paint() when the component is heavyweight.
5475 (repaint): Delegate to the parent when lightweight, rather
5476 than skipping to the nearest heavyweight.
5477 (createImage): Added null check to prevent NPE.
5478 (dispatchEvent): Moved old event dispatching and toolkit
5479 event dispatching to dispatchEventImpl.
5480 (addComponentListener): Don't enable event. Only add listener
5481 when not null. Switch to new event dispatching only.
5482 (addFocusListener): Likewise.
5483 (addHierarchyListener): Likewise.
5484 (addHierarchyBoundsListener): Likewise.
5485 (addKeyListener): Likewise.
5486 (addMouseListener): Likewise.
5487 (addMouseMotionListener): Likewise.
5488 (addMouseWheelListener): Likewise.
5489 (addInputMethodListener): Likewise.
5490 (coalesceEvents): For mouse events coalesce them only when
5491 their modifiers are equal. For paint events coalesce the events
5492 when one contains the other, without going through complicated
5494 (dispatchEventImpl): Moved old event dispatching and toolkit
5495 event dispatching to dispatchEventImpl.
5496 (coalescePaintEvents): Removed.
5497 (HeavyweightInLightweightListener.componentHidden):
5499 * java/awt/Container.java
5500 (addImpl): Don't enable events on lightweights.
5501 (remove): Reordered operations. Don't remove any listeners.
5502 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5503 Only removeNotify() when peer is != null. Only invalidate if
5504 not already invalid. Only fire ContainerEvent if there is
5505 an interested listener or the event is enabled. Dispatch this
5506 event directly without the event queue.
5507 (removeAll): Likewise.
5508 (paintComponents): Only paint when showing. Also paint heavyweights.
5509 Don't paint the container itself.
5510 (removeNotify): Create local variables for improved thread safety.
5511 (addNotifyContainerChildren): Don't enable events for lightweights.
5513 2006-09-18 Roman Kennke <kennke@aicas.com>
5515 * java/awt/EventQueue.java
5516 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5517 (next_in): Removed obsolete field.
5518 (next_out): Removed obsolete field.
5519 (queueHead): New field. Markes the head of the queue.
5520 (queueTail): New field. Markes the tail of the queue.
5521 (queue): Removed obsolete field.
5522 (EventQueue): Documented empty block.
5523 (getNextEvent): Changed array based implementation to single-linked
5524 list based implementation.
5525 (invokeAndWait): Use an Object as synchronization object rather
5526 than the current thread.
5527 (peekEvent(int)): Changed array based implementation to single-linked
5528 list based implementation.
5529 (peekEvent()): Changed array based implementation to single-linked
5530 list based implementation.
5531 (pop()): Changed array based implementation to single-linked
5532 list based implementation.
5533 (postEvent): Foward to postEventImpl.
5534 (postEventImpl): Changed array based implementation to single-linked
5535 list based implementation.
5536 (push): Changed array based implementation to single-linked
5537 list based implementation.
5538 * java/awt/AWTEvent.java
5539 (queueNext): New field. Implements a single-linked list for
5542 2006-09-17 Mark Wielaard <mark@klomp.org>
5544 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5545 resource from HTMLEditorKit.class.
5547 2006-09-17 Mark Wielaard <mark@klomp.org>
5549 * javax/swing/plaf/basic/BasicToolBarUI.java
5550 (setBorderToNonRollover): Check whether border is null.
5551 (setBorderToRollover): Likewise.
5553 2006-09-17 Mark Wielaard <mark@klomp.org>
5555 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5557 2006-09-17 Mark Wielaard <mark@klomp.org>
5559 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5560 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5561 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5562 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5563 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5565 2006-09-17 Casey Marshall <csm@gnu.org>
5567 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5570 2006-09-17 Chris Burdess <dog@gnu.org>
5572 Fixes PR 27610 27687.
5573 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5574 * gnu/xml/transform/SAXTemplatesHandler.java,
5575 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5576 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5577 SAXTransformerFactory.
5579 2006-09-16 Casey Marshall <csm@gnu.org>
5582 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5583 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5585 (HAVE_INET6): define if IPv6 is supported.
5586 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5587 (native_fd): removed.
5589 (<init>): throw IOException; initialize fields.
5590 (finalize): removed.
5591 (getNativeFD): removed.
5592 (bind): use `PlainSocketImpl.bind.'
5593 (create): use `PlainSocketImpl.initSocket.'
5594 (disconnect): use `PlainSocketImpl.disconnect.'
5595 (getLocalPort): new method.
5596 (send): use `VMChannel.send.'
5597 (receive): use `VMChannel.receive.'
5598 (setOption): use `PlainSocketImpl.setOption.'
5599 (getOption): use `PlainSocketImpl.getOption.'
5600 (close): use `VMChannel.State.close.'
5601 (join): use `PlainSocketImpl.join.'
5602 (leave): use `PlainSocketImpl.leave.'
5603 (joinGroup, leaveGroup): implemented.
5604 * gnu/java/net/PlainSocketImpl.java: make non-final.
5605 (native_fd): removed.
5607 (channel): new field.
5608 (<init>): initialize `impl.'
5609 (finalize, getNativeFD): removed.
5610 (setOption): use `PlainSocketImpl.setOption.'
5611 (getOption): use `PlainSocketImpl.getOption.'
5612 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5613 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5614 (create): create `channel,' initialize `impl's native state.
5615 (connect): use `connect(SocketAddress, int).'
5616 (connect): use `SocketChannelImpl.connect;' initialize `address'
5618 (bind): use `VMPlainSocketImpl.bind.'
5619 (listen): use `VMPlainSocketImpl.listen.'
5620 (accept): use `SocketChannelImpl.accept.'
5621 (available): use `VMChannel.available.'
5622 (close): use `PlainSocketImpl.close.'
5623 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5624 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5625 getPort): new methods.
5626 (SocketInputStream.read): use `VMChannel.read.'
5627 (SocketInputStream.read): use `SocketChannel.read.'
5628 (SocketOutputStream.write): use `VMChannel.write.'
5629 (SocketOutputStream.write): use `SocketChannel.write.'
5630 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5631 (channel): new field.
5632 (<init>): initialize `channel.'
5633 (implCloseSelectableChannel): use `VMChannel.close.'
5634 (implConfigureBlocking): use `VMChannel.setBlocking.'
5635 (connect): use `VMChannel.connect.'
5636 (disconnect): use `VMChannel.disconnect.'
5637 (isConnected): use `VMChannel.getPeerAddress.'
5638 (write): use `VMChannel.write.'
5639 (write): use `VMChannel.writeGathering.'
5640 (read): use `VMChannel.read.'
5641 (read): use `VMChannel.readScattering.'
5642 (receive): use `VMChannel.receive.'
5643 (send): use `VMChannel.send.'
5644 (getVMChannel): new method.
5645 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5646 access native FD through VMChannel.State.
5647 * gnu/java/nio/FileChannelImpl.java: moved from
5648 gnu/java/nio/channels/FileChannelImpl.java.
5649 * gnu/java/nio/FileLockImpl.java: fix imports.
5650 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5651 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5652 * gnu/java/nio/NIOSocket.java (impl): removed.
5653 (channel): new field.
5654 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5655 (getPlainSocketImpl, setChannel): removed.
5656 (isConnected): new method.
5657 * gnu/java/nio/NIOSocketImpl.java: new file.
5658 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5660 (SourceChannelImpl.native_fd): removed.
5661 (SourceChannelImpl.<init>): init with a `VMChannel.'
5662 (SourceChannelImpl.getNativeFD): removed.
5663 (SourceChannelImpl.getVMChannel): new method.
5664 (SourceChannelImpl.implCloseSelectableChannel): implement.
5665 (SinkChannelImpl): implement `VMChannelOwner.'
5666 (SinkChannelImpl.native_fd): removed.
5667 (SinkChannelImpl.<init>): init with a `VMChannel.'
5668 (SinkChannelImpl.implCloseSelectableChannel): implement.
5669 (SinkChannelImpl.getNativeFD): removed.
5670 (SinkChannelImpl.getVMChannel): new method.
5671 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5673 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5674 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5675 (openSelector): return kqueue selector if available.
5676 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5678 (channel): new field.
5679 (<init>): init `channel.'
5680 (finalizer): check if the `VMChannel.State' is valid.
5681 (implCloseSelectableChannel): use `VMChannel.close.'
5682 (implConfigureBlocking): use `VMChannel.setBlocking.'
5683 (accept): use `VMChannel.accept.'
5684 (getVMChannel): new method.
5685 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5686 access native FD through `VMChannel.State.'
5687 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5689 (channel, connected, connectAddress): new field.
5690 (<init>): new constructors.
5691 (getPlainSocketImpl): removed.
5692 (implCloseSelectableChannel): use `VMChannel.close.'
5693 (implConfigureBlocking): use `VMChannel.setBlocking.'
5694 (connect): use `connect(SocketAddress,int).'
5695 (connect): use `VMChannel.connect.'
5696 (finishConnect): don't use a selector.
5697 (isConnected): use `VMChannel.getPeerAddress.'
5698 (read): use `VMChannel.read.'
5699 (read): use `VMChannel.readScattering.'
5700 (write): use `VMChannel.write.'
5701 (write): use `VMChannel.writeGathering.'
5702 (getVMChannel): new method.
5703 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5704 native FD from `VMChannel.State.'
5705 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5706 get native FD from `VMChannel.State.'
5707 * gnu/java/nio/VMChannelOwner.java: new file.
5708 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5709 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5710 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5711 `gnu_java_nio_channels_FileChannelImpl.h.'
5712 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5713 * include/gnu_java_nio_FileChannelImpl.h: new file.
5714 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5715 * include/gnu_java_nio_VMChannel.h: regenerated.
5716 * include/gnu_java_nio_VMPipe.h: regenerated.
5717 * include/java_net_VMNetworkInterface.h: regenerated.
5718 * java/io/FileDescriptor.java: fix imports.
5719 * java/io/FileInputStream.java (<init>): handle exceptions.
5720 (read): wrap the destination arary.
5721 * java/io/FileOutputStream.java (<init>): handle exceptions.
5722 (write): wrap the source array.
5723 * java/io/RandomAccessFile.java (<init>): handle exceptions.
5724 * java/net/DatagramSocket.java (<init>): handle exceptions.
5725 (receive): handle length/port setting.
5726 (connect): bind to any address/port if the argument is null.
5727 * java/net/NetworkInterface.java (name, inetAddress): removed.
5729 (<init>): make private.
5730 (getName): return `netif.name.'
5731 (getInetAddresses): access `netif.addresses.'
5732 (getDisplayName): return `netif.name.'
5733 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5734 (condense): removed.
5735 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5736 (equals): compare `netif' fields.
5737 (hashCode): get hash codes from `netif.'
5738 (toString): use a StringBuffer.
5739 * java/net/ServerSocket.java (close): don't set `impl' to null.
5740 (isClosed): use `VMChannel.State.isClosed.'
5741 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5742 the `SocketImpl' is a `PlainSocketImpl.'
5743 (close): just close the `impl.'
5744 (toString): use `super.toString' in the value we return.
5745 (isConnected): just access `impl,' not `getImpl.'
5746 (isBound): use `PlainSocketImpl' methods if we can.
5747 (isClosed): look at `VMChannel.State.'
5748 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5749 (JCL_NewRawDataObject): don't initialize cached fields here; throw
5750 an exception if they were not.
5751 (JCL_GetRawData): throw an exception if cached fields weren't
5753 * native/jni/java-lang/java_lang_VMProcess.c: handle
5754 FileChannelImpl move.
5755 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5756 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5757 THROW_NO_NETWORK): new macros.
5758 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5759 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5760 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5761 (java_sockopt): new enum.
5762 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5763 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5764 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5766 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5768 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5770 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5771 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5772 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5773 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5774 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5775 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5776 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5777 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5778 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5779 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5780 (getif_address): new function.
5781 (getif_index): new function.
5782 * native/jni/java-net/java_net_VMNetworkInterface.c
5783 (java_net_VMNetworkInterface_init,
5784 java_net_VMNetworkInterface_addAddress): new file-scope globals.
5785 (Java_java_net_VMNetworkInterface_initIds): new function.
5786 (struct netif_entry): new struct.
5787 (free_netif_list): new function.
5788 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5789 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5790 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5791 gnu_java_nio_channels_FileChannelImpl.c, add
5792 gnu_java_nio_KqueueSelectorImpl.c.
5793 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5794 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5795 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5796 ALIGN_DOWN): new macros.
5797 (JCL_init_buffer): get the address through GetDirectBufferAddress
5799 (Java_gnu_java_nio_VMChannel_stdin_1fd,
5800 Java_gnu_java_nio_VMChannel_stdout_1fd,
5801 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5802 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5804 (Java_gnu_java_nio_VMChannel_read): renamed...
5805 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5806 this; handle interrupted IO; add HAVE_READ check.
5807 (Java_gnu_java_nio_VMChannel_write): renamed...
5808 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5809 this; handle zero-length write; add HAVE_WRITE check.
5810 (Java_gnu_java_nio_VMChannel_receive): new function.
5811 (Java_gnu_java_nio_VMChannel_send): new function.
5812 (Java_gnu_java_nio_VMChannel_send6): new function.
5813 (Java_gnu_java_nio_VMChannel_read__I): new function.
5814 (Java_gnu_java_nio_VMChannel_write__II): new function.
5815 (Java_gnu_java_nio_VMChannel_socket): new function.
5816 (Java_gnu_java_nio_VMChannel_connect): new function.
5817 (Java_gnu_java_nio_VMChannel_connect6): new function.
5818 (Java_gnu_java_nio_VMChannel_getsockname): new function.
5819 (Java_gnu_java_nio_VMChannel_getpeername): new function.
5820 (Java_gnu_java_nio_VMChannel_accept): new function.
5821 (Java_gnu_java_nio_VMChannel_disconnect): new function.
5822 (Java_gnu_java_nio_VMChannel_close): new function.
5823 (Java_gnu_java_nio_VMChannel_available): new function.
5824 (FileChannel_mode): new enum.
5825 (Java_gnu_java_nio_VMChannel_open): new function.
5826 (Java_gnu_java_nio_VMChannel_position): new function.
5827 (Java_gnu_java_nio_VMChannel_seek): new function.
5828 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5829 (Java_gnu_java_nio_VMChannel_lock): new function.
5830 (Java_gnu_java_nio_VMChannel_unlock): new function.
5831 (Java_gnu_java_nio_VMChannel_size): new function.
5832 (Java_gnu_java_nio_VMChannel_map): new function.
5833 (Java_gnu_java_nio_VMChannel_flush): new function.
5834 * native/jni/java-nio/gnu_java_nio_VMPipe.c
5835 (Java_gnu_java_nio_VMPipe_init): removed.
5836 (Java_gnu_java_nio_VMPipe_pipe0): new function.
5837 * native/jni/java-nio/javanio.c: new file.
5838 * native/jni/java-nio/javanio.h: new file.
5839 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5840 systems without `gethostbyname_r.'
5841 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5843 (<init>, <init>): new constructors.
5844 (setOption, getOption): make instance methods; defer to native
5847 (bind): make an instance method; defer to native methods.
5849 (available): removed.
5850 (listen): make an instance method; defer to native method.
5852 (join, leave): new methods.
5854 (joinGroup, leaveGroup): new methods.
5855 (shutdownInput, shutdownOutput): make instance methods.
5856 (sendUrgentData): removed.
5858 * vm/reference/gnu/java/nio/VMChannel.java: make final.
5861 (<init>): new, public constructors.
5862 (getVMChannel): methods removed.
5863 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5864 stderr_fd): new methods.
5865 (setBlocking): make an instance method.
5866 (available): new method.
5867 (read): get native fd from `nfd.'
5868 (read): new single-byte read method.
5869 (readScattering): get native fd from `nfd.'
5870 (receive): new method.
5871 (write, writeGathering): get native fd from `nfd.'
5873 (write): new single-byte write method.
5874 (initSocket): new method.
5875 (connect): new method.
5876 (disconnect): new method.
5877 (getLocalAddress): new method.
5878 (getPeerAddress): new method.
5879 (accept): new method.
5880 (openFile): new method.
5881 (position): new method.
5883 (truncate): new method.
5885 (unlock): new method.
5888 (flush): new method.
5889 (close): new method.
5892 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5893 (pipe, pipe0): new method.
5894 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5896 (<clinit>): call `initIds.'
5897 (initIds): new method.
5898 (getInterfaces): removed.
5899 (getVMInterfaces): new method.
5900 (addAddress): new method.
5901 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5903 2006-09-16 Chris Burdess <dog@gnu.org>
5906 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5907 when in text output mode.
5909 2006-09-16 Chris Burdess <dog@gnu.org>
5912 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5914 2006-09-14 Michael Koch <konqueror@gmx.de>
5916 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5918 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
5920 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5921 Added !cl.isArray() to serialVersionUID mismatch check.
5923 2006-09-14 Francis Kung <fkung@redhat.com>
5925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5926 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5927 be compatibe with Cairo 1.2.x.
5929 2006-09-14 Francis Kung <fkung@redhat.com>
5931 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5932 (cairoSurfaceSetFilter): Removed method.
5933 (drawImage): Pass interpolation type as argument to drawing methods.
5934 (drawPixels): Added interpolation parameter.
5935 (drawRaster): Pass interpolation type as argument to drawing method.
5936 (getInterpolation): New method.
5937 (setRenderingHint): Store hints, but do not set interpolation in cairo.
5938 (setRenderingHints): Store hints, but do not set interpolation in cairo.
5939 * gnu/java/awt/peer/gtk/CairoSurface.java
5940 (drawSurface): Added interpolation parameter.
5941 (nativeDrawSurface): Added interpolation parameter.
5942 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5943 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5945 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5946 * native/jni/gtk-peer/cairographics2d.h
5947 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5948 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5949 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5951 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5952 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5953 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5954 interpolation parameter.
5956 2006-09-14 Gary Benson <gbenson@redhat.com>
5958 * java/net/InetAddress.java
5959 (internalGetCanonicalHostName): New method.
5960 (getCanonicalHostName): Use internalGetCanonicalHostName.
5961 (getByLiteral): New method.
5962 (getAllByName): Use getByLiteral.
5963 * java/net/SocketPermission.java
5964 (host): Replaced with...
5965 (hostname, address): New fields.
5966 (equals, hashcode): Reflect the above.
5967 (setHostPort): Parse host into hostname or address.
5968 (implies): Rewrite host checks.
5970 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5973 * java/awt/Menu.java
5974 (insert(MenuItem, int)): Fixed loop range,
5975 (insert(String, int)): Updated API docs.
5977 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
5980 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5981 architectures (like Arm).
5982 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5983 Reverted SWAP_DOUBLE patch.
5984 (doubleToRawLongBits): Likewise.
5985 (longBitsToDouble): Likewise.
5987 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5989 * java/awt/Menu.java: Reformatted source file.
5991 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5993 * gnu/java/rmi/server/ActivatableRef.java
5994 (readExternal, writeExternal): Partial fix for serialization format.
5996 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5999 * java/io/InputStreamReader.java
6000 (read(char[],int,int)): Fixed bug.
6002 2006-09-13 Francis Kung <fkung@redhat.com>
6004 * java/awt/image/BandCombineOp.java: Updated documentation.
6005 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6007 2006-09-13 Tom Tromey <tromey@redhat.com>
6010 * java/io/PipedReader.java (read): Return early if len==0.
6011 * java/io/PipedInputStream.java (read): Return early if len==0.
6013 2006-09-13 Francis Kung <fkung@redhat.com>
6015 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6016 Removed hard-coded max sample value.
6017 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
6018 Fixed finding of max sample value.
6020 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6022 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6023 (setPaint): Check null argument ('p').
6025 2006-09-12 Francis Kung <fkung@redhat.com>
6028 * gnu/java/awt/java2d/TexturePaintContext.java
6029 (constructor): Fixed typo, getMinY instead of getMaxX.
6030 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6031 (setPaint): Implemented support for custom Paint classes.
6032 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6033 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6034 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6035 to setPaintPixels, and added repeat parameter.
6036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6037 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6039 2006-09-12 Gary Benson <gbenson@redhat.com>
6041 * java/net/NetworkInterface.java (getInetAddresses):
6042 Fix port used in security check.
6044 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6046 * javax/swing/plaf/metal/DefaultMetalTheme.java
6047 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6048 (MENU_TEXT_FONT): Renamed 'menuTextFont',
6049 (getControlTextFont): Check 'swing.boldMetal' setting before
6051 (getMenuTextFont): Likewise.
6053 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6055 * javax/swing/plaf/metal/OceanTheme.java
6056 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6058 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6060 * javax/swing/plaf/metal/MetalIconFactory.java
6061 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6063 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6065 * javax/swing/AbstractSpinnerModel.java: API doc updates.
6067 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6069 * javax/swing/AbstractButton.java
6070 (AbstractButton): Initialise textIconGap field.
6072 2006-09-11 Tom Tromey <tromey@redhat.com>
6074 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6075 "volatile" when needed.
6077 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6079 * java/text/AttributedCharacterIterator.java
6080 (LANGUAGE): Initialise with lower case string,
6081 (INPUT_METHOD_SEGMENT): Likewise,
6082 (READING): Likewise,
6083 * java/text/AttributedStringIterator.java
6084 (getRunLimit): Check all attributes for changes.
6086 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6088 * java/text/AttributedCharacterIterator.java: Added @since tag,
6089 renamed some variables (no underscores) and removed some spaces to
6090 match the common style,
6091 * java/text/AttributedString.java: Likewise,
6092 * java/text/AttributedStringIterator.java: Likewise.
6094 2006-09-11 Gary Benson <gbenson@redhat.com>
6096 * java/net/Inet4Address.java
6097 (FAMILY): Renamed back to AF_INET.
6098 (<init>, writeReplace): Reflect the above.
6099 * java/net/Inet6Address.java
6100 (FAMILY): Renamed back to AF_INET6.
6101 (<init>): Reflect the above.
6103 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6106 * java/text/AttributedString.java
6107 (AttributedString(AttributedCharacterIterator, int, int,
6108 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6111 2006-09-11 Gary Benson <gbenson@redhat.com>
6113 * java/net/Inet4Address.java
6114 (AF_INET): Renamed to FAMILY.
6115 (<init>, writeReplace): Reflect the above.
6116 * java/net/Inet6Address.java
6117 (AF_INET6): Renamed to FAMILY.
6118 (<init>): Reflect the above.
6120 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6123 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6124 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6125 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6126 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6127 (bind): Call getImpl().create(true).
6129 2006-09-09 Chris Burdess <dog@gnu.org>
6131 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6132 an instance of org.w3c.dom.NodeList.
6134 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6136 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6137 missing security manager when run in standalone mode.
6139 2006-09-08 Francis Kung <fkung@redhat.com>
6141 * java/awt/image/AffineTransformOp.java: Updated documentation.
6142 (createCompatibleDestRaster): Updated formatting.
6143 (filter(BufferedImage, BufferedImage)): Updated formatting.
6144 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6145 if colour model is compatible.
6146 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6147 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6149 2006-09-08 Gary Benson <gbenson@redhat.com>
6151 * java/net/InetAddress.java
6152 (family): Updated javadoc and made private.
6153 (<init>): Add an address family argument.
6154 (readObject): Don't overwrite family.
6155 * java/net/Inet4Address.java
6156 (AF_INET): New constant.
6157 (<init>): Use AF_INET as the family.
6158 (writeReplace): Likewise.
6159 * java/net/Inet6Address.java
6160 (AF_INET6): New constant.
6161 (<init>): Use AF_INET6 as the family.
6163 2006-09-08 Gary Benson <gbenson@redhat.com>
6165 * java/net/InetAddress.java
6166 (getHostName): Move lookup into getCanonicalHostName.
6167 (getCanonicalHostName): Move lookup from getHostName,
6168 Perform security check on canonical name (ie after lookup).
6170 2006-09-08 Gary Benson <gbenson@redhat.com>
6172 * java/net/Inet4Address.java (isMulticastAddress,
6173 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6174 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6175 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6176 implementations from InetAddress.
6177 * java/net/InetAddress.java (isMulticastAddress,
6178 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6179 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6180 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6181 implementations with UnsupportedOperationExceptions.
6183 2006-09-08 Gary Benson <gbenson@redhat.com>
6185 * java/net/InetAddress.java
6186 (inaddr_any): Removed.
6187 (ANY_IF, LOCALHOST): Create using getByAddress.
6188 (<init>): Updated javadoc.
6189 (getHostName): Cache hostname even if the lookup failed.
6190 (getByAddress): Create Inet4Address objects when passed
6191 IPv4-mapped IPv6 addresses.
6193 (getAllByName): Create address objects using getByAddress.
6194 Do not perform security checks unless actually required.
6195 Do not strip whitespace from the hostname.
6196 (getInaddrAny): Removed.
6197 (getLocalHost): Return the loopback address if getByName
6198 throws a SecurityException.
6199 (readResolve): Updated javadoc.
6200 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6201 * include/java_net_VMInetAddress.h
6202 (Java_java_net_VMInetAddress_aton): Likewise.
6203 * native/jni/java-net/java_net_VMInetAddress.c
6204 (Java_java_net_VMInetAddress_aton): New method.
6205 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6206 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6207 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6208 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6209 * NEWS: Added note about updated VM interface.
6211 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6213 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6214 (setNorthPane): Assign component to titlePane.
6216 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6218 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6219 Remove unused variable alt_addr.
6220 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6221 Remove unused variables.
6223 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6225 * javax/swing/plaf/metal/MetalScrollBarUI.java
6226 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6227 (createDecreaseButton): Don't fetch scrollBarWidth here,
6228 (createIncreaseButton): Likewise.
6230 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6232 * java/awt/image/MemoryImageSource.java: Added API docs.
6234 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6236 * javax/swing/plaf/basic/BasicScrollBarUI.java
6237 (installDefaults): Call configureScrollBarColors().
6239 2006-09-06 Francis Kung <fkung@redhat.com>
6241 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6242 (constructor): Make copy of arrays.
6243 (createCompatibleDestImage): Changed treatment of null ColorModel.
6244 (filter(BufferedImage, BufferedImage)): Re-implemented.
6245 (filter(Raster, WritableRaster, boolean[])): New method.
6246 (filter(Raster, WritableRaster)): Re-implemented.
6247 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6248 (getPoint2D): Cleaned up formatting.
6249 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6251 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6253 * javax/swing/UIManager.java
6254 (getBoolean(Object)): Reimplemented,
6255 (getBoolean(Object, Locale)): Likewise,
6256 (getBorder(Object)): Likewise,
6257 (getBorder(Object, Locale)): Likewise,
6258 (getColor(Object)): Likewise,
6259 (getColor(Object, Locale)): Likewise,
6260 (getDimension(Object)): Likewise,
6261 (getDimension(Object, Locale)): Likewise,
6262 (getFont(Object)): Likewise,
6263 (getFont(Object, Locale)): Likewise,
6264 (getIcon(Object)): Likewise,
6265 (getIcon(Object, Locale)): Likewise,
6266 (getInsets(Object)): Updated API docs,
6267 (getInsets(Object, Locale)): Likewise,
6268 (getInt(Object)): Reimplemented,
6269 (getInt(Object, Locale)): Likewise,
6270 (getString(Object)): Likewise,
6271 (getString(Object, Locale)): Likewise.
6273 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6275 * javax/swing/UIManager.java
6276 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6277 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6279 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6281 * javax/swing/plaf/metal/MetalLookAndFeel.java
6282 (initComponentDefaults): Corrected various font defaults.
6284 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6286 * java/awt/List.java: Added @since to various methods.
6288 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6290 * native/jni/native-lib/cpprocess.c:
6291 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6292 Add redirection of stdout to stderr.
6293 * native/jni/native-lib/cpprocess.h:
6294 Added redirect argument.
6295 * native/jni/java-lang/java_lang_VMProcess.c
6296 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6297 * vm/reference/java/lang/VMProcess.java: Likewise.
6298 * include/java_lang_VMProcess.h: Regenerated.
6300 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6302 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6303 __attribute to __attribute__.
6305 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6308 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6310 * java/awt/List.java: Source code reformatted.
6312 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6314 * gnu/CORBA/CollocatedOrbs.java,
6315 gnu/CORBA/SafeForDirectCalls.java: New files.
6316 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6317 Implement gnu.CORBA.SafeForDirectCalls.
6318 * gnu/CORBA/NamingService/Ext.java: Likewise.
6319 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6320 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6321 of the local host. (ior_to_object): Return the local object
6322 where possible. (run): Register/unregister this ORB.
6323 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6324 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6325 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6326 (constructors): Initialize noRetain. (_invoke): Drop servant
6327 if noRetain is true. (getHandler): Always seach for the new servant
6328 if noRetain is true.
6329 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6330 * NEWS: Added note about the new feature.
6332 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6334 * java/awt/Choice.java
6335 (addItem): Fixed API doc glitch.
6337 2006-09-05 Francis Kung <fkung@redhat.com>
6339 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6340 (createCompatibleDestImage): Re-implemented.
6341 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6342 compatibility, and use ColorConvertOp for color conversion if needed.
6343 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6345 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6347 gnu/CORBA/CDR/Vio.java,
6348 org/omg/CORBA_2_3/ORB.java,
6349 org/omg/CORBA_2_3/portable/InputStream.java,
6350 org/omg/CORBA_2_3/portable/OutputStream.java,
6351 org/omg/CosNaming/BindingIteratorHelper.java,
6352 org/omg/CosNaming/BindingTypeHelper.java,
6353 org/omg/CosNaming/NameComponentHelper.java,
6354 org/omg/CosNaming/NameHelper.java,
6355 org/omg/CosNaming/NamingContextExtHelper.java,
6356 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6357 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6358 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6359 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6360 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6361 org/omg/CosNaming/NamingContextHelper.java,
6362 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6363 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6364 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6365 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6366 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6367 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6368 org/omg/DynamicAny/AnySeqHelper.java,
6369 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6370 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6371 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6372 org/omg/DynamicAny/DynAnyHelper.java,
6373 org/omg/DynamicAny/DynAnyOperations.java,
6374 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6375 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6376 org/omg/DynamicAny/DynAnySeqHelper.java,
6377 org/omg/DynamicAny/DynArrayHelper.java,
6378 org/omg/DynamicAny/DynEnumHelper.java,
6379 org/omg/DynamicAny/DynFixedHelper.java,
6380 org/omg/DynamicAny/DynSequenceHelper.java,
6381 org/omg/DynamicAny/DynStructHelper.java,
6382 org/omg/DynamicAny/DynStructOperations.java,
6383 org/omg/DynamicAny/DynUnionHelper.java,
6384 org/omg/DynamicAny/DynValueHelper.java,
6385 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6386 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6387 org/omg/IOP/CodecFactoryHelper.java,
6388 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6389 org/omg/IOP/CodecOperations.java,
6390 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6391 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6392 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6393 org/omg/IOP/ComponentIdHelper.java,
6394 org/omg/IOP/ExceptionDetailMessage.java,
6395 org/omg/IOP/MultipleComponentProfileHelper.java,
6396 org/omg/IOP/ProfileIdHelper.java,
6397 org/omg/IOP/ServiceContextListHelper.java,
6398 org/omg/IOP/ServiceIdHelper.java,
6399 org/omg/IOP/TAG_CODE_SETS.java,
6400 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6401 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6402 org/omg/PortableInterceptor/CurrentHelper.java,
6403 org/omg/PortableInterceptor/IORInfo.java,
6404 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6405 org/omg/PortableInterceptor/ORBIdHelper.java,
6406 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6407 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6408 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6409 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6410 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6411 org/omg/PortableInterceptor/RequestInfoOperations.java,
6412 org/omg/PortableInterceptor/ServerIdHelper.java,
6413 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6414 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6415 org/omg/PortableServer/AdapterActivatorOperations.java,
6416 org/omg/PortableServer/CurrentHelper.java,
6417 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6418 org/omg/PortableServer/ForwardRequestHelper.java,
6419 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6420 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6421 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6422 org/omg/PortableServer/LifespanPolicyValue.java,
6423 org/omg/PortableServer/POA.java,
6424 org/omg/PortableServer/POAHelper.java,
6425 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6426 org/omg/PortableServer/POAManagerPackage/State.java,
6427 org/omg/PortableServer/POAOperations.java,
6428 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6429 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6430 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6431 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6432 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6433 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6434 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6435 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6436 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6437 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6438 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6439 org/omg/PortableServer/ServantActivatorHelper.java,
6440 org/omg/PortableServer/ServantLocatorHelper.java,
6441 org/omg/PortableServer/ServantLocatorOperations.java,
6442 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6443 org/omg/PortableServer/ThreadPolicyValue.java,
6444 org/omg/PortableServer/_ServantActivatorStub.java,
6445 org/omg/PortableServer/_ServantLocatorStub.java,
6446 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6448 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6450 * javax/rmi/CORBA/Tie.java,
6451 org/omg/CORBA/AnyHolder.java,
6452 org/omg/CORBA/AnySeqHelper.java,
6453 org/omg/CORBA/AnySeqHolder.java,
6454 org/omg/CORBA/BooleanHolder.java,
6455 org/omg/CORBA/BooleanSeqHelper.java,
6456 org/omg/CORBA/BooleanSeqHolder.java,
6457 org/omg/CORBA/ByteHolder.java,
6458 org/omg/CORBA/CharHolder.java,
6459 org/omg/CORBA/CharSeqHelper.java,
6460 org/omg/CORBA/CharSeqHolder.java,
6461 org/omg/CORBA/Context.java,
6462 org/omg/CORBA/CurrentHelper.java,
6463 org/omg/CORBA/CustomValue.java,
6464 org/omg/CORBA/DataOutputStream.java,
6465 org/omg/CORBA/DefinitionKindHelper.java,
6466 org/omg/CORBA/DomainManagerOperations.java,
6467 org/omg/CORBA/DoubleHolder.java,
6468 org/omg/CORBA/DoubleSeqHelper.java,
6469 org/omg/CORBA/DoubleSeqHolder.java,
6470 org/omg/CORBA/DynAny.java,
6471 org/omg/CORBA/DynSequence.java,
6472 org/omg/CORBA/DynValue.java,
6473 org/omg/CORBA/DynamicImplementation.java,
6474 org/omg/CORBA/FieldNameHelper.java,
6475 org/omg/CORBA/FixedHolder.java,
6476 org/omg/CORBA/FloatHolder.java,
6477 org/omg/CORBA/FloatSeqHelper.java,
6478 org/omg/CORBA/FloatSeqHolder.java,
6479 org/omg/CORBA/IdentifierHelper.java,
6480 org/omg/CORBA/IntHolder.java,
6481 org/omg/CORBA/LocalObject.java,
6482 org/omg/CORBA/LongHolder.java,
6483 org/omg/CORBA/LongLongSeqHelper.java,
6484 org/omg/CORBA/LongLongSeqHolder.java,
6485 org/omg/CORBA/LongSeqHelper.java,
6486 org/omg/CORBA/LongSeqHolder.java,
6487 org/omg/CORBA/ORB.java,
6488 org/omg/CORBA/ObjectHelper.java,
6489 org/omg/CORBA/ObjectHolder.java,
6490 org/omg/CORBA/OctetSeqHelper.java,
6491 org/omg/CORBA/OctetSeqHolder.java,
6492 org/omg/CORBA/PolicyErrorCodeHelper.java,
6493 org/omg/CORBA/PolicyErrorHelper.java,
6494 org/omg/CORBA/PolicyHelper.java,
6495 org/omg/CORBA/PolicyListHelper.java,
6496 org/omg/CORBA/PolicyTypeHelper.java,
6497 org/omg/CORBA/PrincipalHolder.java,
6498 org/omg/CORBA/RepositoryIdHelper.java,
6499 org/omg/CORBA/Request.java,
6500 org/omg/CORBA/ShortHolder.java,
6501 org/omg/CORBA/ShortSeqHelper.java,
6502 org/omg/CORBA/ShortSeqHolder.java,
6503 org/omg/CORBA/StringSeqHelper.java,
6504 org/omg/CORBA/StringSeqHolder.java,
6505 org/omg/CORBA/ULongLongSeqHelper.java,
6506 org/omg/CORBA/ULongLongSeqHolder.java,
6507 org/omg/CORBA/ULongSeqHelper.java,
6508 org/omg/CORBA/ULongSeqHolder.java,
6509 org/omg/CORBA/UShortSeqHelper.java,
6510 org/omg/CORBA/UShortSeqHolder.java,
6511 org/omg/CORBA/ValueBaseHelper.java,
6512 org/omg/CORBA/ValueBaseHolder.java,
6513 org/omg/CORBA/VersionSpecHelper.java,
6514 org/omg/CORBA/WCharSeqHelper.java,
6515 org/omg/CORBA/WCharSeqHolder.java,
6516 org/omg/CORBA/WStringSeqHelper.java,
6517 org/omg/CORBA/WStringSeqHolder.java,
6518 org/omg/CORBA/WrongTransactionHelper.java,
6519 org/omg/CORBA/_IDLTypeStub.java,
6520 org/omg/CORBA/_PolicyStub.java,
6521 org/omg/CORBA/portable/BoxedValueHelper.java,
6522 org/omg/CORBA/portable/Delegate.java,
6523 org/omg/CORBA/portable/ObjectImpl.java,
6524 org/omg/CORBA/portable/ServantObject.java,
6525 org/omg/CORBA/portable/StreamableValue.java,
6526 org/omg/CosNaming/BindingType.java,
6527 org/omg/CosNaming/IstringHelper.java,
6528 org/omg/DynamicAny/FieldNameHelper.java,
6529 org/omg/PortableServer/Servant.java: Documentation fixes.
6531 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6533 * java/awt/Rectangle.java
6534 (setRect(double, double, double, double)): Modified rounding of input
6537 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6539 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6540 Disallow H1 - H6 in the paragraphs.
6541 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6542 (preprocess): Leave at most one leading and/or trailing space.
6543 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6544 Do not add any text after closing the HTML tag.
6546 2006-09-02 Roman Kennke <kennke@aicas.com>
6549 * javax/swing/plaf/basic/BasicTextUI.java
6550 (RootView.getPreferredSpan): Default to 10 when there is no
6552 (RootView.getMinimumSpan): Forward to view and default to 10
6553 when there is no real view.
6554 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6555 (getMaximumSize): Check for overflow.
6556 * javax/swing/text/FieldView.java
6557 (getResizeWeight): Removed unneeded assignment.
6559 2006-09-01 Francis Kung <fkung@redhat.com>
6560 * java/awt/image/ColorConvertOp.java
6561 (copyImage): Updated javadoc and comments.
6562 (copyRaster): Add javadoc.
6563 (createCompatibleColorModel): Add javadocs and comments.
6564 (createCompatibleDestImage): Use correct transfer type.
6565 (createCompatibleDestRaster): Add new parameter for transfer type.
6566 (filter): Use correct transfer type.
6567 * java/awt/image/ConvolveOp.java: Updated javadocs.
6568 (createCompatibleDestImage): Set new image properties correctly.
6569 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6570 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6572 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6574 * javax/swing/table/DefaultTableModel.java:
6575 (checkSize): Added null check for dataVector.
6577 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6579 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6580 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6581 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6583 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6585 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6586 (paintIcon): Removed unused import statements, lowered cast requirement
6587 from JCheckBox to AbstractButton.
6589 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6591 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6592 (initComponentDefaults): Added, changed and removed some
6593 tabbed pane properties.
6595 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6597 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6598 (createContent): Changed menu item name and tab naming.
6600 2006-09-01 Roman Kennke <kennke@aicas.com>
6603 * javax/swing/plaf/basic/BasicHTML.java
6604 (HTMLRootView.getAttributes): Overridden to return null.
6605 (HTMLRootView.getElement): Overridden to return the view's
6608 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6610 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6611 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6612 of accessing variable directly.
6613 (calculateTabAreaWidth): Dito.
6615 2006-08-31 Keith Seitz <keiths@redhat.com>
6617 * include/jvmti.h: Include jvmti_md.h.
6619 2006-08-31 Keith Seitz <keiths@redhat.com>
6621 From Martin Platter <motse@complang.tuwien.ac.at>:
6622 * Makefile.am (include_HEADERS): Include jvmti.h.
6623 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6624 (jvmtiError): Remove superfluous comma after last entry.
6625 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6626 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6627 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6628 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6630 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6631 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6632 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6635 2006-08-31 Roman Kennke <kennke@aicas.com>
6637 * javax/swing/text/BoxView.java
6638 (getWidth): Return the width with insets added, not with one
6639 added and one removed.
6640 (getHeight): Return the height with insets added, not with one
6641 added and one removed.
6642 * javax/swing/text/GlyphView.java
6643 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6644 * javax/swing/text/ParagraphView.java
6645 (Row.getAlignment): Adjust alignment with respect to
6646 the justification attribute.
6647 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6649 * javax/swing/text/html/CSS.java
6650 (getValue): Convert length values.
6651 * javax/swing/text/html/Paragraph.java
6652 (painter): New field.
6653 (paint): Implemented to delegate painting to the BoxPainter too.
6654 (setPropertiesFromAttributes): Implemented to load attributes
6656 * javax/swing/text/html/StyleSheet.java
6657 (BoxPainter.as): Removed field.
6658 (BoxPainter.leftInset): New field.
6659 (BoxPainter.bottomInset): New field.
6660 (BoxPainter.rightInset): New field.
6661 (BoxPainter.topInset): New field.
6662 (BoxPainter.BoxPainter): Implemented to load the insets from
6664 (BoxPainter.getInset): Implemented.
6665 * gnu/javax/swing/text/html/Length.java: New class.
6666 Converts CSS length units to usable values.
6668 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6670 * configure.ac: Add check for gethostbyname_r.
6671 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6672 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6673 SOCKET_NOSIGNAL according to the configure check.
6674 (cpnet_send): Use SOCKET_NOSIGNAL.
6675 (cpnet_sendTo): Likewise.
6676 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6678 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6681 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6683 2006-08-31 Roman Kennke <kennke@aicas.com>
6685 * javax/swing/JEditorPane.java
6686 (getPreferredSize): Replace preferred size with minimum
6687 UI size only if the scrollable does _not_ track the viewport
6688 size and only if the viewport's size is smaller than the
6690 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6692 * javax/swing/plaf/basic/BasicTextUI.java
6693 (getPreferredSize): Read-lock the document to avoid
6694 concurrency problems.
6695 (getMaximumSize): Return maximum size of the view.
6696 Read-lock the document to avoid concurrency problems.
6697 (getMinimumSize): Return minimum size of the view.
6698 Read-lock the document to avoid concurrency problems.
6700 2006-08-31 Gary Benson <gbenson@redhat.com>
6702 * java/net/SocketPermission.java
6703 (maybeBracketIPv6Address): Renamed to processHostport.
6704 (processHostport): Also translate "" to "localhost".
6705 (setHostPort): Remove special cases for empty hostport and for
6706 extra colons in hostport (processHostport handles these now).
6708 2006-08-31 Mark Wielaard <mark@klomp.org>
6710 * javax/swing/text/ZoneView.java (Zone): Make static class.
6711 Constructor takes axis parameter.
6712 (createZone): Create Zone with getAxis() as major axis.
6714 2006-08-30 Roman Kennke <kennke@aicas.com>
6716 * javax/swing/text/ZoneView.java
6717 (loadChildren): Implemented.
6718 (getViewIndexAtPosition): Implemented.
6719 (checkZoneAt): New helper method.
6720 (splitZone): New helper method.
6721 (getPreferredZoneEnd): New helper method.
6723 2006-08-30 Roman Kennke <kennke@aicas.com>
6725 * javax/swing/text/ZoneView.java: New class.
6727 2006-08-30 Roman Kennke <kennke@aicas.com>
6729 * javax/swing/JMenu.java
6730 (getMenu): Removed unneeded cast.
6731 (getPopupMenuOrigin): Made positioning algorithm better respect
6733 (setMenuLocation): Also set the location on the popup if it's
6735 (setModel): Use menuChangeListener so that we don't override
6736 the changeListener field from AbstractButton.
6737 (setPopupMenuVisible): Use custom location if set, otherwise
6738 fallback to getPopupMenuOrigin().
6740 2006-08-29 Roman Kennke <kennke@aicas.com>
6742 * javax/swing/text/InternationalFormatter.java
6743 (stringToValue): Fixed bounds check.
6744 * javax/swing/text/MaskFormatter.java
6745 (MaskFormatter): Don't explicitly set allosInvalid property.
6746 (convertStringToValue): New helper method.
6747 (convertValueToString): New helper method.
6748 (convertValue): Removed. Replaced by the 2 convert* methods
6750 (getPadCharAt): Removed.
6751 (isCharValid): Removed.
6753 (stringToValue): Fixed stringToValue conversion.
6754 (stripLiterals): Removed.
6755 (valueToString): Fixed valueToString conversion.
6756 * javax/swing/text/DefaultFormatter.java
6757 (DefaultFormatter): Default to commitsOnValidEdit = false.
6759 2006-08-29 Roman Kennke <kennke@aicas.com>
6761 * javax/swing/text/TextAction.java
6762 (getTextComponent): Check event for null and return null in
6764 (augmentList): Augment Actions based on their names.
6765 * javax/swing/text/DefaultEditorKit.java
6766 (BeginAction.actionPerformed): Check target for null.
6767 (BeginLineAction.actionPerformed): Check target for null.
6768 (CopyAction.actionPerformed): Check target for null.
6769 (CutAction.actionPerformed): Check target for null.
6770 (EndAction.actionPerformed): Check target for null.
6771 (EndLineAction.actionPerformed): Check target for null.
6772 (InsertBreakAction.actionPerformed): Check target for null.
6773 (InsertTabAction.actionPerformed): Check target for null.
6774 (PasteAction.actionPerformed): Check target for null.
6775 (SelectAllAction.actionPerformed): Check target for null.
6776 (SelectionBeginAction.actionPerformed): Check target for null.
6777 (SelectionBeginLineAction.actionPerformed): Check target for null.
6778 (SelectionEndAction.actionPerformed): Check target for null.
6779 (SelectionEndLineAction.actionPerformed): Check target for null.
6780 (SelectLineAction.actionPerformed): Check target for null.
6781 (SelectWordAction.actionPerformed): Check target for null.
6783 2006-08-29 Roman Kennke <kennke@aicas.com>
6785 * javax/swing/plaf/basic/BasicTextUI.java
6786 (FocusHandler): New class. This is moved from the anonymous
6787 inner focus listener class to a static member class, and
6788 is now shared between components.
6789 (DocumentHandler): This class is combined with the PropertyHandler
6790 into the Handler class.
6791 (PropertyChangeHandler): This class is combined with the
6792 DocumentHandler into the Handler class.
6793 (Handler): New class. This combines the Property and Document
6794 handler into one class.
6795 (RootView.changedUpdate): Only forward if real view != null.
6796 (RootView.insertUpdate): Only forward if real view != null.
6797 (RootView.removeUpdate): Only forward if real view != null.
6798 (documentHandler): Removed field and replaced by handler.
6799 (focuslistener): Made field static and renamed to focusListener.
6800 (handler): New field.
6801 (kit): Lazily initialize field.
6802 (rootView): Lazily initialize field.
6803 (updateHandler): Removed and replaced by handler.
6804 (getEditorKit): Lazily instantiate field.
6805 (installDefaults): Don't set margin twice. Install correct
6806 property for disabledTextColor. Moved caret and highlighter
6807 initialization to installFixedDefaults.
6808 (installFixedDefaults): New method. Installs defaults that
6809 can't be overridden by subclasses.
6810 (installListeners): Only install focus handler when new
6811 system property gnu.swing.text.no-xlike-clipboard is not set.
6812 Lazily initialize focus handler.
6813 (installUI): Lazily initialize rootView. Install handler
6814 both for property and document changes.
6815 (uninstallDefaults): Uninstall the UI defaults.
6816 (uninstallFixedDefaults): New method. Uninstalls the fixed
6818 (installListeners): Only uninstall focus handler when not null.
6819 (uninstallUI): Uninstall property and document listener here.
6821 2006-08-29 Gary Benson <gbenson@redhat.com>
6823 * java/net/SocketPermission.java
6824 (maybeBracketIPv6Address): New method.
6825 (<init>): Pass the hostport argument through the above.
6827 * java/net/NetworkInterface.java (getInetAddresses):
6828 Don't bracket IPv6 addresses.
6830 2006-08-28 Roman Kennke <kennke@aicas.com>
6832 * javax/swing/text/BoxView.java
6833 (calculateMinorAxisRequirements): Initialize max size
6834 with Integer.MAX_VALUE.
6835 * javax/swing/text/Utilities.java
6836 (getBreakLocation): For simple chars, scan the text directly.
6837 * javax/swing/text/WrappedPlainView.java
6838 (tabBase): New field.
6839 (tabSize): New field.
6840 (calculateBreakPosition): Use Utilities. Fixed for correct
6842 (changedUpdate): Update children directly.
6843 (insertUpdate): Update children directly. Notify children.
6844 (removeUpdate): Update children directly. Notify children.
6845 (updateChildren): New helper method.
6846 (nextTabStop): Fixed to return correct results.
6847 (paint): Update tabBase.
6848 (updateMetrics): Update tab size.
6850 2006-08-28 Roman Kennke <kennke@aicas.com>
6852 * javax/swing/text/Position.java
6853 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6854 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6856 2006-08-28 Roman Kennke <kennke@aicas.com>
6858 * javax/swing/text/View.java
6859 (height): Removed unneeded field.
6860 (width): Removed unneeded field.
6861 (getBreakWeight): Return GoodBreakWeight when pos is after
6863 (getToolTipText): Check view index more carefully. Avoid
6865 (insertUpdate): Only execute method body if view count > 0.
6866 When updateChildren returns false, clear the ec variable.
6867 (updateChildren): Added null checks.
6868 (viewToModel): Initialize bias array correctly.
6869 * javax/swing/text/CompositeView.java
6870 (children): Made private.
6871 (numChildren): New field.
6872 (loadChildren): Check factory for null. Don't load children
6873 when factory is null.
6874 (replace): Removed null check. Nullify removed children. Made
6875 growing the array more efficient.
6876 (getViewCount): Return numChildren rather then the real array
6878 * javax/swing/text/BoxView.java
6879 (getViewAtPoint): Fixed algorithm for finding the view.
6880 (replace): Made array growing more efficient.
6881 (replaceLayoutArray): New helper method for growing/patching
6883 (viewToModel): Make sure we have a valid layout.
6885 2006-08-28 Tania Bento <tbento@redhat.com>
6887 * java/awt/MenuShortcut.java
6888 (MenuShortcut (int, boolean)): Set keyName.
6889 (toString): Modified string output.
6890 (setKeyName): New private method.
6892 2006-08-28 Roman Kennke <kennke@aicas.com>
6894 * javax/swing/text/GapContent.java
6895 (Mark.getOffset): Made assert less strict, include boundary.
6896 (search): Made package private to avoid accessor method.
6898 2006-08-28 Roman Kennke <kennke@aicas.com>
6900 * javax/swing/text/StringContent.java
6901 (InsertUndo.positions): New field.
6902 (InsertUndo.redo): Update the undo positions.
6903 (InsertUndo.undo): Fetch the undo positions.
6904 (Mark): New class. Layer of indirection to allow Positions
6905 to be GC'ed while we still hold references to the Mark.
6906 (RemoveUndo.len): New field.
6907 (RemoveUndo.positions): New field.
6908 (RemoveUndo.RemoveUndo): Fetch undo positions.
6909 (RemoveUndo.redo): Re-fetch positions and string.
6910 (RemoveUndo.undo): Update undo positions.
6911 (StickyPosition.mark): New field.
6912 (StickyPosition.offset): Removed field.
6913 (StickyPosition.StickyPosition): Create new Mark. Register
6914 Position in queueOfDeath. Update reference count on mark.
6915 (StickyPosition.getOffset): Return offset stored in mark.
6916 (StickyPosition.setOffset): Removed unneeded method.
6917 (UndoPosRef): New class. Handles undo/redo on positions/marks.
6919 (marks): New field. Stores the marks.
6920 (positions): Removed field.
6921 (queueOfDeath): New field. Used for GCing the positions.
6922 (StringContent): Initialize queueOfDeath.
6923 (createPosition): Lazily create marks vector.
6924 (garbageCollect): New helper method. Collects positions
6925 to be GCed and updates their marks.
6926 (getChars): Fixed bounds check.
6927 (getPositionsInRange): When v == null, create new Vector,
6928 otherwise use v. Store UndoPosRefs in vector.
6929 (getString): Added comment about bug in RI.
6930 (insertString): Use new helper method for replacing the array.
6931 Correctly update positions.
6932 (length): Removed this qualifier.
6933 (remove): Use new helper method for replacing the array.
6934 Correctly update positions.
6935 (replace): New helper method for growing or patching the array.
6936 (updateUndoPositions): Implemented. Updates the positions
6937 for undo/redo operations.
6939 2006-08-27 Roman Kennke <kennke@aicas.com>
6941 * javax/swing/text/StyleContext.java
6942 (NamedStyle.attributes): Made field transient.
6943 (NamedStyle.changeEvent): Made field transient.
6944 (NamedStyle.name): Removed field. The name is stored as
6946 (NamedStyle.NamedStyle(String,Style)): Call setName() for
6947 storing the name and check for null name and resolveParent.
6948 Don't initialize changeEvent.
6949 (NamedStyle.copyAttributes): Return a new NamedStyle,
6950 rather than a plain copy of the attributes field.
6951 (NamedStyle.fireStateChange): Lazily create changeEvent
6953 (NamedStyle.getName): Fetch name from attributes.
6954 (NamedStyle.setName): Store name from attributes.
6955 (NamedStyle.readObject): Implemented for correct
6957 (NamedStyle.writeObject): Implemented for correct
6959 (NamedStyle.setResolveParent): When new parent is null,
6960 remove resolveParent attribute. Use addAttribute() method
6961 rather than StyleContext addAttribute().
6962 (NamedStyle.toString): Fixed to produce output equal to the
6964 (SmallAttributeSet.resolveParent): New field.
6965 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6966 the resolveParent field correctly.
6967 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6968 array but store it directly. Update
6969 the resolveParent field correctly.
6970 (SmallAttributeSet.clone): Return this as the object is
6972 (SmallAttributeSet.containsAttributes): Make sure that keys
6973 and values are the same.
6974 (SmallAttributeSet.containsAttribute): Make sure that keys
6975 and values are the same.
6976 (SmallAttributeSet.copyAttributes): Return this as the object is
6978 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6979 are equal if they have the same number of attributes and
6980 one contains the other.
6981 (SmallAttributeSet.getAttribute): Improved lookup of
6983 (SmallAttributeSet.getResolveParent): Improved lookup of
6985 (SmallAttributeSet.isEqual): When comparing object is a
6986 SmallAttributeSet, consider them equal only if they are the
6988 (SmallAttributeSet.toString): Fixed to produce output equal to the
6990 (attributeSetPool): New field.
6991 (defaultStyleContext): Initialize lazily.
6992 (defaultStyle): Removed field. This is stored in the style context
6994 (listenerList): Removed field. The NamedStyle stores the
6996 (readAttributeKeys): New static field. Used for looking up
6997 the serialization mappings when reading.
6998 (search): New field. Used as search key.
6999 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7000 (styles): New field. Stores the styles and listeners.
7001 (styleTable): Removed field. Replaced by styles field.
7002 (writeAttributeKeys): New static field. Used for looking up
7003 the serialization mappings when writing.
7004 (static_initializer): Register mappings for all keys in
7006 (StyleContext): Initialize styles correctly.
7007 (addAttributes): Fixed caching of immutable attributes.
7008 (addAttribute): Fixed caching of immutable attributes.
7009 (removeAttributes): Fixed caching of immutable attributes.
7010 (removeAttribute): Fixed caching of immutable attributes.
7011 (addChangeListener): Add listener to styles field.
7012 (removeChangeListener): Remove listener from styles field.
7013 (getChangeListeners): Fetch listeners from styles field.
7014 (addStyle): Add style to styles field.
7015 (cleanupPool): New method.
7016 (getDefaultStyleContext): Lazily create context.
7017 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7018 (getMutableAttributeSet): New helper method. Used for
7020 (getStaticAttribute): Fetch key from readAttributeKeys.
7021 (getStyleNames): Return names from styles field.
7022 (getStyle): Lookup style in styles field.
7023 (removeStyle): Remove style from styles field.
7024 (readAttributeSet): Fixed deserialization.
7025 (writeAttributeSet): Fixed serialization.
7026 (readObject): Fixed deserialization.
7027 (writeObject): Fixed serialization.
7028 (reclaim): Simply cleanup the pool.
7029 (registerStaticAttributeKey): Store mapping in both ways.
7030 (searchImmutableSet): New helper method for caching.
7031 (toString): Fixed for output like the RI.
7032 * javax/swing/text/StyleConstants.java
7033 (keys): New field. Stores all known keys.
7034 (StyleConstants): Store created key in keys list.
7035 * javax/swing/event/EventListenerList.java
7036 (readObject): Fixed deserialization.
7037 (writeObject): Fixed serialization.
7039 2006-08-25 Roman Kennke <kennke@aicas.com>
7041 * javax/swing/text/CompositeView.java
7042 (insets): Removed. Replaced by single short fields.
7043 (top): New field. Replaces insets.
7044 (bottom): New field. Replaces insets.
7045 (left): New field. Replaces insets.
7046 (right): New field. Replaces insets.
7047 (CompositeView): Initialize insets fields.
7048 (createDefaultLocation): Removed unneeded method.
7049 (getBottomInset): Return field directly.
7050 (getTopInset): Return field directly.
7051 (getLeftInset): Return field directly.
7052 (getRightInset): Return field directly.
7053 (getInsideAllocation): Adjusted to work on new insets fields.
7054 (getViewIndex): Fixed check.
7055 (loadChildren): Don't replace the old children.
7056 (replace): Make sure that there is an array to operate on.
7057 Only set parent to null, when it is this View.
7058 (setInsets): Adjusted to work with new insets fields.
7059 (setParagraphInsets): Fixed to pull insets directly from
7062 2006-08-25 Roman Kennke <kennke@aicas.com>
7064 * javax/swing/text/ComponentView.java
7065 (Interceptor): New inner helper class. Used to propagate
7066 invalidate requests and cache component layout sizes.
7067 (interceptor): New field.
7068 (getAlignment): Fetch alignment from interceptor container.
7069 (getComponent): Don't create component here. This is done
7071 (getMaximumSpan): Fetch layout info from interceptor. Check
7073 (getMinimumSpan): Fetch layout info from interceptor. Check
7075 (getPreferredSpan): Fetch layout info from interceptor. Check
7077 (modelToView): Fixed model to view mapping.
7078 (viewToModel): Fixed view to model mapping.
7079 (paint): Check for null. Set bounds on interceptor rather
7081 (setParentImpl): Install interceptor between component
7082 and hosting container.
7083 (setParent): Call super.setParent() immediately.
7085 2006-08-25 Roman Kennke <kennke@aicas.com>
7087 * javax/swing/text/LabelView.java
7088 (setPropertiesFromAttributes): Only set background when
7089 the corresponding attribute is actually defined, otherwise
7090 set to null, as the StyleConstants would return black.
7091 * javax/swing/text/DefaultStyledDocument.java
7092 (ElementBuffer.documentEvent): Removed obsolete field.
7093 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7094 to correctly update the element structure.
7095 (ElementBuffer.insertContentTag): Removed unused statement.
7096 (ElementBuffer.recreateAfterFracture): Removed
7097 unused obsolete method.
7098 (setCharacterAttributes): Removed unused statement.
7100 2006-08-25 Roman Kennke <kennke@aicas.com>
7102 * examples/gnu/classpath/examples/swing/Demo.java
7103 (LaterMain.run): Removed unused local variable.
7104 (Demo): Don't put desktop in scrollpane.
7105 (addChildren): Removed unused method.
7106 (mkButtonBar): Added HTML demo.
7107 (mkMenuBar): Added HTML demo.
7108 (mkPanel): Removed unused method.
7109 (mkScrollPane): Removed unused method.
7110 (mkTree): Removed unused method.
7111 (valign2str): Removed unused method.
7112 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7113 Initialize text field with some HTML that already works.
7114 (DEBUG): New field. Set to true for debugging output.
7115 (createContent): Dump element tree after parsing.
7117 2006-08-25 Roman Kennke <kennke@aicas.com>
7119 * javax/swing/text/html/CSS.java
7120 (getValue): Added color value conversion.
7121 * javax/swing/text/html/HTMLDocument.java
7122 (HTMLReader.ConvertAction): New class, converts HTML style tags
7124 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7125 * javax/swing/text/html/InlineView.java
7126 (setPropertiesFromAttributes): Implemented to fetch
7127 CSS character attributes.
7128 * javax/swing/text/html/StyleSheet.java
7129 (addCSSAttribute): Convert value.
7130 (getBackground): Implemented to fetch CSS background color
7132 (getForeground): Implemented to fetch CSS color
7134 (getFont): Adjust font size for superscript and subscript.
7135 (translateHTMLToCSS): Rudimentary implementation that
7136 copies the original attributes, so that any CSS attributes in
7137 there are preserved.
7138 (stringToColor): Use CSSColor for conversion.
7139 * gnu/javax/swing/text/html/css/CSSColor.java:
7140 New class. Converts CSS color values to RGB color values.
7141 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7142 Removed. This is more or less replaced by CSSColor and the
7143 ConvertAction in HTMLReader.
7145 2006-08-25 Roman Kennke <kennke@aicas.com>
7147 * javax/swing/text/BoxView.java
7148 (childReqs): Removed obsolete field.
7149 (baselineLayout): Reimplemented for correct baseline layout.
7150 (baselineRequirements): Reimplemented for correct baseline
7152 (updateChildRequirements): Removed obsolete method.
7153 * javax/swing/text/GlyphView.java
7154 (DefaultGlyphPainter.getSpan): Removed unused statement.
7155 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7156 specially. The subscript/superscript layout is performed
7157 via the alignment, the font is supplied by the StyleContext.
7158 (breakView): Removed unused statements.
7159 (getAlignment): Adjust alignment according to the
7160 superscript/subscript setting.
7161 (getFont): Reimplemented to fetch the font from the style
7162 context, or from the document if the stylecontext is not
7164 (getPreferredSpan): Adjust span for superscript. Use switch
7166 * javax/swing/text/LabelView.java
7167 (setPropertiesFromAttributes): Fetch background and foreground
7168 from document / style context.
7169 (isSubscript): Resync properties if needed.
7170 * javax/swing/text/ParagraphView.java
7171 (Row.calculateMinorAxisRequirements): Overridden to perform
7173 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7175 2006-08-24 Roman Kennke <kennke@aicas.com>
7177 * javax/swing/text/Utilities.java
7178 (BUF_LENGTH): Removed unused field.
7179 (drawTabbedText): Removed unneeded cast.
7180 (getBreakLocation): Removed unneeded cast.
7181 Fixed offset to account for Segments not starting at 0.
7183 2006-08-24 Roman Kennke <kennke@aicas.com>
7185 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7186 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7187 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7188 (ScrollingPane.updateUI): Likewise.
7189 (calculateTabWidth): Rewritten to correctly and efficiently
7190 layout the tab width.
7191 (layoutLabel): Call SwingUtilities method with the tabPane
7193 (paintContentBorderLeftEdge): Removed unused statement.
7194 (paintContentBorderRightEdge): Removed unused statement.
7195 (paintContentBorder): Removed unused statement.
7197 2006-08-24 Roman Kennke <kennke@aicas.com>
7199 * javax/swing/plaf/basic/BasicTextUI.java
7200 (RootView.getAttributes): Overridden to return null,
7201 as the RootView has no parent.
7203 2006-08-24 Roman Kennke <kennke@aicas.com>
7205 * javax/swing/text/html/CSSParser.java: Removed.
7206 * javax/swing/text/html/CSS.java
7207 (getValue): New helper method. Returns special converter
7208 instances for certain kinds of property values.
7209 * javax/swing/text/html/HTMLDocument.java
7210 (HTMLReader.CharacterAction.start): Don't translate tags
7211 here. Instead, store the attributes directly with the tag
7213 (content): Removed field. The Content object is handled
7214 by AbstractDocument.
7215 (styleSheet): Removed field. The styleSheet is the styleContext
7216 of this document and handled by the DefaultStyledDocument already.
7217 (HTMLDocument(Content,StyleSheet): Simply call super here.
7218 The super classes already handle the content and styleContext.
7219 (HTMLDocument()): Call this() with a default GapContent and
7221 (getStyleSheet): Return the styleContext here.
7222 (insertUpdate): New method. Overridden to add the
7223 CONTENT dummy tag to the element's attributes.
7224 (setBase): Set the base on the styleContext.
7225 * javax/swing/text/html/HTMLEditorKit.java
7226 (styleContext): Removed unneeded field.
7227 (styleSheet): Made field private.
7228 (HTMLEditorKit): Do nothing here. The StyleSheet is
7229 created lazily in getStyleSheet(). A styleContext is not
7231 (getStyleSheet): Create StyleSheet correctly.
7232 (insertHTML): Removed unneeded cast.
7233 * javax/swing/text/html/InlineView.java
7234 (attributes): New field.
7235 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7236 (getAttributes): Implemented to fetch the attributes from
7238 * javax/swing/text/html/MultiAttributeSet.java: New class.
7239 Multiplexes between several AttributeSets.
7240 * javax/swing/text/html/MultiStyle.java: New class.
7241 Multiplexes between several Styles.
7242 * javax/swing/text/html/ParagraphView.java
7243 (attributes): New field.
7244 (getAttributes): Implemented to fetch the attributes from
7246 * javax/swing/text/html/StyleSheet.java
7247 (CssParser): Removed inner class.
7248 (CSSStyle): New inner class. Represents a style defined
7250 (CSSStyleSheetParserCallback): New class, for parsing
7252 (css): New field. Stores the CSS rules.
7253 (resolvedStyles): New field. Stores resolved styles.
7254 (StyleSheet): Initialize resolvedStyles map.
7255 (addRule): Removed bogus impl.
7256 (getFont): Implemented to fetch font, based on CSS rules.
7257 (getResolvedStyle): New helper method. Looks up resolved
7258 styles, and resolves a style if necessary.
7259 (resolveStyle): New pair of helper methods. Resolves
7261 (getRule(String)): Provide rudimentary implementation.
7262 (getRule(Tag,Element)): Implemented.
7263 (getViewAttributes): Implemented.
7264 (loadRules): Implemented.
7265 (translateHTMLToCSS): Tagged as not implemented.
7266 * javax/swing/text/html/ViewAttributeSet.java: New class.
7268 2006-08-24 Roman Kennke <kennke@aicas.com>
7270 * javax/swing/text/FlowView.java:
7271 (LogicalView.getAttributes): New method. Overrides super
7272 impl to return the attributes of the FlowView instance.
7273 * javax/swing/text/LabelView.java:
7274 (setPropertiesFromAttributes): Fetch attributes from
7275 View, rather then from the Element. (In the HTML
7276 package the getAttributes() method is overridden to
7277 return different attributes). Fetch font from the StyledDocument.
7279 2006-08-24 Roman Kennke <kennke@aicas.com>
7281 * javax/swing/text/DefaultEditorKit.java:
7282 (DefaultKeyTypedAction.actionPerform): Also filter
7283 ALT and CTRL modifiers.
7285 2006-08-24 Roman Kennke <kennke@aicas.com>
7287 * gnu/javax/swing/text/html/css/FontSize.java,
7288 * gnu/javax/swing/text/html/css/FontStyle.java,
7289 * gnu/javax/swing/text/html/css/FontWeight.java:
7290 New classes. Used to convert CSS font attributes to AWT/Swing
7293 2006-08-24 Francis Kung <fkung@redhat.com>
7294 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7295 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7296 (srccs, dstcs, rasterValid): Variables removed.
7297 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7298 (copyRaster): Check for null rendering hints
7299 (createCompatibleColorModel): New private method.
7300 (createCompatibleDestImage): Re-implemented.
7301 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7302 (createCompatibleDestRaster(Raster)): Re-implemented.
7303 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7304 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7305 (getPoint2D): Clean up formatting.
7306 * java/awt/image/ComponentColorModel.java
7307 (constructor): use findBits method instead of passing null.
7308 (findBits): New method.
7310 2006-08-24 Gary Benson <gbenson@redhat.com>
7312 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7315 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7317 * java/lang/ref/Reference.java
7318 (queue, nextOnQueue): Made volatile.
7319 (enqueue): Made thread safe.
7320 * java/lang/ref/ReferenceQueue.java
7322 (poll): Removed synchronized.
7323 (enqueue): Changed to synchronize on lock object, to update Reference
7324 state and return success status.
7325 (dequeue, remove): Synchronize on lock object.
7327 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7329 * java/security/SecureClassLoader.java
7330 (protectionDomainCache): Changed to HashMap.
7331 (SecureClassLoader): Removed redundant security check.
7332 (defineClass(String,byte[],int,int,CodeSource): Moved
7333 protection domain lookup/construction to new method.
7334 (defineClass(String,ByteBuffer,CodeSource): New method.
7335 (getProtectionDomain): New method.
7337 2006-08-23 Roman Kennke <kennke@aicas.com>
7339 * javax/swing/JComponent.java
7340 (isRepainting): Made package private.
7341 (paintChild): New field.
7342 (findOpaqueParent): Removed method. This is now in
7344 (findOverlapFreeParent): Removed method. This is now
7345 in paintImmediately2().
7346 (findPaintRoot): Removed method. This is now
7347 in paintImmediately2().
7348 (isCompletelyObscured): Changed to take rectangle as single
7350 (isPaintingDoubleBuffered): Removed method. This is now
7351 in paintImmediately2().
7352 (isPartiallyObscured): New helper method.
7353 (onTop): New helper method for optimization.
7354 (paintChildren): Paint only to specific child when
7355 requested like this from paintImmediately2().
7356 (paintDoubleBuffered): Changed to take rectangle as single int
7358 (paintImmediately2): Changed to take rectangle as single int
7359 arguments. Optimized determination of paint root.
7360 (paintImmediately(Rectangle)): Change to delegate to
7361 paintImmediately(int,int,int,int).
7362 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7363 and start painting there.
7364 (paint): Call paintDoubleBuffered() with int arguments. Only
7365 paint component, when not completely occupied by opaque child.
7366 (processKeyBinding): Removed unnecessary cast.
7367 (isOccupiedByChild): New helper method.
7368 * javax/swing/RepaintManager.java
7369 (repaintUnderway): Removed obsolete field.
7370 (commitRequests): Removed obsolete field.
7371 (RepaintManager): Removed initialization of obsolete fields.
7372 (addDirtyRegion): Removed unused statement.
7373 (commitBuffer): Changed to take plain ints as argument.
7374 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7375 Compute offsets in place, rather than using SwingUtilities.
7376 (paintDirtyRegions): Removed unused field.
7377 * javax/swing/JMenuItem.java
7378 (onTop): Return true when not descendant of JInternalFrame.
7379 * javax/swing/JPopupMenu.java
7380 (onTop): Return true.
7381 * javax/swing/JToolTip.java
7382 (onTop): Return true.
7383 * javax/swing/JViewport.java
7384 (paintImmediately2): Change signature to match the
7385 corresponding JComponent method.
7387 2006-08-23 Tania Bento <tbento@redhat.com>
7389 * java/awt/Color.java
7390 (brighter): Modified algorithm to correctly determine the
7391 new brighter colour.
7393 2006-08-23 Roman Kennke <kennke@aicas.com>
7395 * java/awt/Container.java
7396 (maxSize): Removed field. This is already declared in Component.
7397 (validateTree): Check for ContainerPeer. Don't addNotify here.
7398 Only validate Component instances if they are invalid.
7400 2006-08-22 Roman Kennke <kennke@aicas.com>
7402 * javax/swing/JComponent.java
7403 (preferredSize): Removed field.
7404 (maximumSize): Removed field.
7405 (minimumSize): Removed field.
7406 (getMaximumSize): Adjusted to delegate to Component, rather
7407 then managing the size in JComponent.
7408 (getMinimumSize): Adjusted to delegate to Component, rather
7409 then managing the size in JComponent.
7410 (getPreferredSize): Adjusted to delegate to Component, rather
7411 then managing the size in JComponent.
7412 (isMaximumSizeSet): Removed.
7413 (isMinimumSizeSet): Removed.
7414 (isPreferredSizeSet): Removed.
7415 (setMaximumSize): Removed.
7416 (setMinimumSize): Removed
7417 (setPreferredSize): Removed.
7419 2006-08-22 Roman Kennke <kennke@aicas.com>
7421 * javax/swing/AbstractButton.java
7422 (ButtonChangeListener.stateChanged): Delegate to combined
7424 (EventHandler): New inner class. Handles all three types
7425 of events on the model.
7426 (eventHandler): New field. Stores the combined event
7428 (AbstractButton): Moved listener initialization to
7430 (createActionListener): Return combined handler.
7431 (createChangeListener): Return combined handler.
7432 (createItemListener): Return combined handler.
7433 (getEventHandler): New helper method for creating the combined
7435 (setModel): Initialize listeners here.
7436 * javax/swing/plaf/basic/BasicButtonListener.java
7437 (ButtonAction): New class. Implements the keyboard action
7439 (checkOpacity): Implemented.
7440 (createDefaultActionMap): New helper method.
7441 (installKeyboardActions): Rewritten to install InputMap
7442 and ActionMap according to 'new' keyboard input method.
7443 (mouseClicked): Commented as no-op.
7444 (mouseDragged): Commented as no-op.
7445 (mouseMoved): Commented as no-op.
7446 (propertyChange): Check for contentAreaFilled change and
7447 update opacity. Pull handling of HTLM in font and text handler.
7448 (stateChanged): Repaint button.
7449 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7450 * javax/swing/plaf/basic/BasicButtonUI.java
7451 (listener): Removed.
7452 (sharedListener): New static field. Stores the shared listener.
7453 (sharedUI): New static field. Stores the shared UI.
7454 (createButtonListener): Return shared instance here.
7455 (createUI): Return shared instance here.
7456 (getButtonListener): New helper method. Looks for the
7457 BasicButtonListener installed on a button and returns it.
7458 (installDefaults): Correctly install rollover property here.
7459 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7460 (installKeyboardActions): Fetch listener with new helper method.
7461 (installListeners): Don't use removed field. Check for null.
7462 (installUI): Added comment about order of method invocations.
7463 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7464 (uninstallKeyboardActions): Fetch listener with new helper method.
7465 (uninstallListeners): Fetch listener with new helper method.
7466 (paintIcon): Paint icon offset when pressed and armed.
7467 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7468 * javax/swing/plaf/metal/MetalButtonUI.java
7469 (sharedUI): New field. Stores the shared UI.
7470 (MetalButtonUI): Don't initialize fields here.
7471 (createButtonListener): Removed method. Use super impl.
7472 (createUI): Return shared instance.
7473 (getDisabledTextColor): Update field here.
7474 (getFocusColor): Update field here.
7475 (getSelectColor): Update field here.
7476 (installDefaults): Don't handle rollover property here.
7477 (uninstallDefaults): Don't handle rollover property here.
7478 (paintButtonPressed): Use accessor method to update the
7481 2006-08-21 Mark Wielaard <mark@klomp.org>
7483 Merge NATIVE_LAYER branch.
7485 2006-08-20 Mark Wielaard <mark@klomp.org>
7487 * doc/tools.texinfo: Add file from trunk.
7488 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7489 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7491 * native/jni/java-lang/java_lang_VMProcess.c
7492 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7493 * native/jni/java-net/java_net_VMInetAddress.c
7494 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7495 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7497 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7499 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7501 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7503 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7505 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7507 * include/java_lang_VMProcess.h: Regenerated.
7509 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7511 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7512 (nativeReceive): Fixed the type of the arrays (use java types).
7513 (nativeSendTo): Force throwing an exception if port is 0.
7515 * native/jni/java-net/javanet.c:
7516 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7518 (_javanet_recvfrom): Likewise.
7519 (_javanet_sendto): Throw a NullPointerException if the socket is
7520 not connected and no address is given.
7522 * native/jni/java-net/javanet.h
7523 (NULL_EXCEPTION): Defined.
7525 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7527 * native/jni/java-net/java_net_VMInetAddress.c
7528 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7531 * native/jni/java-net/javanet.c
7532 (_javanet_accept): Fixed bogus call to TARGET.
7533 (_javanet_create_inetaddress): Fixed address generation. Fixed
7535 (_javanet_bind): set "Reuse address" flag.
7537 * native/jni/native-lib/cpio.c
7538 (cpio_getModificationTime): Fixed type.
7539 (cpio_removeFile): Use rmdir too.
7541 * native/jni/native-lib/cpnet.c
7542 (cpnet_getHostByName): Fixed error detection.
7544 * native/jni/native-lib/cpnet.h
7545 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7547 (cpnet_IPV4AddressToBytes): Fixed types.
7549 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7551 * native/jni/native-lib/cpio.c
7552 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7554 * native/jni/native-lib/cpnet.h:
7555 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7556 messed by signs in jbyte.
7558 * native/jni/native-lib/cpproc.h
7559 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7561 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7563 * native/jni/native-lib/cpnet.c
7564 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7565 (waitForWritable, waitForReadable): New functions.
7566 (socketTimeouts): New static global table to hold timeouts for all
7568 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7569 Added waitForXXXX safeguards to handle socket timeouts.
7571 * native/jni/java-net/javanet.c
7572 (_javanet_accept): Check for the right error value when a timeout
7575 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7577 * native/jni/java-io/Makefile.am,
7578 native/jni/java-lang/Makefile.am,
7579 native/jni/java-net/Makefile.am,
7580 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7582 * native/jni/native-lib/Makefile.am: Added cpproc.c
7584 * native/jni/native-lib/cpio.c: Implemented missing functions for
7587 * native/jni/native-lib/cpnet.c
7588 (cpnet_getHostByName): Fixed address array initialization.
7590 * native/jni/native-lib/cpproc.c: Implemented.
7592 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7594 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7596 * m4/gcc_attribute.m4: New file from ac_archive.
7598 * native/jni/java-net/javanet.c: Adapted to cpnet API
7601 * native/jni/native-lib/cpnet.c: Implemented.
7603 * native/jni/native-lib/cpnet.h
7604 (cpnet_openSocketDatagram,
7605 cpnet_openSocketStream): These calls need an address family now.
7606 (cpnet_IPV4AddressToBytes,
7607 cpnet_bytesToIPV4Address): Convert the address to network order.
7609 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7611 * native/jni/java-io/java_io_VMFile.c,
7612 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7613 native/jni/midi-dssi/dssi_data.h,
7614 native/jni/native-lib/cpio.c,
7615 native/jni/native-lib/cpmath.h: Removed cpmath
7616 dependency. Fixed coding style.
7618 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7620 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7621 dependency. Simplified the JNI code by moving some part into the
7624 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7626 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7628 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7629 errors. Removed any remaining TARGET invocations.
7631 * native/jni/java-net/javanet.c
7632 (_javanet_create_inetaddress): Removed spurious arr and
7633 octets. Fixed compilation errors.
7635 * native/jni/native-lib/cpnet.h
7636 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7637 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7638 cpnet_isIPV4Address): New functions.
7639 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7642 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7644 * native/jni/java-io/java_io_VMFile.c,
7645 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7646 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7647 native/jni/java-net/javanet.c,
7648 native/jni/java-net/javanet.h: Adapted the VM layer code
7649 to the new native layer.
7651 * native/jni/native-lib/cpnet.h
7652 (cpnet_addMembership,
7653 cpnet_dropMembership,
7654 cpnet_getAvailableBytes): Added the declarations of
7656 (cpnet_newIPV6Address,
7657 cpnet_IPV6AddressToBytes,
7658 cpnet_bytesToIPV6Address): Implemented.
7659 (cpnet_newIPV4Address): Initialize the sin_family field.
7661 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7663 * native/target: Removed.
7665 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7666 Makefile generation.
7668 * native/jni/native-lib/Makefile.am,
7669 native/jni/native-lib/cpnet.h,
7670 native/jni/native-lib/cpnet.c
7671 native/jni/native-lib/cpio.h,
7672 native/jni/native-lib/cpio.c,
7673 native/jni/native-lib/cpmath.h: Imported new native compatibility
7676 2006-08-21 Roman Kennke <kennke@aicas.com>
7678 * gnu/javax/swing/text/html/css/CSSParser.java:
7680 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7682 * gnu/javax/swing/text/html/css/CSSParserException.java:
7684 * gnu/javax/swing/text/html/css/CSSScanner.java:
7685 Adjusted API comments. Made all constants package private.
7686 (EOF): New constant field.
7687 (parseBuffer): Made package private.
7688 (tokenEnd): Made package private.
7689 (CSSScanner): Initialize lookahead buffer with -1.
7690 (main): Print out to System.out rather then System.err.
7691 (nextToken): Push back character after IDENT.
7693 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7695 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7697 2006-08-21 Roman Kennke <kennke@aicas.com>
7699 * gnu/javax/swing/text/html/css/CSSScanner.java
7700 (main): Use buffered input stream.
7701 (nextToken): Removed 65536 workaround. Use int value directly
7702 without cast to char.
7703 (readComment): Use int value directly without cast to char.
7704 Cast to char only when putting the character into the buffer.
7705 (readEscape): Likewise.
7706 (readIdent): Likewise.
7707 (readName): Likewise.
7708 (readNum): Likewise.
7709 (readString): Likewise.
7710 (readWhitespace): Likewise.
7712 2006-08-21 Ingo Proetel <proetel@aicas.com>
7714 * java/io/InputStreamReader.java
7715 (bytesCache): New field.
7716 (cacheLock): New field.
7717 (read(byte[],int,int): Avoid allocations of new byte
7718 array on every call and reuse cached byte array if possible.
7720 2006-08-21 Roman Kennke <kennke@aicas.com>
7722 * gnu/java/net/local/LocalSocketImpl.java
7723 Only load native lib if this is supported by runtime.
7724 * native/jni/java-net/local.c
7725 Include config.h unconditionally.
7726 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7727 Include config.h unconditionally.
7729 2006-08-21 Friedjof Siebert <siebert@aicas.com>
7731 * java/io/ObjectInputStream.java
7732 (objectLookupTable): Changed to be a Vector.
7733 (ObjectInputStream): Initialize objectLookupTable as Vector.
7734 (assignNewHandle): Store Object using handle index rather than
7735 Hashtable, using the new rememberHandle() method.
7736 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7737 with a caching in ObjectStreamClass.
7738 (inputGetObjectStreamClass): Replaced by hierarchy().
7739 (lookupHandle): New method. Looks up an object by it's handle
7741 (parseContent): Avoid creating of Integer objects. Use
7742 hierarchy() method for looking up the class hierarchy.
7743 (processResolution): Use rememberHandle() to store
7744 handle per index, rather than Hashtabling the object.
7746 (rememberHandle): New method.
7747 * java/io/ObjectOutputStream.java
7748 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7749 Hashtable for improved lookup performance.
7750 (ObjectOutputStream): Initialize OIDLookupTable as
7751 ObjectIdentityMap2Int.
7752 (assignNewHandle): Change to use ObjectIdentityMap2Int.
7753 (findHandle): Change to use ObjectIdentityMap2Int.
7754 (getBooleanField): Removed.
7755 (getByteField): Removed.
7756 (getCharField): Removed.
7757 (getDoubleField): Removed.
7758 (getField): Removed.
7759 (getFloatField): Removed.
7760 (getIntField): Removed.
7761 (getLongField): Removed.
7762 (getObjectField): Removed.
7763 (writeFields(Object,ObjectStreamClass)): Use new helper method.
7764 (writeFields(Object,ObjectStreamField)): New helper method.
7765 Use switch rather then if-else cascade.
7766 (writeObject): Use int handle, rather then Integer.
7767 * java/io/ObjectStreamClass.java
7768 (hierarchy): New field. Caches the class hierarchy.
7769 (methodCache): New field. Caches methods.
7770 (readObjectSignature): New field. Stores the read signature.
7771 (uidCache): New field. Caches UIDs.
7772 (writeObjectSignature): New field. Stores the write signature.
7773 (cacheMethods): Cache methods in methodCache.
7774 (calculateClassID): Outsourced from getClassUID()
7775 for computing the UIDs.
7776 (getClassUIDFromField): Outsourced from getClassUID() for
7777 fetching the UID from the class field.
7778 (getClassUID): Use cached uid if possible. Use new helper
7779 methods for fetching the UID from the field or computing
7781 (getObjectStreamClasses): Removed. Replaced by more
7782 efficient hierarchy() method, that also caches the result.
7783 (hierarchy): Replaces getObjectStreamClasses() for caching
7785 (loadedByBootOrApplicationClassLoader): New helper method.
7786 (setClass): Invalidate hierarchy cache.
7787 (setSuperclass): Invalidate hierarchy cache.
7788 * java/io/ObjectStreamField.java
7789 (field): Made field package private for access from other
7791 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7792 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7793 hashtable for mapping objects to ints.
7795 2006-08-21 Roman Kennke <kennke@aicas.com>
7798 (getAbsolutePath): Fetch absolute path from
7799 VMFile.getAbsolutePath(). Moved actual impl to there.
7800 (isAbsolute): Let VMFile determine the absoluteness.
7801 (toURL): Let VMFile convert the filename.
7802 * vm/reference/java/io/VMFile.java
7803 (getAbsolutePath): New method.
7804 (isAbsolute): New method.
7805 (toURL): New method.
7807 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7809 * NEWS: Added note about updated VM interface.
7811 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7813 * java/lang/management/ManagementFactory.java:
7814 Updated documentation.
7816 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
7819 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7821 * gnu/java/util/regex/CharIndexedCharSequence.java,
7822 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7824 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7825 (match): call the new method setHitEnd of the input,
7826 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7827 Some optimization commented out, Use CharIndexed#move1 instead of move.
7828 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7829 * gnu/java/util/regex/REToken.java(match): The method body has been
7830 moved to an internal private method, (matchFake): New method,
7831 (setHitEnd): New method.
7832 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7833 if the match is not complete, (matchOneString): Count the number of
7834 characters which matched the pattern.
7835 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7836 (setFake): New method, (match): Call super.match or super.matchFake.
7837 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7838 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7839 setHitEnd of the input,
7840 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7841 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7842 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7844 2006-08-18 Tom Tromey <tromey@redhat.com>
7846 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7847 the 'int', not the cast char.
7849 2006-08-18 Roger Sayle <roger@eyesopen.com>
7851 * scripts/check_jni_methods.sh: Don't use the "set -C" command
7852 which isn't available in all shells.
7854 2006-08-18 Roger Sayle <roger@eyesopen.com>
7856 * lib/Makefile.am (resources): Fix some shell portability issues.
7858 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7860 * configure.ac (tool-wrappers): Check for ltdl support when tool
7861 wrapper binaries are enabled.
7862 * tools/Makefile.am (LIBJVM): Remove variable.
7863 (AM_CPPFLAGS): Add LIBJVM define.
7864 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7865 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7866 gjavah_LDFLAGS): Remove variables.
7867 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7869 2006-08-18 Tom Tromey <tromey@redhat.com>
7871 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7873 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7875 (readEntries): Likewise.
7877 2006-08-17 Roman Kennke <kennke@aicas.com>
7879 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7880 (layoutLabel): Reset the text and icon rectangles.
7882 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7885 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7886 Transform gappletviewer name using program_transform_name.
7888 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7890 * javax/swing/filechooser/FileSystemView.java
7891 (getFileSystemView): Always return UnixFileSystemView, since
7892 that's the only one we got. Marked with NotImplementedException.
7893 * javax/swing/plaf/basic/BasicFileChooserUI.java
7894 (mouseClicked, installUI): Don't parse path by hand.
7896 2006-08-17 Roman Kennke <kennke@aicas.com>
7898 * javax/swing/JComponent.java
7899 (scrollRectToVisible): Handle intermediate non-JComponents
7902 2006-08-17 Roman Kennke <kennke@aicas.com>
7904 * javax/swing/RepaintManager.java
7905 (blitBuffer): Removed. This is now done in commitBuffer().
7906 (commitBuffer): Always paint on the root window or applet.
7907 No need to look for intermediate heavyweights. Optimized
7908 rectangle translation.
7909 (commitRemainingBuffers): Removed. Not needed anymore.
7910 (getHeavyweightParent): Removed. Not needed anymore.
7911 (getOffscreenBuffer): Fetch offscreen image from the
7912 actual root component.
7913 (paintDirtyRegions): Don't call commitRemainingBuffers().
7915 2006-08-17 Roman Kennke <kennke@aicas.com>
7917 * javax/swing/SwingUtilities.java
7918 (clipString): New helper method for trimming strings.
7919 (layoutCompoundLabelImpl): Fixed algorithm to conform
7920 testsuites. Trim text if it's too long. Avoid creating
7921 new Rectangles. Optimized for performance.
7922 (layoutCompoundLabel): Use switch rather then if-else-chain.
7923 * javax/swing/plaf/basic/BasicButtonUI.java
7927 (paint): Reset and use cached rectangles. Only call paintIcon()
7928 if icon is not null. Don't call paintButtonPressed() when
7929 button is selected, only when it is both armed and pressed.
7930 * javax/swing/plaf/basic/BasicGraphicsUtils.java
7931 (getPreferredButtonSize): Reused cached rectangles rather
7932 then creating new ones. Don't create new Rectangle via
7934 * javax/swing/plaf/basic/BasicLabelUI.java
7935 (getPreferredSize): Correctly reset cached rectangles. Especially
7936 the view rect must have a big size to give it room for layouting.
7937 Short cut layout when text == null.
7938 (paint): Correctly reset cached rectangles.
7939 * javax/swing/plaf/basic/BasicMenuItemUI.java
7940 (resetRectangles): New helper method.
7941 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7942 (paintMenuItem): Correctly reset the cached rectangles.
7943 * javax/swing/plaf/basic/BasicRadioButtonUI.java
7944 (getPreferredSize): Use cached Rectangle objects and initialize
7946 (paint): Use cached Rectangle objects and initialize
7949 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
7951 * java/util/Calendar.java: API doc additions.
7953 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7955 * javax/swing/DefaultButtonModel.java:
7956 (setRollover): Simplified statement.
7958 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7960 * gnu/java/rmi/server/RMIClassLoaderImpl.java
7961 (loadClass): Rewritten to use getClassLoader.
7962 (loadProxyClass): Implemented.
7963 (getClassLoader): Fixed support for null or empty codebase.
7964 * gnu/java/rmi/server/RMIObjectInputStream.java
7965 (resolveClass): Use user class loader as default class loader.
7966 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7967 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7968 (loadClass): Simplified and use user class loader instead of
7969 context class loader as default.
7970 * java/io/ObjectInputStream.java
7971 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7972 * vm/reference/gnu/classpath/VMStackWalker.java
7973 (firstNonNullClassLoader): New method.
7974 * vm/reference/java/io/VMObjectInputStream.java
7975 (loaderAction, currentClassLoader): Removed.
7977 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7979 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7980 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7981 by current scroll offset, added method documention.
7982 (getTabBounds(int, Rectangle)): Added method documentation.
7983 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7984 (paintContentBorderLeftEdge): Changed y to 1.
7986 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7988 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7989 (MouseHandler.mouseReleased): Implemented.
7990 (MouseHandler.mousePressed): Added delegation to tabbed pane.
7991 (MouseHandler.mouseEntered): Dito.
7992 (MouseHandler.mouseExited): Dito.
7993 (MouseHandler.mouseMoved): Dito.
7994 (MouseHandler.redispatchEvent): New method.
7995 (PropertyChangeHandler.propertyChange): Added extra block level,
7996 added code to handle tab placement changes, added comment.
7997 (updateViewPosition): Set unneeded coordinate to 0, added comment.
7999 2006-08-16 Roman Kennke <kennke@aicas.com>
8001 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8002 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8005 2006-08-16 Mark Wielaard <mark@klomp.org>
8007 * java/awt/Component.java (orientation): Renamed to
8008 componentOrientation.
8009 (setComponentOrientation): Use new field name.
8010 (getComponentOrientation): Likewise.
8012 2006-08-16 Roman Kennke <kennke@aicas.com>
8015 * javax/swing/plaf/basic/BasicTreeUI.java
8016 (CellEditorHandler.editingCancelled): Call completeEditing
8018 (CellEditorHandler.editingStopped): Call completeEditing
8020 (NodeDimensionHandler.getNodeDimensions): Rewritten
8021 to use the preferred sizes of the renderer and editor.
8022 (TreeExpansionHandler.treeCollapsed): Complete editing
8024 (TreeSelectionHandler.valueChanged): Complete editing
8026 (cancelEditing): Call completeEditing with false, false and
8027 false. Don't call finish (removed method).
8028 (completeEditing(boolean,boolean,boolean): Only do something when
8029 stopEditingInCompleteEditing is true. Nullify editingComponent
8030 and editingPath. Remove editingComponent from tree. Update
8031 the layout when necessary and repaint.
8032 (completeEditing): Stop editing when necessary.
8033 (editorRequestFocus): New helper method. Request focus
8034 on the actual editor.
8035 (finish) Removed. This is now done in completeEditing().
8036 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8037 (setLargeModel): Complete editing here.
8038 (setRootVisible): Complete editing here.
8039 (setRowHeight): Complete editing here.
8040 (setSelectionModel): Complete editing here.
8041 (startEditing): Correctly initialize and start editing.
8042 (updateExpandedDescendants): Complete editing here.
8043 * javax/swing/tree/DefaultTreeCellEditor.java
8044 (DefaultTextField): Fetch size from super and use renderer's height
8046 (EditorContainer.EditorContainer): Set layout to null, just
8048 (EditorContainer.doLayout): Layout so that the editor
8049 is offset to the right of the icon.
8050 (EditorContainer.getPreferredSize): Implemented to
8051 provide a reasonable preferred size.
8052 (EditorContainer.paint): Position icon in the middle.
8053 Also paint border if appropriate.
8054 (EditorContainer.setBounds): Removed.
8055 (RealEditorListener): Removed.
8056 (DefaultTreeCellEditor): Set correct border.
8057 (cancelCellEditing): Message real editor. Call finish().
8058 (createCellEditor): Don't add listener.
8059 (determineOffset): Correctly determine offset, and update
8061 (finish): New helper method.
8062 (getTreeCellEditorComponent): Set correct font. Call
8063 prepareForEditing() and determineOffset() to correctly initialize
8065 (stopCellEditing): Messsage realEditor to stop editing. Call
8067 (stopEditingTimer): Removed.
8068 (valueChanged): Correctly reset lastPath.
8069 * javax/swing/tree/DefaultTreeCellRenderer.java
8070 (getPreferredSize): Return super plus some extra space for
8073 2006-08-16 Roman Kennke <kennke@aicas.com>
8075 * javax/swing/plaf/metal/MetalTreeUI.java
8076 (LineStyleListener): New property listener, that updates
8077 the line style setting if the corresponding property
8079 (lineStyleListener): New field.
8080 (lineStyle): New field.
8081 (LINE_STYLE_ANGLED): New constant field.
8082 (LINE_STYLE_HORIZONTAL): New constant field.
8083 (LINE_STYLE_NONE): New constant field.
8084 (LINE_STYLE_VALUE_ANGLED): New constant field.
8085 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8086 (LINE_STYLE_VALUE_NONE): New constant field.
8087 (LINE_STYLE_PROPERTY): New constant field.
8088 (decodeLineStyle): Implemented.
8089 (installUI): Install line style listener. Set initial
8091 (uninstallUI): Uninstall line style listener.
8092 (paintHorizontalPartOfLeg): Only call super for angled
8094 (paintVerticalPartOfLeg): Only call super for angled
8096 (paintHorizontalSeparators): Implemented.
8097 (paint): If lineStyle==HORIZONTAL, call
8098 paintHorizontalSeparators().
8099 * examples/gnu/classpath/examples/swing/TreeDemo.java
8100 (createContent): Add panel for selecting line styles.
8102 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8104 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8105 (createContent): Rewritten.
8106 (createPlacementChangingMenuItem): New method.
8107 (createLayoutPolicyChangingMenuItem): New method.
8108 (createTabbedPane): New method.
8109 (createTabContent): New method.
8111 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8113 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8114 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8115 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8117 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8119 * javax/swing/text/WrappedPlainView.java:
8120 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8121 (calculateBreakPosition): Add p0 to return value.
8123 2006-08-15 Roman Kennke <kennke@aicas.com>
8125 * javax/swing/plaf/basic/BasicTreeUI.java
8126 (MouseHandler.selectedOnPress): New field.
8127 (MouseHandler.handleEvent): New helper method for handling
8128 selection and start/stop editing for mouse events.
8129 (MouseHandler.mouseDragged): Commented as no-op method.
8130 (MouseHandler.mouseMoved): Commented as no-op method.
8131 (MouseHandler.mousePressed): Use handleEvent() to handle
8132 selection and editing handling.
8133 (MouseHandler.mouseReleased): Use handleEvent() to handle
8134 selection and editing handling.
8135 (MouseInputHandler.MouseInputHandler): Register itself
8136 as mouse listener on source. Redispatch event to
8138 (MouseInputHandler.dispatch): New helper method.
8139 (MouseInputHandler.mouseClicked): Dispatch event.
8140 (MouseInputHandler.mouseDragged): Dispatch event.
8141 (MouseInputHandler.mouseEntered): Stop dispatching
8142 if dragging stopped.
8143 (MouseInputHandler.mouseExited): Stop dispatching
8144 if dragging stopped.
8145 (MouseInputHandler.mouseMoved): Stop dispatching.
8146 (MouseInputHandler.mousePressed): Marked as no-op.
8147 (MouseInputHandler.mouseReleased): Dispatch and stop
8148 dispatching afterwards.
8149 (MouseInputHandler.removeFromSource): Implemented.
8150 (PropertyChangeHandler.propertyChange): Also handle
8151 editable property changes by calling setEditable().
8152 (SelectionModelPropertyChangeHandler.propertyChange):
8153 Reset row selection.
8154 (startEditTimer): Removed.
8155 (setCellEditor): Call updateEditor().
8156 (setEditable): Call updateEditor().
8157 (startEditingAtPath): Make path fully visible before starting
8159 (startEditing): Maybe cancel previous edit session. Add
8160 editing component itself, not its parent container.
8161 Register MouseInputHandler for correctly redispatching
8163 (stopEditing): Message cellEditor and only completeEditing()
8164 when approved by cell editor.
8165 (updateCellEditor): Complete editing before updating
8166 the cell editor. Get cell editor from JTree if possible,
8167 otherwise create default editor. Update the listeners
8169 * javax/swing/tree/DefaultTreeCellEditor.java
8170 (CLICK_COUNT_TO_START): Removed.
8171 (DefaultTreeCellEditor): Install correct border. Let setTree()
8172 update the listeners. Don't initialize lastPath and font yet.
8173 (actionPerformed): Implemented to start editing.
8174 (createTreeCellEditor): Set click count to start to 1, rather than
8176 (isCellEditable): Prepare editor here. Determine if we can
8177 start immediately, or if we trigger a timer to do so.
8178 (prepareForEditing): Don't removeAll() (not necessary),
8179 check editingComponent to be non-null.
8180 (setTree): Update listeners.
8181 (shouldStartEditingTimer): Check for left mouse button.
8182 (startEditingTimer): Lazily create timer.
8184 2006-08-15 Lillian Angel <langel@redhat.com>
8186 * java/awt/dnd/DropTargetDragEvent.java
8187 (getTransferable): Implemented.
8189 2006-08-15 Roman Kennke <kennke@aicas.com>
8191 * java/util/Vector.java
8192 (removeAll): Added comment about NPE.
8193 (retainAll): Added comment about NPE.
8195 2006-08-15 Roman Kennke <kennke@aicas.com>
8197 * java/util/zip/ZipFile.java
8198 (UTF8DECODER): Removed.
8199 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8200 (utf8Decoder): New instance field.
8201 (decodeChars): Lazily create UTF8 decoder. Use instance
8202 field rather than a static field to avoid corruption.
8204 2006-08-15 Roman Kennke <kennke@aicas.com>
8206 * java/io/PrintStream.java
8207 (line_separator): Provide default for system property.
8208 * java/io/FileDescriptor.java
8209 (valid): Create local copy of channel field for better
8212 2006-08-15 Ingo Proetel <proetel@aicas.com>
8214 * java/util/zip/ZipFile.java
8215 (PartialInputStream.UTF8DECODER): New constant field, used
8216 for decoding UTF8 strings.
8217 (readLeShort): Access buffer directly if it has enough bytes
8219 (readLeInt): Access buffer directly if it has enough bytes
8221 (decodeChars): New helper method for decoding UTF8 strings.
8222 (readString): Avoid NIO charset decoder if possible.
8224 2006-08-15 Roman Kennke <kennke@aicas.com>
8226 * java/util/Vector.java
8227 (removeAll): Don't explicitly null-check here. The RI allows
8228 null arguments when Vector is empty. In other cases we
8229 implicitly throw an NPE.
8230 (retainAll): Don't explicitly null-check here. The RI allows
8231 null arguments when Vector is empty. In other cases we
8232 implicitly throw an NPE.
8234 2006-08-14 Casey Marshall <csm@gnu.org>
8236 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8237 of changes made on this branch.
8239 * gnu/classpath/debug/Component.java
8240 * gnu/classpath/debug/SystemLogger.java
8241 * gnu/java/security/action/GetPropertyAction.java
8242 * gnu/java/security/action/GetSecurityPropertyAction.java
8243 * gnu/javax/crypto/RSACipherImpl.java
8244 * gnu/javax/net/ssl/PrivateCredentials.java
8245 * gnu/javax/net/ssl/provider/Alert.java
8246 * gnu/javax/net/ssl/provider/AlertException.java
8247 * gnu/javax/net/ssl/provider/Certificate.java
8248 * gnu/javax/net/ssl/provider/CertificateRequest.java
8249 * gnu/javax/net/ssl/provider/CertificateType.java
8250 * gnu/javax/net/ssl/provider/CertificateVerify.java
8251 * gnu/javax/net/ssl/provider/CipherSuite.java
8252 * gnu/javax/net/ssl/provider/ClientHello.java
8253 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8254 * gnu/javax/net/ssl/provider/CompressionMethod.java
8255 * gnu/javax/net/ssl/provider/Constructed.java
8256 * gnu/javax/net/ssl/provider/ContentType.java
8257 * gnu/javax/net/ssl/provider/DiffieHellman.java
8258 * gnu/javax/net/ssl/provider/Extension.java
8259 * gnu/javax/net/ssl/provider/Finished.java
8260 * gnu/javax/net/ssl/provider/Handshake.java
8261 * gnu/javax/net/ssl/provider/Jessie.java
8262 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8263 * gnu/javax/net/ssl/provider/Random.java
8264 * gnu/javax/net/ssl/provider/ServerHello.java
8265 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8266 * gnu/javax/net/ssl/provider/Signature.java
8267 * gnu/javax/net/ssl/provider/Util.java
8268 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8269 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8270 * java/security/MessageDigest.java
8271 * java/security/MessageDigestSpi.java
8272 * java/security/Signature.java
8273 * java/security/SignatureSpi.java
8274 * javax/crypto/Mac.java
8275 * javax/crypto/MacSpi.java
8276 * javax/net/ssl/HandshakeCompletedEvent.java
8277 * javax/net/ssl/HttpsURLConnection.java
8278 * javax/net/ssl/SSLContext.java
8279 * javax/net/ssl/SSLContextSpi.java
8280 * javax/net/ssl/SSLSession.java
8282 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8283 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8284 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8285 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8286 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8287 * gnu/javax/net/ssl/provider/ServerDHParams.java
8288 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8289 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8290 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8291 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8292 * gnu/javax/net/ssl/provider/ServerNameList.java
8293 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8294 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8295 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8296 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8297 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8298 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8299 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8300 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8301 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8302 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8303 * gnu/javax/net/ssl/provider/Record.java
8304 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8305 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8306 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8307 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8308 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8309 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8310 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8311 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8312 * gnu/javax/net/ssl/provider/ExtensionList.java
8313 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8314 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8315 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8316 * gnu/javax/net/ssl/provider/ServerHandshake.java
8317 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8318 * gnu/javax/net/ssl/provider/SessionImpl.java
8319 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8320 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8321 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8322 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8323 * gnu/javax/net/ssl/provider/HelloRequest.java
8324 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8325 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8326 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8327 * gnu/javax/net/ssl/provider/ClientHandshake.java
8328 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8329 * gnu/javax/net/ssl/provider/CertificateURL.java
8330 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8331 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8332 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8333 * gnu/javax/net/ssl/provider/Builder.java
8334 * gnu/javax/net/ssl/provider/Debug.java
8335 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8336 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8337 * gnu/javax/net/ssl/provider/DelegatedTask.java
8338 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8339 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8340 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8341 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8342 * javax/net/ssl/SSLEngine.java
8343 * javax/net/ssl/CertPathTrustManagerParameters.java
8344 * javax/net/ssl/KeyStoreBuilderParameters.java
8345 * javax/net/ssl/X509ExtendedKeyManager.java
8346 * javax/net/ssl/SSLEngineResult.java
8347 * gnu/javax/net/ssl/PreSharedKeyManager.java
8348 * gnu/javax/net/ssl/Session.java
8349 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8350 * gnu/javax/net/ssl/SSLCipherSuite.java
8351 * gnu/javax/net/ssl/AbstractSessionContext.java
8352 * gnu/javax/net/ssl/SessionStoreException.java
8353 * gnu/javax/net/ssl/SSLRecordHandler.java
8354 * gnu/javax/net/ssl/SSLProtocolVersion.java
8355 * gnu/javax/crypto/key/GnuPBEKey.java
8356 * gnu/java/security/util/ByteBufferOutputStream.java
8357 * gnu/java/security/Requires.java
8358 * gnu/javax/security/auth/callback/CertificateCallback.java
8360 * gnu/javax/net/ssl/provider/Context.java
8361 * gnu/javax/net/ssl/provider/DigestInputStream.java
8362 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8363 * gnu/javax/net/ssl/provider/Enumerated.java
8364 * gnu/javax/net/ssl/provider/Extensions.java
8365 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8366 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8367 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8368 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8369 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8370 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8371 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8372 * gnu/javax/net/ssl/provider/KeyPool.java
8373 * gnu/javax/net/ssl/provider/OverflowException.java
8374 * gnu/javax/net/ssl/provider/RecordInput.java
8375 * gnu/javax/net/ssl/provider/RecordInputStream.java
8376 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8377 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8378 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8379 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8380 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8381 * gnu/javax/net/ssl/provider/SSLSocket.java
8382 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8383 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8384 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8385 * gnu/javax/net/ssl/provider/SecurityParameters.java
8386 * gnu/javax/net/ssl/provider/Session.java
8387 * gnu/javax/net/ssl/provider/SessionContext.java
8388 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8389 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8391 2006-08-14 Roman Kennke <kennke@aicas.com>
8393 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8394 (DividerLayout.layoutContainer): Removed debug output.
8395 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8396 (BasicHorizontalLayoutManager.axis): New field.
8397 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8399 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8400 Call new axis constructor.
8401 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8403 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8405 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8406 Refactored to handle direction.
8407 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8408 to handle direction.
8409 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8411 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8412 to handle direction.
8413 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8414 to handle direction.
8415 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8416 to handle direction.
8417 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8419 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8420 New explicit constructor. Calls super with vertical axis.
8421 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8422 to BasicHorizontalLayoutManager.
8423 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8424 moved to BasicHorizontalLayoutManager.
8425 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8426 Functionality moved to BasicHorizontalLayoutManager.
8427 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8428 moved to BasicHorizontalLayoutManager.
8429 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8430 moved to BasicHorizontalLayoutManager.
8431 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8432 Functionality moved to BasicHorizontalLayoutManager.
8433 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8434 moved to BasicHorizontalLayoutManager.
8435 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8436 moved to BasicHorizontalLayoutManager.
8437 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8438 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8439 (BUTTON_SPRITE_R): New constant field.
8440 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8441 L sprite for left buttons.
8443 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8445 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8446 (query_formats): g_free 'name' after usage.
8447 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8448 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8450 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8453 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8456 2006-08-14 Francis Kung <fkung@redhat.com>
8459 * java/awt/image/ColorModel.java
8460 (coerceData): Added check for non-transparent images.
8462 2006-08-14 Francis Kung <fkung@redhat.com>
8464 * java/awt/image/BandCombineOp.java
8465 (BandCombineOp): Perform checks on validity of matrix.
8466 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8467 (filter): Updated to work with new matrix storage.
8468 (getMatrix): Updated javadoc.
8469 (getPoint2D): Formatting change.
8471 2006-08-14 Francis Kung <fkung@redhat.com>
8473 * java/awt/image/AffineTransformOp.java
8474 (AffineTransformOp): Updated javadoc.
8475 (createCompatibleDestImage): Match behaviour of reference implementation.
8476 (createCompatibleDestRaster): Formatting changes.
8477 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8478 (filter(Raster, WritableRaster)): Re-implemented.
8479 (filterBicubic): New private method.
8480 (filterBilinear): New private method.
8481 (filterNearest): New private method.
8482 (getBounds2D): No longer fixed around one point for rotations.
8483 (getInterpolationType): Add support for bicubic interpolation.
8485 2006-08-14 Roman Kennke <kennke@aicas.com>
8487 * javax/swing/plaf/metal/MetalLookAndFeel.java
8488 (MetalLookAndFeel): Moved theme initialization to
8490 (createDefaultTheme): Forward to getCurrentTheme().
8491 (getDefaults): Initialize theme before doing anything else.
8492 (getCurrentTheme): Recognize swing.metalTheme property.
8494 2006-08-14 Roman Kennke <kennke@aicas.com>
8496 * javax/swing/JTable
8497 (getScrollableUnitIncrement): Expose partially exposed
8498 row in scrolling direction.
8500 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8502 * javax/swing/JTable (getScrollableUnitIncrement):
8503 Removing my name as the whole method body have been
8504 recently completely replaced.
8506 2006-08-14 Roman Kennke <kennke@aicas.com>
8509 * javax/swing/text/Utilities.java
8510 (getTabbedTextOffset): Don't add p0 here.
8512 2006-08-14 Roman Kennke <kennke@aicas.com>
8515 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8516 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8517 when wheel is going up.
8519 2006-08-14 Roman Kennke <kennke@aicas.com>
8522 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8523 (BasicOneTouchButton): New inner class.
8524 (DividerLayout.changeButtonOrientation): Removed.
8525 (DividerLayout.positionButtons): Moved into layoutContainer.
8526 (DividerLayout.layoutContainer): Reworked for correct layout.
8527 (OneTouchAction): New inner class.
8528 (centerOneTouchButtons): New field.
8529 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8531 (createLeftOneTouchButton): Reimplemented to return
8532 BasicOneTouchButton.
8533 (createRightOneTouchButton): Reimplemented to return
8534 BasicOneTouchButton.
8535 (getPreferredSize): Reimplemented to return fixed preferredSize.
8536 (oneTouchExpandableChanged): Add OneTouchAction action to
8537 buttons. Don't install mouse listeners.
8538 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8539 (paint): Don't trigger extra paint for buttons.
8540 (propertyChange): Revalidate splitPane when orientation is changed.
8541 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8542 oneTouchExpandable is true.
8543 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8544 (installDefaults): Install dividerSize on the divider too.
8545 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8546 (MetalDividerLayout): Removed. Functionality is already
8547 in BasicSplitPaneDivider.DividerLayout.
8548 (MetalOneTouchButton): New inner class.
8549 (BUTTON_SPRITE): New constant field.
8550 (MetalSplitPaneDivider): Don't change layout.
8551 (createLeftOneTouchButton): Overridden to return custom button
8553 (createRightOneTouchButton): Overridden to return custom button
8555 (paint): Don't trigger button painting. Call super instead.
8557 2006-08-13 Roman Kennke <kennke@aicas.com>
8559 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8560 (installKeyboardAction): Unmarked as stub. Added comment
8561 explaining that the RI seems to do nothing here.
8562 (uninstallKeyboardAction): Unmarked as stub. Added comment
8563 explaining that the RI seems to do nothing here.
8565 2006-08-13 Roman Kennke <kennke@aicas.com>
8568 * javax/swing/ScrollPaneLayout.java
8569 (layoutContainer): Consider the viewportBorder of the
8571 (minimumLayoutSize): Consider the viewportBorder of the
8573 (preferredLayoutSize): Consider the viewportBorder of the
8575 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8576 (installDefaults): Also install viewportBorder if specified.
8577 (paint): Paint viewportBorder if present.
8578 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8579 Don't nullify foreground, background and font. Uninstall
8580 border via LookAndFeel helper method to avoid uninstall
8583 2006-08-13 Roman Kennke <kennke@aicas.com>
8586 * javax/swing/plaf/basic/BasicHTML.java
8587 (HTMLRootView.HTMLRootView): Trigger initial layout.
8588 (HTMLRootView.setSize): Overridden to forward to real view.
8589 * javax/swing/plaf/basic/BasicToolTipUI.java
8590 (PropertyChangeHandler): New inner class. Updates the HTML
8592 (propertyChangeHandler): New field.
8593 (getMaximumSize): Add HTML width delta.
8594 (getMinimumSize): Add HTML width delta.
8595 (getPreferredSize): Reimplemented to use HTML view for size
8596 calculation if appropriate, otherwise use simple stringWidth()
8598 (installListeners): Install propertyChangeHandler.
8599 (uninstallListeners): Uninstall propertyChangeHandler.
8600 (installUI): Update HTML renderer.
8601 (uninstallUI): Update HTML renderer.
8602 (paint): Reimplemented to use HTML view for rendering if
8603 appropriate, simple drawString otherwise.
8604 * javax/swing/plaf/metal/MetalToolTipUI.java
8605 (getPreferredSize): Call super and add accelerator delta.
8606 (paint): Simply call super.
8608 2006-08-13 Roman Kennke <kennke@aicas.com>
8610 * javax/swing/JMenu.java
8611 (changeListener): Renamed to menuChangeListener to avoid
8612 shadowing changeListener field from AbstractButton.
8614 2006-08-13 Roman Kennke <kennke@aicas.com>
8616 * javax/swing/JTree.java
8617 (getScrollableUnitIncrement): Fixed direction.
8618 (getScrollableBlockIncrement): Implemented to scroll one
8620 * javax/swing/tree/VariableHeightLayoutCache.java
8621 (distance): Consider y + height already outside the node.
8623 2006-08-13 Roman Kennke <kennke@aicas.com>
8625 * javax/swing/JTable.java
8626 (getScrollableUnitIncrement): Fixed direction. Make it behave
8628 (getScrollableBlockIncrement): Fixed direction. Make it behave
8631 2006-08-13 Roman Kennke <kennke@aicas.com>
8633 * javax/swing/JList.java
8634 (getScrollableUnitIncrement): Fixed direction. Implemented
8635 horizontal scrolling. Improved usability.
8636 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8638 2006-08-13 Roman Kennke <kennke@aicas.com>
8640 * javax/swing/plaf/basic/BasicScrollBarUI.java
8641 (scrollByUnit): Scroll by -unit when direction is not positive
8642 and +unit otherwise.
8643 (scrollByBlock): Scroll by -unit when direction is not positive
8644 and +unit otherwise.
8646 2006-08-13 Roman Kennke <kennke@aicas.com>
8649 * javax/swing/text/PlainView.java
8650 (paint): Limit painted area to the lines inside the clip
8653 2006-08-13 Roman Kennke <kennke@aicas.com>
8655 * javax/swing/plaf/basic/BasicTextUI.java
8656 (uninstallListeners): Unregister document listener.
8658 2006-08-13 Sven de Marothy <sven@physto.se>
8660 * java/util/Locale.java
8661 (hashcodeCache): New field.
8662 (hashCode): use the above field instead of the serialized one
8663 (writeObject): Removed method.
8664 (readObject): Intern strings.
8665 (equals): Revert to previous method.
8667 2006-08-13 Roman Kennke <kennke@aicas.com>
8669 * javax/swing/JTabbedPane.java
8670 (JTabbedPane): Call setModel() here and let this install the
8671 change listener correctly.
8672 (setModel): Correctly uninstall and reinstall ChangeListener when
8675 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8678 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8679 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8680 (lastDefaultLocale): Removed.
8681 (emptyLocale): Likewise.
8682 (BundleKey.defaultLocale): New field.
8683 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8684 (BundleKey.set): Likewise.
8685 (BundleKey.equals): Take defaultLocal field into consideration.
8686 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8688 2006-08-13 Roman Kennke <kennke@aicas.com>
8690 * javax/swing/JMenu.java
8691 (MenuChangeListener): New inner class, helps firing menu events.
8692 (changeListener): New field.
8693 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8694 (add(Action)): Create Action using createActionComponent()
8695 and add via add(Component).
8696 (setModel): Install and uninstall MenuChangeListener here.
8698 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8701 * java/math/BigInteger.java: Updated copyright year.
8702 (init): Consume as little bytes as possible.
8703 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8704 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8705 as per RI's documentation.
8707 2006-08-13 Sven de Marothy <sven@physto.se>
8709 * java/util/Locale.java
8710 (hashcode): Is a serialized field, not transient.
8711 (equals): Should NOT compare strings by reference.
8712 (readObject/writeObject): Use the default methods and handle the hash
8715 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8718 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8719 Updated documentation.
8721 (getInstance(String, String, Provider, Object[])): Likewise.
8722 Separate checks for null and empty string arguments.
8723 Include as much information as possible in the exception's message.
8724 Do not swallow original exception; instead use it as the cause of the
8725 resulting exception.
8726 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8727 (getInstance(String)): Updated documentation.
8729 Store last exception caught when iterating through all providers.
8730 If no implementation found, raise last exception if one was caught.
8731 (getInstance(String, String)): Updated documentation.
8733 Check for null or empty provider as per RI-5's documentation.
8734 (getInstance(String, Provider)): Updated documentation.
8736 Use as much information as possible in the exception message.
8737 Do not swallow original exception; instead use it as the cause for the
8738 ultimate raised exception(s).
8739 * java/security/cert/CertificateFactory.java: Likewise.
8740 * java/security/cert/CertPathBuilder.java: Likewise.
8741 * java/security/cert/CertPathValidator.java: Likewise.
8742 * java/security/cert/CertStore.java: Likewise.
8743 * java/security/AlgorithmParameterGenerator.java: Likewise.
8744 * java/security/AlgorithmParameters.java: Likewise.
8745 * java/security/KeyFactory.java: Likewise.
8746 * java/security/KeyPairGenerator.java: Likewise.
8747 * java/security/KeyStore.java: Likewise.
8748 * java/security/MessageDigest.java: Likewise.
8749 * java/security/SecureRandom.java: Likewise.
8750 * java/security/Signature.java: Likewise.
8751 * javax/crypto/Cipher.java: Likewise.
8752 * javax/crypto/ExemptionMechanism.java: Likewise.
8753 * javax/crypto/KeyAgreement.java: Likewise.
8754 * javax/crypto/KeyGenerator.java: Likewise.
8755 * javax/crypto/Mac.java: Likewise.
8756 * javax/crypto/SecretKeyFactory.java: Likewise.
8757 * javax/net/ssl/KeyManagerFactory.java: Likewise.
8758 * javax/net/ssl/SSLContext.java: Likewise.
8759 * javax/net/ssl/TrustManagerFactory.java: Likewise.
8761 2006-08-13 Roman Kennke <kennke@aicas.com>
8763 * javax/swing/JEditorPane.java
8764 (getScrollableTracksViewportHeight): Also check maximum size.
8765 * javax/swing/JTextPane.java
8766 (insertIcon): Use input attributes for adding the icon
8768 * javax/swing/plaf/basic/BasicTextUI.java
8769 (RootView.setSize): Overridden to forward to real view.
8770 (getPreferredSize): Trigger setSize() on the view.
8771 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8772 to viewToModel() call, rather then null.
8773 * javax/swing/text/ParagraphView.java
8774 (changedUpdate): Invalide layout. Call super.
8775 * javax/swing/text/SimpleAttributeSet.java
8776 (clone): Use super's clone method to create clone.
8777 * javax/swing/text/StyleConstants.java
8778 (setIcon): Also set element name attribute.
8779 * javax/swing/text/StyledEditorKit.java
8780 (BoldAction.actionPerformed): Actually set the bold attribute,
8782 (setCharacterAttributes): Replaced with more straightforward
8784 * javax/swing/text/TextAction.java
8785 (getFocusedComponent): Implemented.
8786 * javax/swing/text/Utilities.java
8787 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8789 * javax/swing/text/View.java
8790 (changedUpdate): Nullify element change when updateChildren
8793 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
8795 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8796 Fix documentation typos.
8798 2006-08-11 David Daney <ddaney@avtrex.com>
8801 * gnu/java/net/protocol/http/Request.java (readResponse): Call
8802 createResponseBodyStream in more cases and with new parameter.
8803 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
8804 HEAD and !mayHaveBody responses specially.
8806 2006-08-11 Roman Kennke <kennke@aicas.com>
8808 * javax/swing/text/GlyphView.java
8809 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8810 * javax/swing/text/LabelView.java
8811 (valid): New flag indicating if the text attributes are valid.
8812 (LabelView): Initialize valid field with false.
8813 (setPropertiesFromAttributes): Call setter methods instead
8814 of setting properties directly. Set valid to true.
8815 (changedUpdate): Invalidate attributes. Call super.
8816 (getBackground): Sync attributes if necessary.
8817 (getForeground): Sync attributes if necessary.
8818 (getFont): Sync attributes if necessary.
8819 (isUnderline): Sync attributes if necessary.
8820 (isSuperscript): Sync attributes if necessary.
8821 (isStrikeThrough): Sync attributes if necessary.
8822 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8823 from toolkit if Container is not available yet.
8825 2006-08-11 Roman Kennke <kennke@aicas.com>
8827 * javax/swing/text/PlainView.java
8828 (tabBase): New field.
8829 (tabSize): New field.
8830 (updateMetrics): Update tabSize.
8831 (lineToRect): Only allocate when really necessary.
8832 (modelToView): Use tabBase for offset calculations.
8833 (paint): Only allocate when really necessary. Update tabBase.
8834 (nextTabStop): Fixed tab calculation.
8835 (viewToModel): Correctly handle multiline text and locations
8836 outside the view's bounds. Set bias.
8837 (getLineLength): Use tabBase.
8838 * javax/swing/text/Utilities.java
8839 (drawTabbedText): Don't special case newlines. The views
8840 must take care of this.
8842 2006-08-11 Roman Kennke <kennke@aicas.com>
8844 * javax/swing/text/GapContent.java
8845 (UndoPosRef): New inner class. Used for resetting positions
8846 after undo/redo operations.
8847 (InsertUndo.positions): New field.
8848 (InsertUndo.undo): Store positions in removed range.
8849 (InsertUndo.redo): Restore positions in re-inserted range.
8850 (UndoRemove.positions): New field.
8851 (UndoRemove.UndoRemove): Store positions in removed range.
8852 (UndoRemove.undo): Restore positions in re-inserted range.
8853 (UndoRemove.redo): Store positions in removed range.
8854 (insertString): Create InsertUndo instance before actually
8855 inserting the string.
8856 (remove): Create UndoRemove instance before actually
8858 (getPositionsInRange): Don't clear the Vector. Return Vector
8860 (updateUndoPositions): Implemented to reset all UndoPosRefs
8863 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
8865 * java/io/ObjectInputStream.java (readClassDescriptor):
8866 Use class's class loader to resolve field types.
8867 * java/io/ObjectStreamField.java
8868 (ObjectStreamField(String,String,ClassLoader)): Removed.
8869 (ObjectStreamField(String,String)): Don't try to resolve typename.
8870 (resolveType): New method.
8872 2006-08-10 Roman Kennke <kennke@aicas.com>
8874 * javax/swing/text/BoxView.java
8875 (calculateMajorAxisRequirements): Sum up the preferred and
8877 (isAfter): Also add in the rectangle's with/height.
8878 (childAllocation): Don't trigger layout here.
8879 (layoutMinorAxis): Removed debug output.
8880 (getWidth): Consider the insets.
8881 (getHeight): Consider the insets.
8882 (setSize): Consider the insets.
8883 (updateRequirements): Check axis and throw
8884 IllegalArgumentException.
8886 2006-08-10 Roman Kennke <kennke@aicas.com>
8888 * javax/swing/text/AbstractDocument.java
8889 (BidiRootName): New constant field, denotes the element name
8890 for bidi root elements.
8891 (AsyncLoadPriority): New constant field, denotes the property
8892 to store the asynchronousLoadPriority.
8893 (I18N): New constant field, denotes the property for
8895 (bidiRoot): Made field type BidiRootElement.
8896 (AbstractDocument): Build initial element structure for
8898 (getAsynchronousLoadPriority): Implemented. Returns the
8899 value stored in the document properties.
8900 (setAsynchronousLoadPriority): Implemented. Sets the
8901 value stored in the document properties.
8902 (getEndPosition): Implemented to use a Position from the
8904 (getStartPosition): Implemented to use a Position from the
8906 (insertStringImpl): Update the I18N setting if necessary.
8907 (insertUpdate): Update the bidi structure if necessary.
8908 (postRemoveUpdate): Update the bidi structure if necessary.
8909 (putProperty): Update the I18N setting and bidi structure
8911 (updateBidi): New helper method for updating the bidi
8913 (getBidis): New helper method. Fetches the Bidi analysers
8914 for the paragraphs of the range to check.
8915 (dump): Also dump the bidi structure.
8916 (AbstractElement.dump): Indent the '>' correctly.
8917 (AbstractElement.children): Check numChildren rather then
8919 (BidiRootElement): New inner class.
8920 (BidiElement): New inner class.
8922 2006-08-10 Roman Kennke <kennke@aicas.com>
8924 * javax/swing/text/GapContent.java
8925 (getChars): Optimized to only copy array when really necessary.
8926 Respect the partialReturn property.
8928 2006-08-10 Lillian Angel <langel@redhat.com>
8930 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8931 (getComponentPeer): Added check to prevent NPE.
8933 2006-08-10 Gary Benson <gbenson@redhat.com>
8935 * java/security/AccessControlContext.java (<init>):
8936 Avoid a duplicated AccessController.getContext() call.
8938 2006-08-09 Mark Wielaard <mark@klomp.org>
8940 * doc/www.gnu.org/newsitems.txt: Add 0.92.
8941 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8942 * doc/www.gnu.org/announce/20060809.wml: New file.
8944 2006-08-09 Mark Wielaard <mark@klomp.org>
8946 * configure.ac (VERSION): Set to 0.92-generics.
8947 * NEWS: Add updates for 0.92 release.
8949 2006-08-09 Tom Tromey <tromey@redhat.com>
8952 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8953 the pattern match any number of spaces in the text.
8955 2006-08-09 Sven de Marothy <sven@physto.se>
8957 * java/awt/image/BufferedImage.java
8958 (BufferedImage): Reimplement predefined-type constructor.
8959 (observers/tileObservers): Field renamed to tileObservers.
8960 (createDefaultIndexedColorModel): New method.
8962 2006-08-09 Tom Tromey <tromey@redhat.com>
8965 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8966 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8967 Create a 'short' array.
8969 2006-08-09 Tom Tromey <tromey@redhat.com>
8971 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8973 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8974 (writeFields): Print "L" after int constant. Don't mangle the field
8975 name. Only print int/long fields.
8977 2006-08-09 Tom Tromey <tromey@redhat.com>
8979 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8982 2006-08-09 Sven de Marothy <sven@physto.se>
8984 * javax/swing/JTree.java
8985 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8986 (setSelectionModel): Null parameter should create an EmptySelectionM.
8988 2006-08-09 Roman Kennke <kennke@aicas.com>
8990 * javax/swing/text/AbstractDocument.java
8991 (insertString): Perform modifications inside a write lock.
8992 (insertStringImpl): Don't lock here. This is already done
8994 (replace): Perform modifications inside a write lock.
8995 (AbstractElement.AbstractElement): Call addAttributes() to
8997 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8998 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8999 (BranchElement.BranchElement): Set lastIndex to -1.
9000 (BranchElement.getElementIndex): Implemented more efficient
9003 2006-08-09 Roman Kennke <kennke@aicas.com>
9005 * javax/swing/text/DefaultStyledDocument.java
9006 (Edit): Moved this inner class into ElementBuffer where it
9008 (edits): Moved this field into ElementBuffer.
9009 (getEditForParagraphAndIndex): Removed obsolete method.
9010 (insertUpdate): Added some optimizations and fixes. Split
9011 out handling insertion after newlines.
9012 (insertAfterNewline): New helper method. Handles insertions
9014 (ElementBuffer.Edit): New inner class. Moved here from
9015 DefaultStyledDocument.
9016 (ElementBuffer.createdFracture): New field.
9017 (ElementBuffer.documentEvent): Made private.
9018 (ElementBuffer.edits): New field. Moved here from
9019 DefaultStyledDocument.
9020 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9021 (ElementBuffer.fracturedChild): New field.
9022 (ElementBuffer.fracturedParent): New field.
9023 (ElementBuffer.insertPath): New field.
9024 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9026 (ElementBuffer.offsetLastIndex): New field.
9027 (ElementBuffer.offsetLastIndexReplace): New field.
9028 (ElementBuffer.recreateLeafs): New field.
9029 (ElementBuffer.ElementBuffer): Don't initialize stack here.
9030 (ElementBuffer.canJoin): New helper method.
9031 (ElementBuffer.changeUpdate): Changed to use elementStack with
9032 Edits rather than Elements. Let the split method do the work.
9033 (ElementBuffer.cloneAsNecessary): New helper method.
9034 (ElementBuffer.createFracture): Changed to fracture the bottommost
9036 (ElementBuffer.finishEdit): New helper method. Moved out
9037 from insertUpdate to perform the actual changes and update
9039 (fracture): New helper method.
9040 (insertContentTag): Fixed some bugs and changed to use Edit
9041 instances in the stack, rather then Elements.
9042 (insertElement): New helper method. Moved out from insertUpdate()
9043 to process the ElementSpecs.
9044 (insertFirstContentTag): Fixed some problems and changed to use Edit
9045 instances in the stack, rather then Elements.
9046 (insertFracture): Removed. Basically moved into createFracture()
9048 (insertParagraph): Removed.
9049 (insertUpdate): Split out the ElementSpec processing into
9050 insertElement(). Use Edit instances in the stack. Fixed some
9052 (insert): Split out the preparation and finishing code into
9053 prepareEdit() and finishEdit().
9054 (join): New helper method.
9055 (pop): New helper method.
9056 (prepareEdit): New helper method.
9057 (recreateFracturedElement): New helper method.
9058 (recreateLeaves): Removed.
9059 (recreate): New helper method.
9060 (removeElements): New helper method. Split out from removeUpdate().
9061 (removeUpdate): Split out the actual removal. Use the
9062 Edit stack to perform removal and perform the remove actions
9063 and event updates afterwards, just like in insertImpl().
9064 (remove): Use prepareEdit() and finishEdit().
9065 (split): Replaced with more flexible impl.
9067 2006-08-09 Sven de Marothy <sven@physto.se>
9069 * gnu/java/awt/peer/gtk/CairoSurface.java
9070 Change class to extend WritableRaster and not DataBuffer.
9071 (CairoDataBuffer): New inner class.
9072 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9073 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9074 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9075 Accomodate the above change.
9077 2006-08-09 Sven de Marothy <sven@physto.se>
9079 * gnu/java/awt/peer/gtk/GtkMainThread.java
9081 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9082 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9083 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9084 * gnu/java/awt/peer/gtk/GtkToolkit.java
9085 Minor style fixes; removed unused fields,
9086 set fields to private where possible.
9087 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9088 Call GtkMainThread.createWindow().
9089 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9090 (dispose): New method.
9091 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9092 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9093 (gtkQuit): New native method.
9095 2006-08-08 Lillian Angel <langel@redhat.com>
9097 * java/awt/Component.java
9098 (setDropTarget): Added check.
9100 2006-08-08 Lillian Angel <langel@redhat.com>
9102 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9103 (GtkDragSourceContextPeer): Added FIXME. Changed call
9105 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9106 (GtkDropTargetContextPeer): Removed target initialization.
9107 * java/awt/Component.java
9108 (setTarget): Removed commented out code.
9110 2006-08-08 Mark Wielaard <mark@klomp.org>
9112 * javax/swing/text/DefaultHighlighter.java: Qualify
9113 Highlighter.HighlightPainter class name for gcj.
9115 2006-08-05 Roman Kennke <kennke@aicas.com>
9117 * javax/swing/plaf/basic/BasicTableUI.java
9118 (MouseInputHandler.mousePressed): Request focus on list
9121 2006-08-05 Roman Kennke <kennke@aicas.com>
9123 * javax/swing/plaf/basic/BasicListUI.java
9124 (MouseInputHandler.mousePressed): Request focus on list
9127 2006-08-05 Roman Kennke <kennke@aicas.com>
9130 * javax/swing/plaf/basic/BasicMenuBarUI.java
9131 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9132 than Tree.actionMap.
9133 * javax/swing/plaf/basic/BasicTreeUI.java
9134 (action): Removed obsolete field.
9135 (uninstallKeyboardActions): Removed action field handling.
9136 (installKeyboardActions): Removed action field handling.
9137 (createDefaultActions): Don't install removed TreeAction.
9138 (TreeAction): Removed obsolete inner class.
9139 (ActionListenerProxy): Removed obsolete inner class.
9140 (MouseHandler.mousePressed): Request focus on JTree component
9143 2006-08-08 Roman Kennke <kennke@aicas.com>
9145 * javax/swing/plaf/basic/BasicListUI.java
9146 (MouseInputHandler.mousePressed): Request focus on list
9149 2006-08-08 Roman Kennke <kennke@aicas.com>
9151 * javax/swing/plaf/basic/BasicTableUI.java
9152 (MouseInputHandler.mousePressed): Request focus on list
9155 2006-08-08 Roman Kennke <kennke@aicas.com>
9157 * javax/swing/plaf/basic/BasicTextUI.java
9158 (damageRange(JTextComponent,int,int)): Call damageRange() with
9159 correct biases, rather than null.
9160 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9161 to use simpler modelToView() approach without much special
9162 casing. This seems not worth the effort and actually
9163 caused problems. Added locking of the document.
9164 * javax/swing/text/BoxView.java
9165 (requirementsValid): New field.
9166 (calculateMajorAxisRequirements): Rewritten without using
9167 SizeRequirements. The SizeRequirements algorithms are slightly
9168 different and too inefficient.
9169 (calculateMinorAxisRequirements): Rewritten without using
9170 SizeRequirements. The SizeRequirements algorithms are slightly
9171 different and too inefficient.
9172 (getAlignment): Simply return the alignment of the cached
9174 (getMaximumSpan): Add insets.
9175 (getMinimumSpan): Add insets.
9176 (getPreferredSpan): Add insets.
9177 (layoutMajorAxis): Rewritten without using
9178 SizeRequirements. The SizeRequirements algorithms are slightly
9179 different and too inefficient.
9180 (layoutMinorAxis): Rewritten without using
9181 SizeRequirements. The SizeRequirements algorithms are slightly
9182 different and too inefficient.
9183 (modelToView): Call setSize() rather than layout().
9184 (paint): Check clip for more efficient painting.
9185 (preferenceChanged): Invalidate requirements here.
9186 (replace): Invalidate requirements here.
9187 (updateRequirements): Update requirements only when requirements
9189 * javax/swing/text/CompositeView.java
9190 (modelToView): Added some more checks and handling of corner cases.
9191 * javax/swing/text/FlowView.java
9192 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9193 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9194 * javax/swing/text/IconView.java
9195 (getAlignment): Implemented to return 1.0 for vertical alignment.
9196 * javax/swing/text/ParagraphView.java
9197 (Row.getMaximumSpan): Implemented to let Rows span the whole
9199 (getAlignment): Fixed horizontal alignment and vertical alignment
9200 for empty paragraphs to be 0.5.
9202 2006-08-08 Roman Kennke <kennke@aicas.com>
9204 * javax/swing/text/View.java
9205 (modelToView): Added special handling for corner case at the end
9206 of the view and for multiline views.
9208 2006-08-08 Roman Kennke <kennke@aicas.com>
9210 * javax/swing/plaf/basic/BasicTextUI.java
9211 (modelToView): Read-lock the document. Set size of the
9212 root view before fetching the model-to-view mapping.
9213 (getViewIndex): Check of the position is inside the range and
9214 return -1 if this is not the case.
9215 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9217 (getViewIndexAtPosition(int)): Delegate the index search to
9218 the element since we have a 1:1 mapping between elements and
9220 * javax/swing/text/DefaultCaret.java
9221 (appear): Ignore BadLocationException.
9222 (paint): Ignore BadLocationException.
9223 * javax/swing/text/FlowView.java
9224 (changedUpdate): Also notify the layoutPool view.
9225 (removeUpdate): Also notify the layoutPool view.
9226 * javax/swing/text/ParagraphView.java
9227 (Row.getViewIndexAtPosition): Overridden to search linearily
9228 through the view instead of relying on a 1:1 model to view
9230 * javax/swing/text/View.java
9231 (removeUpdate): Clear ElementChange object if updateChildren
9233 (forwardUpdate): Special handle some boundary cases.
9235 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9237 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9238 (hasInheritedParameters): New method.
9239 (equals): Updated documentation.
9240 Take into consideration the outcome of hasInheritedParameters invocation.
9241 (toString): Call hasInheritedParameters and adjust the result accordingly.
9242 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9243 Updated documentation.
9244 Handle case of public keys with null p, q, and g MPIs.
9245 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9247 2006-08-07 Tom Tromey <tromey@redhat.com>
9250 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9251 (attachment): Likewise.
9252 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9254 (isValid): Likewise.
9255 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9257 (interestOps): Synchronize.
9258 (readyOps): Likewise.
9259 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9262 2006-08-07 C. Scott Marshall <csm@gnu.org>
9265 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9266 the mark has been set.
9267 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9268 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9271 2006-08-07 Sven de Marothy <sven@physto.se>
9273 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9274 (drawGlyphVector): Synchronize against font object when drawing.
9275 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9276 (nativeDrawGlyphVector): Use pango locking when drawing.
9277 (install_font_peer): Use pango locking when creating the cairo face.
9279 2006-08-06 Roman Kennke <kennke@aicas.com>
9282 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9283 (getPreferredSize): Renamed method to preferredSize(). That's
9284 the one that gets called from java.awt.*.
9285 * java/awt/peer/ComponentPeer.java
9286 (getPreferredSize): Added specnote about this method never
9287 beeing called in the RI.
9288 (getMinimumSize): Added specnote about this method never
9289 beeing called in the RI.
9291 2006-08-03 Sven de Marothy <sven@physto.se>
9293 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9294 (grab, nativeGrab): New methods.
9295 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9296 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9297 (nativeGrab): New method.
9298 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9300 * java/awt/Component.java
9301 (printAll): Should call peer print method.
9303 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9305 * java/net/URL.java (getContent(Class[])): Implement.
9307 2006-08-06 Mark Wielaard <mark@klomp.org>
9310 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9311 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9313 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9316 2006-08-06 Roman Kennke <kennke@aicas.com>
9318 * NEWS: Added note about the X peers.
9319 * INSTALL: Added install notes about the X peers.
9321 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9322 Paul Jenner <psj@harker.dyndns.org>
9324 * README: Update bug, patches and cvs instructions plus new URLs of
9325 various external projects.
9327 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9329 * configure.ac (MOZILLA_FOUND): Fall back to
9330 mozilla-firefox-plugin.
9332 2006-08-06 Mario Torre <neugens@limasoftware.net>
9334 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9335 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9336 g_type_init earlier in function to correctly initialize the
9337 type system used by the backend.
9339 2006-08-05 Roman Kennke <kennke@aicas.com>
9341 * javax/swing/text/DefaultHighlight.java
9342 (DefaultHighlightPainter.paintHighlight): Removed method.
9343 (DefaultHighlightPainter.paintLayer): Implemented.
9344 (DefaultHighlightPainter.paint): Implemented more efficient
9345 painting for multiline-highlights.
9346 (HighlightEntry.p0): Changed to be a Position.
9347 (HighlightEntry.p1): Changed to be a Position.
9348 (HighlightEntry.HighlightEntry): Changed to take Position
9350 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9351 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9352 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9353 and tracks the painted rectangle for efficient repainting.
9354 (addHighlight): Handle layered highlight.
9355 (changeHighlight): Handle layered highlight.
9356 (paintLayeredHighlights): Implemented.
9357 (paint): Paint only non-layered highlights here.
9358 (removeAllHighlights): Trigger correct repaint.
9359 (removeHighlight): Handle layered highlight here for
9360 more efficient repainting.
9361 * javax/swing/text/GlyphView.java
9362 (paint): Handle layered highlights.
9363 * javax/swing/text/PlainView.java
9364 (paint): Handle layered highlights.
9365 * javax/swing/text/WrappedPlainView.java
9366 (WrappedLine.paint): Handle layered highlights.
9368 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9371 * NEWS: As suggested by Paul Jennier, added note about the fix of
9374 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9376 * NEWS: Added entry about the context factories for JNDI.
9378 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9381 * gnu/CORBA/Connected_objects.java (size): New method.
9382 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9384 * javax/naming/spi/NamingManager.java (getURLContext):
9385 Also search for the URL context factories in
9386 gnu/javax/naming/jndi/url.
9387 * gnu/javax/naming/giop/ContextContinuation.java,
9388 gnu/javax/naming/giop/CorbalocParser.java,
9389 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9390 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9391 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9392 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9393 gnu/javax/naming/giop/ListEnumeration.java,
9394 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9395 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9396 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9397 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9398 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9399 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9400 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9401 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9403 2006-08-06 Sven de Marothy <sven@physto.se>
9405 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9406 (drawGlyphVector): Synchronize against font object when drawing.
9407 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9408 (nativeDrawGlyphVector): Use pango locking when drawing.
9409 (install_font_peer): Use pango locking when creating the cairo face.
9411 2006-08-06 C. Scott Marshall <csm@gnu.org>
9414 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9415 the mark has been set.
9416 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9417 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9420 2006-08-06 Mark Wielaard <mark@klomp.org>
9423 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9424 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9426 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9429 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9430 Paul Jenner <psj@harker.dyndns.org>
9432 * README: Update bug, patches and cvs instructions plus new URLs of
9433 various external projects.
9435 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9437 * gnu/java/lang/management/BeanImpl.java:
9438 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9440 (getCachedMBeanInfo()): Return open variant.
9441 (getMBeanInfo()): Likewise.
9442 (getTypeFromClass(Class)): Implemented.
9443 (translateSignature(MBeanParameterInfo)): Likewise.
9444 (translate(String)): Likewise.
9445 * javax/management/StandardMBean.java:
9446 (getMBeanInfo()): Return attribute names with capital letters,
9447 as in docs for java.lang.management.ManagementFactory, and
9448 ensure descriptions are not "".
9449 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9450 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9451 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9452 (toString()): Use Arrays.toString().
9453 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9454 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9455 Set open type here rather than in other constructors.
9457 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9459 * javax/management/MBeanFeatureInfo.java:
9460 Make string variable package-private.
9461 * javax/management/StandardMBean.java:
9462 (getMBeanInterface()): Made final.
9463 * javax/management/openmbean/SimpleType.java:
9466 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9468 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9471 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9473 * examples/gnu/classpath/examples/swing/FillRect.java,
9474 * gnu/CORBA/Focused_ORB.java,
9475 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9476 * gnu/classpath/ByteArray.java,
9477 * gnu/classpath/ObjectPool.java,
9478 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9479 * gnu/java/awt/peer/x/fonts.properties,
9480 * gnu/java/security/util/Prime2.java,
9481 * gnu/javax/imageio/gif/GIFStream.java,
9482 * javax/swing/text/html/HTMLTableView.java,
9483 * native/cni/Makefile.am,
9484 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9485 * org/omg/CORBA/SendingContext/Runtime.java,
9486 * resource/gnu/regexp/MessagesBundle.properties,
9487 * resource/gnu/regexp/MessagesBundle_fr.properties,
9488 * resource/gnu/regexp/MessagesBundle_it.properties,
9489 * tools/appletviewer.in,
9490 * tools/jarsigner.in,
9492 * vm/reference/java/lang/management/VMThreadInfo.java:
9494 * examples/gnu/classpath/examples/awt/aicas.png,
9495 * examples/gnu/classpath/examples/awt/palme.gif,
9496 * examples/gnu/classpath/examples/java2d/aicas.png,
9497 * examples/gnu/classpath/examples/java2d/palme.gif,
9498 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9499 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9500 * java/awt/doc-files/capjoin.png,
9501 * java/awt/geom/doc-files/Area-1.png,
9502 * java/awt/geom/doc-files/Ellipse-1.png,
9503 * java/awt/geom/doc-files/GeneralPath-1.png:
9506 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9511 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9513 * gnu/java/lang/management/BeanImpl.java:
9514 (getAttribute(String)): Implemented.
9516 2006-08-05 Roman Kennke <kennke@aicas.com>
9518 * javax/swing/text/JTextComponent.java
9519 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9520 (AccessibleJTextComponent.textComp): Removed field
9521 and replace with JTextComponent.this construct.
9522 (AccessibleJTextComponent.AccessibleJTextComponent):
9523 Fetch caret position.
9524 (caretUpdate): Implemented. Fires property change events and
9525 updates the caretDot field.
9526 (changedUpdate): Implemented. Fires property change events.
9527 (insertUpdate): Implemented. Fires property change events.
9528 (removeUpdate): Implemented. Fires property change events.
9529 (cut): Replaced textComp with JTextComponent.this construct.
9530 (paste): Replaced textComp with JTextComponent.this construct.
9531 (replaceText): Replaced textComp with JTextComponent.this construct.
9532 (selectText): Replaced textComp with JTextComponent.this construct.
9533 (getCaretPosition): Replaced textComp with JTextComponent.this
9535 (getCharCount): Replaced textComp with JTextComponent.this construct.
9536 (getSelectedText): Replaced textComp with JTextComponent.this
9538 (getSelectionEnd): Replaced textComp with JTextComponent.this
9540 (getSelectionStart): Replaced textComp with JTextComponent.this
9542 (getTextRange): Replaced textComp with JTextComponent.this
9544 (doAccessibleAction): Implemented.
9545 (getAccessibleActionCount): Implemented.
9546 (getAccessibleActionDescription): Implemented.
9547 (getAccessibleStateSet): Implemented.
9548 (getAfterIndex): Implemented.
9549 (getBeforeIndex): Implemented.
9550 (getAtIndex): Implemented.
9551 (getAtIndexImpl): New helper method.
9552 (getCharacterAttribute): Implemented.
9553 (getCharacterBounds): Implemented.
9554 (getIndexAtPoint): Implemented.
9555 (insertTextAtIndex): Implemented.
9556 (setAttributes): Implemented.
9557 (setTextContents): Implemented.
9559 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9561 * configure.ac: Better handling of default-preferences-peer option.
9563 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9565 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9568 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9570 * javax/management/openmbean/TabularData.java:
9571 Documentation corrections.
9572 * javax/management/openmbean/TabularDataSupport.java:
9575 2006-08-04 Francis Kung <fkung@redhat.com>
9577 * java/awt/BasicStroke.java
9578 (dashedStroke): Implemented.
9580 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9582 * javax/management/BadAttributeValueExpException.java,
9583 * javax/management/BadStringOperationException.java,
9584 * javax/management/InstanceAlreadyExistsException.java,
9585 * javax/management/InstanceNotFoundException.java,
9586 * javax/management/InvalidApplicationException.java,
9587 * javax/management/MBeanRegistrationException.java,
9588 * javax/management/MalformedObjectNameException.java,
9589 * javax/management/RuntimeErrorException.java,
9590 * javax/management/RuntimeMBeanException.java,
9591 * javax/management/ServiceNotFoundException.java:
9594 2006-08-04 Roman Kennke <kennke@aicas.com>
9596 * javax/swing/SwingUtilities.java
9597 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9598 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9599 layoutCompoundLabelImpl().
9600 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9601 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9602 layoutCompoundLabelImpl().
9603 (layoutCompoundLabelImpl): New helper method. Moved impl from
9604 layoutCompoundLabel() to here and added handling of HTML.
9605 * javax/swing/plaf/basic/BasicButtonUI.java
9606 (installUI): Update HTML view if appropriate.
9607 (uninstallUI): New method. Do the usual uninstallUI things
9608 and uninstall HTML view.
9609 (getMinimumSize): New method. Adjusts the minimum size
9610 by the HTML view minimum size.
9611 (getMaximumSize): New method. Adjusts the maximum size
9612 by the HTML view maximum size.
9613 (getPreferredSize): Pass the button's iconTextGap to the
9614 BasicGraphicsUtils method.
9615 (paint): Let HTML view paint the text, if present.
9616 * javax/swing/plaf/basic/BasicButtonListener.java
9617 (propertyChange): Update the HTML view when the button's
9620 2006-08-04 Mario Torre <neugens@limasoftware.net>
9622 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9623 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9624 g_type_init earlier in function to correctly initialize the
9625 type system used by the backend.
9627 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9630 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9632 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9634 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9636 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9638 * gnu/xml/dom/DomIterator.java:
9639 (successor): Added if-statement.
9641 2006-08-04 Mark Wielaard <mark@klomp.org>
9643 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9645 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9647 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9648 (update): Check size and paint smaller gradient.
9649 * javax/swing/plaf/metal/MetalBorders.java:
9650 (MenuBarBorder): Removed borderColor field.
9651 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9654 2006-08-03 Roman Kennke <kennke@aicas.com>
9657 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9658 (ComponentHandler.componentResized): Reimplemented to handle
9660 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9661 component listener on changed ancestor.
9662 (installListeners): Install componentListener.
9663 (uninstallListeners): Uninstall componentListener.
9665 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9667 * StrictMath.java (cbrt): Return argument if it is a NaN.
9672 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9674 * java/lang/StrictMath.java (tanh): New method.
9676 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9678 * scripts/import-cacerts.sh: Batch CA certificates import script.
9680 2006-08-03 Roman Kennke <kennke@aicas.com>
9683 * javax/swing/plaf/basic/BasicListUI.java
9684 (paintCell): Pass row index to cell renderer.
9685 * javax/swing/plaf/basic/MetalFileChooserUI.java
9686 (DirectoryComboBoxRenderer.indentIcon): New field.
9687 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9688 Initialize indentIcon.
9689 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9690 Fall back to super and removed standard functionality.
9692 (IndentIcon): New class. Wraps and indents another icon.
9694 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9696 * javax/management/MBeanConstructorInfo.java:
9697 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9698 Copy array rather than directly assigning.
9699 * javax/management/MBeanInfo.java:
9700 (MBeanInfo(String,String,MBeanAttributeInfo[],
9701 MBeanConstructorInfo[], MBeanOperationInfo[],
9702 MBeanNotificationInfo[])): Likewise.
9703 * javax/management/MBeanOperationInfo.java:
9704 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9706 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9707 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9709 * javax/management/openmbean/OpenMBeanInfo.java:
9710 Corrected documentation.
9711 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9713 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9714 Corrected documentation.
9715 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9717 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9718 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9719 Call other constructor rather than reimplementing.
9721 2006-08-02 Lillian Angel <langel@redhat.com>
9723 * java/awt/dnd/DragSource.java
9724 (isDragImageSupported): Implemented.
9725 (getDragThreshold): Changed default value.
9726 * java/awt/dnd/DropTarget.java
9727 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9728 (DropTarget): Likewise.
9729 (DropTarget): If FlavorMap passed in is null, we should use the system default.
9730 (addDropTargetListener): Added check to determine if new DropTargetListener
9731 is this class. If so, an IllegalArgumentException is thrown. If the
9732 new listener is null, nothing happens.
9734 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9736 * configure.ac (MOZILLA_FOUND): Fall back to
9737 mozilla-firefox-plugin.
9739 2006-08-02 Sven de Marothy <sven@physto.se>
9741 * java/awt/geom/AffineTransform.java
9742 (hashCode): Tweak impl.
9743 * java/awt/font/FontRenderContext.java
9744 (hashCode): Implement.
9746 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
9748 * java/lang/StrictMath.java (sinh): New method.
9750 2006-08-02 Roman Kennke <kennke@aicas.com>
9753 * javax/swing/JComboBox.java
9754 (setSelectedItem): Fire ActionEvent here.
9755 * javax/swing/plaf/basic/BasicDirectoryModel.java
9756 (directories): Changed to type Vector.
9758 (loadThread): New field.
9759 (DirectoryLoadThread): New inner class. This loads the contents
9760 of directories asynchronously.
9761 (getDirectories): Return cached Vector.
9762 (getFiles): Return cached Vector.
9763 (getSize): Return plain size of contents Vector.
9764 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9765 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9766 (sort): Don't store sorted list in contents. This must be done
9767 asynchronously from the EventThread.
9768 (validateFileCache): Rewritten for asynchronous reading
9769 of directory contents.
9770 * javax/swing/plaf/basic/BasicFileChooserUI.java
9771 (installListeners): Install model as PropertyChangeListener.
9772 (uninstallListeners): Uninstall model as PropertyChangeListener.
9773 (createPropertyChangeListener): Return null just like the
9776 2006-08-02 Sven de Marothy <sven@physto.se>
9778 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9779 (remove): Force event on removing item 0 when it's selected.
9780 (handleEvent): Always call Choice.selected().
9781 * java/awt/Choice.java:
9782 (remove): Simplify and correct.
9784 2006-08-02 Mark Wielaard <mark@klomp.org>
9787 * configure.ac (gconf-peer): Check for gdk-2.0.
9788 * native/jni/gconf-peer/Makefile.am
9789 (AM_LDFLAGS): Use GDK_LIBS.
9790 (AM_CFLAGS): Use GDK_CFLAGS.
9792 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9794 * java/net/URL.java (getContent(Class[])): Implement.
9796 2006-08-02 Roman Kennke <kennke@aicas.com>
9799 * javax/swing/JMenu.java
9800 (JMenu()): Removed setting of delay.
9801 (JMenu(String)): Removed setting of delay.
9802 (JMenu(Action)): Removed setting of delay.
9803 (JMenu(String,boolean)): Removed setting of delay.
9804 (setSelectedHelper): Removed unneeded method.
9805 (setSelected): Simply set the model state.
9806 (setPopupMenuVisible): Recognize the popup location
9807 determined by getPopupMenuOrigin().
9808 (getPopupMenuOrigin): Recognize the UI properties for
9810 (menuSelectionChanged): Call setSelected() directly.
9811 * javax/swing/JPopupMenu.java
9812 (menuSelectionChanged): If invoker is a JMenu, then delegate
9813 to that to get the position right.
9814 * javax/swing/Popup.java
9815 (LightweightPopup.show): Insert the popup as first component
9816 in the layer, so that it overlaps it's caller.
9817 * javax/swing/plaf/basic/BasicMenuItemUI.java
9818 (getPath): Don't include the popup.
9819 * javax/swing/plaf/basic/BasicMenuUI.java
9820 (SelectMenuAction): New class. This invokes the popup when
9822 (installDefaults): Install delay of 200 ms.
9823 (setupPostTimer): Implemented.
9824 (MouseInputHandler.mouseClicked): Do nothing here.
9825 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9826 magic to handle the selection. Open the menu via a timer.
9827 (MouseInputHandler.mousePressed): Use MenuSelectionManager
9828 magic to handle the selection. Open the menu via a timer.
9829 (MenuDragMouseHandler.menuMouseDragged): Probably use
9831 (menuDragMouseEntered): Do nothing here.
9833 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9835 * javax/management/openmbean/InvalidOpenTypeException.java,
9836 * javax/management/openmbean/KeyAlreadyExistsException.java:
9839 2006-08-02 Roman Kennke <kennke@aicas.com>
9842 * javax/swing/plaf/basic/BasicChooserUI.java
9843 (BasicFileView.getName): Fetch the real name from the
9844 file chooser's FileSystemView.
9845 * javax/swing/plaf/metal/MetalChooserUI.java
9846 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9847 Set the text fetched from the JFileChooser.getName().
9848 * javax/swing/FileSystemView.java
9849 (createFileObject): When file is a filesystem root,
9850 create a filesystem root object first.
9851 (getSystemDisplayName): Return the filename. Added specnote
9852 about ShellFolder class that is mentioned in the spec.
9853 * javax/swing/UnixFileSystemView.java
9854 (getSystemDisplayName): Implemented to return the real name
9855 of a file, special handling files like '.' or '..'.
9857 2006-08-03 Mark Wielaard <mark@klomp.org>
9859 * examples/gnu/classpath/examples/icons/badge.png: Add file.
9861 2006-08-03 Roman Kennke <kennke@aicas.com>
9864 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9865 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9866 components when visual property chanegs.
9868 2006-08-03 Roman Kennke <kennke@aicas.com>
9871 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9872 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9873 component when visual properties change.
9875 2006-08-03 Roman Kennke <kennke@aicas.com>
9878 * javax/swing/JTree.java
9879 (JTree(TreeModel)): Set cell renderer to null.
9880 * javax/swing/plaf/basic/BasicTreeUI.java
9881 (setCellRenderer): Finish editing before setting the
9882 cell renderer. Refresh the layout. Don't set the
9883 currentCellRenderer field here (that's done in updateRenderer).
9884 (updateRenderer): Handle createdRenderer field here too.
9885 Set renderer to a default handler when the current renderer
9886 in the JTree is null.
9888 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9891 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9893 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9896 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9897 Updated documentation to clarify that RFC-2459 states that the parameters
9898 field of the AlgorithmIdentifier element MUST be NULL if present.
9899 Amended the code to reflect the specs.
9900 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9902 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9904 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9905 Call parameter 'defaultValue' not 'defValue'.
9907 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9909 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9912 2006-08-01 Roman Kennke <kennke@aicas.com>
9915 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9916 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9917 components when visual property chanegs.
9919 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9921 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9922 (toString()): Corrected documentation.
9923 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9924 * javax/management/openmbean/OpenMBeanInfo.java,
9925 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9927 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9928 (toString()): Corrected documentation.
9930 2006-08-01 Tania Bento <tbento@redhat.com>
9932 * java/awt/Choice.java
9933 (remove(int)): Added documentation.
9935 2006-08-01 Tania Bento <tbento@redhat.com>
9937 * java/awt/Choice.java
9938 (remove(int)): An IllegalArgumentException should not be thrown
9939 if int is invalid. Update selectedIndex and peer selection.
9941 2006-08-01 Tania Bento <tbento@redhat.com>
9943 * java/awt/CardLayout.java
9944 (toString): Changed format of string outputted.
9945 (goToComponent): Changed the order of the if-clause.
9947 2006-07-31 Tom Tromey <tromey@redhat.com>
9949 * INSTALL: Updated for ASM.
9951 2006-07-31 Tom Tromey <tromey@redhat.com>
9954 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9955 (attachment): Likewise.
9956 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9958 (isValid): Likewise.
9959 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9961 (interestOps): Synchronize.
9962 (readyOps): Likewise.
9963 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9966 2006-07-31 Roman Kennke <kennke@aicas.com>
9968 * NEWS: Added note about the X peers.
9969 * INSTALL: Added install notes about the X peers.
9971 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
9973 * StrictMath.java (getLowDWord): Return long instead of int.
9974 (getHighDWord): Likewise.
9975 (buildDouble): Take two long arguments.
9976 (cbrt): Adapted to int -> long change.
9980 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
9982 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9985 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
9987 * java/security/Provider.java: Updated copyright year.
9988 Updated documentation.
9990 (put): Updated documentation.
9991 Added security manager check.
9992 Canonicalize the key before adding its mapping.
9993 (get): Override superclass implementation to use canonicalized keys.
9994 (remove): Updated documentation.
9995 Added security manager check.
9996 Canonicalize the key before removing its mapping.
9997 (clear): Updated documentation.
9998 Added security manager check.
9999 (toCanonicalKey): New method.
10001 2006-07-30 Matt Wringe <mwringe@redhat.com>
10003 * gnu/java/security/Engine.java
10004 (getInstance): Ignore self referencing aliases.
10006 2006-07-30 Mark Wielaard <mark@klomp.org>
10008 * javax/swing/JComponent.java (getListeners): Revert
10011 2006-07-30 Mark Wielaard <mark@klomp.org>
10013 * resource/java/security/classpath.security: Add /dev/urandom as
10014 default securerandom.source.
10016 2006-07-30 Mark Wielaard <mark@klomp.org>
10018 * java/util/GregorianCalendar.java (maximums): Months can have up to
10020 (nonLeniencyCheck): weeks is either 5 or 6.
10022 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
10024 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10025 * javax/management/openmbean/OpenMBeanParameterInfo.java:
10028 2006-07-30 Matt Wringe <mwringe@redhat.com>
10030 * gnu/java/security/Engine.java
10031 (getInstance): Ignore self referencing aliases.
10033 2006-07-30 Sven de Marothy <sven@physto.se>
10035 * java/awt/Choice.java:
10036 (accessibleAction): Call select() directly.
10037 (add, insert, remove): Reimplement.
10038 (dispatchEventImpl): Always call super.
10039 (processItemEvent): Does not set the index.
10040 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10041 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10043 (nativeAdd): Name changed to add.
10044 (selection_changed_cb): Simplify callback.
10045 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10046 (selected): New field.
10047 (add): Replaced with native impl.
10048 (handleEvent): New method.
10050 2006-07-30 Sven de Marothy <sven@physto.se>
10052 * java/awt/Choice.java:
10053 Reformat, fix copyright year.
10055 2006-07-29 Mark Wielaard <mark@klomp.org>
10057 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10058 static field isPaintingDoubleBuffered to not have the same name
10061 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10063 * examples/gnu/classpath/examples/management/TestBeans.java:
10065 * javax/management/MBeanAttributeInfo.java:
10066 (toString()): Implemented.
10067 * javax/management/MBeanConstructorInfo.java:
10068 (toString()): Implemented.
10069 * javax/management/MBeanFeatureInfo.java:
10070 (toString()): Implemented.
10071 * javax/management/MBeanInfo.java:
10072 (toString()): Implemented.
10073 * javax/management/MBeanNotificationInfo.java:
10074 (toString()): Implemented.
10075 * javax/management/MBeanOperationInfo.java:
10076 (toString()): Implemented.
10077 * javax/management/MBeanParameterInfo.java:
10078 (toString()): Implemented.
10079 * javax/management/StandardMBean.java:
10080 (getMBeanInfo()): Fix attribute naming.
10082 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10084 * gnu/java/lang/management/BeanImpl.java:
10085 Extended javax.management.StandardMBean.
10086 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10087 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10088 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10089 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10090 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10091 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10092 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10093 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10094 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10095 Call the superclass with the appropriate class.
10096 * java/lang/management/ManagementFactory.java:
10097 (getOperatingSystemMXBean()): Catch exception from
10099 (getRuntimeMXBean()): Likewise.
10100 (getClassLoadingMXBean()): Likewise.
10101 (getThreadMXBean()): Likewise.
10102 (getMemoryMXBean()): Likewise.
10103 (getCompilationMXBean()): Likewise.
10104 (getMemoryPoolMXBeans()): Likewise.
10105 (getMemoryManagerMXBeans()): Likewise.
10106 (getGarbageCollectorMXBeans()): Likewise.
10107 * javax/management/MBeanFeatureInfo.java:
10108 hashCode()): Fixed to check for null values.
10110 2006-07-29 Matt Wringe <mwringe@redhat.com>
10112 * gnu/java/security/Engine.java
10113 (getInstance): Add case insentivity to algorithm names
10114 * java/security/Provider.java
10115 (put): Stop using canonical key naming
10117 (toCanonicalKey): Method removed
10118 (get): Method removed, no longer needs to overwrite
10119 parent implementation
10121 2006-07-29 Mark Wielaard <mark@klomp.org>
10123 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10124 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10125 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10126 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10127 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10128 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10131 2006-07-29 Sven de Marothy <sven@physto.se>
10133 * java/math/BigDecimal.java
10134 Adjust copyright date.
10135 (divide(BigDecimal): Implement.
10136 (precision): Reimplement.
10137 (numDigitsInBigInteger, numDigitsInLong): Removed.
10138 (toString): Get exponent from string length,
10139 fix negative values with exponential form.
10140 (toEngineeringString): Same as for toString.
10141 (setScale): Throw ArithmeticException if scale < 0.
10143 2006-07-27 Francis Kung <fkung@redhat.com>
10145 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10146 (cp1): Renamed from first().
10147 (c2): Renamed from last().
10148 (first): Renamed to cp1().
10149 (getDisplacedSegments): Implemented.
10150 (last): Renamed to cp2().
10151 * gnu/java/awt/java2d/LineSegment.java
10152 (cp1): Renamed from first().
10153 (c2): Renamed from last().
10154 (first): Renamed to cp1().
10155 (last): Renamed to cp2().
10156 * gnu/java/awt/java2d/QuadSegment.java
10157 (cp1): Renamed from first().
10158 (c2): Renamed from last().
10159 (first): Renamed to cp1().
10160 (last): Renamed to cp2().
10161 * gnu/java/awt/java2d/Segment.java: Added comments.
10162 (first): New field.
10163 (Segment): Keep track of first element in list.
10164 (add): Update first & last element variables.
10165 (cp1): Renamed from first().
10166 (c2): Renamed from last().
10167 (first()): Renamed to cp1() to reduce ambiguity.
10168 (last()): Renamed to cp2() to reduce ambiguity.
10169 (reverseAll): Update first element variable..
10170 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10171 (draw): Remove flattening path iterator.
10172 * java/awt/BasicStroke.java: Clarified comments.
10173 (addSegments): Refactored some code into joinSegments and
10175 (capEnd): Rename of Segment.first() and Segment.end().
10176 (joinInnerSegments): New method.
10177 (joinOuterSegments): New method.
10178 (joinSegments): Refactored some code into joinOuterSegments.
10179 (solidStroke): Connect segments together properly.
10181 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10183 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10185 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10187 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10189 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10192 2006-07-28 Tom Tromey <tromey@redhat.com>
10194 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10196 2006-07-28 Lillian Angel <langel@redhat.com>
10198 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10199 Removed function declarations.
10200 (connect_signals_for_widget): Removed implementation because
10201 stub functions have been removed.
10202 (drag_begin_cb): Removed function.
10203 (drag_motion_cb): Likewise.
10204 (drag_data_get_cb): Likewise.
10205 (drag_data_delete_cb): Likewise.
10206 (drag_drop_cb): Likewise.
10207 (drag_end_cb): Likewise.
10208 (drag_data_received_cb): Likewise.
10210 2006-07-28 Mark Wielaard <mark@klomp.org>
10212 * configure.ac: Set version to 0.93-pre.
10214 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10216 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10218 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10220 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10221 (getCallbackHandler): Fully qualify linked class in javadoc.
10222 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10223 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10224 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10226 2006-07-27 Tom Tromey <tromey@redhat.com>
10228 PR classpath/28486:
10229 * java/net/URLStreamHandler.java (equals): Properly handle default
10230 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10232 2006-07-27 Roman Kennke <kennke@aicas.com>
10234 * javax/swing/text/AbstractDocument.java
10235 (documentCV): Made field private.
10236 (bypass): Made field private.
10237 (bidiRoot): New field.
10238 (AbstractDocument): Initialize bidiRoot.
10239 (getBidiRootElement): Return bidiRoot.
10240 (getRootElements): Adjusted to also return the bidiRoot element.
10241 (BranchElement.startOffset): Removed unneeded field.
10242 (BranchElement.endOffset): Removed unneeded field.
10243 (BranchElement.BranchElement): Removed unneeded fields.
10244 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10245 done automatically when there's no element left in the array.
10246 (BranchElement.getStartOffset): Likewise.
10247 (BranchElement.replace): Reordered calculations to avoid double
10249 (removeImpl): Silently ignore requests with length <= 0.
10250 * javax/swing/text/GapContent.java
10251 (createPosition): Removed explicit check for correct offset.
10252 This class can deal with offsets outside the document.
10253 (shiftEnd): Update all positions, even those outside the
10255 (adjustPositionsInRange): Fixed to also adjust positions outside
10256 the document boundary.
10258 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10260 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10262 (getParameter): Returns _klass field instead of determining
10263 class from _instance.
10264 (setCatchLoc): New method.
10265 (writeData): Now assumes Location deals with empty locations instead of
10267 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10268 locations and write out accordingly.
10269 (getEmptyLocation): New method.
10271 2006-07-27 Roman Kennke <kennke@aicas.com>
10273 * javax/swing/text/SimpleAttributeSet.java
10274 (EMPTY): Use EmptyAttributeSet for this field rather than
10275 SimpleAttributeSet.
10276 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10277 an empty and immutable AttributeSet.
10279 2006-07-27 Roman Kennke <kennke@aicas.com>
10281 * java/awt/Component.java
10282 (reshape): Invalidate the component itself only when the
10283 size has changed. Invalidate the parent always. Fixed
10284 repainting. Pulled out the notification into
10286 (notifyReshape): New helper method. Notify interested listeners
10288 (update): Simply call paint() without clearing the background.
10289 This is done in Container.update() if appropriate.
10290 (repaint): Delagate the repaint to the nearest heavyweight
10291 parent (for lightweights) and send an UPDATE event, rather than
10292 calling ComponentPeer.repaint().
10293 * java/awt/Container.java
10294 (backCleared): Removed field.
10295 (paint): Removed handling of backCleared flag.
10296 (update): Only paint if the container is actually
10297 showing. Removed handling of backCleared flag.
10299 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10301 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10303 (NavigateAction): New inner class.
10304 (NavigatePageDownAction): New inner class.
10305 (NavigatePageUpAction): New inner class.
10306 (RequestFocusAction): New inner class.
10307 (RequestFocusForVisibleComponentAction): New inner class.
10308 (FocusHandler.focusGained): Implemented.
10309 (FocusHandler.focusLost): Implemented.
10310 (MouseHandler.mouseReleased): Implemented.
10311 (MouseHandler.mousePressed): Rewritten.
10312 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10313 currentScrollLocation to 0.
10314 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10315 removed local variables, fixed indentation to stay under 80 column
10317 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10318 one, set selectedIndex to 0 if its negative, corrected start values
10319 for normalization, suppressed padding when only one tab run,
10320 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10321 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10322 80 column limit, corrected the starting value for the bounds fixing
10324 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10325 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10326 selectedRun, set start index for loop to 0.
10327 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10328 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10329 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10330 alignment and visibility handling.
10331 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10333 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10334 (currentScrollOffset): New field.
10335 (tabRuns): Rewritten documentation.
10336 (selectedColor): New field.
10337 (tempTextRect): New field.
10338 (tempIconRect): New field.
10339 (scrollTab): New method.
10340 (updateButtons): New method.
10341 (updateViewPosition): New method.
10342 (createLayoutManager): Reordered method calls, predefine new fields,
10343 register proper listeners.
10344 (uninstallComponents): Implemented.
10345 (installDefaults): Corrected property names, fixed indentation,.
10346 (uninstallDefaults): Set new fields to null.
10347 (uninstallListeners): Remove listeners from components neccessary for
10348 scrolling tab layout.
10349 (installKeyboardActions): Implemented.
10350 (uninstallKeyboardActions): Implemented.
10351 (paint): Paint tab area background.
10352 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10354 (getTabLabelShiftX): Rewritten.
10355 (getTabLabelShiftY): Rewritten.
10356 (paintFocusIndicator): Reindented.
10357 (paintTabBorder): Rewritten.
10358 (paintTabBackground): Corrected color usage, rewritten background
10359 rectangle painting.
10360 (paintContentBorderTopEdge): Rewritten.
10361 (paintContentBorderBottomEdge): Rewritten.
10362 (paintContentBorderLeftEdge): Rewritten.
10363 (paintContentBorderRightEdge): Rewritten.
10364 (tabForCoordinate): Return selected index when no tab could be
10365 found, removed FIXME note.
10366 (getRunForTab): Changed return value for first if-statement.
10367 (navigateSelectedTab): Fixed last argument for both
10368 getTabRunOffset() calls.
10369 (selectedNextTabInRun): Added scrolling code.
10370 (selectedPreviousTabInRun): Added scrolling code.
10371 (selectedNextTab): Added scrolling code.
10372 (selectedPreviousTab): Added scrolling code.
10373 (selectAdjacentRunTab): Added scrolling code.
10374 (getTextViewForTab): Added FIXME note.
10375 (calculateTabHeight): Changed FIXME note.
10376 (getTabRunOffset): Fixed indentation.
10377 (getNextTabIndexInRun): Corrected return value.
10378 (rotateInsets): Make TOP case the default in switch-statement.
10379 (getActionMap): New method.
10380 (createActionMap): New method.
10381 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10382 (createLayoutManager): Rewritten.
10383 (paintLeftTabBorder): Do not paint left line when previous tab
10384 is selected but current tab is the first in its run, do not paint
10385 left line when current tab is selected and is first in its run.
10386 (paintRightTabBorder): Added missing setColor() call, fixed color
10387 usage, do not paint right line if previous tab is selected but
10388 current tab is the first in its run.
10389 (paintBottomTabBorder): Do not paint left line if tab is selected
10390 and is the first tab in the last run.
10391 (paintFocusIndicator): New method.
10392 (getLabelShiftX): New method.
10393 (getLabelShiftY): New method.
10395 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10397 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10398 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10399 g_assert from unused obj.
10400 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10401 obj as unused and remove g_assert on it.
10403 2006-07-26 Roman Kennke <kennke@aicas.com>
10405 * javax/swing/RepaintManager.java
10406 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10408 (isCompletelyDirty): Consider a component completely dirty
10409 when it has a dirty region with Integer.MAX_VALUE.
10411 2006-07-26 Roman Kennke <kennke@aicas.com>
10413 * java/awt/KeyboardFocusManager.java
10414 (getGlobalFocusOwner): Explicitly check for thread security.
10415 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10416 (getGlobalFocusedWindow): Explicitly check for thread security.
10417 (getGlobalActiveWindow): Explicitly check for thread security.
10418 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10419 (getGlobalObject): Added new argument for specifying if
10420 a security check should be performed or not.
10421 (setGlobalObject): Don't check for thread security when
10422 calling getGlobalObject.
10424 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10426 * javax/management/MBeanConstructorInfo.java:
10428 * javax/management/MBeanInfo.java:
10429 (MBeanInfo(String,String,MBeanAttributeInfo[],
10430 MBeanConstructorInfo[], MBeanOperationInfo[],
10431 MBeanNotificationInfo[])): Implemented.
10432 (equals(Object)): Likewise.
10433 (getAttributes()): Likewise.
10434 (getConstructors()): Likewise.
10435 (getOperations()): Likewise.
10436 (hashCode()): Likewise.
10437 * javax/management/MBeanOperationInfo.java,
10438 * javax/management/NotCompliantMBeanException.java,
10439 * javax/management/StandardMBean.java:
10442 2006-07-26 Sven de Marothy <sven@physto.se>
10444 * java/awt/geom/GeneralPath.java: Fix severe typo.
10446 2006-07-26 Sven de Marothy <sven@physto.se>
10448 * include/java_lang_VMSystem.h
10449 * vm/reference/java/lang/VMSystem.java
10450 * native/jni/java-lang/java_lang_VMSystem.c
10451 (nanoTime, currentTimeMillis): Switch the former to native code and
10452 the latter to java.
10454 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10456 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10457 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10458 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10459 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10460 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10461 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10462 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10463 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10464 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10465 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10466 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10467 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10468 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10469 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10470 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10471 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10472 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10473 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10474 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10475 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10476 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10478 2006-07-26 Roman Kennke <kennke@aicas.com>
10480 * java/awt/KeyboardFocusManager.java
10481 (getFocusOwner): Don't check permanent owner.
10482 (getGlobalFocusOwner): Don't check permanent owner.
10484 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10486 * StrictMath.java (cosh): New method.
10487 (expm1): New method.
10488 (EXPM1_Q1): New field.
10489 (EXPM1_Q2): Likewise.
10490 (EXPM1_Q3): Likewise.
10491 (EXPM1_Q4): Likewise.
10492 (EXPM1_Q6): Likewise.
10494 2006-07-26 Roman Kennke <kennke@aicas.com>
10496 * javax/swing/plaf/basic/BasicButtonListener.java
10497 (mousePressed): Request focus if appropriate.
10498 * javax/swing/text/DefaultCaret.java
10499 (mousePressed): Also handle the focus of the text component
10500 as specified. Don't consume events.
10502 2006-07-26 Roman Kennke <kennke@aicas.com>
10504 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10505 (focusRequest): Removed field.
10506 (postFocusEvent(int,boolean,Component)): Removed.
10507 (postFocusEvent(int,boolean)): Reverted to post event using
10508 the heavyweight component.
10509 (requestFocus): Post focus event using the heavyweight
10511 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10512 (requestFocus): Post focus event using the heavyweight
10514 * java/awt/AWTEvent.java
10515 (isFocusManagerEvent): New field, indicating if this is
10516 an event that is redispatched by the KeyboardFocusManager.
10517 * java/awt/Component.java
10518 (requestFocusImpl): Register component for
10519 heavyweight->lightweight mapping.
10520 (dispatchEventImpl): Retarget focus events before dispatching
10521 to the KeyboardFocusManager. Use new AWTEvent flag instead
10522 of locking hack. Dispatch all events through the
10523 KeyboardFocusManager. Don't request focus on lightweight
10525 * java/awt/DefaultKeyboardFocusManager.java
10526 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10528 (handleFocusGained): Fixed handling of temporary vs permanent
10529 focus changes. Added some checks.
10530 (handleFocusLost): Fixed handling of temporary vs permanent
10531 focus changes. Added some checks.
10532 * java/awt/EventDispatchThread.java
10533 (run): Don't dispatch to KeyboardFocusManager here. This
10534 is done in Component.dispatchEventImpl().
10535 * java/awt/KeyboardFocusManager.java
10536 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10537 (focusRequests): New field.
10538 (retargetFocusEvent): New method. Retargets focus events
10539 that come from heavyweights to the correct lightweight component.
10540 (addLightweightFocusRequest): New method. Stores a mapping
10541 for later retargetting of heavyweight focus events.
10542 * java/awt/Window.java
10543 (addFocusListener): Removed bogus method. If at all, this
10544 should be performed in the KeyboardFocusManager.
10545 (Window): Don't install a focus listener on the Window.
10547 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10549 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10550 (drawLine): Apply shift to line coordinates.
10552 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10554 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10555 (copyimage): Do not call setRenderingHints() when the respective map
10557 (filter): Removed code to clone the ColorModel instance.
10558 * java/awt/image/ColorModel.java:
10559 (cloneColorModel): Removed.
10561 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10563 * javax/swing/JTabbedPane.java:
10564 (setSelectedIndex): Removed updating of component visibility status,
10566 (remove(Component)): Use indexOfComponent() to find whether we have
10567 to use super.remove(int) or removeTabAt().
10569 2006-07-26 Roman Kennke <kennke@aicas.com>
10571 * javax/swing/JOptionPane.java
10572 (createDialog): Add property change handler for closing
10573 the dialog when the value property changes.
10574 (ValuePropertyHandler): New inner helper class.
10575 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10576 (OptionPaneCloseAction): New class.
10577 (messageForeground): Removed field.
10578 (messageBorder): Removed field.
10579 (buttonBorder): Removed field.
10580 (addIcon): Configure the new label.
10581 (addMessageComponents): Configure newly created labels.
10582 (burstStringInto): Likewise.
10583 (createButtonArea): Install border here.
10584 (createMessageArea): Install border and foreground here.
10585 (createSeparator): Added comment and removed
10586 NotImplementedException.
10587 (installComponents): Don't install the UI defaults for the
10588 message and button area here. This is moved to the
10589 corresponding create* methods. Adjusted comment about
10591 (installDefaults): Removed initialization of removed fields.
10592 (installKeyboardActions): Implemented.
10593 (getActionMap): New helper method.
10594 (createDefaultActions): New helper method.
10595 (uninstallDefaults): Removed de-initialization of removed fields.
10596 (uninstallKeyboardActions): Implemented.
10597 (configureLabel): New helper method.
10598 * javax/swing/plaf/basic/BasicTableUI.java
10599 (getActionMap): Fixed the UI property names.
10600 * javax/swing/plaf/basic/BasicToolBarUI.java
10601 (getActionMap): Fixed the UI property names.
10603 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10605 * java/awt/image/BandedSampleModel.java
10606 (getDataElements): Check for negative x or y,
10607 (getPixels): Likewise,
10608 (getSamples): Likewise,
10609 (setSamples): Likewise.
10611 2006-07-26 Roman Kennke <kennke@aicas.com>
10613 * javax/swing/plaf/basic/BasicToolBarUI.java
10614 (ToolBarAction): New inner class for handling keyboard
10616 (installKeyboardActions): Implemented.
10617 (getActionMap): New helper method.
10618 (createDefaultActions): New helper method.
10619 (installListeners): Install focus listener on toolbar's
10620 children, rather than the toolbar itself.
10621 (navigateFocusedComp): Implemented.
10622 (uninstallKeyboardActions): Implemented.
10623 (uninstallListeners): Uninstall focus listener from
10624 toolbar's children, rather than the toolbar itself.
10625 (ToolBarContListener.componentAdded): Install focus
10626 listener on added child.
10627 (ToolBarContListener.componentRemoved): Uninstall focus
10628 listener from removed child.
10629 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10630 (ToolBarFocusListener.focusGained): Implemented.
10631 (ToolBarFocusListener.focusLost): Implemented.
10633 2006-07-26 Roman Kennke <kennke@aicas.com>
10635 * java/awt/DefaultKeyboardFocusManager.java
10636 (dispatchEvent): Notify old focus owner when it has lost
10639 2006-07-26 Roman Kennke <kennke@aicas.com>
10641 * javax/swing/plaf/basic/BasicTableUI.java
10642 (FocusHandler.focusGained): Implemented to refresh the
10644 (FocusHandler.focusLost): Implemented to refresh the
10646 (FocusHandler.repaintLeadCell): New helper method.
10647 (MouseInputHandler.mouseEntered): Do nothing here.
10648 (MouseInputHandler.mouseExited): Do nothing here.
10649 (MouseInputHandler.mouseMoved): Do nothing here.
10650 (installKeyboardActions): Rewritten to use a shared InputMap
10651 and ActionMap and correctly install the maps via SwingUtilities
10653 (getActionMap): New helper method.
10654 (createDefaultActions): New helper method.
10655 (ActionListenerProxy): Removed unneeded class.
10656 (TableAction): Made class static.
10657 (TableAction.actionPerformed): Determine table by fetching
10658 the event source. Pass the table to helper methods.
10659 Use __command__ hack to determine the action command.
10660 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10661 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10662 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10663 (TableAction.getLastVisibleRowIndex): Get table as argument.
10664 (TableAction.advanceMultipleSelection): Get table as argument.
10665 (uninstallDefaults): Do nothing here.
10666 (uninstallKeyboardActions): Uninstall the keyboard actions.
10668 2006-07-26 Roman Kennke <kennke@aicas.com>
10670 * javax/swing/JComponent.java
10671 (processKeyBinding): Store the action command as property
10672 in the Action instance that we call. This allows for
10673 improvement on the side of the Action.
10675 2006-07-26 Roman Kennke <kennke@aicas.com>
10677 * javax/swing/plaf/metal/MetalUtils.java
10678 (fillMetalPattern): Use fillRect() instead of drawLine() to
10679 fill single pixels.
10681 2006-07-26 Roman Kennke <kennke@aicas.com>
10683 * javax/swing/text/GapContent.java
10684 (getChars): Check for negative length and throw
10685 BadLocationException.
10687 2006-07-26 Roman Kennke <kennke@aicas.com>
10689 * javax/swing/plaf/basic/BasicMenuBarUI.java
10690 (FocusAction): Made class static.
10692 2006-07-26 Roman Kennke <kennke@aicas.com>
10694 * javax/swing/plaf/basic/BasicLookAndFeel.java
10695 (initComponentDefaults): Add keyboard bindings for
10698 2006-07-26 Roman Kennke <kennke@aicas.com>
10700 * javax/swing/UIManager.java
10701 (getLookAndFeelDefaults): Return the look and feel defaults.
10702 (setLookAndFeel): Improved exception messsage.
10704 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10706 * javax/swing/text/StringContent.java
10707 (StringContent): Changed initialLength to 10.
10709 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10711 * java/util/Vector.java: Fixed API doc typo.
10713 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10715 * java/awt/image/BandedSampleModel.java
10716 (createCompatibleSampleModel): Fixed typo in loop increment, set
10717 correct scanlineStride, and updated API docs.
10719 2006-07-25 Roman Kennke <kennke@aicas.com>
10721 * javax/swing/plaf/basic/BasicPopupMenuUI.java
10722 (NavigateAction): New inner class. This is responsible for
10723 keyboard navigation through menus.
10724 (KeyboardHelper): New inner class. This manages the
10725 keyboard mappings and focus when a popup opens or closes.
10726 (keyboardHelper): New static field.
10727 (numPopups): New static field.
10728 (installUI): Create KeyboardHelper for first popup.
10729 Call installKeyboardActions().
10730 (installKeyboardActions): Removed NotImplementedException.
10731 This method is a no-op.
10732 (installKeyboardActionsImpl): New method. Installs keyboard
10733 mapping when a popup is opened.
10734 (getActionMap): New helper method.
10735 (createDefaultActions): New helper method.
10736 (uninstallUI): Uninstall KeyboardHelper when last Popup is
10737 uninstalled. Call uninstallKeyboardActions().
10738 (uninstallKeyboardActions): Removed NotImplementedException.
10739 This method is a no-op.
10740 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10741 mapping when a popup is closed.
10743 2006-07-25 Roman Kennke <kennke@aicas.com>
10745 * java/awt/Component.java
10746 (requestFocus()): Reimplemented to use requestFocusImpl().
10747 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10748 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10749 (requestFocusInWindow(boolean)): Reimplemented to use
10750 requestFocusImpl().
10751 (requestFocusImpl): Reimplemented focus request to use
10752 new peer method. Also added some obvious additional checks
10753 for rejecting focus requests early.
10754 * java/awt/ComponentPeer.java
10755 (requestFocus(Component,boolean,boolean,long)): Documented
10757 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10758 (requestFocus): New field.
10759 (gtkWidgetHasFocus): New native method.
10760 (gtkWidgetCanFocus): New native method.
10761 (requestFocus): Replaced with assert false to prevent
10762 usage of obsolete method.
10763 (postFocusEvent(int,boolean,Component)): New overloaded method
10764 for posting the focus event to a specific target.
10765 (postFocusEvent(int,boolean)): Post event to requestFocus
10767 (requestFocus(Component,boolean,boolean,long)): Implemented.
10768 (getWindowFor): New helper method.
10769 (isLightweightDescendant): New helper method.
10770 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10771 (gtkWindowHasFocus): New native method.
10772 (requestFocus(Component,boolean,boolean,long)): New method.
10773 Overrides GtkComponentPeer method to specially handly the
10774 case when a Window receives a focus request for a lightweight
10776 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10777 (gtkWidgetHasFocus): New native method.
10778 (gtkWidgetCanFocus): New native method.
10779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10780 (gtkWindowHasFocus): New native method.
10781 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10782 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10785 2006-07-25 Francis Kung <fkung@redhat.com>
10787 * java/awt/DefaultKeyboardFocusManager.java
10788 (dispatchEvent): Add check for valid component.
10790 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
10792 * javax/management/MBeanConstructorInfo.java:
10794 * javax/management/MBeanNotificationInfo.java:
10796 * javax/management/MBeanParameterInfo.java:
10799 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10801 * java/awt/peer/gtk/CairoGraphics.java:
10802 (drawLine): Added special case for 1 pixel lines.
10804 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10807 * java/awt/peer/gtk/CairoGraphics.java:
10808 (drawLine): Removed calls to shifted().
10810 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10812 * javax/swing/JTabbedPane.java:
10813 (remove(Component)): Rewritten.
10814 (setSelectedIndex): Implemented updating of component visibility state.
10816 2006-07-25 Sven de Marothy <sven@physto.se>
10818 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10819 (init): Default to the actual depth in the worst case.
10821 * java/awt/Font.java
10822 (createFont(int, File)): New method.
10824 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
10827 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10829 (RETokenEnd): New constructer to set check_java_line_terminators.
10830 (matchThis): Checck line terminators if check_java_line_terminators.
10831 * gnu/java/util/regex/RETokenStart.java: Likewise.
10832 * gnu/regexp/RE.java(initialize): Use the new constructors for
10833 RETokenEnd and RETokenStart if REG_MULTILINE is set.
10834 * java/util/regex/Pattern.java(Patteren): Changed so that
10835 gnu/regexp/RE.java may use the new the new constructors.
10837 2006-07-25 Roman Kennke <kennke@aicas.com>
10839 * java/awt/Container.java
10840 (focusTraversalPolicyProvider): New field.
10841 (isFocusTraversalPolicyProvider): New method.
10842 (setFocusTraversalPolicyProvider): New method.
10843 * java/awt/ContainerOrderFocusTraversalPolicy.java
10844 (getFirstComponent): Use accept() instead of lengthy checks.
10845 Don't fetch getComponents() to avoid copying of array.
10846 Traverse down the hierarchy to find the first focused component.
10847 * java/awt/DefaultKeyboardFocusManager.java
10848 (dispatchEvent): Let the initial component request focus.
10850 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10852 * javax/swing/text/Segment.java
10853 (last): Update current index before returning DONE for zero count.
10855 2006-07-24 Mark Wielaard <mark@klomp.org>
10857 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10859 2006-07-25 Roman Kennke <kennke@aicas.com>
10861 * javax/swing/plaf/basic/BasicMenuBarUI.java
10862 (FocusAction): New inner class. Used to grab focus.
10863 (installKeyboardActions): Implemented.
10864 (uninstallKeyboardActions): Implemented.
10865 (getActionMap): New helper method.
10866 (createDefaultActions): New helper method.
10868 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10870 * examples/gnu/classpath/examples/swing/Demo.java:
10871 (mkMenuBar): Install instantiable basic look and feel.
10872 (InstantiableBasicLookAndFeel): New inner class.
10874 2006-07-25 Roman Kennke <kennke@aicas.com>
10876 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10877 (GlassPaneDispatcher.dragTarget): New field.
10878 (GlassPaneDispatcher.isDragging): New field.
10879 (GlassPaneDispatcher.pressedComponent): Removed field.
10880 (GlassPaneDispatcher.tempComponent): Removed field.
10881 (GlassPaneDispatcher.pressCount): Removed field.
10882 (GlassPaneDispatcher.mousePressed): Call
10883 borderListener.mousePressed() to activate the frame.
10884 (acquireComponentForMouseEvent): Removed method.
10885 (handleEvent): Rewritten.
10886 (redispatch): New method.
10887 (InternalFramePropertyChangeListener.propertyChange):
10888 Make glasspane invisible when frame is selected, and visible
10889 if it gets deselected.
10891 2006-07-25 Roman Kennke <kennke@aicas.com>
10893 * java/awt/LightweightDispatcher.java
10894 (handleMouseEvent): Dispatch event to real target if
10895 the dragTarget has become invisible in the meantime.
10897 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10899 * javax/swing/text/TabSet.java
10900 (equals): New method override for 1.5,
10901 (hashCode): Likewise,
10902 (toString): Added spaces to match reference implementation.
10904 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10906 * javax/management/IntrospectionException.java,
10907 * javax/management/MBeanAttributeInfo.java:
10909 * javax/management/MBeanNotificationInfo.java:
10910 Documentation cleanups.
10912 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10914 * javax/swing/text/TabSet.java
10915 (TabSet): Check for null argument,
10916 (getTab): Throw IllegalArgumentException for index out of bounds,
10917 (getTabIndexAfter): Changed test to '<=',
10918 and updated API docs all over,
10919 * javax/swing/text/TabStop.java: Updated API docs.
10921 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10923 * javax/swing/text/TabStop.java
10924 (toString): Don't use 'left ' prefix, and added space between tab
10925 location and '(w/leader)' suffix.
10927 2006-07-24 Francis Kung <fkung@redhat.com>
10929 * javax/swing/JComboBox.java
10930 (DefaultKeySelectionManager): Implemented.
10931 (createDefaultKeySelectionManager): Implemented.
10932 (getKeySelectionManager): Implemented.
10933 (processKeyEvent): Removed duplicate code.
10934 * javax/swing/JPopupMenu.java
10935 (selectionModel): Changed visibility.
10936 * javax/swing/plaf/basic/BasicComboBoxUI.java
10937 (KeyHandler.keyPressed): Added navigation keys.
10938 (configureEditor): Add key listener.
10939 (installListeners): Install focus listener to combo box.
10940 (isNavigationKey): Added enter, escape, and tab.
10941 (selectPreviousPossibleValue): Added out of bounds check.
10942 (unconfigureEditor): Remove key listener.
10943 * javax/swing/plaf/metal/MetalComboBoxButton.java
10944 (paintComponent): Highlight combo box when in focus.
10946 2006-07-24 Roman Kennke <kennke@aicas.com>
10948 * javax/swing/SwingUtilities.java
10949 (isLeftMouseButton): Fixed condition.
10950 * java/awt/LightweightDispatcher.java
10951 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10954 2006-07-24 Roman Kennke <kennke@aicas.com>
10956 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10957 (setPaint): Fixed scaleX and scaleY.
10959 2006-07-24 Roman Kennke <kennke@aicas.com>
10961 * javax/swing/JTable.java
10962 (handleInsert): Repaint the whole table for variable row
10963 height tables and an optimized region otherwise.
10964 (handleDelete): Likewise.
10965 (handleUpdate): Likewise.
10967 2006-07-24 Mario Torre <neugens@limasoftware.net>
10969 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10970 now explicity registerListeners on GtkMouseDragGestureRecognizer
10972 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10973 (unregisterListeners): new method, overrided from base class
10974 to rise visibility (from protected to public).
10975 (registerListeners): Likewise.
10976 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10977 removed call to registerListeners from the constructor.
10979 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
10981 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10982 * java/lang/management/MemoryPoolMXBean.java:
10983 (getType()): Changed return type to MemoryType.
10984 * java/lang/management/MemoryType.java:
10987 2006-07-23 Mark Wielaard <mark@klomp.org>
10989 * configure.ac: Check for moc and moc-qt4.
10991 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
10993 * java/awt/image/Kernel.java: API doc updates.
10995 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
10997 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11000 2006-07-22 Mark Wielaard <mark@klomp.org>
11002 * java/lang/Iterable.java: Import all of java.util.
11003 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11004 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11006 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11008 * doc/vmintegration.texinfo:
11009 Document getType(String).
11010 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11011 * java/lang/management/MemoryPoolMXBean.java:
11012 (getType()): Implemented.
11013 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11014 (getType(String)): Implemented.
11016 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11018 * doc/vmintegration.texinfo:
11019 Move end of itemization block.
11021 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
11023 * javax/swing/plaf/metal/MetalLookAndFeel.java:
11024 (initComponentDefaults): Added new properties, added comments.
11026 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11028 * doc/vmintegration.texinfo:
11029 Mention callback methods.
11030 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11031 (fireNotification(String,String,long,long,long,long,long)):
11032 Made package-private.
11033 (fireThresholdExceededNotification(String,long,long,long,
11034 long,long)): Likewise.
11035 (fireCollectionThresholdExceededNotification(String,long,
11036 long,long,long,long)): Likewise.
11037 * java/lang/management/MemoryMXBean.java:
11038 Document notifications.
11040 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11042 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11043 (fireNotification(String,String,long,long,long,long,long)):
11045 (fireThresholdExceededNotification(String,long,long,long,
11046 long,long)): Likewise.
11047 (fireCollectionThresholdExceededNotification(String,long,
11048 long,long,long,long)): Likewise.
11049 * java/lang/management/MemoryNotificationInfo.java:
11050 Use composite type from MemoryMXBeanImpl.
11051 * javax/management/openmbean/CompositeData.java:
11052 Correct documentation.
11053 * javax/management/openmbean/CompositeDataSupport.java,
11054 * javax/management/openmbean/InvalidKeyException.java:
11057 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11059 * gnu/java/security/util/IntegerUtil.java: New file.
11061 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
11064 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11065 (KEY_SIZE): Likewise.
11066 (adjustParity(int,byte[],int): New method.
11067 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11068 (isParityAdjusted(int,byte[],int)): New method.
11069 (isParityAdjusted): Call above method with 3 as 1st argument.
11070 (keySizes): Add 8 and 16 as other valid key sizes.
11071 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11073 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11075 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11076 code for the pixel swap routine to be more efficient.
11078 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11080 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11081 (lastIndexOf(E, int)): Likewise.
11082 (add(E)): Increase the size of newData array by one.
11083 (add(int, E)): Likewise.
11085 2006-07-20 Lillian Angel <langel@redhat.com>
11087 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11088 Removed unused fields.
11089 (GtkMouseDragGestureRecognizer): Removed initializations.
11091 2006-07-20 Lillian Angel <langel@redhat.com>
11093 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11094 (GtkMouseDragGestureRecognizer): New constructor.
11095 (GtkMouseDragGestureRecognizer): New constructor.
11096 (GtkMouseDragGestureRecognizer): New constructor.
11097 (mouseClicked): Removed FIXME.
11098 (mousePressed): Implemented.
11099 (mouseReleased): Implemented.
11100 (mouseEntered): Implemented.
11101 (mouseDragged): Implemented to check mouse point and trigger origin.
11102 (mouseMoved): Removed FIXME.
11103 (getDropActionFromEvent): New helper function used to convert mouse event
11104 modifiers to a drop action.
11105 * java/awt/dnd/DragSource.java
11106 (getDragThreshold): Changed to return some arbitrary value for testing
11109 2006-07-20 Roman Kennke <kennke@aicas.com>
11111 * java/awt/LightweightDispatcher.java
11112 (findTarget): Also consider components that have their eventMask
11113 set, for compatibility with stonage AWT. Optimized check
11115 (handleMouseEvent): Likewise.
11117 2006-07-20 Roman Kennke <kennke@aicas.com>
11119 * javax/swing/JTable.java
11120 (tableChanged): Split out handling of the event into multiple
11122 (handleCompleteChange): New method. Clear the selection and
11123 check the lead/anchor indices.
11124 (handleInsert): New method. Check the lead/anchor indices.
11125 Optimized repainting.
11126 (handleDelete): New method. Check the lead/anchor indices.
11127 Optimized repainting.
11128 (handleUpdate): New method. Optimized repainting.
11129 (checkSelection): New helper method.
11130 (setSelectionModel): Update lead/anchor indices.
11132 2006-07-20 Lillian Angel <langel@redhat.com>
11135 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11136 (dispose): Reset all fields.
11138 2006-07-20 Roman Kennke <kennke@aicas.com>
11140 * gnu/java/awt/peer/x/XToolkit.java
11141 (createImage(InputStream)): Only copy image to Pixmap if
11142 it's actually opaque. Transparent images are left as
11143 BufferedImage and composited later onto the screen.
11144 * gnu/java/awt/peer/x/XGraphics.java
11145 (XGraphics): Fetch some parameters for image rendering.
11146 (drawImage): Added special handling of transparent images.
11147 (getRGB): New helper method.
11148 (setRGB): New helper method.
11150 2006-07-20 Roman Kennke <kennke@aicas.com>
11152 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11153 ImageInputStreams as normal InputStreams.
11154 * gnu/javax/imageio/gif/GIFStream.java:
11155 Moved to gnu/javax/imageio/IIOInputStream.java.
11156 * gnu/javax/imageio/gif/GIFImageReader.java
11157 (readImage): Use IIOInputStream.
11158 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11159 (canDecodeInput): Use IIOInputStream.
11160 * gnu/javax/imageio/png/PNGException.java: Make subclass
11162 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11163 Implements the ImageIO ImageReader for PNG.
11164 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11165 Implements the ImageIO ImageReaderSpi for PNG.
11166 * javax/imageio/spi/IIORegistry.java:
11167 (IIORegistry): Add PNGImageReaderSpi.
11169 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11171 * java/awt/image/ComponentSampleModel.java
11172 (getPixel): Added argument check,
11173 (getSample): Modified exception message.
11175 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11178 * java/awt/image/ConvolveOp.java
11179 (filter(Raster, WritableRaster)): Reimplemented,
11180 (fillEdge): New private method.
11182 2006-07-19 Keith Seitz <keiths@redhat.com>
11184 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11185 (JVMTI_VERSION): Define.
11187 2006-07-19 Roman Kennke <kennke@aicas.com>
11189 * resource/gnu/regexp/MessagesBundle.properties,
11190 * resource/gnu/regexp/MessagesBundle_fr.properties,
11191 * resource/gnu/regexp/MessagesBundle_it.properties:
11192 Moved to resource/gnu/java/util/regex.
11193 * resource/gnu/java/util/regex/MessagesBundle.properties,
11194 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11195 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11197 * gnu/java/util/regex/RE.java
11198 Use new resource bundle location.
11200 2006-07-19 Roman Kennke <kennke@aicas.com>
11202 * javax/swing/JComponent.java
11203 (paintChildren): Refactored. The paintChildrenOptimized method
11204 has been moved back in here. Added locking of the tree and
11205 only check for completely obscured child components
11206 when not optimized drawing enabled. Use Graphics.create() to
11207 protect from irreversible changes.
11208 (isCompletelyObscured): New helper method.
11209 (paintComponent): Also use Graphics.create() for Graphics2D,
11210 to protect from irreverible changes.
11211 (clipAndTranslateGraphics): Refactored to use more efficient
11212 iterative (vs recursive) approach.
11213 * javax/swing/RepaintManager.java
11214 (getOffscreenBuffer): Create image from root component.
11216 2006-07-19 Roman Kennke <kennke@aicas.com>
11218 * gnu/java/awt/peer/x/XGraphics.java
11219 (translate): Don't set the clip on the X server.
11220 (clipRect): Use setXClip() to set the clip on the X server.
11221 (hitClip): More efficient and correct implementation.
11222 (setClip): Use setXClip() to set the clip on the X server.
11223 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11224 (copyArea): Translate and clip the source rectangle correctly.
11225 (dispose): Only flush when object is not yet disposed.
11226 (clone): Use setXClip() to set the clip on the X server.
11228 2006-07-19 Sven de Marothy <sven@physto.se>
11230 * gnu/javax/imageio/png/PNGChunk.java,
11231 * gnu/javax/imageio/png/PNGData.java,
11232 * gnu/javax/imageio/png/PNGDecoder.java,
11233 * gnu/javax/imageio/png/PNGEncoder.java,
11234 * gnu/javax/imageio/png/PNGException.java,
11235 * gnu/javax/imageio/png/PNGFile.java,
11236 * gnu/javax/imageio/png/PNGFilter.java,
11237 * gnu/javax/imageio/png/PNGGamma.java,
11238 * gnu/javax/imageio/png/PNGHeader.java,
11239 * gnu/javax/imageio/png/PNGICCProfile.java,
11240 * gnu/javax/imageio/png/PNGPalette.java,
11241 * gnu/javax/imageio/png/PNGPhys.java,
11242 * gnu/javax/imageio/png/PNGTime.java:
11245 2006-07-19 Sven de Marothy <sven@physto.se>
11247 * java/net/Inet6Address.java:
11248 (getScopedId, getScopedInterface): New methods.
11250 2006-07-19 Lillian Angel <langel@redhat.com>
11252 * examples/gnu/classpath/examples/awt/Demo.java
11253 (DragDropWindow): Fixed typo in Label text.
11254 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11255 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11256 (startDrag): Initialized context field.
11257 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11259 (dragEnter): New function.
11260 (dragExit): Likewise.
11261 (dragDropEnd): Likewise.
11262 (dragMouseMoved): Likewise.
11263 (dragOver): Likewise.
11264 (dragActionChanged): Likewise.
11266 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11269 * resource/java/security/classpath.security: Updated copyright year.
11270 (auth.login.defaultCallbackHandler): New property; set to our default
11271 callback handler. This is needed by the LoginContext when no callback
11272 handler was specified.
11273 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11274 (LoginContext(4)): Assign passed parameters to local fields before invoking
11277 2006-07-19 Roman Kennke <kennke@aicas.com>
11279 * gnu/java/awt/peer/x/XGraphics.java
11280 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11281 Fixed ordering of parameters.
11283 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11285 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11286 (MemoryMXBeanImpl()): Implemented.
11287 (ListenerData): New private class.
11288 (addNotificationListener(NotificationListener,
11289 NotificationFilter, Object)): Implemented.
11290 (getNotificationInfo()): Likewise.
11291 (removeNotificationListener(NotificationListener)):
11293 (removeNotificationListener(NotificationListener,
11294 NotificationFilter, Object)): Likewise.
11296 2006-07-18 Roman Kennke <kennke@aicas.com>
11298 * gnu/java/awt/peer/x/XFontPeer.java
11299 (encodeFont): Be more flexible with font sizes.
11300 (validSize): New helper method.
11301 * gnu/java/awt/peer/x/XGraphics.java
11302 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11304 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11306 * gnu/java/awt/peer/x/XImage.java
11307 (properties): New field.
11308 (getProperty): Implemented.
11309 * resource/gnu/java/awt/peer/x/fonts.properties:
11310 Added copyright header. Fixed font size field.
11312 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11314 * java/awt/image/BandedSampleModel.java
11315 (createDataBuffer): New method override,
11316 * java/awt/image/ByteLookupTable.java
11317 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11318 (ByteLookuptable(int, byte[])): Check for null array,
11319 * java/awt/image/ComponentSampleModel.java
11320 (createDataBuffer): Removed unnecessary braces,
11321 (getSample): Check (x, y) is within bounds,
11322 * java/awt/image/ShortLookupTable.java
11323 (ShortLookupTable(int, short[][])): Create new array to hold references,
11324 (ShortLookupTable(int, short[])): Check for null array,
11325 (getTable): Added API docs,
11326 (lookupPixel): Source reformatting.
11328 2006-07-18 Tania Bento <tbento@redhat.com>
11330 * java/awt/GridLayout.java
11331 (setHgap): Illegal Argument Exception should not be thrown if
11333 (setVgap): Illegal Argument Exception should not be thrown if
11335 (toString): Opening square braket ([) should appear before hgap
11336 value, not the name of the class.
11338 2006-07-18 Roman Kennke <kennke@aicas.com>
11340 * lib/copy-vmresources.sh.in: Reverted.
11341 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11342 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11344 2006-07-18 Roman Kennke <kennke@aicas.com>
11346 * lib/copy-vmresources.sh.in: Include properties from X peers.
11348 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11351 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11352 certificate validity.
11353 (getIssuerName): New method.
11354 (getSubjectName): Likewise.
11355 (getNotAfterDate): Likewise.
11356 (getNotBeforeDate): Likewise.
11357 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11358 messages for newly added messages in SFHelper.
11360 2006-07-18 Roman Kennke <kennke@aicas.com>
11362 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11363 * gnu/java/awt/peer/x/XEventPump.java
11364 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11365 * gnu/java/awt/peer/x/XFramePeer.java
11366 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11367 * gnu/java/awt/peer/x/XGraphics.java
11368 Made subclass of Graphics rather than Graphics2D. Removed
11369 all Graphics2D specific method stubs.
11370 (setColor): Map colors using the X color map that is
11371 stored in XToolkit.
11372 * gnu/java/awt/peer/x/XToolkit.java
11373 (colorMap): New field.
11374 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11376 (createDialog): Implemented.
11377 (createImage(ImageProducer)): Implemented.
11378 (createImage(InputStream)): Use createImage(ImageProducer)
11379 to convert the BufferedImage to an XImage.
11380 * gnu/java/awt/peer/x/XWindowPeer.java
11381 (XWindowPeer): Removed debug output.
11383 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11385 * java/awt/image/BufferedImageOp.java: API docs added,
11386 * java/awt/image/RasterOp.java: Likewise.
11388 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11390 * java/awt/Graphics2D.java: API docs updated.
11392 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11394 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11397 2006-07-18 Sven de Marothy <sven@physto.se>
11399 * java/net/Inet6Address.java:
11400 Add 1.5 serialized fields.
11401 (getByAddress): New methods.
11402 (readObject, writeObject): New methods.
11403 (equals): Reimplement.
11405 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11407 * java/awt/image/Raster.java: Added API docs and reformatted source
11410 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11412 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11414 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11415 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11416 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11417 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11418 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11419 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11420 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11421 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11422 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11423 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11424 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11425 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11426 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11427 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11428 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11429 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11430 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11431 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11432 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11433 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11434 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11436 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11438 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11439 to make it compile again under jikes. Note added.
11441 2006-07-17 Lillian Angel <langel@redhat.com>
11443 * examples/gnu/classpath/examples/awt/Demo.java
11444 (Demo): Added new window for DnD demo.
11445 (DragDropWindow): New class.
11446 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11447 Added new fields and declarations for native functions.
11448 (GtkDragSourceContextPeer): Implemented.
11449 (getComponentPeer): New function.
11450 (startDrag): Partially implemented.
11451 (getCursor): Implemented.
11452 (setCursor): Implemented.
11453 * include/GtkDragSourceContextPeer.h: New file.
11454 * include/Makefile.am: Added new header file.
11455 * java/awt/Component.java
11456 (addNotify): Added call to the dropTarget's addNotify.
11457 * java/awt/dnd/DragSource.java
11458 (startDrag): Fixed code to use shared instances of peer and
11460 (getDragThreshold): Added stub.
11461 * java/awt/dnd/DropTarget.java
11462 (DropTarget): Implemented fully.
11463 (addNotify): Added code to get the peer of the parent that is
11465 * java/awt/dnd/DropTargetDragEvent.java
11466 (getTransferable): Added stub.
11467 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11468 * native/jni/gtk-peer/Makefile.am: Added new c file.
11469 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11470 Changed to extend GtkGenericPeer.
11471 (GtkDropTargetContextPeer): New constructor.
11472 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11473 Changed to extend GtkGenericPeer.
11474 (GtkDropTargetContextPeer): New constructor.
11476 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11478 * java/awt/image/SinglePixelPackedSampleModel.java
11479 (createSubsetSampleModel): Added argument check and API docs.
11481 2006-07-17 Roman Kennke <kennke@aicas.com>
11483 * gnu/java/awt/peer/x/XGraphics.java
11484 (copyArea): Implemented.
11486 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11488 * java/awt/image/SinglePixelPackedSampleModel.java
11489 (getSampleSize): Return copy of array,
11490 (getOffset): Added API docs,
11491 (getScanlineStride): Likewise,
11492 (hashCode): Implemented.
11494 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11496 * java/awt/image/MultiPixelPackedSampleModel.java
11497 (getOffset): Updated API docs and source reformatting,
11498 (getBitOffset): Source reformatting only,
11499 (getDataElements): Likewise,
11500 (getPixel): Likewise,
11501 (getPixels): Removed method override,
11502 (setDataElements): Reimplemented.
11504 2006-07-17 Gary Benson <gbenson@redhat.com>
11506 * resource/META-INF/services/.cvsignore: New file.
11507 * lib/.cvsignore: Updated.
11509 2006-07-17 Roman Kennke <kennke@aicas.com>
11511 * javax/swing/plaf/basic/BasicButtonListener.java
11512 (propertyChange): Only do the text layout caching as long
11513 as the noGraphics2D property isn't set.
11514 * javax/swing/plaf/basic/BasicMenuItemUI.java
11515 (PropertyChangeHandler.propertyChange): Only do the text layout
11516 caching as long as the noGraphics2D property isn't set.
11518 2006-07-17 Roman Kennke <kennke@aicas.com>
11520 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11521 (XGraphicsEnvironment): Make constructor public so that it
11522 can be called via Class.forName().newInstance().
11523 * gnu/java/awt/peer/x/XImage.java
11524 (XImage): Fetch GraphicsEnvironment via
11525 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11526 than the XToolkit method, to avoid double instantiation
11527 of the XGraphicsEnvironment.
11528 * gnu/java/awt/peer/x/XToolkit.java
11529 (env): Removed field.
11530 (getLocalGraphicsEnvironment): Removed impl. This method
11531 should not be called since we set the graphicsenv property
11532 in the constructor.
11534 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11536 * java/util/UUID.java:
11537 (compareTo(Object)): Call compareTo(UUID).
11538 (compareTo(UUID)): Implemented.
11540 2006-07-16 Tom Tromey <tromey@redhat.com>
11542 * java/lang/StrictMath.java (cbrt): Added '@since'.
11544 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11546 * java/lang/StrictMath.java (cbrt): New method.
11547 (getLowDWord): New helper method.
11548 (getHighDWord): Likewise.
11549 (buildDouble): Likewise.
11550 (CBRT_B1): New field.
11551 (CBRT_B2): Likewise.
11552 (CBRT_C): Likewise.
11553 (CBRT_D): Likewise.
11554 (CBRT_E): Likewise.
11555 (CBRT_F): Likewise.
11556 (CBRT_G): Likewise.
11558 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11560 * javax/management/MBeanInfo.java:
11561 (getNotifications()): Implemented.
11562 * javax/management/NotificationBroadcaster.java:
11563 (removeNotificationListener(NotificationListener)):
11564 Renamed from removeListener.
11565 * javax/management/NotificationEmitter.java:
11566 (removeNotificationListener(NotificationListener,
11567 NotificationFilter, Object)): Likewise.
11568 * javax/management/NotificationFilter.java:
11569 Implement Serializable.
11570 * javax/management/NotificationListener.java:
11571 Implement java.util.EventListener.
11572 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11573 Implement Serializable.
11575 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11577 * java/lang/management/MemoryNotificationInfo.java:
11580 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11583 * gnu/javax/swing/text/html/parser/htmlValidator.java
11584 (tagIsValidForContext): If it is not possible to insert any tag, but
11585 is possible to insert a P, insert a P.
11586 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11587 (newInstance): Removed print statement. (getBodyElements):
11588 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11589 valid body level tags (will be enclosed into P's).
11591 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11593 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11594 Condition the creation of .keystore (a default keystore) based on the
11595 createIfNotFound argument as well.
11597 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11600 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11601 Removed heading p tag from the parsing example.
11602 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11603 (createHtmlContentModel): Explained.
11604 (defineElements): Call getBodyElements to get the body
11605 elements. (getBodyElements): New method. (model):
11606 Made protected from private.
11607 * gnu/javax/swing/text/html/parser/htmlValidator.java
11608 (openTag): Mind that current content model may be null.
11609 (tagIsValidForContext): If the tag is PCDATA, and it is not
11610 valid for context, but the paragraph (P) is valid for context,
11611 suggest to insert the P tag here.
11612 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11613 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11614 implied P tags here.
11615 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11616 Get the custom parser, using HTML_401Swing.java DTD.
11617 * javax/swing/text/html/parser/ParserDelegator.java:
11618 Removed the obsolete note that HTMLEditorKit does not exist.
11619 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11620 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11622 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11624 * javax/management/ListenerNotFoundException.java:
11626 * javax/management/MBeanFeatureInfo.java:
11627 (hashCode()): Use summation instead of multiplication
11628 for consistency with other classes.
11629 * javax/management/MBeanNotificationInfo.java,
11630 * javax/management/Notification.java,
11631 * javax/management/NotificationBroadcaster.java,
11632 * javax/management/NotificationEmitter.java,
11633 * javax/management/NotificationFilter.java,
11634 * javax/management/NotificationListener.java:
11636 * javax/management/OperationsException.java:
11637 (serialVersionUID): Added.
11639 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11640 Mark Wielaard <mark@klomp.org>
11642 * java/io/PrintStream.java: Added four constructors, for File and
11643 String describing a filename with or without explicit encoding.
11645 2006-07-16 Sven de Marothy <sven@physto.se>
11647 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11648 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11651 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11654 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11656 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11657 (setProviderClassNameParam): Made private.
11658 (setKeystoreTypeParam): Likewise.
11659 (setKeyPasswordParam): Likewise
11660 (setKeystorePasswordParam): Likewise.
11661 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11662 create or not the keystore if it's not there, and the second is the store's
11663 password to process before loading the keystore. Amended the code
11665 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11666 setKeyStoreParams(5) with true as its first argument.
11667 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11668 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11670 2006-07-16 Sven de Marothy <sven@physto.se>
11672 * java/util/UUID.java: New file.
11674 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11676 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11677 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11678 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11679 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11680 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11681 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11682 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11683 added Key Wrapping Algorithm SPIs.
11685 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11687 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11688 wrapping/unwrapping to invoke their engineGetOutputSize.
11690 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11692 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11693 (engineInit): If a SecureRandom was specified then use it.
11694 (nextRandomBytes): New method.
11695 (engineWrap): Use above method.
11696 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11697 (getDefaultPRNG): New method.
11698 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11699 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11702 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11704 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11705 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11707 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11709 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11710 offset into consideration.
11712 2006-07-16 Mario Torre <neugens@limasoftware.net>
11714 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11715 Fixed comment. This functions now requires to be called
11716 with gdk lock held, the comment states that.
11717 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11718 Introduces gdk locks around critical regions of code.
11719 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11721 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11723 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11725 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11727 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11729 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11731 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11733 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11735 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11737 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11738 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11740 2006-07-15 Sven de Marothy <sven@physto.se>
11742 * javax/swing/JFileChooser.java
11743 Change default selection mode to FILES_ONLY.
11744 * javax/swing/plaf/basic/BasicDirectoryModel.java
11745 Document, fix selection mode filtering.
11746 (renameFile): Implement
11747 * javax/swing/plaf/basic/BasicFileChooserUI.java
11748 (selectedDir): New field to handle selected directories,
11749 disallow selecting of directories in FILES_ONLY mode.
11750 * javax/swing/plaf/metal/MetalFileChooserUI.java:
11751 (EditingActionListener.actionPerformed):
11752 Stop editing on all actions (e.g. return-key press)
11754 2006-07-15 Mark Wielaard <mark@klomp.org>
11756 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11758 (JNI Implementation): Mark JVMTI Implementation as next.
11759 (JVMTI Implementation): Mark JNI Implementation as prev.
11761 2006-07-15 Mark Wielaard <mark@klomp.org>
11763 * include/Makefile.am: Remove
11764 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11765 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11766 * native/jni/gtk-peer/Makefile.am: Remove
11767 gnu_java_awt_peer_gtk_GdkTextLayout.c
11768 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11771 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11773 2006-07-15 Mark Wielaard <mark@klomp.org>
11775 * autogen.sh: Recognize autoconf 2.60.
11777 2006-07-15 Keith Seitz <keiths@redhat.com>
11779 * NEWS: Update for JVMTI and jvmti.h.
11780 * doc/vmintegration.texinfo: Likewise.
11781 * include/jvmti.h: New file.
11783 2006-07-15 Mark Wielaard <mark@klomp.org>
11785 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11786 Removed C++ style comment.
11788 2006-07-15 Sven de Marothy <sven@physto.se>
11790 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11791 * java/awt/MouseInfo.java,
11792 * java/awt/PointerInfo.java,
11793 * java/awt/peer/MouseInfoPeer.java:
11796 * java/awt/Image.java
11797 (accelerationPriority): New field.
11798 (setAccelerationPriority, getAccelerationPriority): New methods..
11800 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11801 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11802 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11803 (getMouseCoordinates): New method.
11805 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11806 (updateAlwaysOnTop): Remove stub overload.
11808 * gnu/java/awt/ClasspathToolkit.java,
11809 * gnu/java/awt/peer/gtk/GtkToolkit.java,
11810 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11811 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11812 (getMouseInfoPeer): New method.
11813 (getMouseNumberOfButtons): New method.
11815 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11816 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11818 (gtkWindowSetAlwaysOnTop): New method.
11819 (updateAlwaysOnTop): Implement.
11821 * java/awt/Toolkit.java,
11822 (getMouseInfoPeer): New method.
11824 * java/awt/Window.java
11825 (alwaysOnTop): New field.
11826 (isAlwaysOnTop, setAlwaysOnTop): New methods.
11828 * java/awt/peer/WindowPeer.java: Doc fix.
11830 2006-07-14 Sven de Marothy <sven@physto.se>
11832 * java/awt/font/TextLayout.java:
11833 (hitTestChar): Stub method.
11834 * java/awt/font/TextMeasurer.java:
11835 (getLayout): Throw exception on invalid argument.
11837 2006-07-14 Sven de Marothy <sven@physto.se>
11839 * java/awt/image/DataBuffer.java
11840 (DataBuffer): Call constructors in the correct order,
11842 2006-07-14 Mark Wielaard <mark@klomp.org>
11844 Revert to previous implementation.
11845 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11846 constraints insets.
11848 2006-07-14 Roman Kennke <kennke@aicas.com>
11850 * gnu/java/awt/peer/x/XToolkit.java
11851 (XToolkit): Install properties to SystemProperties
11852 rather than System, to avoid SecurityManager.
11853 (getImage(String)): Return error image when string is invalid.
11854 (createImage(URL)): Moved image loading to helper method.
11855 (createImage(ImageProducer)): Implemented.
11856 (createImage(byte[],int,int)): Implemented.
11857 (createImage(InputStream)): New helper method.
11859 2006-07-14 Tania Bento <tbento@redhat.com>
11861 * java/awt/FlowLayout.java
11862 (setHgap): No Excpetion should be thrown if hgap has
11864 (setVgap): No Exception should be thrown if vgap has
11867 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11869 * java/awt/image/MultiPixelPackedSampleModel.java:
11870 Added API docs all over.
11872 2006-07-14 Matt Wringe <mwringe@redhat.com>
11874 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
11875 (engineInit): Throw InvalidAlgorithmParameterException
11876 for invalid IVParameterSpec IV length.
11878 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11880 * java/awt/image/MultiPixelPackedSampleModel.java
11881 (createDataBuffer): Include dataBitOffset in calculating the size for
11884 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11886 * java/awt/image/MultiPixelPackedSampleModel.java
11887 (getSampleSize()): Return a copy of the array,
11888 (getTransferType()): New method override.
11890 2006-07-14 Roman Kennke <kennke@aicas.com>
11892 * java/awt/CardLayout.java
11893 (show): Validate parent to make sure that the layout is
11896 2006-07-14 Roman Kennke <kennke@aicas.com>
11898 * java/awt/Component.java
11899 (enable): Added tree locking.
11900 (disable): Added tree locking.
11901 (show): Added tree locking.
11902 (hide): Added tree locking.
11903 (getLocationOnScreen): Added tree locking.
11904 (reshape): Added tree locking.
11905 (addHierarchyListener): Added tree locking.
11906 (removeHierarchyListener): Added tree locking.
11907 (addHierarchyBoundsListener): Added tree locking.
11908 (removeHierarchyBoundsListener): Added tree locking.
11909 (addNotify): Added tree locking.
11910 (removeNotify): Added tree locking.
11911 * java/awt/Container.java
11912 (invalidateTree): Added tree locking.
11913 (getAlignmentX): Added tree locking.
11914 (getAlignmentY): Added tree locking.
11915 (addNotify): Added tree locking.
11916 (setComponentZOrder): Added tree locking.
11917 (getComponentZOrder): Added tree locking.
11919 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11921 * java/awt/image/MultiPixelPackedSampleModel.java
11922 (createSubsetSampleModel): Restored argument check, but let null
11925 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11927 * java/awt/image/MultiPixelPackedSampleModel.java
11928 (createSubsetSampleModel): Removed argument check.
11930 2006-07-14 Roman Kennke <kennke@aicas.com>
11932 * java/awt/Component.java
11933 (numHierarchyListeners): New field.
11934 (numHierarchyBoundsListeners): New field.
11935 (show): Fire hierarchy events here. Only fire component event
11936 if there is actually a listener for it.
11937 (hide): Fire hierarchy events here. Only fire component event
11938 if there is actually a listener for it.
11939 (reshape): Fire hierarchy events here. Only fire component event
11940 if there is actually a listener for it.
11941 (addHierarchyListeners): Update listener counters.
11942 (removeHierarchyListeners): Update listener counters.
11943 (addHierarchyBoundsListeners): Update listener counters.
11944 (removeHierarchyBoundsListeners): Update listener counters.
11945 (fireHierarchyEvent): New helper method for firing hierarchy
11947 * java/awt/Container.java
11948 (addImpl): Update listener counters. Fire hierarchy event.
11949 (remove): Update listener counters. Fire hierarchy event.
11950 (fireHierarchyEvent): New helper method for firing hierarchy
11952 (updateHierarchyListenerCount): New helper method for
11953 updating the listener counters.
11955 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11957 * java/awt/image/MultiPixelPackedSampleModel.java
11958 (equals): New method override,
11959 (hashCode): Likewise.
11961 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11963 * java/awt/image/MultiPixelPackedSampleModel.java
11964 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
11965 Corrected scanlineStride calculation.
11967 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11969 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11970 (AES_KWA): Likewise.
11971 (AES128_KWA): Likewise.
11972 (AES192_KWA): Likewise.
11973 (AES256_KWA): Likewise.
11974 (RIJNDAEL_KWA): Likewise.
11975 (TRIPLEDES_KWA): Likewise.
11976 (DESEDE_KWA): Likewise.
11977 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11978 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11979 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11980 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11981 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11982 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11984 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11986 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11987 (PADDING_BLOCK_SIZE): New constant.
11988 (init(Map attributes)): New method.
11989 * gnu/javax/crypto/pad/BasePad.java (init): New method.
11991 2006-07-14 Mario Torre <neugens@limasoftware.net>
11993 * gnu/java/security/OID.java (OID): Private Constructor removed as
11994 it is not needed anymore.
11995 (clone): Fixed. Now uses super.clone instead of the private
11996 constructor as per specification of clone method.
11997 (serialVersionUID): added new field to allow serialization.
11999 2006-07-13 Sven de Marothy <sven@physto.se>
12001 * gnu/javax/imageio/gif/GIFImageReader.java
12002 (read): Remove old debugging trace.
12004 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
12007 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12010 2006-07-13 Roman Kennke <kennke@aicas.com>
12012 * java/awt/Component.java
12013 (DEFAULT_MAX_SIZE): New static constant.
12014 (preferredSize): Return copy of the actual value computed
12015 by new helper method.
12016 (preferredSizeImpl): New helper method. Adds locking and
12017 correct handling of cached value.
12018 (minimumSize): Return copy of the actual value computed
12019 by new helper method.
12020 (minimumSizeImpl): New helper method. Adds locking and
12021 correct handling of cached value.
12022 (getMaximumSize): Return copy of the actual value computed
12023 by new helper method.
12024 (maximumSizeImpl): New helper method. Adds locking and
12025 correct handling of cached value.
12026 (invalidate): Correct handling of cached layout information.
12028 * java/awt/Container.java
12029 (preferredSize): Minimized locking. Corrected handling of cached
12030 values. Return copy of real value.
12031 (minimumSize): Minimized locking. Corrected handling of cached
12032 values. Return copy of real value.
12033 (getMaximumSize): Minimized locking. Corrected handling of cached
12034 values. Return copy of real value.
12036 2006-07-13 Tania Bento <tbento@redhat.com>
12038 * gnu/java/awt/peer/ClasspathFontPeer.java
12039 (isLogicalFontName): Return true if name == default.
12040 (logicalFontNameToFaceName): Check if name == default,
12041 and if so, return "Dialog.plain".
12042 (setStandardAttributes(String, Map)): If name == null,
12043 it should be set to "Default", not "SansSerif".
12044 * java/awt/Canvas.java
12045 (generateName): Fixed documentation.
12046 * java/awt/CheckboxMenuItem.java
12047 Added static variable "next_chkmenuitem_number".
12048 (generateName): Added and implemented method.
12049 (getUniqueLong): Likewise.
12050 * java/awt/Choice.java
12051 Added static variable "next_choice_number".
12052 (generateName): Added and implemented method.
12053 (getUniqueLong): Likewise.
12054 * java/awt/Cursor.java
12055 (Cursor(int)): Set name depending on the type passed.
12056 * java/awt/List.java
12057 Added static variable "next_list_number".
12058 (generateName): Added and implemented method.
12059 (getUniqueLong): Likewise.
12060 * java/awt/Menu.java
12061 Added static variable "next_menu_number".
12062 (generateName): Added and implemented method.
12063 (getUniqueLong): Likewise.
12064 * java/awt/MenuBar.java
12065 Added static variable "next_menubar_number".
12066 (generateName): Added and implemented method.
12067 (getUniqueLong): Likewise.
12068 * java/awt/MenuComponent.java
12069 (getName): Before returning name, check if name == null
12070 and name is not explicity set. If this is the case,
12071 name will be generated.
12072 (generateName): Added and implemented method.
12073 * java/awt/MenuItem.java
12074 Added static variable "next_menuitem_number".
12075 (generateName): Added and implemented method.
12076 (getUniqueLong): Likewise.
12077 * java/awt/PopupMenu.java
12078 Added static variable "next_popup_number".
12079 (generateName): Added and implemented method.
12080 (getUniqueLong): Likewise.
12081 * java/awt/ScrollPane.java
12082 Added static variable "next_scrollpane_number".
12083 (generateName): Added and implemented method.
12084 (getUniqueLong): Likewise.
12085 * java/awt/TextField.java
12086 Added static variable "next_textfield_number".
12087 (generateName): Added and implemented method.
12088 (getUniqueLong): Likewise.
12091 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12093 * java/awt/image/SinglePixelPackedSampleModel.java
12094 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12095 mask correctly as an unsigned integer,
12096 (equals): New method override.
12098 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12100 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12101 insertAfterStart, insertBeforeEnd): Removed stub markings.
12103 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12105 * java/awt/image/BandedSampleModel.java: API doc updates and source
12107 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12109 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12111 * java/awt/image/BandedSampleModel.java: API doc updates.
12113 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12115 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12116 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12117 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12118 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12119 (HRMLReader.blockClose): Mind that parser stack may be empty.
12120 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12121 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12122 (HTMLReader.shouldInsert): New method. (getElement(String)):
12123 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12124 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12125 Implemented. (getInsertingReader): New method.
12126 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12127 Added buttons to demonstrate the work of the insert actions.
12129 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12131 * java/awt/image/SampleModel.java: API doc updates and additions,
12132 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12134 2006-07-12 Sven de Marothy <sven@physto.se>
12136 * javax/swing/JFileChooser.java:
12137 (createDialog): Close operation should cause a cancel.
12139 2006-07-12 Francis Kung <fkung@redhat.com>
12141 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12142 (cairoArc): New native method.
12143 (cairoRestore): New native method.
12144 (cairoSave): New native method.
12145 (cairoScale): New native method.
12146 (createPath): New method to centralize code from draw and fill.
12147 (draw): Modified to use createPath method.
12148 (fill): Modified to use createPath method.
12149 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12150 function declarations.
12151 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12152 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12154 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12156 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12159 2006-07-12 Tom Tromey <tromey@redhat.com>
12162 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12163 on PartialInputStream.
12164 (PartialInputStream.dummyByteCount): New field.
12165 (PartialInputStream.fillBuffer): Handle dummy byte.
12166 (PartialInputStream.read): Likewise.
12167 (PartialInputStream.addDummyByte): New method.
12169 2006-07-12 Mario Torre <neugens@limasoftware.net>
12171 * native/jni/gconf-peer/GConfNativePeer.c
12172 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12173 Fixed C++ style comment.
12175 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12177 * java/util/Arrays.java
12178 (asList): Updated API docs.
12180 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12183 * native/jni/gconf-peer/GConfNativePeer.c:
12184 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12185 Changed if-expression.
12186 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12187 Added check for _value not being NULL.
12189 2006-07-11 Roman Kennke <kennke@aicas.com>
12191 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12192 (read): Use fd when local sockets are disabled to make the
12196 2006-07-11 Roman Kennke <kennke@aicas.com>
12198 * java/awt/image/MultiPixelPackedSampleModel.java
12199 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12200 division gets rounded up.
12202 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12204 * java/lang/management/ManageFactory.java:
12205 (getMemoryManagerMXBeans()): Use addAll, not add.
12207 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12210 * gnu/classpath/ByteArray.java: Removed (moved).
12211 * gnu/java/security/util/ByteArray.java: New File.
12212 * gnu/javax/crypto/RSACipherImpl.java: Reference
12213 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12215 2006-07-11 Roman Kennke <kennke@aicas.com>
12217 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12218 (available): Pass fd as argument and avoid JNI class/field
12222 * include/gnu_java_net_local_LocalSocketImpl.h:
12224 * gnu/java/net/local/LocalSocketImpl.h
12225 (available): Pass fd as argument and avoid JNI class/field
12230 2006-07-11 Sven de Marothy <sven@physto.se>
12232 * gnu/javax/sound/sampled/AU/AUReader.java:
12233 Correct file extension from .as to .au.
12235 2006-07-11 Sven de Marothy <sven@physto.se>
12237 * gnu/javax/sound/sampled/AU/AUReader.java:
12239 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12240 Added new provider.
12242 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12244 * javax/swing/JTable.java
12245 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12246 (setColumnSelectionAllowed): Likewise.
12248 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12251 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12252 AccessController.doPrivileged instead of SystemProperties.getProperty.
12253 * gnu/classpath/debug/SystemLogger.java: Likewise.
12254 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12255 repeated getProperty calls for "file.seperator".
12256 (refresh): Since already in privileged block, call System.getProperty
12257 instead of SystemProperties.getProperty.
12258 * gnu/java/security/key/dss/DSSKey.java
12259 (toString): Use AccessController.doPrivileged instead of
12260 SystemProperties.getProperty.
12261 * gnu/java/security/key/dss/DSSPrivateKey.java
12262 (toString): Likewise.
12263 * gnu/java/security/key/dss/DSSPublicKey.java
12264 (toString): Likewise.
12265 * gnu/java/security/key/rsa/GnuRSAKey.java
12266 (toString): Likewise.
12267 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12268 (toString): Likewise.
12269 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12270 (toString): Likewise.
12271 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12272 * gnu/javax/crypto/key/dh/GnuDHKey.java
12273 (toString): Likewise.
12274 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12275 (toString): Likewise.
12276 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12277 (toString): Likewise.
12279 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12281 * javax/swing/AbstractButton.java
12282 (disabledIcon): Fixed name (was 'disabeldIcon'),
12283 (getDisabledIcon): Updated for corrected field name,
12284 (setDisabledIcon): Fire a PropertyChangeEvent.
12286 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12288 * javax/swing/DefaultBoundedRangeModel.java
12289 (readObject): New private method,
12290 (writeObject): Likewise.
12292 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12294 * javax/swing/ButtonGroup.java
12295 (add): Ignore null argument,
12296 (remove): Ignore null argument. If removing selected button, clear the
12298 (findButton): Changed case for method name, and documented,
12299 (setSelected): Updated for modification to findButton() method name,
12300 (isSelected): Updated API docs.
12302 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12304 * java/awt/image/BufferedImage.java
12305 (BufferedImage(int, int, int)): Use correct color space for
12306 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12307 IllegalArgumentException for an unrecognised type.
12309 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12311 * java/lang/management/ManagementFactory.java:
12312 (getMemoryPoolMXBeans): Genericized fully.
12313 (getMemoryManagerMXBeans): Likewise.
12314 (getGarbageCollectorMXBeans): Likewise.
12316 2006-07-10 Tom Tromey <tromey@redhat.com>
12318 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12320 (getMemoryManagerMXBeans): Likewise.
12321 (getGarbageCollectorMXBeans): Likewise.
12323 2006-07-10 Mario Torre <neugens@limasoftware.net>
12325 * java/awt/BasicStroke.java: Removed unused import.
12326 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12327 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12328 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12330 2006-07-10 Matt Wringe <mwringe@redhat.com>
12332 PR classpath/28212:
12333 * javax/crypto/spec/SecretKeySpec.java
12334 (equals): Check object type.
12336 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12338 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12339 communication/StructureToPassHelper.java,
12340 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12341 communication/StructureToReturnHelper.java,
12342 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12343 communication/TreeNodeHelper.java,
12344 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12345 communication/WeThrowThisExceptionHelper.java,
12346 gnu/CORBA/ForwardRequestHelper.java,
12347 org/omg/CORBA/CompletionStatusHelper.java,
12348 org/omg/CORBA/CurrentHelper.java,
12349 org/omg/CORBA/DefinitionKindHelper.java,
12350 org/omg/CORBA/IDLTypeHelper.java,
12351 org/omg/CORBA/NameValuePairHelper.java,
12352 org/omg/CORBA/ObjectHelper.java,
12353 org/omg/CORBA/ParameterModeHelper.java,
12354 org/omg/CORBA/PolicyErrorCodeHelper.java,
12355 org/omg/CORBA/PolicyErrorHelper.java,
12356 org/omg/CORBA/PolicyHelper.java,
12357 org/omg/CORBA/PolicyListHelper.java,
12358 org/omg/CORBA/PolicyTypeHelper.java,
12359 org/omg/CORBA/ServiceDetailHelper.java,
12360 org/omg/CORBA/ServiceInformationHelper.java,
12361 org/omg/CORBA/SetOverrideTypeHelper.java,
12362 org/omg/CORBA/StringValueHelper.java,
12363 org/omg/CORBA/UnionMemberHelper.java,
12364 org/omg/CORBA/UnknownUserExceptionHelper.java,
12365 org/omg/CORBA/VisibilityHelper.java,
12366 org/omg/CORBA/WStringValueHelper.java,
12367 org/omg/CORBA/WrongTransactionHelper.java,
12368 org/omg/CosNaming/BindingHelper.java,
12369 org/omg/CosNaming/BindingIteratorHelper.java,
12370 org/omg/CosNaming/BindingListHelper.java,
12371 org/omg/CosNaming/BindingTypeHelper.java,
12372 org/omg/CosNaming/NameComponentHelper.java,
12373 org/omg/CosNaming/NameHelper.java,
12374 org/omg/CosNaming/NamingContextExtHelper.java,
12375 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12376 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12377 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12378 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12379 org/omg/CosNaming/NamingContextHelper.java,
12380 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12381 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12382 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12383 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12384 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12385 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12386 org/omg/DynamicAny/AnySeqHelper.java,
12387 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12388 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12389 org/omg/DynamicAny/DynAnyHelper.java,
12390 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12391 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12392 org/omg/DynamicAny/DynAnySeqHelper.java,
12393 org/omg/DynamicAny/DynArrayHelper.java,
12394 org/omg/DynamicAny/DynEnumHelper.java,
12395 org/omg/DynamicAny/DynFixedHelper.java,
12396 org/omg/DynamicAny/DynSequenceHelper.java,
12397 org/omg/DynamicAny/DynStructHelper.java,
12398 org/omg/DynamicAny/DynUnionHelper.java,
12399 org/omg/DynamicAny/DynValueHelper.java,
12400 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12401 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12402 org/omg/DynamicAny/NameValuePairHelper.java,
12403 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12404 org/omg/IOP/CodecFactoryHelper.java,
12405 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12406 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12407 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12408 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12409 org/omg/IOP/ComponentIdHelper.java,
12410 org/omg/IOP/IORHelper.java,
12411 org/omg/IOP/MultipleComponentProfileHelper.java,
12412 org/omg/IOP/ProfileIdHelper.java,
12413 org/omg/IOP/ServiceContextHelper.java,
12414 org/omg/IOP/ServiceContextListHelper.java,
12415 org/omg/IOP/ServiceIdHelper.java,
12416 org/omg/IOP/TaggedComponentHelper.java,
12417 org/omg/IOP/TaggedProfileHelper.java,
12418 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12419 org/omg/PortableInterceptor/AdapterNameHelper.java,
12420 org/omg/PortableInterceptor/AdapterStateHelper.java,
12421 org/omg/PortableInterceptor/CurrentHelper.java,
12422 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12423 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12424 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12425 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12426 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12427 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12428 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12429 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12430 org/omg/PortableServer/CurrentHelper.java,
12431 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12432 org/omg/PortableServer/ForwardRequestHelper.java,
12433 org/omg/PortableServer/POAHelper.java,
12434 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12435 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12436 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12437 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12438 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12439 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12440 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12441 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12442 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12443 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12444 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12445 org/omg/PortableServer/ServantActivatorHelper.java,
12446 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12447 typecode caching and always use OrbRestricted.Singleton.
12449 2006-07-09 Tom Tromey <tromey@redhat.com>
12451 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12453 2006-07-09 Mark Wielaard <mark@klomp.org>
12455 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12456 New static final boolean field.
12457 (getComponentGraphics): Use hasXRenderExtension.
12458 (setClip): Override method for locking.
12460 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12462 * javax/swing/AbstractButton.java
12463 (setHorizontalTextPosition): Added check for illegal argument,
12464 (setVerticalTextPosition): Likewise.
12466 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12468 * javax/swing/Timer.java
12469 (setDelay): Throw IllegalArgumentException for negative delay,
12470 (setInitialDelay): Likewise,
12471 * javax/swing/ToolTipManager.java
12472 (setInitialDelay): Document IllegalArgumentException,
12473 (setDismissDelay): Likewise,
12474 (setReshowDelay): Likewise.
12476 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12478 * java/lang/management/MemoryUsage.java:
12479 (from(javax.management.openmbean.CompositeData)):
12481 * java/lang/management/ThreadInfo.java:
12482 Changed to use open types throughout for the state.
12483 (ThreadInfo(long,String,String,long,long,String,
12484 long,String,long,long,boolean,StackTraceElement[])):
12486 (checkAttribute(javax.management.openmbean.CompositeType,
12487 String, javax.management.openmbean.OpenType)): New method.
12488 (from(javax.management.openmbean.CompositeData)):
12490 (getLockName()): Fixed to use new variable.
12491 (getLockOwnerId()): Likewise.
12492 (getLockOwnerName()): Likewise.
12493 (getThreadId()): Likewise.
12494 (getThreadName()): Likewise.
12495 (getThreadState()): Likewise.
12496 (toString()): Refactored to use new variables.
12497 * javax/management/openmbean/ArrayType.java:
12499 * javax/management/openmbean/CompositeType.java:
12500 Variables should be transient, not volatile.
12501 * javax/management/openmbean/OpenDataException.java:
12502 (serialVersionUID): Added.
12503 * javax/management/openmbean/SimpleType.java:
12505 * javax/management/openmbean/TabularType.java
12506 Variables should be transient, not volatile.
12508 2006-07-09 Tom Tromey <tromey@redhat.com>
12510 * tools/.cvsignore: Updated for new tools.
12512 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12514 * javax/management/openmbean/CompositeData.java,
12515 * javax/management/openmbean/CompositeType.java,
12516 * javax/management/openmbean/OpenDataException.java,
12517 * javax/management/openmbean/OpenType.java,
12518 * javax/management/openmbean/TabularData.java,
12519 * javax/management/openmbean/TabularType.java,
12520 * javax/management/openmbean/package.html:
12523 2006-07-09 Mark Wielaard <mark@klomp.org>
12525 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12526 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12527 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12529 2006-07-08 Anthony Green <green@redhat.com>
12531 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12532 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12535 2006-07-09 Mario Torre <neugens@limasoftware.net>
12537 * native/jni/gconf-peer/GConfNativePeer.c:
12538 Fixed indentation to be more compliant to the GNU coding
12540 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12541 Added explicit test for errors in the GConf backend.
12542 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12543 Added explicit test for errors in the GConf backend.
12544 Fixed Segmentation Fault when non valid key names are given as input.
12545 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12547 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12548 Added explicit test for errors in the GConf backend.
12549 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12550 Added javadoc comments for all native methods.
12551 (nodeExist): removed test to check for valid absolute path name
12553 (startWatchingNode): likewise.
12554 (stopWatchingNode): likewise.
12555 (setString): likewise, plus fixed javadoc comments.
12556 (unset): likekwise.
12557 (getKey): likewise.
12558 (getKeys): likewise, also fixed javadoc comments.
12559 (getChildrenNodes): likewise.
12560 * gnu/java/util/prefs/GConfBasedPreferences.java:
12561 changed DEFAULT_USER_ROOT to /apps/classpath.
12562 (constructor): Test to check for a valid absolute path for nodes
12563 is now in the contructor for that node, instead of being on
12564 each method of the backend.
12565 (getGConfKey): removed empty new line.
12567 2006-07-08 Mark Wielaard <mark@klomp.org>
12569 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12571 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12573 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12574 Handle the forced break in the same way as exceeding the
12575 available row space.
12576 * javax/swing/text/html/HRuleView.java: Rewritten.
12577 * javax/swing/text/html/HTMLDocument.java
12578 (HTMLReader.addSpecialElement):Reserve two characters for
12579 the special elements.
12580 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12581 (text): Extended the HTML example to parse.
12583 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12585 * javax/swing/AbstractButton.java
12586 (setHorizontalAlignment): Check for illegal argument,
12587 (setVerticalAlignment): Likewise.
12589 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12591 * javax/swing/text/html/TableView.java
12592 (getStyleSheet): New method. (RowView.getStyleSheet):
12595 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12597 * javax/swing/AbstractButton.java
12598 (setRolloverIcon): Call setRolloverEnabled(true),
12599 (setRolloverSelectedIcon): Likewise.
12601 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12603 * javax/swing/border/TitledBorder.java
12604 (setTitlePosition): Added message to exception,
12605 (setTitleJustification): Likewise.
12607 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12609 * javax/swing/plaf/metal/MetalLookAndFeel.java
12610 (createDefaultTheme): Corrected API docs,
12611 (initComponentDefaults): Added entry for 'TitledBorder.border',
12612 (getCurrentTheme): Initialise theme if it is null.
12614 2006-07-07 Roman Kennke <kennke@aicas.com>
12616 * java/awt/Component.java
12617 (isValid): Return false when component has no peer,
12618 don't query the showing state.
12620 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12622 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12623 Advance the offset also in the case of the enforced break.
12625 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12627 * javax/swing/plaf/basic/BasicArrowButton.java
12628 (MAXIMUM_SIZE): Removed field,
12629 (MINIMUM_SIZE): Likewise,
12630 (PREFERRED_SIZE): Likewise,
12631 (getMaximumSize): Return new instance every time,
12632 (getMinimumSize): Likewise,
12633 (getPreferredSize): Likewise.
12635 2006-07-07 Roman Kennke <kennke@aicas.com>
12637 * java/awt/LightweightDispatcher.java
12638 (findTarget): Avoid array copying in
12639 Container.getComponents().
12641 2006-07-07 Roman Kennke <kennke@aicas.com>
12643 * javax/swing/JComponent.java
12644 (paintChildrenWithOverlap): Avoid array copying in
12645 Container.getComponents().
12646 (paintChildrenOptimized): Avoid array copying in
12647 Container.getComponents().
12648 (fireAncestorEvent): Avoid array copying in
12649 Container.getComponents().
12650 (findOverlapFreeParent): Avoid array copying in
12651 Container.getComponents().
12653 2006-07-07 Matt Wringe <mwringe@redhat.com>
12655 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12656 (passwordValid): New field.
12657 (setPassword): New method.
12658 (setSalt): Likewise.
12659 (setIterationCount): Likewise.
12660 (setKeyLength): Likewise.
12661 (PBEKeySpec(char[])): Use new setter methods.
12662 (PBEKeySpec(char[], byte[], int)): Likewise.
12663 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12664 (clearPassword): Set passwordValid to false.
12665 (getPassword): Check that clearPassword() was not called earlier.
12666 Return a clone of the password.
12667 (getSalt): Return a clone of the salt if it was not null.
12669 2006-07-07 Roman Kennke <kennke@aicas.com>
12671 * java/awt/Component.java
12672 (isValid): Always return false when component is
12674 (setFont): Always set font, even when setting
12675 the same or equal font again.
12677 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12679 * javax/swing/plaf/metal/MetalIconFactory.java
12680 (CheckBoxMenuItemIcon): Implement UIResource,
12681 (FileChooserDetailViewIcon): Likewise,
12682 (FileChooserHomeFolderIcon): Likewise,
12683 (FileChooserListViewIcon): Likewise,
12684 (FileChooserNewFolderIcon): Likewise,
12685 (FileChooserUpFolderIcon): Removed redundant 'implements',
12686 (RadioButtonMenuItemIcon): Implement UIResource,
12687 (HorizontalSliderThumbIcon): Likewise,
12688 (InternalFrameCloseIcon): Likewise,
12689 (InternalFrameDefaultMenuIcon): Likewise,
12690 (InternalFrameAltMaximizeIcon): Likewise,
12691 (InternalFrameMaximizeIcon): Likewise,
12692 (InternalFrameMinimizeIcon): Likewise,
12693 (VerticalSliderThumbIcon): Likewise,
12694 (TreeHardDriveIcon): Likewise,
12695 (TreeFloppyDriveIcon): Likewise,
12696 (TreeComputerIcon): Likewise,
12697 (horizontalSliderThumbIcon): New field,
12698 (verticalSliderThumbIcon): New field,
12699 (getHorizontalSliderThumbIcon): Cache icon,
12700 (getVerticalSliderThumbIcon): Likewise.
12702 2006-07-06 Mark Wielaard <mark@klomp.org>
12704 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12705 (DISTCLEANFILES): Add standard.omit.
12706 (clean-local): Remove Makefile.deps, only remove dirs.
12708 2006-07-06 Roman Kennke <kennke@aicas.com>
12710 * java/awt/Component.java
12711 (setFont): Only invalidate when component is valid.
12712 * java/awt/Container.java
12713 (setLayout): Only invalidate when component is valid.
12715 2006-07-06 Lillian Angel <langel@redhat.com>
12717 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12718 New class not fully implemented.
12719 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12720 New class not fully implemented.
12721 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12722 New class not fully implemented.
12723 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12724 New class not fully implemented.
12725 * nu/java/awt/peer/gtk/GtkToolkit.java:
12727 (createDragSourceContextPeer): Implemented.
12728 (createDragGestureRecognizer): New function to override
12729 java.awt.Toolkit.createDragGestureRecognizer.
12730 * java/awt/dnd/DragSource.java
12731 (NoDragGestureRecognizer): Removed inner class.
12732 (createDragGestureRecognizer): Re-Implemented to
12733 call Toolkit's createDragGestureRecognizer.
12734 (createDefaultDragGestureRecognizer): Re-Implemented to
12735 call Toolkit's createDragGestureRecognizer.
12736 * java/awt/dnd/DropTarget.java
12737 (addNotify): Added check to determine type of peer and call
12739 (removeNotify): Added call to removeDropTarget.
12741 2006-07-06 Tom Tromey <tromey@redhat.com>
12743 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12745 (run): Wait on queue, not 'this'.
12747 2006-07-06 Lillian Angel <langel@redhat.com>
12749 * java/awt/dnd/DragSource.java
12750 (startDrag): Implemented. Added comments describing
12751 what the function should do. Removed FIXME.
12753 2006-07-06 Tania Bento <tbento@redhat.com>
12755 * gnu/java/awt/Canvas.java
12756 Added new private variable 'next_canvas_number'.
12757 (generateName): Added.
12758 (getUniqueLong): Added.
12760 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12762 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12763 (getColor): Made public.
12764 * javax/swing/text/html/StyleSheet.java (stringToColor):
12765 Use CharacterAttributeTranslator.getColor(String)
12767 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12769 * javax/swing/text/html/HTMLEditorKit.java:
12770 (HTMLFactory.createElement): Update reference to the html table view.
12771 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12772 * javax/swing/text/html/TableView.java: New file.
12774 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12776 * javax/swing/text/html/HTMLEditorKit.java:
12777 (HTMLFactory.createElement): Uncomment
12778 code for BRView and HRuleView.
12779 * javax/swing/text/html/BRView.java,
12780 javax/swing/text/html/HRuleView.java: New files.
12782 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12784 * java/lang/Thread.java:
12785 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12786 Added generic type signature.
12788 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12791 * doc/vmintegration.texinfo: Likewise.
12792 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12793 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12794 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12795 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12796 * java/lang/management/GarbageCollectorMXBean.java:
12798 * java/lang/management/ManagementFactory.java:
12799 (getGarbageCollectorMXBeans()): Implemented.
12800 (getMemoryManagerMXBeans()): Likewise.
12801 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12802 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12804 * vm/reference/java/lang/management/VMManagementFactory.java:
12805 (getMemoryManagerNames()): Added.
12806 (getGarbageCollectorNames()): Added.
12808 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12810 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12811 from lib_LTLIBRARIES.
12812 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12814 2006-07-05 Lillian Angel <langel@redhat.com>
12816 * java/awt/dnd/DragGestureEvent.java:
12818 (DragGestureEvent): Initialized new fields, added to check and
12819 added documentation.
12820 (getSourceAsDragGestureRecognizer): Added documentation and
12821 changed to use getSource.
12822 (getComponent): Added documentation and fixed to return the proper
12824 (getDragSource): Likewise.
12825 (getDragOrigin): Added documentation.
12826 (iterator): Implemented and added documentation.
12827 (toArray): Likewise.
12828 (toArray): Likewise.
12829 (getDragAction): Likewise.
12830 (getTriggerEvent): Likewise.
12831 (startDrag): Likewise.
12832 * java/awt/dnd/DragGestureRecognizer.java
12833 (resetRecognizer): Added FIXME.
12834 * java/awt/dnd/DragSource.java:
12836 (DragSource): Set ds to be null if headless.
12837 (getDefaultDragSource): Added documentation and implemented.
12838 (isDragImageSupported): Marked as unimplemented.
12839 (startDrag): Likewise.
12840 (createDragSourceContext): Implemented.
12841 (NoDragGestureRecognizer): Formatted inner class.
12842 * java/awt/dnd/DropTarget.java
12843 (stop): Marked as unimplemented.
12844 (actionPerformed): Likewise.
12845 (addDropTargetListener): Added code to throw exception.
12846 (removeDropTargetListener): Added check, removed FIXME.
12847 (dragEnter): Implemented.
12848 (dragOver): Implemented.
12849 (dropActionChanged): Implemented.
12850 (dragExit): Implemented.
12851 (drop): Implemented.
12852 (addNotify): Implemented.
12853 (removeNotify): Implemented.
12854 (createDropTargetContext): Implemented.
12855 (createDropTargetAutoScroller): Implemented.
12856 (initializeAutoscrolling): Implemented.
12857 (updateAutoscroll): Implemented.
12858 (clearAutoscroll): Implemented.
12859 * java/awt/dnd/DropTargetContext.java
12860 (dropComplete): Implemented.
12861 (acceptDrag): Implemented.
12862 (rejectDrag): Implemented.
12863 (acceptDrop): Implemented.
12864 (rejectDrop): Implemented.
12865 (getCurrentDataFlavors): Implemented.
12866 (getTransferable): Partially implemented.
12867 * java/awt/dnd/DropTargetDragEvent.java
12868 (getDropAction): Uncommented correct code.
12869 * java/awt/dnd/DropTargetDropEvent.java
12870 (dropComplete) :Implemented.
12871 * java/awt/dnd/InvalidDnDOperationException.java
12872 (InvalidDnDOperationException): Added call to super.
12874 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
12876 * javax/swing/plaf/basic/BasicArrowButton.java:
12877 (paint): Removed getBounds() call, changed center point
12880 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12882 * javax/swing/InputMap.java
12883 (inputMap): Don't initialize yet,
12884 (InputMap): Removed TODO,
12885 (get): Check for null inputMap,
12886 (put): Return immediately for null keyStroke, check for null inputMap
12887 and initialize if necessary,
12888 (remove): Check for null inputMap,
12892 (allKeys): Likewise,
12893 (writeObject): Removed,
12894 (readObject): Removed.
12896 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12898 * gnu/classpath/examples/swing/TabbedPaneDemo.java
12899 (createContent): Use different labels for buttons.
12901 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
12904 * doc/vmintegration.texinfo: Likewise.
12905 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12906 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12908 * java/lang/management/ManagementFactory.java:
12909 (getMemoryPoolMXBeans()): Implemented.
12910 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12911 * vm/reference/java/lang/management/VMManagementFactory.java:
12914 2006-07-04 Lillian Angel <langel@redhat.com>
12916 * java/awt/dnd/DragSourceContext.java:
12917 Removed FIXMEs from fields.
12918 (DragSourceContext): Added code to initialize cursor and sourceActions.
12919 (getDragSource): Added documentation.
12920 (getComponent): Likewise.
12921 (getTrigger): Likewise.
12922 (getSourceActions): Added documentation and implemented.
12923 (setCursor): Implemented. Added documentation.
12924 (getCursor): Implemented. Added documentation.
12925 (dragEnter): Added code to notify DragSource's listeners.
12926 (dragOver): Likewise.
12927 (dragExit): Likewise.
12928 (dropActionChanged): Likewise.
12929 (dragDropEnd): Likewise.
12930 (dragMouseMoved): Implemented.
12931 (getTransferable): Added API documentation.
12932 (updateCurrentCursor): Added API documentation and partially implemented.
12934 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12936 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12938 2006-07-04 Lillian Angel <langel@redhat.com>
12940 * java/awt/dnd/DragSourceContext.java
12941 (DragSourceContext): Implemented fully. Fixed API docs.
12942 (transferablesFlavorsChanged): Implemented.
12943 (dragEnter): Implemented.
12944 (dragOver): Implemented.
12945 (dragExit): Implemented.
12946 (dropActionChanged): Implemented.
12947 (dragDropEnd): Implemented.
12949 2006-07-04 Lillian Angel <langel@redhat.com>
12951 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12952 Fixed name of constant.
12953 (getIconWidth): Changed name of constant returned.
12954 (getIconHeight): Likewise.
12956 (createSeparator): Marked as unimplemented.
12957 * javax/swing/plaf/basic/BasicTableUI.java
12958 (focusGained): Marked as unimplemented.
12959 (focusLost): Marked as unimplemented.
12960 (mouseEntered): Likewise.
12961 (mouseMoved): Likewise.
12962 (uninstallDefaults): Likewise.
12963 * javax/swing/plaf/basic/BasicToolBarUI.java
12964 (mouseClicked): Changed comment.
12965 (mouseEntered): Likewise.
12966 (mouseExited): Likewise.
12967 (mouseMoved): Likewise.
12968 (setOrientation): Implemented.
12969 (ToolBarFocusListener): Marked as unimplemented.
12970 (focusGained): Marked as unimplemented.
12971 (focusLost): Marked as unimplemented.
12973 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12976 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12977 Mind the effect of the root visibility on the position of the control.
12978 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
12979 vertical line over first level nodes.
12981 2006-07-04 Lillian Angel <langel@redhat.com>
12983 * javax/swing/plaf/basic/BasicMenuUI.java
12984 (installKeyboardActions): Implemented to call super. Nothing else
12985 needs to be done here.
12986 (setupPostTimer): Marked as unimplemented.
12987 (uninstallKeyboardActions): Implemented to call super. Nothing else
12988 needs to be done here.
12989 (mouseMoved): Removed TODO. Nothing to be done here.
12990 (ChangeHandler): Implemented.
12991 (menuDragMouseExited): Removed TODO. Nothing to be done here.
12992 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12993 (menuKeyReleased): Removed TODO. Nothing to be done here.
12994 (menuKeyTyped): Marked as unimplemented.
12996 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12999 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13000 (getDefaults): Set hash color to black.
13001 * javax/swing/plaf/basic/BasicLookAndFeel.java
13002 (initComponentDefaults): Set hash color to grey blue.
13003 * javax/swing/plaf/basic/BasicTreeUI.java
13004 (instellDefaults): Set hash color.
13005 * javax/swing/plaf/metal/MetalIconFactory.java
13006 (TreeControlIcon.paint): Rewritten.
13008 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13011 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13012 Always cancel the current editing session before doing anything else,
13013 return immediately if this fails.
13014 (TreeHomeAction): Ensure that the lead selection path is visible after
13015 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13016 Likewise. TreeTraverseAction: Likewise.
13018 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13021 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13022 Returned back the code to handle the start of the click-pause-click
13023 editing initiation, explained about this code.
13024 (TreeStartEditingAction): New inner class.
13025 (stopEditingInCompleteEditing): Explained about this field.
13026 (completeEditing(boolean, boolean, boolean): Only return early
13027 if there is no current editing session.
13028 (createDefaultActions): Install TreeStartEditingAction and
13029 TreeCancelEditingAction.
13031 2006-07-04 Mario Torre <neugens@limasoftware.net>
13033 * configure.ac: Added new option --enable-default-preferences-peer
13034 to pass user specified default preference backend.
13035 If the GConf peer is built, GConf become the default backend.
13036 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13038 * lib/Makefile.am: excludes files terminating in 'in' from
13039 the metafiles list.
13040 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13041 from copy into META-INF.
13042 * java/util/prefs/Preferences.java: added two new import
13043 classes gnu.classpath.ServiceFactory and java.util.Iterator.
13044 (getFactory): Now try to check for
13045 a system defined default preference backend before to fall back on
13046 FileBasedPreference.
13048 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13051 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13052 (EXPANDED): Initialise to Boolean.TRUE.
13053 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13054 First configure layout cache and then set the assigned value
13055 as row mapper. Set the root visibility property.
13056 (toggleExpandState): Obtains expansion state from the layout cache.
13058 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
13060 * java/lang/management/MemoryPoolMXBean.java:
13063 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13065 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13067 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13069 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13070 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13071 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13072 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13073 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13074 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13075 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13076 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13077 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13078 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13079 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13080 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13081 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13082 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13083 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13084 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13085 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13086 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13087 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13088 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13089 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13090 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13091 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13092 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13093 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13094 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13095 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13096 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13097 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13098 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13099 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13100 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13101 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13102 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13103 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13104 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13105 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13106 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13107 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13108 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13109 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13110 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13111 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13112 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13113 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13114 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13115 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13117 2006-07-02 Anthony Green <green@redhat.com>
13119 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13120 sure that every track written ends with an End Of Track meta
13123 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13125 * java/lang/management/MemoryUsage.java:
13126 (toString()): Fix missing MB for maximum memory usage.
13128 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13131 Updated to include VMCompilationMXBeanImpl.
13132 * doc/vmintegration.texinfo:
13133 Likewise, along with update to VMMemoryMXBeanImpl
13135 * examples/gnu/classpath/examples/management/TestCompilation.java,
13136 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13137 * java/lang/management/CompilationMXBeanImpl.java:
13139 * java/lang/management/ManagementFactory.java:
13140 (getCompilationMXBean()): Implemented.
13141 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13143 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13144 (getHeapMemoryUsage()): Added default implementation.
13146 2006-07-02 Anthony Green <green@redhat.com>
13148 * NEWS: Mention MIDI file reader/writer providers.
13150 2006-07-02 Anthony Green <green@redhat.com>
13152 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13153 gnu/javax/sound/midi/file/MidiFileWriter.java,
13154 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13156 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13159 Updated to include VMMemoryMXBeanImpl.
13160 * doc/vmintegration.texinfo: Likewise.
13161 * examples/gnu/classpath/examples/management/TestMemory.java:
13163 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13164 Remove redundant import.
13165 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13167 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13168 Remove redundant import.
13169 * java/lang/management/ManagementFactory.java:
13170 (getMemoryMXBean()): Implemented.
13171 * java/lang/management/MemoryMXBean.java,
13172 * java/lang/management/MemoryUsage.java:
13174 * java/lang/management/ThreadInfo.java:
13175 (toString()): Updated documentation.
13176 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13179 2006-07-01 Anthony Green <green@redhat.com>
13181 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13182 gnu/javax/sound/midi/file/MidiFileReader.java,
13183 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13184 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13186 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13188 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13189 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13190 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13191 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13192 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13193 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13194 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13196 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13198 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13199 * gnu/javax/crypto/pad/IPad.java: Likewise.
13200 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13201 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13202 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13203 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13204 * gnu/javax/crypto/pad/TBC.java: Likewise.
13205 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13206 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13208 2006-07-01 Anthony Green <green@redhat.com>
13210 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13212 (setMessage): Fix it again, in a different setMessage method.
13214 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13216 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13217 * gnu/javax/crypto/mode/CBC.java: Likewise.
13218 * gnu/javax/crypto/mode/CFB.java: Likewise.
13219 * gnu/javax/crypto/mode/CTR.java: Likewise.
13220 * gnu/javax/crypto/mode/EAX.java: Likewise.
13221 * gnu/javax/crypto/mode/ECB.java: Likewise.
13222 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13223 * gnu/javax/crypto/mode/ICM.java: Likewise.
13224 * gnu/javax/crypto/mode/IMode.java: Likewise.
13225 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13226 * gnu/javax/crypto/mode/OFB.java: Likewise.
13228 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13230 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13231 * gnu/javax/crypto/mac/HMac.java: Likewise.
13232 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13233 * gnu/javax/crypto/mac/IMac.java: Likewise.
13234 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13235 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13236 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13237 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13238 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13239 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13240 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13242 2006-07-01 Anthony Green <green@redhat.com>
13244 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13246 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13248 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13249 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13250 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13251 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13252 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13253 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13254 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13255 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13256 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13257 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13258 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13259 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13260 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13261 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13262 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13263 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13264 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13265 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13266 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13267 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13268 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13269 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13270 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13271 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13273 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13275 * javax/swing/AbstractCellEditor.java: Source code formatting,
13276 * javax/swing/AbstractSpinnerModel.java: Likewise,
13277 * javax/swing/Box.java: Likewise,
13278 * javax/swing/BoxLayout.java: Likewise,
13279 * javax/swing/DefaultListModel.java: Likewise,
13280 * javax/swing/GrayFilter.java: Likewise,
13281 * javax/swing/LookAndFeel.java: Likewise,
13282 * javax/swing/ProgressMonitor.java: Likewise,
13283 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13284 * javax/swing/ScrollPaneLayout.java: Likewise,
13285 * javax/swing/SpringLayout.java: Likewise,
13286 * javax/swing/event/EventListenerList.java: Likewise,
13287 * javax/swing/event/MenuEvent.java: Likewise,
13288 * javax/swing/event/TreeExpansionListener.java: Likewise.
13290 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13293 Mention threading bean and getState().
13294 * doc/vmintegration.texinfo:
13295 Update documentation for threading bean and new
13296 method of VMThread.
13298 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13300 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13301 * examples/gnu/classpath/examples/management/TestOS.java,
13302 * examples/gnu/classpath/examples/management/TestRuntime.java,
13303 * examples/gnu/classpath/examples/management/TestThread.java:
13306 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13308 * java/lang/ThreadGroup.java
13309 (getThreadFromId, getThreadFromIdImpl): New methods.
13311 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13313 * java/lang/Thread.java:
13314 Make thread IDs start from 1 in a more efficient way.
13316 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13318 * java/lang/Thread.java:
13319 Make thread IDs start from 1.
13321 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13323 * gnu/java/lang/management/BeanImpl.java:
13324 New superclass for all bean implementations.
13325 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13326 Extend BeanImpl and call permission code there.
13327 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13329 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13330 Extend BeanImpl and call permission code there.
13331 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13333 * java/lang/management/ManagementFactory.java:
13334 (getThreadMXBean()): Implemented.
13335 * java/lang/management/ThreadInfo.java:
13336 (ThreadInfo(Thread,int)): Replaced...
13337 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13338 boolean, boolean, StackTraceElement[])): with this.
13339 (getBlockedCount()): Refactored to use local variables.
13340 (getBlockedTime()): Likewise.
13341 (getLockName()): Likewise.
13342 (getLockOwnerId()): Likewise.
13343 (getLockOwnerName()): Likewise.
13344 (getStackTrace()): Likewise.
13345 (getWaitedCount()): Likewise.
13346 (getWaitedTime()): Likewise.
13347 (isInNative()): Likewise.
13348 (isSuspended()): Likewise.
13349 (toString()): Changed to use new local variables.
13350 * java/lang/management/ThreadMXBean.java:
13351 (getThreadInfo(long, int)): Corrected documentation.
13352 (getThreadInfo(long[], int)): Likewise.
13353 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13355 * vm/reference/java/lang/management/VMThreadInfo.java:
13358 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13360 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13361 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13362 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13363 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13364 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13365 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13366 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13367 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13368 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13369 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13370 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13371 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13372 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13373 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13374 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13375 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13376 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13377 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13378 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13379 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13380 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13381 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13382 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13383 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13384 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13385 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13386 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13387 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13388 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13389 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13390 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13391 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13393 2006-07-01 Roman Kennke <kennke@aicas.com>
13395 * gnu/java/awt/java2d/AbstractGraphics2D.java
13396 (transform): Make field protected.
13397 (getDestinationRaster): Provide default implementation for
13398 previously abstract method.
13400 2006-06-30 Tania Bento <tbento@redhat.com>
13402 * java/awt/TextArea.java
13403 (TextArea(String, int, int, int)): No longer throws
13404 IllegalArgumentException if rows, columns, or scrollbarVisibility
13405 values are invalid.
13406 (TextArea(String, int, int, int)): If rows or columns are < 0,
13407 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13408 gets set to the default value of 0 (SCROLLBARS_BOTH).
13409 (appendText): Added case when peer = null.
13410 (insertText): Added case when peer == null.
13411 (replaceText): Added case when peer == null.
13412 * java/awt/TextComponent.java
13413 (TextComponent(String)): If text == null, set it to "".
13415 2006-06-30 Lillian Angel <langel@redhat.com>
13417 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13418 (create): Added synchronized block around groupMap.get calls.
13419 (setCheckboxGroup): Likewise.
13421 2006-06-30 Lillian Angel <langel@redhat.com>
13423 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13424 (create): Changed to be non-synchronized.
13425 (setLabel): Likewise.
13426 (setCheckboxGroup): Likewise.
13427 (addToGroupMap): Likewise. Added synchronized block around
13429 (dispose): Changed to be non-synchronized.
13431 2006-06-30 Lillian Angel <langel@redhat.com>
13433 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13434 Changed all return values of native functions to void.
13435 (create): Changed function to be synchronized. Removed
13436 call to put value in groupMap, this is now done from
13438 (setState): Changed function to be synchronized.
13439 (setLabel): Changed function to be synchronized.
13440 (setCheckboxGroup): Changed function to be synchronized. Removed
13441 call to put value in groupMap, this is now done from
13443 (postItemEvent): Changed function to be synchronized.
13444 (addToGroupMap): New function. Called by native code to add
13445 new value to the group.
13446 (dispose): Changed function to be synchronized.
13447 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13450 (cp_gtk_checkbox_init_jni): Added code to link to
13452 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13453 Changed return value to void. Added call
13454 to java function to set pointer in groupMap.
13455 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13456 changed check to an assert. Also, removed call to set/del pointer.
13457 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13458 Likewise. Also, added check to determine if native_group should be
13460 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13462 2006-06-30 Sven de Marothy <sven@physto.se>
13464 * gnu/java/awt/ClasspathToolkit.java,
13465 * gnu/java/awt/peer/x/XToolkit.java,
13466 * gnu/java/awt/peer/qt/QtToolkit.java,
13467 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13468 Remove ClasspathTextLayoutPeer.
13469 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13470 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13473 2006-06-30 Sven de Marothy <sven@physto.se>
13475 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13476 (drawGlyphVector): Don't draw empty vectors.
13478 2006-06-30 Lillian Angel <langel@redhat.com>
13479 Tom Fitzsimmons <fitzsim@redhat.com>
13481 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13482 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13483 Added current_group, groupMap fields. Added definitions for
13484 new native functions.
13485 (create): Removed FIXME. Added code to create the check button or
13486 radio button when appropriate. Updated groupMap to contain
13487 pointer to the newly created group.
13488 (setCheckboxGroup): Added code to handle all cases. Removing
13489 a button from a group, adding a button to a group, or changing the
13491 (dispose): Changed to call super.
13492 * include/Makefile.am: Removed reference to
13493 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13494 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13495 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13497 * native/jni/gtk-peer/Makefile.am: Removed reference to
13498 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13501 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13502 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13503 Renamed to checkbox_get_widget.
13504 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13505 Changed to use checkbox_get_widget.
13506 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13508 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13509 Changed to use checkbox_get_widget.
13510 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13512 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13513 New function. Creates checkbutton without a group.
13514 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13515 Creates a radio button in a group, using groupPointer. If groupPointer
13516 is 0, then a new group is created.
13517 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13518 check button to a group, using groupPointer. A radio button is created
13519 in its place. If groupPointer is 0, then a new group is created.
13520 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13521 radio button is removed from the group. A check button is created in
13523 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13524 radio button is moved to a new group.
13526 2006-06-30 Mark Wielaard <mark@klomp.org>
13528 * configure.ac: Move standard.omit creation after dirs are created.
13529 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13530 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13531 (clean-local): Remove standard.omit.
13532 * lib/gen-classlist.sh.in: Use omit file in build dir.
13533 * lib/standard.omit.in: Make exclude regex more explicit.
13535 2006-06-30 Roman Kennke <kennke@aicas.com>
13537 * lib/Makefile.am: Added Escher dir/jar to classpath when
13539 * configure.ac: Moved handling of standard.omit to a place
13540 where it actually gets executed.
13542 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13544 * java/awt/TextComponent.java: Reformatted source code,
13545 * java/awt/TextField.java: Likewise.
13547 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13549 * java/lang/Thread.java:
13550 (getState()): Handle case of no VMThread
13553 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13555 * java/lang/Thread.java,
13556 * java/lang/VMThread.java:
13557 Reverted patch from 2006-06-28.
13559 2006-06-29 Roman Kennke <kennke@aicas.com>
13561 * gnu/java/awt/peer/x/GLGraphics.java,
13562 * gnu/java/awt/peer/x/ImageConverter.java,
13563 * gnu/java/awt/peer/x/KeyboardMapping.java,
13564 * gnu/java/awt/peer/x/XEventPump.java,
13565 * gnu/java/awt/peer/x/XFontPeer.java,
13566 * gnu/java/awt/peer/x/XFontPeer2.java,
13567 * gnu/java/awt/peer/x/XFramePeer.java,
13568 * gnu/java/awt/peer/x/XGraphics.java,
13569 * gnu/java/awt/peer/x/XGraphics2D.java,
13570 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13571 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13572 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13573 * gnu/java/awt/peer/x/XImage.java,
13574 * gnu/java/awt/peer/x/XLightweightPeer.java,
13575 * gnu/java/awt/peer/x/XToolkit.java,
13576 * gnu/java/awt/peer/x/XWindowPeer.java,
13577 * gnu/java/awt/peer/x/fonts.properties: New files.
13578 * lib/standard.omit: Removed.
13579 * lib/standard.omit.in: Added.
13580 * configure.ac: Added configure option --with-escher. Added some
13581 configury for omitting gnu.java.awt.peer.x package when
13582 this option is not specified.
13584 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13586 * javax/swing/JComponent.java
13587 (JComponent()): Initialize the locale here, not the default locale,
13588 (getDefaultLocale): If null, return Locale.getDefault(),
13589 (setDefaultLocale): Added API docs.
13591 2006-06-29 Tania Bento <tbento@redhat.com>
13593 * java/awt/Container.java
13594 (applyComponentOrientation): Implemented method.
13596 2006-06-29 Gary Benson <gbenson@redhat.com>
13598 * java/io/File.java (listRoots): Merge security checks from libgcj.
13600 2006-06-29 Gary Benson <gbenson@redhat.com>
13602 * java/io/FilePermission.java (implies): Work when path is "/".
13604 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13606 * java/lang/Thread.java:
13607 (Thread(ThreadGroup,Runnable,String,long)): Update
13609 (Thread(VMThread,String,int,boolean)): Likewise.
13610 (join(long,int)): Likewise.
13611 (resume()): Likewise.
13612 (sleep(long,int)): Likewise.
13613 (start()): Likewise.
13614 (stop()): Likewise.
13615 (suspend()): Likewise.
13617 (getState()): Return either state or use VMThread.
13618 * java/lang/VMThread.java:
13619 (getState()): Added default implementation to return
13622 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13624 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13625 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13626 endian swapping code.
13628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13629 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13630 without alpha information correctly on big endian systems.
13632 2006-06-28 Roman Kennke <kennke@aicas.com>
13634 * gnu/java/net/local/LocalSocket.java
13635 (setSoTimeout): Don't throw exception and ignore request.
13636 (getSoTimeout): Don't throw exception and always return 0.
13638 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13640 * javax/swing/JComponent.java
13641 (getRegisteredKeyStrokes): Implemented.
13643 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13645 * javax/swing/JComponent.java
13646 (verifyInputWhenFocusTarget): Initialise to true.
13648 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13650 * java/beans/VetoableChangeSupport.java
13651 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13653 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13654 for null property name and/or listener,
13655 * javax/swing/JComponent.java
13656 (getListeners): Handle VetoableChangeListener.class as a special case,
13657 (getVetoableChangeListeners): Fetch these from the
13658 vetoableChangeSupport object.
13660 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13662 * javax/swing/JComponent.java
13663 (componentPopupMenu): New field,
13664 (inheritsPopupMenu): New field,
13665 (getInheritsPopupMenu): Implemented,
13666 (setInheritsPopupMenu): Likewise,
13667 (getComponentPopupMenu): Likewise,
13668 (setComponentPopupMenu): Likewise,
13669 * javax/swing/JLabel.java
13670 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13672 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13674 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13675 (toString): New method.
13676 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13677 (toString): New method.
13678 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13679 (toString): New method.
13680 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13681 Handle case when Q is null.
13682 (decodePrivateKey): Likewise.
13683 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13685 (decodePublicKey): Likewise.
13686 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13687 aliases for all block ciphers.
13688 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13689 (engineDoPhase): Compute fully the shared secret.
13690 (checkState): New method.
13692 (engineGenerateSecret()): Reset key-agreement before returning.
13693 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13694 Reset key-agreement before returning.
13695 (engineGenerateSecret(String)): Reset key-agreement before returning.
13696 (engineInit(Key,SecureRandom)): Call reset() before returning.
13697 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13698 (engineInit): Replace printing to System.out with conditional logging.
13699 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13700 When the key-size is not specified, attempt best effort to find a suitable
13701 value among those advertised by the cipher before setting it to the length
13702 of provided key material.
13704 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13706 * javax/swing/table/DefaultTableColumnModel.java
13707 (changeEvent): Don't initialize yet, removed FIXME,
13708 (fireColumnModelChanged): Initialize changeEvent if necessary.
13710 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13712 * java/lang/Thread.java:
13713 (getAllStackTraces()): Implemented.
13714 (getStackTrace()): Likewise.
13716 2006-06-27 Tania Bento <tbento@redhat.com>
13718 * java/awt/Component.java
13719 (setComponentOrientation): NPE should not be thrown.
13721 2006-06-27 Tom Tromey <tromey@redhat.com>
13723 * configure.ac: Create gjar, gnative2ascii, gserialver.
13724 * tools/gappletviewer.in: Quote $@.
13725 * tools/gkeytool.in: Likewise.
13726 * tools/gjarsigner.in: Likewise.
13727 * tools/gjar.in: New file.
13728 * tools/gnative2ascii.in: Likewise.
13729 * tools/gserialver.in: Likewise.
13730 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13732 (bin_SCRIPTS): Likewise.
13734 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13736 * java/lang/management/ThreadMXBean.java:
13737 (getThreadInfo(long[])): Corrected return type.
13738 (getThreadInfo(long[], int)): Likewise.
13740 2006-06-27 Mark Wielaard <mark@klomp.org>
13742 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13743 nothing when listener is null.
13744 (removeFlavorListener): Likewise.
13746 * java/awt/datatransfer/DataFlavor.java
13747 (getRepresentationClassFromMime): Renamed to
13748 getRepresentationClassFromMimeThrows.
13749 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13750 (isRepresentationClassSerializable): Likewise.
13751 (isFlavorJavaFileListType): Likewise and check primary and
13753 (getParameter): Parameters are separated by semi-colons.
13754 (DataFlavor(Class,String,String)): Do some sanity checks.
13755 (DataFlavor(String,String,ClassLoader)): Call
13756 getRepresentationClassFromMimeThrows.
13757 (DataFlavor(String)): Likewise.
13758 (equals(DataFlavor)): Special case primary type text and charset
13761 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13763 * java/awt/Component.java
13764 (setName): Fire required PropertyChangeEvent,
13765 * java/awt/Label.java
13766 (getText): Removed redundant brackets,
13767 (generateName): New method (override),
13768 (nextLabelNumber): New field,
13769 (getUniqueLong): New method.
13771 2006-06-27 Roman Kennke <kennke@aicas.com>
13773 * gnu/java/awt/peer/swing/SwingComponentPeer.java
13774 (createImage): Delegate this to the parent.
13775 (handleEvent): Only handle PAINT/UPDATE events when the
13776 component is actually showing.
13777 (hide): Repaint the parent after hiding a component.
13778 (prepareImage): Have only one return point.
13779 (setVisible): Delegate to show() and hide().
13780 (createVolatileImage): Added null check to avoid NPE.
13782 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13784 * java/awt/Label.java: Reformatted source code.
13786 2006-06-27 Roman Kennke <kennke@aicas.com>
13788 * java/awt/image/BufferedImage.java
13789 (getSource): Use a fixed DirectColorModel to deliver the
13790 RGB pixels to the ImageConsumer.
13792 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13794 * java/awt/Point.java
13795 (setLocation(double, double)): Round to nearest integer coordinates.
13797 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13799 * java/awt/Component.java
13800 (minSizeSet): New field,
13801 (maxSize): Likewise,
13802 (maxSizeSet): Likewise,
13803 (isMaximumSizeSet): Implemented,
13804 (isMinimumSizeSet): Likewise,
13805 (isPreferredSizeSet): Likewise,
13806 (setMaximumSize): Likewise,
13807 (setMinimumSize): Likewise,
13808 (setPreferredSize): Likewise.
13810 2006-06-27 Roman Kennke <kennke@aicas.com>
13812 * javax/imageio/spi/IIORegistry.java
13813 (IIORegistry): Added BMP codec.
13815 2006-06-27 Mark Wielaard <mark@klomp.org>
13817 * javax/swing/JComponent.java
13818 (firePropertyChange(String,char,char)): New override method.
13820 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13822 * java/lang/Thread.java:
13823 (getState()): New method.
13824 * java/lang/management/ClassLoadingMXBean.java:
13825 Corrected class documentation.
13826 * java/lang/management/ManagementFactory.java:
13827 Added new temporary marked stub to get thread bean.
13828 * java/lang/management/OperatingSystemMXBean.java:
13829 Corrected class documentation.
13830 * java/lang/management/RuntimeMXBean.java:
13831 Corrected class documentation.
13832 * java/lang/management/ThreadInfo.java,
13833 * java/lang/management/ThreadMXBean.java:
13835 * vm/reference/java/lang/VMThread.java:
13836 (getState()): New method.
13837 * vm/reference/java/lang/management/VMThreadInfo.java:
13840 2006-06-26 Sven de Marothy <sven@physto.se>
13842 * gnu/javax/imageio/gif/GIFFile.java
13843 * gnu/javax/imageio/gif/GIFImageReader.java
13844 * gnu/javax/imageio/gif/GIFImageSpi.java
13845 * gnu/javax/imageio/gif/GIFStream.java
13847 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13849 2006-06-26 Tania Bento <tbento@redhat.com>
13851 * java/awt/List.java
13852 (List): A list should have at least 4 visible rows.
13853 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13854 not an IllegalArgumentException.
13855 (makeVisible): Should not throw an IllegalArgumentException if
13856 the specified index is out of range.
13858 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13860 * javax/swing/JList.java
13861 (getNextMatch): Reimplemented to perform a circular search for the
13864 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13866 * javax/swing/JList.java
13867 (init): Set default value for visibleRowCount to 8,
13868 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13870 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13872 * javax/swing/JList.java
13873 (valueIsAdjusting): Removed,
13874 (init): Removed initialization of valueIsAdjusting field,
13875 (getValueIsAdjusting): Fetch value from selection model,
13876 (setValueIsAdjusting): Store value in selection model.
13878 2006-06-26 Roman Kennke <kennke@aicas.com>
13880 * javax/swing/plaf/basic/BasicListUI.java
13881 (installKeyboardActions): Rewritten to fit with the
13882 ActionMap/InputMap architecture.
13883 (uninstallKeyboardActions): Implemented.
13884 (ListAction): Made private. Added TODO for splitting
13885 up this bulk Action.
13886 (ListAction.ListAction): New constructor. This one
13887 takes a cmd parameter to be installed as actionCommand.
13889 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13891 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13892 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13894 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13896 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13897 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13898 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13899 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13900 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13901 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13902 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13903 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13904 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13905 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13906 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13907 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13908 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13909 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13910 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13911 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13912 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13913 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13914 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13915 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13916 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13917 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13918 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13919 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13920 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13921 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13922 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13923 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13924 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13925 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13926 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13927 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13928 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13929 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13930 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13931 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13932 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13933 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13934 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13935 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13936 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13937 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13938 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13939 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13940 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13941 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13942 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13943 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13944 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13945 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13946 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13947 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13948 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13949 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13950 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13951 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13952 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13953 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13954 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13955 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13956 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13957 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13958 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13959 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13960 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13961 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13962 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13963 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13964 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13965 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13966 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13967 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13968 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13969 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13970 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13971 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13972 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13973 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13974 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13975 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13976 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13977 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13979 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13981 * javax/swing/JList.java
13982 (setLayoutOrientation): Check for valid argument.
13984 2006-06-26 Roman Kennke <kennke@aicas.com>
13986 * javax/swing/JComponent.java
13987 (firePropertyChange(String,int,int)): New method. Overrides
13988 Component method and makes it public.
13989 (firePropertyChange(String,boolean,boolean)): Likewise.
13991 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
13993 * gnu/java/security/.cvsignore: New File.
13994 * gnu/java/security/Configuration.java.in: New File.
13995 * gnu/java/security/Properties.java: Change import from
13996 gnu.classpath.Configuration to gnu.java.security.Configuration.
13997 * gnu/java/security/hash/Whirlpool.java: Likewise.
13998 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13999 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14000 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14001 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14002 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14003 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14004 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14005 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14006 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14007 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14008 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14009 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14010 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14011 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14012 * gnu/java/security/util/Base64.java: Likewise.
14013 * gnu/java/security/x509/X509CRL.java: Likewise.
14014 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14015 * gnu/java/security/x509/ext/Extension.java: Likewise.
14016 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14017 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14018 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14019 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14020 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14021 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14022 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14023 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14024 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14025 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14026 * gnu/javax/crypto/keyring/Entry.java: Likewise.
14027 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14028 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14029 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14030 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14031 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14032 * gnu/javax/crypto/mac/OMAC.java: Likewise.
14033 * gnu/javax/crypto/pad/BasePad.java: Likewise.
14034 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14035 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14036 * gnu/javax/crypto/pad/TBC.java: Likewise.
14037 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14038 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14039 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14040 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14041 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14042 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14043 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14044 * gnu/javax/security/auth/login/GnuConfiguration.java
14045 (getAppConfigurationEntry): Change reference to
14046 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14047 (getConfigFromUserHome): Likewise.
14048 (getInputStreamFromURL): Likewise.
14049 (getUserHome): Likewise.
14051 (processSecurityProperties): Likewise.
14052 (processSystemProperty): Likewise.
14053 (processUserHome): Likewise.
14054 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14055 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14058 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
14060 * javax/swing/text/DefaultCaret.java (isActive): New method.
14062 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
14064 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14065 * java/lang/management/ClassLoadingMXBean.java:
14066 (getTotalLoadedClassCount()): Corrected return type.
14067 (getUnloadedClassCount()): Likewise.
14068 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14069 (getUnloadedClassCount()): Likewise.
14071 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14073 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14074 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14075 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14076 * gnu/javax/crypto/cipher/Square.java: Likewise.
14077 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14078 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14079 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14080 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14081 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14082 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14083 * gnu/javax/crypto/cipher/DES.java: Likewise.
14084 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14085 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14086 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14087 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14088 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14090 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14092 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14093 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14094 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14095 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14096 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14097 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14098 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14099 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14100 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14101 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14102 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14103 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14104 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14106 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14109 * doc/vmintegration.texinfo:
14110 Updated with information on new VM interface.
14111 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14112 * java/lang/management/ClassLoadingMXBean.java:
14113 New files implementing the class loading bean.
14114 * java/lang/management/ManagementFactory.java:
14115 (getClassLoadingMXBean()): Implemented.
14116 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14117 New VM interface file.
14119 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14121 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14122 (isBootClassPathSupported()): Use SystemProperties
14123 rather than System.getProperty.
14125 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14127 * gnu/java/security/Properties.java: Source formatting.
14128 * gnu/java/security/Registry.java: Likewise.
14130 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14132 * gnu/java/security/util/Util.java: Source formatting.
14133 * gnu/java/security/util/SimpleList.java: Likewise.
14134 * gnu/java/security/util/Sequence.java: Likewise.
14135 * gnu/java/security/util/PRNG.java: Likewise.
14136 * gnu/java/security/util/ExpirableObject.java: Likewise.
14137 * gnu/java/security/util/Base64.java: Likewise.
14138 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14139 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14140 * gnu/java/security/sig/ISignature.java: Likewise.
14141 * gnu/java/security/sig/BaseSignature.java: Likewise.
14142 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14143 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14144 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14145 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14146 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14147 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14148 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14149 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14150 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14151 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14152 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14153 * gnu/java/security/provider/Gnu.java: Likewise.
14154 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14155 * gnu/java/security/prng/RandomEvent.java: Likewise.
14156 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14157 * gnu/java/security/prng/MDGenerator.java: Likewise.
14158 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14159 * gnu/java/security/prng/IRandom.java: Likewise.
14160 * gnu/java/security/prng/EntropySource.java: Likewise.
14161 * gnu/java/security/prng/BasePRNG.java: Likewise.
14163 2006-06-23 Francis Kung <fkung@redhat.com>
14165 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14166 (Harness.actionPerformed): Process additional options.
14167 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14168 (J2dBenchmarkWrapper.setAlias): New method.
14169 (J2dBenchmarkWrapper.setComposite): New method.
14170 (J2dBenchmarkWrapper.setFill): New method.
14171 (J2dBenchmarkWrapper.setRotation): New method.
14172 (J2dBenchmarkWrapper.setShear): New method.
14173 (J2dBenchmarkWrapper.setStroke): New method.
14174 (J2dBenchmarkWrapper.setTranslation): New method.
14175 (run): Add additional options to GUI.
14176 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14177 Added protected fields for various options.
14178 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14179 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14180 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14181 (getNextColor): Renamed to setRandom.
14182 (init): Load additional image for texturing if needed.
14183 (loadBufferedImage): New method.
14184 (main): Accept additional command-line switches.
14185 (prepareGraphics): New method.
14186 (resetGraphics): New method.
14187 (runTestSuite): Accept additional image-processing options.
14188 (setRandom): Renamed from getNextColor; generate various random options
14189 (test_drawArc): Rename getNextColor to setRandom.
14190 (test_drawCubic): Likewise.
14191 (test_drawEllipse): Likewise.
14192 (test_drawGeneralPath): Likewise.
14193 (test_drawImage): Likewise.
14194 (test_drawLine): Likewise.
14195 (test_drawQuadCurve): Likewise.
14196 (test_drawRectangle): Likewise.
14197 (test_drawRoundRectangle): Likewise.
14198 (test_drawTransparentImage): Likewise.
14199 (test_fillArc): Rename getNextColor to setRandom.
14200 (test_fillEllipse): Likewise.
14201 (test_fillGeneralPath): Likewise.
14202 (test_fillRectangle): Likewise.
14203 (test_fillRoundRectangle): Likewise.
14204 (TestRecorder.getAverage): Round the average time.
14206 2006-06-23 Tom Tromey <tromey@redhat.com>
14208 * java/util/logging/LoggingMXBean.java: New file.
14209 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14210 (loggingBean): New field.
14211 (getLoggingMXBean): New method.
14213 2006-06-23 Tania Bento <tbento@redhat.com>
14215 * java/awt/TextField.java
14216 (TextField): Default number of columns should be 0, not 1.
14217 (TextField): Check if number of columns given as argument
14218 is valid (>= 0) and set the number of columns accordingly.
14219 (TextField): Check if the string passed is null. If it is,
14220 set columns to 0, else columns is set to the length of
14223 2006-06-23 Roman Kennke <kennke@aicas.com>
14225 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14226 (InternalFramePropertyChangeListener.propertyChange):
14227 Don't call getPropertyName() repeatedly. Added null checks
14228 to avoid NPEs. Call closeFrame() if the closed property
14231 2006-06-23 Roman Kennke <kennke@aicas.com>
14233 * javax/swing/JInternalFrame.java
14234 (maxTransition): Removed.
14235 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14236 Don't initialize storedBounds here.
14237 (dipose): Rewritten to correctly dispose the JInternalFrame.
14238 (getDesktopIcon): Don't initialize desktopIcon here.
14239 (getLayer): Delegate to JLayeredPane.getLayer().
14240 (getNormalBounds): Return bounds when storedBounds == null,
14241 otherwise storedBounds.
14242 (hide): Don't change selection. Also hide the desktopIcon.
14243 (moveToBack): Call getParent() only once.
14244 (moveToFront): Call getParent() only once.
14245 (pack): Call validate() to make sure that the layout is
14246 propagated to the children.
14247 (setClosed): Fire InternalFrameEvent first, before the
14249 (setJMenuBar): Fire PropertyChangeEvent for this property.
14250 (setLayer): Delegate to JLayeredPane.
14251 (setLayeredPane): Check for null and throw IllegalArgumenException.
14252 (setMaximum): Remove handling of maxTransition and normalBounds.
14253 Should probably be done in the UI.
14254 (setNormalBounds): Store Rectangle object directly, not a copy.
14255 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14256 adding the RootPane doesn't add it to the contentPane.
14257 Fire PropertyChangeEvent.
14258 (setSelected): Added condition for when this property must not
14260 (show): Don't ask the DesktopPane to select the frame. Moved
14261 code around to fire InternalFrameEvent before actually calling
14262 super.show(). Also make the desktopIcon visible.
14263 (setTitle): Fire PropertyChangeEvent unconditionally.
14265 2006-06-23 Roman Kennke <kennke@aicas.com>
14267 * javax/swing/JLayeredPane.java
14268 (getPosition): Moved code around to avoid unnecessary method calls.
14269 (setPosition): Delegate to setLayer().
14270 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14271 (insertIndexForLayer(Component,int,int)): New helper method
14272 to support the use of setComponentZOrder() which doesn't remove
14273 the component and thus the insertIndexForLayer must ignore
14274 the component to be moved to get the index right.
14275 (setLayer): Added check to prevent unnecessary execution of
14276 method body. Changed to update the component order here.
14277 Added repaint() to make sure that the update becomes visible.
14278 (addImpl): Call setLayer() only when a constraint has been specified.
14279 Validate and repaint the JLayeredPane.
14281 2006-06-23 Roman Kennke <kennke@aicas.com>
14283 * java/awt/Container.java
14284 (getComponentZOrder): Use ncomponents instead of
14285 component.length so that we don't consider the empty space
14286 after the last component.
14288 2006-06-22 Roman Kennke <kennke@aicas.com>
14290 * javax/swing/JComponent.java
14291 (vetoableChangeSupport): New field.
14292 (removeVetoableChangeListener): Rewritten to use
14293 vetoableChangeSupport.
14294 (addVetoableChangeListener): Rewritten to use
14295 vetoableChangeSupport.
14296 (fireVetoableChange): Rewritten to use
14297 vetoableChangeSupport.
14298 (addPropertyChangeListener): Removed. This is handled in
14300 (firePropertyChange(String,boolean,boolean)): Likewise.
14301 (firePropertyChange(String,char,char)): Likewise.
14302 (firePropertyChange(String,int,int)): Likewise.
14303 (revalidate): Don't do anything when the commponent has no
14306 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14308 * javax/swing/JLabel.java: Updated API docs.
14310 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14312 * java/awt/Insets.java: Updated copyright year.
14313 (toString): Changed string, removed a line from the
14316 2006-06-22 Roman Kennke <kennke@aicas.com>
14318 * javax/swing/text/AbstractDocument.java
14319 (AbstractDocument): Set the i18n document property.
14320 (removeImpl): Added checks for correct boundaries.
14322 2006-06-22 Roman Kennke <kennke@aicas.com>
14324 * javax/swing/text/PlainDocument.java
14325 (rootElement): Changed type to Element.
14326 (tabSize): Removed field. This is stored in the document properties
14328 (PlainDocument): Set tabSize property. Init rootElement without
14330 (insertUpdate): Rewritten. The previous implementation did not
14331 handle some corner cases properly and was a mess.
14332 (removeUpdate): Cast rootElement to BranchElement.
14334 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14336 * javax/swing/plaf/basic/BasicLabelUI.java
14337 (installKeyboardActions): Implemented,
14338 (uninstallKeyboardActions): Implemented,
14339 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14342 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14344 * javax/swing/JMenu.java:
14345 (removeAll): Added check for popupMenu not being null.
14347 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14349 * javax/swing/JLabel.java
14350 (getText): Updated API docs,
14351 (setText): Corrected the check for an unchanged value, and the update
14352 of the displayedMnemonicIndex.
14354 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14356 * javax/swing/JLabel.java
14357 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14359 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14360 where label text is null.
14362 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14364 * javax/swing/JLabel.java
14365 (setDisplayedMnemonic): Updated API docs,
14366 (getDisplayedMnemonic): Removed unnecessary type-cast,
14367 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14368 (getDisplayedMnemonicIndex): Updated API docs.
14370 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14372 * java/util/Collections (entrySet): Fixed compile error.
14374 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14376 * javax/swing/DefaultListSelectionModel.java
14377 (getSelectionMode): Updated API docs,
14378 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14379 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14380 setSelectionInterval(),
14381 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14382 SINGLE_INTERVAL_SELECTION cases.
14384 2006-06-21 Roman Kennke <kennke@aicas.com>
14386 * javax/swing/text/AbstractDocument.java
14387 (BranchElement.numChildren): New field.
14388 (BranchElement.BranchElement): Initialize children array with
14389 one element (that's the least number of elements that makes sense).
14390 Initialize numChildren.
14391 (BranchElement.children): Use numChildren as boundary.
14392 (BranchElement.getElement): Use numChildren as boundary.
14393 (BranchElement.getElementCount): Use numChildren as boundary.
14394 (BranchElement.getElementIndex): Use numChildren as boundary.
14395 (BranchElement.getEndOffset): Use numChildren as boundary.
14396 (BranchElement.getStartOffset): Use numChildren as boundary.
14397 (BranchElement.positionToElement): Use numChildren as boundary.
14398 (BranchElement.replace): Handle the children array more efficiently
14399 by growing in blocks > 1, and reusing space from removed elements.
14400 (LeafElement.startDelta): Removed.
14401 (LeafElement.endDelta): Removed.
14402 (LeafElement.LeafElement): Removed handling of deltas.
14403 (LeafElement.getEndOffset): Likewise.
14404 (LeafElement.getStartOffset): Likewise.
14405 * javax/swing/text/JTextComponent.java
14406 (setDocument): Added locking of the old document to avoid dangling
14407 notification beeing delivered while the document is beeing
14409 (getScrollableTracksViewportWidth): Fixed condition.
14410 * javax/swing/text/PlainDocument.java
14411 (createDefaultRoot): Create elements without AttributeSet.
14412 * javax/swing/text/rtf/RTFParser.java
14413 (parseFile): Handle slightly incorrect RTF gracefully.
14414 * javax/swing/text/rtf/RTFScanner.java
14415 (lastToken): New field.
14416 (readTokenImpl): New method.
14417 (peekToken): New method.
14418 (readToken): Changed to call readTokenImpl or return the lastToken
14419 if there's one present.
14421 2006-06-21 Tania Bento <tbento@redhat.com>
14423 * javax/swing/JMenu.java
14424 (remove): An IllegalArgumentException should be thrown if
14425 either index < 0 or if index > 0 and there are no menu
14426 components. Also, a check was added that ensures there are
14427 menu components before removing the desired the component.
14429 2006-06-21 Lillian Angel <langel@redhat.com>
14431 * javax/swing/text/DefaultCaret.java
14432 (install): Added check to prevent NPE.
14433 (propertyChange): Added checks to prevent NPEs.
14435 2006-06-21 Tania Bento <tbento@redhat.com>
14437 * javax/swing/JMenu.java
14438 Changed instantiation of popupMenu to null.
14439 (JMenu): Instantiated popupMenu to new JPopupMenu.
14440 (JMenu): Instantiated popupMenu to new JPopupMenu.
14441 (add): Changed popupMenu to getPopupMenu().
14442 (add): Changed popupMenu to getPopupMenu().
14443 (add): Changed popupMenu to getPopupMenu().
14444 (add): Changed popupMenu to getPopupMenu().
14445 (remove): Changed popupMenu to getPopupMenu().
14446 (remove): Changed popupMenu to getPopupMenu().
14447 (insert): Changed popupMenu to getPopupMenu().
14448 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14449 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14450 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14451 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14452 (getMenuComponents): Changed popupMenu to getPopupMenu().
14453 (getPopupMenu): Check first if popupMenu is null and if so,
14454 instantiate it to a new JPopupMenu and set the invoker.
14455 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14456 (popupMenuWillBecomeVisible): Component Listener should only
14457 be added to the root container if the root container is not
14458 null. This avoids a null pointer exception.
14460 2006-06-21 Tania Bento <tbento@redhat.com>
14462 * javax/swing/JMenu.java
14463 (JMenu): Delay should be set to 200, not default of 0.
14464 (JMenu): Delay should be set to 200, not default of 0.
14465 (JMenu): Delay should be set to 200, not default of 0.
14466 (JMenu): Delay should be set to 200, not default of 0.
14467 (remove): Added check that index >= 0 before removing
14469 (getItem): Return null if item count equals 0.
14470 (isTearOff): Should throw new error and not return false.
14471 (getMenuComponent): Return null if popupMenu is null or
14472 if there are no menu components.
14474 2006-06-21 Roman Kennke <kennke@aicas.com>
14476 * java/awt/font/FontRenderContext.java:
14477 (equals): Added special conditions for affineTransform beeing
14480 2006-06-21 Roman Kennke <kennke@aicas.com>
14482 * javax/swing/UIManager.java
14483 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14484 must not be cleared.
14486 2006-06-21 Roman Kennke <kennke@aicas.com>
14488 * javax/swing/plaf/metal/MetalUtils.java
14489 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14490 Graphics2D is available. Use fillRect instead of drawLine, this
14492 (paintVerticalGradient): Use paintHorizontalGradient2D when
14493 Graphics2D is available. Use fillRect instead of drawLine, this
14495 (paintHorizontalGradient2D): New method. Paints gradient
14496 using Graphics2D functions.
14497 (paintVerticalGradient2D): New method. Paints gradient
14498 using Graphics2D functions.
14500 2006-06-21 Roman Kennke <kennke@aicas.com>
14502 * javax/swing/plaf/basic/BasicButtonListener.java
14503 (propertyChange): Create a TextLayout and store it in the button
14504 when the 'text' property changes.
14505 * javax/swing/plaf/basic/BasicButtonUI.java
14506 (paintText): Call BasicGraphicsUtils utility method for
14507 drawing strings, instead of Graphics.drawString().
14508 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14509 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14510 cached text layouts as client properties in JComponents.
14511 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14512 (drawStringUnderlineCharAt): New helper method.
14513 * javax/swing/plaf/basic/BasicMenuItemUI.java
14514 (PropertyChangeHandler.propertyChange): Update cached text layout
14515 when 'text' property changes. Use equals() instead of == for
14517 (paintText): Use new BasicGraphicsUtils methods for painting
14518 the cached text layout.
14519 (installListeners): Call super.installListeners() and remove
14520 the unneeded listener installs.
14521 (uninstallListeners): Call super.uninstallListeners() and remove
14522 the unneeded listener uninstalls.
14524 2006-06-21 Roman Kennke <kennke@aicas.com>
14526 * javax/swing/plaf/basic/BasicTextUI.java
14527 (PropertyChangeHandler.propertyChange): Handle document listener
14529 (background): Removed unneeded fields.
14530 (inactiveBackground): Remove unneeded fields.
14531 (installUI): Install the document listener. Slightly changed
14532 order of operations. Don't trigger modelChanged().
14533 (installDefaults): Only install properties when the
14534 current properties are null or instances of UIResource.
14535 (installListeners): Removed unnecessary listener installs.
14536 (installDocumentListeners): Removed unneeded method.
14537 (uninstallListeners): Removed unnecessary listener uninstalls.
14538 (modelChanged): Removed call to installDocumentListeners().
14539 * javax/swing/plaf/basic/BasicTextFieldUI.java
14540 (propertyChange): Update the colors by fetching them from
14541 SharedUIDefaults. Fixed conditions.
14542 * javax/swing/plaf/basic/SharedUIDefaults.java
14543 (getColor): New method.
14545 2006-06-21 Roman Kennke <kennke@aicas.com>
14547 * javax/swing/SizeSequence.java
14548 (SizeSequence): Initialize array with correct number of entries.
14550 2006-06-21 Roman Kennke <kennke@aicas.com>
14552 * javax/swing/JSplitPane.java
14553 (setDividerLocation): Substract divider size when computing
14556 2006-06-21 Roman Kennke <kennke@aicas.com>
14558 * javax/swing/JComponent.java
14559 (paintChildrenWithOverlap): Determine opaque property by
14560 calling the corresponding Component method, without requiring
14562 (paintChildrenOptimized): Removed old unneeded code.
14563 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14564 method instead of SwingUtilities.convertRectangle(). This is
14567 2006-06-21 Roman Kennke <kennke@aicas.com>
14569 * javax/swing/AbstractButton.java
14570 (init): Call setText() instead of setting the property directly,
14571 so that listeners (especially in the UI) get notified.
14573 2006-06-21 Roman Kennke <kennke@aicas.com>
14575 * javax/swing/UIManager.java
14576 (MultiplexUIDefaults): New inner class.
14577 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14578 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14579 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14580 directly. Print stacktrace if something goes wrong.
14581 (get): Delegate call to currentUIDefaults.
14582 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14584 (getUI): Delegate call to currentUIDefaults.
14585 (put): Delegate call to currentUIDefaults.
14586 (setLookAndFeel): Initialize currentUIDefaults with
14587 MultiplexUIDefaults. Set lookAndFeelDefaults.
14588 (setLookAndFeel): Use current thread's context classloader for
14591 2006-06-21 Roman Kennke <kennke@aicas.com>
14593 * javax/swing/text/GapContent.java
14594 (GapContentPosition.GapContentPosition): Replace
14595 Collections.binarySearch with call to local search() to make
14596 sure we find the first object that equals the searched object.
14597 (setPositionsInRange): Likewise.
14598 (adjustPositionsInRange): Likewise.
14599 (search): New helper method.
14601 2006-06-21 Gary Benson <gbenson@redhat.com>
14603 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14604 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14605 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14607 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14609 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14610 APPLETVIEWER_EXECUTABLE to gappletviewer.
14612 2006-06-20 Tom Tromey <tromey@redhat.com>
14614 PR classpath/28095:
14615 * java/net/URL.java (URL): Throw MalformedURLException if a
14616 RuntimeException is caught. Chain exceptions.
14618 2006-06-20 Lillian Angel <langel@redhat.com>
14620 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14621 (create): Added check to prevent Seg Fault. Should not
14622 set the label if it is null.
14623 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14624 (setText): Changed to be a non-native function. Calls
14625 setNativeText if the String parameter is non-null.
14626 (setNativeText): Replaces old native setText function.
14627 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14629 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14630 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14631 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14632 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14634 2006-06-20 Lillian Angel <langel@redhat.com>
14636 * javax/swing/text/JTextComponent.java
14637 (AccessibleJTextComponent): Rewrote all javadocs
14638 for this inner class.
14640 2006-06-20 Francis Kung <fkung@redhat.com>
14642 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14643 Changed many members to be protected.
14644 (J2dBenchmark): moved to init() instead.
14645 (init): New method.
14646 (main): Call init() after creating object
14647 (testComplete): New method.
14648 (test_drawArc): Use maxTests varialbe instead of constant.
14649 (test_drawCubicCurve): Likewise.
14650 (test_drawEllipse): Likewise.
14651 (test_drawGeneralPath): Likewise.
14652 (test_drawImage): Likewise.
14653 (test_drawLine): Likewise.
14654 (test_drawQuadCurve): Likewise.
14655 (test_drawRectangle): Likewise.
14656 (test_drawRoundRectangle): Likewise.
14657 (test_drawTransparentImage): Likewise.
14658 (test_fillArc): Likewise.
14659 (test_fillEllipse): Likewise.
14660 (test_fillGeneralPath): Likewise.
14661 (test_fillRectangle): Likewise.
14662 (test_fillRoundRectangle): Likewise.
14663 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14664 (GraphicsTest.runSetWithClipping): Likewise.
14665 (GraphicsTest.runSetZeroClipping): Likewise.
14666 (GraphicsTest.run): Added checks for more option flags.
14667 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14670 2006-06-20 Roman Kennke <kennke@aicas.com>
14672 * javax/swing/text/GapContent.java
14673 (GapContentPosition.mark): New field.
14674 (GapContentPosition.index): Removed.
14675 (GapContentPosition.GapContentPosition): Changed to take the
14676 real offset as parameter. Added handling of reference counter.
14677 Try to cleanup before creating new instances.
14678 (getOffset): Delegate to the Mark method with same name.
14679 (Mark): New class, encapsulating a mark.
14680 (positionMarks): Removed field.
14681 (numMarks): Removed field.
14682 (marks): New field.
14683 (queueOfDeath): New field.
14684 (GapContent): Removed init of old fields, added init of new fields.
14685 (createPosition): Added check for validity of arguments.
14686 Create GapContentPosition directly with offset.
14687 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14688 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14689 (shiftGapStartDown): Call resetMarksAtZero().
14690 (shiftGapEndUp): Call resetMarksAtZero().
14691 (replace): Don't call resetMarksAtZero().
14692 (setPositionInRange): Replaced by simpler algorithm, similar to
14693 adjustPositionsInRange.
14694 (adjustPositionsInRange): Adapted to use of Mark objects.
14695 (resetMarksAtZero): Reset all marks that point to zero instead
14696 of only the first one.
14697 (dumpMarks): Adjusted to dump Mark objects.
14698 (insertMark): Removed.
14699 (garbageCollect): New method. Cleans up the marks list.
14700 (binarySearch): Removed.
14702 2006-06-20 Lillian Angel <langel@redhat.com>
14704 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14705 (drawImage): Added call to updateColor because
14706 Cairo seems to lose the current color.
14708 2006-06-20 Gary Benson <gbenson@redhat.com>
14710 * java/awt/Toolkit.java: Add security check.
14711 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14712 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14714 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14716 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14717 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14718 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14719 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14720 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14721 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14722 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14723 * gnu/java/security/key/dss/FIPS186.java: Likewise.
14724 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14725 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14726 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14727 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14728 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14729 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14730 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14731 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14732 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14733 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14734 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14736 2006-06-19 Lillian Angel <langel@redhat.com>
14738 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14739 (drawImage): Should always use getRGB to get the pixels.
14740 getData returns an incorrect array of pixels.
14742 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14744 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14745 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14746 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14747 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14748 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14749 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14750 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14751 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14752 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14753 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14754 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14755 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14756 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14757 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14758 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14759 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14760 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14761 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14762 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14763 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14764 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14765 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14766 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14767 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14768 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14769 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14770 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14771 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14772 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14773 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14774 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14775 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14776 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14777 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14778 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14779 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14781 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14783 * NEWS: Updated (delayed) for security tools and tools.texinfo.
14785 2006-06-19 Roman Kennke <kennke@aicas.com>
14787 * gnu/java/awt/peer/gtk/ComponentGraphics.java
14788 (drawImage): Clip volatile image correctly.
14789 (drawVolatileImage): Added arguments for clipping.
14790 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14791 (drawVolatileImage): Added arguments for clipping. Clip image
14793 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14795 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14798 * java/rmi/server/UID.java (constructor): Synchronized
14799 the whole constructor on the UID class.
14801 2006-06-19 Roman Kennke <kennke@aicas.com>
14803 * javax/swing/RepaintManager.java
14804 (addInvalidComponent): Only add component that are displayable,
14805 that have displayable parents and that have a validateRoot.
14806 Also, don't validate components that have a CellRendererPane
14809 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
14811 * javax/swing/plaf/IconUIResource.java
14812 (IconUIResource): Throw IllegalArgumentException for null icon.
14814 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14817 * java/rmi/server/UID.java (constructor): First increment
14818 uidCounter, and then use the value.
14820 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
14822 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14823 * java/awt/GridBagConstraints.java: Indent.
14825 2006-06-18 Tom Tromey <tromey@redhat.com>
14827 * native/jni/gconf-peer/.cvsignore: New file.
14829 2006-06-18 Tom Tromey <tromey@redhat.com>
14831 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14832 Also handle short options.
14834 2006-06-18 Jim Huang <jserv@kaffe.org>
14836 PR classpath/28076:
14837 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14840 2006-06-19 Mark Wielaard <mark@klomp.org>
14842 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14843 on gnu/java/util/prefs/gconf/%.class.
14844 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14845 chache typo, should be cache.
14846 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14848 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14850 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14851 Don't return a value for void function.
14852 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14854 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14855 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
14857 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14858 Mark clazz ad unused.
14860 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14862 * gnu/java/security/hash/Whirlpool.java: Source formatting.
14863 * gnu/java/security/hash/Tiger.java: Likewise.
14864 * gnu/java/security/hash/Sha512.java: Likewise.
14865 * gnu/java/security/hash/Sha384.java: Likewise.
14866 * gnu/java/security/hash/Sha256.java: Likewise.
14867 * gnu/java/security/hash/Sha160.java: Likewise.
14868 * gnu/java/security/hash/RipeMD160.java: Likewise.
14869 * gnu/java/security/hash/RipeMD128.java: Likewise.
14870 * gnu/java/security/hash/MD5.java: Likewise.
14871 * gnu/java/security/hash/MD4.java: Likewise.
14872 * gnu/java/security/hash/MD2.java: Likewise.
14873 * gnu/java/security/hash/IMessageDigest.java: Likewise.
14874 * gnu/java/security/hash/Haval.java: Likewise.
14875 * gnu/java/security/hash/HashFactory.java: Likewise.
14876 * gnu/java/security/hash/BaseHash.java: Likewise.
14878 2006-06-18 Sven de Marothy <sven@physto.se>
14880 * java/awt/event/KeyEvent.java:
14881 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14882 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14883 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14885 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14887 * gnu/java/security/util/Prime2.java: Removed.
14888 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14889 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14890 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14891 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14892 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14893 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14894 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14895 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14896 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14897 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14898 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14899 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14901 2006-06-18 Sven de Marothy <sven@physto.se>
14903 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14904 * java/awt/font/TextMeasurer.java: Fix copyright date,
14905 remove commented-out code.
14907 2006-06-18 Sven de Marothy <sven@physto.se>
14909 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14910 (FreetypeGlyphVector, clone): Implement cloning.
14911 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14912 * java/awt/font/TextMeasurer.java: Implement.
14913 * java/awt/font/LineBreakMeasurer.java:
14914 Reimplement to use TextMeasurer.
14915 * java/awt/font/TextLayout.java
14917 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14918 (getText, getFont): New private static methods.
14919 (setCharIndices): New method.
14920 * java/text/AttributedString.java
14921 (AttributedString): Fix constructor to stop at end point.
14923 2006-06-17 Tom Tromey <tromey@redhat.com>
14925 * lib/gen-classlist.sh.in: Search all top-level directories, not
14926 just 'org', in external.
14928 2006-06-12 Mario torre <neugens at limasoftware.net>
14930 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14931 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14932 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14933 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14935 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14936 * configure.ac: update to introduce new files. Added options
14937 to build gconf native peer used by the GConf preference backend.
14938 * include/Makefile.am: update to introduce new files.
14939 * native/jni/Makefile.am update to introduce new files.
14940 * scripts/check_jni_methods.sh: added three new ignored file
14942 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14943 build gconf-peer shared library.
14945 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14947 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14948 Use Integer.valueOf() instead of new Integer().
14949 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14950 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14951 * gnu/java/security/util/Sequence.java: Likewise.
14952 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14953 * gnu/java/security/x509/X509Certificate.java: Likewise.
14954 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14955 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14956 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14957 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14958 * gnu/javax/crypto/cipher/DES.java: Likewise.
14959 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14960 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14961 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14962 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14963 * gnu/javax/crypto/cipher/Square.java: Likewise.
14964 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14965 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14966 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14967 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14968 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14969 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14970 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14971 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14972 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14973 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14974 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14975 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14976 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14977 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14978 * gnu/javax/crypto/mac/UHash32.java: Likewise.
14979 * gnu/javax/crypto/mac/UMac32.java: Likewise.
14980 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14981 * gnu/javax/crypto/mode/EAX.java: Likewise.
14982 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14983 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14984 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14985 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14986 * java/security/cert/X509CertSelector.java: Likewise.
14988 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
14990 * javax/management/DynamicMBean.java:
14991 (setAttribute): Fixed to return void.
14992 * javax/management/MBeanFeatureInfo.java:
14995 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14997 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14998 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14999 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15000 into engineInitHandler and reuse the code in
15001 engineInit(int, Key, AlgorithmSpec, SecureRandom).
15002 (engineInitHandler): New method.
15003 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15004 null, use random or default information when possible.
15006 2006-06-16 Francis Kung <fkung@redhat.com>
15008 * examples/gnu/classpath/examples/swing/Demo.java:
15009 (mkButtonBar): Rename FillRect to JNIOverhead.
15010 (mkMenuBar): Rename FillRect to JNIOverhead.
15011 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15012 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15013 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15014 Moved from old FillRect.
15016 2006-06-16 Tom Tromey <tromey@redhat.com>
15018 * tools/.cvsignore: Added new tool names.
15020 2006-06-16 Keith Seitz <keiths@redhat.com>
15022 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15023 instantiation so that EventManager is created when getDefault
15025 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15028 2006-06-16 Keith Seitz <keiths@redhat.com>
15030 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15031 (_initCount): New field.
15032 (Jdwp): Don't set isDebugging until fully initialized.
15033 (subcomponentInitialized): New method.
15034 (run): Wait for PacketProcessor and JdwpConnection to
15035 startup, then set isDebugging, and then let this thread
15037 * gnu/classpath/jdwp/transport/JdwpConnection.java
15038 (run): Add synchronization notification.
15039 * gnu/classpath/jdwp/processor/PacketProcessor.java
15042 2006-06-16 Tom Tromey <tromey@redhat.com>
15044 * NEWS: Updated for JSR 166.
15046 2006-06-16 Tom Tromey <tromey@redhat.com>
15048 * lib/Makefile.am (compile_classpath): Added jsr166.
15049 * configure.ac: Added external/jsr166/Makefile.
15050 * external/Makefile.am (SUBDIRS): Added jsr166.
15051 * external/jsr166/Makefile.am: New file.
15052 * lib/gen-classlist.sh.in: Look in external/jsr166.
15054 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15056 * gnu/classpath/jdwp/event/ExceptionEvent:
15057 Added Object instance to javadoc in constructor
15058 * gnu/classpath/jdwp/event/MethodEntryEvent:
15060 * gnu/classpath/jdwp/event/MethodExitEvent:
15062 * gnu/classpath/jdwp/event/SingleStepEvent:
15065 2006-06-16 Tom Tromey <tromey@redhat.com>
15067 Imported JSR 166 reference implementation:
15068 * .classpath: Added external/jsr166.
15069 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15070 * java/util/AbstractQueue.java: Removed.
15071 * java/util/Queue.java: Removed.
15072 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15073 (runPeriodic): Added explicit cast.
15074 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15077 2006-06-16 Tom Tromey <tromey@redhat.com>
15079 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15081 (getCallerClass): Now static.
15082 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15084 2006-06-16 Lillian Angel <langel@redhat.com>
15086 * java/awt/FileDialog.java
15087 (FileDialog): Added @since tag to API docs.
15088 (FileDialog): Likewise.
15089 (FileDialog): Likewise.
15090 * java/awt/Font.java:
15091 Added @since tag to TYPE1_FONT field docs.
15092 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15093 (isThumbRollover): Likewise.
15094 (setThumbRollover): Likewise.
15095 (getSupportsAbsolutePositioning): Likewise.
15096 * javax/swing/plaf/basic/BasicSliderUI.java:
15097 (isDragging): Likewise.
15099 2006-06-16 Lillian Angel <langel@redhat.com>
15101 * java/awt/FileDialog.java
15102 (FileDialog): Implemented.
15103 (FileDialog): Implemented.
15104 (FileDialog): Implemented.
15105 * java/awt/Font.java:
15106 Added TYPE1_FONT constant field.
15108 2006-06-16 Lillian Angel <langel@redhat.com>
15110 * java/awt/font/TextLayout.java:
15111 Removed unneeded imports.
15112 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15113 Added new thumbRollover field.
15114 (mouseMoved): Added code to set thumbRollover field.
15115 (isThumbRollover): New function.
15116 (setThumbRollover): New function.
15117 (getSupportsAbsolutePositioning): Implemented. This
15118 needs to be changed once the feature has been
15120 * javax/swing/plaf/basic/BasicSliderUI.java:
15121 Added new dragging field.
15122 (mouseDragged): Initialized dragging field.
15123 (isDragging): New function.
15124 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15125 (focusGained): Marked as not implemented.
15126 (focusLost): Likewise.
15128 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15130 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15131 Added check for null ThreadId to avoid null pointer
15134 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15136 * javax/swing/DefaultComboBoxModel.java
15137 (removeElementAt): Set new selected item by calling setSelectedItem().
15139 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15141 * javax/swing/DefaultButtonModel.java
15142 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15144 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15146 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15147 (ListDataEvent): Handle case where index0 > index1,
15148 (toString): Implemented.
15150 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15152 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15153 (update): Added subexpression to if-statement.
15155 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15157 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15158 (installDefaults): Removed unneccessary code.
15159 (paint): Removed complex if-cascade, revert to default icon if
15160 icon property is not set.
15161 (getPreferredSize): New method.
15163 2006-06-16 Roman Kennke <kennke@aicas.com>
15166 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15167 (drawImage): Don't use setClip() but instead clipRect() to
15168 intersect the current clip with a new one.
15170 2006-06-15 Tom Tromey <tromey@redhat.com>
15172 * scripts/sanitize-jsr166: New file.
15173 * external/jsr166/IMPORTING: New file.
15174 * vm/reference/sun/reflect/Reflection.java: New file.
15175 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15176 * vm/reference/sun/misc/Unsafe.java: ...here.
15178 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15180 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15181 gjarsigner and keytool to gkeytool.
15182 * doc/tools.texinfo: Add note about tool exectable names.
15183 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15184 jarsigner to gjarsigner and keytool to gkeytool.
15185 * tools/appletviewer.in: Rename ...
15186 * tools/gappletviewer.in: New file.
15187 * tools/jarsigner.in: Rename ...
15188 * tools/gjarsigner.in: New file.
15189 * tools/keytool.in: Rename ...
15190 * tools/gkeytool.in: New file.
15191 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15193 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15195 * javax/management/AttributeList.java:
15196 Add serialization UID.
15197 * javax/management/DynamicMBean.java:
15199 * javax/management/JMRuntimeException.java:
15200 Add serialization UID and correct name
15201 of serialized field.
15202 * javax/management/MBeanInfo.java: New file.
15204 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15206 * javax/management/AttributeList.java,
15207 * javax/management/JMRuntimeException.java,
15208 * javax/management/RuntimeOperationsException.java:
15211 2006-06-15 Lillian Angel <langel@redhat.com>
15213 * java/awt/font/TextLayout.java:
15214 DEFAULT_CARET_POLICY changed to be public static final.
15216 2006-06-15 Tania Bento <tbento@redhat.com>
15218 * javax/swing/plaf/metal/MetalScrollButton.java
15219 (MetalScrollButton): Should set 'focusable' to false.
15221 2006-06-15 Tania Bento <tbento@redhat.com>
15223 * javax/swing/plaf/basic/BasicArrowButton.java
15224 (BasicArrowButton): Should set 'focusable' to false.
15225 (BasicArrowButton): Should set 'focusable' to false.
15227 2006-06-15 Mark Wielaard <mark@klomp.org>
15229 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15230 (getGraphicsConfiguration): Return default screen device.
15231 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15233 (GtkVolatileImage): Record initiating component.
15234 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15235 (getDeviceConfiguration): Return configuration of image component.
15237 2006-06-15 Mark Wielaard <mark@klomp.org>
15239 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15242 2006-06-15 Mark Wielaard <mark@klomp.org>
15244 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15245 with null argument.
15247 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15249 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15250 (matches): Added explicit brackets to return statement.
15252 2006-06-15 Tania Bento <tbento@redhat.com>
15254 * javax/swing/JRadioButtonMenuItem.java
15255 (JRadioButtonMenuItem): Should set 'focusable' to false.
15257 2006-06-15 Tania Bento <tbento@redhat.com>
15259 * javax/swing/JCheckBoxMenuItem.java
15260 (JCheckBoxMenuItem): Should set 'focusable' to false.
15262 2006-06-15 Tania Bento <tbento@redhat.com>
15264 * javax/swing/AbstractButton.java:
15265 (AbstractButton): 'Focusable' should be set to true and not false.
15267 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15269 * java/lang/management/ManagementFactory.java:
15270 Add private constructor to prevent instance creation.
15271 * java/lang/management/ManagementPermission.java:
15274 2006-06-15 Francis Kung <fkung@redhat.com>
15276 * javax/swing/plaf/basic/BasicArrowButton.java:
15277 (BasicArrowButton): move client property for not triggering out
15279 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15280 (configureArrowButton): set client property for not triggering
15281 (installUI): set client property for not triggering
15282 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15283 (PopupHelper.mousePressed): check client property for triggering
15285 2006-06-15 Roman Kennke <kennke@aicas.com>
15288 * javax/swing/RepaintManager.java
15289 (blitBuffer): Substract coordinates the other way around.
15291 2006-06-15 Roman Kennke <kennke@aicas.com>
15294 * javax/swing/JComponent.java
15295 (paintImmediately2): Only paint component without double buffering
15296 when all of it's parents have also double buffering disabled.
15297 (isPaintingDoubleBuffered): New helper method.
15299 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15301 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15302 (draw(Shape)): Pass null transform to getPathIterator(),
15303 (getClip): Likewise,
15304 * gnu/java/print/PostscriptGraphics2D.java
15305 (drawStringShape): Pass null transform to getPathIterator(),
15306 (writeShape): Likewise,
15307 * java/awt/Shape.java: Small updates to API docs.
15309 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15311 * javax/naming/InitialContext.java:
15312 (list(javax.naming.Name)): Fixed generic type.
15313 (list(String)): Likewise.
15314 (listBindings(javax.naming.Name)): Likewise.
15315 (listBindings(String)): Likewise.
15317 2006-06-14 Roman Kennke <kennke@aicas.com>
15319 * javax/swing/plaf/basic/BasicComboBoxUI.java
15320 (getAccessibleChildrenCount): Implemented.
15321 (getAccessibleChild): Implemented.
15322 (isNavigationKey): Implemented.
15323 (KeyHandler.keyPressed): Implemented.
15325 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15327 * java/lang/management/ManagementPermission.java:
15328 Added serialization UID.
15329 * javax/management/Attribute.java: Likewise.
15330 * javax/management/MBeanException.java,
15331 * javax/management/ReflectionException.java:
15332 Added serialization UID and changed to extend
15333 javax.management.JMException.
15335 2006-06-14 Lillian Angel <langel@redhat.com>
15337 * java/awt/Component.java
15338 (ignoreOldMouseEvents): Made static.
15339 (translateEvent): Made static.
15340 * java/awt/TextComponent.java
15341 (ignoreOldMouseEvents): Made static.
15343 2006-06-14 Mark Wielaard <mark@klomp.org>
15345 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15347 (drawRect): Likewise.
15348 (fillRect): Likewise.
15350 2006-06-14 Lillian Angel <langel@redhat.com>
15352 * java/awt/Component.java
15353 (ignoreOldMouseEvents): New helper function.
15354 (translateEvent): Changed to be non-static and use new helper.
15355 * java/awt/TextComponent.java
15356 (ignoreOldMouseEvents): New helper function.
15358 2006-06-14 Roman Kennke <kennke@aicas.com>
15360 * javax/swing/RepaintManager.java
15361 (MERGE_REGIONS): New constant flag.
15362 (commitBuffer): Exclude the merging of regions by default. This
15363 was causing painting artifacts in some applications, especially
15364 when different areas of the GUI are updated synchronously.
15366 2006-06-14 Roman Kennke <kennke@aicas.com>
15368 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15369 New file. This is a benchmark for AWT 1.1 style graphics operations.
15370 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15371 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15373 2006-06-14 Tom Tromey <tromey@redhat.com>
15375 * java/io/File.java (getParent): Javadoc fix.
15377 2006-06-14 Tom Tromey <tromey@redhat.com>
15379 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15381 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15382 when index entry does not exist.
15384 2006-06-14 Tania Bento <tbento@redhat.com>
15386 * javax/swing/AbstractButton.java
15387 (AbstractButton): Set focusable to false, not true.
15389 2006-06-14 Tania Bento <tbento@redhat.com>
15391 * javax/swing/JMenuItem.java
15392 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15394 2006-06-14 Tania Bento <tbento@redhat.com>
15396 * javax/swing/JCheckBoxMenuItem.java
15397 (JCheckBoxMenuItem): Added check to set the selected state.
15399 2006-06-14 Roman Kennke <kennke@aicas.com>
15401 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15402 (cairoDrawLine): New native method.
15403 (cairoDrawRect): New native method.
15404 (cairoFillRect): New native method.
15405 (drawLine): Use special native method.
15406 (drawRect): Use special native method.
15407 (fillRect): Use special native method.
15408 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15409 (cairoDrawLine): New native method.
15410 (cairoDrawRect): New native method.
15411 (cairoFillRect): New native method.
15412 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15414 2006-06-14 Mark Wielaard <mark@klomp.org>
15416 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15417 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15418 cannot be allocated.
15420 2006-06-14 Tom Tromey <tromey@redhat.com>
15423 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15424 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15426 2006-06-14 Roman Kennke <kennke@aicas.com>
15428 * javax/swing/JComponent.java
15429 (isRepainting): New flag.
15430 (paintImmediately2): Set isRepainting flag.
15431 (getRoot): Removed obsolete method.
15432 (paintDoubleBuffered): Differenciate between paint calls from
15433 RepaintManager and from AWT refresh. Call
15434 RepaintManager.commitBuffer with this and local coordinates.
15435 (findOpaqueParent): Stop searching at heavyweight component. These
15437 (paintChildrenOptimized): Don't paint heavyweight children. These
15438 should care for themselves.
15439 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15440 should care for themselves.
15441 * javax/swing/RepaintManager.java
15442 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15444 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15445 toplevel windows only.
15446 (getRoot): Removed obsolete method.
15447 (commitBuffer): Blit buffer on nearest heavyweight.
15448 (blitBuffer): New helper method.
15449 (getHeavyweightParent): New helper method.
15450 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15451 * javax/swing/SwingUtilities.java
15452 (convertRectangleToAncestor): New helper method.
15454 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15456 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15457 Condition all trace/debug code based on Configuration.DEBUG.
15458 Use logger instead of STDOUT and ot STDERR.
15460 2006-06-13 Lillian Angel <langel@redhat.com>
15462 * native/plugin/gcjwebplugin.cc
15463 (NP_Initialize): Removed code to create whitelist file.
15464 (GCJ_New): Added code to create whitelist file.
15465 (plugin_user_trusts_documentbase): Fixed error message.
15467 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15469 * javax/swing/plaf/metal/MetalIconFactory.java
15470 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15471 prevent overwriting border,
15472 (VerticalSliderThumbIcon.gradientMask): Likewise.
15474 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15476 * javax/management/AttributeNotFoundException.java,
15477 * javax/management/InvalidAttributeValueException.java,
15478 * javax/management/JMException.java,
15479 * javax/management/MBeanException.java,
15480 * javax/management/OperationsException.java,
15481 * javax/management/ReflectionException.java:
15484 2006-06-13 Roman Kennke <kennke@aicas.com>
15486 * java/awt/Component.java
15487 (dispatchEvent): Handle events even when consumed (this might be
15488 picked up later in the dispatching chain).
15489 * javax/swing/plaf/basic/BasicLookAndFeel.java
15490 (PopupHelper.mousePressed): Don't consume event. Only close popup
15491 when target component isn't flagged as DONT_CANCEL_POPUP.
15492 (DONT_CANCEL_POPUP): New package private constant for flagging
15493 special components that don't trigger popup closing.
15494 * javax/swing/plaf/basic/BasicArrowButton.java
15495 (BasicArrowButton): Set client property for not triggering closing
15498 2006-06-13 Lillian Angel <langel@redhat.com>
15500 * java/awt/image/PixelGrabber.java
15501 (PixelGrabber): Added to API documentation.
15503 2006-06-13 Keith Seitz <keiths@redhat.com>
15505 From Kyle Galloway <kgallowa@redhat.com>:
15506 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15507 (ExceptionOnlyFilter): Allow null refId.
15509 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15510 compatibility with filters.
15511 (getParameter): Modified to allow access to above.
15513 2006-06-13 Sven de Marothy <sven@physto.se>
15515 * gnu/java/awt/peer/gtk/CairoSurface.java
15516 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15517 (create): Use stride in ints.
15519 2006-06-13 Keith Seitz <keiths@redhat.com>
15521 From Kyle Galloway <kgallowa@redhat.com>:
15522 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15524 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15526 * javax/swing/plaf/basic/BasicSliderUI.java
15527 (calculateThumbSize): Removed unnecessary code,
15528 (calculateThumbLocation): Shift position by one,
15529 (calculateTickRect): Shift position by one when ticks are displayed,
15530 (calculateLabelRect): Calculate rect differently according to whether
15531 or not the labels are visible,
15532 (paintTrack): Shift track down one pixel.
15534 2006-06-13 Lillian Angel <langel@redhat.com>
15536 * java/awt/image/PixelGrabber.java
15537 (PixelGrabber): Removed check to throw exception. JDK does
15539 (startGrabbing): Removed line to print stacktrace.
15541 2006-06-13 Mark Wielaard <mark@klomp.org>
15543 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15544 allocate unused AffineTransform. Add comment about conversion to
15546 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15547 Recognize identity transform as "easy". Always convert to
15548 BufferedImage before calling super.
15550 2006-06-13 Roman Kennke <kennke@aicas.com>
15552 * java/awt/Component.java
15553 (getGraphics): Translate child graphics correctly.
15554 (dispatchEvent): Only dispatch event if it hasn't been consumed
15555 yet by the global dispatcher.
15556 * javax/swing/plaf/basic/BasicLookAndFeel.java
15557 Added some API docs.
15558 (PopupHelper.mousePressed): Consume the event after closing
15561 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15563 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15565 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15566 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15567 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15568 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15569 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15570 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15571 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15572 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15573 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15574 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15575 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15576 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15577 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15578 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15579 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15580 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15582 2006-06-12 Sven de Marothy <sven@physto.se>
15584 * java/awt/font/LineBreakMeasurer.java): Implement.
15586 2006-06-12 Keith Seitz <keiths@redhat.com>
15588 From Kyle Galloway <kgallowa@redhat.com>:
15589 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15591 2006-06-12 Keith Seitz <keiths@redhat.com>
15593 From Kyle Galloway <kgallowa@redhat.com>:
15594 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15596 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15598 2006-06-12 Roman Kennke <kennke@aicas.com>
15600 * javax/swing/JComponent.java
15601 (paintDoubleBuffered): Correctly translate and clip the Graphics
15603 (clipAndTranslateGraphics): New helper method.
15605 2006-06-12 Roman Kennke <kennke@aicas.com>
15607 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15608 (copy): Use getClip() to copy the clip. Make copied transform
15609 null when original transform is null. Set clip here.
15610 (setTransform): Correctly update the clip.
15611 (setTransformImpl): New method. Updates the actual transform for
15613 (transform): Correctly update the clip.
15614 (translate): Correctly update the clip.
15615 (clip): Handle null clip and argument correctly.
15616 (clipRect): Avoid creating new Rectangle objects.
15617 (getClip): Get the correct copy of the clip.
15618 (setClip): Correctly handle null argument.
15619 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15620 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15621 be null or whatever has been set in copy().
15622 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15623 (drawImage): Add translation to the image coordinates.
15624 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15625 (VolatileImageGraphics): Don't set clip here. The clip can either
15626 be null or whatever has been set in copy().
15628 2006-06-12 Keith Seitz <keiths@redhat.com>
15630 From Kyle Galloway <kgallowa@redhat.com>:
15631 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15632 (forCaught): Removed unused/unnecessary method.
15633 (forUncaught): Likewise.
15634 (matches): Implement.
15636 2006-06-12 Keith Seitz <keiths@redhat.com>
15638 From Kyle Galloway <kgallowa@redhat.com>:
15639 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15641 2006-06-12 Keith Seitz <keiths@redhat.com>
15643 From Kyle Galloway <kgallowa@redhat.com>:
15644 * gnu/classpath/jdwp/event/Event.java: Added constants for
15646 (getParameter): Changed parameter type from Class to int.
15647 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15648 Changed from Class type to constants.
15649 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15651 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15653 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15655 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15657 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15659 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15661 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15663 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15665 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15668 2006-06-12 Lillian Angel <langel@redhat.com>
15670 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15671 (StandaloneAppletWindow): Changed title of standalone window.
15673 2006-06-12 Lillian Angel <langel@redhat.com>
15675 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15676 (layoutContainer): Added missing selectedComponent assignment.
15678 2006-06-12 Lillian Angel <langel@redhat.com>
15680 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15681 (layoutContainer): Added check to prevent exception.
15683 2006-06-12 Tom Tromey <tromey@redhat.com>
15685 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15687 2006-06-12 Mark Wielaard <mark@klomp.org>
15689 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15692 (lock): New method.
15693 (unlock): Likewise.
15694 (draw): Use lock() and unlock().
15696 (drawRenderedImage): Likewise.
15697 (drawImage): Likewise.
15698 (drawGlyphVector): Likewise.
15700 2006-06-12 Roman Kennke <kennke@aicas.com>
15702 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15703 (drawPixels): Include alpha in parameter list.
15704 (cairoFill): Include alpha in parameter list.
15705 (setComposite): Don't modify the color.
15706 (draw(Shape))): Use fill when the current composite has an alpha
15707 of != 1.0, so that the stroked shaped will be composited.
15708 (fill(Shape)): Call cairoFill() with alpha.
15709 (drawImage): Call drawPixels or drawSurface with alpha.
15710 (drawGlyphVector): When composite alpha is != 1.0, render the
15711 outline using fill() to enable compositing for text.
15712 (drawRaster): Call drawPixels with alpha.
15713 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15714 (nativeDrawSurface): Include alpha in parameter list.
15715 (drawSurface): Include alpha in parameter list. Pass it to
15716 nativeDrawSurface().
15717 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15718 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15720 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15721 (drawPixels): Handle possible alpha for compositing.
15722 (cairoFill): Likewise.
15723 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15724 (nativeDrawSurface): Handle possible alpha for compositing.
15726 2006-06-12 Mark Wielaard <mark@klomp.org>
15728 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15729 Notify data when completely done. Wait for worker thread to finish.
15730 Rethrow any pending exceptions.
15731 (exception): New field.
15732 (run): Store pending exception.
15734 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
15736 * java/lang/management/ManagementPermission.java:
15739 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15741 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15743 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15745 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15746 Use String.charAt().
15748 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15750 * doc/tools.texinfo
15751 (Applet Tools): New chapter.
15752 (appletviewer Tool): New section.
15753 (gcjwebplugin): New section.
15755 2006-06-11 Mark Wielaard <mark@klomp.org>
15757 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15758 Takes GdkPixbufWriter.
15759 (GdkPixbufWriter): Implements Runnable.
15760 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15762 (DATADONE): New static final field.
15764 (write(byte[])): New method.
15766 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15767 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15768 Get dataOutputWriteID from writeClass.
15769 (stream_save_request): Change stream field to writer.
15770 (save_to_stream): Remove FIXME, call writer.
15771 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15774 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
15777 Mention new VM interface and use of properties.
15778 * doc/vmintegration.texinfo:
15779 Update with new gnu.java.lang.management section.
15780 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15782 * java/lang/management/ManagementFactory.java:
15783 (getRuntimeMXBean()): Implemented.
15784 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15785 New VM interface file.
15787 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15790 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15791 debug code based on Configuration.DEBUG.
15792 Use logger instead of STDOUT and ot STDERR.
15793 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15794 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15795 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15796 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15797 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15798 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15799 * gnu/javax/crypto/pad/TBC.java: Likewise.
15800 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15801 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15802 * gnu/javax/crypto/pad/BasePad.java: Likewise.
15803 * gnu/javax/crypto/mac/OMAC.java: Likewise.
15804 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15805 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15806 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15807 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15808 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15809 * gnu/javax/crypto/keyring/Entry.java: Likewise.
15810 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15811 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15812 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15813 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15814 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15815 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15816 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15817 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15818 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15819 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15820 * gnu/java/security/Properties.java: Likewise.
15821 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15822 * gnu/java/security/x509/X509CRL.java: Likewise.
15823 * gnu/java/security/x509/ext/Extension.java: Likewise.
15824 * gnu/java/security/util/Prime2.java: Likewise.
15825 * gnu/java/security/util/Base64.java: Likewise.
15826 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15827 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15828 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15829 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15830 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15831 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15832 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15833 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15834 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15835 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15836 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15837 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15838 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15839 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15840 * gnu/java/security/hash/Whirlpool.java: Likewise.
15842 2006-06-11 Mark Wielaard <mark@klomp.org>
15844 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15845 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15846 Remove unused variable glyph_index.
15848 2006-06-11 Mark Wielaard <mark@klomp.org>
15850 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15851 Don't recurse, return false if not an BufferedImage and no image
15853 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15854 end_gdk_drawing() to finally block.
15856 (drawRenderedImage): Likewise.
15857 (drawImage): Likewise.
15858 (drawGlyphVector): Likewise.
15860 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15862 * doc/tools.texinfo: Added text for new -cacert command.
15863 Re-structured sections.
15864 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15865 for -cacert command.
15866 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15867 (_CACERT): Likewise.
15868 (shutdownThread): New field.
15869 (Main): Install shutdown thread.
15870 (main): Uninstall shutdown thread.
15871 (start): Handle new -cacert command.
15872 (getParser): Likewise.
15873 (teardown): Increased visibility.
15874 (ShutdownHook): New inner class.
15875 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15877 2006-06-11 Sven de Marothy <sven@physto.se>
15879 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15880 (setupGlyphMetrics): New method. Add glyphmetrics caching.
15881 (getOutline): Operate on the shape directly.
15882 * gnu/java/awt/peer/gtk/GdkFontPeer.java
15883 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15884 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15885 (getGlyph renamed getGlyphs)
15886 * java/awt/geom/AffineTransform.java
15887 (getTranslateInstance): Set fields directly.
15888 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15889 (getGlyphs): Get all glyph codes at once.
15891 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15894 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15896 2006-06-11 Sven de Marothy <sven@physto.se>
15898 * java/awt/font/TextLayout.java
15899 (getLogicalHighlightShape): Add check.
15900 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15901 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15903 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15905 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15906 Check that every component of 'cn' starts with a valid Java identifier char.
15908 2006-06-10 Tom Tromey <tromey@redhat.com>
15910 * java/io/File.java (pathSeparator): Typo fix.
15912 2006-06-10 Mark Wielaard <mark@klomp.org>
15914 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15916 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15917 Mark all unused parameters.
15918 (cp_gtk_get_cairo_t): Removed.
15919 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15920 Don't mix declerations and statements.
15921 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15922 Mark all unused parameters.
15923 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15924 Get cairographics2d pointer directly.
15925 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15926 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15927 Use jlong to pass pointer.
15928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15929 Mark all unused parameters.
15930 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15931 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15932 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15933 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15934 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15935 * include/java_io_VMFile.h: Regenerated.
15937 2006-06-10 Roman Kennke <kennke@aicas.com>
15939 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15940 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15941 instead of setClip(), so that an already present clip is intersected
15944 2006-06-10 Mark Wielaard <mark@klomp.org>
15946 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15947 Call getSize() to avoid accessor method.
15949 2006-06-10 Mark Wielaard <mark@klomp.org>
15951 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15952 Qualify ElementSpec.
15954 2006-06-10 Mark Wielaard <mark@klomp.org>
15956 * lib/.cvsignore: Add sun.
15957 * lib/Makefile.am (dist-hook): Likewise.
15959 2006-06-10 Roman Kennke <kennke@aicas.com>
15961 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15962 * gnu/java/awt/peer/gtk/CairoSurface.java
15963 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15964 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15965 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15966 * native/jni/gtk-peer/cairographics2d.h
15967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15969 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15970 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15971 Changed method signatures and calls to pass native pointers directly
15972 into the JNI code, in order to avoid costly lookups on each
15974 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15975 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15976 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15977 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15980 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15983 * javax/swing/text/DefaultStyledDocument.java
15984 (ElementBuffer.insertContentTag):
15985 Do not recreate leaves and do not remove elements here.
15987 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15989 * javax/swing/text/html/HTMLDocument.java
15990 (HTMLReader.HiddenAction): Implemented.
15992 2006-06-10 Roman Kennke <kennke@aicas.com>
15994 * javax/swing/RepaintManager.java
15995 (getVolatileOffscreenBuffer): Store the created buffer.
15996 * javax/swing/JComponent.java
15997 (paintDoubleBuffered): Try to use a volatile offscreen buffer
15998 for better performance.
16000 2006-06-10 Roman Kennke <kennke@aicas.com>
16002 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16003 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16005 (getRealBounds): Overridden to return the correct bounds.
16007 2006-06-10 Roman Kennke <kennke@aicas.com>
16009 * javax/swing/plaf/metal/MetalButtonUI.java
16010 (update): Fixed to paint the gradient under the correct conditions.
16011 (updateWidthGradient): Removed.
16012 (isToolbarButton): New helper method.
16013 (isDrawingGradient): New helper method.
16015 2006-06-09 Roman Kennke <kennke@aicas.com>
16017 * javax/swing/JTabbedPane.java
16018 (setSelectedIndex): Don't change the visibility of the components,
16019 this is done by the UI class.
16020 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16021 (TabbedPaneLayout.layoutContainer): Change visibility of component
16022 here, depending on the selected index. Only do this if the new
16023 selected component is not null. Some programs seem to expect
16025 (visibleComponent): New field.
16026 (getVisibleComponent): Changed to return visibleComponent field.
16027 (setVisibleComponent): Changed to set the visibility of
16028 the old and new visible component.
16030 2006-06-09 Roman Kennke <kennke@aicas.com>
16032 * javax/swing/JComponent.java
16033 (paintChildrenOptimized): Paint component with a new Graphics
16034 object to protect the other painting code from modifications
16035 done in that object, and avoid cleanup ops on possibly dispose()ed
16038 2006-06-09 Sven de Marothy <sven@physto.se>
16040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16041 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16042 Use GTK locks while disposing (Xlib) surface.
16044 2006-06-09 Tom Tromey <tromey@redhat.com>
16046 * lib/Makefile.am (install-data-local): Copy 'sun' files.
16047 (uninstall-local): Delete 'sun' directory.
16048 (glibj.zip): Include 'sun' classes.
16049 (clean-local): Delete 'sun' directory.
16050 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16052 2006-06-09 Roman Kennke <kennke@aicas.com>
16054 * gnu/java/awt/java2d/AbstractGraphics2D.java
16055 (drawImage): Fixed scaling.
16056 (fillShape): Removed offset handling.
16057 (fillShapeImpl): Limit scanlining to device bounds.
16058 (getSegments): Removed offset handling.
16059 * gnu/java/awt/java2d/PolyEdge.java
16060 (toString): Include isClip flag in output.
16062 2006-06-08 Sven de Marothy <sven@physto.se>
16064 * java/awt/font/TextLayout.java
16065 (getOutline): Allow null transform.
16067 2006-06-08 Sven de Marothy <sven@physto.se>
16069 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16070 (drawString): Use TextLayout instead of GlyphVector.
16072 2006-06-08 Sven de Marothy <sven@physto.se>
16074 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16075 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16076 New constructor for bidirectionality.
16077 (getGlyphMetrics): Return whitespace glyphs.
16078 (getLogicalBounds): Offset rectangles to correct positions.
16079 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16080 (getBaselineFor): Default to ROMAN_BASELINE.
16081 (GdkFontLineMetrics): Guess some values for underline and
16083 (layoutGlyphVector): Use bidirectionality.
16084 * java/awt/font/TextLayout.java: Implement, mostly.
16086 2006-06-09 Anthony Green <green@redhat.com>
16088 PR classpath/27888:
16089 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16090 * java/util/Collections.java (binarySearch): Use unsigned shift.
16091 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16093 2006-06-09 Tom Tromey <tromey@redhat.com>
16095 * tools/.cvsignore: Added .deps.
16097 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16099 PR classpath/27966:
16100 * gnu/javax/security/auth/login/ConfigFileParser.java
16101 (validateClassName): Quote '.' in regexp.
16103 2006-06-09 Tom Tromey <tromey@redhat.com>
16105 PR classpath/23863:
16106 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16108 * native/fdlibm/mprec.c: New version from newlib. Commented out
16109 some includes. Added <assert.h>.
16110 (_reent, _Bigint): New defines.
16111 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16112 (__ULong, __Long): New types.
16113 (_calloc_r): New function.
16114 (Balloc): Dynamically add new _freelist entries as needed.
16115 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16116 MAX_BIGNUMS to size _x[].
16117 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16118 _allocation_map, num. Added _max_k.
16120 2006-06-09 Roman Kennke <kennke@aicas.com>
16122 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16123 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16126 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16128 * java/awt/image/BufferedImage.java
16129 (BufferedImage(int, int, int)): Added API docs,
16130 (getProperty(String)): Return correct value for undefined properties,
16131 (getPropertyNames()): Added comments and removed FIXME.
16133 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16135 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16136 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16138 2006-06-09 Francis Kung <fkung@redhat.com>
16140 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16141 (getPreferredSize): Return correct height for null or empty
16144 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16146 * java/awt/datatransfer/DataFlavor.java
16147 (readExternal): Mark as stub,
16148 (writeExternal): Likewise,
16149 * java/awt/dnd/DropTargetContext.java
16150 (dropComplete): Mark as stub,
16151 (acceptDrag): Likewise,
16152 (rejectDrag): Likewise,
16153 (acceptDrop): Likewise,
16154 (rejectDrop): Likewise,
16155 (getCurrentDataFlavors): Likewise,
16156 (getTransferable): Likewise,
16157 * java/awt/dnd/DropTargetDropEvent.java
16158 (dropComplete): Mark as stub.
16160 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16162 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16163 (constructor): Do not lowercase the values.
16164 * javax/swing/text/html/HTMLDocument.java
16165 (HTMLReader.addSpecialElement): Implemented.
16166 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16168 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16170 On behalf of Matthew Wringe <mwringe@redhat.com>
16171 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16172 * gnu/javax/crypto/pad/ISO10126.java: New class.
16173 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16174 (getInstance): Added support for ISO-10126 scheme.
16175 (getNames): Likewise.
16176 Cache result for speed.
16178 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16180 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16181 flexible self-test by sub-classes.
16182 (test1BlockSize): New method.
16184 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16186 * javax/swing/plaf/basic/BasicLookAndFeel.java
16187 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16188 * javax/swing/plaf/basic/BasicScrollBarUI.java
16189 (installKeyboardActions): Implemented,
16190 (uninstallKeyboardActions): Implemented,
16191 (getInputMap): New method,
16192 (getActionMap): New method,
16193 (createActionMap): New method,
16194 (installUI): Call installKeyboardActions(),
16195 (uninstallUI): Call uninstallKeyboardActions().
16197 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16199 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16200 (getActionMap): Use correct key to store action map.
16202 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16204 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16205 (executeInstruction): Added NOT support.
16207 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16209 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16212 2006-06-08 Tom Tromey <tromey@redhat.com>
16214 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16217 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16219 * java/lang/management/RuntimeMXBean.java:
16222 2006-06-08 Lillian Angel <langel@redhat.com>
16224 * native/plugin/gcjwebplugin.cc:
16225 (NP_Shutdown): Freed whitelist_filename.
16227 2006-06-08 Lillian Angel <langel@redhat.com>
16229 * native/plugin/Makefile.am:
16230 Removed DATA_DIRECTORY.
16231 * native/plugin/gcjwebplugin.cc:
16232 Added new global fields for whitelist_file
16233 and data_directory. Removed WHITELIST_FILE.
16234 (NP_Initialize): Initialized new fields. Also,
16235 Changed to use new fields.
16236 (NP_Shutdown): Freed data_directory.
16237 (GCJ_New): Changed to use new fields.
16238 (plugin_ask_user_about_documentbase): Likewise.
16240 2006-06-08 Lillian Angel <langel@redhat.com>
16242 * native/plugin/Makefile.am:
16243 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16244 * native/plugin/gcjwebplugin.cc:
16245 Changed all instances of PLUGIN_DATA_DIRECTORY
16248 2006-06-08 Roman Kennke <kennke@aicas.com>
16250 * java/awt/LightweightDispatcher.java
16251 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16252 with convertPointToChild(). This is more efficient and avoids
16253 problems with getLocationOnScreen().
16254 (findTarget): Check for component beeing showing() early.
16255 Simplified AWTUtilities.convertPoint() to a simple substraction
16257 (convertPointToChild): New helper method.
16259 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16261 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16264 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16265 Lillian Angel <langel@redhat.com>
16267 * native/plugin/gcjwebplugin.cc
16268 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16269 Also, reset initialized field.
16271 2006-06-08 Lillian Angel <langel@redhat.com>
16273 * javax/swing/plaf/basic/BasicProgressBarUI.java
16274 (paintString): Fixed to paint string at the correct location.
16276 2006-06-08 Roman Kennke <kennke@aicas.com>
16278 * javax/swing/plaf/basic/BasicTreeUI.java
16279 (createDefaultActions): Added new actions.
16280 (TreePageAction.TreePageAction): Set action name.
16281 (TreePageAction.actionPerformed): Implemented.
16282 (TreePageAction.isEnabled): Implemented.
16283 (TreeToggleAction.TreePageAction): Set action name.
16284 (TreeToggleAction.actionPerformed): Implemented.
16285 (TreeToggleAction.isEnabled): Implemented.
16286 (TreeTraverseAction.TreeTraverseAction): Set action name.
16287 (TreeTraverseAction.actionPerformed): Use action name as command.
16288 (TreeTraverseAction.isEnabled): Implemented.
16290 2006-06-08 Roman Kennke <kennke@aicas.com>
16292 * javax/swing/plaf/basic/BasicTreeUI.java
16293 (installKeyboardActions): Rewritten to correctly install the UI
16294 input and action maps.
16295 (getActionMap): New helper method.
16296 (createDefaultActionMap): New helper method.
16297 (TreeHomeAction.TreeHomeAction()): Implemented.
16298 (TreeHomeAction.actionPerformed): Implemented.
16299 (TreeHomeAction.isEnabled): Implemented.
16300 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16301 (TreeIncrementAction.actionPerformed): Use action name as command.
16302 (TreeIncrementAction.isEnabled): Implemented.
16304 2006-06-08 Mark Wielaard <mark@klomp.org>
16307 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16308 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16311 2006-06-08 Mark Wielaard <mark@klomp.org>
16313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16314 (attrs): Removed unused static.
16316 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16318 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16319 (getInputMap): New method,
16320 (getActionMap): New method,
16321 (createActionMap): New method,
16322 (installKeyboardActions): Implemented,
16323 (uninstallKeyboardActions): Implemented.
16325 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16327 * javax/swing/border/MatteBorder.java:
16328 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16330 (paintBorder): Added if-statement to abort painting early.
16332 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16335 * gnu/xml/dom/DomIterator.java:
16336 (successor): Changed expression.
16338 2006-06-08 Sven de Marothy <sven@physto.se>
16340 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16341 (defaultLayout): Do kerning.
16342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16343 (getKerning): Correct class name, removed unused variable.
16345 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16347 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16348 libqtpeer.so unconditionally.
16350 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16352 * java/util/InputMismatchException.java:
16355 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16357 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16359 2006-06-07 Roman Kennke <kennke@aicas.com>
16361 * javax/swing/plaf/basic/BasicTreeUI.java
16362 (completeUIUninstall): Implemented.
16363 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16364 editing before uninstalling anything.
16365 (isToggleEvent): Implemented.
16366 (selectPathForEvent): Make use of isToggleEvent().
16367 (ComponentHandler.componentMoved): Implemented.
16368 (ComponentHandler.startTimer): Implemented.
16369 (ComponentHandler.getScrollPane): Implemented.
16370 (ComponentHandler.actionPerformed): Implemented.
16372 2006-06-07 Francis Kung <fkung@redhat.com>
16374 * javax/swing/JMenuBar.java:
16375 (getSubElements): Do not return null values.
16377 2006-06-07 Roman Kennke <kennke@aicas.com>
16380 * gnu/regexp/BacktrackStack.java
16381 * gnu/regexp/CharIndexed.java
16382 * gnu/regexp/CharIndexedCharArray.java
16383 * gnu/regexp/CharIndexedCharSequence.java
16384 * gnu/regexp/CharIndexedInputStream.java
16385 * gnu/regexp/CharIndexedString.java
16386 * gnu/regexp/CharIndexedStringBuffer.java
16387 * gnu/regexp/RE.java
16388 * gnu/regexp/REException.java
16389 * gnu/regexp/REFilterInputStream.java
16390 * gnu/regexp/REMatch.java
16391 * gnu/regexp/REMatchEnumeration.java
16392 * gnu/regexp/RESyntax.java
16393 * gnu/regexp/REToken.java
16394 * gnu/regexp/RETokenAny.java
16395 * gnu/regexp/RETokenBackRef.java
16396 * gnu/regexp/RETokenChar.java
16397 * gnu/regexp/RETokenEnd.java
16398 * gnu/regexp/RETokenEndOfPreviousMatch.java
16399 * gnu/regexp/RETokenEndSub.java
16400 * gnu/regexp/RETokenIndependent.java
16401 * gnu/regexp/RETokenLookAhead.java
16402 * gnu/regexp/RETokenLookBehind.java
16403 * gnu/regexp/RETokenNamedProperty.java
16404 * gnu/regexp/RETokenOneOf.java
16405 * gnu/regexp/RETokenPOSIX.java
16406 * gnu/regexp/RETokenRange.java
16407 * gnu/regexp/RETokenRepeated.java
16408 * gnu/regexp/RETokenStart.java
16409 * gnu/regexp/RETokenWordBoundary.java
16410 * gnu/regexp/UncheckedRE.java
16411 * gnu/java/util/regex/BacktrackStack.java
16412 * gnu/java/util/regex/CharIndexed.java
16413 * gnu/java/util/regex/CharIndexedCharArray.java
16414 * gnu/java/util/regex/CharIndexedCharSequence.java
16415 * gnu/java/util/regex/CharIndexedInputStream.java
16416 * gnu/java/util/regex/CharIndexedString.java
16417 * gnu/java/util/regex/CharIndexedStringBuffer.java
16418 * gnu/java/util/regex/RE.java
16419 * gnu/java/util/regex/REException.java
16420 * gnu/java/util/regex/REFilterInputStream.java
16421 * gnu/java/util/regex/REMatch.java
16422 * gnu/java/util/regex/REMatchEnumeration.java
16423 * gnu/java/util/regex/RESyntax.java
16424 * gnu/java/util/regex/REToken.java
16425 * gnu/java/util/regex/RETokenAny.java
16426 * gnu/java/util/regex/RETokenBackRef.java
16427 * gnu/java/util/regex/RETokenChar.java
16428 * gnu/java/util/regex/RETokenEnd.java
16429 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16430 * gnu/java/util/regex/RETokenEndSub.java
16431 * gnu/java/util/regex/RETokenIndependent.java
16432 * gnu/java/util/regex/RETokenLookAhead.java
16433 * gnu/java/util/regex/RETokenLookBehind.java
16434 * gnu/java/util/regex/RETokenNamedProperty.java
16435 * gnu/java/util/regex/RETokenOneOf.java
16436 * gnu/java/util/regex/RETokenPOSIX.java
16437 * gnu/java/util/regex/RETokenRange.java
16438 * gnu/java/util/regex/RETokenRepeated.java
16439 * gnu/java/util/regex/RETokenStart.java
16440 * gnu/java/util/regex/RETokenWordBoundary.java
16441 * gnu/java/util/regex/UncheckedRE.java
16442 Moved gnu.regexp classes to gnu.java.util.regex package.
16443 * java/util/regex/Matcher.java
16444 * java/util/regex/Pattern.java
16445 Adjusted import statements for new package name for gnu regexp.
16447 2006-06-07 Tom Tromey <tromey@redhat.com>
16449 PR classpath/27905:
16450 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16451 Added missing charsets.
16452 (charsetForName): Don't check 'extendedLoaded'.
16454 2006-06-07 Roman Kennke <kennke@aicas.com>
16457 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16458 (clip(Shape)): Implemented correctly, so that the current shape
16459 gets intersected by the parameter shape.
16461 2006-06-07 Lillian Angel <langel@redhat.com>
16463 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16464 (getTabBounds): If this method is called with a tab index
16465 that is not in the rects array, we need to re-layout the container
16468 2006-06-07 Lillian Angel <langel@redhat.com>
16470 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16471 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16472 * java/lang/String.java
16473 (codePointCount): Fixed check to match API. Shouldn't throw exception
16474 if end == count. end is 1 more than the endIndex, so end == count is
16477 2006-06-07 Gary Benson <gbenson@redhat.com>
16480 * native/jni/java-io/java_io_VMFile.c
16481 (Java_java_io_VMFile_toCanonicalForm): New method.
16482 * configure.ac: Added checks for lstat and readlink.
16483 * include/java_io_VMFile.h: Added new method.
16484 * vm/reference/java/io/VMFile.java: Use new method.
16485 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16486 * NEWS: Documented the above.
16487 * java/io/File.java: Javadoc fix.
16489 2006-06-07 Roman Kennke <kennke@aicas.com>
16492 * javax/swing/JTree.java
16493 (JTree()): Initialize with default model.
16494 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16495 on the updateUI() / setModel() order.
16496 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16498 * javax/swing/plaf/basic/BasicTreeUI.java
16499 (BasicTreeUI()): Initialize listeners in installListeners().
16500 (setModel): Complete editing on model change. Correctly resetup
16501 the listeners. Update the layout cache accordingly.
16502 (setShowRootHandles): Complete editing and update layout. Do not
16503 call back into the JTree, this could cause cycles.
16504 (prepareForUIInstall): Implemented. Moved some init code from
16505 installUI() to this method.
16506 (completeUIInstall): Implemented. Moved some init code from
16507 installUI() to this method.
16508 (createDefaultCellEditor): Check for type of renderer, and install
16509 with null renderer when not DefaultTreeCellRenderer.
16510 (updateLayoutCacheExpandedNodes): Added null check for tree root
16512 (updateRenderer): Call updateEditor().
16513 (installListeners): Initialize the listeners here. Added some null
16514 checks to avoid NPEs.
16515 (installUI): Moved some init code to prepareForUIInstall() and
16516 completeUIInstall().
16517 (completeEditing): Return immediately if editing component is null
16518 or if the setting is to not stop editing on complete editing.
16519 (checkForClickInExpandControl): Call handleExpandControlClick()
16520 instead of toggleExpandState() directly.
16521 (isLocationInExpandControl): Rewritten to correctly determine the
16522 expand click location.
16523 (MouseHandler.mousePressed): Rewritten to make better use of the
16524 instance methods of BasicTreeUI to handle the click.
16525 (PropertyHandler.propertyChange): Handle model and cell renderer
16527 * javax/swing/tree/DefaultTreeCellEditor.java
16528 (DefaultTreeCellEditor): Removed initialization of the icon. This
16529 is done so that the constructor can deal with null renderer as the
16530 RI does. Maybe this needs more fixing.
16531 * javax/swing/tree/TreePath.java
16532 (isDescendant): Fixed this method. The previous version did too
16533 much and compared the wrong things, which lead to a ClassCastException
16535 * javax/swing/tree/VariableHeightLayoutCache.java
16536 (update): Do nothing when model is null.
16537 (setModel): Clear the tables and update the layout. Added null
16538 check to prevent NPE.
16540 2006-06-07 Sven de Marothy <sven@physto.se>
16542 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16544 2006-06-07 Sven de Marothy <sven@physto.se>
16546 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16547 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16548 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16551 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16552 (getGlyphVector): Removed native method.
16553 (createGlyphVector, getStringBounds): Use new GV class.
16555 * include/Makefile.am
16556 * native/jni/gtk-peer/Makefile.am
16559 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16560 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16561 (getGlyphVector): Removed native method.
16563 2006-06-07 Chris Burdess <dog@gnu.org>
16565 * gnu/classpath/debug/TeeInputStream.java,
16566 gnu/classpath/debug/TeeOutputStream.java,
16567 gnu/classpath/debug/TeeReader.java,
16568 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16569 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16570 read more characters than absolutely necessary in tryRead method.
16572 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16574 * examples/gnu/classpath/examples/swing/Demo.java:
16575 (mkMenuBar): Put look and feel radio buttons into
16576 appropriate button group.
16578 2006-06-07 Chris Burdess <dog@gnu.org>
16580 * gnu/xml/stream/SAXParser.java,
16581 gnu/xml/stream/XMLParser.java: Add command line options for setting
16582 parsing parameters (for simpler debugging).
16583 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16584 closing output stream is propagated to application.
16586 2006-06-06 Mark Wielaard <mark@klomp.org>
16589 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16590 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16591 call disposeSurface.
16592 (disposeSurface): New native method.
16593 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16594 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16597 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16598 cairo_pattern_destroy.
16599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16600 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16601 New function to destroy the surface.
16602 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16603 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16604 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16606 2006-06-06 Mark Wielaard <mark@klomp.org>
16608 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16611 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16613 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16614 (paint): If has focus, paint special background color,
16615 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16616 (FocusHandler.focusGained): Implemented,
16617 (FocusHandler.focusLost): Implemented.
16619 2006-06-06 Tom Tromey <tromey@redhat.com>
16621 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16623 (writeAttributeSet): Implemented.
16625 2006-06-06 Tom Tromey <tromey@redhat.com>
16627 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16629 (SpecialAction.end): Removed.
16630 (IsindexAction.end): Likewise.
16632 2006-06-06 Tom Tromey <tromey@redhat.com>
16634 * include/jni.h (JDK1_1InitArgs): New struct.
16635 (JDK1_1AttachArgs): Likewise.
16637 2006-06-06 Tom Tromey <tromey@redhat.com>
16639 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16641 (getUnresolvedName): New method.
16642 (getUnresolvedActions): New method.
16643 (getUnresolvedCerts): New method.
16645 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16647 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16648 (getColor): Removed debugging code.
16650 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16652 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16653 (getColor): Added support for "rgb(red, green, blue)" notation.
16654 (translateTag): Use Boolean.TRUE, not new Boolean().
16656 2006-06-06 Roman Kennke <kennke@aicas.com>
16659 * javax/swing/JTree.java
16660 (JTree(TreeModel)): Call updateUI() before setModel().
16661 (setModel): Don't call updateUI here.
16663 2006-06-06 Lillian Angel <langel@redhat.com>
16665 * native/plugin/gcjwebplugin.cc:
16666 Fixed failure message and commenting.
16667 (NP_Initialize): Added more comments.
16669 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16671 * javax/swing/JSplitPane.java
16672 (AccessibleJSplitPane): API doc fixes,
16673 (setDividerLocation): Likewise,
16674 * javax/swing/plaf/basic/BasicLookAndFeel.java
16675 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16676 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16677 (getInputMap): New method,
16678 (getActionMap): New method,
16679 (createActionMap): New method,
16680 (installKeyboardActions): Implemented,
16681 (uninstallKeyboardActions): Implemented.
16683 2006-06-06 Roman Kennke <kennke@aicas.com>
16686 * javax/swing/MenuSelectionManager.java
16687 (processKeyEvent): Added check to avoid
16688 ArrayIndexOutOfBoundsException.
16690 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16692 * gnu/javax/swing/text/html/htmlAttributeSet.java
16693 (getAttributeNames): Rewritten
16695 2006-06-06 Chris Burdess <dog@gnu.org>
16697 * gnu/xml/transform/TransformerImpl.java: Check type of created
16698 document (more cases).
16700 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16702 * gnu/javax/swing/text/html/htmlAttributeSet.java
16703 (clone): New method. (copyAttributes): New method.
16704 (getResolveParent): Comment fix. (getAttribute):
16705 Rewritten. (addAttribute): Rewritten.
16706 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16709 2006-06-06 Roman Kennke <kennke@aicas.com>
16712 * javax/swing/JMenuBar.java
16713 (processKeyBindingHelper): Added null check to prevent NPE.
16715 2006-06-06 Roman Kennke <kennke@aicas.com>
16717 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16718 (ShowSystemMenuAction): New class.
16719 (installKeyboardActions): Implemented.
16720 (uninstallKeyboardActions): Implemented.
16721 * javax/swing/plaf/metal/MetalInternalFrameUI.java
16722 (installKeyboardActions): Overridden to remove showSystemMenu action.
16724 2006-06-06 Chris Burdess <dog@gnu.org>
16726 * gnu/xml/transform/TransformerImpl.java: Check type of created
16729 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16731 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16732 (getScreenDevices): Added explicit cast.
16734 2006-06-06 Roman Kennke <kennke@aicas.com>
16736 * javax/swing/plaf/basic/BasicTextUI.java
16737 (installKeyboardActions): Use shared input map. Correctly
16738 install the input/action maps in the component's input/action
16740 (getActionMap): New helper method for fetching an ActionMap from
16741 the UIManager or creating a default one if there is none supplied
16743 (createActionMap): Add the TransferHandler's actions here. Made
16745 (getInputMap): Leave out unnecessary method parameter. Load
16747 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16749 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16751 * configure.ac: Added missing [ to expression.
16753 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16755 * configure.ac: Added missing { to expression.
16757 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16759 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16760 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16761 * include/Makefile.am: Added
16762 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16763 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16764 (GdkGraphicsConfiguration): Rewritten.
16765 (getColorModel): Rewritten.
16766 (getColorModel(int)): Rewritten.
16767 (getBounds): Rewritten.
16768 (createCompatibleVolatileImage): Implemented.
16769 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16771 (getDefaultScreenDevice): Rewritten.
16772 (nativeGetDefaultScreenDevice): New method.
16773 (getScreenDevices): Rewritten.
16774 (nativeGetScreenDevices): New method.
16775 (nativeInitState): New method.
16776 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16778 (X11DisplayMode): New inner class.
16779 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16780 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16781 * native/jni/gtk-peer/gdkdisplay.h: New file.
16782 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16783 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16785 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16787 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16788 _nativeGetScreenDevices):
16790 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16791 _nativeGetDefaultScreenDevice):
16793 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16795 * configure.ac: Added check for Xrandr library.
16797 2006-06-06 Roman Kennke <kennke@aicas.com>
16799 * javax/swing/plaf/basic/BasicTableUI.java
16800 (getMaximumSize): Don't return null. Fixed calculation of
16802 (getMinimumSize): Don't return null. Fixed calculation of
16804 (getPreferredSize): Fixed calculation of with and height. Added
16806 (getHeight): New helper method.
16808 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16810 * javax/swing/JComponent.java
16811 (getInputMap(int)): Throw IllegalArgumentException for unknown
16812 condition argument, and added API docs,
16813 (getInputMap()): Added API docs.
16815 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16817 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16819 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16821 * javax/swing/JTable.java
16822 (AccessibleJTableHeaderCell.header): New field,
16823 (AccessibleJTableHeaderCell.columnIndex): Likewise,
16824 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16825 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16826 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16827 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16828 (AccessibleJTable.getAccessibleChild(int)): Overridden,
16829 (AccessibleJTable.getAccessibleAt): Reimplemented.
16831 2006-06-05 Sven de Marothy <sven@physto.se>
16833 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16834 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16835 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16836 (initFromVolatile): New method.
16837 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16838 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16840 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16841 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16842 (copyArea, drawVolatileImage): New methods.
16844 2006-06-05 Tania Bento <tbento@redhat.com>
16846 * javax/swing/JFrame.java
16847 (frameInit): Set background color and fixed layout parameters.
16849 2006-06-05 Tom Tromey <tromey@redhat.com>
16851 * NEWS: Mention VMURLConnection.
16853 2006-06-05 Lillian Angel <langel@redhat.com>
16855 * native/plugin/gcjwebplugin.cc:
16856 Added new field to keep track of initialization.
16857 (plugin_start_appletviewer): Fixed to return an error value, if
16858 an error was encountered when loading the appletviewer.
16859 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16861 (plugin_failed): New helper function. Shows a warning if the appletviewer
16862 has not been installed.
16863 (NP_Initialize): Added code to make sure this function is only called
16866 2006-06-05 Lillian Angel <langel@redhat.com>
16868 * native/plugin/Makefile.am:
16869 Fixed to use a set plugin directory in the .mozilla directory.
16870 All applet logs are now stored here, instead of /tmp.
16871 * native/plugin/gcjwebplugin.cc:
16872 Added new fields for security warning.
16873 (GCJ_NEW): Added code to generate a security warning for all pages
16874 that spawn an appletviewer. This warning asks the user if they trust
16875 the applet and if they would like to add it to a 'whitelist'. This
16876 whitelist keeps track of all the addresses the user would like
16877 to trust indefinitely.
16878 (plugin_user_trusts_documentbase): New helper function.
16879 (plugin_add_documentbase_to_whitelist): New helper function.
16880 (plugin_ask_user_about_documentbase): New helper function.
16881 (plugin_in_pipe_callback): Fixed check to determine if channel_error
16883 (plugin_start_appletviewer): Likewise.
16884 (plugin_create_applet_tag): Reset all fields to null after they have been
16886 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
16887 if channel_error has been set.
16888 (plugin_stop_appletviewer): Likewise.
16889 (NP_Initialize): Likewise. Also, added code to determine if directory and file
16892 2006-06-05 Francis Kung <fkung@redhat.com>
16895 * gnu/java/awt/peer/gtk/GtkImage.java
16896 (getSource): Added check to determine if in
16897 errorLoading state.
16898 * gnu/java/awt/peer/gtk/GtkToolkit.java
16899 (createImage): Added check to prevent NPE.
16901 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16903 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16904 Create the ImageView, when applicable.
16905 * gnu/javax/swing/text/html/CombinedAttributes.java,
16906 javax/swing/text/html/ImageView.java: New files.
16908 2006-06-05 Roman Kennke <kennke@aicas.com>
16911 * javax/swing/text/GapContent.java
16912 (setPositionsInRange): Compare with startIndex and endIndex
16913 rather than start and end.
16914 (dumpMarks): Only dump real marks.
16916 2006-06-05 Sven de Marothy <sven@physto.se>
16918 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16919 (ComponentGraphics): Use 0,0 as clip origin.
16921 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16923 * java/util/Formattable.java,
16924 * java/util/FormattableFlags.java,
16925 * java/util/Formatter.java:
16928 2006-06-04 Tom Tromey <tromey@redhat.com>
16930 * javax/naming/Context.java (list): Genericized.
16931 (listBindings): Likewise.
16932 * javax/naming/Reference.java (addrs): Genericized.
16933 * javax/naming/InitialContext.java (myProps): Fixed type.
16934 (init): Genericized.
16936 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16938 * java/util/DuplicateFormatFlagsException.java,
16939 * java/util/FormatFlagsConversionMismatchException.java,
16940 * java/util/FormatterClosedException.java,
16941 * java/util/IllegalFormatCodePointException.java,
16942 * java/util/IllegalFormatConversionException.java,
16943 * java/util/IllegalFormatException.java,
16944 * java/util/IllegalFormatFlagsException.java,
16945 * java/util/IllegalFormatPrecisionException.java,
16946 * java/util/IllegalFormatWidthException.java,
16947 * java/util/MissingFormatArgumentException.java,
16948 * java/util/MissingFormatWidthException.java,
16949 * java/util/UnknownFormatConversionException.java,
16950 * java/util/UnknownFormatFlagsException.java:
16953 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16955 * java/lang/System.java:
16956 (getenv()): Handle cases where split only
16957 returns an array of size 1.
16959 2006-06-04 Sven de Marothy <sven@physto.se>
16961 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16962 (createVolatileImage): Pass peer to VolatileImage constructor.
16963 * java/awt/Component.java
16964 (createVolatileImage): Call peer method directly.
16966 2006-06-04 Sven de Marothy <sven@physto.se>
16968 * gnu/java/awt/peer/gtk/CairoSurface.java
16969 (getFlippedBuffer): New method.
16970 (getGtkImage): Renamed method.
16971 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16972 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16973 Renamed getSharedImage to getGtkImage.
16974 * include/gnu_java_awt_peer_gtk_CairoSurface.h
16975 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16976 (getFlippedBuffer): New method
16977 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16978 Avoid window casts.
16979 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16981 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16982 (drawVolatile): Add casts.
16983 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16984 (getOutline): Add casts.
16985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16986 Comment out unused prototype.
16987 (getPixels): Add appropriate cast and comment out unused variable.
16989 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16991 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16992 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16993 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16994 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16995 (getSystemInstance): Fix javadoc @link.
16996 (counter): Increased visibility.
16997 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16998 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16999 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17000 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17001 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17002 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17003 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17004 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17005 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17006 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17007 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17008 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17009 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17010 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17011 * gnu/javax/crypto/mac/OMAC.java: Likewise.
17012 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17013 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17014 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17015 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17016 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17017 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17018 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17019 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17020 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17021 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17022 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17023 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17024 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17025 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17026 * gnu/javax/crypto/assembly/Direction.java: Likewise.
17027 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17029 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
17031 * gnu/java/security/PolicyFile.java: Updated copyright year.
17032 (logger): Increased visibility.
17033 * gnu/java/security/x509/Util.java: Updated copyright year.
17034 (hexDump): Fix javadoc @link.
17035 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17036 Removed unused import.
17037 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17038 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17039 * gnu/java/security/util/ExpirableObject.java: Likewise.
17040 (destroy): Likewise.
17041 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17042 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17043 Updated copyright year.
17044 (checkCRL): Fix javadoc @param.
17046 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17048 * java/lang/annotation/IncompleteAnnotationException.java:
17051 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
17053 * java/lang/ProcessBuilder.java:
17055 (environment): Create as a copy.
17056 * java/lang/System.java:
17057 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17059 (EnvironmentMap.put(String,String)): Override superclass
17060 method with checks for nulls and non-Strings.
17062 2006-06-02 Sven de Marothy <sven@physto.se>
17064 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17065 (cairoPreserveClip, cairoResetClip): New methods.
17066 (setClip, clip): Reimplement.
17067 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17068 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17069 (cairoPreserveClip, cairoResetClip): New methods.
17071 2006-06-02 Sven de Marothy <sven@physto.se>
17073 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17074 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17077 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17078 (drawImage): Overloads for VolatileImage drawing.
17079 (drawVolatile): New method.
17080 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17081 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17082 (drawVolatile): New method.
17083 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17084 Unstub implementation.
17085 * include/Makefile.am
17086 * native/jni/gtk-peer/Makefile.am
17088 * native/jni/gtk-peer/gtkpeer.h
17091 2006-06-03 Roman Kennke <kennke@aicas.com>
17094 * javax/swing/plaf/basic/BasicTextUI.java
17095 (damageRange): Added null check to avoid NPE.
17097 2006-06-03 Roman Kennke <kennke@aicas.com>
17099 * javax/swing/text/PlainView.java
17100 (updateDamage): Check for valid longestLine and initialize if
17103 2006-06-03 Mark Wielaard <mark@klomp.org>
17105 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17108 2006-06-02 Sven de Marothy <sven@physto.se>
17111 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17112 (copyArea): Implement.
17113 (copyAreaImpl, getRealBounds): New methods.
17114 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17115 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17116 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17117 (copyAreaImpl, getRealBounds): Implement.
17118 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17119 (nativeCopyArea): Reimplement.
17121 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17123 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17124 (XTEST_LIBS): New, substitute.
17125 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17127 2006-06-02 Roman Kennke <kennke@aicas.com>
17130 * javax/swing/text/PlainView.java
17131 (updateDamage): Rewritten for correct repainting and revalidating.
17132 (findLongestLine): New helper method.
17133 (getLineLength): New helper method.
17135 2006-06-02 Sven de Marothy <sven@physto.se>
17137 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17138 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17139 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17140 (nativeCopyArea): Change stride parameter to use # of ints.
17141 (setPixels): Add checks.
17142 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17143 (ComponentGraphics): Set background, clip.
17144 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17145 (Cairographics2D): Don't set clip.
17146 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17149 2006-06-02 Lillian Angel <langel@redhat.com>
17152 * java/awt/DefaultKeyboardFocusManager.java
17153 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17154 to get the focused window.
17156 2006-06-01 Miriam Schuster <schmir11@web.de>
17158 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17159 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17161 2006-06-02 Roman Kennke <kennke@aicas.com>
17163 * javax/swing/JTable.java
17164 (columnSelectionChanged): Don't return when there's only one
17165 column (might still need repainting). Correctly calculate
17167 (valueChanged): Use return value of SwingUtilities.computeUnion
17170 2006-06-01 Keith Seitz <keiths@redhat.com>
17172 From Martin Platter <motse@complang.tuwien.ac.at>:
17173 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17174 (executeSet): Fix buffer underflow reading reference ID.
17175 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17176 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17177 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17178 (executeSuperclass): Handle case of Object with ID zero.
17180 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17182 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17183 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17184 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17185 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17186 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17187 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17188 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17189 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17190 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17191 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17192 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17194 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17196 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17197 (Command): Add the shutdown hook.
17198 (doCommand): Remove the shutdown hook.
17199 (ShutdownHook): New class.
17201 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17203 * tools/jarsigner.in: Use @VM_BINARY@.
17204 * tools/keytool.in: Likewise.
17206 2006-06-01 Sven de Marothy <sven@physto.se>
17208 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17209 (setColor): Update the cairo paint.
17211 2006-06-01 Mark Wielaard <mark@klomp.org>
17213 * java/util/logging/LogManager.java (createInstance): Always add
17214 original exception on warning.
17216 2006-06-01 Lillian Angel <langel@redhat.com>
17218 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17219 (prependCodebase): Fixed check. No dirname was ever considered to
17220 be a file, so every applet fell into the if-statement causing a lot
17221 of classloading problems with the applets.
17223 2006-06-01 Sven de Marothy <sven@physto.se>
17225 Patch submitted by Boris Dusek.
17226 * native/jni/qt-peer/qtmenupeer.cpp
17229 2006-06-01 Roman Kennke <kennke@aicas.com>
17231 * javax/swing/JTable.java
17232 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17233 why the behaviour is like it is.
17234 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17235 (AccessibleJTableHeader): New inner class.
17236 (AccessibleJTableHeaderCell): New inner class.
17237 (AccessibleJTable.lastSelectedRow): New field.
17238 (AccessibleJTable.lastSelectedColumn): New field.
17239 (AccessibleJTable.caption): New field.
17240 (AccessibleJTable.summary): New field.
17241 (AccessibleJTable.rowDescriptions): New field.
17242 (AccessibleJTable.columnDescriptions): New field.
17243 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17244 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17245 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17246 (AccessibleJTable.addAccessibleSelection): Implemented.
17247 (AccessibleJTable.removeAccessibleSelection): Implemented.
17248 (AccessibleJTable.clearAccessibleSelection): Implemented.
17249 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17250 (AccessibleJTable.valueChange): Implemented.
17251 (AccessibleJTable.tableRowsInserted): Implemented.
17252 (AccessibleJTable.tableRowsDeleted): Implemented.
17253 (AccessibleJTable.handleRowChange): New helper method.
17254 (AccessibleJTable.columnAdded): Implemented.
17255 (AccessibleJTable.columnMarginChanged): Implemented.
17256 (AccessibleJTable.columnMoved): Implemented.
17257 (AccessibleJTable.columnRemoved): Implemented.
17258 (AccessibleJTable.columnSelectionChanged): Implemented.
17259 (AccessibleJTable.handleColumnChange): New helper method.
17260 (AccessibleJTable.editingCanceled): Implemented.
17261 (AccessibleJTable.editingStopped): Implemented.
17262 (AccessibleJTable.getAccessibleRow): Implemented.
17263 (AccessibleJTable.getAccessibleColumn): Implemented.
17264 (AccessibleJTable.getAccessibleIndex): Implemented.
17265 (AccessibleJTable.getAccessibleCaption): Implemented.
17266 (AccessibleJTable.setAccessibleCaption): Implemented.
17267 (AccessibleJTable.getAccessibleSummary): Implemented.
17268 (AccessibleJTable.setAccessibleSummary): Implemented.
17269 (AccessibleJTable.getAccessibleRowCount): Implemented.
17270 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17271 (AccessibleJTable.getAccessibleAt): Implemented.
17272 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17273 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17274 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17275 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17276 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17277 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17278 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17279 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17280 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17281 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17282 (AccessibleJTable.isAccessibleSelected): Implemented.
17283 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17284 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17285 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17286 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17287 (getAccessibleContext): Register listeners for the accessibility
17288 class on the JTable.
17290 2006-06-01 Sven de Marothy <sven@physto.se>
17292 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17293 (setPaint): Scale +1 pixel larger.
17295 2006-06-01 Sven de Marothy <sven@physto.se>
17298 * gnu/java/awt/Buffers.java (getData): Reimplement.
17299 * gnu/java/awt/peer/gtk/CairoSurface.java
17300 (getElem, setElem): Call native methods.
17302 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17304 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17306 2006-06-01 Sven de Marothy <sven@physto.se>
17308 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17309 (drawImage): Check for zero size.
17310 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17311 (setFont): Declare new native method.
17312 (GdkTextLayout): Read some attributes.
17313 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17314 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17315 (setFont): New native method.
17317 2006-06-01 Sven de Marothy <sven@physto.se>
17319 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17320 (updateBufferedImage): Fix some errors.
17322 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17324 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17326 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17327 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17328 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17329 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17330 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17331 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17332 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17333 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17334 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17335 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17337 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17339 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17340 * javax/swing/JEditorPane.java: Likewise,
17341 * javax/swing/JFormattedTextField.java: Likewise,
17342 * javax/swing/JLayeredPane.java: Likewise,
17343 * javax/swing/JScrollPane.java: Likewise,
17344 * javax/swing/JSlider.java: Likewise,
17345 * javax/swing/JSpinner.java: Likewise,
17346 * javax/swing/JTree.java: Likewise,
17347 * javax/swing/JViewport.java: Likewise,
17348 * javax/swing/UIDefaults.java: Likewise,
17349 * javax/swing/UIManager.java: Likewise.
17351 2006-06-01 Sven de Marothy <sven@physto.se>
17353 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17354 (BufferedImageGraphics): Cache surfaces.
17355 (updateBufferedImage): Copy directly for certain color models.
17356 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17357 (drawImage): Reimplement.
17359 2006-06-01 Sven de Marothy <sven@physto.se>
17361 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17362 (setPixels): Don't swap, correct size.
17364 2006-05-31 Anthony Green <green@redhat.com>
17367 * java/net/InetSocketAddress.java: Defer getting the host
17368 name until somebody calls InetSocketAddress.getHostName().
17369 Fix "represenation" typo.
17371 2006-06-01 Sven de Marothy <sven@physto.se>
17373 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17374 (updateBufferedImage): Simplify.
17375 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17376 (getPixels): Don't swap.
17378 2006-06-01 Sven de Marothy <sven@physto.se>
17380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17381 (setGradient): Reimplement.
17383 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17385 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17386 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17387 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17388 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17389 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17390 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17391 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17394 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17396 * javax/swing/table/JTableHeader.java
17397 (getColumnHeaderRenderer): New method,
17398 (getAccessibleColumnHeaderRenderer): Delegate part to new
17399 getColumnHeaderRenderer() method,
17400 (getLocale): Implemented.
17402 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17404 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17405 (cp_gtk_grab_current_drawable): Rename
17406 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17407 cp_gtk_grab_current_drawable, remove static declaration.
17408 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17410 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17411 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17412 Remove prototype of
17413 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17414 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17416 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17417 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17418 cp_gtk_grab_current_drawable here.
17420 2006-05-31 Sven de Marothy <sven@physto.se>
17422 Should fix PR 27835
17423 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17424 (updateBufferedImage): Keep within image bounds.
17426 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17427 Andreas Tobler <a.tobler@schweiz.ch>
17429 * configure.ac: Check for libXrender when the GTK peers are
17430 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17433 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17434 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17436 2006-05-31 Lillian Angel <langel@redhat.com>
17438 * javax/swing/plaf/basic/BasicProgressBarUI.java
17439 (paintString): Implemented to paint the string vertically.
17441 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17443 * javax/swing/JTable.java
17444 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17445 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17447 (AccessibleJTable.getAccessibleTable()): Likewise,
17448 (getAccessibleContext): Create new context if required.
17450 2006-05-31 Roman Kennke <kennke@aicas.com>
17452 * javax/swing/JTabbedPane.java
17453 (AccessibleJTabbedPane.stateChanged): Implemented.
17454 (Page.getAccessibleStateSet): Implemented.
17455 (Page.getAccessibleIndexInParent): Implemented.
17456 (getAccessibleContext): Add AccessibleJTabbedPane object
17457 as ChangeListener to the JTabbedPane.
17459 2006-05-31 Roman Kennke <kennke@aicas.com>
17461 * javax/swing/JMenuItem.java
17462 (getAccessibleContext): Register accessible object as ChangeListener
17464 (AccessibleJMenuItem.armed): New field.
17465 (AccessibleJMenuItem.focusOwner): New field.
17466 (AccessibleJMenuItem.pressed): New field.
17467 (AccessibleJMenuItem.selected): New field.
17468 (stateChanged): Implemented.
17470 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17472 * javax/swing/ListSelectionModel.java: Added API docs all over.
17474 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17476 * examples/gnu/classpath/examples/swing/FillRect.java
17477 (paintComponent): Optionally paint lines rather than rectangles.
17478 (createContent): Added option to test line painting.
17480 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17482 * javax/swing/event/EventListenerList.java
17483 (getListenerList): Updated API docs.
17485 2006-05-30 Sven de Marothy <sven@physto.se>
17487 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17488 (drawImage): Clip scaled image to dest rectangle.
17490 2006-05-30 Sven de Marothy <sven@physto.se>
17492 * gnu/java/awt/peer/gtk/CairoSurface.java:
17493 (CairoSurface): Convert pixels properly.
17494 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17495 Remove commented-out lines.
17497 2006-05-30 Sven de Marothy <sven@physto.se>
17499 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17500 (drawImage): Use Toolkit to convert to BufferedImage.
17501 * gnu/java/awt/peer/gtk/CairoSurface.java
17502 (CairoSurface(GtkImage)): New Constructor.
17503 (getBufferedImage): New method.
17504 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17505 Don't fill background - FIXME.
17506 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17507 Remove unused methods.
17508 * gnu/java/awt/peer/gtk/GtkImage.java:
17509 (pixbuflock): New field. Methods change to use this lock.
17510 * gnu/java/awt/peer/gtk/GtkToolkit.java
17511 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17513 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17514 (setPixels): Correct length in bytes.
17516 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17518 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17519 System.loadLibrary unconditionally.
17520 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17521 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17522 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17523 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17525 2006-05-30 Mark Wielaard <mark@klomp.org>
17527 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17528 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17529 Mark unused parameters, remove unused variables.
17531 2006-05-30 Sven de Marothy <sven@physto.se>
17533 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17534 (copyArea): Implemented.
17535 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17536 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17537 (copyAreaNative): New method.
17539 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17541 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17542 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17543 for non big endian systems.
17544 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17546 2006-05-30 Roman Kennke <kennke@aicas.com>
17548 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17549 * java/awt/TexturePaint.java
17550 (createContext): Implemented.
17552 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17554 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17557 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17559 * java/awt/Container.java:
17560 (removeAll): Reimplemented, added note.
17562 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17564 * java/awt/Container.java:
17565 (removeAll): Implemented different removal mechanism, added note.
17567 2006-05-30 Lillian Angel <langel@redhat.com>
17570 * java/awt/Component.java:
17571 (translateEvent): Added handling to translate WindowEvents
17572 * java/awt/Window.java:
17573 Removed unneeded imports.
17575 2006-05-30 Mark Wielaard <mark@klomp.org>
17577 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17580 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17582 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17584 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17586 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17587 (clearRect): Do not reuse the fg field, call updateColor.
17588 (drawRaster): Likewise.
17589 (setColor): Call updateColor.
17590 (updateColor): New method.
17592 2006-05-30 Mark Wielaard <mark@klomp.org>
17594 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17595 (PTR_TO_JLONG): Likewise.
17596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17597 (getPointer): Use new conversion macros.
17598 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17599 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17600 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17602 (setNativeObject): Likewise.
17603 (getNativeObject): Likewise.
17604 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17605 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17607 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17608 Correctly cast XID and pointer values.
17609 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17610 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17611 Mark unused variables.
17612 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17614 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17615 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17616 Remove unused cairographics2d struct.
17617 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17618 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17619 Use new conversion macros.
17620 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17622 2006-05-30 Mark Wielaard <mark@klomp.org>
17624 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17626 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17628 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17629 (copy): Do not reuse the fd field.
17630 (setColor): Do not set the color if the parameter
17632 (translate(double, double): Rewritten to use
17633 AffineTransform.translate.
17635 2006-05-30 Sven de Marothy <sven@physto.se>
17637 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17638 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17641 * include/Makefile.am
17642 * native/jni/gtk-peer/Makefile.am
17644 * gnu/java/awt/peer/gtk/CairoSurface.java
17645 (getSharedGtkImage): New method.
17646 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17649 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17650 Support a non-xrender context.
17651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17653 * gnu/java/awt/peer/gtk/GtkImage.java
17654 * include/gnu_java_awt_peer_gtk_GtkImage.h
17655 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17656 (initFromBuffer): New method.
17657 * native/jni/gtk-peer/gtkpeer.h:
17658 Remove declarations of previouslyremoved methods.
17660 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17662 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17664 2006-05-29 Mark Wielaard <mark@klomp.org>
17666 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17667 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17669 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17670 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17671 early. Remove unused return statement in void function.
17672 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17675 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17677 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17678 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17680 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17683 2006-05-29 Sven de Marothy <sven@physto.se>
17685 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17686 (setPixels): Remove superfluous return statement.
17688 2006-05-29 Sven de Marothy <sven@physto.se>
17690 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17691 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17692 * gnu/java/awt/peer/gtk/CairoSurface.java
17693 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17694 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17695 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17696 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17697 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17698 * native/jni/gtk-peer/cairographics2d.h
17699 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17700 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17703 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17704 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17705 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17708 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17709 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17710 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17711 (releasePeerGraphicsResource): Moved to Font peer class.
17713 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17714 (createGraphics): Use new context classes.
17716 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17717 Use native BufferedImages where possible.
17719 * gnu/java/awt/peer/gtk/GdkTextLayout.java
17720 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17721 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17722 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17723 renamed to cairoDrawGdkTextLayout.
17725 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17726 (getGraphics): Use ComponentGraphics context.
17727 (createImage): Use native BufferedImage.
17729 * gnu/java/awt/peer/gtk/GtkImage.java:
17730 * include/gnu_java_awt_peer_gtk_GtkImage.h
17731 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17732 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17733 Remove drawing methods.
17735 * gnu/java/awt/print/JavaPrinterGraphics.java:
17736 Use CairoSurface instead of GtkImage.
17738 * include/Makefile.am
17739 * native/jni/gtk-peer/Makefile.am
17740 Update for new files.
17742 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17744 Remove superfluous GtkImage code for GdkPixmaps.
17746 * native/jni/gtk-peer/gtkpeer.h
17747 Remove graphics2d structure.
17749 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17751 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17752 Do not reuse fg in the constructor.
17754 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
17756 * java/io/ObjectStreamConstants.java: Added API docs.
17758 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17760 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17761 Take no action if this color is already set.
17763 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17765 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17767 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17768 Optionally paint with translation. (createContent): Added option
17769 to test painting with translation
17771 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
17773 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17774 pattern to the default value when null.
17775 Pass field pattern, and not parameter with same name to createFileStream.
17777 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
17779 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17780 New class implementing the OS bean.
17781 * gnu/java/lang/management/package.html:
17782 New file to document the gnu.java.lang.management package.
17783 * java/lang/management/ManagementFactory.java:
17784 New class to provide access to the OS bean.
17785 * java/lang/management/OperatingSystemMXBean.java:
17787 * java/lang/management/package.html:
17788 New file to document the java.lang.management package.
17790 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17792 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17795 (SECURITY): Likewise.
17796 (CACERTS): Likewise.
17797 (CACERTS_GKR): Likewise.
17798 (gkrCaCertsPathName): New field.
17799 (jksCaCertsPathName): Likewise.
17800 (selfSignedCertificate): Likewise.
17801 (start): Initialize trusted certificate key stores if -trustcacerts is
17803 (ensureReplyIsOurs): Initialize selfSignedCertificate.
17804 (orderChain): Implemented.
17805 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17806 certificate key stores if -trustcacerts option is specified.
17807 (findTrustInCACerts): Removed.
17808 (getCertPathParameters): New method.
17809 (validate): New method.
17810 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17812 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17814 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17815 (PATTERN_KEY): Likewise.
17816 (DEFAULT_PATTERN): Likewise.
17817 (LIMIT_KEY): Likewise.
17818 (DEFAULT_LIMIT): Likewise.
17819 (COUNT_KEY): Likewise.
17820 (DEFAULT_COUNT): Likewise.
17821 (APPEND_KEY): Likewise.
17822 (DEFAULT_APPEND): Likewise.
17823 (FileHandler()): Use pattern value as set in logging.properties.
17824 Use constants defined above.
17825 (FileHandler(1)): Use constants defined above.
17826 (FileHandler(2)): Likewise.
17827 (FileHandler(3)): Likewise.
17828 (FileHandler(4)): Likewise.
17829 (createFileStream): Likewise.
17831 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17833 * java/util/logging/FileHandler.java: Reverted previous patch.
17834 * java/util/logging/LogManager.java: Likewise.
17836 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17838 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17839 (DEFAULT_PATTERN): Likewise.
17840 (FileHandler()): Use configured pattern property if any; otherwise use a
17841 default value as per RI documentation.
17842 * java/util/logging/LogManager.java (getStringProperty): New method.
17844 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17846 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17848 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17850 * configure.ac (FOUND_CACAO): New automake conditional.
17851 Add --enable-tool-wrappers.
17852 * NEWS: Introduce the --enable-tool-wrappers option.
17853 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17854 * tools/appletviewer.c: Remove file. Make tool-indepedent and
17856 * tools/toolwrapper.c: New file.
17858 2006-05-27 Dalibor Topic <robilad@kaffe.org>
17860 * java/awt/Graphics2D.java: Use full class name for
17861 PrinterJob in javadoc.
17863 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
17865 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17866 (callMouseMethod): Likewise.
17868 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17870 * native/jni/java-net/java_net_VMURLConnection.c:
17871 Fix function declarations to specify unused parameters.
17872 * scripts/check_jni_methods.sh:
17873 Remove copies of the same function using uniq.
17875 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17877 * vm/reference/java/net/VMURLConnection.java:
17878 Make package-private and final.
17880 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17882 * examples/gnu/classpath/examples/swing/TableDemo.java
17883 (TModed): Added editor for the icons column.
17884 (createContent): Increase the row height by 2 px.
17886 2006-05-26 Tom Tromey <tromey@redhat.com>
17888 PR classpath/27685:
17889 * java/math/BigInteger.java (modPow): Correctly handle negative
17892 2006-05-26 Tom Tromey <tromey@redhat.com>
17894 * configure.ac: Check for magic.h and -lmagic.
17895 * vm/reference/java/net/VMURLConnection.java: New file.
17896 * include/java_net_VMURLConnection.h: New file.
17897 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17898 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17899 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17901 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17902 * native/jni/java-net/java_net_VMURLConnection.c: New file.
17904 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17906 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17908 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17910 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17911 libjawtgnu.la libjawt.la.
17913 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17915 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17918 2006-05-25 Lillian Angel <langel@redhat.com>
17921 * java/awt/Window.java
17922 (Window): Moved code to helper.
17923 (addWindowFocusListener): New function. Handles focus
17924 listener code. Added code to handle focus lost/gained
17927 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
17930 Make pkg-config check for GTK+ >= 2.8.
17932 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17934 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17935 (flush): Remove debugging printfs.
17937 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17939 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17940 (schedule_flush): New function.
17941 (end_drawing_operation): Call schedule_flush.
17943 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17945 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17946 paint performance demo.
17947 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17949 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17951 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
17952 Cairo version requirement. Do not mention --enable-gtk-cairo
17954 * NEWS: Add entry for GdkGraphics2D.
17955 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17956 Cairo library and headers.
17957 * .externalToolBuilders/Configure.launch: Remove
17958 --enable-gtk-cairo from configure line.
17959 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17961 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17962 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17963 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17964 useGraphics2D references. Always assume Graphics2D is enabled.
17965 * gnu/java/awt/peer/gtk/GdkGraphics.java,
17966 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17967 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17968 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17969 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
17970 useGraphics2D references. Always assume Graphics2D is enabled.
17971 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17972 Graphics2D check. Always assume Graphics2D is enabled.
17973 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17974 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17975 (realize): Remove method.
17976 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17977 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17978 (isRealized): Remove method.
17979 (realize): Implement as a native method. Remove useGraphics2D
17980 references. Always assume Graphics2D is enabled.
17981 * gnu/java/awt/peer/gtk/GtkImage.java,
17982 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17983 GdkGraphics references with GdkGraphics2D references.
17984 * gnu/java/awt/peer/gtk/GtkToolkit.java,
17985 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17986 useGraphics2D references. Always assume Graphics2D is enabled.
17987 * include/Makefile.am (GTKPEER_H_FILES): Remove
17988 gnu_java_awt_peer_gtk_GdkGraphics.h.
17989 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17990 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17991 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17992 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17993 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17994 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17995 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17996 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
17997 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17998 (AM_LDFLAGS): Remove CAIRO_LIBS.
17999 (AM_CFLAGS): Remove CAIRO_CFLAGS.
18000 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
18002 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18004 2006-05-25 Lillian Angel <langel@redhat.com>
18006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18007 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18008 Added check to prevent assertion error. If widget->window is null, then
18009 use the parent widget's window to set the cursor on.
18011 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18013 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18016 2006-05-24 Lillian Angel <langel@redhat.com>
18018 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18019 (prependCodeBase): Added check to determine if the documentbase
18020 points to a directory or a file.
18022 2006-05-24 Sven de Marothy <sven@physto.se>
18024 * java/awt/dnd/DragGestureRecognizer.java
18025 (resetRecognizer): Implement.
18026 (fireDragGestureRecognized): Implement.
18028 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
18030 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18031 fixed source code formatting.
18033 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18035 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18037 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18039 Reported by Antony Balkisson.
18040 * javax/swing/JTable.java (selectAll): Return without action
18041 if the table is empty.
18043 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18045 * examples/gnu/classpath/examples/swing/TableDemo.java:
18046 (SliderCell): New inner class. (setCustomEditors,
18047 setInformativeHeaders): New fields. (createContent):
18049 * javax/swing/DefaultCellEditor.java
18050 (JComboBoxDelegate.shouldSelectCell): New method.
18051 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18052 * javax/swing/plaf/basic/BasicTableUI.java
18053 (MouseInputHandler.mouseClicked): Start editing on a single
18054 click if the cell editor is not a default cell editor.
18056 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18058 * javax/swing/naming/CompositeName.java,
18059 javax/swing/naming/CompoundName.java:
18062 2006-05-23 Archie Cobbs <archie@dellroad.org>
18064 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18067 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18069 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18070 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18071 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18072 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18073 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18074 * javax/swing/tree/ExpandVetoException.java: Likewise,
18075 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18076 * javax/swing/tree/RowMapper.java: Likewise,
18077 * javax/swing/tree/TreeNode.java: Likewise,
18078 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18079 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18081 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18083 * javax/swing/tree/DefaultTreeCellRenderer.java
18084 (DefaultTreeCellRenderer): Changed key for
18085 setBackgroundNonSelectionColor(),
18086 plus API docs all over.
18088 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18091 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18092 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18093 Initialise in constructor. (columnMoved): Cancel editing.
18094 (createDefaultEditors): Rewritten. (editCellAt):
18095 Just invert the value if this is a boolean cell.
18096 (initialiseLocalVars): Do not initialise renderer and editor tables.
18097 (setUI): Create editors and renderers here.
18099 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18101 * examples/gnu/classpath/examples/awt/Demo.java:
18102 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18103 instance as subframe.
18104 (ResolutionWindow): New inner class.
18105 (FullscreenWindow): New inner class.
18107 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18110 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18111 Set horizontal alignment to centered.
18113 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18115 * javax/accessibility/AccessibleContext.java
18116 (getAccessibleComponent): Fixed typo in docs,
18117 * javax/swing/JLabel.java:
18118 (AccessibleJLabel.getAccessibleName): Check for explicit
18120 * javax/swing/JTableHeader.java
18121 (AccessibleJTableHeaderEntry.columnIndex): New field,
18122 (AccessibleJTableHeaderEntry.parent): New field,
18123 (AccessibleJTableHeaderEntry.table): New field,
18124 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18126 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18128 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18129 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18130 (AccessibleJTableHeaderEntry.contains): Implemented,
18131 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18132 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18133 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18134 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18135 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18136 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18137 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18138 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18139 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18140 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18141 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18142 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18143 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18144 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18145 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18146 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18147 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18148 (AccessibleJTableHeaderEntry.getFont): Implemented,
18149 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18150 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18151 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18152 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18153 (AccessibleJTableHeaderEntry.getSize): Implemented,
18154 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18155 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18156 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18157 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18158 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18159 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18161 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18162 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18163 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18164 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18165 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18166 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18167 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18168 (AccessibleJTableHeaderEntry.setFont): Implemented,
18169 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18170 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18171 (AccessibleJTableHeaderEntry.setSize): Implemented,
18172 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18173 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18174 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18175 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18176 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18178 2006-05-22 Tom Tromey <tromey@redhat.com>
18182 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18184 * javax/swing/JLabel.java
18185 (AccessibleJLabel.getAccessibleName): New method (override),
18186 (setLabelFor): Fire 'labelFor' property change event before other
18189 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18191 * javax/swing/JLabel.java
18192 (AccessibleJLabel.getAccessibleRole): New method (override).
18194 2006-05-22 Tom Tromey <tromey@redhat.com>
18196 * resource/gnu/classpath/tools/serialver/messages.properties: New
18198 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18199 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18201 (classpath): Likewise.
18204 (addFileURL): New method.
18205 (getClassLoader): Likewise.
18206 (printMessage): Likewise.
18208 2006-05-22 Tom Tromey <tromey@redhat.com>
18210 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18212 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18214 * javax/swing/JTable.java (doLayout): In the column
18215 resize mode, only repaing the changed part of the table.
18216 (getLeftResizingBoundary): New method.
18218 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18220 * javax/naming/spi/InitialContextFactory.java,
18221 javax/naming/spi/InitialContextFactoryBuilder.java,
18222 javax/naming/spi/NamingManager.java,
18223 javax/naming/spi/ObjectFactory.java,
18224 javax/naming/spi/ResolveResult.java,
18225 javax/naming/spi/Resolver.java,
18226 javax/naming/spi/StateFactory.java: Documented.
18228 2006-05-21 Tom Tromey <tromey@redhat.com>
18230 PR classpath/27688:
18231 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18233 (initSet): Removed.
18234 (shouldExtract): Removed.
18236 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18237 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18240 (allItems): New field.
18241 (run): Initialize it.
18244 2006-05-22 Sven de Marothy <sven@physto.se>
18246 * java/nio/CharBuffer.java
18247 (wrap): Fix bounds checking.
18249 2004-08-26 Tom Tromey <tromey@redhat.com>
18251 * java/io/OutputStream.java
18252 (OutputStream): Implements Closeable, Flushable.
18254 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18256 * java/io/ObjectOutputStream.java:
18257 (writeObject(Object)): Added enum support.
18258 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18259 * java/io/ObjectStreamClass.java:
18260 (isEnum()): New package-private method.
18261 (setFlags(Class)): Added enum support.
18262 * java/io/ObjectStreamConstants.java:
18265 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18267 * java/io/ObjectInputStream.java:
18268 (parseContent(byte)): Added enum support.
18269 * java/io/ObjectStreamConstants.java:
18271 (TC_MAX): Changed to new maximum, TC_ENUM.
18273 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18275 * java/beans/beancontext/BeanContextSupport.java:
18276 (instantiateChild(String)): Implemented.
18278 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18280 * java/beans/beancontext/BeanContextSupport.java:
18281 (add(Object)): Add further documentation.
18282 (isEmpty()): Documented.
18283 (propertyChange(PropertyChangeEvent)): Implemented.
18284 (remove(Object)): Documented.
18285 (remove(Object,boolean)): Documented and implemented.
18286 (vetoableChange(PropertyChangeEvent)): Marked as
18287 implemented (only subclasses appear to need this).
18289 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18291 * java/beans/beancontext/BeanContextSupport.java:
18292 (add(Object)): Implement support for the child being
18293 a BeanContextChild.
18294 (avoidingGui()): Implemented.
18295 (dontUseGui()): Likewise.
18296 (needsGui()): Likewise.
18297 (okToUseGui()): Likewise.
18299 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18301 * javax/naming/Context.java,
18302 javax/naming/ContextNotEmptyException.java,
18303 javax/naming/Reference.java: Documented.
18305 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18307 * javax/swing/text/html/MinimalHTMLWriter.java
18308 (writeComponent, writeImage): Declare that the method
18309 may throw the IOException.
18311 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18314 * javax/naming/InitialContext.java (colon_list): Changed type to
18315 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18316 (merge): Rewritten.
18318 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18320 * javax/naming/InitialContext.java: Documented.
18322 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18324 * javax/naming/NameParser.java,
18325 javax/naming/NamingEnumeration.java,
18326 javax/naming/PartialResultException.java,
18327 javax/naming/SizeLimitExceededException.java,
18328 javax/naming/spi/ObjectFactory.java,
18329 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18331 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18333 * gnu/java/net/loader/JarURLLoader.java:
18334 Use Map.Entry instead of LinkedHashMap.Entry
18336 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18338 * javax/naming/Context.java: Documented.
18340 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18342 * javax/naming/Referenceable.java: Documented.
18343 * javax/naming/spi/NamingManager.java: Documented.
18345 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18347 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18348 to messages.properties.
18349 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18350 Renamed to messages.properties.
18351 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18353 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18354 Renamed from MessageBundle.properties.
18355 Added copyright notice.
18356 * resource/gnu/classpath/tools/keytool/messages.properties:
18358 * tools/gnu/classpath/tools/jarsigner/Messages.java
18359 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18360 (getFormattedString): Fixed a spelling mistake.
18361 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18363 2006-05-20 Sven de Marothy <sven@physto.se>
18365 * gnu/java/awt/font/opentype/NameDecoder.java
18367 (getName): Use getShort instead of getChar(), fix PS name.
18368 (decodeName): New method.
18369 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18370 (getSubFamilyName): Implement.
18371 (getPostScriptName): Use the NameDecoder class instead.
18372 (parsePSName): Removed.
18375 2006-05-20 Sven de Marothy <sven@physto.se>
18377 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18378 (getTrueTypeTable): New native method.
18379 (getPostScriptName): Reimplement.
18380 (parsePSName): New method.
18381 (getNumGlyphs): Implement.
18382 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18383 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18384 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18385 New function. File is now explicitly dependent on FT2.
18387 2006-05-20 Tom Tromey <tromey@redhat.com>
18389 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18390 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18392 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18393 (HandleFile): New class.
18394 (input, output, encoding, reversed): New fields.
18395 (createParser): New method.
18398 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18399 (notifyFile): Throws OptionException.
18401 2006-05-20 Tom Tromey <tromey@redhat.com>
18403 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18406 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18408 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18409 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18412 2006-05-20 Sven de Marothy <sven@physto.se>
18414 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18416 2006-05-20 Sven de Marothy <sven@physto.se>
18418 * gnu/java/awt/print/JavaPrinterJob.java
18419 (print): Use PostScriptGraphics2D.
18420 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18422 2006-05-20 Sven de Marothy <sven@physto.se>
18424 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18426 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18428 * gnu/java/security/OID.java: Updated copyright year.
18429 (OID): Removed unused Javadoc param tag.
18430 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18431 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18433 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18435 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18437 Added trace/debug statements.
18438 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18439 Entry. Also ensure that any previous entry for this alias is removed
18440 before a new one is added.
18441 (engineGetKey): Do not trace/log passwords.
18442 Trace key's class name only.
18443 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18444 Certificate Entry. Also ensure that previous entry for this alias is
18445 removed before a new one is added.
18446 (engineLoad): Do not trace/log passwords.
18447 (engineStore): Likewise.
18448 (engineSize): Use size of enumeration instead of collection size.
18450 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18452 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18453 (toString): New method.
18454 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18455 Do not trace/log passwords.
18456 Set masked to false before decoding envelope.
18457 Do not set payload to null.
18458 (encrypt): Set masked to true.
18459 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18460 Do not trace/log passwords.
18461 Set masked to false before decoding envelope.
18462 Do not set payload to null.
18463 Added trace/debug statements.
18464 (authenticate): Do not trace/log passwords.
18465 Set masked to true.
18466 Added trace/debug statements.
18467 (getMac): Added trace/debug statements.
18468 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18469 (remove(String)): Changed the signature to return a boolean.
18470 (toString): New method.
18471 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18473 (getCertificate): Likewise.
18474 (putCertificate): Likewise.
18476 Do not trace/log passwords.
18478 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18479 Do not trace/log passwords.
18480 Added more trace/logging statements.
18481 (putPrivateKey): Do not trace/log passwords.
18482 Trace only key's class name.
18484 (containsPublicKey): Formatting.
18485 (getPublicKey): Likewise.
18486 Trace only key's class name.
18487 (putPublicKey): Trace only key's class name.
18488 (containsCertPath): Formatting.
18489 (getCertPath): Likewise.
18490 (putCertPath): Likewise.
18491 (load): Do not trace/log passwords.
18494 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18495 (add): Do not set payload to null.
18496 Added trace/debug statements.
18497 (containsAlias): Added trace/debug statements.
18499 (remove(Entry)): Likewise.
18500 (remove(String)): Likewise.
18501 Changed the signature to return a boolean.
18502 Do not set payload to null unless really removed.
18503 (toString): New method.
18504 (decodeEnvelope): Clear entries before proceeding.
18505 (makeAliasList): Added trace/debug statements.
18506 Ensure only non-null aliases and alias-lists are added.
18507 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18508 (TYPES): New constant.
18509 (toString): New method.
18510 (defaultDecode): Add trace/debug statement.
18512 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18514 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18515 Increased visibility.
18516 (setup): Do not trace/log passwords.
18517 (parsed): Was not setting correct (rfc) field; fixed.
18518 (print1Chain): Formatting.
18519 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18520 Do not trace/log passwords.
18521 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18522 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18523 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18524 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18525 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18526 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18527 (orderChain): Added FIXME.
18528 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18529 Do not trace/log passwords.
18530 Removed commented out code.
18531 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18532 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18533 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18534 (setKeystoreURLParam): Likewise.
18535 (setKeystorePasswordParam): Do not trace/log passwords.
18536 (saveKeyStore): Likewise.
18538 2006-05-19 Roman Kennke <kennke@aicas.com>
18540 * gnu/java/awt/java2d/AbstractGraphics2D.java
18542 (pixel): Removed obsolete field.
18543 (draw(Shape)): Removed commented out code.
18544 (drawImage): Formatting.
18545 (drawString): Added optimization hook.
18546 (setPaint): Removed rawSetForeground().
18547 (getFontRenderContext): Return context with correct transform.
18548 (drawGlyphVector): Draw complete outline in one go.
18549 (copyArea): Added optimization hook.
18550 (clearRect): Added optimization hook.
18551 (drawImage): Added optimization hook.
18552 (fillShape): (Temporarily) Set antialiasing off by default for
18553 font rendering. Adjust the shape by some bits to improve rendering.
18554 Pass clip bounds to the render methods.
18555 (drawPixel): Removed.
18556 (rawSetPixel): Removed.
18557 (rawSetForeground): Removed.
18558 (rawDrawLine): Default impl calls standard pipeline.
18559 (rawDrawString): New method, calls standard pipeline for rendering.
18560 (rawClearRect): New method, calls standard pipeline for rendering.
18561 (rawFillRect): New method, calls standard pipeline for rendering.
18562 (rawDrawImage): New method, calls standard pipeline for rendering.
18563 (rawCopyArea): New method.
18564 (copyAreaImpl): New method.
18565 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18567 (fillShapeAntialias): Fixed AA rendering.
18568 (fillScanlineAA): Fixed AA rendering.
18569 (getSegments): Take offset into account.
18571 2006-05-19 Sven de Marothy <sven@physto.se>
18573 * javax/swing/text/AbstractWriter.java
18574 (getText): Fix parameters (start, length) not (start, end).
18576 2006-05-19 Tom Tromey <tromey@redhat.com>
18578 PR classpath/27444:
18579 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18580 Changed return type.
18581 * java/net/URLClassLoader.java (urlloaders): Removed.
18582 (addURLImpl): Updated.
18583 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18584 (indexSet): Likewise.
18585 (classPath): Changed type.
18586 (JarURLLoader): New constructor.
18587 (initialize): New method.
18588 (getResource): Use index set if it exists.
18589 (getClassPath): Updated.
18590 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18591 (prefixes): New field.
18592 (headers): Removed.
18593 (IndexListParser): Fill in prefixes.
18594 (clearAll): Clear prefixes.
18595 (getHeaders): Changed return type.
18597 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18599 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18600 (MouseInputHandler.mouseExitted): No nothing there.
18601 (MouseInputHandler.endDragging): Move column to the
18602 first/last position if released outside the horizontal
18605 2006-05-19 Lillian Angel <langel@redhat.com>
18607 * java/awt/font/GlyphVector.java
18608 (getGlyphCharIndex): Implemented.
18609 (getGlyphCharIndices): Implemented.
18610 (getGlyphOutline): Implemented.
18611 (getGlyphVisualBounds): Implemented.
18612 (getGlyphVisualBounds): Implemented.
18613 (getPixelBounds): Implemented.
18614 (getLayoutFlags): Implemented.
18616 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18618 * java/awt/LightweightDispatcher.java: Added field dragButton and
18619 documentation for it.
18620 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18621 added subexpression to if-clause in MOUSE_RELEASED case.
18623 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18625 * javax/swing/metal/MetalButtonUI.java:
18626 (update): Removed some subexpression from if-clause and call
18627 updateWithGradient.
18628 (updateWithGradient): New method.
18630 2006-05-19 Roman Kennke <kennke@aicas.com>
18632 * javax/swing/JComponent.java
18633 (findOverlapFreeParent): Implemented algorithm for finding
18634 overlapping in component hierarchy.
18636 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18638 * java/lang/Thread.java
18639 (contextClassLoaderIsSystemClassLoader): New field.
18640 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18641 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18642 and set contextClassLoaderIsSystemClassLoader.
18643 (Thread(ThreadGroup,Runnable,String,long)):
18644 Set contextClassLoaderIsSystemClassLoader.
18645 (createAnonymousThreadName): New method.
18646 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18647 and fixed security check.
18648 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18650 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18652 * javax/swing/plaf/basic/BasicToolBarUI.java:
18653 (createNonRolloverBorder): Rewritten.
18654 (createRolloverBorder): Rewritten.
18655 (setToNonRolloverBorder): Store old border instance in hashtable.
18656 (setToRolloverBorder): Store old border instance in hashtable, use
18657 AbstractButton instead of JButton in statements.
18658 (setBorderToNormal): Rewritten.
18659 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18660 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18661 ToolBar.nonrolloverBorder.
18663 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18665 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18666 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18668 2006-05-18 Lillian Angel <langel@redhat.com>
18670 * java/awt/font/GlyphMetrics.java
18671 (getLSB): Implemented.
18672 (getRSB): Implemented.
18674 2006-05-18 Lillian Angel <langel@redhat.com>
18676 * java/awt/font/GraphicAttribute.java:
18677 Documented entire class.
18678 (GraphicAttribute): Added check for alignment.
18679 (getBounds): Implemented.
18680 (getJustificationInfo): Implemented.
18682 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18684 * java/awt/LightweightDispatcher.java:
18685 (handleMouseEvent): Added note, added subexpression to if-statement.
18687 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18689 * javax/swing/plaf/basic/BasicToolBarUI.java:
18690 (navigateFocusedComp): Marked as stub.
18691 (createRolloverBorder): Create a different Border instance, added note.
18692 * javax/swing/plaf/metal/MetalBorders.java:
18693 (ButtonBorder): Added documentation.
18694 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18695 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18696 subexpression into if-else cascade, added note.
18698 2006-05-18 Lillian Angel <langel@redhat.com>
18700 * java/awt/font/ShapeGraphicAttribute.java:
18701 Documented entire class.
18702 (ShapeGraphicAttribute): Initialized bounds field.
18703 (draw): Implemented.
18704 (equals): Implemented.
18705 (getAdvance): Implemented.
18706 (getAscent): Implemented.
18707 (getBounds): Implemented.
18708 (getDescent): Implemented.
18709 (hashCode): Implemented.
18711 2006-05-18 Roman Kennke <kennke@aicas.com>
18713 * javax/swing/CellRendererPane.java
18714 (CellRendererPane): Set CellRendererPane to invisible.
18716 2006-05-18 Roman Kennke <kennke@aicas.com>
18718 * gnu/java/awt/peer/gtk/GdkGraphics.java
18719 (clipRect): Removed old intersection statement.
18721 2006-05-18 Roman Kennke <kennke@aicas.com>
18723 * gnu/java/awt/peer/gtk/GdkGraphics.java
18724 (clipRect): Don't use Rectangle.intersection() to avoid creating
18725 2 unnecessary Rectangle instances and fix a clipping problem.
18726 (computeIntersection): New helper method, adapted from SwingUtilities.
18728 2006-05-18 Roman Kennke <kennke@aicas.com>
18730 * javax/swing/JComponent.java
18731 (isCompletelyDirty): Removed.
18732 (paint): Don't mark children as clean, this is no longer necessary.
18733 (findOverlapFreeParent): Don't stop at Viewports, this breaks
18734 painting when something overlaps the viewport (like a popup/menu).
18735 * javax/swing/RepaintManager.java
18736 (currentRepaintManagers): Made package private to avoid accessor
18738 (dirtyComponents): Made private.
18739 (dirtyComponentsWork): Made private.
18740 (markCompletelyDirty): Fixed bounds of dirtyrect to be
18741 component-local not parent-local. Do not set flag in JComponent.
18742 (markCompletelyClean): Don't set JComponent flag.
18743 (isCompletelyDirty): Rewritten to return true when the complete
18744 component is marked dirty.
18745 (paintDirtyRegions): Improved parent-merging so that the merged-in
18746 components don't get painted too. 'Outsourced' the compilation
18747 of the repaint root components.
18748 (compileRepaintRoots): New helper method.
18750 2006-05-18 Roman Kennke <kennke@aicas.com>
18753 * javax/swing/text/GapContent.java
18754 (GapContentPosition(int)): Use adapted binarySearch method to
18755 allow for having a greater array than number of entries.
18756 (numMarks): New field, holds the end of the marks list.
18757 (GapContent): Initialize positionMarks with size of 10 instead of 0.
18758 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18759 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18760 (setPositionsInRange): Changed signature to narrow the purpose and
18761 special cases inside. Reimplemented to crunch together equal marks.
18762 (adjustPositionsInRange): Added assertion to make sure we do
18763 not accidentally change the order of the mark. Added some debug
18764 output for a special case of which I don't know if it even exists.
18765 (resetMarksAtZero): Made impl simpler.
18766 (dumpMarks): New debug helper method.
18767 (insertMark): Grow array in bigger chunks to avoid excessive copying.
18768 (binarySearch): New method. An adaption of Arrays.binarySearch()
18769 that allows for an maxIndex parameter.
18771 2006-05-18 Roman Kennke <kennke@aicas.com>
18773 * javax/swing/KeyboardManager.java
18774 (topLevelLookup): Use WeakHashMap to avoid memory leak.
18776 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
18778 * gnu/java/net/loader/JarURLLoader.java
18779 (JarURLLoader): Use a slightly more efficient URL constructor.
18781 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
18783 * gnu/java/awt/print/JavaPrinterGraphics.java
18784 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18785 (drawImage(Image, int, int, ImageObserver)): Likewise,
18786 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18787 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18788 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
18789 ImageObserver)): Likewise,
18790 (drawImage(Image, int, int, int, int, int, int, int, int,
18791 ImageObserver)): Likewise.
18793 2006-05-17 Tom Tromey <tromey@redhat.com>
18795 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18798 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18800 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18801 * javax/swing/border/BevelBorder.java: Likewise,
18802 * javax/swing/border/CompoundBorder.java: Likewise,
18803 * javax/swing/border/TitledBorder.java: Likewise.
18805 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18807 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18808 * javax/swing/table/DefaultTableModel.java: Likewise,
18809 * javax/swing/table/TableCellEditor.java: Likewise,
18810 * javax/swing/table/TableCellRenderer.java: Likewise.
18812 2006-05-17 Lillian Angel <langel@redhat.com>
18814 * java/awt/font/ImageGraphicAttribute.java:
18815 Documented entire class.
18816 (ImageGraphicAttribute): Changed to call this.
18817 (ImageGraphicAttribute): Implemented.
18818 (draw): Implemented.
18819 (equals): Implemented.
18820 (getAdvance): Implemented.
18821 (getAscent): Implemented.
18822 (getBounds): Implemented.
18823 (getDescent): Implemented.
18824 (hashCode): Implemented.
18825 * javax/swing/text/html/HTMLDocument.java
18826 (create): Removed. Sufficent enough for
18827 super to be called.
18828 (insert): Likewise.
18829 (insertUpdate): Likewise.
18830 (processHTMLFrameHyperlinkEvent): Marked as stub.
18831 (start): Removed FIXME.
18833 (start): Called super.
18834 (end): Called super.
18835 (getElement): removed unneeded code.
18836 (setParagraphAttribute): Removed. Sufficent enough
18837 for super to be called.
18838 (fireChangedUpdate): Likewise.
18839 (fireUndoableEditUpdate): Likewise.
18841 2006-05-17 Lillian Angel <langel@redhat.com>
18843 * java/awt/TexturePaint.java:
18844 Added documentation for class and all functions.
18845 (getTransparency): Implemented.
18847 2006-05-17 Roman Kennke <kennke@aicas.com>
18849 * java/awt/LightweightDispatcher.java
18850 (findTarget): Translate point to child components.
18852 2006-05-17 Roman Kennke <kennke@aicas.com>
18855 * javax/swing/text/GapContent.java
18856 (GapContentPosition): Do no more implement Comparable.
18857 (GapContentPosition.mark): Removed field.
18858 (GapContentPosition.index): New field to hold the index into
18859 the positions array.
18860 (GapContentPosition(int)): Rewritten to use the new indirection
18861 to the positions array.
18862 (GapContentPosition.compareTo): Removed.
18863 (GapContentPosition.getOffset): Synchronized. Fetch mark from
18864 positionMarks array.
18865 (WeakPositionComparator): Removed obsolete class.
18866 (positions): Changed type to WeakHashMap.
18867 (positionMarks): New field, holds the marks of the positions.
18868 (GapContent): Initialize new fields.
18869 (createPosition): Rewritten to use the new indirection
18870 to the positions array.
18871 (getPositionsInRange): Rewritten to use the new indirection
18872 to the positions array.
18873 (setPositionsInRange): Rewritten to use the new indirection
18874 to the positions array.
18875 (adjustPositionsInRange): Rewritten to use the new indirection
18876 to the positions array.
18877 (insertMark): New helper method.
18878 (clearPositionReferences): Removed obsolete methods.
18880 2006-05-17 Lillian Angel <langel@redhat.com>
18882 * java/awt/GraphicsConfiguration.java
18883 (getImageCapabilities): Implemented.
18884 (getBufferCapabilities): Implemented.
18886 2006-05-17 Lillian Angel <langel@redhat.com>
18888 * javax/swing/plaf/basic/BasicSliderUI.java
18889 (focusGained): Implemented.
18890 (focusLost): Implemented.
18891 (paint): Added code to paint the focus.
18892 * javax/swing/plaf/metal/MetalSliderUI.java
18893 (paintThumb): Added code to set the thumbColor.
18894 (paintFocus): Implemented properly.
18896 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18899 * javax/naming/spi/NamingManager.java (getURLContext):
18900 Always search for the factory class in all possible places
18901 and use VMStackWalker.
18902 (forName): New method.
18904 2006-05-17 Roman Kennke <kennke@aicas.com>
18906 * java/awt/LightweightDispatcher.java
18907 (handleMouseEvent): Fixed search algorithm for finding the
18908 mouse event target.
18909 (findTarget): Fixed search algorithm for finding the
18910 mouse event target.
18912 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18914 * javax/naming/spi/NamingManager.java: Documented.
18916 2006-05-17 Mark Wielaard <mark@klomp.org>
18918 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18919 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18920 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18921 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18923 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18926 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18928 (BorderListener.mouseClicked): Detect double-clicks in title pane,
18930 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18932 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18935 * java/awt/LightweightDispatcher.java:
18936 (handleMouseEvent): Moved assignment into switch-block, added notes.
18938 2006-05-16 Lillian Angel <langel@redhat.com>
18940 * javax/swing/text/StyleContext.java:
18941 Changed staticAttributeKeys to be a Hashtable.
18942 (getStaticAttribute): Implemented.
18943 (getStaticAttributeKey): Implemented.
18944 (readAttributeSet): Implemented.
18945 (writeAttributeSet): Added FIXME. Not sure how
18947 (readAttributes): Implemented.
18948 (writeAttributes): Implemented.
18949 (registerStaticAttibuteKey): Fixed to add key to
18952 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18954 * javax/swing/DefaultButtonModel.java
18955 (setGroup): Removed event notification.
18957 2006-05-16 Lillian Angel <langel@redhat.com>
18959 * javax/swing/plaf/basic/BasicComboBoxUI.java
18960 (installKeyboardActions): Implemented.
18961 (uninstallKeyboardActions): Implemented.
18962 * javax/swing/plaf/basic/BasicComboPopup.java
18963 (uninstallKeyboardActions): Removed FIXME. Nothing
18965 (installKeyboardActions): Likewise.
18966 * javax/swing/plaf/basic/BasicTextUI.java
18967 (uninstallKeyboardActions): Implemented.
18968 * javax/swing/plaf/basic/BasicTreeUI.java:
18969 Added field for hashColor.
18970 Marked stub methods.
18971 (getHashColor): Implemented to use field.
18972 (setHashColor): Likewise.
18973 (getRowX): Implemented.
18974 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
18976 2006-05-16 Roman Kennke <kennke@aicas.com>
18979 * javax/swing/JTable.java
18980 (rowHeights): New field.
18981 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18982 in order to initialize rowHeights correctly.
18983 (tableChanged): Nullify rowHeights when model changes. Only
18984 create default columns from model when corresponding property
18985 is set. Sync table model with rowHeights as appropriate.
18986 (valueChanged): Call repaint with the correct rectangle.
18987 (rowAtPoint): Handle rowHeights.
18988 (getCellRect): Mostly rewritten. Check for boundaries
18989 of model and return (0,0,0,0) or (0,0,width,height) when outside.
18990 Handle component orientation. Round correctly.
18991 (getRowHeight(int)): Implemented for variable row height.
18992 (setRowHeight(int,int)): Implemented for variable row height.
18993 (setRowHeight(int)): Nullify rowHeights.
18994 (setModel): Notify tableChanged().
18995 * javax/swing/plaf/basic/BasicTableUI.java
18996 (installDefaults): Create rendererPane in installUI.
18997 (installUI): Create and install rendererPane.
18998 (uninstallUI): Uninstall rendererPane and nullify rendererPane
19000 (paint): Correctly handle rowMargin.
19002 2006-05-16 Tom Tromey <tromey@redhat.com>
19004 PR classpath/27563:
19005 * java/text/NumberFormat.java (getIntegerInstance): Use
19006 "integerFormat", not "numberFormat".
19008 2006-05-16 Lillian Angel <langel@redhat.com>
19010 * javax/swing/JPopupMenu.java
19011 (addMenuKeyListener): Implemented.
19012 (removeMenuKeyListener): Implemented.
19013 (getMenuKeyListeners): Implemented.
19014 * javax/swing/ProgressMonitor.java:
19015 Added new protected field.
19016 (getAccessibleContext): Implemented.
19018 2006-05-16 Lillian Angel <langel@redhat.com>
19020 * javax/swing/JFileChooser.java:
19021 Added new private field.
19022 (setDragEnabled): Implemented.
19023 (getDragEnabled): Implemented.
19025 2006-05-16 Lillian Angel <langel@redhat.com>
19027 * java/awt/Window.java
19028 (applyResourceBundle): Implemented.
19030 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
19032 * javax/swing/DefaultButtonModel.java
19033 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19036 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19038 * javax/swing/JList.java (getSelectedValues):
19039 Ask the value for the indexed array element.
19041 2006-05-16 Roman Kennke <kennke@aicas.com>
19043 * javax/swing/JTable.java
19044 (valueChanged): Also repaint when table has only 1 row. Fixed
19045 repaint rectangle to span the entire changed rows.
19047 2006-05-16 Roman Kennke <kennke@aicas.com>
19050 * javax/swing/JOptionPane.java
19051 (startModal): Rewritten. The events are now dispatched, even
19052 when the event dispatch thread gets blocked by the call
19053 to this method. Also, mouse events get intercepted outside the
19056 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19058 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19059 (BorderListener.mouseDragged):Do not set cursor
19060 if the frame is being dragged.
19062 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19064 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19065 (BorderListener): Rewritten. (InternalFrameBorder):
19066 Made package private.
19067 (InternalFrameBorder.offset):
19068 Renamed to cornerSize, made package private.
19069 (bSize): Made package private.
19071 2006-05-16 Roman Kennke <kennke@aicas.com>
19073 * javax/swing/JMenu.java
19074 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19075 (AccessibleJMenu.getAccessibleChild): Implemented.
19076 (AccessibleJMenu.getAccessibleSelection): Implemented.
19077 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19078 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19079 (AccessibleJMenu.getAccessibleRole): Documented.
19080 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19081 (AccessibleJMenu.addAccessibleSelection): Implemented.
19082 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19083 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19084 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19085 (createPath): New helper method.
19087 2006-05-15 Tom Tromey <tromey@redhat.com>
19089 * java/text/MessageFormat.java (format): Now varargs.
19091 2006-05-15 Tom Tromey <tromey@redhat.com>
19093 * java/lang/Thread.java (State): Fixed typo.
19095 2006-05-15 Tom Tromey <tromey@redhat.com>
19097 * java/net/URLClassLoader.java: Moved inner classes to
19098 gnu.java.net.loader.
19099 (factoryCache): Changed type.
19100 (URL_LOADER_PREFIX): New constant.
19101 (URLClassLoader): Updated for new factoryCache.
19102 (addURLImpl): Use reflection to search for a loader.
19103 (findClass): Use getClass method on URLLoader.
19104 (getURLStreamHandler): Removed.
19105 * gnu/java/net/loader/URLLoader.java: New file, extracted
19106 from URLClassLoader.
19107 * gnu/java/net/loader/Resource.java: Likewise.
19108 * gnu/java/net/loader/FileResource.java: Likewise.
19109 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19110 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19111 * gnu/java/net/loader/JarURLResource.java: Likewise.
19112 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19113 * gnu/java/net/loader/RemoteResource.java: Likewise.
19114 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19116 2006-05-15 Sven de Marothy <sven@physto.se>
19118 * native/target/generic/target_generic_network.h:
19119 Add a pair of parenthesis.
19121 2006-05-15 Mark Wielaard <mark@klomp.org>
19123 * java/awt/Graphics2D.java: Remove PrinterJob import.
19125 2006-05-15 Mark Wielaard <mark@klomp.org>
19127 * doc/www.gnu.org/announce/20060515.wml: New file.
19128 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19129 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19131 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19133 * NEWS: Announce inclusion of gcjwebplugin.
19134 Announce inclusion of appletviewer.
19135 * INSTALL: Note gcjwebplugin dependencies.
19137 2006-05-15 Mark Wielaard <mark@klomp.org>
19139 * configure.ac (VERSION): Set to 0.91-generics.
19141 2006-05-15 Mark Wielaard <mark@klomp.org>
19143 * NEWS: Add release date and VMClassLoader.getBootPackages()
19146 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19148 * README: Added CACAO to list of VMs.
19150 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19152 * javax/swing/RepaintManager.java (paintDirtyRegions):
19153 Break loop as soon as the component repaint is merged
19154 with some parent. (ComponentComparator): Removed.
19155 (comparator): Removed.
19157 2006-05-15 Roman Kennke <kennke@aicas.com>
19159 * javax/swing/border/TitledBorder.java
19160 (paintBorderWithTitle): Fixed indentation.
19162 2006-05-15 Roman Kennke <kennke@aicas.com>
19164 * javax/swing/border/TitledBorder.java
19165 (layoutBorderWithTitle): Fetch border using getBorder() instead
19166 of using the border field directly. Allows for the use of
19167 an UI supplied border in the case when a null border was set.
19168 Fixed component orientation.
19169 (paintBorderWithTitle): Fetch border using getBorder() instead
19170 of using the border field directly. Allows for the use of
19171 an UI supplied border in the case when a null border was set.
19173 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19175 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19176 (contains): New method.
19178 2006-05-15 Tom Tromey <tromey@redhat.com>
19180 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19182 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19185 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19187 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19189 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19190 region. (paintDirtyRegions): Rewritten.
19192 2006-05-15 Tom Tromey <tromey@redhat.com>
19194 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19196 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19198 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19199 (run): Use MessageFormat.
19200 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19201 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19202 (writeFile): Use MessageFormat.
19204 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19206 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19207 instead of directly calling the class loader.
19209 2006-05-15 Tom Tromey <tromey@redhat.com>
19211 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19212 Removed old comment.
19213 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19214 Externalized strings.
19215 (getVersionString): Use MessageFormat.
19216 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19217 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19218 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19219 (getArgument): Use a MessageFormat.
19220 (handleLongOption): Likewise.
19223 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19226 * javax/swing/text/FieldView.java:
19227 (paint): Calculate intersection between clip and allocation area and
19228 set that as new clip.
19230 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19232 * javax/swing/text/JTextComponent.java: Marked stub methods.
19234 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19236 * javax/swing/JTable.java: Marked stub methods.
19238 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19240 * tools/gnu/classpath/tools/jarsigner/Main.java:
19241 Increased visibility of fields used by parser anonymous classes.
19242 (KEYTOOL_TOOL): New constant.
19243 (cmdLineParser): Changed type to ToolParser.
19244 (fileAndAlias): new field.
19245 (main): Don't catch OptionException.
19246 (processArgs): Removed validation checks; now handled by ToolParser.
19247 (getParser): Removed.
19248 (ToolParserCallback): New inner class.
19249 (ToolParser): Likewise.
19251 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19253 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19256 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19258 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19259 endResizingFrame): Do not repaint, unless in the outline mode.
19261 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19263 * javax/swing/JTabbedPane.java
19264 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19265 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19266 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19267 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19268 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19269 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19270 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19271 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19272 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19273 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19274 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19275 (Page.getAccessibleName): Implemented.
19277 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19279 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19280 Do not repaint nor revalidate here.
19282 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19284 * javax/swing/RepaintManager.java (addDirtyRegion):
19285 If there is a lightweight parent, recursively add the corresponding
19286 region of the parent instead.
19288 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19290 * java/awt/Graphics2D.java: Added some API doc comments.
19292 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19294 * javax/swing/JTabbedPane.java
19295 (paramString): Reimplemented,
19296 (getAccessibleContext): Added API docs.
19298 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19300 * javax/swing/JFileChooser.java
19301 (paramString): Reimplemented,
19302 (getAccessibleContext): Updated API docs,
19303 (AccessibleJFileChooser): Added API docs.
19305 2006-05-14 Tom Tromey <tromey@redhat.com>
19307 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19309 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19311 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19313 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19314 validation to JarParser.
19315 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19316 (run): Moved validation to JarParser. Don't throw OptionException.
19317 (initializeParser): Create a JarParser.
19318 (main): Don't catch OptionException.
19319 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19321 (validate): New method.
19322 (parse): Call it. Print '-help' in error message when long-only.
19324 2006-05-14 Tom Tromey <tromey@redhat.com>
19326 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19329 2006-05-15 Sven de Marothy <sven@physto.se>
19331 * gnu/java/awt/print/JavaPrinterGraphics.java:
19332 Sweeping changes I can't be bothered to document in detail.
19333 * gnu/java/awt/print/JavaPrinterJob.java
19334 (getPageAttributes): New method.
19335 (setPageable,cancel,isCancelled): Implement.
19337 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19339 * javax/swing/JCheckBoxMenuItem.java
19340 (requestFocus): Fixed typo in API docs,
19341 (paramString): Just call super.paramString(),
19342 (getAccessibleContext): Added API docs,
19343 (AccessibleJCheckBoxMenuItem): Likewise.
19345 2006-05-14 Tom Tromey <tromey@redhat.com>
19347 * tools/gnu/classpath/tools/jar/Indexer.java
19348 (writeCommandLineEntries): Simplify insertion.
19349 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19352 2006-05-14 Tom Tromey <tromey@redhat.com>
19354 PR classpath/27514:
19355 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19357 (JAR_INDEX_VERSION_KEY): Likewise.
19358 (IndexListParser): Updated.
19359 (getVersionInfo): Likewise.
19360 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19361 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19363 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19365 (ModeOption): New constructor.
19366 (parsed): Updated. Use setArchiveFile.
19367 (setArchiveFile): New method.
19368 (run): Handle no-argument case.
19369 (main): Emit --help message on option error.
19370 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19371 (createManifest): New method.
19372 (run): Updated. Throws OptionException. Correctly copy zip entry.
19373 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19375 (writeManifest): Removed.
19376 (outputStream): Now a JarOutputStream.
19377 (writeCommandLineEntries): Changed parameters. Updated callers.
19378 (run): Throws OptionException.
19379 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19380 * java/util/jar/Manifest.java (read): Typo fix.
19382 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19384 * javax/swing/JMenuItem.java
19385 (paramString): Fixed class name in API doc comment.
19387 2006-05-14 Tom Tromey <tromey@redhat.com>
19389 * native/plugin/.cvsignore: Updated.
19391 2006-05-14 Mark Wielaard <mark@klomp.org>
19393 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19396 2006-05-14 Chris Burdess <dog@gnu.org>
19398 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19399 nodes to be preserved during cloneNode.
19401 2006-05-14 Mark Wielaard <mark@klomp.org>
19404 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19405 inherited timeout on socket.
19407 2006-05-14 Lillian Angel <langel@redhat.com>
19409 * java/util/SimpleTimeZone.java: Reverted patch.
19410 (SimpleTimeZone): Throw exception if startMonth ==
19412 (SimpleTimeZone): Likewise.
19413 (checkRule): Rewritten to properly check all values (more
19415 This code is now more stable, at least less buggy than before.
19416 Fixed API documentation.
19417 (setStartRule): Moved checkRule call to end.
19418 (setStartRule): Likewise.
19419 (setEndRule): Likewise.
19420 (setEndRule): Likewise.
19422 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19424 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19427 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19430 * javax/swing/text/AbstractDocument.java:
19431 (insertString): Flipped if-expression and its blocks.
19433 (replace): Flipped if-expression and its blocks, added note, invoke
19434 insertString and remove instead of insertStringImpl and removeImpl.
19436 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19438 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19440 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19442 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19444 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19445 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19446 Increased visibility of fields used by parser anonymous classes.
19447 (processArgs): Removed.
19448 (getParser): New method.
19449 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19450 (setup): Mark (Eclipse) strings that need not be externalised.
19452 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19453 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19454 command line option parsing.
19455 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19456 Increased visibility of fields used by parser anonymous classes.
19457 (processArgs): Removed.
19458 (setup): set 'all' local field.
19459 (getParser): New method.
19460 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19461 Increased visibility of fields used by parser anonymous classes.
19462 (processArgs): Removed.
19463 (getParser): New method.
19464 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19465 (setNewKeyPassword): Fixed comments.
19466 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19467 Increased visibility of fields used by parser anonymous classes.
19468 (processArgs): Removed.
19469 (getParser): New method.
19470 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19472 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19473 Increased visibility of fields used by parser anonymous classes.
19474 (processArgs): Removed.
19475 (setup): Mark (Eclipse) strings that need not be externalised.
19476 (getParser): New method.
19477 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19478 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19479 Increased visibility of fields used by parser anonymous classes.
19480 (processArgs): Removed.
19481 (getParser): New method.
19482 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19483 (ATTRIBUTES_OPT): New constant.
19484 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19485 Increased visibility of fields used by parser anonymous classes.
19486 (processArgs): Removed.
19487 (setup): Mark (Eclipse) strings that need not be externalised.
19489 Reduced logging level.
19490 (getParser): New method.
19491 * tools/gnu/classpath/tools/keytool/Command.java
19492 (processArgs): Made it concrete.
19493 (getParser): New abstract method.
19494 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19496 2006-05-13 Casey Marshall <csm@gnu.org>
19498 Patch by Michael Barker <mike@middlesoft.co.uk>.
19499 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19500 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19501 gnu.java.nio.SocketChannelSelectionKeyImpl.
19502 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19503 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19505 * include/gnu_java_nio_VMChannel.h: new file.
19506 * java/nio/FileChannel.java (read,write): changed to call abstract
19508 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19509 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19510 `gnu_java_nio_VMChannel.c.'
19511 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19513 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19515 * javax/swing/text/AbstractDocument.java:
19516 (insertString): Flipped if-expression and its blocks.
19518 (replace): Flipped if-expression and its blocks, added note, invoke
19519 insertString and remove instead of insertStringImpl and removeImpl.
19521 2006-05-13 Tom Tromey <tromey@redhat.com>
19523 * java/nio/ByteBufferImpl.java (compact): Always set position.
19525 2006-05-13 Sven de Marothy <sven@physto.se>
19527 * gnu/java/awt/print/JavaPrinterGraphics.java
19528 (spoolPostScript): Use a faster writer.
19530 2006-05-13 Sven de Marothy <sven@physto.se>
19532 * gnu/java/awt/print/JavaPrinterGraphics.java
19533 (colorTripleHex): Reimplement better.
19535 2006-05-13 Sven de Marothy <sven@physto.se>
19537 * javax/swing/text/html/HTMLDocument.java
19538 (CharacterAction.start): Translate tag to StyleAttribute.
19539 (pushCharacterStyle): Push copy of attributes onto stack.
19540 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19543 2006-05-13 Sven de Marothy <sven@physto.se>
19545 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19546 * java/awt/print/PrinterJob.java
19547 (getPrinterJob): Return a JavaPrinterJob
19548 (setPrintService,getPrintService): Implement.
19549 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19550 (getPixels): Gtk_threads_enter required.
19551 * gnu/java/awt/print/JavaPrinterGraphics.java
19552 * gnu/java/awt/print/JavaPrinterJob.java
19553 * gnu/java/awt/print/SpooledDocumet.java:
19556 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19558 * javax/swing/text/TextAction.java:
19559 (HorizontalMovementAction): New inner class.
19560 (VerticalMovementAction): New inner class.
19561 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19562 new inner classes to array 'defaultActions'.
19563 (SelectionBeginWordAction): New inner class.
19564 (SelectionEndWordAction): New inner class.
19565 (BeginWordAction): New inner class.
19566 (EndWordAction): New inner class.
19567 (PreviousWordAction.actionPerformed): Rewritten.
19568 (SelectLineAction): New inner class.
19569 (SelectWordAction): New inner class.
19570 (SelectionDownAction): Rewritten.
19571 (SelectionUpAction): Rewritten.
19572 (DownAction): Rewritten.
19573 (UpAction): Rewritten.
19574 (SelectionForwardAction): Rewritten.
19575 (SelectionBackwardAction): Rewritten.
19576 (ForwardAction): Rewritten.
19577 (BackwardAction): Rewritten.
19578 (BeginAction): New inner class.
19579 (EndAction): New inner class.
19580 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19581 Character.isISOControl.
19583 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19585 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19586 (WordFilter.getNextVisualPositionFrom): Added statement to check
19587 for variable pt not being null.
19589 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19591 * javax/swing/text/Utilities.java:
19592 (getNextWord): Fixed grammar in exception message.
19593 (getPreviousWord): Changed expression in first if-clause, added sub-
19594 expression to if-clause in while-loop.
19595 (getWordStart): Changed expression in if-clause.
19596 getNextVisualPositionFrom): Added package-private helper method.
19598 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19600 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19603 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19605 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19607 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19608 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19609 * tools/gnu/classpath/tools/jarsigner/Main.java:
19610 Increased visibility of fields used by parser anonymous classes.
19611 (HELP_PATH): Removed.
19612 (cmdLineParser): New field.
19613 (main): Handle JVM exit status.
19614 Handle command line parsing exceptions.
19615 (processArgs): Use getopt command line parser.
19616 (getParser): New method.
19617 (setupCommonParams): Removed checks now handled by processArgs().
19618 (setupSigningParams): Likewise.
19619 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19620 Reuse an existing message-bundle constant.
19622 2006-05-12 Tom Tromey <tromey@redhat.com>
19624 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19625 Explicitly specify class for synchronization.
19627 2006-05-12 Tom Tromey <tromey@redhat.com>
19629 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19631 2006-05-12 Sven de Marothy <sven@physto.se>
19633 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19634 * gnu/java/net/protocol/http/HTTPURLConnection.java
19635 (setConnectTimeout): New method.
19636 (getConnection): Add timeout parameter.
19637 * java/net/URLConnection.java
19638 (getConnectTimeout, setConnectTimeout): Implement.
19639 * native/target/generic/target_generic_network.h:
19640 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19642 2006-05-12 Sven de Marothy <sven@physto.se>
19644 * gnu/javax/print/CupsServer.java
19645 (CupsServer): Make the Cups host configurable.
19646 * java/lang/System.java: Document the system property.
19648 2006-05-12 Roman Kennke <kennke@aicas.com>
19650 * javax/swing/border/TitledBorder.java
19651 (paintBorder): Rewritten for simplicity and correctness.
19652 (layoutBorderWithTitle): New helper method.
19653 (paintBorderWithTitle): New helper method.
19654 (getBorderInsets): Rewritten.
19655 (getMinimumSize): Rewritten.
19656 (getRealJustification): Removed.
19657 (getMeasurements): Removed.
19658 (Measurements): Removed.
19660 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19662 * javax/swing/plaf/basic/BasicPanelUI.java
19663 (sharedUI): New field,
19664 (createUI): Return a shared instance rather than a new instance,
19665 (installUI): Reformatted and added API docs,
19666 (installDefaults): Install border if one is defined,
19667 (uninstallDefaults): Uninstall border.
19669 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19671 * javax/swing/JProgressBar.java: Updated API docs all over.
19673 2006-05-11 Lillian Angel <langel@redhat.com>
19675 * java/awt/ContainerOrderFocusTraversalPolicy.java
19676 (getComponentAfter): Should not throw exception if
19677 the ancestor is null. Added a check for this.
19678 Also, changed to use new helper function, we should
19679 iterate through all the components at least once.
19680 (getNextAvailableComponent): New helper function.
19681 (getPrevAvailableComponent): New helper function.
19682 (getComponentBefore): Should not throw exception if
19683 the ancestor is null. Added a check for this.
19684 Also, changed to use new helper function, we should
19685 iterate through all the components at least once.
19686 (getFirstComponent): Changed check to manually check
19687 fields. Calling accept() casts the object to a Component,
19688 so different values may be returned.
19689 (getLastComponent): Likewise.
19691 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19693 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19694 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19695 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19696 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19697 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19698 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19699 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19700 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19701 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19702 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19703 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19704 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19705 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19706 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19707 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19708 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19709 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19710 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19712 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19714 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19715 package-private, added field 'active'.
19716 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19717 cases to update field 'active'.
19718 (mouseDragged): Added documentation, added if-clause to update
19719 selection or caret position.
19720 (mouseClicked): Added early return when text component is disabled.
19721 (focusGained): Moved statements into an if-clause.
19722 (focusLost): Added subexpression to if-clause.
19723 (install): Preset value of 'active'.
19724 (paint): Added subexpression to if-clause.
19725 (isVisible): Extended return expression.
19726 * javax/swing/text/JTextComponent.java:
19727 (copy): Copy only if component is enabled.
19728 (cut): Cut only if component is enabled and editable.
19731 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19733 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19734 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19735 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19736 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19737 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19738 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19739 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
19741 2006-05-11 Roman Kennke <kennke@aicas.com>
19743 * gnu/java/awt/font/GNUGlyphVector.java
19744 (GNUGlyphVector): Don't apply the font renderer context's
19747 2006-05-11 Mark Wielaard <mark@klomp.org>
19749 * java/util/logging/Logger.java (global): Initialize inside static
19752 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19754 * javax/swing/JFrame.java
19755 (EXIT_ON_CLOSE): Added note to API docs,
19756 (close_action): Renamed closeAction,
19757 (JFrame()): Change title to "",
19758 (JFrame(String)): Added API docs,
19759 (getAccessibleContext): Likewise,
19760 (getDefaultCloseOperation): Updated for renamed field, added API docs,
19761 (processWindowEvent): Updated for renamed field,
19762 (setDefaultCloseOperation): Likewise, and updated API docs.
19764 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19766 * javax/swing/JFrame.java
19767 (paramString): Reimplemented,
19768 * javax/swing/SwingUtilities.java
19769 (convertWindowConstantToString): New method.
19771 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19773 * javax/swing/WindowConstants.java: Updated API docs.
19775 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19777 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19778 (createUI): Removed 'final' qualifier for parameter,
19779 (paint): Reformatted.
19781 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19783 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19784 (createUI): Removed 'final' qualifier on method argument.
19786 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19788 * javax/swing/plaf/basic/BasicCheckBoxUI.java
19789 (getDefaultIcon): Removed this redundant method.
19791 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19793 * javax/swing/plaf/basic/BasicRadioButtonUI.java
19794 (paint): Pass component size to paintFocus().
19796 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19798 * java/awt/Component.java:
19799 (dispatchEventImpl): Added comment.
19801 2006-05-11 Mark Wielaard <mark@klomp.org>
19803 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19804 Option constructor null argument to String.
19806 2006-05-11 Mark Wielaard <mark@klomp.org>
19808 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19809 Fully qualify PathIterator constants
19811 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19813 * java/awt/Component.java:
19814 (dispatchEventImpl): Added subexpression to if-clause.
19816 2006-05-11 Mark Wielaard <mark@klomp.org>
19818 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19821 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19823 * javax/swing/TransferHandler.java: Marked stub methods.
19825 2006-05-10 Roman Kennke <kennke@aicas.com>
19828 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19829 (installDefaults): Set background of content pane to null, if
19830 no custom color has been installed by the application yet.
19832 2006-05-10 Roman Kennke <kennke@aicas.com>
19835 * javax/swing/JRootPane.java
19836 (createContentPane): Don't set background to null.
19838 2006-05-10 Sven de Marothy <sven@physto.se>
19840 * java/awt/print/PrinterJob.java:
19841 (lookupPrintServices): Un-comment-out.
19843 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
19845 * tools/gnu/classpath/tools/getopt/OptionGroup.java
19846 (FILLER): New constant.
19847 (formatText(PrintStream,String,int)): New method.
19848 (formatText(PrintStream,String,int,Locale)): Likewise.
19849 (printHelp): Use formatText method.
19850 * tools/gnu/classpath/tools/getopt/Parser.java
19851 (MAX_LINE_LENGTH): New constant.
19852 (formatText(PrintStream,String)): New method.
19853 (formatText(PrintStream,String,Locale)): Likewise.
19854 (printHelp): New method.
19855 (printHelp(PrintStream)): Increased visibility to protected.
19856 Use formatText method.
19858 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19860 * javax/swing/plaf/metal/MetalRadioButtonUI.java
19861 (installDefaults): Use getPropertyPrefix() to allow subclasses to
19862 modify the lookup key.
19864 2006-05-10 Lillian Angel <langel@redhat.com>
19866 * java/util/SimpleTimeZone.java: Reverted patch.
19867 (SimpleTimeZone): Throw exception if startMonth ==
19869 (SimpleTimeZone): Likewise.
19870 (checkRule): Rewritten to properly check all values (more
19872 This code is now more stable, at least less buggy than before.
19873 Fixed API documentation.
19874 (setStartRule): Moved checkRule call to end.
19875 (setStartRule): Likewise.
19876 (setEndRule): Likewise.
19877 (setEndRule): Likewise.
19879 2006-05-10 Roman Kennke <kennke@aicas.com>
19881 * gnu/java/awt/peer/swing/SwingComponent.java:
19882 Some API comment fixlets.
19883 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19884 (createImage): Create a BufferedImage, not a Toolkit image.
19885 (paint): Removed bogus API comment.
19886 (prepareImage): Added checks to avoid NPE.
19887 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19888 (getInsets): Added check to avoid NPE.
19889 (handleMouseEvent): Added check to avoid NPE.
19890 * gnu/java/awt/peer/swing/SwingFramePeer.java:
19891 Some API comment fixlets.
19892 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19893 Some API comment fixlets.
19894 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19895 Changed start_pos name to startPos.
19896 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19897 Some API comment fixlets.
19899 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19901 * java/awt/BasicStroke.java
19902 (equals): Fixed typo in HTML tag for API doc comment.
19904 2006-05-10 Gary Benson <gbenson@redhat.com>
19906 * java/lang/ThreadGroup.java (parent): Make package-private.
19907 * java/lang/SecurityManager.java (checkAccess(Thread)):
19908 Reference ThreadGroup.parent directly to avoid extra checks.
19909 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19912 2006-05-10 Roman Kennke <kennke@aicas.com>
19914 Reported by Ingo Proetel (proetel@aicas.com)
19915 * java/awt/EventDispatchThread.java
19916 (DEFAULT_PRIORITY): New constant field.
19917 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19918 system property for adjusting the priority of the event
19921 2006-05-10 Roman Kennke <kennke@aicas.com>
19923 Reported by Ingo Proetel (proetel@aicas.com)
19924 * java/awt/image/ColorModel.java
19925 (S_RGB_MODEL): New constant field.
19926 (getRGBDefault): Return constant SRGBColorModel.
19927 (SRGBColorModel): Specialized color model for sRGB.
19929 2006-05-10 Roman Kennke <kennke@aicas.com>
19931 * java/awt/ColorPaintContext.java
19932 (getRaster): Create Raster with (0,0) as source location.
19934 2006-05-10 Roman Kennke <kennke@aicas.com>
19936 * gnu/java/awt/java2d/AlphaCompositeContext.java
19937 (compose): Don't premultiply alpha to alpha itself.
19939 2006-05-10 Roman Kennke <kennke@aicas.com>
19941 * gnu/java/awt/java2d/AbstractGraphics2D.java
19942 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19943 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19945 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19946 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19947 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19949 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19950 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19952 (scale): Inverse transform by doing 1/scale instead of -scale.
19953 (drawImage(Image,int,int,ImageObserver)): Implemented.
19954 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19955 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19956 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19957 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19959 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19961 (fillScanline): Work on translated destination raster for
19962 correct compositin.
19963 (init): Fetch the clip after the destination raster is initialized.
19964 * gnu/java/awt/java2d/ImagePaint.java: New file.
19965 * gnu/java/awt/java2d/RasterGraphics
19966 (drawImage): Removed.
19968 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19970 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19971 Clarify option descriptions.
19972 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19973 uppercase for metasyntactic variables.
19975 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
19978 * javax/swing/text/AbstractDocument.java:
19979 (insertString): Added more documentation, added argument check.
19980 (remove): Added more documentation.
19981 (removeImpl): Added argument check.
19982 (replace): Added more documentation, added argument check.
19984 2006-05-09 Tom Tromey <tromey@redhat.com>
19986 * tools/.cvsignore: Added appletviewer.
19988 2006-05-09 Tom Tromey <tromey@redhat.com>
19990 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19993 2006-05-09 Tom Tromey <tromey@redhat.com>
19995 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
19996 Special case for '-J'. Use space instead of '='.
19997 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20000 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20002 * configure.ac: Add --disable-plugin and --with-vm options. Check
20003 for plugin support headers and libraries.
20004 * native/Makefile.am: Recurse into plugin directory.
20005 * native/plugin/.cvsignore: New file.
20006 * native/plugin/Makefile.am: New file.
20007 * native/plugin/gcjwebplugin.cc: New file.
20008 * tools/Makefile.am: Install appletviewer wrapper script.
20009 * tools/appletviewer.in: Replace VM location heuristic with
20010 VM_BINARY configure substitution.
20012 2006-05-09 Tom Tromey <tromey@redhat.com>
20014 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20015 an initial pass to look for short options. Added 'longOnly' option.
20016 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20018 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20019 options into final group. Added -J.
20020 (add): Insert new groups before final group.
20021 (printHelp): Updated.
20023 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20026 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20027 tools/gnu/classpath/tools/rmi/RMIC.java (main):
20028 Expect -classpath option.
20029 * tools/gnu/classpath/tools/rmi/RMIC.txt,
20030 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20032 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20033 (classLoader): New field. (loadClass, setClassPath):
20036 2006-05-09 Roman Kennke <kennke@aicas.com>
20038 * gnu/java/awt/java2d/RasterGraphics.java
20039 (RasterGraphics): Call init() and super().
20040 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20043 2006-05-09 Gary Benson <gbenson@redhat.com>
20045 * java/lang/Thread.java (Thread): Always perform threadgroup
20046 access checks on thread creation.
20048 2006-05-09 Chris Burdess <dog@gnu.org>
20050 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20051 be preserved during cloneNode.
20053 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20056 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20057 Do not demand all thrown exceptions to be an instance of RemoteException.
20059 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
20061 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20062 Use hash-style comments.
20063 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20066 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
20068 * javax/swing/JLabel.java
20069 (paramString): Added more attribute details,
20070 * javax/swing/SwingUtilities.java
20071 (convertHorizontalAlignmentCodeToString): New method,
20072 (convertVerticalAlignmentCodeToString): New method.
20074 2006-05-08 Tom Tromey <tromey@redhat.com>
20076 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20077 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20078 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20081 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20083 (run): Use ZipInputStream.
20084 (initSet): New method.
20085 (shouldExtract): Likewise.
20086 (run): Use new methods.
20087 * tools/gnu/classpath/tools/jar/Creator.java
20088 (writeCommandLineEntries): New overload.
20089 (writeFile): Use System.err for verbose.
20090 (writeManifest): New method.
20091 (writtenItems): New field.
20092 (writeFile): Update it.
20093 (writeCommandLineEntries): Return void. Call writeManifest.
20094 (addEntries): Don't add extra '/'.
20095 * NEWS: Mention jar.
20097 2006-05-08 Lillian Angel <langel@redhat.com>
20099 * gnu/java/net/IndexListParser.java: New class.
20100 * java/net/URLClassLoader.java
20101 (JarURLLoader): Fixed code to use new class.
20103 2006-05-08 Roman Kennke <kennke@aicas.com>
20105 * javax/swing/JComboBox.java
20106 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20107 (AccessibleJComboBox.getAccessibleChild): Implemented.
20108 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20109 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20110 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20111 (AccessibleJComboBox.getAccessibleAction): Implemented.
20112 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20113 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20114 (AccessibleJComboBox.doAccessibleAction): Implemented.
20115 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20116 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20117 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20118 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20119 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20121 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20123 * configure.ac: Add support for building appletviewer.
20124 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20126 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20128 * tools/appletviewer.c: New file.
20129 * tools/appletviewer.in: New file.
20130 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20132 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20134 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20135 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20137 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20139 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20141 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20143 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20145 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20146 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20148 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20150 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20152 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20154 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20156 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20158 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20161 2006-05-08 Tom Tromey <tromey@redhat.com>
20163 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20164 * tools/gnu/classpath/tools/jar/Action.java: New file.
20165 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20166 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20167 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20168 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20169 * tools/gnu/classpath/tools/jar/Main.java: New file.
20170 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20171 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20172 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20173 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20174 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20175 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20178 2006-05-08 Lillian Angel <langel@redhat.com>
20180 * java/net/URLClassLoader.java
20181 (JarURLLoader): Added check to make sure the INDEX.LIST file
20184 2006-05-08 Roman Kennke <kennke@aicas.com>
20186 * gnu/java/awt/java2d/AbstractGraphics2D.java
20187 (fill): Removed commented out code.
20188 (fillShape): Also determine the outline of the clip and feed
20189 it into the rendering method. Use new helper method for
20190 converting the shapes into lists of segments.
20191 (getUserBounds): Removed obsolete method.
20192 (rawFillShape): Respect the clip when rendering shapes.
20193 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20194 However, the implementation can't clip still.
20195 (getSegments): New helper method for converting a shape into
20196 a list of segments.
20197 (clipShape): Removed obsolete method.
20198 * gnu/java/awt/java2d/PolyEdge.java
20199 (isClip): New field.
20200 (PolyEdge): Added isField argument to constructor.
20202 2006-05-08 Roman Kennke <kennke@aicas.com>
20205 * javax/swing/JRootPane.java
20206 (createContentPane): Set background of the content pane to null,
20207 so that the content pane inherits its background from the
20210 2006-05-08 Roman Kennke <kennke@aicas.com>
20213 * javax/swing/ButtonGroup.java
20214 (add): Check if new button is selected and if so, deselect other
20215 buttons in the group.
20217 2006-05-08 Lillian Angel <langel@redhat.com>
20220 * java/net/URLClassLoader.java
20221 (JarURLLoader): Added code to go through
20222 META-INF/INDEX.LIST file to load all jars listed.
20224 2006-05-08 Roman Kennke <kennke@aicas.com>
20227 * javax/swing/ImageIcon.java
20228 (ImageIcon(URL)): Set description to URL.toString().
20230 2006-05-08 Roman Kennke <kennke@aicas.com>
20233 * javax/swing/JTable.java
20234 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20235 null when cell value is null.
20237 2006-05-08 Roman Kennke <kennke@aicas.com>
20240 * javax/swing/DefaultDesktopManager.java
20241 (closeFrame): Don't perform default close action on the frame
20242 to prevent endless loop.
20244 2006-05-08 Roman Kennke <kennke@aicas.com>
20247 * javax/swing/table/DefaultTableModel.java
20248 (addExtraRows): New helper method.
20249 (checkSize): New helper method.
20250 (setRowCount): Use addExtraRows helper method.
20251 (addColumn): Use addExtraRows helper method.
20252 (getColumnName): Check and adjust size if necessary using
20255 2006-05-08 Roman Kennke <kennke@aicas.com>
20258 * javax/swing/JTable.java
20259 (setValueAt): Allow setting values even when table is editable.
20261 2006-05-08 Tom Tromey <tromey@redhat.com>
20263 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20264 space to error message.
20266 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20268 * javax/swing/AbstractButton.java: Fixed comment typos.
20270 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20272 PR classpath/27435:
20273 * java/util/zip/DeflaterEngine.java:
20274 (deflateFast(boolean,boolean)): Empty buffer when full.
20276 2006-05-07 Sven de Marothy <sven@physto.se>
20279 * java/util/Calendar.java (setTimeZone): Force recalculation.
20281 2006-05-07 Sven de Marothy <sven@physto.se>
20284 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20285 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20287 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20289 PR classpath/27311:
20290 * gnu/java/text/StringFormatBuffer.java:
20291 (toString()): Implemented so we can see the contents.
20292 * java/text/DecimalFormat.java:
20293 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20294 Don't calculate the exponent when the number is 0 or less.
20295 Also, use log10 instead of log now it's available.
20297 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20299 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20300 Use instance's field creationDate not the constructor's argument.
20301 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20302 Removed unused imports.
20305 (decrypt): Added trace/debug/timing statements.
20306 (encrypt): Likewise.
20307 Use PRNG instead of instantiating every time a new SecureRandom.
20308 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20309 Removed unused imports.
20312 (verify): Added trace/debug/timing statements.
20313 (authenticate): Likewise.
20314 Use PRNG instead of instantiating every time a new SecureRandom.
20316 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20318 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20319 (THREAD_FORMAT): Likewise.
20320 (dateFormat): Added field.
20321 (threadFormat): Added field.
20322 (format): Initialize instance fields if null.
20323 Use StringBuilder instead of StringBuffer.
20325 2006-05-07 Roman Kennke <kennke@aicas.com>
20327 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20329 2006-05-07 Roman Kennke <kennke@aicas.com>
20331 * gnu/java/awt/java2d/AbstractGraphics2D.java
20332 (fillShape): Determine user space bounds of shape and feed them
20333 into the actual rendering pipeline.
20334 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20335 (rawSetForeground): Likewise.
20336 (getDestinationColorModel): Removed.
20337 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20338 (rawFillShape): Handle paint context.
20339 (fillScanline): Implement painting and compositing.
20340 (fillShapeAntialias): Handle paint context.
20341 (fillScanlineAA): Implemented preliminary antialiasing based on
20342 composite context. Not working yet.
20343 (fillScanlineAlpha): Removed.
20344 (init): Fetch destination raster.
20345 (getDestinationRaster): New abstract method.
20346 (updateRaster): New backend method.
20348 2006-05-07 Roman Kennke <kennke@aicas.com>
20350 * gnu/java/awt/java2d/AlphaCompositeContext.java
20351 (compose): Fixed loops, conditions and logic to make compositing
20354 2006-05-07 Roman Kennke <kennke@aicas.com>
20356 * java/awt/ColorPaintContext.java
20357 (ColorPaintContext): Fixed filling of the raster.
20359 2006-05-07 Sven de Marothy <sven@physto.se>
20362 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20363 * java/awt/Component.java (processMouseEvent):
20364 Do lightweight cursor handling.
20365 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20366 (endResizing,mouseMoved): Save and reset original cursor, not the
20369 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20372 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20373 getNodeDimensions): Mind the size of the node icon. (getRowX):
20374 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20375 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20376 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20377 (installDefaults): assign totalChildIndent. (installUI): Call
20378 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20379 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20382 2006-05-06 Sven de Marothy <sven@physto.se>
20385 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20386 Check for zero image sizes.
20388 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20391 * java/util/Calendar.java (clear(int)): Forced internal state
20392 completion before performing a field clearing.
20394 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20396 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20397 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20398 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20399 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20400 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20401 UnmodifiableMapEntry as part of their return value.
20403 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20405 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20406 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20407 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20408 Generate jarsigner and keytool scripts.
20409 * tools/keytool.in: New file (renamed from keytool.sh.in).
20410 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20411 * tools/.cvsignore: Replaced *.sh with *
20412 * configure.ac: Replaced tools/*.sh with tools/*.
20414 2006-05-05 Roman Kennke <kennke@aicas.com>
20416 * java/awt/image/ColorModel.java
20417 (getNormalizedComponents): Implemented.
20419 2006-05-05 Roman Kennke <kennke@aicas.com>
20421 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20422 (paint): Query the button model for it's state, not the
20425 2006-05-05 Roman Kennke <kennke@aicas.com>
20427 * javax/swing/JTable.java
20428 (tableChanged): Sync selection model with table model changes.
20430 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20432 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20433 if there are no visible nodes to paint.
20435 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20437 * javax/swing/JOptionPane.java: API doc updates.
20439 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20441 * javax/swing/JToolBar.java
20442 (paramString): Reimplemented.
20444 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20446 * javax/swing/JScrollBar.java
20447 (paramString): Reimplemented.
20449 2006-05-04 Tom Tromey <tromey@redhat.com>
20451 PR classpath/27375:
20452 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20453 (readEntries): Updated.
20454 (getEntries): Likewise.
20455 (getEntry): Likewise.
20456 (getInputStream): Likewise.
20458 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20460 * gnu/javax/imageio/jpeg/DCT.java,
20461 gnu/javax/imageio/jpeg/HuffmanTable.java,
20462 gnu/javax/imageio/jpeg/JPEGComponent.java,
20463 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20464 gnu/javax/imageio/jpeg/JPEGException.java,
20465 gnu/javax/imageio/jpeg/JPEGFrame.java,
20466 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20467 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20468 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20469 gnu/javax/imageio/jpeg/JPEGMarker.java,
20470 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20471 gnu/javax/imageio/jpeg/JPEGScan.java,
20472 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20473 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20475 2006-05-04 Lillian Angel <langel@redhat.com>
20477 * javax/swing/JLabel.java
20478 (JLabel): Pass in an empty string for the text parameter.
20479 (JLabel): Likewise.
20480 (JLabel): Likewise.
20482 2006-05-04 Roman Kennke <kennke@aicas.com>
20484 * javax/swing/plaf/basic/BasicButtonListener.java
20485 (mouseEntered): Fixed conditions for changing states.
20487 2006-05-04 Roman Kennke <kennke@aicas.com>
20489 * javax/swing/JOptionPane.java
20490 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20492 2006-05-04 Roman Kennke <kennke@aicas.com>
20494 * javax/swing/JLabel.java
20495 (AccessibleJLabel.getSelectedText): Return null instead of "".
20496 (AccessibleJLabel.getSelectionStart): Added comment why
20497 return -1 is correct here.
20498 (AccessibleJLabel.getSelectionEnd): Added comment why
20499 return -1 is correct here.
20500 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20502 (AccessibleJLabel.getCharCount): Added comment about what
20504 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20505 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20506 (paramString): Return super.paramString() here, this provides
20507 a more meaningful output.
20509 2006-05-04 Roman Kennke <kennke@aicas.com>
20511 * javax/swing/JComponent.java
20512 (paint): Added null check to avoid NPE when clip == null.
20514 2006-05-04 Roman Kennke <kennke@aicas.com>
20516 * javax/swing/AbstractButton.java
20517 (addImpl): New method. Installs an OverlayLayout if no
20518 other layout has been installed before.
20519 (setLayout): New method. Detect if a client app installs a custom
20522 2006-05-04 Roman Kennke <kennke@aicas.com>
20524 * javax/swing/table/DefaultTableCellRenderer.java
20525 (noFocusBorder): Fixed width of empty border to 1.
20526 (getTableCellRendererComponent): Don't change the colors for
20527 focuses cells. Fixed border for focused cells.
20529 2006-05-04 Roman Kennke <kennke@aicas.com>
20531 * javax/swing/JTable.java
20532 (moveToCellBeingEdited): Adjust bounding box of editing component
20533 to exactly cover the grid.
20534 * javax/swing/plaf/basic/BasicTableUI.java
20535 (paint): Paint grid to the bottom and right of the cells instead
20536 of left and top. Adjust bounding box of cells accordingly.
20537 * javax/swing/plaf/metal/MetalLookAndFeel.java
20538 (initComponentDefaults): Fixed color of JTable selection border.
20539 * javax/swing/plaf/metal/OceanTheme.java
20540 (addCustomEntriesToTable): Fixed color of JTable selection border.
20542 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20544 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20545 Use _alias instead of alias.
20547 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20550 Set version to 0.92-pre.
20552 Add space for 0.92 entries.
20554 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20556 * include/Makefile.am:
20557 Added rules for gnu.java.net.local.LocalSocketImpl.h
20558 * include/java_lang_VMSystem.h:
20559 Regenerated correctly.
20561 2006-05-03 Sven de Marothy <sven@physto.se>
20564 * java/awt/Image.java:
20565 (getScaledInstance): Default to AreaAveraging for "smooth",
20566 don't thrown an error on illegal flag values.
20567 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20569 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20571 * javax/swing/text/FieldView.java:
20572 (adjustAllocation): Added if-block to return null when shape argument
20574 * javax/swing/text/PlainView.java:
20575 (updateDamage): Added if-block to return early if a is null.
20577 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20579 * javax/swing/plaf/basic/BasicTextUI.java:
20580 (changeUpdate): Added note.
20581 (removeUpdate): Dito.
20582 (insertUpdate): Dito.
20583 (damageRange): Added if-block to return early.
20584 (modelToView): Added check of getVisibleEditorRect's return value.
20585 (getVisibleEditorRect): Return null instead of empty rectangle.
20586 * javax/swing/text/DefaultCaret.java:
20587 (clearHighlight): Removed if-clause to create a highlight entry if it
20588 did not exist before.
20589 * javax/swing/text/WrappedPlainView.java:
20590 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20591 removed 2nd part of if-expression.
20592 (WrappedLine.updateDamage): Added more documentation, added check
20593 whether allocation area rectangle is null.
20595 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20597 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20598 Reset to preferred sizes if the argument is negative.
20600 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20602 * javax/swing/JList.java: Added/updated API docs.
20604 2006-05-03 Lillian Angel <langel@redhat.com>
20606 * javax/swing/JComponent.java
20607 (getRoot): New private function. Gets the root appropriate
20608 for painting. If an applet exists as a parent, then it is returned.
20609 (paintDoubleBuffered): Changed to use new function.
20610 * javax/swing/RepaintManager.java
20611 (getRoot): New private function. Gets the root appropriate
20612 for painting. If an applet exists as a parent, then it is returned.
20613 (getOffscreenBuffer): Changed to use new function.
20614 * javax/swing/SwingUtilties.java
20615 (getRoot): Reverted last patch to return Window, even if
20618 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20620 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20621 a pair of one public keyring and one private keyring.
20622 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20623 (containsCertificate): Added logging.
20624 (getCertificate): Likewise.
20625 (putCertificate): Likewsie.
20628 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20629 (containsPrivateKey): Added logging.
20630 (getPrivateKey): Likewise.
20631 (putPrivateKey): Likewise.
20632 (containsPublicKey): Likewise.
20633 (getPublicKey): Likewise.
20634 (putPublicKey): Likewise.
20635 (containsCertPath): Likewise.
20636 (getCertPath): Likewise.
20637 (putCertPath): Likewise.
20641 2006-05-03 Roman Kennke <kennke@aicas.com>
20643 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20644 * java/awt/AlphaComposite.java
20645 (createContext): Implemented.
20647 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20649 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20650 Set the current color again after drawing the raster.
20652 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20654 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20655 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20657 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20659 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20660 Assign returned value to field handler.
20661 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20664 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20666 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20667 Return without action if there is no view in the viewport.
20668 * javax/swing/text/WrappedPlainView.java
20669 (WrappedLine.getPreferredSpan): If metrics == null, update
20671 * javax/swing/tree/DefaultTreeModel.java (constructors):
20672 Do not call setRoot, assign the root node directly.
20674 2006-05-02 Lillian Angel <langel@redhat.com>
20676 * javax/swing/SwingUtilities.java
20677 (getRoot): Should return the Applet if it exists.
20678 Only return the Window if an Applet has not been
20681 2006-05-02 Lillian Angel <langel@redhat.com>
20683 * gnu/javax/swing/text/html/parser/support/Parser.java
20684 (readAttributes): Reverted Audrius' last patch. There is
20685 a slight difference in code between the NUMTOKEN and SLASH case.
20687 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20689 * javax/swing/text/JTextComponent.java:
20690 (setText): Throw InternalError from catch-block.
20691 * javax/swing/text/GapContent.java:
20692 (removed): Removed if-expression, changed '>' to '>='.
20694 2006-05-02 Roman Kennke <kennke@aicas.com>
20696 * gnu/java/awt/java2d/AbstractGraphics2D.java
20697 (AA_SAMPLING): New constant.
20698 (alpha): New field. Used in the antialiasing renderer.
20699 (edgeTable): New field. Used in the antialiasing renderer.
20700 (AbstractGraphics2D): Initialize rendering hints wrt
20702 (draw): Clip after stroking. Commented out clipping for now,
20703 it seems to be buggy.
20704 (fill): Commented out clipping for now, it seems to be buggy.
20705 (setComposite): Don't create composite context.
20706 (setPaint): Only change paint when parameter is not null.
20707 (translate): Call setClip() so subclasses can update their clip
20709 (clip): Call setClip() so subclasses can update their clip
20711 (drawGlyphVector): Added clipping, but left it commented out
20712 because it's buggy.
20713 (getClipBounds): Returns null when clip is null.
20714 (drawLine): Call rawDrawLine with translation applied.
20715 (filLRect): Call rawFillRect with translation applied.
20716 (fillShape): Added support for anti-aliasing.
20717 (rawSetForeground(int,int,int)): New method.
20718 (rawFillShape): A couple of painting fixes.
20719 (fillScanline): Implemented to call rawDrawLine.
20720 (fillShapeAntialias): New method. Implements an anti-aliasing
20722 (fillScanlineAA): New method. Used for the anti-aliasing
20724 (fillScanlineAlpha): New method. Used for the anti-aliasing
20726 (init): Initialize clip with the device bounds.
20727 (updateOptimization): Fixed the optimization condition.
20729 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20731 * javax/swing/text/GapContent.java:
20732 (GapContent): Restrict size argument by 2.
20733 (insertString): Changed expression from >= to >.
20734 (remove): Changed right side of expression to 'length - 1', changed
20736 (getChars): Throw exception if where below 0.
20737 (replace): Replaced call to setPositionsInRange() with
20738 resetMarksAtZero(), removed note.
20740 2006-05-02 Roman Kennke <kennke@aicas.com>
20743 * javax/swing/MenuSelectionManager.java
20744 (setSelectedPath): Rewritten.
20746 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20748 * gnu/javax/swing/text/html/parser/support/Parser.java
20749 (readAttributes): Merge case NUMTOKEN: and case SLASH:
20752 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20754 * tools/.cvsignore: Added keytool.sh.
20755 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20757 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20759 * doc/tools.texinfo: New file.
20760 * doc/Makefile.am: Generate tools documentation.
20762 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20764 * tools/keytool.sh.in: New file.
20765 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20766 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20767 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20768 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20769 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20770 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20771 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20772 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20773 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20774 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20775 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20776 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20777 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20778 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20779 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20780 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20781 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20782 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20784 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20786 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20787 resemble more closely man-page style text.
20788 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20789 Mark (Eclipse) strings that need not be externalised.
20790 (writeSF): Likewise.
20791 (writeDSA): Likewise.
20792 Use package-private Messages class to provide i18n-ready strings.
20794 Use package-private Messages class to provide i18n-ready strings.
20795 (updateEntry): Likewise.
20796 Mark (Eclipse) strings that need not be externalised.
20797 (finishSigning): Likewise.
20798 * tools/gnu/classpath/tools/jarsigner/Main.java:
20799 Mark (Eclipse) strings that need not be externalised.
20800 (main): Do not use constant strings as class name.
20801 Use package-private Messages class to provide i18n-ready strings.
20802 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20803 (processArgs): Do not use constant strings as class name.
20804 Mark (Eclipse) strings that need not be externalised.
20805 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20806 (start): Do not use constant strings as class name.
20807 (teardown): Likewise.
20809 (setupCommonParams): Do not use constant strings as class name.
20810 Use package-private Messages class to provide i18n-ready strings.
20811 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20812 (installNewProvider): Do not use constant strings as class name.
20814 (setupSigningParams): Do not use constant strings as class name.
20815 Use package-private Messages class to provide i18n-ready strings.
20816 Mark (Eclipse) strings that need not be externalised.
20817 (getCallbackHandler): Use CallbackUtil.
20818 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20819 Use package-private Messages class to provide i18n-ready strings.
20820 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20821 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20822 (verifySF): Likewise.
20823 (verifySFEntries): Do not use constant strings as class name.
20824 Use Boolean.valueOf instead of new Boolean().
20825 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20826 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20828 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20829 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20831 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20833 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20834 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20835 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20837 2006-05-01 Tom Tromey <tromey@redhat.com>
20839 * java/nio/ByteBufferImpl.java (compact): Don't reset position
20841 * gnu/java/nio/ChannelReader.java (read): Synchronize.
20842 (close): Synchronize.
20843 * java/nio/ShortBufferImpl.java (compact): Rewrote.
20844 * java/nio/LongBufferImpl.java (compact): Rewrote.
20845 * java/nio/IntBufferImpl.java (compact): Rewrote.
20846 * java/nio/FloatBufferImpl.java (compact): Rewrote.
20847 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20848 * java/nio/CharBufferImpl.java (compact): Rewrote.
20849 * gnu/java/nio/ChannelWriter.java: New file.
20850 * java/nio/channels/Channels.java (newWriter): Implemented.
20852 2006-05-01 Lillian Angel <langel@redhat.com>
20854 * java/util/SimpleTimeZone.java
20855 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20856 (SimpleTimeZone): Likewise.
20857 (checkRule): Rewritten to properly check all values (more efficently).
20858 This code is now more stable, at least less buggy than before. Fixed
20860 (setStartRule): Moved checkRule call to end.
20861 (setStartRule): Likewise.
20862 (setEndRule): Likewise.
20863 (setEndRule): Likewise.
20865 2006-05-01 Tom Tromey <tromey@redhat.com>
20867 * lib/.cvsignore: Added classes.2.
20869 2006-05-01 Tom Tromey <tromey@redhat.com>
20871 * java/util/jar/JarFile.java (provider): Now package-private.
20872 * java/lang/Enum.java (compareTo): Javadoc fix.
20873 * java/lang/Boolean.java (compareTo): Javadoc fix.
20875 2006-05-01 Lillian Angel <langel@redhat.com>
20877 * gnu/javax/swing/text/html/parser/support/Parser.java
20878 (readAttributes): Formatted function. Added handling for
20879 SLASH token. The value of an attribute may start with a slash
20880 (i.e. a path). I added handling similar to to the NUMTOKEN code.
20881 We should not be skipping over these type of attributes.
20883 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
20885 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20886 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20887 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20888 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20889 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20890 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20891 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20892 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20893 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20894 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20895 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20896 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20897 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20898 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20899 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20900 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20901 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20902 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20903 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20904 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20905 * include/gnu_java_awt_peer_gtk_GtkImage.h,
20906 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20907 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20908 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20909 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20910 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20911 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20912 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20913 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20914 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20915 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20916 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20917 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20918 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20919 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20920 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20921 * include/gnu_java_awt_peer_qt_MainQtThread.h,
20922 * include/gnu_java_awt_peer_qt_QMatrix.h,
20923 * include/gnu_java_awt_peer_qt_QPainterPath.h,
20924 * include/gnu_java_awt_peer_qt_QPen.h,
20925 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20926 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20927 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20928 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20929 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20930 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20931 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20932 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20933 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20934 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20935 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20936 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20937 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20938 * include/gnu_java_awt_peer_qt_QtGraphics.h,
20939 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20940 * include/gnu_java_awt_peer_qt_QtImage.h,
20941 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20942 * include/gnu_java_awt_peer_qt_QtListPeer.h,
20943 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20944 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20945 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20946 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20947 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20948 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20949 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20950 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20951 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20952 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20953 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20954 * include/gnu_java_awt_peer_qt_QtToolkit.h,
20955 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20956 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20957 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20958 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20959 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20960 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20961 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20962 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20963 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20964 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20965 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20966 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20967 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20968 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20969 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20970 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20971 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20972 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20973 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20974 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20975 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20976 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20977 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20978 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20979 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20980 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20981 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20982 * include/java_lang_VMProcess.h:
20984 * native/jni/java-lang/java_lang_VMProcess.c:
20985 Redirect when pipe_count is 2 not 3.
20987 2006-04-30 Sascha Brawer <sascha@brawer.ch>
20989 * gnu/java/awt/font/FontDelegate.java,
20990 * gnu/java/awt/font/FontFactory.java,
20991 * gnu/java/awt/font/GNUGlyphVector.java,
20992 * gnu/java/awt/font/opentype/CharGlyphMap.java,
20993 * gnu/java/awt/font/opentype/GlyphNamer.java,
20994 * gnu/java/awt/font/opentype/MacResourceFork.java,
20995 * gnu/java/awt/font/opentype/NameDecoder.java,
20996 * gnu/java/awt/font/opentype/OpenTypeFont.java,
20997 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20998 * gnu/java/awt/font/opentype/Scaler.java,
20999 * gnu/java/awt/font/opentype/truetype/Fixed.java,
21000 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21001 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21002 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21003 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21004 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21005 * gnu/java/awt/font/opentype/truetype/Zone.java,
21006 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21007 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21008 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21009 New files. Imported font framework from:
21010 http://www.brawer.ch/software/fonts/
21012 2006-04-30 Roman Kennke <kennke@aicas.com>
21014 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21015 (lastTabInRun): Fix calculation of the last tab in a run. This
21016 has caused painting problems sometimes, making the
21017 last tab painted incorrectly.
21019 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21022 * javax/swing/JComponent.java (paintChildrenWithOverlap):
21023 Use for and not while to prevent the endless loop.
21025 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
21027 * javax/swing/JList.java
21028 (paramString): Changed from public to protected.
21030 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21032 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21033 (printHelpAndExit): Re-factored to use the above method.
21035 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21037 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21038 Use -Xbootclasspath/p instead of -cp when invoking the main class.
21039 * tools/gnu/classpath/tools/jarsigner/Main.java:
21040 Changed license to GPL + Exception.
21041 (handler): New field.
21042 (getCallbackHandler): New method.
21043 (setupSigningParams): Use above method.
21044 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21045 Changed license to GPL + Exception.
21046 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21047 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21048 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21049 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21051 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21053 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21054 (handleConfirmation): Use print instead of println.
21055 (handleConfirmation): When case is YES_NO_OPTION, print default option
21057 (handleLanguage): Use print instead of println.
21059 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21061 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21062 (putComponent): Handle O and OU components.
21063 (getDer): Use correct (it2) iterator.
21064 (readAttributeValue): Read next character and break if end-of-stream.
21066 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21068 * gnu/java/security/provider/Gnu.java (run):
21069 Add "RSA" as an alias to MD5withRSA.
21070 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21071 Always encode a NULL as the value of an algorithm parameters field.
21072 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21073 (encodePrivateKey): Added trace/log statements.
21074 (decodePrivateKey): Likewise.
21075 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21076 (setup): Added trace/log statements.
21077 (generate): Likewise.
21078 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21079 (toString): New method.
21080 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21082 (toString): New method.
21083 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21084 (getEncoded): Use defaultFormat.
21085 (toString): New method.
21086 * gnu/java/security/key/dss/DSSKey.java (toString):
21087 Include defaultFormat in string.
21088 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21089 Break if successfully decoded public key.
21090 (engineGeneratePrivate): Break if successfully decoded private key.
21092 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21094 * java/security/Security.java <clinit>: Add our Callback provider.
21095 * resource/java/security/classpath.security: Likewise
21097 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21100 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21101 Decide about scroll bars from the preferred view size, not
21103 * javax/swing/ViewportLayout.java (layoutContainer):
21104 Do not change returned preferred size. Do not treat JScrollPane
21107 2006-04-28 Sven de Marothy <sven@physto.se>
21109 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21110 * javax/swing/ProgressMonitor.java (actionPerformed):
21111 Avoid divide-by-zero.
21113 2006-04-28 Sven de Marothy <sven@physto.se>
21115 * javax/swing/JSpinner.java: Fix default text justification.
21116 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21118 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21120 * javax/swing/JList.java
21121 (getMinSelectionIndex): Return correct value, added API docs,
21122 (getMaxSelectionIndex): Added API docs.
21124 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21126 * javax/swing/JList.java
21127 (JList(Object[])): Pass new model directly to init(),
21128 (JList(Vector)): Likewise,
21129 (JList(ListModel)): Renamed argument and updated API docs,
21130 (init): Throw IllegalArgumentException for null argument,
21131 (setListData(Object[])): Delegate model creation,
21132 (setListData(Vector)): Likewise,
21133 (createListModel(Object[])): New private method,
21134 (createListModel(Vector)): New private method,
21135 (paramString): Implemented.
21137 2006-04-28 Tom Tromey <tromey@redhat.com>
21139 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21141 (isSynthetic): Likewise.
21142 (isAnnotation): Likewise.
21143 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21144 (isAnnotation): Likewise.
21145 (isEnum): Likewise.
21147 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21149 * javax/swing/text/View.java:
21150 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21153 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21155 * javax/swing/text/View.java:
21156 (getNextVisualPositionFrom): Rewritten.
21157 * javax/swing/text/CompositeView.java:
21158 (getNextEastWestVisualPositionFrom): Partly implemented.
21159 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21161 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21163 * javax/swing/JList.java
21164 (setFixedCellHeight): Use correct property name for event.
21166 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21168 * javax/swing/text/Utilities.java:
21169 (getNextWord): Use codePointAt instead of charAt, added note, changed
21170 if-expression, added throwing of exception.
21171 (getPreviousWord): Use codePointAt instead of charAt.
21173 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21175 * java/lang/StringBuilder.java
21176 (ensureCapacity, getChars, append(StringBuffer),
21177 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21178 insert(int,String), insert(int,char), trimToSize): Replaced
21179 System.arraycopy calls with VMSystem.arraycopy.
21181 2006-04-27 Tom Tromey <tromey@redhat.com>
21183 * java/awt/image/renderable/RenderableImageProducer.java
21184 (requestTopDownLeftRightResend): Implemented.
21186 (startProduction): Add new consumer.
21188 2006-04-27 Sven de Marothy <sven@physto.se>
21190 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21192 2006-04-27 Roman Kennke <kennke@aicas.com>
21194 * java/awt/LightweightDispatcher.java
21195 Dispatch events only to targets that have a mouselistener
21196 attached. Changed to also handle null targets.
21198 2006-04-27 Roman Kennke <kennke@aicas.com>
21200 * NEWS: Added entries about accessibility support and L&F
21201 window decorations.
21203 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21205 * javax/swing/text/Utilities.java:
21206 (getTabbedTextOffset): Introduced width variable, rewritten the check
21207 which ends the loop.
21208 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21211 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21213 * examples/gnu/classpath/examples/swing/TreeDemo.java
21214 (createContent): Added root visibility and selection listener demos.
21215 * javax/swing/JTree.java (setRootVisible): If false, unselect
21216 the root node, if it is selected.
21217 * javax/swing/plaf/basic/BasicTreeUI.java
21218 (TreeTraverseAction.actionPerformed): Do not select the root if it
21220 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21221 removeSelectionPaths): Reset lead to null if the current lead path is
21222 removed from selection.
21223 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21224 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21225 Return the same path regardless is root visible or not. (update):
21226 Reduce the identation if the root is not visible.
21227 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21228 Return the same path regardless is root visible or not. (update):
21229 Reduce the identation if the root is not visible.
21231 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21233 * javax/swing/plaf/basic/BasicTreeUI.java
21234 (TreeAction.actionPerformed):Newly obtain the current lead
21235 path that must stay visible.
21236 (TreeTraverseAction.actionPerformed):Rewritten.
21237 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21238 Do not treat root specially. (setModel): Assume the root node
21239 initially expanded.
21240 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21241 Do not treat root specially. (setModel): Assume the root node
21242 initially expanded.
21244 2006-04-26 Chris Burdess <dog@gnu.org>
21247 * javax/xml/datatype/DatatypeFactory.java: Use complete
21248 implementation resolution mechanism.
21250 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21252 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21254 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21255 Removed NoImplementException form the implemented method.
21257 2006-04-26 Tom Tromey <tromey@redhat.com>
21259 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21262 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21264 * javax/swing/DefaultListSelectionModel.java
21265 (clone): Initialise empty listener list,
21266 (setSelectionMode): Throw IllegalArgumentException for bad input.
21268 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21270 * javax/swing/DefaultListSelectionModel.java
21271 (clearSelection): Clear the Bitset.
21273 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21275 * javax/swing/JTree.java (setLeadSelectionPath):
21276 Repaint the new and old lead pathes.
21277 * javax/swing/plaf/basic/BasicTreeUI.java
21278 (FocusHandler): Repaint the lead row when focus changes.
21279 (PropertyChangeHandler): Use existing constants, not the
21280 string literals for the property names.
21281 (TreeIncrementAction): Shrink the selection when moving
21282 from the selection edge to the selection anchor.
21283 (TreeSelectionHandler.valueChanged): Repaint the
21284 new and old lead pathes.
21285 (paintRow): Treat row as focused only if it is the lead row.
21286 * javax/swing/tree/DefaultTreeCellRenderer.java
21287 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21288 (paint): Rewritten.
21289 * javax/swing/tree/DefaultTreeSelectionModel.java
21290 (addSelectionPath): Event construction fix (old and new lead were
21292 (addSelectionPaths): Likewise.
21293 * javax/swing/JComponent.java (setOpaque): Explained.
21294 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21296 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21299 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21301 * examples/gnu/classpath/examples/swing/TreeDemo.java
21302 (createContent): Call DefaultTreeModel.reload(), not the
21303 tree.repaint(). Expand the parent of the added node.
21304 * javax/swing/JTree.java (constructor): Do not call
21305 UpdateUI (and documented why). (treeDidChange):
21306 Added comment, excluding the misinterpretation of this method.
21307 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21308 focusListener, keyListener, mouseListener, propertyListener,
21309 selectionModelPropertyChangeListener, treeModelListener,
21310 treeSelectionListener): Made package private.
21311 (PropertyChangeHandler): If the model changes, install the
21312 listener on it. (installUI): Assign treeModel.
21313 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21314 comment, excluding misinterpretation.
21315 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21316 (reload(TreeNode)): Implemented.
21318 2006-04-25 Tom Tromey <tromey@redhat.com>
21320 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21321 * javax/swing/tree/VariableHeightLayoutCache.java
21322 (getVisiblePathsFrom): Genericized.
21323 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21326 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21328 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21329 If clicked on the other row, cancel the current editing session.
21331 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21333 * javax/swing/plaf/basic/BasicTreeUI.java
21334 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21335 (paintExpandControl): Always paint in one gap distance from the left
21336 border of the path bounds.
21337 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21338 into consideration.
21339 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21342 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21344 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21346 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21348 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21349 Allow slashes (/) in the unquoted parameter value.
21351 2006-04-25 Roman Kennke <kennke@aicas.com>
21353 * gnu/java/awt/java2d/AbstractGraphics2D.java
21354 (drawString(String,int,int)): Implemented.
21355 (drawString(String,float,float)): Implemented.
21356 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21357 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21358 (getFontRenderContext): Implemented.
21359 (drawGlyphVector): Implemented.
21360 (getFont): Implemented.
21361 (setFont): Don't change font setting when null.
21362 (getFontMetrics): Implemented.
21363 (fillShape): Re-written to fill call rawFillShape() with a list
21364 of the edges instead of double arrays.
21365 (rawFillShape): Implemented using a polygon scanline conversion.
21366 (fillScanline): New helper method.
21367 (init): Initialize foreground black. Set font.
21368 * gnu/java/awt/java2d/PolyEdge.java: New file.
21369 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21371 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21373 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21375 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21377 * javax/swing/JTable.java: Fixed API doc tags,
21378 * javax/swing/text/AsyncBoxView.java: Likewise,
21379 * javax/swing/text/FlowView.java: Likewise.
21381 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21383 * javax/swing/table/DefaultTableColumnModel.java
21384 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21386 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21388 * javax/swing/table/DefaultTableColumnModel.java
21389 (DefaultTableColumnModel): Set selection model field and add 'this' as
21391 (addColumn): Add 'this' as a PropertyChangeListener,
21392 (removeColumn): Remove column before firing event, and remove 'this' as
21393 a PropertyChangeListener,
21394 (setSelectionModel): Remove 'this' as a listener from old model,
21395 (propertyChange): Check for 'width' property rather than
21396 TableColumn.COLUMN_WIDTH_PROPERTY.
21398 2006-04-24 Chris Burdess <dog@gnu.org>
21401 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21402 attributes when no doctype exists.
21404 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21406 * javax/swing/event/ChangeEvent.java: Updated API docs,
21407 * javax/swing/event/ChangeListener.java: Likewise,
21408 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21409 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21410 * javax/swing/table/TableColumnModel.java: Likewise.
21412 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21414 * javax/swing/text/Utilities.java:
21415 (getBreakLocation): Introduced shift variable, added notes.
21416 * javax/swing/text/WrappedPlainView.java:
21417 (calculateBreakPosition): Decrease allocation area bounds by insets,
21418 added early return when allocation area is empty, provide start offset
21420 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21421 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21422 numLines after loop.
21423 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21424 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21425 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21426 decreasing variable end by one, changed break condition in while-loop,
21427 added check for return value.
21428 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21429 allocation area is empty.
21431 2006-04-24 Sven de Marothy <sven@physto.se>
21433 * gnu/java/awt/java2d/Segment.java: New file.
21434 * gnu/java/awt/java2d/CubicSegment.java: New file.
21435 * gnu/java/awt/java2d/QuadSegment.java: New file.
21436 * gnu/java/awt/java2d/LineSegment.java: New file.
21437 * java/awt/BasicStroke.java
21438 (start): New field.
21440 (createStrokedShape): Implemented.
21441 (solidStroke): New method.
21442 (dashedStroke): New method.
21443 (capEnds): New method.
21444 (convertPath): New method.
21445 (addSegments): New method.
21446 (capEnd): New method.
21447 (lineIntersection): New method.
21448 (joinSegments): New method.
21450 2006-04-24 Roman Kennke <kennke@aicas.com>
21452 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21455 (clip): Changed clip to be in user space not in target space.
21456 (isOptimized): Added flag to allow optimized drawing for
21457 primitive operations (e.g. for Swing).
21458 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21459 with the paint context etc.
21460 (draw): Clip the shape before drawing it.
21461 (fill): Clip the shape before drawing it.
21462 (setComposite): Update isOptimized flag.
21463 (setPaint): Likewise.
21464 (setStroke): Likewise.
21465 (translate): Update the clip.
21466 (rotate): Likewise.
21469 (transform): Likewise.
21470 (setTransform): Likewise.
21471 (clip): Added optimization for rectangle clips.
21472 (create): Implemented.
21473 (clone): New method.
21474 (setFont): Basic implementation.
21475 (setClip): Update opimization flag.
21476 (drawLine): Added possible optimization.
21477 (fillRect): Added possible optimization.
21478 (fillShape): Implemented shape-filling by filling the flattended
21479 shape using polygon fill.
21480 (drawPixel): Added basic painting.
21481 (rawSetPixel): Changed signature to only take coordinates.
21482 (rawSetForeground): New abstract method.
21483 (getUserBounds): Implemented default for this method.
21484 (rawDrawLine): New method.
21485 (rawFillRect): New method.
21486 (rawFillPolygon): New method.
21487 (init): New method.
21488 (updateOptimization): New method.
21489 (computeIntersection): New method.
21490 (updateClip): New method.
21491 (clipShape): New method.
21493 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21495 * java/lang/Package.java: Added compatibility constructor to ease
21496 VM interface migration.
21498 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21500 * java/lang/Class.java (getEnumConstants): Implemented without
21501 delegating to VMClass.
21502 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21504 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21506 * java/lang/ClassLoader.java (definePackage): Added argument to
21507 Package constructor.
21508 * java/lang/Package.java (Package): Added ClassLoader argument.
21509 (loader): New field.
21510 (getDeclaredAnnotations): Implemented without help from VMPackage.
21511 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21512 to Package constructor.
21513 * vm/reference/java/lang/VMPackage.java: Removed.
21515 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21517 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21518 (createContent): Added check box to swith between single and
21519 multiple selection.
21520 * javax/swing/JTree.java (leadSelectionPath): Removed.
21521 (addSelectionInterval): Explained. (getLeadSelectionPath):
21522 Request the path from model. (getPathsBetweenRows): Explained.
21523 (setLeadSelectionPath): Set the path in model.
21524 * javax/swing/plaf/basic/BasicTreeUI.java
21525 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21526 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21527 (MouseHandler.mousePressed): Call selectPathForEvent.
21529 2006-04-23 Roman Kennke <kennke@aicas.com>
21531 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21533 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21536 Mention changes to VMProcess and VMSystem.
21537 * doc/vmintegration.texinfo:
21538 Change documentation on VMProcess and VMSystem.
21539 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21540 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21541 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21542 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21543 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21544 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21545 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21546 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21547 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21548 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21549 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21550 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21551 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21552 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21553 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21554 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21555 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21556 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21557 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21558 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21559 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21560 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21561 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21562 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21563 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21564 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21565 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21566 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21567 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21568 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21569 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21570 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21571 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21572 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21573 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21574 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21575 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21576 * include/gnu_java_awt_peer_qt_QMatrix.h,
21577 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21578 * include/gnu_java_awt_peer_qt_QPen.h,
21579 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21580 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21581 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21582 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21583 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21584 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21585 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21586 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21587 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21588 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21589 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21590 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21591 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21592 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21593 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21594 * include/gnu_java_awt_peer_qt_QtImage.h,
21595 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21596 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21597 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21598 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21599 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21600 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21601 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21602 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21603 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21604 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21605 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21606 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21607 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21608 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21609 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21610 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21611 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21612 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21613 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21614 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21615 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21616 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21617 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21618 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21619 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21620 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21621 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21622 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21623 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21624 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21625 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21626 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21627 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21628 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21629 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21630 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21631 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21632 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21633 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21634 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21635 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21636 * include/java_lang_VMProcess.h,
21637 * include/java_lang_VMSystem.h:
21638 Regenerated with GCJ 4.1.
21640 2006-04-22 Casey Marshall <csm@gnu.org>
21642 Fixes PR classpath/27228.
21643 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21644 (initialize): also accept `DHParameterSpec.'
21645 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21646 handle a passed-in `DHParameterSpec' properly.
21647 (generate): don't check if the random exponent is less than `q -
21648 1' if no `q' was specified.
21650 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21652 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21653 Only repaint the patches, speficied in the passed event.
21654 (expandPath): Do nothing if the path is already expanded.
21655 (scrollPathToVisible): Only scroll to visible, do nothing else.
21656 * javax/swing/plaf/basic/BasicTreeUI.java
21657 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21658 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21659 (TreeTraverseAction.actionPerformed): Collapse the node on the
21660 action "selectParent". (selectPath): Rewritten.
21661 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21662 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21663 Do not reuse selection array.
21664 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21666 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21669 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21671 * javax/swing/tree/DefaultTreeSelectionModel.java
21672 (addSelectionPath): If the path cannot be added, set it.
21673 (addSelectionPaths): Call insureRowContinuity.
21674 (arePathsContiguous): Implemented.
21675 (canPathBeAdded): New private method.
21676 (canPathsBeAdded): Implemented.
21677 (canPathsBeRemoved): Implemented.
21678 (getPath): New private method.
21679 (insureRowContinuity): Implemented.
21680 (removeSelectionPath): Call insureRowContinuity.
21681 (removeSelectionPaths): Call insureRowContinuity.
21682 (resetRowSelection): Removed stub marking, not used in implementation
21683 (nothing to do there).
21684 (selectOne): New private method.
21685 (setSelectionMode) Call insureRowContinuity.
21686 (setSelectionPaths) Remove the current selection by clearing it.
21688 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21690 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21691 parameters consistendly, documented some methods.
21692 * java/sql/Blob.java: Likewise.
21693 * java/sql/CallableStatement.java: Likewise.
21694 * java/sql/Clob.java: Likewise.
21695 * java/sql/Connection.java: Likewise.
21696 * java/sql/DatabaseMetaData.java: Likewise.
21697 * java/sql/Date.java: Likewise.
21698 * java/sql/Driver.java: Likewise.
21699 * java/sql/PreparedStatement.java: Likewise.
21700 * java/sql/ResultSet.java: Likewise.
21701 * java/sql/ResultSetMetaData.java: Likewise.
21702 * java/sql/SQLData.java: Likewise.
21703 * java/sql/SQLOutput.java: Likewise.
21704 * java/sql/SQLWarning.java: Likewise.
21705 * java/sql/Statement.java: Likewise.
21706 * java/sql/Time.java: Likewise.
21707 * java/sql/Timestamp.java: Likewise.
21709 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21711 * java/lang/reflect/AccessibleObject.java:
21712 Implemented AnnotatedElement.
21713 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21714 isAnnotationPresent): New methods.
21716 2006-04-21 Tom Tromey <tromey@redhat.com>
21718 PR classpath/27163:
21719 * gnu/java/net/protocol/ftp/FTPConnection.java
21720 (changeWorkingDirectory): Do nothing if path is empty.
21722 2006-04-21 Tom Tromey <tromey@redhat.com>
21725 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21726 case where no '/' appears in 'location'.
21728 2006-04-21 Tom Tromey <tromey@redhat.com>
21730 * java/security/Security.java (<clinit>): Add all default providers.
21731 * resource/java/security/classpath.security: Added comment.
21733 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21735 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21736 * javax/swing/SpinnerNumberModel.java: Likewise.
21738 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21740 * javax/swing/SpinnerDateModel.java
21741 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21742 checking to call compareTo() on start and end.
21744 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21746 * javax/swing/border/AbstractBorder.java: API doc updates,
21747 * javax/swing/border/BevelBorder.java: Likewise,
21748 * javax/swing/border/CompoundBorder.java: Likewise,
21749 * javax/swing/border/EtchedBorder.java: Likewise,
21750 * javax/swing/border/LineBorder.java: Likewise,
21751 * javax/swing/border/MatteBorder.java: Likewise,
21752 * javax/swing/border/TitledBorder.java: Likewise.
21754 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21756 * gnu/javax/crypto/cipher/Anubis.java:
21757 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21759 * gnu/javax/crypto/cipher/Blowfish.java:
21760 (selfTest): Likewise,
21761 * gnu/javax/crypto/cipher/Cast5.java:
21762 (selfTest): Likewise,
21763 * gnu/javax/crypto/cipher/Khazad.java:
21764 (selfTest): Likewise,
21765 * gnu/javax/crypto/cipher/Rijndael.java:
21766 (selfTest): Likewise,
21767 * gnu/javax/crypto/cipher/Serpent.java:
21768 (selfTest): Likewise,
21769 * gnu/javax/crypto/cipher/Square.java:
21770 (selfTest): Likewise,
21771 * gnu/javax/crypto/cipher/Twofish.java:
21772 (selfTest): Likewise,
21773 * gnu/javax/crypto/mac/UMac32.java:
21774 (selfTest): Likewise,
21775 * gnu/javax/crypto/prng/CSPRNG.java:
21776 (getSystemInstance): Likewise.
21778 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21780 * gnu/java/security/hash/Haval.java:
21781 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
21783 * gnu/java/security/hash/MD2.java:
21784 (selfTest): Likewise,
21785 * gnu/java/security/hash/MD4.java:
21786 (selfTest): Likewise,
21787 * gnu/java/security/hash/MD5.java:
21788 (selfTest): Likewise,
21789 * gnu/java/security/hash/RipeMD128.java:
21790 (selfTest): Likewise,
21791 * gnu/java/security/hash/RipeMD160.java:
21792 (selfTest): Likewise,
21793 * gnu/java/security/hash/Sha160.java:
21794 (selfTest): Likewise,
21795 * gnu/java/security/hash/Sha256.java:
21796 (selfTest): Likewise,
21797 * gnu/java/security/hash/Sha384.java:
21798 (selfTest): Likewise,
21799 * gnu/java/security/hash/Sha512.java:
21800 (selfTest): Likewise,
21801 * gnu/java/security/hash/Tiger.java:
21802 (selfTest): Likewise,
21803 * gnu/java/security/hash/Whirlpool.java:
21804 (selfTest): Likewise.
21806 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21808 * javax/swing/plaf/basic/BasicTreeUI.java
21809 (PropertyChangeHandler.propertyChange): Set the row mapper
21810 for the selection model.
21811 * javax/swing/tree/AbstractLayoutCache.java
21812 (NodeDimensions.getNodeDimensions): Explained.
21813 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21814 Implemented. (setRowHeight): Invalidate sizes.
21815 * javax/swing/tree/DefaultTreeSelectionModel.java
21816 (addSelectionPath, addSelectionPaths): Update lead row.
21817 (removeSelectionPath, removeSelectionPaths): Do nothing if
21818 selection is empty.
21819 (clone): Only clone list selection model if it is not null.
21820 (getRow): New method. (isRowSelected, getLeadSelectionRow,
21821 setSelectionPath, setSelectionPaths, toString): Implemented.
21822 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21823 Pass the empty rectangle. (isFixedRowHeight): New method.
21824 * javax/swing/tree/VariableHeightLayoutCache.java
21825 (NodeRecord.getBounds): Pass the empty rectangle.
21827 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21829 * gnu/java/security/Properties.java
21830 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21832 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21834 * gnu/classpath/jdwp/util/Value.java
21835 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
21836 creating new Boolean instances.
21838 2006-04-20 Mark Wielaard <mark@klomp.org>
21840 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21841 PrivilegedAction. Access awt.toolkit through SystemProperties.
21843 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21845 * javax/swing/ActionMap.java: Removed unused imports,
21846 * javax/swing/DefaultListSelectionModel.java
21847 (clearSelection): Removed unused label,
21848 * javax/swing/JScrollPane.java: Removed unused imports,
21849 * javax/swing/UIManager.java: Likewise,
21850 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21852 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21854 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21855 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21856 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21857 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21858 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21860 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21862 * java/sql/Array.java: Fixed Eclipse API doc warnings,
21863 * java/sql/Blob.java: Likewise,
21864 * java/sql/CallableStatement.java: Likewise,
21865 * java/sql/Clob.java: Likewise,
21866 * java/sql/Connection.java: Likewise,
21867 * java/sql/DatabaseMetaData.java: Likewise,
21868 * java/sql/Date.java: Likewise,
21869 * java/sql/Driver.java: Likewise,
21870 * java/sql/PreparedStatement.java: Likewise,
21871 * java/sql/ResultSet.java: Likewise,
21872 * java/sql/ResultSetMetaData.java: Likewise,
21873 * java/sql/SQLData.java: Likewise,
21874 * java/sql/SQLOutput.java: Likewise,
21875 * java/sql/SQLWarning.java: Likewise,
21876 * java/sql/Statement.java: Likewise,
21877 * java/sql/Time.java: Likewise,
21878 * java/sql/Timestamp.java: Likewise.
21880 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21882 * java/sql/DriverManager.java
21883 (setLoginTimeout): Use incoming argument,
21884 (setLogStream): Likewise,
21885 (println): Fix API doc comment.
21887 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21889 * javax/swing/JMenuItem.java
21890 (paramString): Updated API docs,
21891 (getAccessibleContext): Added API docs,
21892 (AccessibleJMenuItem.stateChanged): Marked as stub,
21893 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21894 * javax/swing/JSlider.java
21895 (paramString): Fix for API docs,
21896 * javax/swing/JToolTip.java
21897 (getAccessibleContext): Fix for API docs.
21899 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21901 * javax/swing/JRadioButtonMenuItem.java
21902 (paramString): Reimplemented,
21903 (getAccessibleContext): API docs added,
21904 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
21906 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21908 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21910 * javax/swing/plaf/basic/BasicTreeUI.java
21911 (finish): Invalidate path bounds.
21912 (getMaxHeight): Set the row height to the layout cache.
21913 (startEditing): Do not request to recalculated
21914 row height and preferred size.
21915 * javax/swing/tree/DefaultTreeCellEditor.java
21916 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21918 * javax/swing/tree/FixedHeightLayoutCache.java:
21921 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21923 * javax/swing/JDesktopPane.java
21924 (paramString): Reimplemented,
21925 plus API doc updates in AccessibleJDesktopPane.
21927 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21929 * javax/swing/ImageIcon.java:
21930 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21931 (AccessibleImageIcon.getLocale): Declared exception and always return
21933 (getAccessibleContext): Updated API docs,
21934 plus updated API docs all over AccessibleImageIcon.
21936 2006-04-20 Roman Kennke <kennke@aicas.com>
21939 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21940 (paintText): Fetch the ascent only once. Add the ascent to
21941 the text rect also when tabs are disabled.
21943 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
21945 * java/util/Locale.java (defaultLocale): Set to en_US per
21946 default and use user.country but prioritize user.region if
21948 (getLocale(String language, String country)): Renamed region to
21950 (getLocale(String language, String region, String variant)):
21952 (getAvailableLocales): Likewise.
21954 2006-04-20 Roman Kennke <kennke@aicas.com>
21957 * javax/swing/JList.java
21958 (JList()): Call init() with DefaultListModel instance.
21959 (JList(Object[])): Call init() with null.
21960 (JList(Vector)): Call init() with null.
21961 (JList(ListModel)): Call init() with model.
21962 (init): Changed to take the model as argument. Don't call
21963 setter methods and initialize stuff directly instead.
21964 (getCellBounds): Check if UI is null.
21966 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
21968 * javax/swing/text/WrappedPlainView.java: Initialize
21969 WrappedLine.numLines with -1.
21970 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21971 numLines is -1 and reculcalate the value appropriately.
21972 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21973 allocation area is empty.
21975 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21977 * javax/swing/JTabbedPane.java
21978 (AccessibleJTabbedPane.stateChanged): Marked as stub,
21979 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21980 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21981 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21982 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21983 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21984 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21985 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21986 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21987 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21988 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21989 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21990 (Page.getAccessibleStateSet): Likewise,
21991 (Page.getAccessibleIndexInParent): Likewise.
21993 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21995 * javax/swing/JProgressBar.java
21996 (paramString): Reimplemented.
21998 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22000 * javax/swing/JButton.java: Updated API docs all over.
22002 2006-04-19 Roman Kennke <kennke@aicas.com>
22004 * java/awt/Toolkit.java
22005 (getDefaultToolkit): Use system classloader to load the
22008 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
22010 * javax/swing/text/DefaultCaret.java:
22011 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22012 instead of DefaultCaret.setDot.
22014 2006-04-19 Roman Kennke <kennke@aicas.com>
22016 * native/jni/java-net/local.c
22017 (local_read): Handle EINTR correctly.
22018 (local_write): Likewise.
22020 2006-04-19 Riccardo Mottola <multix@gmail.com>
22022 PR classpath/27062, PR classpath/25650:
22023 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22025 2006-04-19 Tom Tromey <tromey@redhat.com>
22027 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22028 value of 'pureMinutes'. PR classpath/27189.
22030 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
22032 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22033 boot packages list from the META-INF/INDEX.LIST file if it exists.
22035 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
22037 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22038 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22039 (ITERATION_COUNT): Removed modifiers.
22040 (PASSWORD): Likewise.
22042 (PASSWORD_ENCODING): New property.
22043 (DEFAULT_PASSWORD_ENCODING): New constant.
22044 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22045 material (bytes) before a password (chars).
22047 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22049 * javax/swing/JMenu.java
22050 (getAccessibleChildrenCount): Marked as stub,
22051 (getAccessibleChild): Likewise,
22052 (getAccessibleSelection): Likewise,
22053 (getAccessibleSelection(int)): Likewise,
22054 (isAccessibleChildSelected): Likewise,
22055 (getAccessibleSelectionCount): Likewise,
22056 (addAccessibleSelection): Likewise,
22057 (removeAccessibleSelection): Likewise,
22058 (clearAccessibleSelection): Likewise,
22059 (selectAllAccessibleSelection): Likewise.
22061 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
22063 * javax/swing/JSplitPane.java
22064 (getAccessibleContext): Added API docs,
22065 (paramString): Reimplemented,
22066 (setOrientation): Updated API docs,
22067 (setResizeWeight): Added argument checking and event notification.
22069 2006-04-18 Casey Marshall <csm@gnu.org>
22071 Fixes PR classpath/25673
22072 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22073 property is set. Update JavaDoc to reflect this.
22075 2006-04-18 Lillian Angel <langel@redhat.com>
22077 * gnu/xml/dom/DomDocument.java
22078 (setCheckingCharacters): New function used to set
22079 checkingCharacters flag.
22080 * gnu/xml/dom/html2/DomHTMLParser.java
22081 (parseDocument): Added call to set checkingCharacters flag
22084 2006-04-18 Lillian Angel <langel@redhat.com>
22086 * gnu/xml/dom/DomDocument.java
22087 (checkNCName): Reverted last patch. Added check for colon at
22088 last position back in.
22090 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22092 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22094 * examples/gnu/classpath/examples/swing/Demo.java:
22095 (mkMenuBar): Added NavigationFilter demo.
22097 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22099 * javax/swing/JSeparator.java: Updated API docs all over, plus
22100 (setOrientation): Fire PropertyChangeEvent,
22101 (paramString): Reimplemented.
22103 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22105 * javax/swing/plaf/basic/BasicTextUI.java:
22106 (getNextVisualPositionFrom): Implemented.
22108 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22110 * javax/swing/JPanel.java: Updated API docs all over, plus
22111 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22112 double-buffer flag.
22114 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22116 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22118 * examples/gnu/classpath/examples/swing/Demo.java:
22119 (mkMenuBar): Added DocumenFilter demo.
22121 2006-04-18 Tom Tromey <tromey@redhat.com>
22123 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22125 2006-04-18 Mark Wielaard <mark@klomp.org>
22127 Reported by John Sullivan (johns@fsf.org)
22128 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22130 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22132 * javax/swing/JInternalFrame.java
22133 (JDesktopIcon.getAccessibleContext): Added API docs,
22134 (getDefaultCloseOperation): Likewise,
22135 (paramString): Added 'title' attribute,
22136 (setDefaultCloseOperation): Added API docs.
22138 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22140 * javax/swing/JSlider.java
22141 (paramString): Reimplemented.
22143 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22145 * javax/swing/JComboBox.java
22146 (paramString): Reimplemented,
22147 (getAccessibleContext): Added API docs,
22148 (AccessibleJComboBox.getAccessibleRole): Likewise.
22150 2006-04-18 Roman Kennke <kennke@aicas.com>
22152 * javax/swing/RepaintManager.java
22153 (dirtyComponentsWork): New field.
22154 (ComponentComparator): Use dirtyComponentsWork instead of
22156 (RepaintManager): Initialize new field.
22157 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22158 and work on the copy.
22160 2006-04-18 Roman Kennke <kennke@aicas.com>
22162 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22163 (setBounds): Call reshape().
22164 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22165 (SwingContainerPeer): Changed argument to be a Component
22166 instead a Container.
22167 (getInsets): Call insets().
22168 (handleMouseEvent): Added null check to avoid NPE.
22169 (handleMouseMotionEvent): Added null check to avoid NPE.
22171 2006-04-18 Roman Kennke <kennke@aicas.com>
22174 * javax/swing/JComponent.java
22175 (paintChildrenWithOverlap): When one child is not opaque, propagate
22176 the dirty rectangles to the next child.
22177 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22178 This actually didn't work right and probably gained nothing.
22180 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22182 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22183 (moveToCellBeingEdited): Do not clone the rectangle here.
22185 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22187 * javax/swing/plaf/basic/BasicSliderUI.java
22188 (getActionMap): Fixed lookup key,
22189 (createActionMap): Modified actions to fetch slider/ui from the event
22192 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22194 * java/lang/Enum.java: Documented.
22196 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22198 * gnu/java/lang/InstrumentationImpl.java:
22199 Moved from java.lang.
22200 * java/lang/InstrumentationImpl.java:
22202 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22203 Moved from java.lang.
22204 * vm/reference/java/lang/VMClassLoader.java:
22205 Corrected reference to InstrumentationImpl.
22206 * vm/reference/java/lang/VMInstrumentationImpl.java:
22209 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22211 * java/lang/annotation/Annotation.java:
22214 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22216 * javax/swing/JToolBar.java
22217 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22218 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22219 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22220 (getAccessibleContext): Likewise.
22222 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22225 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22227 * native/fdlibm/Makefile.am,
22228 native/jni/classpath/Makefile.am:
22229 Don't use -module and -version-info for convenience libraries LDFLAGS.
22230 Fixes libtool warnings.
22232 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22234 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22235 (installKeyboardActions): Marked as stub,
22236 (uninstallKeyboardActions): Likewise,
22237 * javax/swing/plaf/basic/BasicComboPopup.java:
22238 (installKeyboardActions): Marked as stub,
22239 (uninstallKeyboardActions): Likewise,
22240 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22241 (installKeyboardActions): Marked as stub,
22242 (uninstallKeyboardActions): Likewise,
22243 * javax/swing/plaf/basic/BasicLabelUI.java:
22244 (installKeyboardActions): Marked as stub,
22245 (uninstallKeyboardActions): Likewise,
22246 * javax/swing/plaf/basic/BasicListUI.java:
22247 (installKeyboardActions): Marked as stub,
22248 (uninstallKeyboardActions): Likewise,
22249 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22250 (installKeyboardActions): Marked as stub,
22251 (uninstallKeyboardActions): Likewise,
22252 * javax/swing/plaf/basic/BasicMenuUI.java:
22253 (installKeyboardActions): Marked as stub,
22254 (uninstallKeyboardActions): Likewise,
22255 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22256 (installKeyboardActions): Marked as stub,
22257 (uninstallKeyboardActions): Likewise,
22258 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22259 (installKeyboardActions): Marked as stub,
22260 (uninstallKeyboardActions): Likewise,
22261 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22262 (installKeyboardActions): Marked as stub,
22263 (uninstallKeyboardActions): Likewise,
22264 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22265 (installKeyboardActions): Marked as stub,
22266 (uninstallKeyboardActions): Likewise,
22267 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22268 (installKeyboardActions): Marked as stub,
22269 (uninstallKeyboardActions): Likewise,
22270 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22271 (installKeyboardActions): Marked as stub,
22272 (uninstallKeyboardActions): Likewise,
22273 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22274 (installKeyboardActions): Marked as stub,
22275 (uninstallKeyboardActions): Likewise,
22276 * javax/swing/plaf/basic/BasicTableUI.java:
22277 (installKeyboardActions): Marked as stub,
22278 (uninstallKeyboardActions): Likewise,
22279 * javax/swing/plaf/basic/BasicTextUI.java:
22280 (installKeyboardActions): Marked as stub,
22281 (uninstallKeyboardActions): Likewise,
22282 * javax/swing/plaf/basic/BasicToolBarUI.java:
22283 (installKeyboardActions): Marked as stub,
22284 (uninstallKeyboardActions): Likewise.
22286 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22288 * javax/swing/plaf/basic/BasicSliderUI.java
22289 (installKeyboardActions): Implemented,
22290 (uninstallKeyboardActions): Implemented,
22291 (scrollByBlock): Accept any value for direction,
22292 (scrollByUnit): Likewise,
22293 (getInputMap): New method,
22294 (getActionMap): New method,
22295 (createActionMap): New method.
22298 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22300 * doc/vmintegration.texinfo:
22303 2006-04-16 Tom Tromey <tromey@redhat.com>
22305 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22307 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22310 Mention generics additions to the VM interface.
22311 * doc/vmintegration.texinfo:
22312 Added information on VMClass 1.5 additions and
22315 2006-04-16 Casey Marshall <csm@gnu.org>
22317 * NEWS: add an entry mentioning local socket support.
22319 2006-04-16 Casey Marshall <csm@gnu.org>
22321 * configure.ac (--enable-local-sockets): new enable argument.
22322 (ENABLE_LOCAL_SOCKETS): new define.
22323 * native/jni/java-net/Makefile.am (local_sources): new variable.
22324 (lib_javanet_la_SOURCES): append `local_sources.'
22325 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22326 * native/jni/java-net/local.c,
22327 * native/jni/java-net/local.h,
22328 * include/gnu_java_net_local_LocalSocketImpl.h,
22329 * gnu/java/net/local/LocalServerSocket.java,
22330 * gnu/java/net/local/LocalSocket.java,
22331 * gnu/java/net/local/LocalSocketAddress.java,
22332 * gnu/java/net/local/LocalSocketImpl.java: new files.
22334 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22336 * javax/accessibility/AccessibleAction.java:
22337 (DECREMENT): Added field.
22338 (INCREMENT): Likewise.
22339 (TOGGLE_EXPAND): Likewise.
22340 * javax/accessibility/AccessibleRole.java:
22341 (EDITBAR): Added field.
22342 (FOOTER): Likewise.
22343 (HEADER): Likewise.
22344 (PARAGRAPH): Likewise.
22345 (PROGRESS_MONITOR): Likewise.
22347 * javax/accessibility/AccessibleState.java:
22348 (INDETERMINATE): Added field.
22349 (MANAGES_DESCENDANTS): Likewise.
22350 (TRUNCATED): Likewise.
22352 2006-04-14 Tom Tromey <tromey@redhat.com>
22354 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22356 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22359 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22361 * javax/swing/text/DefaultCaret.java:
22362 (getBypass): New method.
22363 (moveDot): Rewritten.
22364 (moveDotImpl): New method.
22365 (setDot): Rewritten.
22366 (setDotImpl): New method.
22367 (DefaultCaret.Bypass): New class.
22369 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22371 * javax/swing/text/AbstractDocument.java:
22372 (getBypass): New method.
22373 (insertString): Rewritten.
22374 (remove): Rewritten.
22375 (replace): Rewritten.
22376 (insertStringImpl): New method.
22377 (removeImpl): New method.
22378 (replaceImpl): New method.
22379 (AbstractDocument.Bypass): New class.
22381 2006-04-14 Casey Marshall <csm@gnu.org>
22383 Fixes PR classpath/24642
22384 * NEWS: add note about SecureRandom changes, and addition of
22386 * java/security/SecureRandom.java (isSeeded): new field.
22387 (setSeed, setSeed): set `isSeeded' to `true.'
22388 (nextBytes): seed this instance if `isSeeded' is false.
22389 (getSeed): call `generateSeed.'
22390 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22391 (generateSeed, generateSeed): new methods.
22392 * vm/reference/java/security/VMSecureRandom.java: new file.
22394 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22396 * javax/swing/text/FieldView.java:
22397 (paint): Apply clipping rectangle of the allocation area
22398 before painting the text.
22399 * javax/swing/text/DefaultHighlighter.java:
22400 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22401 compute union and intersection, calculate intersection with allocation
22402 area before painting, adjust x and width when painting multiple lines
22403 by the range of the allocation area.
22405 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22407 * javax/swing/text/DefaultHighlighter.java:
22408 (paintLayeredHighlights): Marked as stub.
22410 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22412 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22413 (propertyChanged): Added note, change color only if current background
22414 is a ColorUIResource instance.
22416 2006-04-14 Tom Tromey <tromey@redhat.com>
22418 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22422 2006-04-14 Tom Tromey <tromey@redhat.com>
22424 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22426 2006-04-14 Mark Wielaard <mark@klomp.org>
22428 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22429 thread group when exceptionHandler isn't set.
22430 * vm/reference/java/lang/VMThread.java (run): Use result of
22431 thread.getUncaughtExceptionHandler directly.
22433 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22435 * javax/swing/JSplitPane.java
22436 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22437 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22438 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22439 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22440 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22441 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22442 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22444 2006-04-10 Tom Tromey <tromey@redhat.com>
22446 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22447 Fixed parameter bounds.
22449 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22451 * gnu/javax/crypto/assembly/Assembly.java,
22452 * gnu/javax/crypto/assembly/Cascade.java,
22453 * gnu/javax/crypto/assembly/CascadeStage.java,
22454 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22455 * gnu/javax/crypto/assembly/Direction.java,
22456 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22457 * gnu/javax/crypto/assembly/ModeStage.java,
22458 * gnu/javax/crypto/assembly/Operation.java,
22459 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22460 * gnu/javax/crypto/assembly/Stage.java,
22461 * gnu/javax/crypto/assembly/Transformer.java,
22462 * gnu/javax/crypto/cipher/Square.java,
22463 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22464 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22465 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22466 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22467 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22468 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22469 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22470 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22471 * gnu/javax/crypto/jce/cipher/PBES2.java,
22472 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22473 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22474 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22475 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22476 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22477 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22478 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22479 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22480 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22481 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22482 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22483 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22484 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22485 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22486 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22487 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22488 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22489 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22490 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22491 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22492 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22493 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22494 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22495 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22496 * gnu/javax/crypto/pad/WrongPaddingException.java,
22497 * gnu/javax/crypto/prng/ICMGenerator.java,
22498 * gnu/javax/crypto/prng/IPBE.java,
22499 * gnu/javax/crypto/prng/PBKDF2.java,
22500 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22501 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22502 * gnu/javax/crypto/sasl/srp/IALG.java,
22503 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22504 Remove CVS revision tags.
22506 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22508 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22509 Removed debugging code.
22511 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22513 * javax/swing/JTree.java (getPreferredSize): Return the
22515 * javax/swing/ViewportLayout.java (layoutContainer):
22516 Do not manage the view size and location if the view is
22517 in the scroll pane. Also manage size and location for
22518 Scrollable, if it is not in the scroll pane.
22519 * javax/swing/plaf/basic/BasicTreeUI.java,
22520 * javax/swing/tree/FixedHeightLayoutCache.java,
22521 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22522 * gnu/javax/swing/tree/GnuPath.java: New file.
22524 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22526 * javax/swing/JToolBar.java
22527 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22529 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22531 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22532 (createCustomColoredPanel): Set background color as demo intends,
22533 changed custom selection color to red.
22534 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22535 Replaced various single variables with a Compound instance, added
22536 custom highlighter demo.
22537 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22539 (TextFieldDemo.Compound): New class.
22540 (createTextFieldCompound): New method.
22541 (createLeftAlignedPanel): Rewritten.
22542 (createRightAlignedPanel): Rewritten.
22543 (createCenteredPanel): Rewritten.
22544 (createCustomColoredPanel): Removed.
22545 (createCustomColoredPanel1): New method.
22546 (createCustomColoredPanel2): New method.
22547 (createCustomBordersPanel): New method.
22548 (createMiscPanel): Rewritten.
22549 (actionPerformed): Rewritten.
22550 (createContent): Add panels of new compounds to main panel, put
22551 main panel in a JScrollPane.
22552 * examples/gnu/classpath/examples/swing/Demo.java:
22553 (Demo): Put desktop in a scrollpane.
22554 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22555 method via reflection.
22557 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22559 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22560 (createUI): Return new instance rather than shared instance.
22562 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22564 * javax/swing/text/FieldView.java:
22565 (checkContainer): Call updateVisibility() at the end.
22567 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22569 * java/awt/event/MouseEvent.java:
22570 (paramString): Add value of 'consumed' variable in string.
22572 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22575 * javax/swing/JTextField.java: Removed scrollOffset variable.
22576 (JTextField): Moved up initialization of horizontalVisibility field.
22577 (getScrollOffset): Implemented.
22578 (setScrollOffset): Implemented.
22579 (getHorizonztalVisibility): Removed note.
22580 (scrollRectToVisible): New method.
22581 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22582 (checkContainer): New method.
22583 (updateVisibility): New method.
22584 (calculateHorizontalSpan): New method.
22585 (adjustAllocation): Removed unneeded local variables, added code
22586 to handle scrolling.
22587 (getPreferredSpan): Use new method calculateHorizontalSpan,
22588 avoid calculation by returning cached value cachedSpan.
22589 (paint): Added check whether the hosted component is a JTextField.
22590 (insertUpdate): Invalidate cached span value, update visibility
22592 (removeUpdate): Dito.
22593 (changeUpdate): Dito.
22595 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22597 * javax/swing/JInternalFrame.java
22598 (setTitle): Set old value to 'this.title', not 'title'.
22600 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22602 * javax/swing/JInternalFrame.java
22603 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22604 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22605 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22606 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22607 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22608 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22609 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22610 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22611 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22612 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22614 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22616 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22618 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22620 (JInternalFrame()): Use "" for default title,
22621 (getAccessibleContext): Updated API docs,
22622 (getDesktopIcon): Likewise,
22623 (getLayer): Check for layer in client properties, and return
22624 DEFAULT_LAYER if no setting is found,
22625 (getTitle): Updated API docs,
22626 (setDesktopIcon): Fire property change event.
22628 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22630 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22631 Mind that the presence of one scroll bar may cause the
22634 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22636 * gnu/regexp/REToken.java(unicodeAware): New field,
22637 (toLowerCase, toUpperCase): New methods.
22638 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22639 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22640 Use toLowerCase and toUpperCase defined in REToken instead of
22641 those defined in java.lang.Character.
22642 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22643 (initialize): Sets unicodeAware of the generated REToken to false if
22644 REG_ICASE_USASCII is set.
22645 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22646 to lower case and keep the original value.
22647 (matchOneString): Use the new method charEquals to compare characters.
22648 (charEquals): New method to compare characters.
22649 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22651 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22653 * javax/swing/event/InternalFrameEvent.java:
22654 (paramString): Implemented,
22655 updated API docs all over.
22657 2006-04-12 Casey Marshall <csm@gnu.org>
22659 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22660 (Generator.setup): call `fillBlock.'
22662 2006-04-12 Casey Marshall <csm@gnu.org>
22664 Fixes PR classpath/24481.
22665 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22666 initialize the adaptee.
22667 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22668 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22669 addRandomBytes): new methods.
22671 2006-04-12 Tom Tromey <tromey@redhat.com>
22673 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22676 2006-04-12 Lillian Angel <langel@redhat.com>
22678 * gnu/xml/dom/DomDocument.java
22679 (checkNCName): Removed unneeded part of check.
22680 * gnu/xml/dom/DomNode.java
22681 (dispatchEvent): Added code to grow ancestors array
22682 if needed. Changed checks to use depth of node instead.
22683 Fixes an infinite loop and segmentation fault.
22684 * gnu/xml/dom/html2/DomHTMLParser.java
22685 (handleEndTag): No need to use/make a copy of the node.
22686 Causes an infinite loop.
22688 2006-04-12 Tom Tromey <tromey@redhat.com>
22690 PR classpath/27131:
22691 * java/util/BitSet.java (get): Early return if to==from.
22693 2006-04-12 Mark Wielaard <mark@klomp.org>
22695 * java/security/SecureRandom.java (algorithm): New private field.
22696 (SecureRandom): Initialize algorithm.
22697 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22699 (getInstance): Call 3 argument constructor.
22700 (getAlgorithm): New method.
22702 2006-04-12 Mark Wielaard <mark@klomp.org>
22704 Port UncaughtExceptionHandler support from generics branch.
22705 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22707 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22709 * java/lang/Thread.java:
22710 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22711 Added docs and security check.
22712 (getUncaughtExceptionHandler()): Documented.
22713 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22714 Added docs and security check.
22715 (getDefaultUncaughtExceptionHandler()): Documented.
22716 (getId()): Documented.
22718 2006-04-12 Tom Tromey <tromey@redhat.com>
22720 * vm/reference/java/lang/VMThread.java (run): Use thread's
22722 * java/lang/Thread.java (defaultHandler): New field.
22723 (setDefaultUncaughtExceptionHandler,
22724 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22725 getUncaughtExceptionHandler): New methods.
22726 * java/lang/ThreadGroup.java (ThreadGroup): Implements
22727 UncaughtExceptionHandler.
22728 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22730 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
22732 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22733 buffer. Loop only once to determine Utf8 length when possible. Make
22734 the inner loop bounded by buf.length.
22735 (getUTFlength): New private method.
22736 (buf): New private field.
22738 2006-04-11 Lillian Angel <langel@redhat.com>
22740 * gnu/xml/dom/DomNodeIterator.java
22741 (nextNode): Moved line of code to avoid an infinite loop.
22742 * gnu/xml/dom/html2/DomHTMLAppletElement.java
22743 (getCls): New function.
22744 (setCls): Likewise.
22745 (getSrc): Likewise.
22746 (setSrc): Likewise.
22747 * gnu/xml/dom/html2/DomHTMLDocument.java:
22748 Added DomHTMLEmbedElement to map.
22749 (getApplets): Added node name, 'embed'.
22750 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22752 * gnu/xml/dom/html2/DomHTMLObjectElement.java
22753 (getJavaCode): New function.
22754 (setJavaCode): Likewise.
22755 (getObject): Likewise.
22756 (setObject): Likewise.
22757 (getJavaObject): Likewise.
22758 (setJavaObject): Likewise.
22759 (getJavaArchive): Likewise.
22760 (setJavaArchive): Likewise.
22761 (getJavaCodeBase): Likewise.
22762 (setJavaCodeBase): Likewise.
22763 (getJavaType): Likewise.
22764 (setJavaType): Likewise.
22765 (setMayscript): Likewise.
22766 (getMayscript): Likewise.
22767 (setScriptable): Likewise.
22768 (getScriptable): Likewise.
22769 * gnu/xml/dom/html2/DomHTMLParser.java
22770 (parseDocument): Should not check for well formedness
22771 when parsing an html document.
22772 * java/awt/Window.java
22773 (dispatchEvent): Added check to avoid NPE.
22775 2006-04-10 Tom Tromey <tromey@redhat.com>
22777 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22779 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22780 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22782 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
22784 * javax/swing/plaf/basic/BasicTextUI.java:
22785 (getNextVisualPositionFrom): Marked as stub.
22787 2006-04-10 Roman Kennke <kennke@aicas.com>
22789 * javax/swing/plaf/basic/BasicLookAndFeel.java
22790 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22791 and create the defaults as strings constants.
22792 (loadSystemColors): Implemented stubbed method.
22794 2006-04-10 Tom Tromey <tromey@redhat.com>
22796 * .settings/org.eclipse.core.resources.prefs: Set encoding for
22799 2006-04-10 Tom Tromey <tromey@redhat.com>
22801 * java/io/CharArrayWriter.java (append): Javadoc fix.
22802 (append): Likewise.
22804 2006-04-10 Tom Tromey <tromey@redhat.com>
22806 * javax/accessibility/AccessibleTextSequence.java: New file.
22807 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22809 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22810 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22811 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22812 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22813 * javax/accessibility/AccessibleExtendedText.java: New file.
22814 * javax/accessibility/AccessibleContext.java
22815 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22816 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22817 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22818 * javax/accessibility/AccessibleAttributeSequence.java: New file.
22819 * javax/accessibility/AccessibleStreamable.java: New file.
22820 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22823 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22825 * javax/swing/tree/AbstractLayoutCache.java
22826 (getNodeDimensions, getRowsForPath): Implemented.
22827 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22828 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22830 2006-04-10 Roman Kennke <kennke@aicas.com>
22832 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22834 2006-04-10 Roman Kennke <kennke@aicas.com>
22836 * javax/swing/JInternalFrame.java
22837 (AccessibleJInternalFrame): Marked all stubbed methods as such
22838 by adding throws NotImplementedException.
22840 2006-04-10 Roman Kennke <kennke@aicas.com>
22842 * javax/swing/JFileChooser.java
22843 (getAccessibleContext): Don't create a new instance on each
22844 call, instead store the accessible context in the
22845 accessibleContext field.
22847 2006-04-10 Roman Kennke <kennke@aicas.com>
22849 * javax/swing/JComboBox.java
22850 (AccessibleJComboBox): Marked all stubbed methods as such
22851 by adding throws NotImplementedException.
22853 2006-04-10 Roman Kennke <kennke@aicas.com>
22855 * javax/swing/ActionMap.java
22856 (readObject): Removed.
22857 (writeObject): Removed.
22859 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22861 * javax/swing/tree/DefaultTreeSelectionModel.java
22862 (addSelectionPaths, setSelectionPaths): Call
22863 insureUniqueness. (clone, setRowMapper): Implemented.
22864 * TreePath (path): Marked final.
22866 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22868 * javax/swing/tree/DefaultTreeSelectionModel.java:
22869 Documented and autoformatted. (insureUniqueness):
22870 Removed stub marking.
22872 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
22874 * javax/swing/SizeSequence.java
22875 (sizes): Don't initialise here,
22876 (SizeSequence(int, int)): Initialise sizes field,
22877 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22878 (setSize): Do nothing when index is out of bounds,
22879 (getIndex): Implemented,
22880 (setSizes): Reimplemented,
22881 (getSizes): Likewise,
22882 (insertEntries): Likewise,
22883 (removeEntries): Likewise,
22884 plus added API docs all over.
22886 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
22888 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22889 one way message and retry after any IOException.
22891 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22893 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22894 Set the byte order.
22896 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
22898 * org/omg/PortableServer/ServantLocatorPOA.java:
22899 (preinvoke, postinvoke): Remove default implementation.
22900 * org/omg/PortableServer/ServantActivatorPOA.java:
22901 (incarnate, etherealize): Remove default implementation.
22902 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
22903 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22904 (make_object): Moved method from ObjectReferenceFactoryOperations.
22905 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
22906 Removed unspecified interface.
22907 * org/omg/DynamicAny/_DynAnyStub.java:
22908 (_DynAnyStub(Delegate)): Removed constructor.
22909 * org/omg/DynamicAny/_DynArrayStub.java,
22910 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22911 * org/omg/DynamicAny/_DynEnumStub.java,
22912 * org/omg/DynamicAny/_DynFixedStub.java,
22913 * org/omg/DynamicAny/_DynSequenceStub.java,
22914 * org/omg/DynamicAny/_DynStructStub.java,
22915 * org/omg/DynamicAny/_DynUnionStub.java,
22916 * org/omg/DynamicAny/_DynValueStub.java:
22917 Extend from ObjectImpl and not from _DynAnyStub.
22918 (type, next, destroy, copy, rewind, assign, component_count,
22919 current_component, equal, from_any, get_any, get_boolean, get_char,
22920 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
22921 get_reference, get_short, get_string, get_typecode, get_ulong,
22922 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22923 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22924 insert_long, insert_longlong, insert_octet, insert_reference,
22925 insert_short, insert_string, insert_typecode, insert_ulong,
22926 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
22927 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
22928 * org/omg/CosNaming/_BindingIteratorStub.java:
22929 (_BindingIteratorStub(Delegate)): Made package private.
22930 * org/omg/CosNaming/_NamingContextExtStub.java:
22931 (_NamingContextExtStub(Delegate)): Made package private.
22932 * org/omg/CosNaming/_NamingContextStub.java:
22933 (_NamingContextStub(Delegate)): Made package private.
22934 (throw4, throw5): Likewise.
22935 * gnu/CORBA/NamingService/NameParser.java (resolve):
22936 Adapt to package private constructor. Use _set_delegate instead.
22937 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22938 * org/omg/CORBA/ORB.java:
22939 (create_recursive_sequence_tc): Made abstract.
22940 (get_default_context): Likewise.
22941 * gnu/CORBA/OrbRestricted.java:
22942 (create_recursive_sequence_tc): New moved method.
22943 (get_default_context): Likewise.
22944 * org/omg/CORBA/ParameterMode.java:
22945 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
22947 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22949 * gnu/CORBA/GIOP/MessageHeader.java (write):
22950 More informative exception.
22951 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22952 * gnu/CORBA/SocketRepository.java (get_socket):
22953 Removed debugging code.
22955 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22957 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22958 one way message, but ignore if EOF was received.
22959 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22960 Minor.EOF if the end of file is received instead of the header.
22962 2006-04-09 Roman Kennke <kennke@aicas.com>
22964 * javax/swing/plaf/metal/MetalRootPaneUI.java
22965 (MetalTitlePane.IconifyAction): New inner class.
22966 (MetalTitlePane.MaximizeAction): New inner class.
22967 (MetalTitlePane.createActions): Create iconifyAction and
22969 (MetalRootLayout.titlePane): New field.
22970 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22972 (MetalRootLayout.preferredLayoutSize): Changed to not make
22973 assumptions about the actual component order.
22974 (MetalRootLayout.layoutContainer): Changed to not make
22975 assumptions about the actual component order.
22976 (installWindowDecorations): Pass the titlePane as parameter to
22977 the MetalRootLayout constructor.
22978 (uninstallWindowDecorations): Changed to not make
22979 assumptions about the actual component order.
22981 2006-04-08 Roman Kennke <kennke@aicas.com>
22983 * javax/swing/plaf/metal/MetalRootPaneUI.java
22984 (MetalTitlePane.MouseHandler): New inner class to handle dragging
22986 (MetalTitlePane.installListeners): Don't register a focus listener
22987 on the window. This is a potential memory leak and must be
22988 implemented on a different way. Install mouse listener here.
22989 (installWindowDecorations): Fixed assertion condition. Always
22990 insert the window decoration at index#1 in the layered
22993 2006-04-08 Roman Kennke <kennke@aicas.com>
22995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22996 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22997 Only resize window if actual width or height value changes.
22998 Avoids nasty flicker when only setLocation() is beeing called
23001 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23003 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23004 exception if the magic sequence does not match.
23006 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23008 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23009 response for the one way messages.
23011 2006-04-08 Roman Kennke <kennke@aicas.com>
23013 * javax/swing/MenuSelectionManager.java
23014 (processKeyEvent): Implemented stub method.
23015 * javax/swing/JMenu.java
23016 (processKeyEvent): Implemented stub method.
23017 * javax/swing/JMenu.java
23018 (processKeyEvent): Implemented stub method.
23019 (processMenuKeyEvent): Implemented stub method.
23021 2006-04-08 Roman Kennke <kennke@aicas.com>
23023 * javax/swing/AbstractAction.java
23024 (readObject): Removed unneeded method.
23025 (writeObject): Removed unneeded method.
23027 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23029 * javax/swing/plaf/synth/SynthPainter.java:
23030 (paintSplitPaneDividerBorder): Removed.
23032 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23034 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
23035 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23036 No longer constants.
23037 (static_initializer): Added to initialize above fields.
23038 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
23039 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23040 (static_initializer): Added to initialize above fields.
23042 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
23044 * java/awt/Dialog.java: Improved documentation all over.
23045 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23046 (Dialog(Dialog)): Likewise.
23048 2006-04-08 Mark Wielaard <mark@klomp.org>
23050 * java/util/jar/JarFile.java (provider): New static field.
23051 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23054 2006-04-08 Mark Wielaard <mark@klomp.org>
23057 * java/lang/StackTraceElement.java (toString): Don't add space
23058 between type and source indicator.
23060 2006-04-07 Casey Marshall <csm@gnu.org>
23062 Fixes PR classpath/24464
23063 * java/util/jar/JarFile.java (verify, verifyHashes,
23064 EntryInputStream.<init>): pass the Gnu provider directly to
23067 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23070 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23071 (DIGEST0): Use version 3 test vector.
23073 (S_box): New field: Version 3 S-box values.
23074 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23075 (transform): Formating.
23076 (padBuffer): Likewise.
23077 (getResult): Likewise.
23078 (selfTest): Likewise.
23080 2006-04-07 Tom Tromey <tromey@redhat.com>
23082 * java/util/InvalidPropertiesFormatException.java
23083 (serialVersionUID): New field.
23084 (readObject, writeObject): New methods.
23085 * java/util/Arrays.java (toString): Javadoc fixes.
23086 * java/net/URLConnection.java: Cleaned up imports.
23087 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23088 * java/lang/reflect/MalformedParameterizedTypeException.java
23089 (serialVersionUID): New field.
23090 * java/lang/reflect/GenericSignatureFormatError.java
23091 (serialVersionUID): New field.
23092 * java/lang/Class.java (Class): Javado fixes.
23093 (getComponentType): Likewise.
23094 (getGenericInterfaces): Likewise.
23095 (getTypeParameters): Likewise.
23096 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23097 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23099 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23101 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23104 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23106 * java/awt/Dialog.java
23107 (AccessibleAWTDialog): Added api docs
23108 (AccessibleAWTDialog.getAccessibleStateSet):
23109 Renamed from getAccessibleState.
23110 * java/awt/Frame.java
23111 (AccessibleAWTFrame): Added api docs
23112 (AccessibleAWTFrame.getAccessibleStateSet):
23113 Renamed from getAccessibleState.
23115 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23117 * java/awt/Dialog.java: Reformatted.
23119 2006-04-07 Lillian Angel <langel@redhat.com>
23121 * java/awt/Component.java
23122 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23123 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23125 2006-04-07 Tom Tromey <tromey@redhat.com>
23127 * java/beans/beancontext/BeanContextMembershipEvent.java
23128 (serialVersionUID): New field.
23129 * java/beans/beancontext/BeanContextServicesSupport.java
23130 (addBeanContextServicesListener): Synchronize.
23131 (addService): Implemented.
23132 (createBCSChild): Implemented.
23133 (BCSSChild): Added arguments.
23134 (fireServiceAdded): Implemented.
23135 (fireServiceRevoked): Implemented.
23136 (getCurrentServiceSelectors): Implemented.
23137 (hasService): Implemented.
23138 (removeBeanContextServicesListener): Implemented.
23139 (serviceAvailable): Implemented.
23140 (serviceRevoked): Implemented.
23141 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23143 (createBCSChild): Implemented.
23144 (BeanContextSupport):
23145 (addBeanContextMembershipListener): Synchronize.
23146 (fireChildrenAdded): Implemented.
23147 (fireChildrenRemoved): Implemented.
23148 (BeanContextSupport): Use default locale.
23149 (isEmpty): Implemented.
23150 (isDesignTime): Implemented.
23151 (size): Implemented.
23152 (toArray): Synchronized.
23153 (toArray): Likewise.
23154 (iterator): Likewise.
23155 (BCSIterator): Implemented.
23156 (bcsChildren): Implemented.
23157 (validatePendingAdd): Implemented.
23158 (validatePendingRemove): Likewise.
23159 (childJustAddedHook): Implemented.
23160 (childJustRemovedHook): Likewise.
23161 (classEquals): Likewise.
23162 (toArray): Mark as stub.
23163 (setDesignTime): Implemented.
23164 (copyChildren): Implemented.
23165 (containsKey): Implemented.
23166 (contains): Likewise.
23167 (containsAll): Likewise.
23168 (getResource): Implemented.
23169 (getResourceAsStream): Likewise.
23170 (removeBeanContextMembershipListener): Likewise.
23171 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23172 (serialVersionUID): New field.
23173 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23174 (serialVersionUID): New field.
23175 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23178 2006-04-06 Roman Kennke <kennke@aicas.com>
23181 * javax/swing/MenuSelectionManager.java
23182 (setSelectedPath): Search one more item in the loop.
23184 2006-04-06 Tom Tromey <tromey@redhat.com>
23186 * java/awt/image/renderable/RenderableImageProducer.java
23187 (image, context, consumers): New fields.
23188 (RenderableImageProducer): Implemented.
23189 (setRenderContext): Likewise.
23190 (addConsumer): Likewise.
23191 (isConsumer): Likewise.
23192 (removeConsumer): Likewise.
23193 (startProduction): Likewise.
23195 2006-04-06 Roman Kennke <kennke@aicas.com>
23197 * java/awt/Component.java
23198 (AccessibleAWTComponent.getBounds): Return the component
23199 bounds regardless of its showing state.
23200 (AccessibleAWTComponent.getLocation): Return the component
23201 location regardless of its showing state.
23202 (AccessibleAWTComponent.getSize): Return the component
23203 size regardless of its showing state.
23205 2006-04-06 Roman Kennke <kennke@aicas.com>
23207 * javax/swing/JRootPane.java
23208 (getAccessibleContext): New method. Provides an accessibleContext
23211 2006-04-06 Roman Kennke <kennke@aicas.com>
23213 * java/awt/Toolkit.java
23214 (initAccessibility): Use the 'gnu.classpath.home.url' property
23215 to determine the system confiuration directory.
23216 * java/awt/Component.java
23217 (dispatchEvent): Trigger Toolkit dispatching here.
23218 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23219 so it can't be overridden by subclasses and is performed in
23222 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23224 * javax/naming/Binding.java: Added API docs.
23225 * javax/naming/NameClassPair.java: Added API docs.
23226 (fullName): New field.
23227 (setNameInNamespace): New 1.5 method.
23228 (getNameInNamespace): Likewise.
23230 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23232 * javax/naming/CompositeName.java:
23233 (readObject): New deserialization method.
23234 (writeObject): New serialization method.
23236 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23238 * javax/security/auth/x500/X500Principal.java
23239 (readAttributeValue) Check for separator after quoted value was
23240 failing in all cases.
23242 2006-04-06 Mark Wielaard <mark@klomp.org>
23244 * java/lang/Class.java (getClassLoader): Don't do security check
23245 when loader is null.
23247 2006-04-06 Roman Kennke <kennke@aicas.com>
23249 * java/awt/Toolkit.java
23250 (getDefaultToolkit): Initialize accessibility after setting
23252 (initAccessibility): New helper method to setup accessibility.
23254 2006-04-06 Roman Kennke <kennke@aicas.com>
23256 * javax/swing/AbstractButton.java
23257 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23258 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23260 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23261 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23262 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23263 (AccessibleAbstractButton.getCharCount): Implemented stub.
23264 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23265 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23266 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23267 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23268 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23269 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23272 2006-04-06 Roman Kennke <kennke@aicas.com>
23274 * java/awt/Component.java
23275 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23276 state here. This is only done in JComponent.
23277 * javax/swing/JComponent.java
23278 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23280 (getNextFocusableComponent): Implemented stub method.
23281 (grabFocus): Implemented stub method.
23282 (unregisterKeyboardAction): Implemented stub method.
23283 (setNextFocusableComponent): Implemented stub method.
23284 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23285 This is a helper class for providing compatibility with the older
23288 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23291 * javax/naming/directory/BasicAttribute.java,
23292 * javax/naming/directory/BasicAttributes.java:
23293 (readObject): New deserialization method.
23294 (writeObject): New serialization method.
23296 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23298 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23299 (getErrorHandler): Made method abstract.
23300 (setErrorHanlder): Likewise.
23301 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23302 (getErrorHandler): Implement abstract method from superclass.
23303 (setErrorHandler): Likewise.
23304 (errorHandler): New field.
23305 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23306 (getErrorHandler): Implement abstract method from superclass.
23307 (setErrorHandler): Likewise.
23308 (errorHandler): New field.
23309 * javax/xml/XMLConstants.java: Corrected since tag.
23310 (XMLConstants): Added private constructor.
23311 * javax/xml/datatype/Duration.java: Corrected since tag.
23312 (multiply): Made method abstract.
23313 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23314 (DatatypeConstants): Added private constructor.
23315 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23316 (XPathConstants): Added private constructor.
23318 2006-04-05 Tom Tromey <tromey@redhat.com>
23320 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23322 2006-04-05 Tom Tromey <tromey@redhat.com>
23325 * lib/Makefile.am (compile-classes): Touch the output file.
23327 2006-04-05 Roman Kennke <kennke@aicas.com>
23329 * javax/swing/AbstractButton.java
23330 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23331 of the focused state. This is already done in AccessibleAWTComponent.
23333 2006-04-05 Roman Kennke <kennke@aicas.com>
23335 * javax/swing/JComponent.java
23336 (accessibleContext): Fixed API doc for this field.
23337 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23338 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23339 Implemented and added API docs.
23340 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23341 Implemented and added API docs.
23342 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23343 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23344 Implemented and added API docs.
23345 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23346 Implemented and added API docs.
23347 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23348 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23349 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23350 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23351 (AccessibleJComponent.getAccessibleStateSet): Simply return
23352 super here. Added comment about this.
23354 2006-04-05 Roman Kennke <kennke@aicas.com>
23356 * javax/swing/JComponent.java
23357 (AccessibleJComponent.addPropertyChangeListener): Install
23358 ContainerHandler and FocusHandler here.
23359 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23360 ContainerHandler and FocusHandler here.
23361 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23362 by super.getAccessibleChildrenCount().
23363 (AccessibleJComponent.getAccessibleChild): Replaced
23364 by super.getAccessibleChild().
23365 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23366 adding OPAQUE to the supported states.
23367 (AccessibleJComponent.getAccessibleName): Added titled border
23368 and label fallbacks.
23369 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23370 and label fallbacks.
23371 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23372 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23373 explaining why return null seems correct here.
23374 * javax/swing/JLabel.java
23375 (LABEL_PROPERTY): New constant.
23376 (setLabelFor): Store label in labeled component's client properties
23377 for the AccessibleJComponent to read.
23379 2006-04-05 Tom Tromey <tromey@redhat.com>
23381 * java/util/zip/ZipFile.java (available): Defer to super if
23382 entry's size is unknown.
23384 2006-04-05 Tom Tromey <tromey@redhat.com>
23386 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23387 property with mime.types name.
23388 * gnu/classpath/SystemProperties.java: Set
23389 gnu.classpath.mime.types.file if not already set.
23390 * java/net/URLConnection.java (defaultFactory): New field.
23391 (guessContentTypeFromStream): Mark as unimplemented.
23392 (getContentHandler): Updated with libgcj's implementation.
23393 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23396 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23400 * java/util/AbstractList.java (hasNext): Don't throw
23401 ConcurrentModificationException. Update Javadoc.
23402 (hasPrevious): Likewise.
23403 (nextIndex): Likewise.
23404 (previousIndex): Likewise.
23405 * java/util/HashMap.java (hasNext): Likewise.
23406 * java/util/Hashtable.java (hasNext): Likewise.
23407 * java/util/IdentityHashMap.java (hasNext): Likewise.
23408 * java/util/LinkedHashMap.java (hasNext): Likewise.
23409 * java/util/LinkedList.java (nextIndex): Likewise.
23410 (previousIndex): Likewise.
23411 (hasNext): Likewise.
23412 (hasPrevious): Likewise.
23413 * java/util/TreeMap.java (hasNext): Likewise.
23414 * java/util/WeakHashMap.java (hasNext): Likewise.
23416 2006-04-05 Roman Kennke <kennke@aicas.com>
23418 * javax/swing/AbstractButton.java
23419 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23420 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23421 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23422 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23423 (AccessibleAbstractButton.getAccessibleActionDescription):
23425 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23426 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23427 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23428 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23429 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23430 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23432 2006-04-05 Roman Kennke <kennke@aicas.com>
23434 * javax/swing/JComboBox.java
23435 (selectWithKeyChar): Implemented stubbed method.
23437 2006-04-05 Roman Kennke <kennke@aicas.com>
23439 * javax/swing/LookAndFeel.java
23440 (installProperty): New method. Allows primitive typed properties
23441 to be handled like UIResources.
23442 * javax/swing/AbstractButton.java
23443 (clientBorderPaintedSet): New field.
23444 (clientRolloverEnabledSet): New field.
23445 (clientIconTextGapSet): New field.
23446 (clientContentAreaFilledSet): New field.
23447 (setRolloverEnabled): Set the client field to true.
23448 (setBorderPainted): Likewise.
23449 (setIconTextGap): Likewise.
23450 (setContentAreaFilled): Likewise.
23451 (setUIProperty): New helper method.
23452 * javax/swing/JComponent.java
23453 (clientOpaqueSet): New field.
23454 (clientAutoscrollsSet): New field.
23455 (setAutoscrolls): Set the client field to true.
23456 (setOpaque): Likewise.
23457 (setUIProperty): New helper method.
23458 * javax/swing/JDesktopPane.java
23459 (clientDragModeSet): New field.
23460 (setDragMode): Set the client field to true.
23461 (setUIProperty): New helper method.
23462 * javax/swing/JSplitPane.java
23463 (clientDividerSizeSet): New field.
23464 (clientOneTouchExpandableSet): New field.
23465 (setDividerSize): Set the client field to true.
23466 (setOneTouchExpandable): Likewise.
23467 (setUIProperty): New helper method.
23468 * javax/swing/JTable.java
23469 (clientRowHeightSet): New field.
23470 (setRowHeight): Set the client field to true.
23471 (setUIProperty): New helper method.
23472 * javax/swing/JTree.java
23473 (clientRowHeightSet): New field.
23474 (clientScrollsOnExpandSet): New field.
23475 (clientShowsRootHandlesSet): New field.
23476 (setRowHeight): Set the client field to true.
23477 (setShowsRootHandles): Likewise.
23478 (setScrollsOnExpand): Likewise.
23479 (setUIProperty): New helper method.
23481 2006-04-05 Roman Kennke <kennke@aicas.com>
23483 * java/awt/Component.java
23484 (getFont): Don't request the font from the peer's graphics. The
23485 graphics should instead get the font from the Component, which might
23487 (getFocusCycleAncestor): Don't special case Window.
23488 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23489 to here. Correctly determine the focus cycle root.
23490 (transferFocusBackward): Likewise.
23491 (transferFocusUpCycle): Likewise.
23492 * java/awt/Container.java
23493 (transferFocusDownCycle): Moved implementation from
23494 DefaultKeyboardFocusManager to here.
23495 * java/awt/DefaultKeyboardFocusManager.java
23496 (focusPreviousComponent): Moved implementation to
23497 Component.transferFocusBackward().
23498 (focusNextComponent): Moved implementation to
23499 Component.nextFocus().
23500 (upFocusCycle): Moved implementation to
23501 Component.transferFocusUpCycle().
23502 (downFocusCycle): Moved implementation to
23503 Container.transferFocusDownCycle().
23505 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23507 * java/awt/image/ComponentSampleModel.java
23508 (equals): Implemented,
23509 (hashCode): Likewise.
23511 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23513 * java/lang/Class.java
23514 (cast): New method.
23516 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23518 * java/awt/image/ComponentSampleModel.java
23519 (getBankIndices): Return a copy of the array, not a reference to the
23521 (getBandOffsets): Likewise.
23523 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23525 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23527 2006-04-04 Tom Tromey <tromey@redhat.com>
23529 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23531 2006-04-04 Tom Tromey <tromey@redhat.com>
23533 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23534 (MimeTypeMapper): Initialize.
23535 (fillFromFile): New method.
23536 (main): New method.
23537 (mime_strings): Updated.
23539 2006-04-04 Tom Tromey <tromey@redhat.com>
23541 * lib/gen-classlist.sh.in: Correct handle generated files.
23543 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23545 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23546 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23547 * gnu/regexp/CharIndexedCharSequence.java: New file.
23548 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23549 gnu.regexp.CharIndexedCharSequence.
23550 * gnu/regexp/CharIndexedString.java: Likewise.
23551 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23552 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23553 using CharIndexedCharSequence. Use setAnchor when the input
23554 object is already a CharIndexed.
23555 * java/util/regex/Matcher.java(inputCharIndexed): New field
23556 to be used as a parameter of the RE#getMatch.
23558 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23560 * java/awt/image/SampleModel.java: Reformatted.
23562 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23564 * java/awt/image/ComponentSampleModel.java
23565 (ComponentSampleModel(int, int, int, int, int[])): Added API
23567 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23568 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23569 of the bandOffsets and bankIndices arguments, added API documentation,
23570 * java/awt/image/SampleModel.java
23571 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23572 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23573 less than or equal to zero, added API documentation.
23575 2006-04-04 Lillian Angel <langel@redhat.com>
23577 * java/util/zip/ZipFile.java
23578 (getInputStream): Fixed to return size of ZipEntry
23579 minus the total bytes read. This guarantees that the
23580 right value is returned even if some bytes have already
23583 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23585 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23586 Remove static modifier.
23588 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23590 * java/awt/image/ComponentSampleModel.java: Reformatted.
23592 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23594 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23595 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23596 retrieval instructions to javadoc header.
23597 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23598 compressionType field.
23599 * lib/Makefile.am (propertydirs): Add javax directory.
23600 (propertyfiles): Likewise.
23601 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23604 2006-04-03 Tom Tromey <tromey@redhat.com>
23606 PR classpath/26971:
23607 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23608 (BasicAttributeEnumeration.where): Initialize to 0.
23609 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23611 2006-04-03 Lillian Angel <langel@redhat.com>
23613 PR classpath/24596 and PR classpath/26930
23614 * java/util/zip/ZipFile.java
23615 (getInputStream): Override available function for
23616 InflaterInputStream instance.
23618 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23620 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23622 2006-04-03 Tom Tromey <tromey@redhat.com>
23624 * javax/security/auth/kerberos/ServicePermission.java: New file.
23625 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23626 * javax/security/auth/kerberos/KerberosKey.java: New file.
23627 * javax/security/auth/kerberos/KeyImpl.java: New file.
23628 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23629 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23631 2006-04-03 Sven de Marothy <sven@physto.se>
23633 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23634 non-GtkImage images.
23636 2006-04-03 Mark Wielaard <mark@klomp.org>
23638 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23639 as temporary file name.
23641 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23643 * INSTALL: Documented --with-glibj-zip option.
23645 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23647 Fixed all pscan warnings.
23649 * native/jni/classpath/jcl.c (JCL_ThrowException),
23650 native/jni/classpath/jcl.h (DBG),
23651 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23652 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23653 Use "%s" format in fprintf and snprintf explicitely when printing a single
23654 string to prevent format string exploits.
23656 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23657 definition. Included jcl.h instead.
23659 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23661 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23662 (provider): Made it protected.
23663 (providerInstalled): New field.
23664 (Main): Made it a 0-arguments constructor.
23665 Removed throws clasue.
23666 (main): Removed throws clause.
23667 Call processArgs(args) after constructing instance.
23668 Call teardown() before existing.
23669 (processArgs): Added javadoc.
23670 Reduced to throws Exception.
23672 (teardown): New method.
23673 (setupCommonParams): Added javadoc.
23674 Install designated provider if not already installed.
23675 (installNewProvider): New method.
23676 (setupSigningParams): Added javadoc.
23677 Instantiate the KeyStore using type only.
23678 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23679 Removed unused imports.
23680 (start): Reduced to throws Exception.
23681 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23682 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23683 Re-organized imports.
23684 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23685 Test ignoring case.
23686 (getNames): Add "dsa" as an algorithm provided by this Factory.
23687 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23689 2006-04-03 Roman Kennke <kennke@aicas.com>
23691 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23692 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23693 Replaced g_free() with pango_item_free() to avoid problems
23694 with the allocator.
23696 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23699 * java/util/logging/Level.java (parse): Document.
23700 * java/util/logging/LogManager.java (rootLogger): Removed.
23701 (LogManager): Just set loggers to new HashMap.
23702 (getLogManager): Make synchronized. Create and init LogManager if it
23704 (static): Removed block.
23705 (MANAGER_PROPERTY): New private final string.
23706 (makeLogManager): Use new property string, move warning to
23707 createInstance() method.
23708 (CONFIG_PROPERTY): New private final string.
23709 (initLogManager): New method.
23710 (addLogger): Use Logger.root, not rootLogger.
23711 (findAncestor): Likewise.
23712 (readConfiguration): Move warning to createInstance() method.
23713 Add handlers directly to Logger.root. Warn about bad level values.
23714 (getClassProperty): Use new locateClass() method.
23715 (getInstanceProperty): Only catch specific newInstance Errors.
23716 (createInstance): Make private and takes a string to use in warning
23717 messages. Use new locateClass() method and generate appropriate
23719 (warn): New methods.
23720 (locateClass): Locates a class through the context class loader and
23721 system class loader as backup.
23722 * java/util/logging/Logger.java (root): New static final field.
23723 (Logger): Set parent to root.
23724 (setParent): Directly check root field.
23726 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23728 * java/util/Collections.java:
23729 (binarySearch(List, T)): Fixed signature.
23730 (unmodifiableList(List)): Likewise.
23731 (UnmodifiableList(List)): Fixed constructor.
23732 (UnmodifiableRandomAccessList(List)): Likewise.
23733 (unmodifiableMap(Map)): Fixed signature.
23734 (UnmodifiableMap(Map)): Fixed constructor.
23735 (unmodifiableSortedMap(Map)): Fixed signature.
23736 (UnmodifiableSortedMap(Map)): Fixed constructor.
23738 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23740 * java/io/ObjectOutputStream.java:
23741 (writeObject(Object)): Added enum support.
23742 (writeClassDescriptor(ObjectStreamClass)): Likewise.
23743 * java/io/ObjectStreamClass.java:
23744 (isEnum()): New package-private method.
23745 (setFlags(Class)): Added enum support.
23746 * java/io/ObjectStreamConstants.java:
23749 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23751 * javax/swing/text/Segment.java:
23752 (setPosition): Make exception message more verbose.
23753 * javax/swing/text/WrappedPlainView.java:
23754 (insertUpdate): Removed unneeded repaint call.
23755 (changeUpdate): Dito.
23756 (removeUpdate): Dito.
23757 (WrappedLine.determineNumLines): Do not return numLines, break
23758 from loop if no new break point has been calculated.
23759 (WrappedLine.updateDamage): Rewritten.
23760 (WrappedLine.insertUpdate): Removed unneeded update code.
23761 (WrappedLine.removeUpdate): Removed unneeded update code, added
23764 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23766 * configure.ac (with-glibj-zip): Added new option.
23768 * examples/Makefile.am,
23770 tools/Makefile.am: Adapted build classpath to use glibj.zip,
23771 in addition to classes in lib directory.
23773 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23775 * tools/gnu/classpath/tools/giop/GRMIC.java,
23776 tools/gnu/classpath/tools/giop/IorParser.java,
23777 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23778 tools/gnu/classpath/tools/giop/grmic/Generator.java,
23779 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23780 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23781 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23782 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23783 tools/gnu/classpath/tools/rmi/RMIC.java,
23784 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23785 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23786 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23787 linking exception from the licensing header.
23788 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23789 Added licensing header.
23791 2006-04-02 Mark Wielaard <mark@klomp.org>
23793 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23794 (jarsigner): Removed.
23796 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23798 * configure.ac: don't check for isnan function.
23799 * native/fdlibm/fdlibm.h: Always use the isnan macro.
23801 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23803 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23804 * tools/Makefile.am: Generate jarsigner shell script.
23805 * tools/jarsigner.sh.in: New template.
23806 * tools/.cvsignore: Added jarsigner.sh.
23808 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23810 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23811 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23812 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23813 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23814 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23815 Re-organised imports.
23817 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
23819 PR classpath/25924:
23820 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23821 Handle case where alpha==0.
23823 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23826 * javax/swing/text/Utilities.java:
23827 (getTabbedTextOffset): Added check to decrement pos not below zero,
23828 changed '>' comparison to '>='.
23829 * javax/swing/text/WrappedPlainView.java:
23830 (lineHeight): New field.
23831 (calculateBreakPosition): Throw InternalError in catch block, removed
23832 unneeded brackets, use specific version of
23833 Utilities.getTabbedTextOffset.
23834 (paint): Set various properties neccessary for drawing.
23835 (WrappedLine.paint): Removed code to set field of outer class.
23836 (WrappedLine.modelToView): Removed unneeded expression from
23838 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23839 -1 from return statement, copy only a subset into the Segment, removed
23840 special handling of mark value - just return it, simplified
23841 incrementation of currLineStart.
23842 (WrappedLine.insertUpdate): Recalculate numLines, report preference
23843 change to parent view.
23844 (WrappedLine.removeUpdate): Dito.
23846 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23848 * javax/swing/text/Segment.java:
23849 (toString): Return empty string when array is null.
23851 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23853 * javax/swing/plaf/basic/BasicTextUI.java:
23854 (damageRange): Use SwingUtilities.computeUnion to avoid
23855 unneccessary Rectangle instantiation.
23857 2006-04-01 Tom Tromey <tromey@redhat.com>
23859 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23861 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23863 * javax/swing/text/CompositeView.java: Fixed copyright header.
23864 * javax/swing/text/BoxView.java: Fixed copyright header.
23865 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23866 * javax/swing/text/Utilities.java: Fixed copyright header.
23868 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23870 * javax/swing/text/CompositeView.java:
23871 (modelToView): Throw BadLocationException when no child
23872 view can be found, restructed to throw exception as early
23874 (viewToModel): Use mutable allocation as argument for viewToModel
23875 call on child view.
23876 * javax/swing/text/BoxView.java:
23877 (getViewAtPoint): Call setBounds() r before method returns with
23878 suitable child view.
23879 * javax/swing/text/Utilities.java:
23880 (getPositionBelow): Added try-catch-block around modelToView call,
23881 added method return when BadLocationException was thrown.
23882 * javax/swing/text/WrappedPlainView.java:
23883 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23884 added note about meaning of rect.x and rect.width, removed unneeded
23885 checks, added code to not return the last possible document offset.
23887 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23889 * javax/swing/text/WrappedPlainView.java:
23890 (WrappedLine.viewToModel): Change < to <= in if-statement,
23891 removed addition of currLineStart to return value.
23892 * javax/swing/text/BoxView.java:
23893 (getViewAtPoint): Use copy instead of r for method call
23894 which modifies the second argument.
23896 2006-04-01 Mark Wielaard <mark@klomp.org>
23899 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23901 2006-03-31 Tom Tromey <tromey@redhat.com>
23903 * lib/split-for-gcj.sh: Updated for multi-field format.
23904 * lib/Makefile.am (CLEANFILES): Added classes.2.
23905 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
23906 classes.2 using multiple fields.
23908 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23910 * javax/swing/JTable.java (columnSelectionChanged):
23911 Removed print statement.
23912 * javax/swing/DefaultListSelectionModel.java
23913 (addSelectionInterval, removeSelectionInterval):
23914 Fire the difference between selection. (setLeadSelectionIndex):
23915 Fire the difference and mark current and previous lead
23916 selection indexes for repaint.
23918 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
23920 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23921 unnecessary copying.
23922 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23924 2006-03-31 Lillian Angel <langel@redhat.com>
23926 * java/awt/Component.java
23927 (translateEvent): oldKey should be the value of the
23930 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23932 * javax/swing/JTable.java (columnSelectionChanged):
23933 Treat second repaint parameter as width.
23935 2006-03-31 Lillian Angel <langel@redhat.com>
23938 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23939 (realize): New native function.
23940 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23941 Added new function declaration.
23942 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23943 (realize): New function.
23945 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
23947 * javax/swing/text/GapContent.java:
23948 (replace): Move all Position instances from gap's end to
23949 it's start before increasing the gap start.
23950 * javax/swing/plaf/basic/BasicTextAreaUI.java:
23951 (propertyChanged): Update the view only instead of
23952 indicating a document change.
23954 2006-03-31 Roman Kennke <kennke@aicas.com>
23956 * javax/swing/JTextField.java
23957 (fireActionPerformed): Put the textfields text in the action
23958 instead of the action name.
23960 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
23962 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23963 Check for null jar-file argument.
23964 (setupSigningParams): Check for null alias argument.
23966 2006-03-31 Roman Kennke <kennke@aicas.com>
23968 * javax/swing/JComponent.java
23969 (paintChildren): Split up in two cases, depending on the
23970 optimizedDrawingEnabled flag.
23971 (paintChildrenWithOverlap): New method. Paints children when
23972 not optimizedDrawingEnabled. This implements better painting
23973 algorithm for overlapping components, so that the painted
23974 regions are minimized.
23975 (paintChildrenOptimized): New method. Paints children when
23976 when optimizedDrawingEnabled. This implements a painting
23977 algorithm that is optimized for the case when all children
23978 are guaranteed to be tiled.
23980 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
23982 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23983 Attributes.putValue(String,String).
23984 (finishSigning): Likewise.
23985 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23986 (SIGNATURE_VERSION): Likewise.
23987 (readSFManifest): Use local string constant.
23988 (readMainSection): Likewise.
23989 (readVersionInfo): Likewise.
23990 * java/util/jar/Attributes.java (MANIFEST_VERSION):
23991 Redefined using JarUtils constant.
23992 (SIGNATURE_VERSION): Likewise.
23993 (putValue(Name,String)): Made it private.
23995 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23997 * javax/swing/DefaultListSelectionModel.java (fireDifference):
23998 New method. (clearSelection): Rewritten. (setSelectionInterval):
23999 Fire the difference between current and new selection.
24000 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24001 Only repaint the region, where selection has been changed.
24002 * javax/swing/plaf/basic/BasicTableUI.java
24003 (TableAction.actionPerformed): Do not change the column selection
24004 when only row selection change is wanted (and in reverse) and
24005 do not call the repaint() here.
24007 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24010 * javax/swing/DefaultComboBoxModel.java
24011 (DefaultComboBoxModel(Vector)): Call getSize() instead of
24013 (addElement): Call list.addElement() rather than list.add(), and only
24014 update selected item if it is currently null,
24015 (removeElementAt): Update selected item, then remove the element.
24017 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
24020 * java/awt/geom/Point2D.java
24021 (distanceSq(double, double)): Fixed order of arguments,
24022 (distanceSq(Point2D)): Likewise,
24023 (distance(double, double)): Likewise,
24024 (distance(Point2D)): Likewise.
24026 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
24028 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24029 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24030 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24031 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24032 DCLuminanceLengths, DCLuminanceValues): Remove fields.
24034 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24036 * javax.swing.JTable (constructor): Initialize column
24037 model column margin and table row margin before setting the
24038 table column model. (initialiseLocalVars): Do not call
24039 setIntercellSpacing.
24041 2006-03-30 Chris Burdess <dog@gnu.org>
24043 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24045 * javax/xml/validation/SchemaFactoryLoader.java: New file.
24047 2006-03-30 Mark Wielaard <mark@klomp.org>
24050 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24051 adjust bounds. On resize invalidate and validate container.
24052 Always pass on ComponentEvents to Container super class.
24053 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24054 menuBar and pass to GtkWindowPeer super class.
24055 (postConfigureEvent): Adjust menu bar width. Adjust y and height
24056 bounds and pass to GtkWindowPeer super class.
24057 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24058 New fields for local bounds.
24059 (getX, getY): New methods.
24060 (getWidth): Don't call into awtComponent.
24061 (getHeight): Likewise.
24062 (create): Cache local bounds.
24063 (setLocation): Documented, made protected and just call
24065 (setLocationUnlocked): Removed unused method.
24066 (setBoundsUnlocked): Likewise.
24067 (setBounds): Check whether bounds actually changed and cache local
24069 (setSize): Documented and made protected.
24070 (setResizable): Documented and cache local bounds.
24071 (postConfigureEvent): Update local bounds. Don't call awtComponent
24072 directly but post ComponentEvents.
24073 (show): Cache local bounds.
24074 (getBounds): Override to return cached bounds.
24076 2006-03-30 Lillian Angel <langel@redhat.com>
24078 * gnu/java/awt/peer/gtk/GdkGraphics.java
24079 (drawImage): Added check to prevent NPE.
24080 (drawImage): Likewise.
24081 (drawImage): Likewise.
24082 * java/awt/Choice.java
24083 (dispatchEventImpl): New function. selectedIndex was
24084 not being updated properly otherwise.
24086 2006-03-30 Roman Kennke <kennke@aicas.com>
24088 * javax/swing/JTabbedPane.java
24089 (removeTabAt): Removed debug code.
24091 2006-03-30 Roman Kennke <kennke@aicas.com>
24094 * javax/swing/plaf/basic/BasicTextUI.java
24095 (installKeyboardActions): Simply call getKeymap() and install this.
24096 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24098 2006-03-30 Roman Kennke <kennke@aicas.com>
24100 * javax/swing/JTabbedPane.java
24101 (removeTabAt): Adjust selection correctly when removing a tab
24102 before the selected tab. Also remove the component from the
24103 container, not only the tab object. Repaint and revalidate the
24104 component after the removal.
24105 (removeAll): Set selection to -1 before removing the tabs.
24107 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24109 * java/io/ObjectInputStream.java:
24110 (parseContent(byte)): Added enum support.
24111 * java/io/ObjectStreamConstants.java:
24113 (TC_MAX): Changed to new maximum, TC_ENUM.
24115 2006-03-29 Lillian Angel <langel@redhat.com>
24117 Partial fix for bug #26929
24118 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24119 (updateComponent): Removed. We want to clear the panel
24121 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24122 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24123 Should set the background to the saved background color.
24125 2006-03-29 Mark Wielaard <mark@klomp.org>
24127 Partial fix for bug #26848 (pack).
24128 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24129 Always show instances of Window.
24131 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24133 * javax/swing/JSlider.java
24134 (setPaintLabels): Only create standard labels if labelTable is null,
24135 * javax/swing/plaf/basic/BasicSliderUI.java
24136 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24137 "paintTicks" property change,
24138 (calculateThumbSize): Updated API docs,
24139 (calculateContentRect): Likewise,
24140 (calculateTrackBuffer): Take into account the lowest and highest
24141 labels when calculating buffer space,
24142 (calculateTrackRect): Include labels, if visible, in the calculation of
24143 the trackRect position,
24144 (calculateTickRect): Height is zero if ticks are not painted,
24145 (calculateLabelRect): Use max dimensions of actual labels,
24146 (getWidthOfHighValueLabel): Use preferred size,
24147 (getWidthOfLowValueLabel): Likewise,
24148 (getHeightOfHighValueLabel): Likewise,
24149 (getHeightOfLowValueLabel): Likewise,
24150 (drawInverted): Just return slider setting,
24151 (getHighestValueLabel): Updated API docs,
24152 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24153 to xPositionForValue() and yPositionForValue(),
24154 (paintHorizontalLabel): Removed full qualification of class name,
24155 (paintVerticalLabel): Likewise,
24156 (xPositionForValue): Reimplemented,
24157 (yPositionForValue): Reimplemented,
24158 * javax/swing/plaf/metal/MetalSliderUI.java
24159 (paintTrack): Made track one pixel longer.
24161 2006-03-29 Tom Tromey <tromey@redhat.com>
24164 * tools/Makefile.am (JCOMPILER): Added encoding options.
24165 * examples/Makefile.am (JCOMPILER): Added encoding options.
24167 2006-03-29 Gary Benson <gbenson@redhat.com>
24169 Partial fix for PR classpath/24895
24170 * java/io/FilePermission.java (implies): Canonicalize paths.
24172 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24175 * javax/swing/text/GapContent.java:
24176 (replace): Added call to resetMarksAtZero.
24178 2006-03-29 Roman Kennke <kennke@aicas.com>
24181 * javax/swing/plaf/basic/BasicMenuItemUI.java
24182 (cachedRect): New field.
24183 (BasicMenuItemUI): Initialize cachedRect field.
24184 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24185 to determine layout. Store maximum accelerator and text width
24186 in client properties of parent to allow correct alignment
24187 of accelerators among menu items of one menu.
24188 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24189 method. Align accelerators according to the values calculated
24190 in getPreferredMenuItemSize.
24191 (getAcceleratorString) New helper method.
24192 (layoutMenuItem): New helper method.
24194 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24196 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24197 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24198 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24200 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24201 readExternal, writeExternal): New methods.
24202 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24203 two stages, invokeCommon(Remote, ...) and
24204 invokeCommen(UnicastConnection, ...).
24205 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24206 also the ActivatableRef. toString(): Documented.
24207 * gnu/java/rmi/server/ActivatableRef.java,
24208 tools/gnu/classpath/tools/rmi/Persistent.java,
24209 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24210 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24211 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24212 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24213 tools/gnu/classpath/tools/rmi/RMID.java,
24214 tools/gnu/classpath/tools/rmi/RMID.txt,
24215 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24216 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24217 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24218 tools/gnu/classpath/tools/rmi/registry/package.html,
24219 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24220 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24222 * tools/README: Documented.
24223 * NEWS: Added entry about the activation.
24225 2006-03-29 Roman Kennke <kennke@aicas.com>
24228 * javax/swing/plaf/basic/BasicMenuItemUI.java
24229 (viewRect): New field.
24230 (textRect): New field.
24231 (accelRect): New field.
24232 (iconRect): New field.
24233 (arrowIconRect): New field.
24234 (checkIconRect): New field.
24235 (BasicMenuItemUI): Initialize new fields.
24236 (paintMenuItem): Rewritten to correctly layout and paint
24237 the menu item in a more straightforward way. Use cached rectangle
24238 objects for layout.
24239 (paintAccelerator): Pulled inside the paintMenuItem method.
24241 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24243 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24244 Do not use initCause with UnexpectedException.
24245 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24248 2006-03-29 Mark Wielaard <mark@klomp.org>
24250 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24251 (setCursorID): Removed unused static variable.
24253 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24255 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24257 2006-03-29 Mark Wielaard <mark@klomp.org>
24260 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24261 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24263 2006-03-28 Roman Kennke <kennke@aicas.com>
24265 * javax/swing/UIManager.java
24266 (installLookAndFeel): Implemented.
24267 (setInstalledLookAndFeels): Implemented.
24269 2006-03-28 Roman Kennke <kennke@aicas.com>
24271 * javax/swing/plaf/metal/MetalButtonUI.java
24272 (update): Paint gradient only when the background color
24273 is not a UIResource and if the button is neither armed nor
24274 pressed and if the button is contentAreaFilled.
24276 2006-03-28 Roman Kennke <kennke@aicas.com>
24278 * javax/swing/JLayeredPane.java
24279 (addImpl): Repaint added component.
24281 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24283 * java/util/regex/Matcher.java: Reverted.
24285 2006-03-28 Roman Kennke <kennke@aicas.com>
24287 * javax/swing/text/AsyncBoxView.java
24288 (setEstimatedMajorSpan): Made method protected.
24289 (getEstimatedMajorSpan): Made method protected.
24290 * javax/swing/text/BoxView.java
24291 (flipEastAndWestAtEnds): Fixed typo.
24292 * javax/swing/text/InternationalFormatter.java
24293 (getActions): Made method protected.
24294 * javax/swing/text/Position.java
24295 (Bias): Made class final.
24296 * javax/swing/text/html/HTML.java
24297 (MEDIA): Made field package private. Not specified.
24298 (NOBR): Made field package private. Not specified.
24299 * javax/swing/text/html/NullView.java
24300 Made class package private.
24301 * javax/swing/text/html/parser/Entity.java
24302 Made class non-serializable as specified.
24304 2006-03-28 Roman Kennke <kennke@aicas.com>
24306 * javax/swing/plaf/metal/MetalButtonUI.java
24307 (update): Don't paint gradient if the background color is
24308 no UIResource. Removed double getModel() call. Don't check for
24311 2006-03-28 Roman Kennke <kennke@aicas.com>
24313 * javax/swing/plaf/basic/BasicMenuItemUI.java
24314 (paint): Call paintMenuItem with the selectionBackground as
24316 (paintBackground): Fixed the condition and color for the background
24319 2006-03-28 Roman Kennke <kennke@aicas.com>
24321 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24322 (tabsOpaque): New field.
24323 (paintLeftTabBorder): Paint some parts only when the tabs are
24324 opaque. Determine the tab background using the paintLeftTabBorder()
24326 (paintRightTabBorder): Likewise.
24327 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24329 2006-03-27 Tom Tromey <tromey@redhat.com>
24331 PR classpath/25189:
24332 * java/lang/Enum.java (valueOf): Ensure that the named field
24333 is an enum constant.
24334 (compareTo): Check class of enum.
24336 2006-03-27 Tom Tromey <tromey@redhat.com>
24338 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24340 2006-03-27 Tom Tromey <tromey@redhat.com>
24342 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24344 (getModifiersInternal): Renamed from getModifiers.
24345 (getModifiers): New method.
24346 (isBridge): Likewise.
24347 (isSynthetic): Likewise.
24348 (isVarArgs): Likewise.
24349 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24351 (getModifiersInternal): Renamed from getModifiers.
24352 (getModifiers): New method.
24353 (isSynthetic): Likewise.
24354 (isEnumConstant): Likewise.
24355 * vm/reference/java/lang/reflect/Constructor.java
24356 (getModifiersInternal): Renamed from getModifiers.
24357 (getModifiers): New method
24358 (CONSTRUCTOR_MODIFIERS): New constant.
24359 (isSynthetic): New method.
24360 (isVarArgs): Likewise.
24361 * java/lang/reflect/Member.java (isSynthetic): New method.
24363 2006-03-28 Tom Tromey <tromey@redhat.com>
24365 * java/net/Proxy.java (TYPE): Added missing ";".
24367 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24369 * java/math/RoundingMode.java:
24370 Fixed serialization UID.
24371 * java/net/Proxy.java:
24374 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24376 * java/io/CharArrayWriter.java:
24377 (append(char)): Documented.
24378 (append(CharSequence)): Likewise.
24379 (append(CharSequence,int,int)): Likewise.
24381 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24383 * vm/reference/java/lang/reflect/Constructor.java
24384 (getTypeParameters): Check return value of getSignature for null.
24385 * vm/reference/java/lang/reflect/Method.java
24386 (getTypeParameters): Check return value of getSignature for null.
24388 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24390 * java/rmi/activation/ActivationGroup_Stub.java:
24393 2006-03-27 Tom Tromey <tromey@redhat.com>
24395 * java/io/CharArrayWriter.java (append): New overloads.
24397 2006-03-27 Lillian Angel <langel@redhat.com>
24399 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24400 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24401 Added check for colormap. Prevents assertion error.
24402 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24404 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24406 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24408 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24410 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24413 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24415 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24416 AC_MSG_ERROR instead of echoing the error message
24417 that no compiler has been found manually.
24419 2006-03-27 Roman Kennke <kennke@aicas.com>
24421 * javax/swing/RepaintManager.java
24422 (commitBuffer): Use simple drawImage() method instead of the
24425 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24427 * javax/swing/text/PlainView.java:
24428 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24429 for painting the selected line.
24431 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24433 * javax/swing/plaf/basic/BasicSliderUI.java
24434 (getThumbSize): Removed TODO and updated API docs.
24436 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24438 * javax/swing/text/DefaultCaret.java:
24439 (mouseClicked): Word selection rewritten.
24440 (paint): Draw line inside the bounding rectangle.
24441 (damage): Retrieve caret height from line height.
24443 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24445 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24447 Check for -help option.
24448 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24450 2006-03-27 Roman Kennke <kennke@aicas.com>
24452 * javax/swing/text/FieldView.java
24453 (getPreferredSpan): Don't include trailing newline in
24455 * javax/swing/text/PlainView.java
24456 (drawLine): Don't include trailing newline.
24457 (determineMaxLineLength): Don't include trailing newline.
24458 (getLineBuffer): Made method final.
24460 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24462 * javax/swing/JSlider.java
24463 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24464 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24465 NotImplementedException,
24466 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24468 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24470 * java/lang/ProcessBuilder.java:
24473 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24475 * gnu/java/net/protocol/http/Headers.java:
24476 Match layout of file on HEAD.
24477 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24479 * java/awt/datatransfer/DataFlavor.java
24482 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24484 * gnu/java/security/jce/hash/HavalSpi.java,
24485 * gnu/java/security/jce/hash/MD2Spi.java,
24486 * gnu/java/security/jce/hash/MD4Spi.java,
24487 * gnu/java/security/jce/hash/MD5Spi.java,
24488 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24489 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24490 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24491 * gnu/java/security/jce/hash/Sha160Spi.java,
24492 * gnu/java/security/jce/hash/Sha256Spi.java,
24493 * gnu/java/security/jce/hash/Sha384Spi.java,
24494 * gnu/java/security/jce/hash/Sha512Spi.java,
24495 * gnu/java/security/jce/hash/TigerSpi.java,
24496 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24497 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24498 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24499 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24500 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24501 * gnu/java/security/jce/sig/SignatureAdapter.java,
24502 * gnu/java/security/key/IKeyPairCodec.java,
24503 * gnu/java/security/key/IKeyPairGenerator.java,
24504 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24505 * gnu/java/security/key/dss/DSSKey.java,
24506 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24507 * gnu/java/security/key/dss/DSSPrivateKey.java,
24508 * gnu/java/security/key/dss/DSSPublicKey.java,
24509 * gnu/java/security/key/dss/FIPS186.java,
24510 * gnu/java/security/key/rsa/GnuRSAKey.java,
24511 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24512 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24513 * gnu/java/security/sig/ISignature.java,
24514 * gnu/java/security/sig/ISignatureCodec.java,
24515 * gnu/java/security/sig/dss/DSSSignature.java,
24516 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24517 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24518 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24519 * gnu/java/security/util/Util.java:
24520 Remove CVS revision tags.
24522 2006-03-26 Tom Tromey <tromey@redhat.com>
24524 * java/io/InputStream.java (InputStream): Implements Closeable.
24526 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24528 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24530 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24531 getAnchor): New methods.
24532 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24533 getAnchor): New methods.
24534 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24535 getAnchor): New methods.
24536 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24537 getAnchor): New methods.
24538 * gnu/regexp/REMatch.java(start1): New field.
24539 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24540 (match): set the starting position to start1[] instead of start[],
24541 (getMatchImpl): Set the found REMatch to the input,
24542 (makeCharIndexed): Made public.
24543 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24544 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24545 set the value of start[] copying from start1[].
24546 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24548 * java/util/regex/Matcher.java(inputCharIndexed): New field
24549 to be used as a parameter of the RE#getMatch.
24551 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24553 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24554 Documented the default jre spawning strategy (none).
24555 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24556 getSystem): Obtain the acticivation system from the
24557 DefaultActivationSystem.
24559 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24561 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24562 Ask user for keystore password if one was not provided.
24564 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24566 * tools/README: Added Security tools section.
24567 Documented the jarsigner tool.
24569 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24571 * javax/swing/JScrollBar.java
24572 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24573 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24574 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24575 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24576 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24577 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24578 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24579 (getAccessibleContext): Updated API docs.
24581 2006-03-25 Tom Tromey <tromey@redhat.com>
24583 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24584 change or if generator script changes.
24586 2006-03-25 Tom Tromey <tromey@redhat.com>
24588 * javax/naming/ldap/StartTlsRequest.java: New file.
24589 * javax/naming/ldap/StartTlsResponse.java: New file.
24591 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24593 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24594 to validate all components of a resource path.
24595 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24596 allowed to walk through every component of a resource path.
24598 2006-03-25 Michael Koch <konqueror@gmx.de>
24600 * NEWS: Added item for CLDR 1.3 update.
24602 2006-03-25 Michael Koch <konqueror@gmx.de>
24604 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24605 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24606 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24607 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24608 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24609 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24612 2006-03-25 Michael Koch <konqueror@gmx.de>
24614 * resource/gnu/java/locale/LocaleInformation_az.properties,
24615 resource/gnu/java/locale/LocaleInformation_bs.properties,
24616 resource/gnu/java/locale/LocaleInformation_byn.properties,
24617 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24618 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24619 resource/gnu/java/locale/LocaleInformation_gez.properties,
24620 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24621 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24622 resource/gnu/java/locale/LocaleInformation_haw.properties,
24623 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24624 resource/gnu/java/locale/LocaleInformation_kok.properties,
24625 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24626 resource/gnu/java/locale/LocaleInformation_sid.properties,
24627 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24628 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24629 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24630 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24631 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24632 resource/gnu/java/locale/LocaleInformation_syr.properties,
24633 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24634 resource/gnu/java/locale/LocaleInformation_tig.properties,
24635 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24636 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24637 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24638 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24639 resource/gnu/java/locale/LocaleInformation_wal.properties,
24640 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24643 2006-03-25 Michael Koch <konqueror@gmx.de>
24645 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24646 resource/gnu/java/locale/LocaleInformation_kn.properties,
24647 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24648 resource/gnu/java/locale/LocaleInformation_ko.properties,
24649 resource/gnu/java/locale/LocaleInformation_sl.properties,
24650 resource/gnu/java/locale/LocaleInformation_so.properties,
24651 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24652 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24653 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24654 resource/gnu/java/locale/LocaleInformation_sr.properties:
24655 Random fixes I forgot to commit before.
24657 2006-03-25 Michael Koch <konqueror@gmx.de>
24659 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24660 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24661 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24662 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24663 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24664 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24665 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24666 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24667 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24668 resource/gnu/java/locale/LocaleInformation_en.properties,
24669 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24670 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24671 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24672 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24673 resource/gnu/java/locale/LocaleInformation_fa.properties,
24674 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24675 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24676 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24677 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24678 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24679 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24680 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24681 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24682 resource/gnu/java/locale/LocaleInformation_pa.properties,
24683 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24684 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24685 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24686 resource/gnu/java/locale/LocaleInformation_sa.properties,
24687 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24688 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24689 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24690 Updated currency formats.
24692 2006-03-25 Roman Kennke <kennke@aicas.com>
24694 * javax/swing/text/AbstractDocument.java
24695 (getAttributeContext): Made method final.
24696 (getCurrentWriter): Likewise.
24697 (getEndPosition): Likewise.
24698 (getProperty): Likewise.
24699 (getStartPosition): Likewise.
24700 (putProperty): Likewise.
24701 (readLock): Likewise.
24702 (readUnlock): Likewise.
24703 (writeLock): Likewise.
24704 (writeUnlock): Likewise.
24706 2006-03-25 Roman Kennke <kennke@aicas.com>
24708 * javax/swing/InputMap.java
24709 (allKeys): Check if parent keys is null.
24710 * javax/swing/KeyboardManager.java
24711 (registerEntireMap): Also register map's parent keys.
24712 * javax/swing/plaf/metal/MetalRootPaneUI.java
24713 (propertyChange): Also call super.propertyChange().
24715 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24717 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24718 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24719 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24720 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24721 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24722 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24724 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24726 * gnu/java/util/jar/JarUtils.java: New file.
24727 * java/util/jar/Manifest.java (CRLF): Removed.
24728 (read_main_section): Likewise.
24729 (read_version_info): Likewise.
24730 (expect_header(String,BufferedReader)): Likewise.
24731 (expect_header(String,BufferedReader,String)): Likewise.
24732 (read_header_value): Likewise.
24733 (read_attributes): Likewise.
24734 (read_attribute): Likewise.
24735 (read_individual_sections): Likewise.
24736 (read_section_name): Likewise.
24737 (write_main_section): Likewise.
24738 (write_version_info): Likewise.
24739 (write_header): Likewise.
24740 (write_main_attributes): Likewise.
24741 (write_attribute_entry): Likewise.
24742 (write_individual_sections): Likewise.
24743 (write_entry_attributes): Likewise.
24744 (read): use JarUtils.
24747 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24749 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24752 (SignerInfo(BERReader)): Updated javadoc.
24754 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24756 (encode): New method.
24757 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24758 (PKCS7_DATA): Removed.
24761 (PKCS7SignedData(BERReader)): Updated javadoc.
24763 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24765 (encode): New method.
24766 * gnu/java/security/pkcs/PKCS7Data.java: New file.
24767 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24768 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24769 (decodePrivateKey): Decode x from an OCTET STRING.
24770 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24771 (toString): New method.
24772 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24774 (toString): New method.
24775 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24776 (toString): New method.
24777 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24779 2006-03-25 Roman Kennke <kennke@aicas.com>
24781 * java/util/GregorianCalender.java
24782 (computeTime): Fix comparison to correctly calculate the
24785 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
24788 * java/awt/Window.java:
24789 (setFocusCycleRoot): New overriden method.
24790 (isFocusCycleRoot): Likewise.
24791 (getFocusCycleRootAncestor): Likewise.
24792 * java/awt/Container.java:
24793 (getFocusTraversalPolicy): Check also for anchestor == null.
24795 2006-03-25 Mark Wielaard <mark@klomp.org>
24797 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24798 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24801 2006-03-24 Tom Tromey <tromey@redhat.com>
24803 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24805 (writeChar): Removed useless cast.
24806 (writeChars(String)): Implemented.
24807 (writeDouble): Rewrote.
24808 (writeFloat): Likewise.
24809 (writeUTF): Implemented.
24810 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24813 2006-03-24 Roman Kennke <kennke@aicas.com>
24815 * javax/swing/JButton.java
24816 (def): Replaced field with defaultCapable field.
24817 (is_def): Removed field.
24818 (JButton): Initialize defaultCapable with true.
24819 (isDefaultButton): Documented and implemented method by querying
24820 the button's root pane if present.
24821 (isDefaultCapable): Changed def field to defaultCapable.
24822 Added documentation.
24823 (paramString): Call isDefaultButton() instead of accessing field,
24825 (setDefaultCapable): Changed def field to defaultCapable.
24826 Added documentation.
24827 * javax/swing/JRootPane.java
24828 (setDefaultButton): Only change the default button if the
24829 new button is defaultCapable.
24830 * javax/swing/plaf/basic/BasicRootPaneUI.java
24831 (DefaultPressAction): New class.
24832 (DefaultReleaseAction): New class.
24833 (installKeyboardActions): Implemented.
24834 (uninstallKeyboardActions): Implemented.
24835 (propertyChange): Implemented.
24836 * javax/swing/plaf/metal/MetalBorders.java
24837 (ButtonBorder.paintBorder): 'Outsourced' default theme
24838 painting to paintDefaultButtonBorder().
24839 (ButtonBorder.paintDefaultButtonBorder): New helper method
24840 to paint the border in the default theme. This also fixes
24841 painting of the border for default buttons.
24842 (ButtonBorder.paintOceanButtonBorder): Added support for
24843 default button painting. Fixed border for pressed/default state.
24844 * javax/swing/plaf/metal/MetalButtonUI.java
24845 (update): Only paint gradient when in OceanTheme and when the
24846 button is not armed.
24848 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24850 * gnu/java/rmi/activation/ActivationSystemTransient.java:
24851 Inherit from Activator.
24853 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24855 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24856 Print debug message if debug flag is set.
24857 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24858 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24859 detail, do not call iniCause(). (exportClass): New method.
24860 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24861 Ignore null (bootstrap) class loader.
24862 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24863 buildMethodHash, findStubSkelClass, getHelperClass): Changed
24864 visibility to protected.
24865 * java/rmi/activation/Activatable.java (export, register): Rewritten.
24866 (toStub): New method.
24867 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24868 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
24869 Explained property java.rmi.activation.port.
24871 2006-03-24 Tom Tromey <tromey@redhat.com>
24873 * .externalToolBuilders/CreateLocaleData.launch: Updated.
24874 * gnu/java/locale/.cvsignore: New file.
24875 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24876 * java/util/Locale.java (getAvailableLocales): Clone result.
24877 (getISOCountries): Likewise.
24878 (getISOLanguages): Likewise.
24879 * scripts/generate-locale-list.sh: Make class public. Added new
24881 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24882 (getLocaleCount): Likewise.
24883 * java/text/Collator.java (getInstance): Javadoc typo fix.
24884 (getAvailableLocales): Wrote.
24886 2006-03-24 Roman Kennke <kennke@aicas.com>
24888 * javax/swing/JTabbedPane.java
24889 (getSelectedComponent): Return null when no component is
24892 2006-03-24 Mark Wielaard <mark@klomp.org>
24894 * NEWS: Add cursor and selection improvements.
24896 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24898 * java/awt/Component.java
24899 (getAccessibleName): Just return accessibleName,
24900 * javax/swing/AbstractButton.java
24901 (getAccessibleStateSet): Mark as stub,
24902 (getAccessibleName): Implemented,
24903 (getAcessibleIcon): Mark as stub,
24904 (getAccessibleRelationSet): Likewise,
24905 (getAccessibleAction): Likewise,
24906 (getAccessibleValue): Likewise,
24907 (getAccessibleActionCount): Likewise,
24908 (getAccessibleActionDescription): Likewise,
24909 (doAccessibleAction): Likewise,
24910 (getCurrentAccessibleValue): Likewise,
24911 (setCurrentAccessibleValue): Likewise,
24912 (getMinimumAccessibleValue): Likewise,
24913 (getMaximumAccessibleValue): Likewise,
24914 (getAccessibleText): Likewise,
24915 (getIndexAtPoint): Likewise,
24916 (getCharacterBounds): Likewise,
24917 (getCharCount): Likewise,
24918 (getCaretPosition): Likewise,
24919 (getAtIndex): Likewise,
24920 (getAfterIndex): Likewise,
24921 (getBeforeIndex): Likewise,
24922 (getCharacterAttribute): Likewise,
24923 (getSelectionStart): Likewise,
24924 (getSelectionEnd): Likewise,
24925 (getSelectedText): Likewise,
24926 (getTextRectangle): Likewise,
24927 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24928 (getIconTextGap): Added @since 1.4,
24929 (setContentAreaFilled): Reordered code to make event sequence match
24930 reference implementation,
24931 * javax/swing/JButton.java
24932 (getSelectedObjects): Removed,
24933 *javax/swing/JComponent.java
24934 (getAccessibleName): Call super.
24936 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24938 * javax/swing/JProgressBar.java
24939 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24940 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24941 (AccessibleJProgressBar.getAccessibleValue): Implemented,
24942 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24943 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24944 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24945 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24946 (getAccessibleContext): Added API docs.
24948 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24950 * javax/swing/plaf/basic/BasicTextUI.java:
24951 (FocusListener.focusLost): Put current selection into the system
24954 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24956 * java/awt/Component.java:
24957 (processMouseEvent): Remove call to consume event.
24958 (dispatchEventImpl): Handle specific events first, do focus request
24959 only when mouse event was not yet consumed.
24960 * javax/swing/text/DefaultCaret.java:
24961 (mousePressed): Rewritten.
24962 (setDot): Changed order of operations.
24965 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24967 * javax/swing/JComponent.java
24968 (AccessibleJComponent.changeSupport): Removed field,
24969 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24970 (AccessibleJComponent.addPropertyChangeListener): Call super,
24971 (AccessibleJComponent.removePropertyChangeListener): Likewise,
24972 * javax/swing/JSlider.java
24973 (AccessibleJSlider.getAccessibleStateSet): Implemented,
24974 (AccessibleJSlider.getAccessibleRole): Likewise,
24975 (AccessibleJSlider.getAccessibleValue): Likewise,
24976 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24977 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24978 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24979 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24980 (getAccessibleContext): Added API docs.
24982 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24984 * gnu/java/rmi/activation/ActivationSystemTransient.java
24985 (debug): Made public. (constructor): Made protected.
24986 (activate, getActivationDesc): Throw more informative exceptions.
24987 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24989 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
24991 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24993 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24995 * java/rmi/activation/Activatable.java (obtainId): Use the activation
24996 system, passed in the activation descriptor field.
24997 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24998 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24999 to package private final. (equals): Compare uid, not the system.
25000 (hashCode): Forward to uid.hashCode(). toString(): New method.
25001 * java/rmi/activation/ActivationID.java (readObject, writeObject):
25002 Rewritten. (equals): Compare UID only. toString(): New method.
25003 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25004 UID (space). (hashCode, toString): Rewritten.
25005 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
25006 New method. (invoke): Treat null as an empty array for parameters.
25007 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25008 Include count, do not include the static machineId.
25010 2006-03-23 Tom Tromey <tromey@redhat.com>
25012 * java/net/URLConnection.java (getContent(Class[])): Implemented.
25014 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25016 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25017 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25018 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25019 (force): New field. (setForce): New method. (compile): Handle -force.
25020 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25021 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25023 2006-03-23 Roman Kennke <kennke@aicas.com>
25025 * javax/swing/JTabbedPane.java
25026 (Page.getBackground): Return the JTabbedPane's background,
25027 rather than the page's component background.
25028 (Page.getForeground): Return the JTabbedPane's foreground,
25029 rather than the page's component foreground.
25030 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25031 (uninstallUI): Don't set colors to null.
25032 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25033 (paintTabBackground): Correctly determine the tab background.
25034 (getUnselectedBackground): New helper method to
25035 handle the UI property 'TabbedPane.unselectedBackground'
25038 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25040 * javax/swing/plaf/basic/BasicInternalFrameUI.java
25041 (BorderListener.showingResizeCursor): New field.
25042 (BorderListener.mouseMoved, BorderListner.mouseExited):
25045 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25047 * javax/swing/JComboBox.java
25048 (selectWithKeyChar): Mark as stub,
25049 * javax/swing/JFileChooser.java
25050 (setDragEnabled): Mark as stub,
25051 (getDragEnabled): Likewise,
25052 * javax/swing/JSlider.java
25053 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25054 (AccessibleJSlider.getAccessibleRole): Likewise,
25055 (AccessibleJSlider.getAccessibleValue): Likewise,
25056 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25057 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25058 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25059 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25060 * javax/swing/UIManager.java
25061 (installLookAndFeel): Mark as stub,
25062 (setInstalledLookAndFeels): Likewise.
25064 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25066 * javax/swing/filechooser/UnixFileSystemView.java
25067 (getSystemDisplayName): Mark as stub,
25068 (getSystemIcon): Likewise,
25069 (getSystemTypeDescription): Likewise.
25071 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25073 * javax/swing/tree/AbstractLayoutCache.java
25074 (getNodeDimensions): Mark as stub,
25075 (getPreferredHeight): Likewise,
25076 (getPreferredWidth): Likewise,
25077 (getRowsForPaths): Likewise,
25078 (isFixedRowHeight): Likewise,
25079 * javax/swing/tree/DefaultTreeModel.java
25080 (reload()): Mark as stub,
25081 (reload(TreeNode)): Likewise,
25082 (nodeStructureChanged): Likewise,
25083 * javax/swing/tree/DefaultTreeSelectionModel.java
25084 (clone): Mark as stub,
25085 (setRowMapper): Likewise,
25086 (setSelectionPaths): Likewise,
25087 (isRowSelected): Likewise,
25088 (resetRowSelection): Likewise,
25089 (insureRowContinuity): Likewise,
25090 (arePathsContiguous): Likewise,
25091 (canPathsBeAdded): Likewise,
25092 (canPathsBeRemoved): Likewise,
25093 (notifyPathChange): Likewise,
25094 (updateLeadIndex): Likewise,
25095 (insureUniqueness): Likewise,
25096 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25098 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25100 2006-03-22 Tom Tromey <tromey@redhat.com>
25102 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25104 (getStaticAttributeKey): Likewise.
25105 (readAttributeSet): Likewise.
25106 (writeAttributeSet): Likewise.
25107 (readAttributes): Likewise.
25108 (writeAttributes): Likewise.
25109 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25111 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25113 (fireChangedUpdate): Likewise.
25116 (handleEndOfLineString): Likewise.
25117 (textAreaContent): Likewise.
25118 (preContent): Likewise.
25119 (addSpecialElement): Likewise.
25120 (setInnerHTML): Likewise.
25121 (setOuterHTML): Likewise.
25122 (insertBeforeStart): Likewise.
25123 (insertBeforeEnd): Likewise.
25124 (insertAfterEnd): Likewise.
25125 (insertAfterStart): Likewise.
25126 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25127 Mark all methods as stub.s
25128 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25130 (paintHorizontalSeparators): Likewise.
25131 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25133 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25135 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25137 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25140 2006-03-22 Mark Wielaard <mark@klomp.org>
25142 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25144 2006-03-22 Mark Wielaard <mark@klomp.org>
25147 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25148 Takes GtkImage, x and y coordinates.
25149 (gtkWidgetSetCursorUnlocked): Likewise.
25150 (GtkComponentPeer): Set cursor when set.
25151 (setCursor): Handle GtkCursor.
25152 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25154 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25155 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25156 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25157 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25159 2006-03-23 Roman Kennke <kennke@aicas.com>
25162 * gnu/java/security/Registry.java
25163 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25164 * gnu/javax/crypto/pad/PadFactory.java
25165 (getInstance): For PKCS#5, also return PKCS#7 pad
25167 (getNames): Added PKCS#5.
25168 * javax/crypto/KeyGenerator.java
25169 (getInstance): Initialize key generator before returning
25172 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25174 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25175 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25176 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25177 if COMMENTS is set.
25179 2006-03-22 Tom Tromey <tromey@redhat.com>
25181 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25182 (getBoolean): Likewise.
25183 (getString): Likewise.
25184 (getIcon): Likewise.
25186 2006-03-22 Mark Wielaard <mark@klomp.org>
25189 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25190 (GLightweightPeer(Component)): Install MouseListener.
25191 (setCursor): Implement.
25192 (mouseEntered): New method.
25194 2006-03-22 Tom Tromey <tromey@redhat.com>
25196 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25198 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25200 (getFontForState): Likewise.
25201 (getInsets): Added 'result' argument.
25202 (getPainter): Renamed.
25204 2006-03-22 Tom Tromey <tromey@redhat.com>
25206 * javax/swing/plaf/synth/SynthPainter.java
25207 (paintScrollBarThumbBackground): Added 'orientation' argument.
25208 (paintScrollBarThumbBorder): Likewise.
25209 (paintSliderThumbBackground): Likewise.
25210 (paintSliderThumbBorder): Likewise.
25211 (paintTabbedPaneTabBackground): Added 'index' argument.
25212 (paintTabbedPaneTabBorder): Likewise.
25214 2006-03-22 Tom Tromey <tromey@redhat.com>
25216 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25217 (toString): New method.
25219 2006-03-22 Tom Tromey <tromey@redhat.com>
25221 * doc/hacking.texinfo (Source Code Style Guide): Mention
25222 NotImplementedException.
25223 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25224 (flushBefore): Mark as stub.
25226 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25228 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25231 (writeBit): Likewise.
25232 (writeChars): Likewise.
25233 (writeUTF): Likewise.
25234 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25237 * java/net/URLConnection.java (getContent): Mark as stub.
25238 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25239 * java/awt/TexturePaint.java (createContext): Mark as stub.
25240 (getTransparency): Mark as stub.
25241 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25242 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25243 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25245 (getImageCapabilities): Likewise.
25246 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25247 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25248 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25250 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25251 (getAdvanceBetween): Likewise.
25252 (getLayout): Likewise.
25253 (insertChar): Likewise.
25254 (getLineBreakIndex): Likewise.
25255 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25256 (getAdvance): Likewise.
25257 (getAscent): Likewise.
25258 (getDescent): Likewise.
25259 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25260 (insertChar): Likewise.
25261 (nextLayout): Likewise.
25262 (nextLayout): Likewise.
25263 (nextOffset): Likewise.
25264 (nextOffset): Likewise.
25265 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25266 (equals): Likewise.
25267 (getAdvance): Likewise.
25268 (getAscent): Likewise.
25269 (getBounds): Likewise.
25270 (getDescent): Likewise.
25271 (hashCode): Likewise.
25272 (ImageGraphicAttribute): Likewise.
25273 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25274 (getJustificationInfo): Likewise.
25275 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25276 (getGlyphCharIndices): Likewise.
25277 (getGlyphOutline): Likewise.
25278 (getGlyphPixelBounds): Likewise.
25279 (getLayoutFlags): Likewise.
25280 (getPixelBounds): Likewise.
25281 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25282 (getRSB): Likewise.
25283 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25284 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25285 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25287 (resetRecognizer): Likewise.
25288 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25290 (getNativesForFlavor): Likewise.
25291 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25292 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25294 (getRegion): Likewise.
25295 (createUI): Likewise.
25296 (initialize): Likewise.
25297 (uninitialize): Likewise.
25298 (getDefaults): Likewise.
25300 (shouldUpdateStyleOnAncestorChanged): Likewise.
25301 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25303 (getPreferredSize): Likewise.
25304 (getMaximumSize): Likewise.
25305 (paintText): Likewise.
25306 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25308 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25310 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25312 * java/io/ObjectStreamConstants.java: Added since tag.
25313 (PROTOCOL_VERSION_1): Added javadoc.
25314 (PROTOCOL_VERSION_2): Likewise.
25315 * java/io/ObjectOutputStream.java:
25316 (setDefaultProtocolVersion): Removed.
25317 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25319 2006-03-21 Lillian Angel <langel@redhat.com>
25321 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25322 (BMPInfoHeader): Removed debug lines.
25323 * gnu/javax/imageio/bmp/EncodeRLE4.java
25324 (encode): Implemented.
25325 (uncompress): New function implemented to
25326 uncompress the image before encoding.
25327 * gnu/javax/imageio/bmp/EncodeRLE8.java
25328 (encode): Implemented.
25329 (uncompress): New function implemented to
25330 uncompress the image before encoding.
25332 2006-03-21 Roman Kennke <kennke@aicas.com>
25334 * javax/swing/text/html/FormView.java
25335 (getImageData): New helper method.
25337 2006-03-21 Tom Tromey <tromey@redhat.com>
25339 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25341 (Unsafe): Now final.
25343 2006-03-21 Roman Kennke <kennke@aicas.com>
25345 * javax/swing/text/html/FormView.java
25346 (MouseEventListener): New inner class.
25348 2006-03-21 Roman Kennke <kennke@aicas.com>
25350 * javax/swing/text/html/ListView.java: New file.
25352 2006-03-21 Tom Tromey <tromey@redhat.com>
25354 * java/text/Bidi.java: Completed.
25356 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25358 * javax/swing/JTable.java:
25359 (columnAtPoint): Removed the null check, this method should throw a NPE
25360 if the argument is null.
25362 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25364 * javax/swing/text/DefaultHighlighter.java:
25365 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25367 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25369 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25370 the textcomponent having a selection.
25371 (clearSelection): Clear 'componentWithSelection' variable.
25372 (handleSelection): Clear selection of current component having a
25373 selection before setting a new selection in another component.
25374 (mouseDragged): Only react on left mouse button.
25375 (mouseClicked): Only react on left mouse button.
25377 2006-03-21 Roman Kennke <kennke@aicas.com>
25379 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25380 (paintContentBorderTopEdge): Implemented.
25381 (paintContentBorderBottomEdge): Implemented.
25382 (paintContentBorderLeftEdge): Implemented.
25383 (paintContentBorderRightEdge): Implemented.
25384 (isLastTabInRun): New helper method.
25386 2006-03-21 Roman Kennke <kennke@aicas.com>
25388 * javax/swing/JTabbedPane.java
25389 (Page.getForeground): Fall back to returning the tabbed pane's
25390 foreground if no foreground has been exclicitly set.
25392 2006-03-21 Roman Kennke <kennke@aicas.com>
25394 * javax/swing/plaf/metal/MetalComboBoxButton.java
25395 (setEnabled): Update colors of button correctly.
25396 * javax/swing/plaf/metal/MetalComboBoxUI.java
25397 (MetalPropertyChangeListener.propertyChange): Update the colors
25398 of the list and the button when any of the color properties
25399 of the ComboBox change.
25401 2006-03-21 Roman Kennke <kennke@aicas.com>
25403 * javax/swing/plaf/basic/BasicButtonUI.java
25404 (uninstallDefaults): Only nullify button colors if they are
25405 not UIResource instances.
25407 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25409 * javax/swing/JComponent.java
25410 (AccessibleJComponent.getAccessibleDescription): Call super,
25411 * javax/swing/JToolTip.java: API doc updates all over, plus
25412 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25413 (AccessibleJToolTip.getAccessibleRole): Implemented,
25414 (getAccessibleContext): Implemented,
25415 (paramString): Reimplemented,
25416 (setComponent): Fire PropertyChangeEvent,
25417 (setTipText): Likewise.
25419 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25421 * java/util/Formatter.java:
25422 Make the class final.
25424 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25426 * java/lang/System.java:
25427 (nanoTime()): Documented.
25428 * java/lang/Thread.java:
25429 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25430 Added docs and security check.
25431 (getUncaughtExceptionHandler()): Documented.
25432 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25433 Added docs and security check.
25434 (getDefaultUncaughtExceptionHandler()): Documented.
25435 (getId()): Documented.
25436 (Thread.State): Documented.
25437 * vm/reference/gnu/classpath/Unsafe.java:
25439 (getUnsafe()): Updated to handle security.
25441 2006-03-20 Tom Tromey <tromey@redhat.com>
25443 * java/lang/System.java:
25444 (nanoTime()): Implemented.
25445 * java/lang/Thread.java:
25446 (getId()): Implemented.
25447 * java/util/AbstractMap.java:
25448 (SimpleImmutableEntry): New 1.6 class.
25449 (BasicMapEntry): Modified to be SimpleEntry.
25450 * java/util/Collections.java:
25451 Modified to use SimpleEntry.
25452 * java/util/EnumMap.java: Likewise.
25453 * java/util/HashMap.java: Likewise.
25454 * java/util/Hashtable.java: Likewise.
25455 * java/util/TreeMap.java: Likewise.
25456 * vm/reference/gnu/classpath/Unsafe.java:
25457 New class to handle low-level facilities for concurrency.
25458 * vm/reference/java/lang/VMSystem.java:
25459 (nanoTime()): Implemented.
25461 2006-03-20 Tom Tromey <tromey@redhat.com>
25463 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25464 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25465 (CertStoreSpi): Updated throws clause.
25466 * java/security/cert/CertPathValidatorSpi.java: Added import for
25468 (engineValidate): Updated 'throws' clause.
25469 * java/security/cert/PKIXParameters.java: Javadoc fix.
25470 * java/security/cert/X509CertSelector.java
25471 (setAuthorityKeyIdentifier): Javadoc fix.
25473 2006-03-20 Tom Tromey <tromey@redhat.com>
25475 * .classpath: Build gnu.javax.swing.plaf.
25477 2006-03-20 Lillian Angel <langel@redhat.com>
25479 * gnu/javax/imageio/bmp/BMPDecoder.java:
25480 Removed unneeded import.
25481 * gnu/javax/imageio/bmp/BMPEncoder.java:
25483 * gnu/javax/imageio/bmp/BMPFileHeader.java
25484 (BMPFileHeader): New constructor used to create info header
25485 for an output stream.
25486 (write): Fixed indexes.
25487 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25488 Initialized writerSpiNames field.
25489 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25491 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25493 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25494 Change visibility for fields.
25495 (BMPInfoHeader): New constructor used to create
25496 file header for an output stream.
25497 (intToDWord): New method. Converts an int to a
25499 (intToWord): New method. Converts an int to a word.
25500 * gnu/javax/imageio/bmp/DecodeBF32.java:
25501 Removed unneeded imports.
25502 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25504 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25506 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25508 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25510 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25512 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25514 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25516 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25518 * javax/imageio/ImageIO.java:
25521 2006-03-20 Roman Kennke <kennke@aicas.com>
25523 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25524 (TabbedPaneLayout.normalizeTabRuns): New method.
25525 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25526 (paintTabBorder): Replaced if-else chain with switch.
25527 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25529 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25531 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25533 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25535 (paintTabBackground): Fetch background color from the TabbedPane.
25536 Fixed painting and improved by not using fillPolygon, and instead
25537 using fillRectangle. Replaced if-else chain with switch.
25538 (calculateMaxTabHeight): Added overridden method with FIXME.
25539 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25541 (paintContentBorderTopEdge): Added stub with FIXME.
25542 (paintContentBorderBottomEdge): Added stub with FIXME.
25543 (paintContentBorderLeftEdge): Added stub with FIXME.
25544 (paintContentBorderRightEdge): Added stub with FIXME.
25546 2006-03-20 Roman Kennke <kennke@aicas.com>
25548 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25549 (tabsOpaque): New field.
25550 (installDefaults): Fetch tabsOpaque property from UIManager.
25551 (paintTab): Fill tab background when tabsOpaque property is true.
25552 * javax/swing/plaf/basic/BasicLookAndFeel.java
25553 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25555 2006-03-20 Roman Kennke <kennke@aicas.com>
25557 * javax/swing/JTabbedPane.java
25558 (Pane.getBackground): When no background was explicitly set, return
25559 the JTabbedPane's background.
25561 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25563 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25564 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25565 * org/omg/CORBA/BAD_INV_ORDER.java,
25566 * org/omg/CORBA/BAD_CONTEXT.java,
25567 * org/omg/CORBA/BAD_OPERATION.java,
25568 * org/omg/CORBA/BAD_PARAM.java,
25569 * org/omg/CORBA/BAD_QOS.java,
25570 * org/omg/CORBA/BAD_TYPECODE.java,
25571 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25572 * org/omg/CORBA/COMM_FAILURE.java,
25573 * org/omg/CORBA/CurrentHolder.java,
25574 * org/omg/CORBA/DATA_CONVERSION.java,
25575 * org/omg/CORBA/FREE_MEM.java,
25576 * org/omg/CORBA/IMP_LIMIT.java,
25577 * org/omg/CORBA/INITIALIZE.java,
25578 * org/omg/CORBA/INTERNAL.java,
25579 * org/omg/CORBA/INTF_REPOS.java,
25580 * org/omg/CORBA/INVALID_ACTIVITY.java,
25581 * org/omg/CORBA/INVALID_TRANSACTION.java,
25582 * org/omg/CORBA/INV_FLAG.java,
25583 * org/omg/CORBA/INV_IDENT.java,
25584 * org/omg/CORBA/INV_OBJREF.java,
25585 * org/omg/CORBA/INV_POLICY.java,
25586 * org/omg/CORBA/MARSHAL.java,
25587 * org/omg/CORBA/NO_RESOURCES.java,
25588 * org/omg/CORBA/NO_MEMORY.java,
25589 * org/omg/CORBA/NO_IMPLEMENT.java,
25590 * org/omg/CORBA/NO_PERMISSION.java,
25591 * org/omg/CORBA/NO_RESPONSE.java,
25592 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25593 * org/omg/CORBA/OBJ_ADAPTER.java,
25594 * org/omg/CORBA/ParameterModeHolder.java,
25595 * org/omg/CORBA/PolicyError.java,
25596 * org/omg/CORBA/PolicyErrorHolder.java,
25597 * org/omg/CORBA/PolicyHolder.java,
25598 * org/omg/CORBA/PolicyListHolder.java,
25599 * org/omg/CORBA/REBIND.java,
25600 * org/omg/CORBA/TIMEOUT.java,
25601 * org/omg/CORBA/TRANSACTION_MODE.java,
25602 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25603 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25604 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25605 * org/omg/CORBA/TRANSIENT.java,
25606 * org/omg/CORBA/TypeCodeHolder.java,
25607 * org/omg/CORBA/UNKNOWN.java,
25608 * org/omg/CORBA/UnionMember.java,
25609 * org/omg/CORBA/UnknownUserException.java,
25610 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25611 * org/omg/CORBA/WrongTransactionHolder.java,
25612 * org/omg/IOP/IOR.java,
25613 * org/omg/IOP/IORHolder.java,
25614 * org/omg/IOP/MultipleComponentProfileHolder.java,
25615 * org/omg/IOP/ServiceContextHolder.java,
25616 * org/omg/IOP/ServiceContextListHolder.java,
25617 * org/omg/IOP/TaggedComponentHolder.java,
25618 * org/omg/IOP/TaggedProfileHolder.java,
25619 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25620 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25621 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25622 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25623 Made class final, various javadoc fixlets.
25624 * org/omg/CORBA/CompletionStatus.java,
25625 * org/omg/CORBA/PERSIST_STORE.java,
25626 * org/omg/CORBA/ValueMember.java,
25627 * org/omg/PortableInterceptor/ForwardRequest.java,
25628 * org/omg/PortableInterceptor/InvalidSlot.java,
25629 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25630 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25631 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25632 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25633 * org/omg/IOP/Encoding.java,
25634 * org/omg/IOP/TaggedComponent.java,
25635 * org/omg/IOP/TaggedProfile.java: Made class final.
25636 * org/omg/CORBA/SystemException.java: Made class abstract.
25637 * org/omg/CORBA/UserException.java: Made class abstract.
25638 (UserException): Now protected.
25639 (UserException(String)): Likewise.
25640 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25641 (typecode): Removed unused private variable.
25643 2006-03-20 Chris Burdess <dog@gnu.org>
25646 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25648 2006-03-20 Roman Kennke <kennke@aicas.com>
25650 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25651 (paintTabArea): Look up tab run indices in tabRuns array instead
25652 of using the index directly.
25654 2006-03-20 Roman Kennke <kennke@aicas.com>
25656 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25657 (paintTab): Fixed painting.
25658 (paintText): Fixed text painting.
25659 (paintFocusIndicator): Fixed painting of the focus rectangle.
25660 (paintContentBorder): Fixed painting of the content area.
25662 2006-03-20 Mark Wielaard <mark@klomp.org>
25664 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25665 static lock Object field.
25666 (produce): Synchronize on pixbufLock when calling initState(),
25667 pumpBytes() and pumpDone().
25668 (finalize): Likewise when calling finish().
25669 (GdkPixbufWriter.write): Likewise when calling streamImage().
25670 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25671 when calling loadPixbuf. Chain exception.
25672 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25673 (GtkImage(URL)): Likewise.
25674 (GtkImage(int,int)): Likewise when calling createPixmap().
25675 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25676 createScaledPixmap().
25677 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25678 (setImage): Likewise when calling createPixmap() and setPixels().
25679 (getSource): Likewise when calling getPixels().
25680 (flush): Likewise when calling freePixmap().
25681 (finalize): Likewise.
25682 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25683 drawPixelsScaledFlipped().
25684 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25685 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25686 gdk_threads_enter/leave().
25687 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25688 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25689 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25690 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25691 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25692 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25693 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25694 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25695 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25696 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25697 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25698 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25699 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25701 2006-03-20 Roman Kennke <kennke@aicas.com>
25703 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25704 (calculateTabHeight): Not need to use SwingUtilities here.
25705 (getTabInsets): Do not rotate insets.
25707 2006-03-20 Roman Kennke <kennke@aicas.com>
25709 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25710 (paint): Make sure the layout is valid before painting.
25711 (paintTabArea): Made tab painting more straightforward and efficient.
25713 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25715 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25716 (getScrollableUnitIncrement): Rewritten.
25717 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25718 (getScrollableUnitIncrement): Rewritten.
25719 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25720 (ROWS_PER_WHEEL_CLICK): New field.
25721 (MouseWheelHandler.mouseWheelMoved): Rewritten.
25723 2006-03-20 Roman Kennke <kennke@aicas.com>
25725 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25726 (paint): Make sure the layout is valid before painting.
25727 (paintTabArea): Made tab painting more straightforward and efficient.
25729 2006-03-20 Roman Kennke <kennke@aicas.com>
25731 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25732 (MouseHandler.mousePressed): Rewritten for clearer and simpler
25734 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25735 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25736 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25737 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25738 bounds here. That is moved into layoutContainer().
25739 (calculateSize): Correctly respect insets. Made code slightly more
25740 clear and efficient.
25741 (calculateTabRects): Rewritten completely. The old code was
25742 not quite right and unstable in some situations.
25743 (layoutContainer): Moved layout of tabbed pane's subcomponents
25745 (tabRunsDirty): New field.
25746 (rolloverTab): New field.
25747 (tabForCoordinate): Rewritten for simplicity and correctness.
25748 (setRolloverTab): New method.
25749 (getRolloverTab): New method.
25751 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25753 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25754 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25755 (getScrollableUnitIncrement
25756 * javax/swing/Scrollable.java: Documented.
25757 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25758 (MouseWheelHandler):Rewritten.
25760 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25762 * doc/vmintegration.texinfo:
25763 Updated with gnu.classpath.Unsafe
25765 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25768 Updated with VMArray and Unsafe changes.
25770 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25772 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25773 (getScrollableUnitIncrement): Rewritten.
25774 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25775 (getScrollableUnitIncrement): Rewritten.
25776 (getScrollableBlockIncrement): Rewritten.
25777 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25778 (MouseWheelHandler): Implemented. (ViewportContainerListener):
25779 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
25780 New field. (installListeners): Install wheel listeners.
25781 (uninstallListeners): Uninstall wheel listeners.
25782 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25783 of the MouseWheelListener. (installListeners): Do not install wheel
25784 listener. (ROWS_PER_WHEEL_CLICK): Removed.
25786 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25788 * vm/reference/gnu/classpath/Unsafe.java:
25790 (getUnsafe()): Updated to handle security.
25792 2006-03-19 Tom Tromey <tromey@redhat.com>
25794 * vm/reference/gnu/classpath/Unsafe.java:
25795 New class to handle low-level facilities for concurrency.
25797 2006-03-19 Mark Wielaard <mark@klomp.org>
25799 * include/Makefile.am: Rename PlainDatagramSocketImpl to
25800 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25801 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25802 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25804 2006-03-19 Mark Wielaard <mark@klomp.org>
25806 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25808 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25810 2006-03-19 Michael Koch <konqueror@gmx.de>
25812 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25813 resource/gnu/java/locale/LocaleInformation_am.properties,
25814 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25815 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25816 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25817 resource/gnu/java/locale/LocaleInformation_bg.properties,
25818 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25819 resource/gnu/java/locale/LocaleInformation_ca.properties,
25820 resource/gnu/java/locale/LocaleInformation_cs.properties,
25821 resource/gnu/java/locale/LocaleInformation_cy.properties,
25822 resource/gnu/java/locale/LocaleInformation_da.properties,
25823 resource/gnu/java/locale/LocaleInformation_de.properties,
25824 resource/gnu/java/locale/LocaleInformation_dv.properties,
25825 resource/gnu/java/locale/LocaleInformation_el.properties,
25826 resource/gnu/java/locale/LocaleInformation_en.properties,
25827 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25828 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25829 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25830 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25831 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25832 resource/gnu/java/locale/LocaleInformation_es.properties,
25833 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25834 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25835 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25836 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25837 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25838 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25839 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25840 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25841 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25842 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25843 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25844 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25845 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25846 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25847 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25848 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25849 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25850 resource/gnu/java/locale/LocaleInformation_es_US.properties,
25851 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25852 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25853 resource/gnu/java/locale/LocaleInformation_fa.properties,
25854 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25855 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25856 resource/gnu/java/locale/LocaleInformation_fi.properties,
25857 resource/gnu/java/locale/LocaleInformation_fr.properties,
25858 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25859 resource/gnu/java/locale/LocaleInformation_ga.properties,
25860 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25861 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25862 resource/gnu/java/locale/LocaleInformation_hr.properties,
25863 resource/gnu/java/locale/LocaleInformation_hu.properties,
25864 resource/gnu/java/locale/LocaleInformation_id.properties,
25865 resource/gnu/java/locale/LocaleInformation_is.properties,
25866 resource/gnu/java/locale/LocaleInformation_it.properties,
25867 resource/gnu/java/locale/LocaleInformation_ja.properties,
25868 resource/gnu/java/locale/LocaleInformation_kk.properties,
25869 resource/gnu/java/locale/LocaleInformation_kl.properties,
25870 resource/gnu/java/locale/LocaleInformation_km.properties,
25871 resource/gnu/java/locale/LocaleInformation_ky.properties,
25872 resource/gnu/java/locale/LocaleInformation_lo.properties,
25873 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25874 resource/gnu/java/locale/LocaleInformation_lt.properties,
25875 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25876 resource/gnu/java/locale/LocaleInformation_lv.properties,
25877 resource/gnu/java/locale/LocaleInformation_mk.properties,
25878 resource/gnu/java/locale/LocaleInformation_mn.properties,
25879 resource/gnu/java/locale/LocaleInformation_mr.properties,
25880 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25881 resource/gnu/java/locale/LocaleInformation_ms.properties,
25882 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25883 resource/gnu/java/locale/LocaleInformation_mt.properties,
25884 resource/gnu/java/locale/LocaleInformation_nb.properties,
25885 resource/gnu/java/locale/LocaleInformation_nl.properties,
25886 resource/gnu/java/locale/LocaleInformation_nn.properties,
25887 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25888 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25889 resource/gnu/java/locale/LocaleInformation_pa.properties,
25890 resource/gnu/java/locale/LocaleInformation_pl.properties,
25891 resource/gnu/java/locale/LocaleInformation_pt.properties,
25892 resource/gnu/java/locale/LocaleInformation_ru.properties,
25893 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25894 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25895 resource/gnu/java/locale/LocaleInformation_sa.properties,
25896 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25897 resource/gnu/java/locale/LocaleInformation_sk.properties,
25898 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25899 resource/gnu/java/locale/LocaleInformation_sv.properties,
25900 resource/gnu/java/locale/LocaleInformation_sw.properties,
25901 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25902 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25903 resource/gnu/java/locale/LocaleInformation_te.properties,
25904 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25905 resource/gnu/java/locale/LocaleInformation_th.properties,
25906 resource/gnu/java/locale/LocaleInformation_ti.properties,
25907 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25908 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25909 resource/gnu/java/locale/LocaleInformation_tr.properties,
25910 resource/gnu/java/locale/LocaleInformation_tt.properties,
25911 resource/gnu/java/locale/LocaleInformation_uk.properties,
25912 resource/gnu/java/locale/LocaleInformation_ur.properties,
25913 resource/gnu/java/locale/LocaleInformation_uz.properties,
25914 resource/gnu/java/locale/LocaleInformation_zh.properties,
25915 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25916 More updates for CLDR 1.3.
25918 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25920 * doc/vmintegration.texinfo:
25921 Updated to include VMArray.
25922 * include/Makefile.am:
25923 Replace java_lang_reflect_Array.h with
25924 java_lang_reflect_VMArray.h
25925 * include/java_lang_reflect_VMArray.h:
25926 New autogenerated header.
25927 * include/java_lang_reflect_Array.h:
25929 * java/lang/reflect/Array.java:
25930 (newInstance(Class,int)): Calls VMArray.
25931 (createMultiArray(Class,int[],int)): Likewise.
25932 (createObjectArray(Class,int)): Removed.
25933 * native/jni/java-lang/Makefile.am:
25934 Replaced java_lang_reflect_Array.c with
25935 java_lang_reflect_VMArray.c
25936 * native/jni/java-lang/java_lang_reflect_VMArray.c:
25937 Renamed from java_lang_reflect_Array.c.
25938 * vm/reference/java/lang/reflect/VMArray.java:
25939 (createObjectArray(Class,int)): Native method moved
25940 from java.lang.reflect.Array.
25942 2006-03-19 Roman Kennke <kennke@aicas.com>
25944 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25945 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25947 * examples/gnu/classpath/examples/swing/Demo.java
25948 (mkButtonBar): Hook up theme editor.
25949 (mkMenuBar): Hook up theme editor.
25951 2006-03-19 Roman Kennke <kennke@aicas.com>
25953 * javax/swing/plaf/basic/BasicFileChooserUI.java
25954 (ApproveSelectionAction.actionPerformed): Added case for when
25955 nothing has been selected but the user has typed a filename
25956 into the textfield.
25957 (getFileName): Return the value of the text field.
25959 2006-03-19 Roman Kennke <kennke@aicas.com>
25961 * javax/swing/JColorChooser.java
25962 (createDialog): Create JDialog instead of ModalDialog. Make this
25963 dialog modal by calling setModal(true).
25964 (ModalDialog): Removed unnecessary inner class.
25966 2006-03-19 Tom Tromey <tromey@redhat.com>
25968 * java/awt/font/NumericShaper.java: Rewrote.
25970 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25972 * javax/swing/plaf/basic/BasicTableUI.java:
25973 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25974 New field. MouseInputHandler.mouseWheelMoved): New method.
25975 (installListeners): Register MouseInputHandler as
25976 wheel listener also.
25978 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25981 * javax/swing/ViewportLayout.java (layoutContainer):
25982 If Scrollable tracks dimension, set view size to the port size.
25983 If port is larger than the view, move the view to the top/left.
25985 2006-03-19 Roman Kennke <kennke@aicas.com>
25987 * javax/swing/MenuSelectionManager.java
25988 (isComponentPartOfCurrentMenu): Also consider the first element
25989 in a menu selection list. Make a isDescendentFrom check instead
25990 of simple equals to also catch sub components.
25992 2006-03-19 Roman Kennke <kennke@aicas.com>
25994 * javax/swing/JComboBox.java
25995 (actionPerformed): Fetch selected item directly from the editor
25996 instead of trying to get it from the event.
25998 2006-03-19 Roman Kennke <kennke@aicas.com>
26000 * javax/swing/plaf/basic/BasicComboBoxEditor.java
26001 (listener): Removed field.
26002 (BasicComboBoxEditor): Removed initialization of listener field.
26003 (addActionListener): Add listener directly to editor.
26004 (removeActionListener): Remove listener directly from editor.
26005 (ComboBoxEditorListener): Removed class.
26006 * javax/swing/plaf/basic/BasicComboBoxUI.java
26007 (getPreferredSize): Fixed to return the minimumSize.
26008 (getMinimumSize): Improved code for more clearness.
26009 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26010 (rectangleForCurrentValue): Correctly respect insets.
26011 (getDefaultSize): Return preferredSize here. Dont override height
26013 (getDisplaySize): Moved around code for more clearness. Added
26014 handling of prototype renderer.
26015 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26016 arrowButton bounds since the former depends on the latter.
26017 * javax/swing/plaf/metal/MetalComboBoxButton.java:
26018 (MetalComboBoxButton): Make button rollover disabled.
26019 (isFocusTraversable): Return false unconditionally.
26020 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26021 (EditorTextField): New class. Fixes the size properties.
26022 (MetalComboBoxEditor): Create instance of EditorTextField.
26023 * javax/swing/plaf/metal/MetalComboBoxUI.java:
26024 (getMinimumSize): Fixed editable size.
26026 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26028 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26030 2006-03-18 Roman Kennke <kennke@aicas.com>
26032 * javax/swing/plaf/metal/MetalToolBarUI.java
26033 (update): Added overridden method to support OceanTheme.
26035 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26037 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
26038 Activate the cell editing on character keystroke.
26040 2006-03-18 Mark Wielaard <mark@klomp.org>
26042 * java/awt/Component.java (eventTypeEnabled): Handle
26043 MouseEvent.MOUSE_WHEEL.
26044 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26045 New callback method.
26046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26047 (AWT_MOUSE_WHEEL): New constant.
26048 (AWT_WHEEL_UNIT_SCROLL): Likewise.
26049 (postMouseWheelEventID): New static variable.
26050 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26051 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26052 (button_number): Renamed to ...
26053 (button_number_direction): variable to hold button number or scroll
26055 (component_button_press_cb): Use button_number_direction.
26056 (component_scroll_cb): New static callback function.
26058 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26060 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26061 Return without action.
26063 2006-03-18 Mark Wielaard <mark@klomp.org>
26065 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26066 Don't cast graphics object to GdkGraphics.
26067 (updateComponent): Likewise.
26069 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26071 * examples/gnu/classpath/examples/swing/TableDemo.java
26072 (TModel.getColumnClass): Set second column to Icon.
26073 (TModel.isCellEditable): Say icons are not editable.
26074 (createContent): Fill the in second column with some icons from
26077 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26079 * examples/gnu/classpath/examples/swing/Demo.java
26080 (mkButtonBar): Set maximal button bar height to the preferred height.
26082 2006-03-18 Roman Kennke <kennke@aicas.com>
26084 * javax/swing/plaf/basic/BasicComboPopup.java
26085 (show): Substract insets from scroller width.
26086 (getPopupHeightForRowCount): If height==0, return a default of 100
26087 instead for empty ComboBoxes.
26089 2006-03-18 Roman Kennke <kennke@aicas.com>
26091 * javax/swing/plaf/basic/BasicLookAndFeel.java
26092 (PopupHelper.autoClosePopups): Removed field.
26093 (PopupHelper.mousePressed): Removed processing of registered
26095 (registerForAutoClose): Removed unneeded method.
26096 (autoClosePopups): Removed unneeded method.
26097 (registerForAutoClose): Removed unneeded method.
26099 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26101 * javax.swing.JTable.java (TableTextField): Set border.
26102 (moveToCellBeingEdited): Do not adjust the editor boundaries
26104 2006-03-18 Michael Koch <konqueror@gmx.de>
26106 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26107 resource/gnu/java/locale/LocaleInformation_af.properties,
26108 resource/gnu/java/locale/LocaleInformation_am.properties,
26109 resource/gnu/java/locale/LocaleInformation_ar.properties,
26110 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26111 resource/gnu/java/locale/LocaleInformation_be.properties,
26112 resource/gnu/java/locale/LocaleInformation_bg.properties,
26113 resource/gnu/java/locale/LocaleInformation_bn.properties,
26114 resource/gnu/java/locale/LocaleInformation_ca.properties,
26115 resource/gnu/java/locale/LocaleInformation_cs.properties,
26116 resource/gnu/java/locale/LocaleInformation_cy.properties,
26117 resource/gnu/java/locale/LocaleInformation_da.properties,
26118 resource/gnu/java/locale/LocaleInformation_de.properties,
26119 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26120 resource/gnu/java/locale/LocaleInformation_dz.properties,
26121 resource/gnu/java/locale/LocaleInformation_en.properties,
26122 resource/gnu/java/locale/LocaleInformation_eo.properties,
26123 resource/gnu/java/locale/LocaleInformation_es.properties,
26124 resource/gnu/java/locale/LocaleInformation_et.properties,
26125 resource/gnu/java/locale/LocaleInformation_eu.properties,
26126 resource/gnu/java/locale/LocaleInformation_fa.properties,
26127 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26128 resource/gnu/java/locale/LocaleInformation_fi.properties,
26129 resource/gnu/java/locale/LocaleInformation_fo.properties,
26130 resource/gnu/java/locale/LocaleInformation_fr.properties,
26131 resource/gnu/java/locale/LocaleInformation_ga.properties,
26132 resource/gnu/java/locale/LocaleInformation_gl.properties,
26133 resource/gnu/java/locale/LocaleInformation_gu.properties,
26134 resource/gnu/java/locale/LocaleInformation_he.properties,
26135 resource/gnu/java/locale/LocaleInformation_hi.properties,
26136 resource/gnu/java/locale/LocaleInformation_hr.properties,
26137 resource/gnu/java/locale/LocaleInformation_hu.properties,
26138 resource/gnu/java/locale/LocaleInformation_hy.properties,
26139 resource/gnu/java/locale/LocaleInformation_id.properties,
26140 resource/gnu/java/locale/LocaleInformation_is.properties,
26141 resource/gnu/java/locale/LocaleInformation_it.properties,
26142 resource/gnu/java/locale/LocaleInformation_ja.properties,
26143 resource/gnu/java/locale/LocaleInformation_ka.properties,
26144 resource/gnu/java/locale/LocaleInformation_km.properties,
26145 resource/gnu/java/locale/LocaleInformation_ko.properties,
26146 resource/gnu/java/locale/LocaleInformation_lo.properties,
26147 resource/gnu/java/locale/LocaleInformation_lt.properties,
26148 resource/gnu/java/locale/LocaleInformation_lv.properties,
26149 resource/gnu/java/locale/LocaleInformation_mk.properties,
26150 resource/gnu/java/locale/LocaleInformation_mr.properties,
26151 resource/gnu/java/locale/LocaleInformation_ms.properties,
26152 resource/gnu/java/locale/LocaleInformation_mt.properties,
26153 resource/gnu/java/locale/LocaleInformation_nb.properties,
26154 resource/gnu/java/locale/LocaleInformation_nl.properties,
26155 resource/gnu/java/locale/LocaleInformation_nn.properties,
26156 resource/gnu/java/locale/LocaleInformation_om.properties,
26157 resource/gnu/java/locale/LocaleInformation_pl.properties,
26158 resource/gnu/java/locale/LocaleInformation_ps.properties,
26159 resource/gnu/java/locale/LocaleInformation_pt.properties,
26160 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26161 resource/gnu/java/locale/LocaleInformation_ro.properties,
26162 resource/gnu/java/locale/LocaleInformation_ru.properties,
26163 resource/gnu/java/locale/LocaleInformation_sk.properties,
26164 resource/gnu/java/locale/LocaleInformation_sl.properties,
26165 resource/gnu/java/locale/LocaleInformation_so.properties,
26166 resource/gnu/java/locale/LocaleInformation_sq.properties,
26167 resource/gnu/java/locale/LocaleInformation_sr.properties,
26168 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26169 resource/gnu/java/locale/LocaleInformation_sv.properties,
26170 resource/gnu/java/locale/LocaleInformation_sw.properties,
26171 resource/gnu/java/locale/LocaleInformation_ta.properties,
26172 resource/gnu/java/locale/LocaleInformation_te.properties,
26173 resource/gnu/java/locale/LocaleInformation_th.properties,
26174 resource/gnu/java/locale/LocaleInformation_tr.properties,
26175 resource/gnu/java/locale/LocaleInformation_uk.properties,
26176 resource/gnu/java/locale/LocaleInformation_uz.properties,
26177 resource/gnu/java/locale/LocaleInformation_vi.properties,
26178 resource/gnu/java/locale/LocaleInformation_zh.properties,
26179 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26180 Updated to use the new localized strings for currencies, languages,
26181 variants, territories, etc.
26183 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26185 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26186 (start, end): Added comment about the negative values of them,
26187 (finish): Saves the input text in matchedCharIndexed,
26188 (toString): If the start or end index is out of bounds of the
26189 matched text, get the substring from matchedCharIndexed.
26190 Added special handlings in case start/end index < -1,
26191 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26192 Added special handlings in case start/end index < -1,
26193 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26194 found match, but keep the index as the original match.
26195 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26196 found match, but keep the index as the original match.
26197 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26198 in case start/end index < -1.
26200 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26202 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26205 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26207 * javax/swing/text/DefaultCaret.java:
26208 (mouseClicked) Use setDot() and moveDot() instead of
26209 JTextComponent.select().
26211 2006-03-17 Roman Kennke <kennke@aicas.com>
26213 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26214 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26215 border painting for the Ocean theme.
26216 (MetalComboBoxEditor): Create editor directly instead of going
26219 2006-03-17 Roman Kennke <kennke@aicas.com>
26221 * javax/swing/text/JTextComponent.java
26222 (JTextComponent): Make text components opaque.
26224 2006-03-17 Roman Kennke <kennke@aicas.com>
26226 * javax/swing/plaf/metal/MetalComboBoxUI.java
26227 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26229 (MetalPropertyChangeListener.propertyChange): Update focusable
26230 flag according to the enable and editable state.
26231 (editablePropertyChanged): Removed unnecessary code.
26232 (getMinimumSize): Rewritten to correctly compute the
26233 size, respecting the insets of the components and the icon,
26234 the visual properties of the combobox, etc.
26235 (configureEditor): Update listeners correctly.
26236 (unconfigureEditor): Update listeners correctly.
26237 (layoutComboBox): Implemented.
26239 2006-03-17 Roman Kennke <kennke@aicas.com>
26241 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26242 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26243 instead of Flush3DBorder.
26244 (paintBorder): Fixed border painting.
26245 (editorBorderInsets): Fixed border's insets.
26247 2006-03-17 Roman Kennke <kennke@aicas.com>
26249 * javax/swing/plaf/metal/MetalComboBoxButton.java
26250 (rendererPane): Documented.
26251 (MetalComboBoxButton): Set enabled flag from ComboBox.
26252 Set focusable flag from ComboBox's enabled flag.
26253 (isFocusTraversable): Make button focus traversable if
26254 ComboBox is not editable but enable.
26255 (paintComponent): Fixed painting to correctly adjust
26256 the boxes of the renderer and button.
26258 2006-03-17 Roman Kennke <kennke@aicas.com>
26260 * javax/swing/plaf/basic/BasicButtonUI.java
26261 (installDefaults): Only install UI margin if installed margin.
26262 is null or a UIResource.
26263 (uninstallDefaults): Only uninstall margin if it's
26266 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26268 * javax/swing/text/DefaultCaret.java:
26269 (mouseClicked) Use setDot() and moveDot() instead of
26270 JTextComponent.select().
26272 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26274 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26275 inner classes into package-private inner classes, added actions
26276 for caret movement and selection to the next and previous word
26277 and an action which selects the whole text.
26279 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26281 * javax/swing/Spring.java: Uncomment springdebug methods and
26282 rename them toString.
26283 * javax/swing/SpringLayout.java: Likewise.
26285 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26287 * javax/swing/text/FieldView.java:
26288 (viewToModel): Added call to adjust allocation area.
26290 2006-03-17 Roman Kennke <kennke@aicas.com>
26292 * javax/swing/plaf/basic/BasicComboBoxUI.java
26293 (mouseListener): Removed field.
26294 (buttonBackground): Removed field.
26295 (buttonShadow): Removed field.
26296 (buttonDarkShadow): Removed field.
26297 (buttonHighlight): Removed field.
26298 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26299 (installUI): Initialize and configure renderer and editor here.
26300 (uninstallUI): Close popup before uninitializing.
26301 Message popup that we are uninitializing. Clear layout.
26302 (installDefaults): Install UI border. Don't install colors.
26303 (installListeners): Install listeners fetched from the popup.
26304 Remove handling of mouseListener.
26305 (uninstallDefaults): Uninstall border. Don't handle colors.
26306 (uninstallListeners): Don't handle mouseListener. Uninstall
26307 listener from the popup.
26308 (createMouseListener): Removed method.
26309 (createRenderer): Create UIResource.
26310 (installComponents): Cleaned up.
26311 (uninstallComponents): Only remove renderer when it is
26313 (addEditor): Remove editor before adding new one.
26314 Fetch editor from comboBox.
26315 (removeEditor): Only do something when editor != null. Unconfigure
26316 editor before removing.
26317 (configureEditor): Add key listener. Call comboBox.configureEditor.
26318 (unconfigureEditor): Removed key listener.
26319 (configureArrowButton): Only handle when arrowButton != null.
26320 Add mouse listeners to arrow button.
26321 (unconfigureArrowButton): Remove listeners.
26322 (createArrowButton): Don't handle colors here.
26323 (setPopupVisible): Don't handle focus here.
26324 (paint): Only paint when comboBox is not editable. Update
26326 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26327 (getMinimumSize): Respect insets here.
26328 (getMaximumSize): Return preferredSize with width of 32767.
26329 (getInsets): Return ComboBox insets.
26330 (paintCurrentValue): Paint using currentValuePane.
26331 Install correct colors. Don't revalidate.
26332 (paintCurrentValueBackground): Implemented.
26333 (getDefaultSize): Reimplemented using a default renderer.
26334 (getDisplaySize): Reimplemented to use renderer.
26335 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26336 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26337 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26338 (FocusHandler.focusGained): Don't invalidate minimumSize.
26339 (FocusHandler.focusLost): Don't invalidate minimumSize.
26340 Only close popup if focus change is not temporary.
26341 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26342 Reconfigure editor if not null.
26343 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26344 editor if necessary.
26345 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26346 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26347 (MouseHandler): Removed unnecessary class.
26349 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26351 * examples/gnu/classpath/examples/swing/Demo.java:
26352 (Demo): Set default closing operation to shutdown the runtime.
26354 2006-03-17 Roman Kennke <kennke@aicas.com>
26356 * javax/swing/plaf/basic/BasicComboPopup.java
26357 (BasicComboPopup): Create listeners here.
26358 Configure components here.
26359 (show): Correctly calculate bounds using computePopupBounds().
26360 Make scroller fixed-size. Removed special autocloser handling.
26361 (hide): Rewritten to use MenuSelectionHandler.
26362 (createList): Don't set selection mode here.
26363 (configureList): Correctly install colors and fonts and selectionMode.
26364 (createScroller): Set scrollpane policies.
26365 (configureScroller): Make scroller and scrollbar not-focusable.
26366 (configurePopup): Make popup opaque and borderPainted.
26367 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26368 (delegateFocus): Implemented.
26369 (convertMouseEvent): Implemented.
26370 (updateListBoxSelectionForEvent): Implemented to also handle
26372 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26373 Only open popup on left mouse-click.
26374 (InvocationMouseHandler.mouseReleased): Rewritten.
26375 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26376 support autoscrolling.
26377 (ItemHandler.itemStateChanged): Implemented to sync selection with
26379 (ListMouseHandler.mouseReleased): Fetch selected index directly
26381 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26383 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26384 When model changes, then update listeners correctly.
26385 (uninstallListeners): Don't uninstall list listeners.
26386 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26388 (syncSelection): New helper method.
26390 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26392 * javax/swing/text/PlainView.java:
26393 (drawLine): Rewritten.
26394 (drawSelectedText): Corrected last argument for
26395 Utilities.drawTabbedText() call.
26396 (paint): Store start and end of selection in object variables,
26397 store constant values of for-loop in local variables.
26398 * javax/swing/text/Utilities.java:
26399 (drawTabbedText): Add 'pixelWidth' to the return value, store
26400 constant value of for-loop in local variable.
26402 2006-03-17 Roman Kennke <kennke@aicas.com>
26404 * javax/swing/plaf/basic/BasicComboPopup.java
26405 (BasicComboPopup): Create listeners here.
26406 Configure components here.
26407 (show): Correctly calculate bounds using computePopupBounds().
26408 Make scroller fixed-size. Removed special autocloser handling.
26409 (hide): Rewritten to use MenuSelectionHandler.
26410 (createList): Don't set selection mode here.
26411 (configureList): Correctly install colors and fonts and selectionMode.
26412 (createScroller): Set scrollpane policies.
26413 (configureScroller): Make scroller and scrollbar not-focusable.
26414 (configurePopup): Make popup opaque and borderPainted.
26415 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26416 (delegateFocus): Implemented.
26417 (convertMouseEvent): Implemented.
26418 (updateListBoxSelectionForEvent): Implemented to also handle
26420 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26421 Only open popup on left mouse-click.
26422 (InvocationMouseHandler.mouseReleased): Rewritten.
26423 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26424 support autoscrolling.
26425 (ItemHandler.itemStateChanged): Implemented to sync selection with
26427 (ListMouseHandler.mouseReleased): Fetch selected index directly
26429 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26431 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26432 When model changes, then update listeners correctly.
26433 (uninstallListeners): Don't uninstall list listeners.
26434 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26436 (syncSelection): New helper method.
26438 2006-03-17 Roman Kennke <kennke@aicas.com>
26440 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26441 (noFocusBorder): Make border with insets of (1,1,1,1).
26442 (BasicComboBoxRenderer): Make renderer opaque.
26443 No need to explicitly set alignment.
26444 (getListCellRendererComponent): Rewritten to correctly initialize
26447 2006-03-17 Roman Kennke <kennke@aicas.com>
26449 * javax/swing/JPopupMenu.java
26450 (setVisible): Handle JPopupMenu opening and closing via
26451 the MenuSelectionHandler.
26453 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26455 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26456 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26457 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26459 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26460 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26461 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26462 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26463 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26464 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26465 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26466 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26467 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26468 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26470 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26472 * java/rmi/activation/Activatable.java: Implemented.
26473 java/rmi/activation/ActivationDesc.java: Implemented.
26474 java/rmi/activation/ActivationGroup.java: Implemented.
26475 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26476 java/rmi/activation/ActivationID.java: Implemented.
26477 java/rmi/activation/ActivationSystem.java: Implemented.
26478 * gnu/java/rmi/server/UnicastServerRef.java
26479 (exportObject, incommingMessageCall): Documented.
26480 * java/rmi/activation/package.html: Documented.
26481 * java/rmi/server/ObjID.java (objNum, space): Made package
26483 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26484 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26486 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26487 gnu/java/rmi/activation/BidiTable.java: New file.
26488 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26489 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26490 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26492 2006-03-17 Mark Wielaard <mark@klomp.org>
26494 * java/security/BasicPermission.java (BasicPermission): Check
26495 name equals empty string to force NullPointerException.
26497 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26500 Commit patch by Caolan McNamara <caolanm@redhat.com>
26501 * javax/swing/Spring.java: Complete implementation
26502 * javax/swing/SpringLayout.java: Likewise.
26504 2006-03-16 Keith Seitz <keiths@redhat.com>
26506 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26508 (run): Remove catch clause for InterruptedException. It is no
26511 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26513 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26514 (getFontMetrics): Handle monospaced fonts specially.
26516 2006-03-16 Keith Seitz <keiths@redhat.com>
26518 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26519 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26520 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26521 Don't suspend the current thread unless it is not part of the JDWP
26524 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26526 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26528 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26529 font metrics through toolkit.
26530 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26532 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26533 (getFontMetrics): To calculate Java logical ascent and descent
26534 values, average Pango ink and logical values.
26536 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26538 * java/lang/Character.java: Updated header comment.
26540 2006-03-16 Tom Tromey <tromey@redhat.com>
26542 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26544 * javax/sound/sampled/FloatControl.java: Now abstract.
26545 * javax/sound/sampled/EnumControl.java: Now abstract.
26546 * javax/sound/sampled/CompoundControl.java: Now abstract.
26547 * javax/sound/sampled/BooleanControl.java: Now abstract.
26549 2006-03-16 Tom Tromey <tromey@redhat.com>
26551 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26553 2006-03-16 Roman Kennke <kennke@aicas.com>
26555 * java/util/zip/ZipFile.java
26556 (openFile): New helper method.
26557 (ZipFile): Use new openFile method to ensure the proper
26558 exception is thrown. This applies for all overloaded constructors.
26560 2006-03-16 Roman Kennke <kennke@aicas.com>
26562 * java/text/DateFormatSymbols.java
26563 (setAmPmStrings): Added null check and throw NPE.
26564 (setEras): Likewise.
26565 (setLocalPatternChars): Likewise.
26566 (setMonths): Likewise.
26567 (setShortMonths): Likewise.
26568 (setShortWeekdays): Likewise.
26569 (setWeekdays): Likewise.
26570 (setZoneStrings): Likewise.
26572 2006-03-16 Roman Kennke <kennke@aicas.com>
26574 * javax/swing/DefaultDesktopManager.java
26575 (iconifyFrame): Repaint after removing the frame.
26576 (removeIconFor): Repaint after removing the icon.
26578 2006-03-16 Roman Kennke <kennke@aicas.com>
26580 * javax/swing/JInternalFrame.java
26581 (remove): Respect the rootPaneCheckingEnabled flag here.
26583 2006-03-16 Roman Kennke <kennke@aicas.com>
26585 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26586 Moved from examples into gnu.javax.swing.. namespace.
26587 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26588 Moved to gnu.javax.swing.. namespace.
26589 * examples/gnu/classpath/examples/swing/Demo.java:
26590 (themesMenu): New field. Used to disable theme switch in
26592 (mkMenuBar): Added L&F menu.
26593 (ChangeThemeAction.actionPerformed): Only switch theme when
26595 (ChangeLAFAction): New class used for changing themes.
26596 * javax/swing/UIManager.java
26597 (installed): Added GNU L&F as installed L&F.
26599 2006-03-16 Mark Wielaard <mark@klomp.org>
26601 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26602 * examples/gnu/classpath/examples/icons/badge.png: Added.
26603 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26604 from icon directory.
26606 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26608 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26610 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26611 * examples/gnu/classpath/examples/awt/Demo.java: Add
26612 AnimationApplet demo.
26613 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26616 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26619 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26621 (handleEvent): Likewise.
26622 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26624 (beginNativeRepaint): Remove method.
26625 (endNativeRepaint): Likewise.
26626 (handleEvent): Call paintComponent and updateComponent.
26627 (paintComponent): New method.
26628 (updateComponent): Likewise.
26629 (repaint): Return early if width or height is less than one.
26630 (postExposeEvent): Remove isInRepaint reference.
26631 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26633 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26634 from GtkWindowPeer.
26635 (postMouseEvent): Likewise.
26636 (postExposeEvent): Likewise.
26637 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26638 Override to do nothing.
26639 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26640 from GtkWindowPeer.
26641 (postMouseEvent): Likewise.
26642 (postExposeEvent): Likewise.
26643 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26644 paint and update handling from GtkComponentPeer.
26645 (updateComponent): Override to call paintComponent.
26646 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26647 gdk_flush calls with schedule_flush calls.
26648 (flush): New function.
26649 (schedule_flush): Likewise.
26651 2006-03-15 Tom Tromey <tromey@redhat.com>
26653 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26655 (BCSIterator): Likewise.
26656 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26658 (BCSSProxyServiceProvider): Likewise.
26659 (BCSSServiceProvider): Likewise.
26661 2006-03-15 Tom Tromey <tromey@redhat.com>
26663 * javax/sound/midi/Track.java (Track): New constructor.
26664 (events): Now package-private.
26665 * javax/sound/midi/MidiUnavailableException.java
26666 (MidiUnavailableException): Removed invalid constructors.
26667 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26668 * javax/sound/midi/InvalidMidiDataException.java
26669 (InvalidMidiDataException): Removed invalid constructors.
26670 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26671 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26672 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26673 (SYSTEM_EXCLUSIVE): Removed.
26674 (getDataLength): Updated.
26675 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26676 (equals): Now final
26677 (getName): Now final.
26678 (getVendor): Now final.
26679 (getDescription): Likewise.
26680 (hashCode): Likewise.
26681 (getVersion): Likewise.
26682 (toString): Likewise.
26683 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26684 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26685 (getEarlyReflectionDelay): Likewise.
26686 (getEarlyReflectionIntensity): Likewise.
26687 (getLateReflectionDelay): Likewise.
26688 (getLateReflectionIntensity): Likewise.
26689 (toString): Likewise.
26690 * javax/sound/sampled/Port.java (toString): Now final.
26691 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26692 (getLine): Likewise.
26693 (getType): Likewise.
26694 * javax/sound/sampled/Mixer.java (Info): Now protected.
26695 (getDescription): Now final.
26696 (getName): Likewise.
26697 (getVendor): Likewise.
26698 (getVersion): Likewise.
26699 (toString): Likewise.
26700 * javax/sound/sampled/Control.java: Now abstract.
26701 (Type.toString): Now final.
26703 2006-03-15 Keith Seitz <keiths@redhat.com>
26705 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26706 of this redundant variable.
26707 (LineTable): Assert that the number of line numbers and the number of
26708 code indicies is the same.
26710 2006-03-15 Tom Tromey <tromey@redhat.com>
26712 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26714 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26716 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26717 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26718 * java/util/zip/Inflater.java (end): Not deprecated.
26719 * java/util/zip/Deflater.java (end): Not deprecated.
26720 * java/text/Bidi.java (Bidi): Now final.
26721 * java/nio/MappedByteBuffer.java (finalize): Now protected.
26723 2006-03-15 Keith Seitz <keiths@redhat.com>
26725 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26726 (Location): Index is a long, not an int.
26727 (getMethod): New method.
26728 (getIndex): New method.
26729 (toString): New method.
26731 2006-03-15 Tom Tromey <tromey@redhat.com>
26733 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26734 * java/awt/image/LookupOp.java (filter): Now final.
26735 (getBounds2D): Likewise.
26736 (getPoint2D): Likewise.
26737 (getTable): Likewise.
26738 (getRenderingHints): Likewise.
26739 * java/awt/image/ConvolveOp.java (filter): Now final.
26740 (getBounds2D): Likewise.
26741 (getKernel): Likewise.
26742 (getPoint2D): Likewise.
26743 (getRenderingHints): Likewise.
26744 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26745 (getMatrix): Likewise.
26746 (getBounds2D): Likewise.
26747 (getRenderingHints): Likewise.
26748 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26749 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26751 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26753 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26755 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26757 2006-03-15 Keith Seitz <keiths@redhat.com>
26759 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26761 (matches): Implement.
26763 2006-03-15 Keith Seitz <keiths@redhat.com>
26765 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26767 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26769 2006-03-15 Tom Tromey <tromey@redhat.com>
26771 * java/lang/StrictMath.java (signum): New methods.
26773 2006-03-15 Tom Tromey <tromey@redhat.com>
26775 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26777 2006-03-15 Lillian Angel <langel@redhat.com>
26780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26781 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26782 Added check to avoid segmentation fault.
26784 2006-03-15 Lillian Angel <langel@redhat.com>
26786 * java/awt/Container.java
26787 (getComponentAt): Fixed documentation.
26788 (getComponentAt): Likewise.
26790 2006-03-15 Roman Kennke <kennke@aicas.com>
26792 * javax/swing/JComponent.java
26793 (dragBuffer): New field.
26794 (dragBufferInitialized): New field.
26795 (paint): Added facility for buffered dragging of components.
26796 (initializeDragBuffer): New method.
26797 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26799 * javax/swing/plaf/basic/BasicInternalFrameUI.java
26800 (BorderListener.mouseDragged): Turn on buffered dragging.
26801 (BorderListener.mouseReleased): Turn off buffered dragging.
26803 2006-03-15 Lillian Angel <langel@redhat.com>
26805 * java/awt/Container.java
26806 (getComponentAt): Fixed documentation.
26807 (getComponentAt): Likewise.
26808 (findComponentAt): Likewise.
26809 (findComponentAt): Likewise.
26811 2006-03-15 Roman Kennke <kennke@aicas.com>
26813 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26814 (PropertyChangeHandler.propertyChange): Call enableActions().
26815 Fixed 'iconable' property name.
26817 2006-03-15 Chris Burdess <dog@gnu.org>
26820 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26822 2006-03-15 Roman Kennke <kennke@aicas.com>
26824 * examples/gnu/classpath/examples/swing/Demo.java:
26825 (desktop): New field.
26826 (mkMenuBar): Added new subdemos.
26827 (mkButtonWorld): Removed.
26828 (CheckCellRenderer): Moved to ListDemo.
26829 (LabelCellRenderer): Moved to ListDemo.
26830 (mkTreeWorld): Moved to TreeDemo.
26831 (mkDesktopWorld): Removed.
26832 (mkTabWorld): Moved to TabbedPaneDemo.
26833 (mkTabbedPane): Removed.
26834 (Demo): Replaced 'worlds' tabbed pane with desktop.
26835 (PopupAction): Made class non-static.
26836 (PopupAction.actionPerformed): Bring up subdemos in internal
26838 (mkButtonBar): Added new demos.
26839 (createDesktop): New method.
26840 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26841 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26842 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26843 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26844 * examples/gnu/classpath/examples/swing/badge.png: New image file.
26846 2006-03-15 Lillian Angel <langel@redhat.com>
26848 * java/awt/Container.java
26849 (getComponentAt): Fixed mistake in comments.
26850 (getComponentAt): Likewise.
26851 (locate): Likewise. Also, handled lightweight components.
26852 Heavyweights take precedence over lightweights, so we should
26853 iterate through the heavyweights first.
26855 2006-03-15 Lillian Angel <langel@redhat.com>
26857 * java/awt/Container.java
26858 (getComponentAt): Added API documentation.
26859 (getComponentAt): Likewise.
26860 (locate): Likewise. Also, removed lines to ignore
26861 invisible components.
26862 (findComponentAt): Added API documentation.
26863 (findComponentAt): Added API documentation.
26864 (findComponentForMouseEvent): Removed, never used.
26866 2006-03-15 Roman Kennke <kennke@aicas.com>
26868 * javax/swing/Popup.java
26869 (LightweightPopup.show): Repaint the panel after showing it.
26871 2006-03-15 Lillian Angel <langel@redhat.com>
26873 * java/awt/Component.java
26874 (show): repaint should only be called if the component
26875 isShowing and isLightweight.
26877 2006-03-15 Roman Kennke <kennke@aicas.com>
26879 * javax/swing/JInternalFrame.java
26880 (setClosable): Made this property bound.
26881 (setResizable): Made this property bound.
26882 (setIconifiable): Made this property bound.
26883 (setMaximizable): Made this property bound.
26885 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26887 * javax/swing/table/TableColumn.java
26888 (sizeWidthToFit): Implemented.
26890 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26892 * javax/swing/table/TableColumn.java: API docs updated all over, plus
26893 (setIdentifier): Fire required PropertyChangeEvent,
26894 (setCellEditor): Likewise.
26896 2006-03-15 Roman Kennke <kennke@aicas.com>
26898 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26899 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26900 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26901 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26902 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26903 * examples/gnu/classpath/examples/swing/SliderDemo.java,
26904 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26905 * examples/gnu/classpath/examples/swing/TableDemo.java,
26906 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26907 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26908 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26909 * examples/gnu/classpath/examples/swing/Demo.java:
26910 Cleaned up. Reworked handling of Sub-demos to load lazily.
26911 * examples/gnu/classpath/examples/swing/DemoFactory.java:
26912 New interface. Used for loading the subdemos lazily.
26914 2006-03-15 Roman Kennke <kennke@aicas.com>
26916 * javax/swing/plaf/basic/BasicToolBarUI.java
26917 (PropertyListener.propertyChange): Added null check to avoid NPE.
26919 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26921 * javax/swing/table/TableColumn.java
26922 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26924 (minWidth): Likewise,
26925 (preferredWidth): Likewise,
26926 (maxWidth): Likewise,
26927 (headerRenderer): Likewise,
26928 (cellRenderer): Likewise,
26929 (cellEditor): Likewise,
26930 (changeSupport): Likewise,
26931 (firePropertyChange(String, Object, Object)): Removed,
26932 (firePropertyChange(String, int. int)): Likewise,
26933 (firePropertyChange(String, boolean, boolean)): Likewise,
26934 (setModelIndex): Fire property change,
26935 (setHeaderValue): Call changeSupport directly to generate event,
26936 (setHeaderRenderer): Likewise,
26937 (setCellRenderer): Likewise,
26938 (setWidth): Likewise,
26939 (setPreferredWidth): Likewise,
26940 (setMinWidth): Likewise,
26941 (setMaxWidth): Likewise,
26942 (createDefaultHeaderRenderer): Added API docs.
26944 2006-03-14 Roman Kennke <kennke@aicas.com>
26946 * examples/gnu/classpath/examples/swing/Demo.java
26947 Removed static initializer.
26948 (mkMenuBar): Made method non-static. Added themes menu.
26949 (ChangeThemeAction): New inner class, used to change themes.
26951 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26953 * javax/swing/table/TableColumn.java
26954 (setMaxWidth): Updated width and preferredWidth if necessary,
26955 (getMaxWidth): Updated API docs.
26957 2006-03-14 Roman Kennke <kennke@aicas.com>
26959 * javax/swing/plaf/basic/BasicSliderUI.java
26960 (TrackListener.mouseDragged): Only process event when slider is
26962 (TrackListener.mouseReleased): Only process event when slider is
26964 (TrackListener.mousePressed): Only process event when slider is
26967 2006-03-14 Roman Kennke <kennke@aicas.com>
26969 * NEWS: Added note about OceanTheme support.
26971 2006-03-14 Roman Kennke <kennke@aicas.com>
26973 * javax/swing/plaf/metal/MetalIconFactory.java
26974 (HorizontalSliderThumbIcon.gradientMask): New field
26975 (HorizontalSliderThumbIcon.paintIcon): Added support for the
26977 (VerticalSliderThumbIcon.gradientMask): New field
26978 (VerticalSliderThumbIcon.paintIcon): Added support for the
26980 * javax/swing/plaf/metal/MetalUtils.java
26981 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26982 (paintVerticalGradient): Fixed painting of 'masked' gradients.
26984 2006-03-14 Mark Wielaard <mark@klomp.org>
26987 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26988 of handleMouseEvent.
26989 (handleMouseEvent): Return boolean to indicate whether we handled the
26990 event by passing it to a lightweight.
26992 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26994 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26995 * org/omg/PortableServer/ServantActivatorPOA.java,
26996 * org/omg/PortableServer/ServantLocatorPOA.java:
26997 Make class abstract and minor api docs fixlets.
26998 * org/omg/PortableServer/ForwardRequest.java,
26999 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
27000 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
27001 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
27002 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
27003 * org/omg/PortableServer/POAPackage/NoServant.java,
27004 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
27005 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
27006 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
27007 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
27008 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
27009 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
27010 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
27011 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27012 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27013 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27015 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
27017 * NEWS: Added entry about printing support.
27019 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27021 * javax/swing/table/TableColumn.java
27022 (COLUMN_WIDTH_PROPERTY): Updated API docs,
27023 (isResizable): Likewise,
27024 (setWidth): Likewise,
27025 (getWidth): Likewise,
27026 (setPreferredWidth): Likewise,
27027 (getPreferredWidth): Likewise,
27028 (setMinWidth): Check for negative argument and update width and
27029 preferredWidth if necessary,
27030 (getMinWidth): Updated API docs.
27032 2006-03-14 Lillian Angel <langel@redhat.com>
27034 * java/awt/Container.java
27035 (addImpl): Removed call to repaint. No need to repaint here.
27037 2006-03-14 Roman Kennke <kennke@aicas.com>
27039 * javax/swing/plaf/metal/MetalSliderUI.java
27040 (paintTrack): Added OceanTheme support.
27042 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27044 * javax/swing/table/TableColumn.java
27045 (setResizable): Fire PropertyChangeEvent if the flag value changes,
27046 (isResizable): Updated API docs.
27048 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27050 * javax/swing/LookAndFeel.java: Updated API docs.
27052 2006-03-14 Roman Kennke <kennke@aicas.com>
27054 * javax/swing/plaf/metal/MetalUtils.java
27055 (paintGradient): Added support for 'masked' gradients.
27056 (paintHorizontalGradient): Likewise.
27057 (paintVerticalGradient): Likewise.
27058 * javax/swing/plaf/metal/MetalIconFactory.java
27059 (RadioButtonIcon.gradientMask): New field.
27060 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27062 2006-03-14 Mark Wielaard <mark@klomp.org>
27065 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27067 (removeActionListener): Add listener to ComboBoxEditorListener.
27068 (removeActionListener): Remove listener from ComboBoxEditorListener.
27069 (ComboBoxEditorListener): New static helper class.
27071 2006-03-14 Roman Kennke <kennke@aicas.com>
27073 * javax/swing/plaf/metal/MetalBorders.java
27074 (getToolBarButtonBorder): Don't create a UIResource border
27076 * javax/swing/plaf/metal/MetalToolBarUI.java
27077 (installUI): New overridden method. Installs the rollover property.
27078 (uninstallUI): New overridden method. Resets the rollover property.
27079 * javax/swing/plaf/metal/MetalUtils.java
27080 (paintGradient): Fetch Float values from the UIManager. Adjusted
27081 method signatures accordingly.
27082 (paintHorizontalGradient): Adjusted signature to accept float
27084 (paintVerticalGradient): Adjusted signature to accept float
27086 * javax/swing/plaf/metal/OceanTheme.java
27087 (addCustomEntriesToTable): Added missing UIDefaults entries,
27088 except of Icons. Fixed gradient entries to use Float instead
27091 2006-03-14 Roman Kennke <kennke@aicas.com>
27093 * javax/swing/JInternalFrame.java
27094 (JInternalFrame): Make JInternalFrame opaque.
27095 * javax/swing/JToolBarFrame.java
27096 (JToolBar): Make JToolBar opaque.
27098 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27100 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27101 * javax/swing/tree/TreePath.java: Likewise.
27103 2006-03-13 Tom Tromey <tromey@redhat.com>
27105 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27107 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27108 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27110 2006-03-13 Keith Seitz <keiths@redhat.com>
27112 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27113 (executeMethods): Output number of methods.
27115 2006-03-13 Roman Kennke <kennke@aicas.com>
27117 * javax/swing/plaf/basic/BasicButtonUI.java
27118 (uninstallDefaults): Only uninstall border if it's a UIResource.
27119 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27120 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27121 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27122 (installUI): Don't touch the opaque flag of the glassPane and
27123 the frame. Don't invalidate.
27124 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27125 (installUI): Don't touch the opaque flag of the glassPane.
27126 * javax/swing/plaf/basic/BasicMenuBarUI.java
27127 (properyChangeListener): Made field private.
27128 (ChangeHandler): Made class private.
27129 (ContainerHandler): Made class private.
27130 (PropertyChangeHandler): Made class private.
27131 * javax/swing/plaf/basic/BasicMenuUI.java
27132 (MenuHandler): Made class private.
27133 (PropertyChangeHandler): Removed unneeded class.
27134 (MenuDragMouseHandler): Made class private.
27135 (MenuKeyHandler): Made class private.
27136 * javax/swing/plaf/basic/BasicPanelUI.java
27137 (installDefaults): Made method protected. Don't set opaque
27139 * javax/swing/plaf/basic/BasicScrollBarUI.java
27140 (TrackListener.shouldScroll): Made method private.
27141 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27142 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27143 Made constructor package private.
27144 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27145 (cellBorder): Made field private.
27146 * javax/swing/plaf/basic/BasicTextUI.java
27147 (installDefaults): Don't make component opaque.
27148 * javax/swing/plaf/basic/BasicToolBarUI.java
27149 (createNonRollOverBorder): Don't create UIResource border.
27150 (createRollOverBorder): Don't create UIResource border.
27151 (installComponents): Moved setRolloverBorders call here.
27152 (installDefaults): Moved setRolloverBorders call from here.
27153 (installUI): Don't make toolbar opaque.
27154 (setBorderToNonRollover): Handle AbstractButton instead of
27156 (uninstallComponents): Don't nullify class fields here.
27158 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27160 * javax/swing/SwingUtilities.java
27161 (calculateInnerArea): handle null component, and replace
27162 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27165 2006-03-13 Roman Kennke <kennke@aicas.com>
27167 * javax/swing/JColorChooser.java
27168 (updateUI): Don't call revalidate().
27169 * javax/swing/JComboBox.java
27170 (updateUI): Don't call invalidate().
27171 * javax/swing/JDesktopPane.java
27172 (updateUI): Don't call invalidate().
27173 * javax/swing/JFileChooser.java
27174 (updateUI): Don't call revalidate().
27175 * javax/swing/JMenu.java
27176 (updateUI): Don't call invalidate().
27177 * javax/swing/JMenuBar.java
27178 (updateUI): Don't call invalidate().
27179 * javax/swing/JMenuItem.java
27180 (updateUI): Don't call invalidate().
27181 * javax/swing/JOptionPane.java
27182 (updateUI): Don't call invalidate().
27183 * javax/swing/JPopupMenu.java
27184 (updateUI): Don't call invalidate().
27185 * javax/swing/JProgressBar.java
27186 (updateUI): Don't call invalidate().
27187 * javax/swing/JScrollBar.java
27188 (updateUI): Don't call invalidate() and repaint().
27189 * javax/swing/JScrollPane.java
27190 (updateUI): Rewritten to be like the other updateUI()
27192 * javax/swing/JSlider.java
27193 (updateUI): Don't call invalidate() and repaint().
27194 * javax/swing/JSplitPane.java
27195 (updateUI): Don't call invalidate() and repaint().
27196 * javax/swing/JTabbedPane.java
27197 (updateUI): Don't call invalidate().
27198 * javax/swing/JTable.java
27199 (updateUI): Don't call revalidate() and repaint().
27200 * javax/swing/JToolBar.java
27201 (updateUI): Don't call revalidate() and repaint().
27202 * javax/swing/JToolTip.java
27203 (updateUI): Don't call revalidate() and repaint().
27205 2006-03-13 Roman Kennke <kennke@aicas.com>
27207 * javax/swing/SwingUtilities.java
27208 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27209 menus and non-Swing components is improved.
27210 (updateComponentTreeUIImpl): New helper method.
27211 (replaceUIActionMap): Added check for uiActionMap==parent to
27213 (replaceUIInputMap): Added check for uiInputMap==parent to
27216 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27218 * gnu/classpath/debug/Component.java:
27219 (IPP) New component for IPP debugging.
27220 (EVERYTHING): Adapted to include IPP.
27221 * javax/print/PrintServiceLookup.java:
27222 (registerServiceProvider): New method.
27223 (registerService): Likewise.
27224 (lookupPrintServices): Likewise.
27225 (lookupMultiDocPrintServices): Likewise.
27226 (lookupDefaultPrintService): Likewise.
27227 (static_initializer): Likewise.
27228 (printServiceLookups): New field for found service providers.
27229 (printServices): New field for application registered providers.
27230 (systemProvider): New field for the system provider.
27231 * javax/print/ServiceUI.java: New file.
27232 * javax/print/package.html: Added more usage content.
27233 * javax/print/event/package.html: Likewise.
27234 * javax/print/attribute/package.html: Likewise.
27235 * javax/print/attribute/standard/package.html: Likewise.
27236 * gnu/javax/print/PrintUriException.java,
27237 gnu/javax/print/PrintFlavorException.java,
27238 gnu/javax/print/PrinterDialog.java,
27239 gnu/javax/print/PrintAttributeException.java,
27240 gnu/javax/print/CupsPrintServiceLookup.java,
27241 gnu/javax/print/CupsServer.java,
27242 gnu/javax/print/CupsPrintService.java,
27243 gnu/javax/print/CupsMediaMapping.java,
27244 gnu/javax/print/CupsIppOperation.java:
27245 New implementation files of the Java Print Service API.
27246 * gnu/javax/print/ipp/IppValueTag.java,
27247 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27248 gnu/javax/print/ipp/IppStatusCode.java,
27249 gnu/javax/print/ipp/IppUtilities.java,
27250 gnu/javax/print/ipp/IppResponse.java,
27251 gnu/javax/print/ipp/IppException.java,
27252 gnu/javax/print/ipp/IppPrintService.java,
27253 gnu/javax/print/ipp/IppRequest.java,
27254 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27255 gnu/javax/print/ipp/IppDelimiterTag.java,
27256 gnu/javax/print/ipp/DocPrintJobImpl.java:
27257 New files of the IPP client implementation.
27258 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27259 gnu/javax/print/ipp/attribute/StatusMessage.java,
27260 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27261 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27262 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27263 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27264 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27265 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27266 New attribute syntax/role files of the printing implementation.
27267 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27268 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27269 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27270 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27271 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27272 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27273 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27274 gnu/javax/print/ipp/attribute/supported/
27275 OrientationRequestedSupported.java,
27276 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27277 gnu/javax/print/ipp/attribute/supported/
27278 MultipleDocumentHandlingSupported.java,
27279 gnu/javax/print/ipp/attribute/supported/
27280 MultipleDocumentJobsSupported.java,
27281 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27282 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27283 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27284 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27285 gnu/javax/print/ipp/attribute/supported/
27286 GeneratedNaturalLanguageSupported.java,
27287 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27288 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27289 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27290 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27291 New supported attribute files.
27292 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27293 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27294 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27295 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27296 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27297 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27298 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27299 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27300 New printer description attribute files.
27301 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27302 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27303 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27304 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27305 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27306 gnu/javax/print/ipp/attribute/job/JobId.java,
27307 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27308 gnu/javax/print/ipp/attribute/job/JobUri.java,
27309 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27310 New job description attribute files.
27311 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27312 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27313 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27314 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27315 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27316 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27317 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27318 gnu/javax/print/ipp/attribute/defaults/
27319 MultipleDocumentHandlingDefault.java,
27320 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27321 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27322 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27323 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27324 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27325 New default printing attribute files.
27326 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27327 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27328 * examples/gnu/classpath/examples/print/Demo.java:
27329 New demo application of the current implemented functionality.
27331 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27333 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27334 java/rmi/activation/ActivationDesc.java.java,
27335 java/rmi/activation/ActivationGroup.java,
27336 java/rmi/activation/ActivationID.java,
27337 java/rmi/activation/ActivationMonitor.java,
27338 java/rmi/activation/ActivationSystem.java,
27339 java/rmi/activation/package.html: Documenting.
27341 2006-03-13 Roman Kennke <kennke@aicas.com>
27343 * javax/swing/JInternalFrame.java
27344 (setSelected): Repaint frame when it is showing and the selection
27347 2006-03-13 Roman Kennke <kennke@aicas.com>
27349 * javax/swing/AbstractButton.java
27350 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27353 2006-03-13 Roman Kennke <kennke@aicas.com>
27355 * javax/accessibility/AccessibleContext.java
27356 (getAccessibleRelationSet): Return empty set instead of null.
27358 2006-03-13 Roman Kennke <kennke@aicas.com>
27360 * javax/swing/ImageIcon.java
27361 (loadImage): Remove completed images from the MediaTracker. This
27362 avoids a potential memory leak.
27364 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27366 * javax/print/MultiDocPrintService.java,
27367 * javax/print/MultiDocPrintJob.java,
27368 * javax/print/MultiDoc.java: Added and enhanced documentation.
27370 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27372 * java/rmi/activation/ActivationID.java (uid): New field.
27373 (writeExternal, readExternal): New methods.
27374 (equals, hashCode): Rewritten.
27375 * java/rmi/activation/ActivationInstantiator.java,
27376 * java/rmi/activation/ActivationSystem.java,
27377 * java/rmi/activation/Activator.java,
27378 * java/rmi/activation/Activatable.java,
27379 * java/rmi/activation/ActivationGroup.java,
27380 * java/rmi/activation/ActivationGroupDesc.java:
27381 Documented and autoformatted.
27382 * java/rmi/activation/package.html: Added content.
27384 2006-03-12 Chris Burdess <dog@gnu.org>
27387 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27388 encoding are specified.
27390 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27392 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27393 (changeEvent): Initialise in fireStateChange(),
27394 (setSelectedIndex): Check if change is made before firing event,
27395 (clearSelection): Delegate to setSelectedIndex(),
27396 (fireStateChanged): Initialise changeEvent if necessary,
27397 * javax/swing/SingleSelectionModel.java: API docs all over.
27399 2006-03-11 Tom Tromey <tromey@redhat.com>
27401 * java/util/zip/InflaterInputStream.java: Reverted previous
27404 2006-03-11 Mark Wielaard <mark@klomp.org>
27406 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27409 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27411 * javax/swing/event/TreeSelectionEvent.java
27412 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27413 not one of the added/removed paths,
27414 (cloneWithSource): Reformatted.
27416 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27418 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27419 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27421 2006-03-10 Casey Marshall <csm@gnu.org>
27424 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27426 (doFinal, update): new methods.
27427 (init, init, init, init): initialize `state' after trying the
27428 implementation, which can throw an exception.
27429 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27432 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27434 * gnu/regexp/BacktrackStack.java: New file.
27435 * gnu/regexp/RE.java(findMatch): New method.
27436 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27437 REMatchList): Removed. (backtrackStack): New field.
27438 * gnu/regexp/REToken.java(match): Changed from an abstract
27439 method to an ordinary method defined with the new method
27440 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27441 findFixedLengthMatches, backtrack, toString): New methods.
27442 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27443 * gnu/regexp/RETokenBackRef.java: Likewise.
27444 * gnu/regexp/RETokenChar.java: Likewise.
27445 * gnu/regexp/RETokenEnd.java: Likewise.
27446 * gnu/regexp/RETokenEndSub.java: Likewise.
27447 * gnu/regexp/RETokenIndependent.java: Likewise.
27448 * gnu/regexp/RETokenLookAhead.java: Likewise.
27449 * gnu/regexp/RETokenLookBehind.java: Likewise.
27450 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27451 * gnu/regexp/RETokenPOSIX.java: Likewise.
27452 * gnu/regexp/RETokenRange.java: Likewise.
27453 * gnu/regexp/RETokenStart.java: Likewise.
27454 * gnu/regexp/RETokenWordBoundary.java: Likewise
27455 * gnu/regexp/RETokenOneOf.java: Rewriten.
27456 * gnu/regexp/RETokenRepeated.java: Rewriten.
27458 2006-03-10 Roman Kennke <kennke@aicas.com>
27460 * javax/swing/plaf/metal/MetalBorders.java
27461 (RolloverButtonBorder.paintBorder): Only call super here.
27462 * javax/swing/plaf/metal/MetalButtonListener.java
27463 (propertyChange): Only call super here.
27464 * javax/swing/plaf/metal/MetalButtonUI.java
27465 (update): Changed condition from isOpaque() to isContentAreaFilled()
27466 for the gradient fill.
27467 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27468 (paintText): API doc fix. Makes paintText not deprecated as specified
27469 but adds comment that this is obsolete.
27470 * javax/swing/plaf/metal/MetalUtils.java
27471 (fillMetalPattern): Fixed condition so that the Java2D is not
27472 used when the noGraphics2D property is set.
27474 2006-03-10 Roman Kennke <kennke@aicas.com>
27476 * javax/swing/plaf/metal/MetalLookAndFeel.java
27477 (createDefaultTheme): Set OceanTheme as default metal theme.
27479 2006-03-10 Roman Kennke <kennke@aicas.com>
27481 * javax/swing/text/WrappedPlainView.java
27482 (metrics): Made field package private to avoid accessor method.
27483 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27484 The drawLine (righly) interprets the y parameter as the baseline.
27485 * javax/swing/text/Utilities.java
27486 (getBreakLocation): Don't consider the offset. The returned value
27487 for getTabbedTextOffset is already relative to the offset.
27489 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27491 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27492 (dateFormat): Made private.
27493 (put): Replace only the last occurance and the value.
27494 (putAll): Save one iteration. Clarified documentation.
27496 2006-03-10 Tom Tromey <tromey@redhat.com>
27498 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27500 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27503 2006-03-10 Lillian Angel <langel@redhat.com>
27505 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27506 (comboboxgroup_get_widget): New function.
27507 (removed): Fixed to use new function to get the correct widget.
27508 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27509 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27512 2006-03-10 Lillian Angel <langel@redhat.com>
27514 * java/awt/GridBagLayout.java
27515 (ArrangeGrid): Added checks to determine if component
27516 is placed last in a row or column. If so, the location
27517 of the last component should be used to get the location
27518 of the current component.
27520 2006-03-10 Lillian Angel <langel@redhat.com>
27522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27523 (nativeSetCheckboxGroup): No need to use new function here.
27524 Should just pass in pointer.
27526 2006-03-10 Lillian Angel <langel@redhat.com>
27528 * java/awt/GridBagLayout.java
27529 (distributeSizeAndWeight): Change else if to else. This
27530 allows for components to be added to a new row when
27531 their gridheight is REMAINDER.
27533 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27535 * java/rmi/activation/ActivationDesc.java,
27536 java/rmi/activation/ActivationGroupID.java,
27537 java/rmi/activation/Activator.java,
27538 java/rmi/server/Operation.java,
27539 java/rmi/server/RemoteServer.java: Documented and formatted.
27541 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27543 * javax/swing/JToggleButton.java: Fixed API doc tags,
27544 * javax/swing/OverlayLayout.java: Likewise.
27546 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27548 * javax/swing/DefaultCellEditor.java
27549 (cancelCellEditing): Removed spurious API doc tag.
27551 2006-03-10 Lillian Angel <langel@redhat.com>
27553 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27554 (create): Put checkbox widget into an event box so it paints properly.
27555 (connectSignals): Fixed to use new function.
27556 (nativeSetCheckboxGroup): Likewise.
27557 (gtkToggleButtonSetActive): Likewise.
27558 (gtkWidgetModifyFont): Likewise.
27559 (gtkButtonSetLabel): Likewise.
27560 (combobox_get_widget): New function.
27562 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27564 * javax/swing/text/rtf/package.html: New file.
27566 2006-03-10 Roman Kennke <kennke@aicas.com>
27568 * javax/swing/plaf/metal/OceanTheme.java
27569 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27570 * javax/swing/plaf/metal/MetalScrollBarUI.java
27571 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27572 (paintThumbHorizontal): Added handling of OceanTheme.
27573 (paintThumbVertical): Added handling of OceanTheme.
27575 2006-03-10 Roman Kennke <kennke@aicas.com>
27577 Reported by Fridjof Siebert <siebert@aicas.com>
27578 * java/awt/MediaTracker.java
27579 (removeImage): Only set prev to e when the the images of the
27580 entries are not the same. This avoids a potentially corrupt list.
27582 2006-03-10 Chris Burdess <dog@gnu.org>
27585 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27586 checking while reindenting.
27588 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27590 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27592 2006-03-09 Tom Tromey <tromey@redhat.com>
27594 PR classpath/26585:
27595 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27596 subdir. Added README.
27597 (install-data-local): Removed.
27598 (uninstall-local): Likewise.
27599 (EXTRA_DIST): Removed.
27601 2006-03-09 Tom Tromey <tromey@redhat.com>
27603 PR classpath/26623:
27604 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27606 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27608 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27610 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27612 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27614 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27616 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27618 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27620 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27622 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27624 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27625 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27627 2006-03-09 Keith Seitz <keiths@redhat.com>
27629 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27630 (executeVariableTable): Use VMMethod instead of reflection.
27631 (executeLineTable): Likewise.
27632 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27633 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27634 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27635 (getLineTable): Removed. Now resides in VMMethod.
27636 (getVarTable): Likewise.
27637 (getAllClassMethods): New method.
27639 2006-03-09 Keith Seitz <keiths@redhat.com>
27641 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27642 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27643 (ThreadStartEvent): Likewise.
27644 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27645 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27646 (ConditionalFilter): Likewise.
27647 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27648 (ExceptionOnlyFilter): Likewise.
27649 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27650 (FieldOnlyFilter): Likewise.
27651 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27652 (getSize): Likewise.
27653 (StepFilter): Likewise.
27654 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27655 * gnu/classpath/jdwp/transport/JdwpPacket.java
27656 (JdwpPacket): Likewise.
27657 (fromBytes): Likewise.
27658 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27659 (JdwpReplyPacket): Likewise.
27660 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27661 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27662 (getReferenceType): Likewise.
27663 (newObjectId): Likewise.
27664 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27665 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27666 (getFrames): Fix typo in parameter name and update javadoc.
27667 (getClassMethod): Update javadoc.
27669 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27671 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27672 * javax/swing/event/TreeSelectionListener.java: Likewise.
27674 2006-03-09 Lillian Angel <langel@redhat.com>
27676 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27677 (getHScrollbarHeight): Fixed property name.
27678 (getVScrollbarHeight): Likewise.
27680 2006-03-09 Lillian Angel <langel@redhat.com>
27682 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27683 (get_widget): New function.
27684 (gtkWidgetSetParent): Changed to use new function.
27685 (gtkWidgetSetCursorUnlocked): Likewise.
27686 (gtkWidgetSetSensitive): Likewise.
27687 (gtkWidgetRequestFocus): Likewise.
27688 (gtkWindowGetLocationOnScreen): Likewise.
27689 (gtkWidgetGetDimensions): Likewise.
27690 (gtkWidgetGetPreferredDimensions): Likewise.
27691 (setNativeBounds): Likewise.
27692 (gtkWidgetGetBackground): Likewise.
27693 (gtkWidgetGetForeground): Likewise.
27694 (gtkWidgetSetBackground): Likewise.
27695 (gtkWidgetSetForeground): Likewise.
27696 (setVisibleNativeUnlocked): Likewise.
27697 (isEnabled): Likewise.
27698 (isRealized): Likewise.
27699 (setNativeEventMask): Likewise.
27701 2006-03-09 Lillian Angel <langel@redhat.com>
27704 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27705 (create): Added combobox widget to an event box.
27706 (connectSignals): Added call to choice_get_widget to get the
27707 combobox out of the event box.
27708 (append): Likewise.
27709 (nativeRemoveAll): Likewise.
27710 (nativeRemove): Likwise.
27711 (nativeAdd): Likewise.
27712 (selectNative): Likewise.
27713 (choice_get_widget): New function.
27714 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27715 (create): Added list scroll window widget to an event box.
27716 (connectSignals): Changed call to use new function to get the
27717 correct widget out of the event box.
27718 (getWidgetModifyFont): Likewise.
27719 (getWidgetRequestFocus): Likewise.
27720 (append): Likewise.
27722 (delItems): Likewise.
27723 (select): Likewise.
27724 (deselect): Likewise.
27725 (getSize): Likewise.
27726 (getSelectedIndexes): Likewise.
27727 (makeVisible): Likewise.
27728 (setMultipleMode): Likewise.
27729 (list_get_widget): New function.
27730 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27731 (create): Added scrollpane to an eventbox.
27732 (setScrollPosition): Changed call to use new function to get the
27733 correct widget out of the event box.
27734 (gtkScrolledWindowSetHScrollIncrement): Likewise.
27735 (gtkScrolledWindowSetVScrollIncrement): Likewise.
27736 (getHScrollbarHeight): Likewise.
27737 (getVScrollbarWidth): Likewise.
27738 (setPolicy): Likewise.
27739 (scrollpane_get_widget): New function.
27740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27741 (connectSignals): Changed call to use new function to get the
27742 correct widget out of the event box.
27743 (create): Added scrollbar to an eventbox.
27744 (setLineIncrement): Changed call to use new function to get the
27745 correct widget out of the event box.
27746 (setPageIncrement): Likewise.
27747 (setBarValues): Likewise.
27748 (scrollbar_get_widget): New function.
27749 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27750 (create): Added text area scroll window widget to an event box.
27751 (connectSignals): Changed call to use new function to get the
27752 correct widget out of the event box.
27753 (insert): Likewise.
27754 (replaceRange): Likewise.
27755 (gtkWidgetModifyFont): Likewise.
27756 (gtkWidgetRequestFocus): Likewise.
27757 (getHScrollbarHeight): Likewise.
27758 (getVScrollbarWidth): Likewise.
27759 (getCaretPosition): Likewise.
27760 (setCaretPosition):Likewise.
27761 (getSelectionStart): Likewise.
27762 (getSelectionEnd): Likewise.
27763 (select): Likewise.
27764 (setEditable): Likewise.
27765 (getText): Likewise.
27766 (setText): Likewise.
27767 (textarea_get_widget): New function.
27769 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27771 * java/rmi/dgc/VMID.java:
27772 (equals, hashCode, static initializer): Rewritten.
27773 * java/rmi/dgc/package.html: Documented.
27775 2006-03-09 Mark Wielaard <mark@klomp.org>
27777 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27779 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27780 (canCache): Likewise.
27781 (GtkClipboard): Take String argument.
27782 (getInstance): Removed.
27783 (getClipboardInstance, getSelectionInstance): New static methods.
27784 (setSystemContents): Make synchronized. Takes boolean argument.
27785 (initNativeState): Add clipboard and selection.
27786 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27787 (announceClipboardChange, announcePrimaryChange): New static field.
27788 (announce): Take GtkClipboard as argument.
27789 (run): Check which clipboard to announce change for.
27790 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27792 (GtkSelection): Take GtkClipboard as argument.
27793 (requestText, requestImage, requestURIs, requestBytes): Add boolean
27794 clipboard argument.
27795 (requestMimeTypes): Likewise.
27796 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27798 * java/awt/Toolkit.java (getSystemSelection): Document.
27799 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27800 (cp_gtk_selection_instance): New var.
27801 (current_selection, owner): Removed.
27802 (clipboard_owner_change_cb): Use clipboard argument.
27803 (initNativeState): Store clipboard and selection instances. Cache
27804 setSystemContentsID, provideContentID, provideTextID, provideImageID,
27806 (clipboard_get_func): Use clipboard argument.
27807 (clipboard_clear_func): Likewise. Always call method.
27808 (advertiseContent): Don't cache method ids here. Check whether to
27809 use clpboard or selection. Don't set owner or current_selection.
27810 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27811 (requestText, requestImage, requestURIs, requestBytes): Use extra
27812 boolean argument to select clipboard.
27813 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27814 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27815 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27816 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27818 2006-03-09 Keith Seitz <keiths@redhat.com>
27820 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27821 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27822 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27823 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27824 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27825 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27826 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27827 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27828 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27830 2006-03-09 Mark Wielaard <mark@klomp.org>
27832 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27833 bounds for index is valid.
27834 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27836 (getCellBounds): Update documentation.
27838 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
27840 * .classpath: added exclude pattern on source folders
27841 (Makefiles, README and .cvsignore)
27843 2006-03-08 Michael Koch <konqueror@gmx.de>
27845 * java/net/Proxy.java (NO_PROXY): Made final.
27846 (equals): Likewise.
27847 (hashCode): Likewise.
27849 2006-03-08 Keith Seitz <keiths@redhat.com>
27851 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27852 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27853 (getClassMethod): New method.
27855 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27857 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27859 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27861 * java/rmi/server/ObjID.java: Documented and autoformatted.
27863 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27866 * tools/Makefile.am (install-data-local,
27867 uninstall-local): Install/uninstall the tools/README only.
27868 * tools/gnu/classpath/tools/giop/README: Updated.
27869 * tools/README: New file.
27871 2006-03-08 Lillian Angel <langel@redhat.com>
27873 * java/awt/GridBagLayout.java
27874 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27875 then the next item should be set to current_y (not 0).
27877 2006-03-08 Lillian Angel <langel@redhat.com>
27879 * java/awt/GridBagLayout.java
27880 (GetLayoutInfo): If gridy is RELATIVE and there is no component
27881 in the bottom-most spot of the column, we need to place that component
27882 at the y-location of the other components in that row. If there are
27883 no other components in that row, then place it at y = 0.
27885 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
27887 * javax/swing/ProgressMonitor.java: Updated API docs,
27888 * javax/swing/ProgressMonitorInputStream.java: Likewise.
27890 2006-03-08 Michael Koch <konqueror@gmx.de>
27892 * java/net/InetSocketAddress.java
27893 (InetSocketAddress(String,int,resolve)): New private contructor.
27894 (InetSocketAddress(String,int)): Use new private constructor.
27895 (createUnresolved): New method.
27897 2006-03-07 Michael Koch <konqueror@gmx.de>
27899 * gnu/java/net/DefaultProxySelector.java,
27900 java/net/Proxy.java, java/net/ProxySelector.java:
27903 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27905 * java/rmi/server/UID.java (constructor): Assign last and time fields
27908 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27910 * java/rmi/server/UID.java: New file (replacing).
27912 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
27914 * java/util/jar/Manifest.java: Removed unused imports.
27915 (CRLF): New constant.
27916 (read): Added method documentation.
27917 Use UTF-8 encoding instead of 8859_1.
27918 (write): Added method documentation.
27919 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27920 (write_main_section): Replace PrintWriter arg with OutputStream.
27921 Replace JarException with IOException.
27922 (write_version_info): Likewise.
27923 (write_main_attributes): Likewise.
27924 (write_attribute_entry): Likewise.
27925 (write_individual_sections): Likewise.
27926 (write_entry_attributes): Likewise.
27927 (write_header): Replace PrintWriter arg with OutputStream.
27930 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27932 * javax/swing/tree/DefaultMutableTreeNode.java
27933 (getFirstChild): Updated API docs,
27934 (getLastChild): Likewise,
27935 (getChildAfter): Likewise,
27936 (getChildBefore): Likewise,
27937 (isNodeSibling): Return true if node == this,
27938 (getSiblingCount): Updated API docs,
27939 (getNextSibling): Likewise,
27940 (getPreviousSibling): Likewise,
27941 (isLeaf): Likewise,
27942 (getFirstLeaf): Likewise,
27943 (getLastLeaf): Likewise,
27944 (getNextLeaf): Implemented,
27945 (getPreviousLeaf): Implemented.
27947 2006-03-07 Tom Tromey <tromey@redhat.com>
27949 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27950 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27951 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27952 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27955 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27957 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27958 (clone): Reimplemented,
27959 (add): Throw IllegalArgumentException if child is an ancestor,
27960 (remove(int)): Set child's parent to null,
27961 (remove(MutableTreeNode)): Check arguments and set child's parent to
27963 (insert): Check allowsChildren flag, check for null argument, and
27964 check for a node that is an ancestor,
27965 (getIndex): Throw IllegalArgumentException for null argument,
27966 (setAllowsChildren): If setting to false, remove existing children,
27967 (removeAllChildren): Set parent to null for removed children.
27969 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27971 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27974 2006-03-06 Tom Tromey <tromey@redhat.com>
27976 * java/lang/StrictMath.java (ulp): New methods.
27977 * java/lang/Math.java (ulp): New methods.
27979 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27981 * gnu/java/rmi/server/UnicastRef.java,
27982 * gnu/java/rmi/server/UnicastServer.java: Formatted.
27984 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27986 * gnu/java/rmi/server/CombinedClassLoader.java
27987 (findClass, findLibrary, findResouce, findResources): check
27988 all loaders in array.
27990 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27993 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27994 (RefProtector): new inner class. (dirty): Rewritten.
27995 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27996 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27997 new methods. (readExternal): Create LeaseRenewingTask if non local.
27998 * gnu/java/rmi/server/UnicastServer.java (objects):
27999 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28000 (getExported): New method.
28001 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28003 2006-03-06 Mark Wielaard <mark@klomp.org>
28005 * doc/www.gnu.org/announce/20060306.wml: New file.
28006 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28007 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28009 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28011 * javax/swing/plaf/metal/MetalLookAndFeel.java
28012 (initComponentDefaults): Use Boolean.TRUE for
28013 'CheckBoxMenuItem.borderPainted'.
28015 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28017 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28018 (dateFormat): Made private.
28019 (put): Replace only the last occurance and the value.
28020 (putAll): Reimplemented with the put method.
28022 2006-03-06 Lillian Angel <langel@redhat.com>
28025 * java/awt/List.java
28026 (preferredSize): Return the size of the list if the peer is
28028 * gnu/java/awt/peer/gtk/GtkListPeer.java
28029 (preferredSize): Code was returning the minimum size of the
28030 list. Added adjustment to the width of the list so it is a
28033 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
28035 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28036 (getRequestProperty): Remove duplicated null check.
28037 * java/net/URLConnection.java:
28038 (URLConnection): Javadoc fix.
28039 (addRequestProperty): Likewise.
28040 (getDefaultRequestProperty): Likewise.
28041 (getHeaderField): Likewise.
28042 (getHeaderFieldDate): Likewise.
28043 (getHeaderFieldKey): Likewise.
28044 (getHeaderFields): Likewise.
28045 (getRequestProperties): Likewise.
28046 (getRequestProperty): Likewise.
28047 (setDefaultRequestProperty): Likewise.
28048 (setRequestProperty): Likewise.
28050 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28052 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28053 * examples/gnu/classpath/examples/swing/Demo.java:
28054 (mkButtonBar): Changed layout manager to GridLayout, added entry for
28056 (mkMenuBar): Added entry for text area example.
28058 2006-03-06 Tom Tromey <tromey@redhat.com>
28060 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28061 (FORMATTED_TEXT_FIELD): Likewise.
28063 2006-03-06 Tom Tromey <tromey@redhat.com>
28065 * javax/swing/plaf/synth/SynthPainter.java: Finished.
28067 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28069 * examples/gnu/classpath/examples/swing/Demo.java:
28070 (mkMenuBar): Added menu entry that will display the VM's name,
28071 version and distributor.
28073 2006-03-06 Tom Tromey <tromey@redhat.com>
28075 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28077 (getName): Likewise.
28079 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28081 * java/util/jar/Manifest.java: Removed unused imports.
28082 (CRLF): New constant.
28083 (read): Added method documentation.
28084 Use UTF-8 encoding instead of 8859_1.
28085 (write): Added method documentation.
28086 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28087 (write_main_section): Replace PrintWriter arg with OutputStream.
28088 Replace JarException with IOException.
28089 (write_version_info): Likewise.
28090 (write_main_attributes): Likewise.
28091 (write_attribute_entry): Likewise.
28092 (write_individual_sections): Likewise.
28093 (write_entry_attributes): Likewise.
28094 (write_header): Replace PrintWriter arg with OutputStream.
28097 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28100 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28101 API doc tag warnings,
28102 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28104 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28106 * gnu/java/net/protocol/file/Connection.java (unquote):
28107 Update position in buffer after decoding a unicode character
28108 outside of the basic plane.
28110 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28112 * java/net/URI.java
28113 (quote): Pass Unicode characters outside the basic plane through.
28115 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28117 * javax/swing/plaf/basic/BasicTextUI.java:
28118 (damageRange): Rewritten if-expressions to correctly identify the
28121 2006-03-06 Mark Wielaard <mark@klomp.org>
28123 * configure.ac: Set version to 0.90-generics.
28126 2006-03-06 Mark Wielaard <mark@klomp.org>
28128 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28129 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28130 (isnan): Define explicitly isnan if it is not a macro.
28132 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28134 * javax/swing/text/GapContent.java:
28135 (insertString): Throw exception when argument is below
28138 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28140 * javax/swing/text/PlainDocument.java:
28141 (insertUpdate): Extended if-expression, added
28142 code to generate another Element when newly inserted characters
28143 and old ones will be on the same line.
28145 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28147 * javax/swing/text/DefaultCaret.java:
28148 (mouseDragged): Do selection when shift is pressed.
28149 (mouseClicked): Implemented.
28151 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28153 * javax/swing/text/PlainDocument.java: Fix copyright header,
28155 (insertUpdate): Do not copy the whole document any more, added some
28156 more variables to prevent needless method calls.
28158 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28160 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28161 is required on Darwin.
28162 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28163 (AM_CFLAGS): Likewise.
28165 2006-03-06 Mark Wielaard <mark@klomp.org>
28167 * NEWS: Add updates for 0.90 release.
28169 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28171 * javax/swing/text/GapContent.java:
28172 (insertString): Throw exception when argument is below
28175 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28178 * javax/swing/filechooser/FileFilter.java:
28179 (accept): Fixed API doc tag,
28180 (getDescription): Likewise,
28181 * javax/swing/filechooser/FileView.java:
28182 (isTraversable): Fixed API doc tag.
28184 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28186 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28187 added API docs all over.
28189 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28191 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28192 and corrected a bad API doc tag.
28194 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28196 * javax/swing/undo/StateEditable.java
28197 (restoreState): Fixed bad API doc tag,
28198 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28199 AbstractUndoableEdit.java,
28200 * javax/swing/undo/UndoableEditSupport.java
28201 (createCompoundEdit): Fixed bad API doc tag,
28202 * javax/swing/undo/UndoManager.java
28203 (editToBeUndone): Fixed bad API doc tag,
28204 (editToBeRedone): Likewise.
28206 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28208 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28209 * javax/swing/FocusManager.java: Likewise.
28212 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28215 * javax/swing/plaf/metal/MetalComboBoxButton.java
28216 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28217 JList)): Fixed API doc tag,
28218 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28219 (createLayout): Fixed API doc warning.
28221 2006-03-05 Tom Tromey <tromey@redhat.com>
28223 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28224 ClassHelper.getUserName.
28225 * vm/reference/java/lang/reflect/Method.java (toString): Use
28226 ClassHelper.getUserName.
28227 (getUserTypeName): Removed.
28228 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28229 * vm/reference/java/lang/reflect/Field.java (toString): Use
28230 ClassHelper.getUserName.
28232 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28235 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28236 Allows directories as valid resources.
28238 2006-03-05 Mark Wielaard <mark@klomp.org>
28240 * configure.ac (VERSION): Set to 0.90-pre-generics.
28241 * Merge with CVS trunk from classpath-0_90-branch-point.
28243 2006-03-04 Tom Tromey <tromey@redhat.com>
28245 * javax/swing/SpringLayout.java (Constraints): New constructor.
28246 * javax/swing/Spring.java (width): New method.
28247 (height): Likewise.
28250 2006-03-04 Mark Wielaard <mark@klomp.org>
28252 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28253 existing connection from pool before returning.
28255 2006-03-04 Mark Wielaard <mark@klomp.org>
28257 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28258 exceptions thrown by handlers while cleaning up and rethrow original
28261 2006-03-04 Tom Tromey <tromey@redhat.com>
28263 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28265 (findConstructor): Likewise.
28266 (instantiateClass): Likewise.
28268 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28270 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28271 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28272 lease value and not always the default one.
28273 (LeaseRecord): Remember the array of objects, marked as dirty.
28274 java/rmi/dgc/Lease.java: Boilerplate fix.
28276 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28278 * java/util/jar/Attributes.java (putValue): Made it public and updated
28279 method documentation.
28281 2006-03-04 Mark Wielaard <mark@klomp.org>
28283 * java/awt/Container.java (remove(int)): Always call removeNotify()
28284 on removed Component.
28286 2006-03-04 Mark Wielaard <mark@klomp.org>
28288 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28289 * javax/swing/JEditorPane.java (setText): Check for empty String
28290 with equals(), not equality (==).
28292 2006-03-04 Mark Wielaard <mark@klomp.org>
28294 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28295 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28297 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28299 * javax/swing/text/GapContent.java
28300 (getArray): Mark as final.
28302 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28304 * javax/swing/text/StyleConstants.java
28305 (CharacterConstants.Background): Marked final,
28306 (CharacterConstants.BidiLevel): Likewise,
28307 (CharacterConstants.Bold): Likewise,
28308 (CharacterConstants.ComponentAttribute): Likewise,
28309 (CharacterConstants.Family): Likewise,
28310 (CharacterConstants.Size): Likewise,
28311 (CharacterConstants.Foreground): Likewise,
28312 (CharacterConstants.IconAttribute): Likewise,
28313 (CharacterConstants.Italic): Likewise,
28314 (CharacterConstants.StrikeThrough): Likewise,
28315 (CharacterConstants.Subscript): Likewise,
28316 (CharacterConstants.Superscript): Likewise,
28317 (CharacterConstants.Underline): Likewise,
28318 (ColorConstants.Foreground): Likewise,
28319 (ColorConstants.Background): Likewise,
28320 (FontConstants.Bold): Likewise,
28321 (FontConstants.Family): Likewise,
28322 (FontConstants.Italic): Likewise,
28323 (FontConstants.Size): Likewise,
28324 (ParagraphConstants.Alignment): Likewise,
28325 (ParagraphConstants.FirstLineIndent): Likewise,
28326 (ParagraphConstants.LeftIndent): Likewise,
28327 (ParagraphConstants.LineSpacing): Likewise,
28328 (ParagraphConstants.Orientation): Likewise,
28329 (ParagraphConstants.RightIndent): Likewise,
28330 (ParagraphConstants.SpaceAbove): Likewise,
28331 (ParagraphConstants.SpaceBelow): Likewise,
28332 (ParagraphConstants.TabSet): Likewise.
28334 2006-03-03 Tom Tromey <tromey@redhat.com>
28336 * javax/net/ssl/SSLException.java: Added missing @since.
28339 2006-03-03 Tom Tromey <tromey@redhat.com>
28341 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28342 (serialVersionUID): New field.
28344 2006-03-03 Tom Tromey <tromey@redhat.com>
28346 * java/security/spec/InvalidKeySpecException.java
28347 (InvalidKeySpecException): New constructors.
28348 * java/security/cert/CertificateParsingException.java
28349 (CertificateParsingException): New constructors.
28350 * java/security/cert/CertificateEncodingException.java
28351 (CertificateEncodingException): New constructors.
28352 * java/security/cert/CertificateException.java (CertificateException):
28354 * java/security/cert/CRLException.java (CRLException): New
28357 2006-03-03 Tom Tromey <tromey@redhat.com>
28359 * java/security/SignatureException.java (SignatureException): New
28361 * java/security/ProviderException.java (ProviderException): New
28363 * java/security/NoSuchAlgorithmException.java
28364 (NoSuchAlgorithmException): New constructors.
28365 * java/security/KeyStoreException.java (KeyStoreException): New
28367 * java/security/KeyManagementException.java (KeyManagementException):
28369 * java/security/InvalidKeyException.java (InvalidKeyException): New
28371 * java/security/KeyException.java (KeyException): New constructors.
28372 * java/security/InvalidAlgorithmParameterException.java
28373 (InvalidAlgorithmParameterException): New constructors.
28374 * java/security/DigestException.java (DigestException): New
28376 * java/security/GeneralSecurityException.java
28377 (GeneralSecurityException): New constructors.
28379 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28381 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28383 * javax/swing/event/DocumentEvent.java: Likewise,
28384 * javax/swing/event/EventListenerList.java: Likewise,
28385 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28386 * javax/swing/event/MenuKeyEvent.java: Likewise,
28387 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28388 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28389 * javax/swing/event/TreeModelEvent.java: Likewise,
28390 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28391 * javax/swing/event/UndoableEditEvent.java: Likewise.
28393 2006-03-03 Tom Tromey <tromey@redhat.com>
28395 * java/awt/Insets.java (set): New method.
28396 (equals): Added @since.
28398 2006-03-03 David Daney <ddaney@avtrex.com>
28400 * gnu/java/net/protocol/http/HTTPURLConnection.java
28401 (getRequestProperties): Rewrote.
28402 (addRequestProperty): Rewrote.
28403 (getHeaderFields): Rewrote.
28404 (getHeaderField): Rewrote.
28405 (getHeaderFieldKey): Rewrote.
28406 (getHeaderField): Removed useless cast.
28407 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28408 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28410 (notifyHeaderHandlers): Use new Headers interface.
28412 2006-03-03 Tom Tromey <tromey@redhat.com>
28414 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28415 * javax/naming/spi/ResolveResult.java,
28416 javax/naming/event/NamingExceptionEvent.java,
28417 javax/naming/event/NamingEvent.java,
28418 javax/naming/directory/SearchResult.java,
28419 javax/naming/directory/SearchControls.java,
28420 javax/naming/directory/SchemaViolationException.java,
28421 javax/naming/directory/NoSuchAttributeException.java,
28422 javax/naming/directory/ModificationItem.java,
28423 javax/naming/directory/InvalidSearchFilterException.java,
28424 javax/naming/directory/InvalidSearchControlsException.java,
28425 javax/naming/directory/InvalidAttributesException.java,
28426 javax/naming/directory/InvalidAttributeIdentifierException.java,
28427 javax/naming/directory/AttributeModificationException.java,
28428 javax/naming/directory/AttributeInUseException.java,
28429 javax/naming/TimeLimitExceededException.java,
28430 javax/naming/SizeLimitExceededException.java,
28431 javax/naming/PartialResultException.java,
28432 javax/naming/Reference.java,
28433 javax/naming/ServiceUnavailableException.java,
28434 javax/naming/OperationNotSupportedException.java,
28435 javax/naming/NotContextException.java,
28436 javax/naming/NoPermissionException.java,
28437 javax/naming/NoInitialContextException.java,
28438 javax/naming/NameNotFoundException.java,
28439 javax/naming/NameAlreadyBoundException.java,
28440 javax/naming/NameClassPair.java,
28441 javax/naming/MalformedLinkException.java,
28442 javax/naming/LinkLoopException.java,
28443 javax/naming/LinkException.java,
28444 javax/naming/LimitExceededException.java,
28445 javax/naming/InvalidNameException.java,
28446 javax/naming/InterruptedNamingException.java,
28447 javax/naming/InsufficientResourcesException.java,
28448 javax/naming/ContextNotEmptyException.java,
28449 javax/naming/ConfigurationException.java,
28450 javax/naming/CannotProceedException.java,
28451 javax/naming/CommunicationException.java,
28452 javax/naming/Binding.java,
28453 javax/naming/AuthenticationNotSupportedException.java,
28454 javax/naming/AuthenticationException.java: Added serialVersionUID.
28456 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28458 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28460 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28462 * javax/swing/event/TableModelListener.java: Updated API docs.
28464 2006-03-03 Mark Wielaard <mark@klomp.org>
28466 * java/awt/Component.java (addNotify): Expand documentation.
28468 2006-03-03 Mark Wielaard <mark@klomp.org>
28470 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28471 Always call setParentAndBounds().
28472 (setComponentBounds): Always call setBounds().
28473 (setBounds): Call setVisible().
28474 (setVisible): If no pixels are showing then don't make it visible.
28475 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28476 to call setParentAndBounds() anymore.
28478 2006-03-03 Roman Kennke <kennke@aicas.com>
28480 * javax/swing/JInternalFrame.java
28481 (JInternalFrame): Set frame invisible.
28482 (show): Reformatted.
28483 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28484 (installDefaults): Do not set invisible here.
28486 2006-03-03 Roman Kennke <kennke@aicas.com>
28488 * java/awt/Toolkit.java
28489 (getScreenInsets): Return (0,0,0,0) here.
28491 2006-03-03 Roman Kennke <kennke@aicas.com>
28493 * javax/swing/text/FlowView.java
28494 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28495 (FlowStrategy.getLogicalView): Made method protected.
28497 2006-03-03 Chris Burdess <dog@gnu.org>
28499 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28500 gnu/xml/validation/relaxng/AttributePattern.java,
28501 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28502 gnu/xml/validation/relaxng/ChoicePattern.java,
28503 gnu/xml/validation/relaxng/DataPattern.java,
28504 gnu/xml/validation/relaxng/Define.java,
28505 gnu/xml/validation/relaxng/ElementPattern.java,
28506 gnu/xml/validation/relaxng/EmptyPattern.java,
28507 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28508 gnu/xml/validation/relaxng/Grammar.java,
28509 gnu/xml/validation/relaxng/GrammarException.java,
28510 gnu/xml/validation/relaxng/GrammarValidator.java,
28511 gnu/xml/validation/relaxng/GroupPattern.java,
28512 gnu/xml/validation/relaxng/InterleavePattern.java,
28513 gnu/xml/validation/relaxng/ListPattern.java,
28514 gnu/xml/validation/relaxng/NSNameNameClass.java,
28515 gnu/xml/validation/relaxng/NameClass.java,
28516 gnu/xml/validation/relaxng/NameNameClass.java,
28517 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28518 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28519 gnu/xml/validation/relaxng/Param.java,
28520 gnu/xml/validation/relaxng/Pattern.java,
28521 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28522 gnu/xml/validation/relaxng/RefPattern.java,
28523 gnu/xml/validation/relaxng/TextPattern.java,
28524 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28525 builder and data model.
28526 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28527 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28528 gnu/xml/validation/xmlschema/AttributeUse.java,
28529 gnu/xml/validation/xmlschema/ComplexType.java,
28530 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28531 gnu/xml/validation/xmlschema/Particle.java,
28532 gnu/xml/validation/xmlschema/ValidationException.java,
28533 gnu/xml/validation/xmlschema/XMLSchema.java,
28534 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28535 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28536 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28537 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28538 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28539 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28540 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28541 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28542 W3C XML Schema builder and schema components.
28543 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28544 XML Schema namespace URIs.
28546 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28548 * NEWS: Add entry for --enable-collections.
28549 * configure.ac: Add --enable-collections option.
28550 * lib/Makefile.am (collections.jar): New target.
28551 (glibj_DATA): Add $(COLLECTIONS).
28552 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28553 configure substitution.
28554 (classpath): Read from command line.
28555 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28557 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28559 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28561 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28563 * javax/swing/event/ListSelectionEvent.java
28564 (toString): Implemented,
28565 plus updated API docs all over.
28567 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28569 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28571 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28573 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28575 * gnu/java/rmi/dgc/DGCImpl.java,
28576 java/rmi/dgc/DGC.java,
28577 java/rmi/dgc/Lease.java: Formatted and commented.
28579 2006-03-03 Roman Kennke <kennke@aicas.com>
28581 * NEWS: Added comment about text highlighting and copy+paste
28584 2006-03-03 Roman Kennke <kennke@aicas.com>
28586 * javax/swing/JTabbedPane.java
28587 (remove(int)): Call super.remove(int) instead of remove(Component).
28588 Avoids a stack overflow.
28590 2006-03-03 Roman Kennke <kennke@aicas.com>
28592 * javax/swing/JTable.java
28593 (distributeSpillResizing): Avoid ArithmeticException by checking
28596 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28598 * javax/swing/text/package.html: Added package description.
28600 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28602 * javax/swing/CellRendererPane.java: Minor API doc fix,
28603 * javax/swing/ComboBoxModel.java: Updated API docs.
28605 2006-03-03 Chris Burdess <dog@gnu.org>
28608 * gnu/xml/stream/EntityReferenceImpl.java,
28609 gnu/xml/stream/FilteredEventReader.java,
28610 gnu/xml/stream/SAXParser.java,
28611 gnu/xml/stream/XIncludeFilter.java,
28612 gnu/xml/stream/XMLEventAllocatorImpl.java,
28613 gnu/xml/stream/XMLEventFactoryImpl.java,
28614 gnu/xml/stream/XMLEventImpl.java,
28615 gnu/xml/stream/XMLEventReaderImpl.java,
28616 gnu/xml/stream/XMLEventWriterImpl.java,
28617 gnu/xml/stream/XMLInputFactoryImpl.java,
28618 gnu/xml/stream/XMLOutputFactoryImpl.java,
28619 gnu/xml/stream/XMLParser.java,
28620 javax/xml/stream/EventFilter.java,
28621 javax/xml/stream/Location.java,
28622 javax/xml/stream/StreamFilter.java,
28623 javax/xml/stream/XMLEventFactory.java,
28624 javax/xml/stream/XMLEventReader.java,
28625 javax/xml/stream/XMLEventWriter.java,
28626 javax/xml/stream/XMLInputFactory.java,
28627 javax/xml/stream/XMLOutputFactory.java,
28628 javax/xml/stream/XMLReporter.java,
28629 javax/xml/stream/XMLResolver.java,
28630 javax/xml/stream/XMLStreamConstants.java,
28631 javax/xml/stream/XMLStreamReader.java,
28632 javax/xml/stream/events/EntityDeclaration.java,
28633 javax/xml/stream/events/EntityReference.java,
28634 javax/xml/stream/events/XMLEvent.java,
28635 javax/xml/stream/util/EventReaderDelegate.java,
28636 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28637 StAX API as specified in JWSDP 2.0.
28638 * gnu/xml/stream/EndEntityImpl.java,
28639 gnu/xml/stream/LocationImpl.java,
28640 gnu/xml/stream/StartEntityImpl.java,
28641 gnu/xml/stream/XMLStreamReaderImpl.java,
28642 javax/xml/stream/XMLFilter.java,
28643 javax/xml/stream/XMLIterator.java,
28644 javax/xml/stream/events/EndEntity.java,
28645 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28647 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28649 * javax/swing/CellEditor.java: API doc updates,
28650 * javax/swing/DefaultCellEditor.java: Likewise.
28652 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28654 * javax/swing/AbstractListModel.java:
28655 (AbstractListModel): Added API docs,
28656 (fireContentsChanged): Minor API doc correction,
28657 (fireIntervalAdded): Likewise,
28658 (fireIntervalRemoved): Likewise.
28660 2006-03-03 Roman Kennke <kennke@aicas.com>
28662 * NEWS: Added paragraph about Swing improvements.
28664 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28666 * javax/swing/AbstractAction.java: Updated API docs all over,
28667 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28668 (stopCellEditing): Minor API doc correction,
28669 * javax/swing/UnsupportedLookAndFeelException.java
28670 (UnsupportedLookAndFeelException): Changed argument name, updated API
28673 2006-03-03 Roman Kennke <kennke@aicas.com>
28675 * javax/swing/plaf/metal/MetalUtils.java
28676 (fillMetalPattern): Added switch to not use Graphics2D methods,
28677 even if they are available.
28679 2006-03-03 Roman Kennke <kennke@aicas.com>
28681 * javax/swing/plaf/basic/BasicHTML.java
28682 (isHTMLString): Check for string beeing null.
28683 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28684 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28685 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28686 (InternalFrameLayout): Don't touch the glass pane here.
28687 (installUI): Fix handling of glass pane.
28688 * javax/swing/plaf/basic/BasicLabelUI.java
28692 (BasicLabelUI): Initialize new fields.
28693 (getPreferredSize): Avoid creating new Rectangles by using
28694 SwingUtilities method.
28695 (paint): Avoid creating new Rectangles by reusing
28696 new fields. Added some preliminary handling of HTML inside the
28698 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28699 (uninstallComponents): Clear HTML renderer.
28700 (propertyChange): Check for HTML text and install renderer if
28702 * javax/swing/plaf/basic/BasicListUI.java
28703 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28705 * javax/swing/plaf/basic/BasicTextUI.java
28706 (RootView.getStartOffset): Implemented.
28707 (RootView.getEndOffset): Implemented.
28708 (RootView.getDocument): Implemented.
28710 2006-03-03 Roman Kennke <kennke@aicas.com>
28712 * javax/swing/text/DefaultStyledDocument.java
28713 (ElementBuffer.inserUpdate): Added check for zero-length
28715 * javax/swing/text/DefaultStyledDocument.java
28716 (setIndex): Improved exception message.
28717 * javax/swing/text/TableView.java
28718 Made class abstract.
28719 (TableRow.replace): Probably extend columnRequirements
28721 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28722 of super.layoutMajorAxis.
28723 (columnRequirements): Made field package private.
28724 (TableView): Do not load any child views here.
28725 (layoutColumns): Implemented this method.
28726 (updateColumnRequirements): New helper method.
28727 * javax/swing/text/Utilities.java
28728 (getBreakLocation): Also take offset into account when
28729 finding end location.
28730 * javax/swing/text/html/HTMLDocument.java
28731 (HTMLReader.parseStack): New field.
28732 (HTMLReader.blockOpen): Properly handle p-implied tags.
28733 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28734 (HTMLReader.addContent): Insert p-implied when adding content to
28736 * javax/swing/text/html/HTMLEditorKit.java
28737 (HTMLFactory.create): Create HTMLTableView for <table> tags and
28738 ParagraphView for TD tags. Print out warning for tags that don't have
28739 matching view yet and create NullView for them.
28740 (read): Only set document base when document != null.
28741 * javax/swing/text/html/HTMLTableView.java:
28744 2006-03-03 Roman Kennke <kennke@aicas.com>
28746 * javax/swing/plaf/basic/BasicHTML.java
28747 (HTMLRootView): New inner class.
28748 (createHTMLView): Embed view inside a HTMLRootView.
28750 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
28752 * gnu/java/net/protocol/jar/Connection.java:
28753 (connect): Throw FileNotFoundException.
28754 (getInputStream): Remove duplicated code.
28756 2006-03-03 Roman Kennke <kennke@aicas.com>
28758 * javax/swing/RepaintManager.java
28759 (commitBuffer): Added null check for clip.
28761 2006-03-02 Lillian Angel <langel@redhat.com>
28763 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28764 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28765 to use GtkWidget instead of GTKMenu.
28767 2006-03-02 Lillian Angel <langel@redhat.com>
28769 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28770 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
28771 use the submenu to get the list of children. This now works
28772 in the same way as addItem.
28774 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
28776 * java/lang/StringBuilder.java:
28777 (codePointAt): New method.
28778 (codePointBefore): Likewise.
28779 (codePointCount): Likewise.
28780 (trimToSize): Likewise.
28782 2006-03-02 Tom Tromey <tromey@redhat.com>
28784 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28786 2006-03-02 Tom Tromey <tromey@redhat.com>
28788 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28789 (getProviderInstance):
28791 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
28793 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28794 Fix regression caused by move to VM variant.
28795 PR classpath/22926.
28797 2006-03-01 Tom Tromey <tromey@redhat.com>
28799 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28800 * vm/reference/java/net/VMInetAddress.java: Organized imports.
28801 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28802 imports for javadoc.
28803 (getProxyClass): Javadoc fixes.
28804 (getProxyData): Likewise.
28805 (generateProxyClass): Likewise.
28806 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28807 (setOut): Likewise.
28808 (setErr): Likewise.
28809 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28810 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28812 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28814 (getModifiers): Likewise.
28815 (getDeclaredClasses): Javadoc fix.
28816 (getDeclaredFields): Likewise.
28817 (getDeclaredMethods): Likewise.
28818 (getDeclaredConstructors): Likewise.
28819 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28822 2006-03-01 Tom Tromey <tromey@redhat.com>
28824 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28825 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28826 (getVersion): Javadoc fix.
28828 * gnu/java/net/protocol/http/Headers.java: Organized imports.
28829 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28831 2006-03-01 David Daney <ddaney@avtrex.com>
28833 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28834 as relative if it contains a colon but no protocol handler can be
28837 2006-03-01 Roman Kennke <kennke@aicas.com>
28839 * javax/swing/text/AbstractDocument.java
28840 (LeafElement.LeafElement): Handle delta with respect to content
28841 length not document length.
28842 * javax/swing/text/CompositeView.java
28843 (getViewIndex): Handle bias correctly.
28844 * javax/swing/text/DefaultCaret.java
28845 (paint): Align caret position to document bounds to avoid trouble
28846 when removing large portions of content.
28847 * javax/swing/text/DefaultStyledDocument.java
28848 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28849 (ElementBuffer.createFracture): Copy old childs attribute. The
28850 ElementSpec usually doesn't carry attribute information.
28851 Use pos instead of offset.
28852 (ElementBuffer.insertFracture): Use pos instead of offset.
28853 (createDefaultRootElement): Don't use create* and instead directly
28854 instantiate the elements.
28855 (handleInsertAfterNewline): Compare the paragraphs startOffset
28856 rather than previous paragraphs endOffset.
28857 * javax/swing/text/JTextComponent.java
28858 (getScrollableTracksViewportWidth): Remove unnecessary cast to
28860 (getScrollableTracksViewportHeight): Remove unnecessary cast to
28862 * javax/swing/text/PlainView.java
28863 (damageLineRange): Avoid creating new Rectangle by using
28865 * javax/swing/text/View.java
28866 (forwardUpdate): Correct the use of bias.
28867 (modelToView): Avoid new Rectangles by using SwingUtilities.
28868 (dump): Made (temprorarily) protected for use in BasicTextUI.
28869 (dump(int)): Dump out the element of the view.
28871 2006-03-01 Lillian Angel <langel@redhat.com>
28873 * NEWS: javax.imageio.plugins.bmp implementation.
28875 2006-03-01 Lillian Angel <langel@redhat.com>
28877 * javax/imageio/ImageWriteParam.java:
28878 Added documentation for fields.
28879 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28880 New class implemented.
28882 2006-03-01 Tom Tromey <tromey@redhat.com>
28884 * NEWS: Mention java.util.prefs update.
28886 2006-03-01 Tom Tromey <tromey@redhat.com>
28888 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28889 * java/nio/charset/UnmappableCharacterException.java:
28890 (serialVersionUID): New field.
28891 * java/nio/charset/MalformedInputException.java:
28892 (serialVersionUID): New field.
28893 * java/nio/charset/CoderMalfunctionError.java:
28894 (serialVersionUID): New field.
28895 * java/nio/charset/CharacterCodingException.java:
28896 (serialVersionUID): New field.
28897 * java/nio/channels/UnsupportedAddressTypeException.java:
28898 (serialVersionUID): New field.
28899 * java/nio/channels/UnresolvedAddressException.java:
28900 (serialVersionUID): New field.
28901 * java/nio/channels/OverlappingFileLockException.java:
28902 (serialVersionUID): New field.
28903 * java/nio/channels/NotYetConnectedException.java:
28904 (serialVersionUID): New field.
28905 * java/nio/channels/NotYetBoundException.java
28906 (serialVersionUID): New field.
28907 * java/nio/channels/NonWritableChannelException.java
28908 (serialVersionUID): New field.
28909 * java/nio/channels/NonReadableChannelException.java
28910 (serialVersionUID): New field.
28911 * java/nio/channels/NoConnectionPendingException.java
28912 (serialVersionUID): New field.
28913 * java/nio/channels/IllegalSelectorException.java
28914 (serialVersionUID): New field.
28915 * java/nio/channels/IllegalBlockingModeException.java
28916 (serialVersionUID): New field.
28917 * java/nio/channels/FileLockInterruptionException.java
28918 (serialVersionUID): New field.
28919 * java/nio/channels/ConnectionPendingException.java
28920 (serialVersionUID): New field.
28921 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28923 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28925 * java/nio/channels/ClosedByInterruptException.java
28926 (serialVersionUID): New field.
28927 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
28929 * java/nio/channels/AsynchronousCloseException.java
28930 (serialVersionUID): New field.
28931 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28933 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28934 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28935 * java/nio/BufferUnderflowException.java (serialVersionUID): New
28937 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28938 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28939 Javadoc fix. Added import.
28940 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28941 (validOps): Likewise.
28942 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28943 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28944 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28945 * java/nio/channels/Channels.java: Added import.
28946 * java/nio/channels/FileChannel.java (lock): Typo fix.
28947 (tryLock): Likewise.
28949 2006-03-01 Tom Tromey <tromey@redhat.com>
28951 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28953 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28954 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28956 (putSpi): Likewise.
28957 (newNode): Likewise.
28959 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28960 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28962 (systemRoot): Use it.
28963 (userPreferences): New field.
28964 (userRoot): Use it.
28966 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
28968 * java/util/ResourceBundle.java
28969 (tryBundle): Catch and ignore all Exceptions.
28971 2006-02-28 Roman Kennke <kennke@aicas.com>
28973 * javax/swing/plaf/basic/BasicScrollBarUI.java
28974 (getPreferredSize): Fixed add a fixed space between the buttons
28975 instead of something related to min/max.
28976 (installComponents): Create and install buttons here.
28977 (installDefaults): Don't create buttons here.
28978 * javax/swing/plaf/metal/MetalScrollBarUI.java
28979 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28980 (getPreferredSize): New method.
28982 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
28984 * examples/gnu/classpath/examples/swing/Demo.java
28985 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28986 connected 'Spinner' action to SpinnerDemo,
28987 (mkCheckbox): Removed,
28988 (mkRadio): Likewise,
28989 (mkSpinner): Likewise,
28990 (mkToggle): Likewise,
28991 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28992 connected 'Spinner' action to SpinnerDemo.
28994 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
28996 * javax/print/ServiceUIFactory.java: Added documentation to class.
28998 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29001 * javax/swing/DefaultListSelectionModel.java:
29002 (addSelectionInterval): Return early if either of the arguments is -1.
29003 (removeSelectionInterval): Likewise.
29004 (setSelectionInterval): Likewise.
29006 2006-02-28 Lillian Angel <langel@redhat.com>
29008 * javax/swing/text/DefaultFormatter.java
29009 (stringToValue): Added NPE check.
29011 2006-02-28 Roman Kennke <kennke@aicas.com>
29014 * javax/swing/JList.java
29015 (getPreferredScrollableViewportSize): Restored specified behaviour.
29016 * javax/swing/plaf/metal/MetalFileChooserUI.java
29017 (createList): Set filelist panel's preferredSize, so that it doesn't
29018 get size into infinity for big lists.
29020 2006-02-28 Lillian Angel <langel@redhat.com>
29022 * javax/swing/ViewportLayout.java
29023 (layoutContainer): Should not extend container to be
29024 minimum size. Mauve test shows that the preferred size
29025 and the size of the viewport can be set smaller than
29028 2006-02-28 Lillian Angel <langel@redhat.com>
29031 * javax/swing/JList.java
29032 (getPreferredScrollableViewportSize): Added a check to determine
29033 if orientation is VERTICAL_WRAP. If it is, we should only
29036 2006-02-28 Lillian Angel <langel@redhat.com>
29039 * javax/swing/ViewportLayout.java:
29040 Patch submitted by Audrius Meskauskas
29041 (addLayoutComponent): Added documentation.
29042 (removeLayoutComponent): Likewise.
29043 (preferredLayoutSize): Likewise.
29044 (minimumLayoutSize): Likewise.
29045 (layoutContainer): Fixed code, so view is set
29046 to the right position when inside a scrollpane.
29048 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29050 * java/math/BigInteger.java:
29051 Committed patch by Rafael:
29052 developer.classpath.org/pipermail/classpath-patches/
29053 2006-February/000473.html
29054 (signum): Return early 0 if words == null and ival == 0.
29055 (readObject): Handle special case of magnitude.length or signum being
29057 (writeObject): If signum is zero return a zero-sized byte[].
29059 2006-02-28 Lillian Angel <langel@redhat.com>
29061 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29062 (create): Initially set the directory to the current working directory.
29063 (setDirectory): Removed else-if. No need for this check.
29065 2006-02-28 Tom Tromey <tromey@redhat.com>
29067 * .project: Run java builder before header generation.
29069 2006-02-28 Tom Tromey <tromey@redhat.com>
29071 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29073 * gnu/java/util/prefs/EventDispatcher.java: New file.
29074 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29075 (NodeWriter): Specify UTF-8.
29076 (writeHeader): Emit DOCTYPE.
29077 * java/util/prefs/Preferences.java (getFactory): Add cause to
29079 (exportNode): Documented.
29080 (exportSubtree): Likewise.
29081 (importPreferences): Likewise.
29082 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29083 (writeObject): Likewise.
29084 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29085 (writeObject): Likewise.
29086 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29087 (nodeListeners): New field.
29088 (preferenceListeners): Likewise.
29089 (addNodeChangeListener): Implemented.
29090 (addPreferenceChangeListener): Likewise.
29091 (removeNodeChangeListener): Likewise.
29092 (removePreferenceChangeListener): Likewise.
29093 (fire): New methods.
29095 (remove): Likewise.
29096 (purge): Likewise. Fixed synchronization.
29097 (removeNode): Fixed synchronization.
29098 (getNode): Fire event.
29099 (flushNode): Fixed synchronization.
29101 2006-02-28 Roman Kennke <kennke@aicas.com>
29103 * javax/swing/text/BranchElement.java
29104 (startOffset): New field.
29105 (endOffset): New field.
29106 (BranchElement): Initialize new fields.
29107 (getEndOffset): Rewritten to possibly return cached values
29108 if element has no children.
29109 (getStartOffset): Rewritten to possibly return cached values
29110 if element has no children.
29111 * javax/swing/text/LeafElement.java
29112 (startDelta): New field.
29113 (endDelta): New field.
29114 (LeafElement): Handle possible delta of start/endOffset when
29115 these parameters lie outside the document range.
29116 (getStartOffset): Handle possible startDelta.
29117 (getEndOffset): Handle possible startDelta.
29119 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29121 * NEWS: Added line about Unicode 4.0.0 support.
29123 2006-02-28 Roman Kennke <kennke@aicas.com>
29125 * javax/swing/SwingUtilities.java
29126 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29128 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29130 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29132 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29134 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29135 Amended class documentation.
29136 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29138 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29139 a BIT STRING construct.
29140 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29142 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29144 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29145 a BIT STRING construct.
29146 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29147 (engineVerify): Added logging.
29149 2006-02-28 Roman Kennke <kennke@aicas.com>
29151 * java/awt/Component.java
29152 (dispatchEventImpl): Let the Toolkit dispatch global events.
29153 * java/awt/Container.java
29154 (dispatchEventImpl): Let the LightweightDispatcher handle events
29156 * java/awt/EventQueue.java
29157 (dispatchEvent): Don't do the global event dispatching here. This
29158 is moved to the Component.
29159 (globalDispatchEvent): Moved this method to Toolkit.
29160 * java/awt/LightweightDispatcher.java
29161 (instances): New field.
29162 (getInstance): New method. Delivers an instance of
29163 LightweightDispatcher.
29164 (LightweightDispatcher): Made default constructor private.
29165 (dispatchEvent): New method. Replaces the eventDispatched method.
29166 This now returns true when the event was actually dispatched.
29167 (eventDispatched): Replaced by dispatchEvent.
29168 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29169 received the last MOUSE_RELEASED.
29170 * java/awt/Toolkit.java
29171 (Toolkit): Don't register LightweightDispatcher as global event
29173 (globalDispatchEvent): Moved here from EventQueue.
29175 2006-02-27 David Daney <ddaney@avtrex.com>
29178 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29180 (getRequestProperties): Rewrote.
29182 2006-02-27 David Daney <ddaney@avtrex.com>
29185 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29187 (ChunkedInputStream): Extend InputStream.
29189 (headers): Moved to top of class.
29190 (constructor): Save referenct to in.
29191 (read(byte[])): Removed method.
29192 (read(byte[], int, int)): Made synchronized and throw IOException
29193 on error parsing chunk header.
29194 (available): New method.
29195 (close): New method.
29197 2006-02-27 David Daney <ddaney@avtrex.com>
29199 * gnu/java/net/protocol/http/HTTPURLConnection.java
29200 (imports): Cleaned up.
29201 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29202 (constructor): ... Here, using SystemProperties instead of System.
29204 2006-02-27 Lillian Angel <langel@redhat.com>
29206 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29207 (setDirectory): GtkFileChooser requires an absolute directory
29208 name. Added a check to make the directory passed to nativeSetDirectory
29211 2006-02-27 Roman Kennke <kennke@aicas.com>
29213 * javax/swing/SwingUtilities.java
29214 (computeIntersection): Changed to store result in rect, instead of
29215 creating new Rectangle instances. Fixed API docs accordingly.
29216 (computeUnion): Changed to store result in rect, instead of
29217 creating new Rectangle instances. Fixed API docs accordingly.
29219 2006-02-27 Roman Kennke <kennke@aicas.com>
29221 * javax/swing/JViewport.java
29222 (static_init): Changed default scrollmode to BLIT.
29223 (paintSimple): Added some clipping to avoid painting problems.
29224 (paintBlit): Added some clipping to avoid painting problems.
29226 2006-02-27 Roman Kennke <kennke@aicas.com>
29228 * javax/swing/JComponent.java
29229 (rectCache): Made field static to save memory.
29230 (getVisibleRect): Don't use rectCache and create new Rectangle
29232 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29233 (repaint(long,int,int,int,int)): Directly call
29234 RepaintManager.addDirtyRegion(). The visibleRect check is now
29235 performed in the RepaintManager.
29237 2006-02-27 Roman Kennke <kennke@aicas.com>
29239 * javax/swing/RepaintManager.java
29240 (currentRepaintManagers): Made field private.
29241 (rectCache): New field.
29242 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29243 component. Changed Rectangle handling to avoid unnecessary new
29244 Rectangle instances.
29245 (getOffscreenBuffer): Create buffer with size of the root window.
29246 Respect the maximum buffer size here.
29247 (commitBuffer): Align the regions so that they are inside the buffer
29248 image and inside the clip. This avoids problems with a bug in GTKImage.
29249 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29251 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29253 * native/fdlibm/e_acos.c,
29254 * native/fdlibm/e_asin.c,
29255 * native/fdlibm/e_atan2.c,
29256 * native/fdlibm/e_cosh.c,
29257 * native/fdlibm/e_exp.c,
29258 * native/fdlibm/e_fmod.c,
29259 * native/fdlibm/e_hypot.c,
29260 * native/fdlibm/e_log.c,
29261 * native/fdlibm/e_log10.c,
29262 * native/fdlibm/e_rem_pio2.c,
29263 * native/fdlibm/e_remainder.c,
29264 * native/fdlibm/e_sinh.c,
29265 * native/fdlibm/e_sqrt.c,
29266 * native/fdlibm/k_cos.c,
29267 * native/fdlibm/k_sin.c,
29268 * native/fdlibm/k_tan.c,
29269 * native/fdlibm/s_atan.c,
29270 * native/fdlibm/s_cbrt.c,
29271 * native/fdlibm/s_ceil.c,
29272 * native/fdlibm/s_copysign.c,
29273 * native/fdlibm/s_cos.c,
29274 * native/fdlibm/s_expm1.c,
29275 * native/fdlibm/s_fabs.c,
29276 * native/fdlibm/s_finite.c,
29277 * native/fdlibm/s_floor.c,
29278 * native/fdlibm/s_log1p.c,
29279 * native/fdlibm/s_rint.c,
29280 * native/fdlibm/s_scalbn.c,
29281 * native/fdlibm/s_sin.c,
29282 * native/fdlibm/s_tan.c,
29283 * native/fdlibm/s_tanh.c:
29284 Fixed to call our macros rather than __HI and __LO.
29285 * native/fdlibm/fdlibm.h:
29286 Reintroduced previous extraction code.
29287 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29288 (GET_HIGH_WORD(i,d)): Readded.
29289 (GET_LOW_WORD(i,d)): Readded.
29290 (INSERT_WORDS(d,ix0,ix1)): Readded.
29291 (SET_HIGH_WORD(d,i)): Readded.
29292 (SET_LOW_WORD(d,i)): Readded.
29293 * native/jni/gtk-peer/gthread-jni.c:
29294 Use Glib macros to convert integers/pointers portably.
29296 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29298 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29299 as the fallback SPI.
29300 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29301 ones referencing GNU-CRYPTO classes.
29302 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29303 (engineValidate): Use GNU-CRYPTO class.
29304 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29305 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29306 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29307 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29308 * gnu/java/security/provider/DSAParameters: Likewise.
29309 * gnu/java/security/provider/DSASignature: Likewise.
29310 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29311 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29312 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29313 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29314 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29315 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29316 * gnu/java/security/provider/MD2withRSA: Likewise.
29317 * gnu/java/security/provider/MD4withRSA: Likewise.
29318 * gnu/java/security/provider/MD5: Likewise.
29319 * gnu/java/security/provider/MD5withRSA: Likewise.
29320 * gnu/java/security/provider/RSA: Likewise.
29321 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29322 * gnu/java/security/provider/SHA: Likewise.
29323 * gnu/java/security/provider/SHA1PRNG: Likewise.
29324 * gnu/java/security/provider/SHA1withRSA: Likewise.
29325 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29327 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29329 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29330 (engineGeneratePublic): Added logging.
29331 (engineGeneratePrivate): Likewise.
29332 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29333 (encodePublicKey): Added logging.
29334 Clarified in method documentation that params is optional, but is
29335 always NULL if present.
29336 (decodePublicKey): Added logging.
29337 Handle optional NULL element.
29339 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29341 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29343 2006-03-03 Tom Tromey <tromey@redhat.com>
29345 * java/awt/MenuBar.java (shortcuts): Genericized.
29347 2006-03-03 Tom Tromey <tromey@redhat.com>
29349 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29351 (getListenerType): Likewise.
29352 * java/beans/Introspector.java (getBeanInfo): Genericized.
29353 * java/beans/DefaultPersistenceDelegate.java (initialize):
29356 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29358 * java/math/BigDecimal.java:
29359 (precision): Fixed overflow problem with large numbers.
29360 (longValueExact): New method.
29361 (intValueExact): Likewise.
29362 (byteValueExact): Likewise.
29363 (shortValueExact): Likewise.
29365 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29367 * java/math/BigDecimal.java:
29368 (remainder(BigDecimal)): New method.
29369 (divideAndRemainder(BigDecimal)): Likewise.
29370 (divideToIntegralValue(BigDecimal)): Likewise.
29371 (floor): New implementation method.
29373 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29375 * java/math/BigDecimal.java:
29376 (divide(BigDecimal, int, RoundingMode)): New method.
29377 (divide(BigDecimal, RoundingMode)): Likewise.
29378 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29379 when the new scale is < 0.
29380 (setScale(int, RoundingMode)): New method.
29383 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29385 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29386 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29387 (add(BigDecimal, MathContext)): New method.
29388 (subtract(BigDecimal, MathContext)): Likewise.
29389 (precision): Fixed to correctly handle BigIntegers with more than 19
29391 (pow(int, MathContext)): New method.
29393 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29395 * java/math/BigDecimal.java: Added @throws clause to constructors.
29396 (mathContext): Removed this unneeded field.
29397 (BigDecimal(int, MathContext)): New constructor.
29398 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29399 (multiply(BigDecimal, MathContext)): New method.
29400 (negate(MathContext)): Likewise.
29401 (plus(MathContext)): Likewise.
29402 (numDigitsInLong): Fixed to properly handle negatives.
29404 2006-02-25 Chris Burdess <dog@gnu.org>
29406 * gnu/java/net/CRLFInputStream.java,
29407 gnu/java/net/LineInputStream.java: Streams that use mark
29408 capabilities on the underlying stream do not expose mark
29409 functionality themselves.
29410 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29413 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29415 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29416 option flags passed to match methods.
29417 (MF_FIND_ALL): New flag.
29418 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29419 do not try other possibilties once a match is found.
29420 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29421 so that all possibilities can be found.
29422 (match): Rewritten using new methods matchMinimum and _match.
29423 (_match): New method which performs a depth-first recursive search.
29424 (matchMinimum): New method.
29425 (initVisited), (visitedContains), (addVisited): New methods for
29426 manipulating an array of icharacter positions which _match has
29429 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29431 * java/math/BigDecimal.java:
29432 (BigDecimal(long, MathContext)): New constructor.
29433 (BigDecimal(BigInteger, MathContext)): Likewise.
29434 (BigDecimal(String, MathContext)): Likewise.
29435 (BigDecimal(double, MathContext)): Likewise.
29436 (round): Fixed a typo where the precision field was used instead of a
29437 call to the precision method, and also store the new precision in the
29438 returned BigDecimal.
29439 (abs(MathContext)): New method.
29441 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29443 * java/math/BigDecimal.java
29444 (toBigInteger): Fixed problem where this method couldn't handle
29445 negative values for scale.
29446 (toBigIntegerExact): New method.
29447 (stripTrailingZeros): Likewise.
29449 2006-02-24 David Daney <ddaney@avtrex.com>
29452 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29454 (Pool): New inner class.
29455 (timeLastUsed): New field.
29456 (setPool): Changed parameter type to Pool.
29457 (release): Moved pool management logic to new class Pool.
29458 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29460 (maxConnections) : Removed.
29461 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29462 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29464 2006-02-24 Lillian Angel <langel@redhat.com>
29466 * java/awt/Container.java:
29467 Added new field. True if Container has been cleared and
29468 heavyweights need to be repainted.
29469 (paint): Fixed comment. Fixed to use backCleared and
29471 (update): Set backCleared to true after the background
29472 of the container has been cleared.
29474 2006-02-24 Lillian Angel <langel@redhat.com>
29476 * java/awt/TextField.java
29477 (addNotify): Added call to super.
29479 2006-02-24 Lillian Angel <langel@redhat.com>
29481 * java/awt/Component.java
29482 (reshape): Reverted last patch. Should have check here.
29483 (addNotify): Added check. If parent is lightweight, then
29484 initialize listener on the parent.
29485 (HeavyweightInLightweightListener): New class.
29487 2006-02-24 Roman Kennke <kennke@aicas.com>
29489 * javax/swing/plaf/basic/BasicComboPopup.java
29490 (show): Register the popup with the autocloser after it has been
29491 opened completely, by putting the registration on the eventqueue.
29493 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29495 * gnu/java/security/prng/BasePRNG.java:
29496 (clone()): Added cast of buffer to byte[].
29497 * gnu/javax/crypto/mac/TMMH16.java:
29498 (clone()): Fixed casting of cloned arrays.
29499 * native/fdlibm/fdlibm.h:
29500 Added missing defines from old fdlibm.h needed by Darwin.
29501 (GET_FLOAT_WORD(i,d)): Re-added.
29502 (SET_FLOAT_WORD(d,i)): Re-added.
29504 2006-02-24 Roman Kennke <kennke@aicas.com>
29506 * java/awt/Container.java:
29507 (dispatcher): Removed field.
29508 (dispatchEventImpl): Removed lightweight dispatching.
29509 (addNotifyContainerChildren): Removed LightweightDispatcher
29511 (LightweightDispatcher): Removed class.
29512 * java/awt/LightweightDispatcher.java: New class.
29513 * java/awt/Toolkit.java
29514 (Toolkit): Install LightweightDispatcher in global listener
29517 2006-02-24 Chris Burdess <dog@gnu.org>
29520 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29523 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29525 * NEWS: Mentions the VMMath runtime changes.
29526 * doc/vmintegration.texinfo: Updated to include
29529 2006-02-24 Roman Kennke <kennke@aicas.com>
29531 * javax/swing/plaf/basic/BasicLookAndFeel.java
29532 (PopupHelper.autoClosePopups): New field.
29533 (PopupHelper.mousePressed): Also autoclose any registered popups.
29534 (PopupHelper.registerForAutoClose): New method.
29535 (PopupHelper.autoClosePopups): New method.
29536 (popupHelper): Changed type of field to PopupHelper.
29537 (registerForAutoClose): New method.
29538 * javax/swing/plaf/basic/BasicComboPopup.java
29539 (show): Register this popup for autoclosing.
29541 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29543 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29544 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29545 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29547 2006-02-24 Roman Kennke <kennke@aicas.com>
29549 Reported by Ingo Proetel <proetel@aicas.com>
29550 * java/util/logging/LogManager.java
29551 (addLogger): Search the parent loggers for log level
29552 configuration and inherit that.
29553 (readConfiguration): Provide minimal default configuration
29554 if no configuration can be found otherwise.
29556 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29558 * java/math/BigDecimal.java:
29559 (toString): Fixed a problem where the negative sign was being displayed
29560 twice in the exponent.
29561 (toEngineeringString): New method.
29562 (toPlainString): Likewise.
29565 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29567 * java/math/BigDecimal.java:
29568 (toString): Rewrote this method to behave as specified. Added API
29569 comments to explain behaviour.
29570 (scaleByPowerOfTen): New method.
29572 2006-02-23 Roman Kennke <kennke@aicas.com>
29574 * javax/swing/JRootPane.java
29575 (isOptimizedDrawingEnabled): Implemented to return true
29576 when the glassPane is not visible.
29578 2006-02-23 Roman Kennke <kennke@aicas.com>
29580 * javax/swing/plaf/basic/BasicLookAndFeel.java
29581 (PopupHelper): New inner class.
29582 (popupHelper): New field.
29583 (initialize): New method.
29584 (uninitialize): New method.
29585 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29586 (mouseInputListener): Removed field.
29587 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29588 handling of GlassPane.
29589 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29590 handling of GlassPane.
29591 (MouseInputHandler): Removed class.
29593 2006-02-23 Roman Kennke <kennke@aicas.com>
29595 * java/awt/AWTEvent.java
29596 (eventIdToMask): New utility method.
29597 * java/awt/EventQueue.java
29598 (dispatchEvent): Also globally dispatch events via the toolkit.
29599 (globalDispatchEvent): New method.
29600 * java/awt/Toolkit.java
29601 (awtEventListeners): New field.
29602 (Toolkit()): Initialize new field.
29603 (createComponent): Create GLightweightPeer here.
29604 (addAWTEventListener): Implemented and documented.
29605 (removeAWTEventListener): Implemented and documented.
29606 (getAWTEventListeners): Implemented and documented both method
29608 * java/awt/event/AWTEventListenerProxy.java
29609 (eventDispatched): Don't filter events here.
29611 2006-02-23 Chris Burdess <dog@gnu.org>
29614 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29615 gnu/xml/dom/JAXPFactory.java,
29616 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29617 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29618 implement DocumentBuilderFactory.get/setFeature methods.
29620 2006-02-23 Lillian Angel <langel@redhat.com>
29622 * gnu/java/awt/peer/GLightweightPeer.java
29623 (repaint): Scott's proposed fix. Send repaint to the
29624 component's parent.
29625 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29626 (setBounds): Removed next_parent, not needed. Removed
29627 lightweightChild, we always need to compensate for the
29629 * java/awt/Component.java
29630 (setBounds): Removed check. Caused lots of problems, because some
29631 components were not being invalidated. Components should be
29632 invalidated when they are resized or moved, and in some cases,
29633 when a parent is resized/moved, the components do not know
29634 about it and do not adjust.
29635 * java/awt/Graphics.java
29636 (hitClip): Scott's proposed fix. Added check to handle a
29639 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29641 * javax/print/attribute/standard/MediaSize.java:
29642 (media): Field renamed to mediaName for serialization.
29643 (MediaSize): Adapted to new fieldname.
29644 (getMediaSizeName): Likewise.
29645 * javax/print/attribute/HashAttributeSet.java:
29646 (interfaceName): Field renamed to myInterface for serialization.
29647 (HashAttributeSet): Adapted to the new fieldname.
29649 (addAll): Likewise.
29650 (addInternal): Likewise.
29651 (attributeMap): Made transient.
29652 (readObject): New serialization method.
29653 (writeObject): Likewise.
29654 * javax/print/attribute/AttributeSetUtilities.java:
29655 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29656 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29657 (SynchronizedAttributeSet.addAll): Likewise.
29658 (SynchronizedAttributeSet.clear): Likewise.
29659 (SynchronizedAttributeSet.containsKey): Likewise.
29660 (SynchronizedAttributeSet.containsValue): Likewise.
29661 (SynchronizedAttributeSet.equals): Likewise.
29662 (SynchronizedAttributeSet.get): Likewise.
29663 (SynchronizedAttributeSet.hashCode): Likewise.
29664 (SynchronizedAttributeSet.isEmpty): Likewise.
29665 (SynchronizedAttributeSet.remove): Likewise.
29666 (SynchronizedAttributeSet.size): Likewise.
29667 (SynchronizedAttributeSet.toArray): Likewise.
29668 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29669 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29670 (UnmodifiableAttributeSet.addAll): Likewise.
29671 (UnmodifiableAttributeSet.clear): Likewise.
29672 (UnmodifiableAttributeSet.containsKey): Likewise.
29673 (UnmodifiableAttributeSet.containsValue): Likewise.
29674 (UnmodifiableAttributeSet.equals): Likewise.
29675 (UnmodifiableAttributeSet.get): Likewise.
29676 (UnmodifiableAttributeSet.hashCode): Likewise.
29677 (UnmodifiableAttributeSet.isEmpty): Likewise.
29678 (UnmodifiableAttributeSet.remove): Likewise.
29679 (UnmodifiableAttributeSet.size): Likewise.
29680 (UnmodifiableAttributeSet.toArray): Likewise.
29681 * javax/print/attribute/standard/MediaPrintableArea.java:
29682 (width): Field renamed to w for serialization.
29683 (height): Field renamed to h for serialization.
29684 (MediaPrintableArea): Adapted to the new fieldnames.
29685 (MediaPrintableArea): Likewise.
29686 (equals): Likewise.
29687 (hashCode): Likewise.
29688 (getHeight): Likewise.
29689 (getWidth): Likewise.
29691 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29693 * include/java_lang_VMMath.h:
29694 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29695 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29696 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29697 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29698 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29699 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29700 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29701 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29702 * java/lang/Math.java:
29703 (cbrt(double)): Implemented.
29704 (cosh(double)): Implemented.
29705 (expm1(double)): Implemented.
29706 (hypot(double,double)): Implemented.
29707 (log10(double)): Implemented.
29708 (log1p(double)): Implemented.
29709 (signum(double)): Implemented.
29710 (signum(float)): Implemented.
29711 (sinh(double)): Implemented.
29712 (tanh(double)): Implemented.
29713 * native/fdlibm/Makefile.am:
29714 Added new files from fdlibm 5.3.
29715 * native/fdlibm/e_acos.c,
29716 * native/fdlibm/e_asin.c,
29717 * native/fdlibm/e_atan2.c,
29718 * native/fdlibm/e_exp.c,
29719 * native/fdlibm/e_fmod.c,
29720 * native/fdlibm/e_log.c,
29721 * native/fdlibm/e_rem_pio2.c,
29722 * native/fdlibm/e_remainder.c,
29723 * native/fdlibm/e_scalb.c,
29724 * native/fdlibm/e_sqrt.c,
29725 * native/fdlibm/k_cos.c,
29726 * native/fdlibm/k_rem_pio2.c,
29727 * native/fdlibm/k_sin.c,
29728 * native/fdlibm/k_tan.c,
29729 * native/fdlibm/s_atan.c,
29730 * native/fdlibm/s_ceil.c,
29731 * native/fdlibm/s_copysign.c,
29732 * native/fdlibm/s_cos.c,
29733 * native/fdlibm/s_fabs.c,
29734 * native/fdlibm/s_finite.c,
29735 * native/fdlibm/s_floor.c,
29736 * native/fdlibm/s_rint.c,
29737 * native/fdlibm/s_scalbn.c,
29738 * native/fdlibm/s_sin.c,
29739 * native/fdlibm/s_tan.c,
29740 * native/fdlibm/w_acos.c,
29741 * native/fdlibm/w_asin.c,
29742 * native/fdlibm/w_atan2.c,
29743 * native/fdlibm/w_acos.c,
29744 * native/fdlibm/w_exp.c,
29745 * native/fdlibm/w_fmod.c,
29746 * native/fdlibm/w_log.c,
29747 * native/fdlibm/w_pow.c,
29748 * native/fdlibm/w_remainder.c,
29749 * native/fdlibm/w_sqrt.c:
29750 Updated to fdlibm 5.3.
29751 * native/fdlibm/e_cosh.c,
29752 * native/fdlibm/e_hypot.c,
29753 * native/fdlibm/e_log10.c,
29754 * native/fdlibm/e_sinh.c,
29755 * native/fdlibm/s_cbrt.c,
29756 * native/fdlibm/s_expm1.c,
29757 * native/fdlibm/s_log1p.c,
29758 * native/fdlibm/s_tanh.c,
29759 * native/fdlibm/w_cosh.c,
29760 * native/fdlibm/w_hypot.c,
29761 * native/fdlibm/w_log10.c,
29762 * native/fdlibm/w_sinh.c:
29763 Imported from fdlibm 5.3.
29764 * native/fdlibm/fdlibm.h:
29765 Imported from fdlibm 5.3 with Classpath additions.
29766 * native/fdlibm/namespace.h:
29767 Updated from new math_symbols file.
29768 * native/jni/java-lang/java_lang_VMMath.c:
29769 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29770 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29771 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29772 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29774 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29775 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29776 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29777 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29778 * scripts/math_symbols:
29779 Added tanh, expm1, log10 and log1p.
29780 * vm/reference/java/lang/VMMath.java:
29781 (cbrt(double)): Implemented.
29782 (cosh(double)): Implemented.
29783 (expm1(double)): Implemented.
29784 (hypot(double,double)): Implemented.
29785 (log10(double)): Implemented.
29786 (log1p(double)): Implemented.
29787 (sinh(double)): Implemented.
29788 (tanh(double)): Implemented.
29790 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29792 * javax/print/DocFlavor.java: Added documentation all over.
29793 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29794 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29795 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29796 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29797 (URL.TEXT_HTML_HOST): Likewise.
29798 (URL.TEXT_PLAIN_HOST): Likewise.
29799 (hostEncoding): Initialize with host default charset encoding.
29800 (mediaSubtype): Made transient.
29801 (mediaType): Likewise.
29802 (params): Made transient. Changed type to TreeMap.
29803 (className): Removed, changed to myClassName.
29804 (myClassName): New field as defined in serialized form.
29805 (DocFlavor): Adapted to new variable types, names.
29806 (parseMimeType): Reimplemented.
29807 (getParameter): Search with lowercase name.
29808 (getRepresentationClassName): Adapted to changed variable name.
29809 (hashCode): Likewise.
29810 (toString): Reimplemented.
29811 (readObject): New method for serialization.
29812 (writeObject): Likewise.
29814 2006-02-23 Roman Kennke <kennke@aicas.com>
29816 * javax/swing/RepaintManager.java
29817 (commitBuffer): Clip the repaint area with the current clip.
29819 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
29821 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29822 (DEFAULT_PRIME_SIZE): Made public.
29823 (DEFAULT_EXPONENT_SIZE): Likewise.
29824 (setup): Handle DHParameterSpec as well.
29825 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29826 defaultFormat instead of Raw.
29827 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29828 (checkIsConstructed): Removed.
29829 (checkIsBigInteger): Likewise.
29830 (decodePublicKey): Use DerUtil.
29831 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29832 (checkIsConstructed): Removed.
29833 (checkIsBigInteger): Likewise.
29834 (decodePrivateKey): Use DerUtil.
29835 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29837 Added mappings for AlgorithmParameters.DH and
29838 AlgorithmParameterGenerator.DH.
29839 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29840 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29841 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29842 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29844 (engineGeneratePublic): Likewise.
29845 * gnu/java/security/util/DerUtil.java: New file.
29846 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29847 Include only valid RSA PKCS1 (v1.5) signature names.
29848 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29849 (RSAPKCS1V1_5SignatureX509Codec): Removed.
29850 (checkIsConstructed): Likewise.
29851 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29852 (checkIsConstructed): Removed.
29853 (checkIsBigInteger): Likewise.
29854 (decodeSignature): Use DerUtil.
29855 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29856 (checkIsConstructed): Removed.
29857 (checkIsBigInteger): Likewise.
29858 (decodePublicKey): Use DerUtil.
29859 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29860 (checkIsConstructed): Removed.
29861 (checkIsBigInteger): Likewise.
29862 (decodePrivateKey): Use DerUtil.
29863 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29864 (checkIsConstructed): Removed.
29865 (checkIsBigInteger): Likewise.
29866 (decodePublicKey): Use DerUtil.
29867 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29868 (checkIsConstructed): Removed.
29869 (checkIsBigInteger): Likewise.
29870 (decodePrivateKey): Use DerUtil.
29871 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29872 (DEFAULT_MODULUS_LENGTH): Made it public.
29873 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29874 defaultFormat instead of Raw.
29875 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29876 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29877 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29879 (engineGeneratePublic): Likewise.
29880 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29882 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
29884 * java/math/BigDecimal.java:
29885 (BigDecimal(char[], int, int, MathContext)): New constructor.
29886 (BigDecimal(char[], MathContext)): Likewise.
29887 (BigDecimal(char[])): Likewise.
29888 (BigDecimal(char[], int, int)): Likewise.
29889 (BigDecimal(String)): Fixed handling of exponent and scale.
29891 2006-02-22 Mark Wielaard <mark@klomp.org>
29893 * java/awt/Checkbox.java (setState): Check that state actually changed
29894 before calling peer.
29895 (dispatchEventImpl): Set new state if ItemEvent.
29896 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29897 (create): Set currentState.
29898 (setState): Make synchronized, check and set currentState before
29899 calling gtkToggleButtonSetActive.
29900 (postItemEvent): Make synchronized, check and set currentState before
29902 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29903 (postItemEventID): Method now takes boolean.
29904 (item_toggled_cb): Likewise.
29906 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29908 * javax/swing/text/DefaultHighlighter.java:
29909 (changeHighlight): Added code to minimize the damaged area.
29911 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29913 * javax/swing/text/PlainView.java:
29914 (getPreferredSpan): Added missing 'break'.
29915 statement which corrects an unwanted fall through.
29916 (updateDamage): Update maxLineLength correctly when text is
29917 removed, call preferenceChanged accordingly.
29918 (viewToModel): Restrict line number to be within 0 and the
29919 number of elements-1.
29921 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29923 * javax/swing/text/Utilities.java:
29924 (getPositionAbove): Prefer first value by changing comparison
29926 (getPositionBelow): Dito.
29928 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29930 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29931 behavior when magic caret position is null.
29933 2006-02-22 Roman Kennke <kennke@aicas.com>
29935 * javax/swing/JTextField.java
29936 (isValidateRoot): New method.
29938 2006-02-22 Roman Kennke <kennke@aicas.com>
29940 * javax/swing/JEditorPane.java
29941 (getPreferredSize): Rewritten to behave like the reference impl.
29942 (getScrollableTracksViewportWidth): Likewise.
29943 (getScrollableTracksViewportHeight): Likewise.
29945 2006-02-22 Roman Kennke <kennke@aicas.com>
29947 * javax/swing/RepaintManager.java
29948 (addInvalidComponent): Also consider the component itself.
29950 2006-02-22 Mark Wielaard <mark@klomp.org>
29952 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29953 qualify AbstractDocument.AttributeContext.
29954 (blockOpen): Likewise.
29956 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29958 * java/math/BigDecimal.java:
29959 (mathContext): New field.
29960 (precision): Likewise.
29961 (BigDecimal(int)): New constructor.
29962 (BigDecimal(long)): Likewise.
29963 (BigDecimal(BigInteger)): Added API docs.
29964 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29965 and added API docs.
29966 (plus): New method.
29968 (precision): Likewise.
29969 (valueOf): Likewise.
29970 (numDigitsInLong): New implementation method.
29972 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29974 * java/math/MathContext.java: New class.
29975 * java/math/RoundingMode: New Enum.
29977 2006-02-21 Mark Wielaard <mark@klomp.org>
29979 * java/awt/Component.java (translateEvent): Translate
29980 AdjustmentEvents to 1.0 Events.
29981 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29982 Call setValue() before processing event.
29983 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29984 whether we are currently changing and being called back from the
29985 Scrollbar component.
29986 (setBarValues): New native method.
29987 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29988 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29989 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29990 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29991 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29993 2006-02-21 Roman Kennke <kennke@aicas.com>
29995 * javax/swing/text/View.java
29996 (setParent): Set child parent to null when disconnecting
29997 the view from the View hierarchy.
29999 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30001 * javax/print/StreamPrintService.java: Added and enhanced documentation.
30003 2006-02-21 Roman Kennke <kennke@aicas.com>
30005 * javax/swing/text/WrappedPlainView.java
30006 (calculateBreakPosition): Changed to use the view's allocation instead
30007 of the container's preferredSize.
30009 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
30011 * java/awt/CardLayout.java:
30012 (first): Updated api documentation.
30015 (previous): Likewise.
30016 (show): Clarified api docs. Return if name is null. Throw
30017 IllegalArgumentException if layout of container is not this.
30018 (gotoComponent): Updated api documentation. Throw
30019 IllegalArgumentException if layout of container is not this.
30021 2006-02-21 Roman Kennke <kennke@aicas.com>
30023 * javax/swing/text/NavigationFilter.java
30024 (getNextVisualPositionFrom): New method.
30026 2006-02-21 Roman Kennke <kennke@aicas.com>
30028 * javax/swing/plaf/basic/BasicTextUI.java
30029 (RootView.setView): Call setParent() on the view with this as
30030 argument instead of null.
30031 (setView): Don't set root view's parent here.
30033 2006-02-21 Roman Kennke <kennke@aicas.com>
30035 * javax/swing/text/AbstractDocument.java
30036 (AbstractElement.getAttribute): Use getResolveParent() to fetch
30037 the resolving parent.
30038 (AbstractElement.getResolveParent): Fixed to handle possible null
30040 * javax/swing/text/BoxView.java
30041 (childReqs): New field.
30042 (paint): Added debugging code (commented out).
30043 (getPreferredSpan): Rewritten to use new update* methods.
30044 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30045 for the minor axis and preferredSpan for the major axis.
30046 (getMinimumSpan): Rewritten to use new update* methods.
30047 (baselineRequirements): Rewritten to avoid creation of
30048 unnecessary SizeRequirements objects.
30049 (baselineLayout): Rewritten to use new update* methods.
30050 (calculateMajorAxisRequirements): Rewritten to avoid creation of
30051 unnecessary SizeRequirements objects.
30052 (calculateMinorAxisRequirements): Rewritten to avoid creation of
30053 unnecessary SizeRequirements objects.
30054 (layout): Some robustness fixes for the layout. Turned AssertionErrors
30056 (layoutMajorAxis): Rewritten to use new update* methods.
30057 (layoutMinorAxis): Rewritten to use new update* methods.
30058 (getChildRequirements): Replaced by the update* methods.
30059 (getAlignment): Use update* methods.
30060 (updateChildRequirements): New methods. Updates the child requirements
30062 (updateRequirements): New methods. Updates the BoxView requirements
30064 * javax/swing/text/DefaultStyledDocument.java
30065 (ElementBuffer.insert): Added warning for illegal replacement operation.
30066 * javax/swing/text/FlowView.java
30067 (layoutRow): When offset doesn't change, return -1.
30068 (LogicalView): Now subclasses BoxView.
30069 (loadChildren): Let the CompositeView.setParent() load the children
30070 of the logicalView.
30071 (calculateMinorRequirements): New overridden method.
30072 * javax/swing/text/GlyphView.java
30073 (DefaultGlyphPainter.paint): Fixed typo.
30074 (startOffset): Made field private.
30075 (endOffset): Made field private.
30076 (paint): Call getStartOffset() and getEndOffset() instead of the
30078 (isStrikeThrough): Fixed typo.
30079 (breakView): Use Utilities.getBreakLocation() to determine best
30081 (changedUpdate): Call preferencedChange on this instead of parent.
30082 (removeUpdate): Call preferencedChange on this instead of parent.
30083 * javax/swing/text/ParagraphView.java
30084 (Row.getAlignment): For Y_AXIS, call super.
30085 (getAlignment): Likewise.
30086 * javax/swing/text/Utilities.java
30087 (getBreakLocation): Set Segment object directly on the BreakIterator.
30088 * javax/swing/text/html/HTML.java
30089 (Attribute): Made class non-serializable and final as specified.
30090 (Attribute(String)): Made constructor private.
30091 (Attribute.compareTo): Removed.
30092 (Attribute.equals): Removed.
30093 (Attribute.hashCode): Removed.
30094 (Tag): Made class non-comparable and non-serializable as specified.
30095 (Tag.compareTo): Removed.
30096 (Tag.equals): Removed.
30097 (Tag.hashCode): Removed.
30098 * javax/swing/text/html/HTMLDocument.java
30099 (HTMLReader.blockOpen): Add tag as name attribute to element.
30100 * javax/swing/text/html/HTMLEditorKit.java
30101 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30103 * javax/swing/text/html/InlineView.java
30104 (setPropertiesFromAttributes): Call super.
30105 * javax/swing/text/html/NullView.java: New class.
30107 2006-02-21 Roman Kennke <kennke@aicas.com>
30110 * javax/swing/text/GapContent.java
30111 (GapContentPosition): Made class private.
30112 (InsertUndo): Made class private.
30113 (UndoRemove): Made class private.
30114 (WeakPositionComparator): New inner class.
30115 (positions): Made field private.
30116 (createPosition): Clear up GC'ed positions before creating
30117 a new one. Store position as WeakReference.
30118 (getPositionsInRange): Changed to handle WeakReference
30120 (setPositionsInRange): Changed to handle WeakReference
30122 (adjustPositionsInRange): Changed to handle WeakReference
30124 (dumpPositions): Handle WeakReference positions.
30125 (clearPositionReferences): New method.
30127 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30129 * javax/swing/plaf/basic/BasicTextUI.java:
30130 (paint): Remove unneccessary part of the if-expression.
30131 (damageRange): Added case where the range spans multiple lines.
30132 * javax/swing/text/DefaultCaret.java:
30133 (clearHighlight): New method.
30134 (handleHighlight): Removed unneccessary part of the if-expression.
30135 (setDot): Use clearHighlight method.
30136 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30138 (paint): Prevented calling size() on every loop iteration, fixed
30139 calculation of allocation area bounds.
30140 (getHighlights): Implemented.
30141 (removeHighlight): Mark damaged area in textcomponent.
30142 (addHighlight): Mark damaged area in textcomponent.
30143 (changeHighlight): Mark damaged area in textcomponent.
30144 (DefaultHighlighter.HighlightEntry): Made it a real
30145 Highlighter.Highlight implementation.
30146 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30149 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30151 * java/util/zip/ZipConstants.java
30152 (LOCSIG): Change type to long.
30153 (EXTSIG): Likewise.
30154 (CENSIG): Likewise.
30155 (ENDSIG): Likewise.
30156 * java/util/zip/ZipOutputStream.java
30157 (writeLeInt(long)): New method.
30159 2006-02-21 Michael Koch <konqueror@gmx.de>
30161 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30163 2006-02-20 Mark Wielaard <mark@klomp.org>
30165 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30166 (begin_drawing_operation): Output stacktrace and return on bad cairo
30168 (end_drawing_operation): Likewise. And reset cairo_t.
30170 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30172 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30173 in backward selection action.
30175 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30177 * java/lang/reflect/Proxy.java:
30178 (ProxyData.getProxyData): Skipped overriding of core methods.
30179 (ProxyData.isCoreObjectMethod): New method.
30181 2006-02-20 Mark Wielaard <mark@klomp.org>
30183 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30185 2006-02-20 Roman Kennke <kennke@aicas.com>
30187 * javax/swing/text/html/Option.java: New class.
30189 2006-02-20 Lillian Angel <langel@redhat.com>
30191 * java/swt/Window.java
30192 (show): Calling show() on the owned windows caused problems.
30193 Changed back to get the peer and call setVisible.
30195 2006-02-20 Roman Kennke <kennke@aicas.com>
30197 * javax/swing/plaf/basic/BasicTextUI.java
30198 (damageRange): Implemented this method.
30200 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30202 * javax/swing/text/GapContent.java:
30203 (shiftGapEndUp): Corrected new mark value.
30204 * javax/swing/text/AbstractDocument.java:
30205 (remove): Changed order of operations.
30207 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30209 * javax/swing/text/GapContent.java:
30210 (shiftGapEndUp): Reverted.
30211 * javax/swing/text/AbstractDocument.java:
30212 (remove): Reverted.
30214 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30216 * javax/swing/text/GapContent.java:
30217 (shiftGapEndUp): Corrected new mark value.
30218 * javax/swing/text/AbstractDocument.java:
30219 (remove): Changed order of operations.
30221 2006-02-20 Mark Wielaard <mark@klomp.org>
30223 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30225 (insert): Likewise.
30226 (addNotify): Add the item after addNotifying it.
30227 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30228 there is a peer. Use getParent() and setParent() to manipulate parent
30230 (add(Menu)): Use getParent() and setParent() to manipulate parent
30231 field. Call addNotify() and addMenu() when there is a peer.
30232 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30233 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30234 when there is a peer.
30235 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30236 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30237 (setFont): Call setFont(Font).
30238 (setFont(Font)): Document. Only set font when not null.
30239 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30241 (connectSignals): Likewise.
30242 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30244 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30246 (postMenuActionEvent): Document.
30247 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30249 (addItem): Document. Made private.
30250 (addTearOff): Made private.
30251 (connectSignals): New protected overridden method.
30252 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30253 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30254 (create): Document.
30255 (addMenu): Made private, take GtkMenuPeer as argument and document.
30256 (GtkMenuBarPeer): Document.
30257 (nativeSetHelpMenu): Removed.
30258 (addHelpMenu): Implement.
30259 (delMenu): Document.
30260 (addMenu): Implement.
30261 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30262 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30263 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30264 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30267 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30269 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30270 Expect that proxy interfaces may have different class loaders.
30271 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30272 * java/rmi/registry/Registry.java,
30273 * java/rmi/server/UnicastRemoteObject.java:
30274 Documented about proxy stubs.
30275 * gnu/java/rmi/server/CombinedClassLoader.java,
30276 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30277 * NEWS: Added entry.
30279 2006-02-19 Mark Wielaard <mark@klomp.org>
30281 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30282 Parent and Bounds of our children if either or parent is showing, or
30283 we are a Window and are showing ourselves now.
30285 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30287 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30289 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30290 Another stub name fix.
30292 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30294 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30295 Call convertStubName. (convertStubName): New method.
30296 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30297 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30298 (convertStubName): New method.
30299 (getMethodHashCode):
30300 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30301 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30303 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30305 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30307 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30309 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30311 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30313 * javax/swing/JViewport.java (paintBackingStore): If the component has
30314 not been scrolled, only repaint the buffer part, indicated by
30315 the parameter graphics clip.
30317 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30319 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30321 (writePrivateKey): Likewise.
30322 (writeKey): New method.
30323 (getKeyType): Likewise.
30324 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30326 (readPrivateKey): Likewise.
30327 (getKeyPairCodec): New method.
30328 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30329 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30330 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30331 (RSA_PSS_ENCODING): Likewise..
30332 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30333 (RSA_PSS_SIG): Redefined using other constants.
30334 (RSA_PKCS1_V1_5_SIG): Likewise.
30335 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30336 * gnu/java/security/util/FormatUtil.java: New file.
30337 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30338 (getInstance): Let RSASignatureFactory handle RSA signature names.
30339 (getNames): Handle new RSA signature (with format) names.
30340 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30341 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30343 (name): Include hash algorithm name.
30344 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30345 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30346 (RSAPSSSignature): Call constructor with IMessageDigest.
30347 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30348 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30350 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30352 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30353 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30354 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30355 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30356 hash algorithm name to exception.
30357 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30358 * gnu/java/security/key/KeyPairCodecFactory.java
30359 (names): New class field.
30360 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30361 (getInstance(String,String)): New method.
30362 (getInstance(String,int)): New method.
30363 (getInstance(byte[])): Removed.
30364 (getInstance(Key)): Handle new formats.
30365 (getNames): Likewise.
30366 (getEncodingName(int)): Moved to FormatUtil.
30367 (getEncodingShortName(int)): Likewise.
30368 (getRawCodec(String)): New method.
30369 (getX509Codec(String)): Likewise.
30370 (getPKCS8Codec(String)): Likewise.
30371 (getRawCodec(Key)): Likewise.
30372 (getX509Codec(Key)): Likewise.
30373 (getPKCS8Codec(Key)): Likewise.
30374 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30375 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30376 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30377 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30378 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30379 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30380 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30381 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30382 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30384 2006-02-18 Mark Wielaard <mark@klomp.org>
30386 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30388 (NoDragGestureRecognizer): New static class.
30389 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30390 Toolkit doesn't support drag and drop.
30392 2006-02-18 Mark Wielaard <mark@klomp.org>
30394 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30395 (AbstractAction(String)): Just call putValue() for NAME.
30396 (putValue): Nothing to do is old and new value are both null.
30398 2006-02-18 Mark Wielaard <mark@klomp.org>
30400 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30401 through getContentPane().
30402 (preferredLayoutSize): Likewise.
30404 2006-02-18 Mark Wielaard <mark@klomp.org>
30406 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30407 actually set before painting.
30409 2006-02-18 Mark Wielaard <mark@klomp.org>
30411 * javax/swing/text/html/HTMLDocument.java (addContent):
30412 Fully qualify AbstractDocument.AttributeContext and
30413 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30415 2006-02-18 Mark Wielaard <mark@klomp.org>
30417 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30418 (getRepresentationClassFromMime): Add exception cause to
30419 IllegalArgumentException.
30421 2006-02-17 Lillian Angel <langel@redhat.com>
30423 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30424 Removed unneeded import.
30425 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30426 Removed unneeded imports.
30427 * java/awt/BorderLayout.java:
30428 Fixed comment, this is not yet handled in the JDK 1.5.
30429 * java/awt/Container.java:
30430 Removed unneeded import.
30432 2006-02-17 Lillian Angel <langel@redhat.com>
30434 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30435 (setBounds): Removed check. Coordinates should always be changed
30436 to incorporate the parent's coordinates.
30437 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30438 (setMenuBar): Added checks. Don't validate component if it has
30439 not been validated yet, it will be validated later. Only validate
30440 if it has already been validated, in that case it needs to be
30442 * java/awt/Window.java
30443 (show): Added check. If the window is visible, then bring it to the
30444 front. Otherwise, iterate through all its children windows and show them.
30445 No need to do both.
30447 2006-02-17 Roman Kennke <kennke@aicas.com>
30449 * javax/swing/text/html/ParagraphView.java: New file.
30451 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30453 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30454 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30455 same location where was the initial text.
30456 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30458 2006-02-17 Chris Burdess <dog@gnu.org>
30460 Fixes PRs 26319, 26320, 26321, 26322, 26325
30461 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30462 rethrowing exception.
30463 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30464 1.1-style prefix unbinding in 1.0 document" error for xmlns
30465 prefixes, not xmlns attributes. Fix a problem with empty namespace
30466 stack at the end of a document. Permit parameter entity references
30467 in element and attribute-list definition name area. Corrected
30468 normalisation of whitespace character entity references in CDATA
30469 attribute values. Fixed number of characters read following a
30470 reset when detecting end of character data with characters after a
30471 Unicode surrogate pair.
30473 2006-02-17 Roman Kennke <kennke@aicas.com>
30475 * javax/swing/text/html/HTMLEditorKit.java
30476 (HTMLFactory.create): Create InlineView for content tags.
30477 * javax/swing/text/html/HTMLDocument.java
30478 (HTMLReader.flush): Call create() on first flush and insert
30479 on subsequent flushes.
30481 2006-02-17 Roman Kennke <kennke@aicas.com>
30483 * javax/swing/text/AbstractDocument.java
30484 (BranchElement.getStartOffset): Implemented workaround for wrong
30486 (BranchElement.getEndOffset): Implemented workaround for wrong
30488 (ElementBuffer.split): Use createBranchElement() instead of
30489 new BranchElement().
30490 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30491 new BranchElement().
30492 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30493 instead of new BranchElement().
30494 (createDefaultRoot): Use createBranchElement() and createLeafElement
30495 instead of the constructors.
30496 (create): Rewritten.
30498 2006-02-17 Keith Seitz <keiths@redhat.com>
30500 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30501 (SIZE): New constant.
30502 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30503 (executeIDsizes): Use SIZE constant.
30504 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30505 (SIZE): New constant.
30507 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30509 * javax/swing/JTable.java (IconCellRenderer): Set the component
30510 text to empty string. (createDefaultRenderers): Register
30511 IconCellRenderer also for ImageIcon.
30512 (getCellEditor(int, int), getCellRenderer(int, int)):
30513 Use model index for data model and column index for column model.
30514 (getColumnClass): Convert to model index before requesting class
30517 2006-02-17 Roman Kennke <kennke@aicas.com>
30519 * javax/swing/text/html/HTMLDocument.java
30520 (createDefaultRoot): Implemented.
30521 (createLeafElement): Implemented.
30522 (createBranchElement): Implemented.
30523 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30524 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30525 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30526 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30527 (HTMLReader.blockOpen): Add name attribute with the current tag.
30528 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30530 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30532 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30534 * javax/swing/table/JTableHeader.java: Documenting related methods.
30536 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30539 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30540 (connect): Changed to use SystemProperties.
30541 (getInputStream): Try changeWorkingDirectory to figure out if
30542 url is a directory, if not use retrieve.
30543 (getOutputStream): Don't worry about directories, simply always
30546 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30548 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30549 (ActiveModeDTP): Mark accept thread as daemon.
30551 2006-02-17 Michael Koch <konqueror@gmx.de>
30553 * tools/.cvsignore: Ignore tools.zip.
30555 2006-02-16 Keith Seitz <keiths@redhat.com>
30557 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30558 Set the ID's reference.
30559 (<clinit>): Remove comments for field, method, and frame ID types,
30560 which will not be handled by VMIdManager.
30562 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30564 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30565 Use model index, not the column number.
30566 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30567 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30568 movement by painting draggingHeaderRect.
30569 * NEWS: Added entry about JTable columns.
30571 2006-02-16 Keith Seitz <keiths@redhat.com>
30573 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30574 default size of eight bytes.
30575 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30576 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30577 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30578 (executeIDsizes): Use new static methods.
30579 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30582 2006-02-16 David Daney <ddaney@avtrex.com>
30585 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30586 return value with 0xff.
30588 2006-02-16 Keith Seitz <keiths@redhat.com>
30590 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30591 (matches): Use Iterator instead of ListIterator.
30593 2006-02-16 Keith Seitz <keiths@redhat.com>
30595 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30596 processor thread for easier debugging.
30597 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30600 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30602 * javax/swing/JTable.java
30603 (TableColumnPropertyChangeHandler.propertyChange): Return without
30604 action if table header resizing column in not null. (doLayout):
30605 Only repaint the header if it is not null.
30606 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30607 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30608 Rewritten. (MouseInputHandler.endResizing): New method.
30610 2006-02-16 Roman Kennke <kennke@aicas.com>
30612 * javax/swing/text/html/InlineView.java: New file.
30614 2006-02-16 Roman Kennke <kennke@aicas.com>
30616 * javax/swing/JTabbedPane.java
30617 (AccessibleJTable.getAccessibleChild): Implemented to return
30618 the Page instance for the specified index.
30619 (Page): Changed to implement Accessible and extend
30621 (Page.getAccessibleContext): New method.
30622 (Page.getAccessibleRole): New method.
30623 (Page.getAccessibleStateSet): New method.
30624 (Page.getAccessibleIndexInParent): New method.
30625 (Page.getAccessibleChildrenCount): New method.
30626 (Page.getAccessibleChild): New methdod.
30627 (Page.getLocale): New method.
30629 2006-02-16 Roman Kennke <kennke@aicas.com>
30631 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30632 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30633 tabCount gets greater than tabRuns.length.
30634 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30635 when tabCount gets greater than tabRuns.length.
30636 (paintTabArea): Don't set tabCount == runCount.
30638 2006-02-16 Roman Kennke <kennke@aicas.com>
30640 * javax/swing/plaf/basic/BasicTextUI.java
30641 (installUI): Moved installation of PropertyChangeListener
30642 to installListeners(). Call modelChanged() after everything is
30644 (installListeners): Install PropertyChangeListener here.
30645 (uninstallUI): Moved uninstallation of PropertyChangeListener
30646 to uninstallListeners.
30647 (uninstallListeners): Uninstall PropertyChangeListener here.
30649 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30651 * javax/swing/JTable.java (doLayout):
30652 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30654 javax/swing/plaf/basic/BasicTableHeaderUI.java
30655 (MouseInputHandler.mouseDragged): Do not repaint the header.
30657 2006-02-16 Roman Kennke <kennke@aicas.com>
30659 * javax/swing/JViewport.java
30660 (static_initializer): Set default scrollMode to backingstore.
30662 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30664 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30665 returned by getCellRect. To not translate the component.
30667 2006-02-16 Roman Kennke <kennke@aicas.com>
30669 * javax/swing/JComponent.java
30670 (rectCache): Made field non-static to avoid nasty interferences.
30671 (computeVisibleRect): Avoid creation of new Rectangles and double
30672 calculations on ints by using Swing.computeIntersection() instead
30673 of Rectangle2D.intersect().
30674 (repaint): Interect the dirty region with the visible rectangle
30675 of this component to avoid unnecessary painting.
30677 2006-02-16 Gary Benson <gbenson@redhat.com>
30679 * java/lang/Thread.java (stop): Add a missing access check.
30681 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30683 * javax/swing/text/JTextComponent.java:
30684 (replaceSelection): Added code to update the magic caret position.
30685 * javax/swing/text/DefaultEditorKit.java: Added code to update
30686 the magic caret position of the text component in all relevant
30687 movement actions, make use of the magic caret position in up
30688 and down movements and selections, simplified some actions
30691 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30693 * gnu/java/lang/CharData.java: Regenerated from
30694 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30695 and scripts/unicode-muncher.pl.
30696 * java/lang/Character.java:
30697 (PrivateUseCharacters): New private static class.
30698 (UnassignedCharacters): Likewise.
30699 (blocks): Changed from char[] to char[][] to reflect the changes in
30700 gnu/java/lang/CharData. There is now one char[] per Unicode code
30703 (numValue): Likewise.
30706 (direction): Likewise.
30707 (readChar): Replaced this method with new method readCodePoint.
30708 (readCodePoint): New method.
30709 (isLowerCase(char)): Redirected to new isLowerCase(int).
30710 (isLowerCase(int)): New method.
30711 (isUpperCase(char)): Redirected to new isUpperCase(int).
30712 (isUpperCase(int)): New method.
30713 (isTitleCase(char)): Redirected to new isTitleCase(int).
30714 (isTitleCase(int)): New method.
30715 (isDigit(char)): Redirected to new isDigit(int).
30716 (isDigit(int)): New method.
30717 (isDefined(char)): Redirected to new isDefined(int).
30718 (isDefined(int)): New method.
30719 (isLetter(char)): Redirected to new isLetter(int).
30720 (isLetter(int)): New method.
30721 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30722 (isLetterOrDigit(int)): New method.
30723 (isJavaIdentifierStart(char)): Redirected to new
30724 isJavaIdentifierStart(int).
30725 (isJavaIdentifierStart(int)): New method.
30726 (isJavaIdentifierPart(char)): Redirected to new
30727 isJavaIdentifierPart(int).
30728 (isJavaIdentifierPart(int)): New method.
30729 (isUnicodeIdentifierStart(char)): Redirected to new
30730 isUnicodeIdentifierStart(int).
30731 (isUnicodeIdentifierStart(int)): New method.
30732 (isUnicodeIdentifierPart(char)): Redirected to new
30733 isUnicodeIdentifierPart(int).
30734 (isUnicodeIdentifierPart(int)): New method.
30735 (isIdentifierIgnorable(char)): Redirected to new
30736 isIdentifierIgnorable(int).
30737 (isIdentifierIgnorable(int)): New method.
30738 (toLowerCase(char)): Changed access to lower to correspond with new
30739 char[][] type of lower.
30740 (toLowerCase(int)) New method.
30741 (toUpperCase(char)): Changed access to upper to correspond with new
30742 char[][] type of upper.
30743 (toUpperCase(int)): New method.
30744 (toTitleCase(int)): New method.
30745 (digit(char, int)): Replaced call to readChar with call to
30746 readCodePoint and changed access to numValue to reflect new char[][]
30748 (digit(int, int)): New method.
30749 (getNumericValue(char)): Changed access to numValue to reflect new
30750 char[][] type of numValue.
30751 (getNumericValue(int)): New method.
30752 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30753 (isSpaceChar(int)): New method.
30754 (isWhitespace(char)): Redirected to new isWhitespace(int).
30755 (isWhitespace(int)): New method.
30756 (isISOControl(char)): Redirected to new isISOControl(int).
30757 (isISOControl(int)): New method.
30758 (getType(char)): Redirected to new getType(int).
30759 (getType(int)): New method.
30760 (getDirectionality(char)): Redirected to new getDirectionality(int).
30761 (getDirectionality(int)): New method.
30762 (isMirrored(char)): Changed call to readChar to readCodePoint.
30763 (isMirrored(int)): New method.
30764 * java/lang/String.java:
30765 (upperCaseExpansion): Changed access to Character.direction to reflect
30766 new char[][] type of direction.
30767 (offsetByCodePoints): New method.
30768 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
30769 4.0.0 which introduced supplementary character assignments.
30771 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30773 * javax/swing/JTable.java,
30774 javax/swing/plaf/basic/BasicTableHeaderUI.java,
30775 javax/swing/table/DefaultTableModel.java: Documented.
30777 2006-02-15 Lillian Angel <langel@redhat.com>
30779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30780 Removed duplicate methods.
30782 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30784 * javax/swing/JTable.java (distributeSpillResizing): New method.
30785 (doLayout): Use distributeSpillResizing when resizing.
30786 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30787 Rewritten. (installListeners): Add mouse motion listener.
30788 (uninstallListeners): Remove mouse motion listener.
30790 2006-02-15 Lillian Angel <langel@redhat.com>
30792 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30793 (setVisible): Removed method.
30794 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30795 (setLocation): New method.
30796 (setLocationUnlocked): New method.
30797 (show): Changed to use setLocation instead of setBounds.
30798 * java/awt/Component.java
30799 (show): Should call peer.show(), not peer.setVisible(), so the
30800 location of the component is correctly set.
30801 (preferredSize): Added curly braces so else statements are
30802 properly associated with if's.
30803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30804 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
30806 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30807 LocationUnlocked): New function.
30808 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30809 Added declarations for Java_gnu_java_awt_peer_gtk_
30810 GtkWindowPeer_nativeSetLocation and
30811 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30812 _nativeSetLocationUnlocked.
30814 2006-02-15 Mark Wielaard <mark@klomp.org>
30816 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30817 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30818 Downcast gtk_plug_new result when used.
30820 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
30822 * java/io/ObjectOutputStream.java (writeClassDescriptor):
30823 Call assignNewHandle() after writing Proxy class.
30825 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
30828 * java/io/ObjectInputStream.java (readClassDescriptor):
30829 Class doesn't have to be abstract for first_nonserial.
30831 2006-02-15 Roman Kennke <kennke@aicas.com>
30833 * javax/swing/JInternalFrame.java
30834 (setClosed): Call dispose to actually make the frame invisible
30837 2006-02-15 Roman Kennke <kennke@aicas.com>
30839 * javax/swing/JInternalFrame.java
30840 (dispose): Call setVisible(false) instead of hide.
30841 (doDefaultCloseOperation): Likewise.
30843 2006-02-15 Roman Kennke <kennke@aicas.com>
30845 * javax/swing/JComponent.java
30846 (paintChildren): Also check for the visibility of a child component
30847 to avoid artifacts.
30848 (repaint): Simply add this component to the RepaintManager rather than
30849 trying to do useless optimization here.
30851 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30853 * javax/swing/JSpinner.java
30854 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
30855 PropertyChangeListener,
30856 (DefaultEditor.getSpinner): Updated API docs,
30857 (DefaultEditor.dismiss): Likewise,
30858 (DefaultEditor.getTextField): Likewise,
30859 (DefaultEditor.layoutContainer): Likewise,
30860 (DefaultEditor.minimumLayoutSize): Likewise,
30861 (DefaultEditor.preferredLayoutSize): Likewise,
30862 (DefaultEditor.propertyChange): Implemented,
30863 (DefaultEditor.stateChanged): Implemented,
30864 (DefaultEditor.removeLayoutComponent): Updated API docs,
30865 (DefaultEditor.addLayoutComponent): Likewise,
30866 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30867 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30868 (NumberEditor.getFormat): Implemented,
30869 (NumberEditor.getModel): Updated API docs,
30870 (NumberEditorFormatter): New static inner class,
30871 (ListEditor.getModel): Updated API docs,
30872 (DateEditor.dateFormat): Removed,
30873 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30874 (DateEditor.DateEditor(JSpinner, String)): Likewise,
30875 (DateEditor.init): Removed,
30876 (DateEditor.getFormat): Reimplemented,
30877 (DateEditorFormatter): New static inner class,
30878 (ModelListener): New inner class,
30879 (model): Updated API docs,
30880 (editor): Likewise,
30881 (listener): Removed,
30882 (JSpinner()): Updated API docs,
30883 (JSpinner(SpinnerModel)): Set up ModelListener,
30884 (setEditor): Fire property change,
30885 (getModel): Updated API docs,
30886 (setModel): Removed check for null editor,
30887 (setValue): Updated API docs,
30888 (getUIClassID): Updated API docs,
30889 (createEditor): Handle SpinnerListModel case,
30890 * javax/swing/plaf/basic/BasicSpinnerUI.java
30891 (createUI): Updated API docs,
30892 (createPropertyChangeListener): Added FIXME,
30893 (installDefaults): Set text field border to null,
30894 (DefaultLayoutManager): Updated API docs,
30895 (DefaultLayoutManager.layoutContainer): Modified layout,
30896 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30897 (DefaultLayoutManager.preferredLayoutSize): Likewise,
30898 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30899 (DefaultLayoutManager.addLayoutComponent): Likewise,
30900 (DefaultLayoutManager.minSize): Renamed prefSize,
30901 (DefaultLayoutManager.setBounds): Reformatted,
30902 (DefaultLayoutManager.editor): Added API docs,
30903 (DefaultLayoutManager.next): Likewise,
30904 (DefaultLayoutManager.previous): Likewise,
30905 * javax/swing/plaf/metal/MetalLookAndFeel.java
30906 (initComponentDefaults): Added entry for 'Spinner.border',
30907 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30909 2006-02-15 Chris Burdess <dog@gnu.org>
30911 * gnu/xml/validation/datatype/BooleanType.java,
30912 gnu/xml/validation/datatype/ByteType.java,
30913 gnu/xml/validation/datatype/DateTimeType.java,
30914 gnu/xml/validation/datatype/DateType.java,
30915 gnu/xml/validation/datatype/DecimalType.java,
30916 gnu/xml/validation/datatype/DoubleType.java,
30917 gnu/xml/validation/datatype/DurationType.java,
30918 gnu/xml/validation/datatype/FloatType.java,
30919 gnu/xml/validation/datatype/GDayType.java,
30920 gnu/xml/validation/datatype/GMonthDayType.java,
30921 gnu/xml/validation/datatype/GMonthType.java,
30922 gnu/xml/validation/datatype/GYearMonthType.java,
30923 gnu/xml/validation/datatype/GYearType.java,
30924 gnu/xml/validation/datatype/IntType.java,
30925 gnu/xml/validation/datatype/IntegerType.java,
30926 gnu/xml/validation/datatype/LongType.java,
30927 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30928 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30929 gnu/xml/validation/datatype/MinExclusiveFacet.java,
30930 gnu/xml/validation/datatype/MinInclusiveFacet.java,
30931 gnu/xml/validation/datatype/NegativeIntegerType.java,
30932 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30933 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30934 gnu/xml/validation/datatype/PositiveIntegerType.java,
30935 gnu/xml/validation/datatype/ShortType.java,
30936 gnu/xml/validation/datatype/SimpleType.java,
30937 gnu/xml/validation/datatype/TimeType.java,
30938 gnu/xml/validation/datatype/TypeBuilder.java,
30939 gnu/xml/validation/datatype/UnsignedByteType.java,
30940 gnu/xml/validation/datatype/UnsignedIntType.java,
30941 gnu/xml/validation/datatype/UnsignedLongType.java,
30942 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30943 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30944 minInclusive facets use the value space of the base type, and
30947 2006-02-15 Mark Wielaard <mark@klomp.org>
30949 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30950 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30951 gtk_plug_new() returns a GtkWindow.
30953 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30955 * javax/swing/SpinnerNumberModel.java
30956 (getNextValue): Check for null maximum,
30957 (getPreviousValue): Check for null minimum.
30959 2006-02-15 Roman Kennke <kennke@aicas.com>
30961 * javax/swing/plaf/basic/BasicTableUI.java
30962 (paint): Paint vertical and horizontal lines one pixel shifted
30965 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
30967 * java/util/zip/ZipFile.java
30968 (checkZipFile): Inlined readLeInt and rewritten for robustness.
30969 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30970 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30971 (readEntries): Rewritten to use PartialInputStream.
30972 (locBuf, checkLocalHeader): Removed.
30973 (getInputStream): Rewritten to use new PartialInputStream.
30974 (PartialInputStream): Rewritten to do buffering.
30976 2006-02-15 Michael Koch <konqueror@gmx.de>
30978 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30979 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30980 Make sure the embedded window gets no decorations.
30981 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30982 (window_get_frame_extents): Return early of the window has no
30985 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30987 * examples/gnu/classpath/examples/swing/TableDemo.java
30988 (TModel, createContent): Explain which value appears in the header.
30989 * javax/swing/JTable.java (setColumnModel): Only set the
30990 column header value if the getHeaderValue() returns null.
30992 2006-02-14 Mark Wielaard <mark@klomp.org>
30995 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30996 (getErrorImage): New static method.
30997 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30998 (bufferedImageOrError): Renamed to ...
30999 (imageOrError): Renamed from bufferedImageOrError, takes Image.
31000 Returns GtkImage.getErrorImage() when argument null.
31001 (createImage(String)): Always use imageOrError.
31002 (createImage(URL)): Likewise.
31003 (createImage(ImageProducer)): Likewise.
31004 (createImage(byte[],int,int)): Likewise.
31006 2006-02-14 Roman Kennke <kennke@aicas.com>
31008 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31010 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31011 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31012 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31013 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31014 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31016 2006-02-14 Roman Kennke <kennke@aicas.com>
31018 * javax/swing/text/AsyncBoxView.java
31019 (ChildState.locator): Removed wrong field.
31020 (ChildState): Removed initialization of removed field.
31021 (locator): Changed access modifier to be protected as specified.
31023 2006-02-14 Roman Kennke <kennke@aicas.com>
31025 * javax/swing/ToolTipManager.java: Removed unneeded imports.
31026 * javax/swing/Timer.java: Some small reindention.
31027 (task): Made package private to avoid synthetic accessor method.
31029 2006-02-14 Roman Kennke <kennke@aicas.com>
31031 * javax/swing/SwingUtilities.java
31032 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31035 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31037 * examples/gnu/classpath/examples/swing/TableDemo.java:
31038 Making the columns variable width.
31039 * javax/swing/JTable.java (distributeSpill, doLayout):
31040 Call getPreferredSize and not getSize().
31042 2006-02-14 Roman Kennke <kennke@aicas.com>
31044 * javax/swing/DefaultCellEditor.java
31045 (DefaultCellEditor): API doc fixlet.
31047 2006-02-14 Roman Kennke <kennke@aicas.com>
31049 * javax/swing/JViewport.java
31050 (isPaintRoot): New field.
31051 (repaint): Only call super here. Also added a comment regarding
31052 the diversion from the JDK.
31053 (paintBlit): Implemented real blitting.
31054 (paintImmediately2): New method. Overrides the same package private
31055 method in JComponent.
31057 2006-02-14 Roman Kennke <kennke@aicas.com>
31059 * javax/swing/plaf/basic/BasicTableUI.java
31060 (paint): Check for boundary cases when determining the painting
31063 2006-02-14 Mark Wielaard <mark@klomp.org>
31065 * java/awt/Menu.java (add): Always set parent of item to this. Call
31066 addNotify() on item when we have a MenuPeer already.
31067 (insert): Always adjust parent for item. Call addNotify() on item if
31068 we already have a peer.
31069 (remove(int)): Always clear item parent. Call removeNotify() on item
31072 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31074 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31075 row == getRowCount().
31077 2006-02-14 Lillian Angel <langel@redhat.com>
31079 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31080 (setVisible): New method to override super. Need to set the
31081 native bounds of the component, so it appears at the
31084 2006-02-14 Mark Wielaard <mark@klomp.org>
31086 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31087 (remove): If menu component is the current MenuBar remove it,
31088 otherwise call super.remove().
31089 * java/awt/MenuBar.java (frame): Remove field.
31090 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31092 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31094 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31095 to NameServicePersistent.
31096 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31097 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31099 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31101 * NEWS: Updated tool status.
31102 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31103 (constructor, bind, rebind): Rewritten.
31104 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31105 * tools/gnu/classpath/tools/giop/README: Updated.
31106 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31107 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31108 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31109 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31110 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31113 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31115 * javax/swing/JComponent.java
31116 (getListeners): Check for PropertyChangeListener.class and delegate to
31117 getPropertyChangeListeners() for that case.
31119 2006-02-13 Roman Kennke <kennke@aicas.com>
31121 * javax/swing/plaf/basic/BasicTableUI.java
31122 (paint): Determine the cells that need painting based on the
31123 current clip. Use getCellRect() for calculating the cell
31126 2006-02-13 Roman Kennke <kennke@aicas.com>
31128 * javax/swing/JTable.java
31129 (rectCache): New field.
31130 (getCellRect): Returns cached Rectangle instance.
31132 2006-02-13 Roman Kennke <kennke@aicas.com>
31134 * javax/swing/JLayeredPane.java
31135 (removeAll): New method. Avoid potential memory leak.
31136 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31139 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31141 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31142 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31144 2006-02-13 Tom Tromey <tromey@redhat.com>
31146 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31147 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31149 2006-02-13 Roman Kennke <kennke@aicas.com>
31151 * javax/swing/RepaintManager.java
31152 (offscreenBuffers): New field.
31153 (doubleBuffer): Removed field.
31154 (repaintUnderway): New field.
31155 (commitRequests): New field.
31156 (RepaintManager): Initialize new fields.
31157 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31159 (getOffscreenBuffer): Returns the offscreen buffer for the
31160 corresponding root component.
31161 (commitBuffer): New method.
31162 (commitRemainingBuffers): New method.
31163 * javax/swing/JComponent.java
31164 (paint): Call paintDoubleBuffered with the current clip.
31165 (paintImmediately2): Don't paint on screen here.
31166 (paintDoubleBuffered): Rewritten for real double buffering.
31167 (paintSimple): Draw to screen in this method.
31169 2006-02-13 Roman Kennke <kennke@aicas.com>
31171 * javax/swing/JRootPane.java
31172 (JRootPane): Set opaque property to true.
31174 2006-02-13 Tom Tromey <tromey@redhat.com>
31176 * .classpath: Updated for external/relaxngDatatype.
31178 2006-02-13 Chris Burdess <dog@gnu.org>
31180 * gnu/xml/stream/UnicodeReader.java,
31181 gnu/xml/validation/datatype/Annotation.java,
31182 gnu/xml/validation/datatype/AnySimpleType.java,
31183 gnu/xml/validation/datatype/AnyType.java,
31184 gnu/xml/validation/datatype/AnyURIType.java,
31185 gnu/xml/validation/datatype/AtomicSimpleType.java,
31186 gnu/xml/validation/datatype/Base64BinaryType.java,
31187 gnu/xml/validation/datatype/BooleanType.java,
31188 gnu/xml/validation/datatype/ByteType.java,
31189 gnu/xml/validation/datatype/DateTimeType.java,
31190 gnu/xml/validation/datatype/DateType.java,
31191 gnu/xml/validation/datatype/DecimalType.java,
31192 gnu/xml/validation/datatype/DoubleType.java,
31193 gnu/xml/validation/datatype/DurationType.java,
31194 gnu/xml/validation/datatype/EntitiesType.java,
31195 gnu/xml/validation/datatype/EntityType.java,
31196 gnu/xml/validation/datatype/EnumerationFacet.java,
31197 gnu/xml/validation/datatype/Facet.java,
31198 gnu/xml/validation/datatype/FloatType.java,
31199 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31200 gnu/xml/validation/datatype/GDayType.java,
31201 gnu/xml/validation/datatype/GMonthDayType.java,
31202 gnu/xml/validation/datatype/GMonthType.java,
31203 gnu/xml/validation/datatype/GYearMonthType.java,
31204 gnu/xml/validation/datatype/GYearType.java,
31205 gnu/xml/validation/datatype/HexBinaryType.java,
31206 gnu/xml/validation/datatype/IDRefType.java,
31207 gnu/xml/validation/datatype/IDRefsType.java,
31208 gnu/xml/validation/datatype/IDType.java,
31209 gnu/xml/validation/datatype/IntType.java,
31210 gnu/xml/validation/datatype/IntegerType.java,
31211 gnu/xml/validation/datatype/LanguageType.java,
31212 gnu/xml/validation/datatype/LengthFacet.java,
31213 gnu/xml/validation/datatype/ListSimpleType.java,
31214 gnu/xml/validation/datatype/LongType.java,
31215 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31216 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31217 gnu/xml/validation/datatype/MaxLengthFacet.java,
31218 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31219 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31220 gnu/xml/validation/datatype/MinLengthFacet.java,
31221 gnu/xml/validation/datatype/NCNameType.java,
31222 gnu/xml/validation/datatype/NMTokenType.java,
31223 gnu/xml/validation/datatype/NMTokensType.java,
31224 gnu/xml/validation/datatype/NameType.java,
31225 gnu/xml/validation/datatype/NegativeIntegerType.java,
31226 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31227 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31228 gnu/xml/validation/datatype/NormalizedStringType.java,
31229 gnu/xml/validation/datatype/NotationType.java,
31230 gnu/xml/validation/datatype/PatternFacet.java,
31231 gnu/xml/validation/datatype/PositiveIntegerType.java,
31232 gnu/xml/validation/datatype/QNameType.java,
31233 gnu/xml/validation/datatype/ShortType.java,
31234 gnu/xml/validation/datatype/SimpleType.java,
31235 gnu/xml/validation/datatype/StringType.java,
31236 gnu/xml/validation/datatype/TimeType.java,
31237 gnu/xml/validation/datatype/TokenType.java,
31238 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31239 gnu/xml/validation/datatype/Type.java,
31240 gnu/xml/validation/datatype/TypeBuilder.java,
31241 gnu/xml/validation/datatype/TypeLibrary.java,
31242 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31243 gnu/xml/validation/datatype/UnionSimpleType.java,
31244 gnu/xml/validation/datatype/UnsignedByteType.java,
31245 gnu/xml/validation/datatype/UnsignedIntType.java,
31246 gnu/xml/validation/datatype/UnsignedLongType.java,
31247 gnu/xml/validation/datatype/UnsignedShortType.java,
31248 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31249 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31250 RELAX NG datatype library implementation for XML Schema Datatypes.
31252 2006-02-13 Chris Burdess <dog@gnu.org>
31258 external/Makefile.am,
31259 external/relaxngDatatype/.cvsignore,
31260 external/relaxngDatatype/Makefile.am,
31261 external/relaxngDatatype/README.txt,
31262 external/relaxngDatatype/copying.txt,
31263 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31264 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31265 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31266 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31267 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31268 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31269 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31270 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31271 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31272 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31274 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31275 datatypes library API.
31277 2006-02-13 Mark Wielaard <mark@klomp.org>
31279 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31281 (gtkWidgetModifyFont(Font)): New protected helper method.
31282 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31283 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31284 protected and document.
31285 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31287 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31289 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31291 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31292 (setFont): Removed method. Done in GtkMenuComponent.
31293 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31294 abstract and protected.
31295 (setFont): Made private, add implementation.
31296 (setFont(Font)): Implemented.
31297 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31298 Made protected and document.
31299 (create): Made protected.
31300 (setFont): Removed method. Done in GtkMenuComponent.
31301 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31302 (gtkWidgetModifyFont): Made protected and document.
31303 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31304 Removed, similar to GtkGenericPeer super class implementation.
31305 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31307 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31310 2006-02-13 Mark Wielaard <mark@klomp.org>
31312 * java/lang/Math.java (static): Explicitly call
31313 System.loadLibrary("javalang").
31315 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31317 * javax/print/StreamPrintServiceFactory.java: New file.
31319 2006-02-13 Tom Tromey <tromey@redhat.com>
31321 * tools/.cvsignore: Added Makefile.
31323 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31325 * java/awt/print/PrinterGraphics.java: Reformatted.
31326 * java/awt/print/Paper.java: Likewise.
31327 * java/awt/print/PageFormat.java: Likewise.
31328 * java/awt/print/Pageable.java: Likewise.
31330 2006-02-13 Lillian Angel <langel@redhat.com>
31332 * java/awt/BorderLayout.java
31333 (layoutContainer): Rewrote part of this function to
31334 properly set the bounds of the components.
31335 (setBounds): Removed method, not needed.
31337 2006-02-13 Roman Kennke <kennke@aicas.com>
31339 * javax/swing/text/DefaultStyledDocument.java
31340 (ElementBuffer.clone): Fixed replace call.
31341 (clone): Removed method.
31343 2006-02-13 Roman Kennke <kennke@aicas.com>
31345 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31347 2006-02-13 Roman Kennke <kennke@aicas.com>
31349 * java/rmi/server/UnicastRemoteObject.java
31350 (exportObject(Remote)): Forward method call to export(Remote,int).
31352 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31354 * include/Makefile.am:
31355 Swapped Math.h for VMMath.h
31356 * include/java_lang_Math.h:
31358 * include/java_lang_VMMath.h:
31359 New autogenerated header for the new class.
31360 * java/lang/Math.java:
31361 (sin(double)): Changed to link to VMMath.
31362 (cos(double)): Changed to link to VMMath.
31363 (tan(double)): Changed to link to VMMath.
31364 (asin(double)): Changed to link to VMMath.
31365 (acos(double)): Changed to link to VMMath.
31366 (atan(double)): Changed to link to VMMath.
31367 (atan2(double)): Changed to link to VMMath.
31368 (exp(double)): Changed to link to VMMath.
31369 (log(double)): Changed to link to VMMath.
31370 (sqrt(double)): Changed to link to VMMath.
31371 (pow(double,double)): Changed to link to VMMath.
31372 (IEEEremainder(double,double)): Changed to link to VMMath.
31373 (ceil(double)): Changed to link to VMMath.
31374 (floor(double)): Changed to link to VMMath.
31375 (rint(double)): Changed to link to VMMath.
31376 * native/jni/java-lang/Makefile.am:
31377 Replaced java_lang_Math.c with java_lang_VMMath.c
31378 * native/jni/java-lang/java_lang_Math.c:
31380 * native/jni/java-lang/java_lang_VMMath.c:
31381 Renamed from java_lang_Math.c.
31382 * vm/reference/java/lang/VMMath.java:
31384 (sin(double)): New native method.
31385 (cos(double)): New native method.
31386 (tan(double)): New native method.
31387 (asin(double)): New native method.
31388 (acos(double)): New native method.
31389 (atan(double)): New native method.
31390 (atan2(double)): New native method.
31391 (exp(double)): New native method.
31392 (log(double)): New native method.
31393 (sqrt(double)): New native method.
31394 (pow(double,double)): New native method.
31395 (IEEEremainder(double,double)): New native method.
31396 (ceil(double)): New native method.
31397 (floor(double)): New native method.
31398 (rint(double)): New native method.
31400 2006-02-13 Lillian Angel <langel@redhat.com>
31402 * java/awt/Component.java
31403 (repaint): No need to call isShowing, it is done in the other repaint call.
31404 (repaint): Likewise.
31405 (repaint): Likewise.
31407 2006-02-13 Lillian Angel <langel@redhat.com>
31409 * java/awt/Component.java
31410 (repaint): Reverted last change.
31411 (repaint): Likewise.
31412 (repaint): Likewise.
31414 2006-02-13 Lillian Angel <langel@redhat.com>
31416 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31417 (handleEvent): Made more efficent by handling paint event and
31418 setting the clip for the graphics.
31419 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31420 (handleEvent): Likewise.
31421 * java/awt/Component.java
31422 (repaint): No need to call isShowing, it is done in the other repaint call.
31423 (repaint): Likewise.
31424 (repaint): Likewise.
31426 2006-02-13 Roman Kennke <kennke@aicas.com>
31428 * javax/swing/text/AbstractDocument.java
31429 (setParent): Added API docs. Call setParent(null) on children before
31430 disconnecting this view from the View hierarchy.
31432 2006-02-13 Roman Kennke <kennke@aicas.com>
31434 * javax/swing/text/AbstractDocument.java
31435 (readUnlock): Don't attempt to unlock when the current threads also
31436 holds a write lock.
31438 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31440 * javax/swing/plaf/metal/MetalBorders.java
31441 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31442 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31444 (Flush3DBorder.borderInsets): New field,
31445 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31446 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31447 null insets argument, and populate result from borderInsets,
31448 (PaletteBorder.borderInsets): New field,
31449 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31450 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31451 null insets argument, and populate result from borderInsets,
31452 (InternalFrameBorder.borderInsets): New field,
31453 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31455 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31456 for null insets argument, and populate result from borderInsets,
31457 (MenuItemBorder.borderInsets): Initialise to correct value.
31459 2006-02-13 Roman Kennke <kennke@aicas.com>
31461 * javax/swing/text/AsyncBoxView.java: New file.
31463 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31466 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31467 was moved to a new method parseCharClass.
31468 (parseCharClass): New method originally in initialize. Added parsing
31469 of nested character classes.
31470 (ParseCharClassResult): New inner class used as a return value of
31472 (getCharExpression),(getNamedProperty): Made static.
31473 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31474 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31475 nested character classes.
31476 (RETokenOneOf): New constructor accepting the Vector addition.
31477 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31478 stands for only one character.
31479 (match): Added the processing of the Vector addition.
31480 (matchN), (matchP): Do not check next token if addition is used.
31482 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31484 * AUTHORS: add self.
31486 2006-02-12 Tom Tromey <tromey@redhat.com>
31488 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31489 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31490 (securityContext): Likewise.
31493 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31497 * gnu/java/net/protocol/file/Connection.java (unquote):
31498 Convert Unicode characters outside basic plane to UTF-8,
31499 rather than throwing an exception.
31501 2006-02-12 Tom Tromey <tromey@redhat.com>
31503 * javax/sound/sampled/LineEvent.java (readObject): New method.
31504 (writeObject): Likewise.
31505 (serialVersionUID): New field.
31507 2006-02-12 Mark Wielaard <mark@klomp.org>
31509 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31510 Silently ignores null listener.
31511 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31512 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31513 array for null propertyName.
31515 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31517 * java/rmi/MarshalledObject.java: Added api docs to the class.
31518 * java/rmi/Remote.java: Added interface api docs.
31519 * java/rmi/package.html: Added package description.
31520 * java/rmi/AccessException.java: Minor api doc fixes.
31521 * java/rmi/NoSuchObjectException.java: Likewise.
31522 * java/rmi/AlreadyBoundException.java: Likewise.
31523 * java/rmi/RemoteException.java: Likewise.
31524 * java/rmi/NotBoundException.java: Likewise.
31525 * java/rmi/RMISecurityException.java: Likewise.
31526 * java/rmi/StubNotFoundException.java: Likewise.
31528 2006-02-12 Mark Wielaard <mark@klomp.org>
31530 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31531 q() to get EventQueue.
31532 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31533 (enableQueue): Remove static method.
31534 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31535 Don't call GtkGenericPeer.enableQueue().
31537 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31539 * java/rmi/MarshalledObject.java: Reformatted.
31540 * java/rmi/Naming.java: Likewise.
31542 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31544 * java/io/InputStream.java
31545 (read(byte[],int,int)): Changed argument validation to prevent
31546 integer overflow. Remove redundant check.
31548 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31551 * java/io/InputStreamReader.java
31552 (InputStreamReader(InputStream)): Use SystemProperties.
31553 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31554 Throw NullPointerException if in is null.
31555 Added maxBytesPerChar initialisation.
31556 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31557 Throw NullPointerException if in is null.
31559 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31561 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31562 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31563 (GnuDHPublicKey): New constructor.
31564 (getEncoded): Removed.
31565 (valueOf): Added support for ASN.1 encoding.
31566 (getEncoded(int)): Likewise.
31567 (equals): New method.
31568 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31569 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31570 (GnuDHPrivateKey(5)): New constructor.
31571 (getEncoded): Removed.
31572 (valueOf): Added support for ASN.1 encoding.
31573 (getEncoded(int)): Likewise.
31574 (equals): New method.
31575 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31576 (PREFERRED_ENCODING_FORMAT): New constant.
31577 (DEFAULT_ENCODING_FORMAT): Likewise.
31578 (preferredFormat): New field.
31579 (setup): Handle preferred encoding format identifier.
31580 (generate): Call constructors with format identifier.
31581 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31582 (GnuDHKey): Added an int argument.
31583 (getEncoded): New method.
31584 (getFormat): New implementation.
31585 (getEncoded(int)): New abstract method.
31586 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31587 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31588 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31589 key-pair generator and key-factory.
31590 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31591 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31592 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31593 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31594 (invokeConstructor): New method.
31595 (getConcreteClass): Likewise.
31596 (getConcreteCtor): Likewise.
31597 (invokeValueOf): Likewise.
31598 (getValueOfMethod): Likewise.
31599 (engineGeneratePublic): Add support for DH keys.
31600 (engineGeneratePrivate): Likewise.
31601 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31602 (decodeDHPublicKey(byte[])): Likewise.
31603 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31604 (decodeDHPrivateKey(byte[])): Likewise.
31606 2006-02-11 Mark Wielaard <mark@klomp.org>
31608 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31610 (repaint): Immediately post to queue when tm <= 0, otherwise call
31611 RepaintTimerTask.schedule().
31612 (RepaintTimerTask): Make static.
31613 (RepaintTimerTask.repaintTimer): New static final field.
31614 (RepaintTimerTask.awtComponent): New field.
31615 (schedule): New static method.
31617 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31619 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31620 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31621 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31622 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31623 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31625 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31627 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31629 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31630 (engineGeneratePublic): Added support for raw key-specifications.
31631 (engineGeneratePrivate): Likewise.
31632 (decodeDSSPublicKey): New method.
31633 (decodeRSAPublicKey): Likewise.
31634 (decodeDSSPrivateKey): Likewise.
31635 (decodeRSAPrivateKey): Likewise.
31636 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31637 (encodePrivateKey): Throw InvalidParameterException.
31638 (decodePublicKey): Likewise.
31639 (decodePrivateKey): Likewise.
31640 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31641 (encodePublicKey): Likewise.
31642 (encodePrivateKey): Likewise.
31643 (decodePublicKey): Likewise.
31644 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31645 (encodePrivateKey): Likewise.
31646 (decodePublicKey): Likewise.
31647 (decodePrivateKey): Likewise.
31648 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31649 (encodePublicKey): Likewise.
31650 (encodePrivateKey): Likewise.
31651 (decodePublicKey): Likewise.
31653 2006-02-10 Roman Kennke <kennke@aicas.com>
31655 * javax/swing/text/StyleContext.java
31656 (registerStaticAttributeKey): New static method.
31658 2006-02-10 Roman Kennke <kennke@aicas.com>
31660 * javax/swing/text/DefaultStyledDocument.java
31661 (ElementBuffer.clone): New method.
31663 2006-02-10 Roman Kennke <kennke@aicas.com>
31665 * javax/swing/text/ParagraphView.java
31666 (findOffsetToCharactersInString): New method.
31667 (getClosestPositionTo): New method.
31668 (getPartialSize): New method.
31669 (getTabBase): New method.
31670 (adjustRow): New method.
31671 (breakView): New method.
31672 (getBreakWeight): New method.
31674 2006-02-10 Roman Kennke <kennke@aicas.com>
31676 * javax/swing/text/GapContent.java
31677 (updateUndoPositions): New method.
31678 * javax/swing/text/StringContent.java
31679 (updateUndoPositions): New method.
31681 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31683 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31685 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31686 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31687 Added support for encoded key specifications.
31688 (engineGeneratePrivate): Likewise.
31689 (engineGetKeySpec): Likewise.
31690 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31692 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31694 * javax/swing/text/Utilities.java:
31695 (getTabbedTextOffset): Fixed usage of variable p0.
31696 (getPositionAbove): Rewritten.
31697 (getPositionBelow): Rewritten.
31699 2006-02-09 Roman Kennke <kennke@aicas.com>
31701 * javax/swing/text/BoxView.java
31702 (getAxis): Added @since tag.
31703 (setAxis): Added @since tag.
31704 (layoutChanged): Added @since tag.
31705 (isLayoutValid): Added @since tag.
31706 (paint): Don't call setSize here. This is done in RootView already.
31707 (getMaximumSpan): Reimplemented to return the requirements'
31708 maximum size. Added API docs.
31709 (getMinimumSpan): New method.
31710 (layout): Fixed layout order.
31711 (modelToView): Call layout instead of setSize here.
31712 (getResizeWeight): New method.
31713 (getChildAllocation): New method.
31714 (forwardUpdate): New method.
31715 (viewToModel): New method.
31716 (flipEastEndWestEnds): New method.
31717 * javax/swing/text/CompositeView.java
31718 (modelToView): Made this method more robust by returning a default
31719 location if it's not possible to calculate one via the children.
31720 This default location returns the left or right edge of this
31722 (createDefaultLocation): New helper method.
31723 * javax/swing/text/IconView.java
31724 (modelToView): Don't throw BadLocationException. This should
31725 really only be thrown if the position is outside the document
31726 model, not if it's outside the view's boundary.
31728 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31730 * tools/Makefile.am: Handle rmi and giop folders separately.
31732 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31734 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31735 * javax/swing/SpinnerNumberModel.java: Likewise.
31737 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31739 * javax/swing/SpinnerDateModel.java: Removed tabs,
31740 * javax/swing/SpinnerNumberModel.java: Likewise.
31742 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
31744 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31745 * doc/unicode/UnicodeData-4.0.0.txt: New file.
31747 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31750 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31751 (isRedirect): Removed, moved to Response.java.
31752 (connect): If error condition redirect responseSink to errorSink.
31753 (getInputStream): If error condition throw IOException, for the error
31754 codes 404 and 410 throw a FileNotFoundException.
31755 * gnu/java/net/protocol/http/Response.java (isError): New method.
31756 (isRedirect): New method, moved from HTTPURLConnection.java.
31758 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31760 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31761 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31762 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
31764 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31766 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31767 AbstractMethodGenerator.
31768 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31769 tools/gnu/classpath/tools/rmi/RMIC.java,
31770 tools/gnu/classpath/tools/rmi/RMIC.txt,
31771 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31772 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31773 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31774 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31775 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31776 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
31778 * NEWS: Corrected entry about the tools.
31780 2006-02-09 Lillian Angel <langel@redhat.com>
31782 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31783 (handleEvent): Added more to check to prevent assertion errors.
31784 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31785 (handleEvent): Likewise.
31786 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31787 (handleEvent): Likewise.
31789 2006-02-09 Mark Wielaard <mark@klomp.org>
31791 * javax/swing/JTable.java (tableChanged): Interpret null event as
31792 "everything changed".
31794 2006-02-09 Roman Kennke <kennke@aicas.com>
31796 * javax/swing/text/DefaultCaret.java
31797 (DocumentHandler.removeUpdate): When update policy is
31798 'on eventqueue', and the update doesn't come from the
31799 event queue, check if the current dot location is still
31801 (moveDot): Make sure the new dot location is valid.
31802 (setDot): Set the mark the same as the dot.
31804 2006-02-09 Roman Kennke <kennke@aicas.com>
31806 * javax/swing/text/AbstractDocument.java
31807 (remove): Perform all operations within a write lock and in the
31810 2006-02-09 Mark Wielaard <mark@klomp.org>
31812 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31813 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31814 creater than min, adjusting page_size if necessary.
31815 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31817 2006-02-09 Lillian Angel <langel@redhat.com>
31819 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31820 (handleEvent): Added code to handle PaintEvent.UPDATE.
31821 Sun does not call update(Graphics g) on Panels.
31822 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31823 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31824 Sun does not call update(Graphics g) on Panels.
31826 2006-02-09 Roman Kennke <kennke@aicas.com>
31828 * javax/swing/text/BoxView.java
31829 (myAxis): Made field private.
31830 (xLayoutValid): Replaced by layoutValid array.
31831 (yLayoutValid): Replaced by layoutValid array.
31832 (layoutValid): New field.
31833 (spansX): Replaced by spans array.
31834 (spansY): Replaced by spans array.
31835 (spans): New field.
31836 (offsetsX): Replaced by offsets array.
31837 (offsetsY): Replaced by offsets array.
31838 (offsets): New field.
31839 (requirements): New field.
31840 (BoxView): Initialize new fields.
31841 (layoutChanged): Rewritten to use the layoutValid array.
31842 (isLayoutValid): Rewritten to use the layoutValid array.
31843 (replace): Use the new arrays.
31844 (getPreferredSpan): Rewritten to call calculateXXXRequirements
31845 instead of baselineRequirements.
31846 (baselineRequirements): Rewritten to calculate baseline requirements.
31847 (baselineLayout): Rewritten to calculate baseline layout.
31848 (childAllocation): Use new arrays.
31849 (layout): Rewritten. Only update the layout if necessary.
31850 (layoutMajorAxis): Directly set layoutValid.
31851 (layoutMinorAxis): Directly set layoutValid. Use cached size
31853 (getWidth): Use new span array.
31854 (getHeight): Likewise.
31855 (setSize): Rewritten to simply call layout().
31856 (validateLayout): Removed unneeded method.
31857 (getSpan): Use new arrays.
31858 (getOffset): Use new arrays.
31859 (getAlignment): Use cached requirements if possible.
31860 (preferenceChanged): Use new arrays.
31861 * javax/swing/text/FlowView.java
31862 (FlowStrategy.insertUpdate): Do nothing here.
31863 (FlowStrategy.removeUpdate): Do nothing here.
31864 (FlowStrategy.changedUpdate): Do nothing here.
31865 (FlowStrategy.layoutRow): Rewritten.
31866 (FlowStrategy.createView): Rewritten.
31867 (FlowStrategy.adjustRow): New method.
31868 (LogicalView.getViewIndex): Fixed condition for finding child
31870 (layoutDirty): New field indicating the state of the layout.
31871 (FlowView): Initialize new field.
31872 (loadChildren): Set parent on logical view so that preferenceChanges
31873 get propagated upwards.
31874 (layout): Rewritten to match the specs.
31875 (insertUpdate): Set layout to dirty.
31876 (removeUpdate): Set layout to dirty.
31877 (changedUpdate): Set layout to dirty.
31878 * javax/swing/text/GlyphView.java
31879 (getBreakWeight): Rewritten to use the Utilities class. Commented
31880 out though because that is broken.
31881 (insertUpdate): Call preferenceChanged on this object instead of
31883 * javax/swing/text/ParagraphView.java
31884 (Row.loadChildren): Overridden to be a noop to prevent initial
31885 creation of child views. This is carried out by the flow layout.
31886 * javax/swing/text/View.java
31887 (getPreferredSpan): Added API docs.
31888 (getResizeWeight): Added API docs.
31889 (getMaximumSpan): Added API docs. Rewritten to only have one exit
31891 (getMinimumSpan): Added API docs. Rewritten to return 0 when
31892 resizable instead of Integer.MAX_VALUE.
31893 (getAlignment): Added API docs.
31894 (replace): Added API docs.
31895 (forwardUpdate): Rewritten to only notify child views that need to
31898 2006-02-09 Roman Kennke <kennke@aicas.com>
31900 * javax/swing/plaf/basic/BasicTextUI.java
31901 (RootView.paint): Call setSize() before painting the view.
31903 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
31906 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31907 flag which enables backslash escape in a replacement.
31908 (getReplacement): New public static method.
31909 (substituteImpl),(substituteAllImpl): Use getReplacement.
31910 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31911 * java/util/regex/Matcher.java(appendReplacement)
31912 Use RE#getReplacement.
31913 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31915 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
31917 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31918 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31919 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31920 (PREFERRED_ENCODING_FORMAT): New constant.
31921 (DEFAULT_ENCODING_FORMAT): Likewise.
31922 (preferredFormat): New field.
31923 (setup): Add support for preferred encoding format.
31924 (generate): Call key constructors with explicit format identifier.
31925 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
31926 Call constructor with 3 arguments..
31927 (GnuRSAPublicKey(3)): New constructor.
31928 (valueOf): Added support for ASN.1 format.
31929 (getEncoded): Likewise.
31930 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31931 Call constructor with 5 arguments.
31932 (GnuRSAPrivateKey(5)): New constructor.
31933 (GnuRSAPrivateKey(9)): New constructor.
31934 (valueOf): Added support for ASN.1 format.
31935 (getEncoded): Likewise.
31936 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31937 (GnuRSAKey): Modified constructor.
31938 (getFormat): Return preferred format identifier.
31939 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31940 (decodePrivateKey): Fixed documentation.
31941 Check Version field.
31942 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31943 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31945 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31946 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31947 (engineGeneratePublic): Added support for RSA.
31948 (engineGeneratePrivate): Likewise.
31950 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31952 * java/net/URLConnection.java:
31953 (setAllowUserInteraction): Throw IllegalStateException if connected.
31954 (getRequestProperty): Document return value if key is null.
31955 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31956 (getRequestProperty): Return null if key is null.
31957 (getRequestProperties): Throw IllegalStateException if connected.
31958 (setRequestProperty): Call super method for exception tests.
31959 (addRequestProperty): Likewise.
31961 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31963 * gnu/java/net/protocol/http/Request.java:
31964 (Request): Remove initialization of removed field.
31965 (requestBodyNegotiationThreshold): Removed now unused field.
31966 (setRequestBodyNegotiationThreshold): Remove now unused method.
31967 (dispatch): Do not use 'Expect 100-continue' header if content-length
31968 is over a treshold. If user specified 'Expect 100-continue' still
31969 initialize the expectingContinue variable.
31971 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31973 * javax/swing/SpinnerNumberModel.java
31974 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
31975 maximum and minimum to take null values,
31976 (setValue): Only fire ChangeEvent if new value is different to old
31978 (setMinimum): Fixed test for updating value,
31979 (setMaximum): Likewise,
31980 (setStepSize): Likewise.
31982 2006-02-08 Tom Tromey <tromey@redhat.com>
31984 * tools/.cvsignore: Added Makefile.in.
31986 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31988 * java/rmi/server/RemoteRef.java,
31989 java/rmi/server/RemoteStub.java: Commented.
31991 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31993 * javax/swing/SpinnerDateModel.java
31994 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31996 (getPreviousValue): Check result against start, not end,
31997 (setValue): Check that value actually changes before firing
32000 2006-02-08 Lillian Angel <langel@redhat.com>
32002 * java/awt/Choice.java
32003 (select): Fixed up code, added some checks to prevent errors.
32004 (dispatchEventImpl): Removed. This function is not needed. It
32005 causes several assertion errors.
32007 2006-02-08 Roman Kennke <kennke@aicas.com>
32009 * javax/swing/text/PlainView.java
32010 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32011 drawing unnecessary characters.
32013 2006-02-08 Lillian Angel <langel@redhat.com>
32015 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32016 (handleEvent): Fixed check to determine if height or
32017 width is less than 1.
32019 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32021 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32023 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32025 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32026 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32027 Documenting the code generator.
32028 * gnu/CORBA/IOR.java (toStringFormatted,
32029 CodeSet_component.toStringFormatted): New methods.
32030 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32031 * tools/gnu/classpath/tools/giop/README: Rewritten.
32032 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
32033 (printHelpAndExit): Removed.
32034 *tools/gnu/classpath/tools/giop/IorParser.java,
32035 tools/gnu/classpath/tools/giop/IorParser.txt,
32036 tools/gnu/classpath/tools/giop/NameService.java,
32037 tools/gnu/classpath/tools/giop/NamingService.txt,
32038 tools/gnu/classpath/tools/HelpPrinter.java: New files.
32039 NEWS: Added note about GIOP tools.
32041 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32043 * .classpath: New source patch (tools).
32044 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32045 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32046 * tools/gnu/classpath/tools/Makefile.am,
32047 tools/gnu/classpath/tools/giop/GRMIC.java
32048 tools/gnu/classpath/tools/giop/GRMIC.txt,
32049 tools/gnu/classpath/tools/giop/README,
32050 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32051 tools/gnu/classpath/tools/giop/grmic/Generator.java,
32052 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32053 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32054 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32055 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32056 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32057 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32058 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32059 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32060 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32061 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32063 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
32065 * java/awt/BasicStroke.java: Updated API docs all over,
32066 * java/awt/doc-files/capjoin.png: New file.
32068 2006-02-07 Lillian Angel <langel@redhat.com>
32070 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32071 (handleEvent): Added check. Should not paint or update the
32072 component if it's width and height are both 0.
32074 2006-02-07 Roman Kennke <kennke@aicas.com>
32076 * javax/swing/text/AbstractDocument.java
32077 (insertString): Enclose locking/unlocking in try-finally block
32078 and also keep locked while notifying the listeners.
32080 2006-02-07 Roman Kennke <kennke@aicas.com>
32082 * javax/swing/text/GlyphView.java
32083 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32085 (getStartOffset): Return element boundary if startOffset < 0.
32086 (getEndOffset): Return element boundary if endOffset < 0.
32087 (createFragment): Set startOffset and endOffset fields of fragment
32088 if one of p0 or p1 is not at the element boundary.
32090 2006-02-07 Roman Kennke <kennke@aicas.com>
32092 * javax/swing/CellRendererPane.java
32093 (paintComponent): Enclosed painting in try finally to properly
32094 clean up even when throwing an exception.
32096 2006-02-07 Roman Kennke <kennke@aicas.com>
32098 * javax/swing/UIManager.java
32099 (listeners): Made this an instance of
32100 java.beans.PropertyChangeSupport instead of the obsoleted
32101 SwingPropertyChangeSupport.
32103 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32105 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32106 of actions "delete-next" and "delete-previous", added new TextAction
32107 implementations for "selection-begin", "selection-begin-line",
32108 "selection-end" and "selection-end-line".
32110 2006-02-07 Roman Kennke <kennke@aicas.com>
32112 * javax/swing/plaf/basic/BasicTextUI.java
32113 (paint): Acquire read lock on the document before calling
32115 (paintSafely): Added comment about what this method does.
32116 (paintBackground): Implemented to actually paint the background.
32117 (update): Overridden to _not_ paint the background. This is done
32118 in paintBackground in this UI.
32120 2006-02-07 Roman Kennke <kennke@aicas.com>
32122 * javax/swing/text/View.java
32123 (forwardUpdate): Don't notify newly added child views as specified.
32125 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32127 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32129 2006-02-07 Roman Kennke <kennke@aicas.com>
32131 * javax/swing/text/DefaultStyledDocument.java
32132 (ElementBuffer.insert): Only register change when the element
32135 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32137 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32139 (getEncodingShortName): Likewise.
32140 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32141 (PKCS8_FORMAT): Likewise.
32142 (ASN1_FORMAT): Likewise.
32143 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32144 constructor with 5 arguments.
32145 (DSSPublicKey(5)): New constructor.
32146 (valueOf): Handle ASN.1 encoding.
32147 (getEncoded): Likewise.
32148 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32149 constructor with 5 arguments.
32150 (DSSPrivateKey(5)): New constructor.
32151 (valueOf): Handle ASN.1 encoding.
32152 (getEncoded): Likewise.
32153 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32154 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32155 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32156 (PREFERRED_ENCODING_FORMAT): New constant.
32157 (DEFAULT_ENCODING_FORMAT): Likewise.
32158 (preferredFormat): New field.
32159 (setup): Handle preferred format ID.
32160 (generate): Use new ctors with 5 arguments.
32161 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32162 ID as an additional argument.
32163 (defaultFormat): new field.
32164 (getFormat): Returns the preferred format as a short string.
32165 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32166 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32168 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32169 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32171 (initialize(int,boolean,SecureRandom)): Likewise.
32172 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32173 writeLength() instead of write().
32174 return buf.length + 1 instead of buf.length.
32176 2006-02-07 Roman Kennke <kennke@aicas.com>
32178 * javax/swing/plaf/basic/BasicTextUI.java
32179 (RootView.preferenceChange): Changed view parameter to view so
32180 that it doesn't hide a field of that class.
32181 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32182 (RootView.modelToView): Removed unnecessary cast from View to View.
32183 (PropertyChangeHandler): Made inner class private.
32184 (updateHandler): Made field private.
32185 (getVisibleEditorRect): Removed unneeded local variable that
32186 shadowed a field with the same name and purpose.
32188 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32190 * javax/swing/text/JTextComponent.java:
32191 (getSelectedText): Calculate offset and use that as
32194 2006-02-07 Roman Kennke <kennke@aicas.com>
32196 * javax/swing/JTextPane.java
32197 (setCharacterAttributes): Replace input attributes when
32200 2006-02-07 Roman Kennke <kennke@aicas.com>
32202 * java/awt/Component.java
32203 (firePropertyChange(String,byte,byte)): Made method public.
32204 (firePropertyChange(String,char,char)): Made method public.
32205 (firePropertyChange(String,short,short)): Made method public.
32206 (firePropertyChange(String,long,long)): Made method public.
32207 (firePropertyChange(String,float,float)): Made method public.
32208 (firePropertyChange(String,double,double)): Made method public.
32210 2006-02-06 Tom Tromey <tromey@redhat.com>
32212 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32214 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32216 2006-02-06 Anthony Green <green@redhat.com>
32218 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32220 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32222 * .settings/org.eclipse.jdt.core.prefs:
32223 Force a line split on extends and implements.
32224 Force a white-space after unary operators.
32225 Don't force a new-line after @params.
32226 Add new-line at end-of-file.
32227 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32229 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32231 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32233 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32235 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32237 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32239 * gnu/java/security/provider/EncodedKeyFactory.java
32240 (ID_DSA): Redefined in terms of Registry constant.
32241 (ID_DSA): Redefined in terms of Registry constant.
32242 (ID_DH): Redefined in terms of Registry constant.
32243 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32244 (PKCS8_ENCODING): Likewise.
32245 (ASN1_ENCODING): Likewise.
32246 (RAW_ENCODING_SHORT_NAME): Likewise.
32247 (X509_ENCODING_SORT_NAME): Likewise.
32248 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32249 (ASN1_ENCODING_SHORT_NAME): Likewise.
32250 (X509_ENCODING_ID): Likewise.
32251 (PKCS8_ENCODING_ID): Likewise.
32252 (ASN1_ENCODING_ID): Likewise.
32253 (DSA_OID_STRING): Likewise.
32254 (RSA_OID_STRING): Likewise.
32255 (DH_OID_STRING): Likewise.
32257 2006-02-06 Roman Kennke <kennke@aicas.com>
32259 * javax/swing/text/GlyphView.java:
32260 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32261 Only fill background if there is a background set on the view.
32262 Call Utilities.drawTabbedText with the baseline height, rather than
32263 the upper left corner of the view rectangle.
32264 (getBackground): Return null if no background is set.
32265 * javax/swing/text/GlyphView.java:
32266 (setPropertiesFromAttributes): Use null for background when no
32267 background is set. StyleConstants.getBackground() doesn't work
32268 for this, because it returns Color.BLACK in that case.
32270 2006-02-06 Roman Kennke <kennke@aicas.com>
32272 * java/awt/Container.java
32273 (changeSupport): Removed duplicate (from Component) field.
32274 (addPropertyChangeListener): Call super.
32276 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32278 * java/util/regex/Matcher.java(matches):
32279 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32281 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32284 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32285 * gnu/regexp/CharIndexedCharArray.java
32286 (lookBehind),(length): Implemented.
32287 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32288 * gnu/regexp/CharIndexedString.java: Likewise.
32289 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32290 * gnu/regexp/REToken.java(getMaximumLength): New method.
32291 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32293 (initialize): Parse (?<=X), (?<!X), (?>X).
32294 (getMaximumLength): Implemented.
32295 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32296 * gnu/regexp/RETokenChar.java: Likewise.
32297 * gnu/regexp/RETokenEnd.java: Likewise.
32298 * gnu/regexp/RETokenEndSub.java: Likewise.
32299 * gnu/regexp/RETokenLookAhead.java: Likewise.
32300 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32301 * gnu/regexp/RETokenOneOf.java: Likewise.
32302 * gnu/regexp/RETokenPOSIX.java: Likewise.
32303 * gnu/regexp/RETokenRange.java: Likewise.
32304 * gnu/regexp/RETokenRepeated.java: Likewise.
32305 * gnu/regexp/RETokenStart.java: Likewise.
32306 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32307 * gnu/regexp/RETokenIndependent.java: New file.
32308 * gnu/regexp/RETokenLookBehind.java: New file.
32310 2006-02-06 Roman Kennke <kennke@aicas.com>
32312 * java/awt/Component.java
32313 (firePropertyChange(String,byte,byte)): New method.
32314 (firePropertyChange(String,char,char)): New method.
32315 (firePropertyChange(String,short,short)): New method.
32316 (firePropertyChange(String,long,long)): New method.
32317 (firePropertyChange(String,float,float)): New method.
32318 (firePropertyChange(String,double,double)): New method.
32320 2006-02-06 Roman Kennke <kennke@aicas.com>
32322 * javax/swing/JComponent.java
32323 (AccessibleJComponent.changeSupport): Changed to be a
32324 java.beans.PropertyChangeSupport rather than
32325 SwingPropertyChangeSupport.
32326 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32328 (changeSupport): Removed unneeded field.
32329 (removePropertyChangeListener): Removed unneeded methods.
32330 (addPropertyChangeListener): Removed unneeded methods.
32331 (getPropertyChangeListeners): Removed unneeded methods.
32332 (firePropertyChange(String,boolean,boolean)): Changed to simply
32333 call super. Added specnote.
32334 (firePropertyChange(String,char,char)): Changed to simply
32335 call super. Added specnote.
32336 (firePropertyChange(String,int,int)): Changed to simply
32337 call super. Added specnote.
32338 (firePropertyChange(String,byte,byte)): Removed.
32339 (firePropertyChange(String,Object,Object)): Removed.
32340 (firePropertyChange(String,double,double)): Removed.
32341 (firePropertyChange(String,float,float)): Removed.
32342 (firePropertyChange(String,long,long)): Removed.
32343 (firePropertyChange(String,short,short)): Removed.
32345 2006-02-06 Roman Kennke <kennke@aicas.com>
32347 * javax/swing/event/SwingPropertyChangeSupport.java
32348 (listeners): Removed field.
32349 (propertyListeners): Removed field.
32350 (source): Removed field.
32351 (SwingPropertyChangeSupport()): Removed initialization of removed
32353 (addPropertyChangeListener): Removed methods.
32354 (removePropertyChangeListener): Removed methods.
32355 (getPropertyChangeListeners): Removed methods.
32356 (firePropertyChange): Removed methods.
32357 (hasListeners): Removed methods.
32359 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32362 * java/net/InetAddress.java
32363 (readResolve): Implemented.
32365 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32368 * java/io/ObjectInputStream.java
32369 (readNextBlock()): Handle TC_RESET.
32371 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32373 * javax/print/attribute/standard/Compression.java,
32374 * javax/print/attribute/standard/Finishings.java,
32375 * javax/print/attribute/standard/JobMediaSheets.java,
32376 * javax/print/attribute/standard/JobSheets.java,
32377 * javax/print/attribute/standard/JobState.java,
32378 * javax/print/attribute/standard/JobStateReason.java,
32379 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32380 * javax/print/attribute/standard/PrintQuality.java,
32381 * javax/print/attribute/standard/Media.java,
32382 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32383 * javax/print/attribute/standard/PrinterStateReason.java,
32384 * javax/print/attribute/standard/PDLOverrideSupported.java:
32385 (getName): Make method final.
32386 (getCategory): Likewise.
32387 * javax/print/attribute/standard/MediaSize.java:
32388 (getName): Make method final.
32389 (getCategory): Likewise.
32390 (ISO): Added private default constructor.
32394 (Engineering): Likewise.
32396 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32398 * native/jni/java-net/javanet.c (_javanet_connect):
32399 Throw ConnectException instead of IOException if connection failed.
32400 * native/jni/java-net/javanet.h:
32401 Add a define for java.net.ConnectException
32403 2006-02-05 Mark Wielaard <mark@klomp.org>
32406 reported by Egon Willighagen <egon.willighagen@gmail.com>
32407 * javax/swing/DefaultListCellRenderer.java
32408 (getListCellRendererComponent): Turn null value into empty string.
32410 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32412 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32413 a Unicode block if the name starts with "In".
32414 (UnicodeBlockHandler): New inner class.
32416 2006-02-04 Roman Kennke <kennke@aicas.com>
32418 * java/awt/Container.java
32419 (getComponentZOrder): New method.
32420 (setComponentZOrder): New method.
32421 * javax/swing/JLayeredPane.java
32422 (setPosition): Reimplemented to use setComponentZOrder().
32423 (getIndexOf): Reimplemented to use getComponentZOrder().
32424 (addImpl): Pass layerContraint to super call. Important for possibly
32425 installed layout managers.
32426 (swapComponents): Remove unneeded method.
32428 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32430 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32431 DSAKeyPairGenerator.
32432 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32433 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32435 Surround call to adaptee in a try/catch.
32436 (initialize((DSAParams,SecureRandom)): New method.
32437 (initialize(int,boolean,SecureRandom)): New method.
32438 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32439 KeyPairGenerator rather than KeyPairGeneratorSpi.
32440 (KeyPairGeneratorAdapter): Call super with algorithm name.
32442 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32444 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32445 (getDefaultPRNG): New method.
32446 (parseO): Use method above.
32447 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32448 (getDefaultPRNG): New method.
32449 (createO): Use method above.
32450 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32451 (nextByte): Use above field.
32452 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32453 * gnu/java/security/sig/rsa/RSA.java: New class field.
32454 (newR): Use above field
32455 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32456 (encode): Use field.above.
32457 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32458 (getDefaultPRNG): new method.
32459 (nextRandomBytes): Use above method.
32460 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32461 * gnu/java/security/sig/BaseSignature.java: Likewise.
32462 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32463 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32464 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32465 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32466 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32467 (getDefaultPRNG): new method.
32468 (nextRandomBytes): Use above method.
32469 (STRICT_DEFAULTS): new class field.
32470 (USE_DEFAULTS): more documentation to clarify behavior.
32471 (setup): amended to handle new attribute.
32472 * gnu/java/security/util/PRNG.java: New file.
32474 2006-02-03 Lillian Angel <langel@redhat.com>
32476 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32477 chooser field should be protected, not package-private.
32479 2006-02-03 Lillian Angel <langel@redhat.com>
32481 * javax/swing/text/DefaultStyledDocument.java
32482 (changeUpdate): Cleaned up code.
32484 (insertUpdate): Set offset to be equal to pos after
32485 insertContentTag call.
32486 (insertContentTag): If paragraph has no children, should use
32487 replace instead of Edit.
32488 (insertFracture): Moved around code to prevent any exception. Also,
32489 left side of tree should not be recreated if it has already been
32490 edited. In that case, we should only be creating a new right branch
32492 (getEditForParagraphAndIndex): No need to check index. We should
32493 use the same edit for each paragraph.
32495 2006-02-03 Mark Wielaard <mark@klomp.org>
32497 * javax/swing/event/SwingPropertyChangeSupport.java
32498 (propertyListeners): Change type to HashMap.
32499 (SwingPropertyChangeSupport): Allocate HashMap.
32501 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32503 * java/security/KeyPairGenerator.java (getInstance): Test for
32504 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32506 2006-02-02 Roman Kennke <kennke@aicas.com>
32508 * javax/swing/RepaintManager.java
32509 Made fields private.
32510 (RepaintWorker.run): Enclosed work stuff in try finally block in
32511 order to clean up correctly if invalidation or painting fails,
32512 otherwise we would get no more RepaintWorkers onto the EventQueue.
32513 Also, now the RepaintWorker is marked 'dead' only after it has
32514 finished its work, avoid more than one RepaintWorker on the queue.
32515 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32516 instead of hierarchy depths.
32517 (workDirtyComponents): Removed unused field.
32518 (repaintOrder): Removed unused field.
32519 (workRepaintOrder): Removed unused field.
32520 (workInvalidComponents): Removed unused field.
32521 (RepaintManager()): Removed initialization of removed fields.
32522 (addInvalidComponent): Fine tuned synchronization.
32523 (removeInvalidComponent): Fine tune synchronization.
32524 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32525 synchronization. Don't manager repaintOrder here.
32526 (insertRepaintOrder): Removed method.
32527 (markCompletelyClean): Fine tuned synchronization.
32528 (validateInvalidComponents): Dont use a working copy of the
32529 invalidComponents list, instead fine tuned synchronization on this
32530 list. Also, don't search validateRoot, this is already done in
32531 addInvalidComponent().
32532 (paintDirtyRegions): Compute repaint order here, based on size of
32533 damaged regions. Fine tuned synchronization. Avoid use of working
32534 copies of dirtyComponent.
32536 2006-02-02 Lillian Angel <langel@redhat.com>
32538 * javax/swing/text/DefaultStyledDocument.java
32539 (insertUpdate): JoinNextDirection should push the
32540 'next' paragraph on the stack.
32542 2006-02-02 Lillian Angel <langel@redhat.com>
32544 * javax/swing/text/DefaultStyledDocument.java
32545 (insertUpdate): Rewrote code for Originate. This prevents
32546 leaves being created multiple times. If it is on the last
32547 ElementSpec, the leaves need to be created right then;
32548 otherwise, only a branch is created.
32549 (insertContentTag): Rewrote to add new leaf directly if
32550 this is a branch with no children. Otherwise, it
32551 recreates the remainder of the tree as before.
32553 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32555 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32556 for making a list of REMatch instances.
32557 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32558 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32559 (match): Rewritten using REMatchList.
32560 (matchRest): Rewritten using REMatchList.
32562 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32564 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32565 (friendsMove): Call repaint() only after endOfGame is assigned.
32567 2006-02-02 Mark Wielaard <mark@klomp.org>
32569 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32570 * java/util/AbstractCollection.java (toString): Only use Iterator,
32571 check whether collection contains itself.
32573 2006-02-01 Casey Marshall <csm@gnu.org>
32575 Partial fix for PR classpath/25143.
32576 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32577 (<init>): fill in `algName,' derive `algOid' from `algName.'
32578 (getOid): new method.
32579 (encode): embed NULL value for parameters if `params' is `null.'
32581 2006-02-01 Casey Marshall <csm@gnu.org>
32583 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32584 <monoman@gmail.com>.
32585 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32586 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32588 2006-02-01 Casey Marshall <csm@gnu.org>
32590 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32591 * gnu/java/security/der/DERValue.java
32592 (getLength, getEncoded, getEncodedLength): throw an exception,
32593 don't initialize `encoded' to a bogus value.
32594 (toString): return a more helpful string.
32596 Partial fix for PR classpath/25144.
32597 * gnu/java/security/der/DERWriter.java (write): if the value is
32598 the pseudo-value used for CONSTRUCTED, write the encoded value
32601 2006-02-01 Tom Tromey <tromey@redhat.com>
32603 * java/security/Security.java (loadProviders): Use system class
32606 2006-02-01 Mark Wielaard <mark@klomp.org>
32608 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32609 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32610 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32611 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32612 (UnicodeCategoriesHandler): New private static class.
32614 2006-02-01 Lillian Angel <langel@redhat.com>
32616 * javax/swing/text/DefaultStyledDocument.java:
32617 Removed unneeded fields.
32618 (insertUpdate): Removed field initialization.
32619 (insertContentTag): Rewrote part of function. Still
32622 2006-02-01 Lillian Angel <langel@redhat.com>
32624 * javax/swing/text/DefaultStyledDocument.java
32625 (insertParagraph): Cleaned up code.
32626 (insertFirstContentTag): Fixed call to recreateLeaves.
32627 (insertContentTag): Added check to code to determine where
32628 content should be inserted with respect to next element.
32629 (createFracture): Removed check, recreateLeaves is called in
32630 other places when needed.
32631 (recreateLeaves): Added new parameter for paragraph instead
32632 of checking the stack. Removed editing for newBranch, replaced
32633 with a replace call.
32635 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32637 * doc/unicode/Blocks-4.0.0.txt: New file.
32638 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32639 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32640 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32641 but replaced some 1.5-only features (such as enum).
32643 2006-01-31 Roman Kennke <kennke@aicas.com>
32645 * javax/swing/text/PasswordView.java
32646 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32648 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32651 2006-01-31 Roman Kennke <kennke@aicas.com>
32653 * javax/swing/JTextField.java
32654 (getPreferredSize): Also include textfield's insets in width
32657 2006-01-31 Roman Kennke <kennke@aicas.com>
32659 * javax/swing/plaf/basic/BasicTextUI.java
32660 (getPreferredSize): Include the textcomponent's insets in
32663 2006-01-31 Roman Kennke <kennke@aicas.com>
32665 * javax/swing/table/DefaultTableCellRenderer.java
32666 (getTableCellRendererComponent): Moved setting of the value into
32667 setValue(). Removed (bogus) special handling of JTextField values.
32668 (setValue): Made ?: statement more clear by rewriting it
32671 2006-01-31 Roman Kennke <kennke@aicas.com>
32673 * javax/swing/JLayeredPane.java
32674 (insertIndexForLayer): Fixed algorithm to correctly determine
32675 inser index for positions >= 0.
32676 (addImpl): Fixed API docs for the index parameter.
32678 2006-01-31 Mark Wielaard <mark@klomp.org>
32680 * java/net/URI.java (getURIGroup): Check for null to see whether
32681 group actually exists.
32683 2006-01-31 Lillian Angel <langel@redhat.com>
32685 * javax/swing/text/DefaultStyledDocument.java
32686 (changeUpdate): Fixed calls to split to incorporate
32688 (insertParagraph): Likewise. Uses 0 as editIndex
32689 because inserting into a new paragraph.
32690 (insertContentTag): Fixed check to use
32691 recreateLeaves. Added a FIXME comment.
32692 (split): Added a new parameter for edits.
32694 2006-01-31 Roman Kennke <kennke@aicas.com>
32696 * javax/swing/plaf/basic/BasicRootPaneUI.java
32697 (installDefaults): Don't install a background color here.
32699 2006-01-31 Lillian Angel <langel@redhat.com>
32701 * javax/swing/text/DefaultStyledDocument.java
32702 (insert): Removed comment.
32703 (insertUpdate): Added comment.
32704 (recreateLeaves): Removed call to push newBranch onto the
32705 stack. This does not need to be done here.
32707 2006-01-31 Chris Burdess <dog@gnu.org>
32709 * gnu/xml/stream/SAXParser.java,
32710 gnu/xml/stream/UnicodeReader.java,
32711 gnu/xml/stream/XIncludeFilter.java,
32712 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32713 only resolved the system ID not the stream. Make some utility methods
32714 public and static for use by other private XML APIs.
32715 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32716 called without throwing IllegalStateException.
32717 * java/util/logging/SimpleFormatter.java: Write thrown exception if
32720 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32723 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32724 for an invalid index and return null for a skipped group.
32726 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32729 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32730 (NamedProperty): New inner class.
32731 (getNamedProperty): New method.
32732 (getRETokenNamedProperty): New Method.
32733 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32734 * gnu/regexp/RETokenNamedProperty.java: New file.
32736 2006-01-31 Roman Kennke <kennke@aicas.com>
32738 * javax/swing/plaf/PlainView.java
32739 (paint): Call drawLine with baseline coordinates.
32740 (drawLine): Documented and indented this method.
32741 (drawUnselecetedText): Documented and indented this method.
32742 * javax/swing/plaf/text/Utilites.java
32743 (drawTabbedText): The coordinates denote the baseline of the text
32744 not the upper left corner.
32746 2006-01-31 Roman Kennke <kennke@aicas.com>
32748 * javax/swing/plaf/basic/BasicTextUI.java
32749 (createKeymap): Don't store KeyBindings[] as focusInputMap in
32750 UIManager. Added FIXME regarding the implementation of this method.
32752 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32754 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32755 (ButtonDemo): Move content initialisation to new method,
32756 (initFrameContent): New method,
32757 (main): Call initFrameContent(),
32758 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32759 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32760 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32761 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32762 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32764 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32766 * examples/gnu/classpath/examples/swing/Demo.java
32767 (Demo): Set frame size,
32768 (mkButtonBar): Removed stacked sub-panels.
32770 2006-01-30 Lillian Angel <langel@redhat.com>
32772 * javax/swing/text/DefaultStyledDocument.java:
32774 (insert): Initialized fields. Removed call to addEdit,
32775 and created ElementEdit instead.
32776 (insertUpdate): Added check for fracturing. If the
32777 fracturing was not successful, we should push the
32778 last element back on the stack.
32779 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32780 Also, changed replace calls to use Edit.
32781 (insertFirstContentTag): Removed unneeded check and fixed call
32783 (insertContent): Fixed check to use new fields. Added code in
32784 to check if leaves overlap.
32785 (createFracture): Fixed call to recreateLeaves.
32786 (recreateLeaves): Fixed code and cleaned it up a bit.
32787 (insertFracture): Set fracNotCreated field.
32788 (addEdit): Removed, this method is not needed.
32790 2006-01-30 Roman Kennke <kennke@aicas.com>
32792 * javax/swing/JRootPane.java
32793 (RootLayout.prefSize): Removed caching for preferredSize.
32794 (RootLayout.invalidateLayout): Likewise.
32795 (RootLayout.preferredLayoutSize): Likewise.
32797 2006-01-30 Roman Kennke <kennke@aicas.com>
32800 * javax/swing/JFrame.java
32801 (frameInit): Handle the defaultLookAndFeelDecorated flag.
32802 * javax/swing/plaf/metal/MetalRootPaneUI.java
32803 (MetalFrameBorder): New inner class, provides the border for
32804 top level containers with L&F decorations.
32805 (MetalTitlePane): New inner class, provides the title pane for
32806 top level containers with L&F decorations.
32807 (MetalRootLayout): New inner class. Used to layout the root pane
32808 when L&F window decorations are enabled.
32809 (installUI): New method. Handles window decorations.
32810 (uninstallUI): New method. Handles window decorations.
32811 (propertyChange): Handles window decorations.
32812 (installWindowDecorations): New method. Handles window
32814 (uninstallWindowDecorations): New method. Handles window
32816 * javax/swing/plaf/metal/MetalLookAndFeel.java
32817 (getSupportsWindowDecorations): Overridden to return true.
32819 2006-01-30 Mark Wielaard <mark@klomp.org>
32821 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32822 IllegalArgumentException when orientation is illegal.
32823 (JProgressBar(int, int, int)): Likewise and throw exception.
32824 (setOrientation): Likewise.
32826 2006-01-30 Roman Kennke <kennke@aicas.com>
32828 * javax/swing/ViewportLayout.java
32829 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32831 2006-01-30 Mark Wielaard <mark@klomp.org>
32833 * javax/swing/JProgressBar.java (orientation): Always set by
32835 (JProgressBar(int)): Document default on 'illegal' value.
32836 (JProgressBar(int, int, int)): Likewise and set orientation to
32837 HORIZONTAL when 'illegal'.
32838 (setOrientation): Likewise.
32840 2006-01-30 Roman Kennke <kennke@aicas.com>
32842 * javax/swing/plaf/basic/BasicListUI.java
32843 (ListDataHandler.contentsChanged): Update the
32844 updateLayoutStateNeeded flag.
32845 (ListDataHandler.intervalAdded): Update the
32846 updateLayoutStateNeeded flag.
32847 (ListDataHandler.intervalRemoved): Update the
32848 updateLayoutStateNeeded flag.
32849 (PropertyChangeHandler.propertyChange): Correctly update the
32850 listeners on new list model.
32851 (maybeUpdateLayoutState): Don't consider the validation state
32854 2006-01-30 Mark Wielaard <mark@klomp.org>
32856 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32859 2006-01-30 Roman Kennke <kennke@aicas.com>
32861 * javax/swing/JLayeredPane.java
32862 (insertIndexForLayer): Fixed algorithm to correctly insert
32863 components within different layers and -1 position.
32865 2006-01-30 Mark Wielaard <mark@klomp.org>
32867 * doc/api/Makefile.am (create_html): Add -validhtml.
32869 2006-01-30 Roman Kennke <kennke@aicas.com>
32871 * javax/swing/JLayeredPane.java
32872 (insertIndexForLayer): Fixed algorithm to correctly insert
32873 components within same layer and -1 position.
32875 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
32878 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32879 New execution flag.
32880 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32881 implicit RETokenEnd at the end of the regexp chain.
32882 Do not select the longest match, but select the first match.
32883 (match): Do not take care of REMatch.empty.
32884 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32885 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32886 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32887 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32888 Do not take care of REMatch.empty. Set and check REMatch.empty
32889 when trying to match the single token.
32891 2006-01-30 Mark Wielaard <mark@klomp.org>
32893 * java/awt/Cursor.java (toString): Include name and type.
32895 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
32897 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32899 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32901 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32904 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
32905 Consider the validation state of the list.
32907 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
32909 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32911 * java/beans/XMLDecoder.java:
32912 (setExceptionListener): Use shared DefaultExceptionListener
32914 * java/beans/Encoder.java:
32915 (setExceptionListener): Use shared DefaultExceptionListener
32918 2006-01-29 Roman Kennke <kennke@aicas.com>
32920 * javax/swing/ScrollPaneLayout.java
32921 (minimumLayoutSize): Rewritten to match JDKs behaviour.
32923 2006-01-29 Mark Wielaard <mark@klomp.org>
32925 * java/net/SocketPermission.java (setActions): Trim and lower case
32928 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
32930 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32931 incorrectly failing primality test for some known primes. Fixed.
32932 (passFermatLittleTheorem): Removed.
32933 (passMillerRabin): Removed.
32934 (isProbablePrime): Cache primes that pass the primality tests.
32935 Use BigInteger.isProbablePrime(int) for primality tests.
32936 (debugBI): New static debugging method.
32938 2006-01-28 Roman Kennke <kennke@aicas.com>
32940 * javax/swing/plaf/basic/BasicListUI.java
32941 (updateLayoutState): Removed unneeded special case for VERTICAL.
32943 2006-01-28 Roman Kennke <kennke@aicas.com>
32945 * javax/swing/plaf/basic/BasicListUI.java
32946 (getCellBounds): Determine correct list width when having a
32947 layoutOrientation of VERTICAL.
32948 (maybeUpdateLayoutState): Don't consider the validation state of
32951 2006-01-28 Mark Wielaard <mark@klomp.org>
32953 Reported by Dimitri Fontaine <dimitri@dalibo.com>
32954 * java/awt/print/NoPrinterJob.java: New (fake) class.
32955 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32957 2006-01-28 Mark Wielaard <mark@klomp.org>
32959 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32961 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32963 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32964 (addChildren): New method.
32966 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
32968 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32969 constructor for cloning purposes.
32970 (clone): New implementation that ensures cloning.
32971 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32972 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32975 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32977 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32978 Call updateCurrentVisiblePath.
32980 2006-01-27 Roman Kennke <kennke@aicas.com>
32982 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32984 2006-01-27 Roman Kennke <kennke@aicas.com>
32986 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32987 (createContent): Only create new content if we don't have one
32989 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32990 (createContent): Only create new content if we don't have one
32992 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32993 (createContent): Only create new content if we don't have one
32995 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32996 (createContent): Only create new content if we don't have one
32998 * examples/gnu/classpath/examples/swing/SliderDemo.java
32999 (createContent): Only create new content if we don't have one
33001 * examples/gnu/classpath/examples/swing/TableDemo.java
33002 (createContent): Only create new content if we don't have one
33004 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33005 (createContent): Only create new content if we don't have one
33008 2006-01-27 Lillian Angel <langel@redhat.com>
33010 * javax/swing/text/DefaultStyledDocument.java
33011 (insertFirstContentTag): Removed check, not needed. This
33012 still needs to be fixed for some cases. Added call to
33014 (createFracture): Added call to recreateLeaves.
33015 (recreateLeaves): New method used to recreate all the
33016 leaves after the initial insertion. This still needs
33018 (handleInsertAfterNewline): Removed else, not needed.
33020 2006-01-27 Roman Kennke <kennke@aicas.com>
33022 * javax/swing/JLayeredPane.java
33023 (inserIndexForLayer): Fixed direction of search.
33025 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33027 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
33028 node into nodeStates.
33030 2006-01-27 Roman Kennke <kennke@aicas.com>
33032 * javax/swing/JLayeredPane.java
33033 (FRAME_CONTENT_LAYER): Made field final.
33034 (componentToLayer): Made field private.
33035 (rectCache): Removed field.
33036 (layers): Removed field.
33037 (JLayeredPane()): Removed initialization of removed fields.
33038 (getLayer): Rewritten to make use of client properties in
33039 JComponents and to be more straighforward.
33040 (static getLayer): Rewritten to make use of client properties in
33042 (layerToRange): Removed method.
33043 (incrLayer): Removed method.
33044 (decrLayer): Removed method.
33045 (highestLayer): Rewritten to be more straightforward.
33046 (lowestLayer): Rewritten to be more straightforward.
33047 (getPosition): Rewritten to be more straightforward.
33048 (getComponentsInLayer): Rewritten to be more straightforward.
33049 (getComponentCountInLayer): Rewritten to be more straightforward.
33050 (getIndexOf): Rewritten to be more straightforward.
33051 (inserIndexForLayer): Rewritten to be more straightforward.
33052 (remove): Rewritten to be more straightforward.
33053 (setLayer): Rewritten to be more straightforward.
33054 (addImpl): Rewritten to be more straightforward.
33055 (putLayer): Rewritten to be more straightforward.
33057 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
33059 * java/lang/Character.java:
33060 (offsetByCodePoints(CharSequence, int, int)): New API method.
33061 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33062 (toChars): Throw the Exception that the docs say we throw.
33063 (codePointAt): Fixed an off-by-one error in the bounds of the if
33065 * java/lang/String.java:
33066 (String(int[], int, int)): New API constructor.
33068 2006-01-27 Lillian Angel <langel@redhat.com>
33070 * javax/swing/text/DefaultStyledDocument.java
33071 (insert): Moved this loop to insertUpdate.
33072 (insertUpdate): Likewise. Fixed variable
33073 names. Incremented pos if new paragraph
33075 (split): Changed edits to use replace instead. Prevents
33077 (insertFirstContentTag): Removed else.
33078 (insertContentTag): Implemented else for JoinNextDirection.
33079 (createFracture): Fixed up code, still not fully complete.
33080 (insertFracture): Fixed to use return value from
33081 recreateAfterFracture.
33082 (recreateAfterFracture): Changed to return an array of the
33083 elements to be added. This prevents an assertion error.
33084 (contains): New function checks if an element is already in
33085 the Vector. Vector's contain function was not enough to use.
33086 (addAddedElement): Changed to use new contains function.
33087 (addAddedElements): Likewise.
33088 (addRemovedElement): Likewise.
33089 (addRemovedElements): Likewise.
33091 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33094 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33095 If no user class loaders found on the stack, return the thread
33096 context class loader. (currentClassLoader): Explained.
33098 2006-01-27 Roman Kennke <kennke@aicas.com>
33100 * java/awt/Container.java
33101 (swapComponents): Removed unspecified method.
33102 * javax/swing/JLayeredPane.java
33103 (setPosition): Reimplemented correctly.
33104 (swapComponents): New helper method.
33106 2006-01-27 Mark Wielaard <mark@klomp.org>
33108 * configure.ac: Set version to 0.21-pre.
33110 2006-01-27 Roman Kennke <kennke@aicas.com>
33113 * javax/swing/JComponent.java
33114 (findOverlapFreeParent): Improved the algorithm to make better use
33115 of the optimizedDrawingEnabled flag.
33116 * javax/swing/JLayeredPane.java
33117 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33118 * javax/swing/JViewport.java
33119 (computeBlit): Fixed check to decide if blitting is possible or not,
33120 so that it doesn't blit if nothing was scrolled (in order to
33121 update the buffer when the view updates itself).
33123 2006-01-27 Roman Kennke <kennke@aicas.com>
33125 * javax/swing/plaf/metal/MetalFileChooserUI.java
33126 (createList): Don't set scrollbar policy.
33128 2006-01-27 Roman Kennke <kennke@aicas.com>
33130 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33131 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33132 Fixed to also handle non-Swing toplevel containers.
33133 (PopupMenuHandler.popupMenuWillBecomeVisible):
33134 Fixed to also handle non-Swing toplevel containers.
33135 * javax/swing/Popup.java
33136 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33139 2006-01-27 Roman Kennke <kennke@aicas.com>
33141 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33142 (InternalFramePropertyChangeListener): Don't implement
33143 VetoableChangeListener.
33144 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33145 (internalFrameVetoableChangeListener): Removed unneeded field.
33146 (installListeners): Don't install vetoableChangeListener.
33147 * javax/swing/event/DocumentEvent.java
33148 (EventType): Made class final.
33150 2006-01-27 Roman Kennke <kennke@aicas.com>
33152 * javax/swing/SwingUtilities.java
33153 (calculateInsetArea): Removed unneeded method. The method
33154 calculateInnerArea has the same purpose and is actually specified.
33155 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33156 * javax/swing/plaf/basic/BasicMenuItemUI.java
33157 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33158 of SwingUtilities.calculateInsetArea().
33160 2006-01-27 Roman Kennke <kennke@aicas.com>
33162 * javax/swing/plaf/basic/BasicTreeUI.java
33163 (installDefaults): Removed requestFocusInWindow() call.
33164 * javax/swing/JComponent.java
33165 (requestFocusInWindow(boolean)): Made method protected.
33166 (printComponent): Made method protected.
33167 (printChildren): Made method protected.
33168 (printComponent): Made method protected.
33169 (printBorder): Made method protected.
33171 2006-01-27 Roman Kennke <kennke@aicas.com>
33173 * javax/swing/AbstractButton.java
33174 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33176 * javax/swing/ImageIcon.java
33177 (component): Made field final.
33178 (tracker): Made field final.
33179 * javax/swing/JApplet.java
33180 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33181 * javax/swing/JCheckBox.java
33182 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33184 * javax/swing/JDialog.java
33185 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33186 * javax/swing/JFrame.java
33187 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33188 * javax/swing/JLayeredPane.java
33189 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33191 (DEFAULT_LAYER): Made field final.
33192 (PALETTE_LAYER): Made field final.
33193 (MODAL_LAYER): Made field final.
33194 (POPUP_LAYER): Made field final.
33195 (DRAG_LAYER): Made field final.
33196 * javax/swing/JMenu.java
33197 (ActionChangeListener): Made class private.
33198 * javax/swing/JOptionPane.java
33199 (UNITITIALIZED_VALUE): Made field final.
33200 * javax/swing/JPanel.java
33201 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33202 * javax/swing/JPopupMenu.java
33203 (ActionChangeListener): Made class private.
33204 * javax/swing/JTree.java
33205 (paramString): Made method protected.
33206 * javax/swing/JViewport.java
33207 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33208 * javax/swing/JWindow.java
33209 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33210 * javax/swing/RepaintManager.java
33211 (RepaintWorker): Made class private.
33213 2006-01-27 Roman Kennke <kennke@aicas.com>
33215 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33216 (handleEvent): Removed debug statement.
33218 2006-01-27 Roman Kennke <kennke@aicas.com>
33220 * java/awt/Component.java
33221 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33222 more than it helps.
33224 2006-01-26 Lillian Angel <langel@redhat.com>
33226 * javax/swing/text/DefaultStyledDocument.java
33227 (createFracture): Commented out a known problem,
33230 2006-01-26 Lillian Angel <langel@redhat.com>
33232 * javax/swing/text/DefaultStyledDocument.java
33233 (ElementBuffer): Added fields.
33234 (remove): Initialized pos.
33235 (change): Likewise.
33236 (insert): Likewise.
33237 (insertUpdate): Incremented pos. Fixed check, createFracture should
33238 be called on first tag if it is not ContentType.
33239 (insertFirstContentTag): Reworked to use proper offsets and
33240 set offset accordingly. This might need more work in the future.
33241 (insertContentTag): Likewise. Fixed to use pos, instead of
33243 (createFracture): Fixed to recreate other leaves. Still needs
33245 (insertFracture): Reimplemented.
33246 (recreateAfterFracture): New method.
33247 (getParagraphElement): Reimplemented, more efficent.
33249 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33251 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33252 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33253 ordering for little-endian arms without VFP.
33255 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33258 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33260 2006-01-26 Mark Wielaard <mark@klomp.org>
33262 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33263 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33264 Add trailing zeros to the fraction of the decimal with the smallest
33267 2006-01-26 Roman Kennke <kennke@aicas.com>
33269 * javax/swing/text/html/ObjectView.java: New file.
33271 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33273 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33274 Call startEditing when appropriate.
33275 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33276 (startEditing): Always edit if directly ordered from
33277 MouseHandler.mousePressed.
33278 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33279 New field. (createTreeCellEditor): Set click count to start.
33280 (getTreeCellEditorComponent): Assing realEditor directly.
33282 2006-01-25 Casey Marshall <csm@gnu.org>
33284 Merging GNU Crypto and Jessie.
33286 * NEWS: mention the merge in the 0.21 notes.
33287 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33288 (SSL_RECORD_LAYER): new constants.
33289 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33291 * resource/java/security/classpath.security: add new providers.
33292 * gnu/javax/crypto/assembly/Assembly.java,
33293 gnu/javax/crypto/assembly/Cascade.java,
33294 gnu/javax/crypto/assembly/CascadeStage.java,
33295 gnu/javax/crypto/assembly/CascadeTransformer.java,
33296 gnu/javax/crypto/assembly/DeflateTransformer.java,
33297 gnu/javax/crypto/assembly/Direction.java,
33298 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33299 gnu/javax/crypto/assembly/ModeStage.java,
33300 gnu/javax/crypto/assembly/Operation.java,
33301 gnu/javax/crypto/assembly/PaddingTransformer.java,
33302 gnu/javax/crypto/assembly/Stage.java,
33303 gnu/javax/crypto/assembly/Transformer.java,
33304 gnu/javax/crypto/assembly/TransformerException.java,
33305 gnu/javax/crypto/cipher/Anubis.java,
33306 gnu/javax/crypto/cipher/BaseCipher.java,
33307 gnu/javax/crypto/cipher/Blowfish.java,
33308 gnu/javax/crypto/cipher/Cast5.java,
33309 gnu/javax/crypto/cipher/CipherFactory.java,
33310 gnu/javax/crypto/cipher/DES.java,
33311 gnu/javax/crypto/cipher/IBlockCipher.java,
33312 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33313 gnu/javax/crypto/cipher/Khazad.java,
33314 gnu/javax/crypto/cipher/NullCipher.java,
33315 gnu/javax/crypto/cipher/Rijndael.java,
33316 gnu/javax/crypto/cipher/Serpent.java,
33317 gnu/javax/crypto/cipher/Square.java,
33318 gnu/javax/crypto/cipher/TripleDES.java,
33319 gnu/javax/crypto/cipher/Twofish.java,
33320 gnu/javax/crypto/cipher/WeakKeyException.java,
33321 gnu/javax/crypto/jce/GnuCrypto.java,
33322 gnu/javax/crypto/jce/GnuSasl.java,
33323 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33324 gnu/javax/crypto/jce/cipher/AESSpi.java,
33325 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33326 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33327 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33328 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33329 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33330 gnu/javax/crypto/jce/cipher/DESSpi.java,
33331 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33332 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33333 gnu/javax/crypto/jce/cipher/PBES2.java,
33334 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33335 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33336 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33337 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33338 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33339 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33340 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33341 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33342 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33343 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33344 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33345 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33346 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33347 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33348 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33349 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33350 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33351 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33352 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33353 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33354 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33355 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33356 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33357 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33358 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33359 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33360 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33361 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33362 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33363 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33364 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33365 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33366 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33367 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33368 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33369 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33370 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33371 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33372 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33373 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33374 gnu/javax/crypto/jce/mac/MacAdapter.java,
33375 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33376 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33377 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33378 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33379 gnu/javax/crypto/jce/mac/OMacImpl.java,
33380 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33381 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33382 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33383 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33384 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33385 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33386 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33387 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33388 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33389 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33390 gnu/javax/crypto/jce/params/DEREncodingException.java,
33391 gnu/javax/crypto/jce/params/DERReader.java,
33392 gnu/javax/crypto/jce/params/DERWriter.java,
33393 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33394 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33395 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33396 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33397 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33398 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33399 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33400 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33401 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33402 gnu/javax/crypto/key/GnuSecretKey.java,
33403 gnu/javax/crypto/key/IKeyAgreementParty.java,
33404 gnu/javax/crypto/key/IncomingMessage.java,
33405 gnu/javax/crypto/key/KeyAgreementException.java,
33406 gnu/javax/crypto/key/KeyAgreementFactory.java,
33407 gnu/javax/crypto/key/OutgoingMessage.java,
33408 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33409 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33410 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33411 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33412 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33413 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33414 gnu/javax/crypto/key/dh/ElGamalSender.java,
33415 gnu/javax/crypto/key/dh/GnuDHKey.java,
33416 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33417 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33418 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33419 gnu/javax/crypto/key/dh/RFC2631.java,
33420 gnu/javax/crypto/key/srp6/SRP6Host.java,
33421 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33422 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33423 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33424 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33425 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33426 gnu/javax/crypto/key/srp6/SRP6User.java,
33427 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33428 gnu/javax/crypto/key/srp6/SRPKey.java,
33429 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33430 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33431 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33432 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33433 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33434 gnu/javax/crypto/keyring/BaseKeyring.java,
33435 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33436 gnu/javax/crypto/keyring/CertPathEntry.java,
33437 gnu/javax/crypto/keyring/CertificateEntry.java,
33438 gnu/javax/crypto/keyring/CompressedEntry.java,
33439 gnu/javax/crypto/keyring/EncryptedEntry.java,
33440 gnu/javax/crypto/keyring/Entry.java,
33441 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33442 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33443 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33444 gnu/javax/crypto/keyring/IKeyring.java,
33445 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33446 gnu/javax/crypto/keyring/IPublicKeyring.java,
33447 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33448 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33449 gnu/javax/crypto/keyring/MeteredInputStream.java,
33450 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33451 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33452 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33453 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33454 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33455 gnu/javax/crypto/keyring/Properties.java,
33456 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33457 gnu/javax/crypto/mac/BaseMac.java,
33458 gnu/javax/crypto/mac/HMac.java,
33459 gnu/javax/crypto/mac/HMacFactory.java,
33460 gnu/javax/crypto/mac/IMac.java,
33461 gnu/javax/crypto/mac/MacFactory.java,
33462 gnu/javax/crypto/mac/MacInputStream.java,
33463 gnu/javax/crypto/mac/MacOutputStream.java,
33464 gnu/javax/crypto/mac/OMAC.java,
33465 gnu/javax/crypto/mac/TMMH16.java,
33466 gnu/javax/crypto/mac/UHash32.java,
33467 gnu/javax/crypto/mac/UMac32.java,
33468 gnu/javax/crypto/mode/BaseMode.java,
33469 gnu/javax/crypto/mode/CBC.java,
33470 gnu/javax/crypto/mode/CFB.java,
33471 gnu/javax/crypto/mode/CTR.java,
33472 gnu/javax/crypto/mode/EAX.java,
33473 gnu/javax/crypto/mode/ECB.java,
33474 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33475 gnu/javax/crypto/mode/ICM.java,
33476 gnu/javax/crypto/mode/IMode.java,
33477 gnu/javax/crypto/mode/ModeFactory.java,
33478 gnu/javax/crypto/mode/OFB.java,
33479 gnu/javax/crypto/pad/BasePad.java,
33480 gnu/javax/crypto/pad/IPad.java,
33481 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33482 gnu/javax/crypto/pad/PKCS7.java,
33483 gnu/javax/crypto/pad/PadFactory.java,
33484 gnu/javax/crypto/pad/SSL3.java,
33485 gnu/javax/crypto/pad/TBC.java,
33486 gnu/javax/crypto/pad/TLS1.java,
33487 gnu/javax/crypto/pad/WrongPaddingException.java,
33488 gnu/javax/crypto/prng/ARCFour.java,
33489 gnu/javax/crypto/prng/CSPRNG.java,
33490 gnu/javax/crypto/prng/Fortuna.java,
33491 gnu/javax/crypto/prng/ICMGenerator.java,
33492 gnu/javax/crypto/prng/IPBE.java,
33493 gnu/javax/crypto/prng/PBKDF2.java,
33494 gnu/javax/crypto/prng/PRNGFactory.java,
33495 gnu/javax/crypto/prng/UMacGenerator.java,
33496 gnu/javax/crypto/sasl/AuthInfo.java,
33497 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33498 gnu/javax/crypto/sasl/ClientFactory.java,
33499 gnu/javax/crypto/sasl/ClientMechanism.java,
33500 gnu/javax/crypto/sasl/ConfidentialityException.java,
33501 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33502 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33503 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33504 gnu/javax/crypto/sasl/InputBuffer.java,
33505 gnu/javax/crypto/sasl/IntegrityException.java,
33506 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33507 gnu/javax/crypto/sasl/NoSuchUserException.java,
33508 gnu/javax/crypto/sasl/OutputBuffer.java,
33509 gnu/javax/crypto/sasl/SaslEncodingException.java,
33510 gnu/javax/crypto/sasl/SaslInputStream.java,
33511 gnu/javax/crypto/sasl/SaslOutputStream.java,
33512 gnu/javax/crypto/sasl/SaslUtil.java,
33513 gnu/javax/crypto/sasl/ServerFactory.java,
33514 gnu/javax/crypto/sasl/ServerMechanism.java,
33515 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33516 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33517 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33518 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33519 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33520 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33521 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33522 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33523 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33524 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33525 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33526 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33527 gnu/javax/crypto/sasl/plain/PlainClient.java,
33528 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33529 gnu/javax/crypto/sasl/plain/PlainServer.java,
33530 gnu/javax/crypto/sasl/srp/CALG.java,
33531 gnu/javax/crypto/sasl/srp/ClientStore.java,
33532 gnu/javax/crypto/sasl/srp/IALG.java,
33533 gnu/javax/crypto/sasl/srp/KDF.java,
33534 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33535 gnu/javax/crypto/sasl/srp/SRP.java,
33536 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33537 gnu/javax/crypto/sasl/srp/SRPClient.java,
33538 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33539 gnu/javax/crypto/sasl/srp/SRPServer.java,
33540 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33541 gnu/javax/crypto/sasl/srp/ServerStore.java,
33542 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33543 gnu/javax/net/ssl/Base64.java,
33544 gnu/javax/net/ssl/EntropySource.java,
33545 gnu/javax/net/ssl/NullManagerParameters.java,
33546 gnu/javax/net/ssl/PrivateCredentials.java,
33547 gnu/javax/net/ssl/SRPManagerParameters.java,
33548 gnu/javax/net/ssl/SRPTrustManager.java,
33549 gnu/javax/net/ssl/StaticTrustAnchors.java,
33550 gnu/javax/net/ssl/provider/Alert.java,
33551 gnu/javax/net/ssl/provider/AlertException.java,
33552 gnu/javax/net/ssl/provider/Certificate.java,
33553 gnu/javax/net/ssl/provider/CertificateRequest.java,
33554 gnu/javax/net/ssl/provider/CertificateType.java,
33555 gnu/javax/net/ssl/provider/CertificateVerify.java,
33556 gnu/javax/net/ssl/provider/CipherSuite.java,
33557 gnu/javax/net/ssl/provider/ClientHello.java,
33558 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33559 gnu/javax/net/ssl/provider/CompressionMethod.java,
33560 gnu/javax/net/ssl/provider/Constructed.java,
33561 gnu/javax/net/ssl/provider/ContentType.java,
33562 gnu/javax/net/ssl/provider/Context.java,
33563 gnu/javax/net/ssl/provider/DiffieHellman.java,
33564 gnu/javax/net/ssl/provider/DigestInputStream.java,
33565 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33566 gnu/javax/net/ssl/provider/Enumerated.java,
33567 gnu/javax/net/ssl/provider/Extension.java,
33568 gnu/javax/net/ssl/provider/Extensions.java,
33569 gnu/javax/net/ssl/provider/Finished.java,
33570 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33571 gnu/javax/net/ssl/provider/Handshake.java,
33572 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33573 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33574 gnu/javax/net/ssl/provider/Jessie.java,
33575 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33576 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33577 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33578 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33579 gnu/javax/net/ssl/provider/KeyPool.java,
33580 gnu/javax/net/ssl/provider/MacException.java,
33581 gnu/javax/net/ssl/provider/OverflowException.java,
33582 gnu/javax/net/ssl/provider/PRNG.java,
33583 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33584 gnu/javax/net/ssl/provider/Random.java,
33585 gnu/javax/net/ssl/provider/RecordInput.java,
33586 gnu/javax/net/ssl/provider/RecordInputStream.java,
33587 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33588 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33589 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33590 gnu/javax/net/ssl/provider/SSLHMac.java,
33591 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33592 gnu/javax/net/ssl/provider/SSLRandom.java,
33593 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33594 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33595 gnu/javax/net/ssl/provider/SSLSocket.java,
33596 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33597 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33598 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33599 gnu/javax/net/ssl/provider/SecurityParameters.java,
33600 gnu/javax/net/ssl/provider/ServerHello.java,
33601 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33602 gnu/javax/net/ssl/provider/Session.java,
33603 gnu/javax/net/ssl/provider/SessionContext.java,
33604 gnu/javax/net/ssl/provider/Signature.java,
33605 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33606 gnu/javax/net/ssl/provider/TLSHMac.java,
33607 gnu/javax/net/ssl/provider/TLSRandom.java,
33608 gnu/javax/net/ssl/provider/Util.java,
33609 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33610 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33611 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33612 gnu/javax/security/auth/Password.java,
33613 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33614 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33615 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33616 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33617 gnu/javax/security/auth/callback/GnuCallbacks.java,
33618 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33619 gnu/java/security/Registry.java,
33620 gnu/java/security/Properties.java,
33621 gnu/java/security/hash/BaseHash.java,
33622 gnu/java/security/hash/HashFactory.java,
33623 gnu/java/security/hash/Haval.java,
33624 gnu/java/security/hash/IMessageDigest.java,
33625 gnu/java/security/hash/MD2.java,
33626 gnu/java/security/hash/MD4.java,
33627 gnu/java/security/hash/MD5.java,
33628 gnu/java/security/hash/RipeMD128.java,
33629 gnu/java/security/hash/RipeMD160.java,
33630 gnu/java/security/hash/Sha160.java,
33631 gnu/java/security/hash/Sha256.java,
33632 gnu/java/security/hash/Sha384.java,
33633 gnu/java/security/hash/Sha512.java,
33634 gnu/java/security/hash/Tiger.java,
33635 gnu/java/security/hash/Whirlpool.java,
33636 gnu/java/security/jce/hash/HavalSpi.java,
33637 gnu/java/security/jce/hash/MD2Spi.java,
33638 gnu/java/security/jce/hash/MD4Spi.java,
33639 gnu/java/security/jce/hash/MD5Spi.java,
33640 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33641 gnu/java/security/jce/hash/RipeMD128Spi.java,
33642 gnu/java/security/jce/hash/RipeMD160Spi.java,
33643 gnu/java/security/jce/hash/Sha160Spi.java,
33644 gnu/java/security/jce/hash/Sha256Spi.java,
33645 gnu/java/security/jce/hash/Sha384Spi.java,
33646 gnu/java/security/jce/hash/Sha512Spi.java,
33647 gnu/java/security/jce/hash/TigerSpi.java,
33648 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33649 gnu/java/security/jce/prng/HavalRandomSpi.java,
33650 gnu/java/security/jce/prng/MD2RandomSpi.java,
33651 gnu/java/security/jce/prng/MD4RandomSpi.java,
33652 gnu/java/security/jce/prng/MD5RandomSpi.java,
33653 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33654 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33655 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33656 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33657 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33658 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33659 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33660 gnu/java/security/jce/prng/TigerRandomSpi.java,
33661 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33662 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33663 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33664 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33665 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33666 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33667 gnu/java/security/jce/sig/SignatureAdapter.java,
33668 gnu/java/security/key/IKeyPairCodec.java,
33669 gnu/java/security/key/IKeyPairGenerator.java,
33670 gnu/java/security/key/KeyPairCodecFactory.java,
33671 gnu/java/security/key/KeyPairGeneratorFactory.java,
33672 gnu/java/security/key/dss/DSSKey.java,
33673 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33674 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33675 gnu/java/security/key/dss/DSSPrivateKey.java,
33676 gnu/java/security/key/dss/DSSPublicKey.java,
33677 gnu/java/security/key/dss/FIPS186.java,
33678 gnu/java/security/key/rsa/GnuRSAKey.java,
33679 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33680 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33681 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33682 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33683 gnu/java/security/prng/BasePRNG.java,
33684 gnu/java/security/prng/EntropySource.java,
33685 gnu/java/security/prng/IRandom.java,
33686 gnu/java/security/prng/LimitReachedException.java,
33687 gnu/java/security/prng/MDGenerator.java,
33688 gnu/java/security/prng/PRNGFactory.java,
33689 gnu/java/security/prng/RandomEvent.java,
33690 gnu/java/security/prng/RandomEventListener.java,
33691 gnu/java/security/sig/BaseSignature.java,
33692 gnu/java/security/sig/ISignature.java,
33693 gnu/java/security/sig/ISignatureCodec.java,
33694 gnu/java/security/sig/SignatureFactory.java,
33695 gnu/java/security/sig/dss/DSSSignature.java,
33696 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33697 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33698 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33699 gnu/java/security/sig/rsa/EMSA_PSS.java,
33700 gnu/java/security/sig/rsa/RSA.java,
33701 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33702 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33703 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33704 gnu/java/security/util/Base64.java,
33705 gnu/java/security/util/ExpirableObject.java,
33706 gnu/java/security/util/Prime2.java,
33707 gnu/java/security/util/Sequence.java,
33708 gnu/java/security/util/SimpleList.java,
33709 gnu/java/security/util/Util.java,
33710 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33711 new files imported from GNU Crypto and Jessie.
33713 2006-01-25 Tom Tromey <tromey@redhat.com>
33715 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33716 Fixed calculation of number of bytes to read.
33717 (size, count, meta, eof): Document.
33719 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
33721 * java/lang/Character.java:
33722 (codePointCount(char[], int, int)): New API method.
33723 (codePointCount(CharSequence, int, int)): Likewise.
33725 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33728 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
33730 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
33731 action if not editing.
33732 * javax/swing/plaf/basic/BasicTreeUI.java
33733 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33734 (CellEditorHandler.editingStopped): Delegate to stopEditing.
33735 (EditorUpdateTimer): Removed.
33736 (TreeAction.actionPerformed): Stop and not cancel the current editing
33737 when starting editing another node.
33738 (editorTimer, newVal): Removed.
33739 (cancelEditing): Do not send the cancel message.
33740 (completeEditing): Obtain the edited value from the editor.
33741 (finish): New method.
33742 (paintRow): Do not paint the editing component here.
33743 (startEditing, stopEditing): Rewritten.
33744 * javax/swing/tree/DefaultTreeCellEditor.java
33745 (DefaultTextField): Added SVUID.
33746 (EditorContainer): Rewritten.
33747 (RealEditorListener): New inner class.
33748 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33749 (constructor): Add cell editor listener. Do not instantiate timer.
33750 (actionPerformed): Return without action.
33751 (cancelCellEditing): Rewritten.
33752 (createTreeCellEditor): Add cell editor listener to the editor.
33753 (getCellEditorValue): Request the value from the realEditor.
33754 (isCellEditable): Removed timer management.
33755 (prepareForEditing): Remove all components befor adding the
33757 (startEditingTimer): Start only if it is not null.
33758 (stopCellEditing): Rewritten.
33759 (stopEditingTimer): New method.
33760 (valueChanged): Do not configure editing component here.
33762 2006-01-25 Roman Kennke <kennke@aicas.com>
33764 * javax/swing/text/html/FormView.java: New file.
33766 2006-01-25 Roman Kennke <kennke@aicas.com>
33768 * javax/swing/JSplitPane.java
33769 (addImpl): Call resetToPreferredSizes() when no dividerLocation
33770 has been set in order to set an initial layout.
33771 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33772 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33773 layout of the right component.
33774 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33775 dividerLocation to the size of the left component.
33776 (createDefaultNonContinuousLayoutDivider): Fetch the color from
33778 (setDividerLocation): Don't validate the location here. Sometimes
33779 the divider needs to be set to an invalid location.
33780 (startDragging): Don't revalidate and repaint here.
33781 (finishDraggingTo): Don't repaint here. Also, don't call
33782 dragDividerTo() here.
33783 * javax/swing/plaf/basic/BasicLookAndFeel.java
33784 (initComponentDefaults): Added SplitPaneDivider.draggingColor
33787 2006-01-25 Roman Kennke <kennke@aicas.com>
33789 * javax/swing/JSplitPane.java
33790 (addImpl): Removed invalidate() and layout() call.
33791 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33792 (PropertyHandler.propertyChange): Remove layoutContainer() and
33795 2006-01-25 Roman Kennke <kennke@aicas.com>
33798 * native/Makefile.am
33799 * native/jni/classpath/Makefile.am
33800 * native/jni/classpath/jcl.c
33801 * native/jni/classpath/jcl.h
33802 * native/jni/classpath/native_state.c
33803 * native/jni/gtk-peer/Makefile.am
33804 * native/jni/java-io/Makefile.am
33805 * native/jni/java-io/java_io_VMFile.c
33806 * native/jni/java-io/java_io_VMObjectStreamClass.c
33807 * native/jni/java-lang/Makefile.am
33808 * native/jni/java-net/Makefile.am
33809 * native/jni/java-net/java_net_VMInetAddress.c
33810 * native/jni/java-net/javanet.c
33811 * native/jni/java-net/javanet.h
33812 * native/jni/java-nio/Makefile.am
33813 * native/jni/java-nio/gnu_java_nio_VMPipe.c
33814 * native/jni/java-nio/gnu_java_nio_VMSelector.c
33815 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33816 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33817 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33818 * native/jni/java-util/Makefile.am
33819 * native/jni/java-util/java_util_VMTimeZone.c
33820 * native/jni/midi-dssi/Makefile.am
33821 * native/jni/xmlj/Makefile.am
33822 * native/target/Makefile.am
33823 * native/target/Linux/target_native_math.h
33824 * native/target/Linux/target_native_memory.h
33825 * native/target/Linux/Makefile.am
33826 * native/target/Linux/target_native_io.h
33827 * native/target/Linux/target_native_math_float.h
33828 * native/target/Linux/target_native_math_int.h
33829 * native/target/generic/target_generic.c
33830 * native/target/generic/target_generic_io.c
33831 * native/target/generic/target_generic_math.h
33832 * native/target/generic/target_generic_memory.h
33833 * native/target/generic/target_generic_misc.c
33834 * native/target/generic/target_generic_network.c
33835 * native/target/generic/Makefile.am
33836 * native/target/generic/target_generic.h
33837 * native/target/generic/target_generic_file.h
33838 * native/target/generic/target_generic_io.h
33839 * native/target/generic/target_generic_math_float.h
33840 * native/target/generic/target_generic_math_int.h
33841 * native/target/generic/target_generic_misc.h
33842 * native/target/generic/target_generic_network.h:
33843 Reverted target native related changes back to the state of the
33845 * native/target/MinGW/.cvsignore
33846 * native/target/MinGW/Makefile.am
33847 * native/target/MinGW/target_native.h
33848 * native/target/MinGW/target_native_file.h
33849 * native/target/MinGW/target_native_io.h
33850 * native/target/MinGW/target_native_math.h
33851 * native/target/MinGW/target_native_memory.h
33852 * native/target/MinGW/target_native_misc.h
33853 * native/target/MinGW/target_native_network.h
33854 * native/target/RTEMS/.cvsignore
33855 * native/target/RTEMS/Makefile.am
33856 * native/target/RTEMS/target_native.h
33857 * native/target/RTEMS/target_native_file.h
33858 * native/target/RTEMS/target_native_io.h
33859 * native/target/RTEMS/target_native_math.h
33860 * native/target/RTEMS/target_native_memory.h
33861 * native/target/RTEMS/target_native_misc.h
33862 * native/target/RTEMS/target_native_network.h
33863 * native/target/SunOS/.cvsignore
33864 * native/target/SunOS/Makefile.am
33865 * native/target/SunOS/target_native.h
33866 * native/target/SunOS/target_native_file.h
33867 * native/target/SunOS/target_native_io.h
33868 * native/target/SunOS/target_native_math.h
33869 * native/target/SunOS/target_native_memory.h
33870 * native/target/SunOS/target_native_misc.h
33871 * native/target/SunOS/target_native_network.h
33872 * native/target/embOS/.cvsignore
33873 * native/target/embOS/Makefile.am
33874 * native/target/embOS/target_native.h
33875 * native/target/embOS/target_native_file.h
33876 * native/target/embOS/target_native_io.c
33877 * native/target/embOS/target_native_io.h
33878 * native/target/embOS/target_native_math.h
33879 * native/target/embOS/target_native_memory.h
33880 * native/target/embOS/target_native_misc.h
33881 * native/target/embOS/target_native_network.h
33882 * native/target/posix/.cvsignore
33883 * native/target/posix/Makefile.am
33884 * native/target/posix/target_posix.c
33885 * native/target/posix/target_posix.h
33886 * native/target/posix/target_posix_file.c
33887 * native/target/posix/target_posix_file.h
33888 * native/target/posix/target_posix_io.c
33889 * native/target/posix/target_posix_io.h
33890 * native/target/posix/target_posix_math.c
33891 * native/target/posix/target_posix_math.h
33892 * native/target/posix/target_posix_memory.c
33893 * native/target/posix/target_posix_memory.h
33894 * native/target/posix/target_posix_misc.c
33895 * native/target/posix/target_posix_misc.h
33896 * native/target/posix/target_posix_network.c
33897 * native/target/posix/target_posix_network.h:
33900 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33902 * javax/print/PrintService.java,
33903 * javax/print/DocPrintJob.java,
33904 * javax/print/CancelablePrintJob.java:
33905 Added and enhanced api documentation for class and methods.
33907 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33909 * javax/print/SimpleDoc.java: Make class final.
33910 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33911 * javax/print/attribute/DateTimeSyntax.java:
33912 (toString): New overridden method.
33913 * javax/print/attribute/standard/JobStateReasons.java:
33914 (add): Use the super.add method to avoid recursion.
33915 * javax/print/attribute/standard/PrinterStateReasons.java:
33916 (put): Use the super.put method to avoid recursion.
33918 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
33920 * java/beans/XMLEncoder.java:
33921 (writeExpression): Added early return (fixes PR #25941).
33922 (setExceptionListener, anonymous Class): Removed printStackTrace
33924 * java/beans/Encoder: Removed unused imports.
33925 (setupDefaultPersistenceDelegates): Removed unneccessary
33926 PersistenceDelegates for subclasses.
33927 * java/beans/PersistenceDelegate:
33928 (initialize): Use local variable as first argument as it was
33930 * java/beans/DefaultPersistenceDelegate:
33931 (initialize): Added call to superclass' implementation, added
33934 2006-01-24 Tom Tromey <tromey@redhat.com>
33936 * java/util/regex/PatternSyntaxException.java: Added @since.
33937 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33938 * java/util/regex/MatchResult.java: New file.
33940 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33942 * javax/swing/text/StringContent.java: Added API docs all over, plus
33943 minor reformatting.
33945 2006-01-24 Gary Benson <gbenson@redhat.com>
33947 * java/net/SocketPermission.java: Implemented serialization.
33949 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33951 * javax/swing/text/StringContent.java
33952 (remove): Modified argument check to prevent removal of last character,
33953 (getChars): Removed null argument check to allow NullPointerException,
33955 (checkLocation): Added API docs and white space.
33957 2006-01-23 Lillian Angel <langel@redhat.com>
33959 * javax/swing/text/DefaultStyledDocument.java
33960 (insertUpdate): Should only call createFracture with
33961 StartTagType. Added check.
33962 (insertContentTag): Should use the tags length for splitting.
33963 Also, added a check to determine if current's start and end offset are
33964 equal to the offset and endOffset. If so, only one leaf element
33966 (createFracture): Removed FIXME. This function is complete.
33967 (split): Added calls to replace. Changed so the child is
33968 added immediately to the paragraph. Prevents NPEs.
33970 2006-01-23 Mark Wielaard <mark@klomp.org>
33972 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33974 2006-01-23 Tom Tromey <tromey@redhat.com>
33976 * gnu/java/security/x509/X509Certificate.java (parse):
33977 Unconditionally read value; for version==1 case when reading
33980 2006-01-23 Roman Kennke <kennke@aicas.com>
33982 * javax/swing/plaf/synth/ColorType.java,
33983 * javax/swing/plaf/synth/Region.java,
33984 * javax/swing/plaf/synth/SynthConstants.java,
33985 * javax/swing/plaf/synth/SynthContext.java
33986 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33987 * javax/swing/plaf/synth/SynthLookAndFeel.java,
33988 * javax/swing/plaf/synth/SynthPainter.java,
33989 * javax/swing/plaf/synth/SynthStyle.java,
33990 * javax/swing/plaf/synth/SynthStyleFactory.java,
33991 * javax/swing/plaf/synth/package.html:
33992 New files. Added the public API and framework classes for the
33993 Synth look and feel.
33995 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
33997 * javax/swing/text/Segment.java: API docs all over.
33999 2006-01-23 Lillian Angel <langel@redhat.com>
34001 * javax/swing/text/DefaultStyledDocument.java
34002 (split): Should not use createLeafElement and createBranchElement here.
34003 We should just instaniate the LeafElements and BranchElements instead
34004 to avoid the case where create*Element is overridden.
34006 2006-01-23 Lillian Angel <langel@redhat.com>
34008 * javax/swing/text/DefaultStyledDocument.java
34009 (insertFirstContentTag): Moved check outside of if-statement.
34010 This should be checked before creating the new leaf element.
34011 (insertFracture): Fixed check to prevent an NPE. The previous
34012 leaf should only be recreated if it has been created by
34013 insertFirstContentTag. Also, fixed up code: if the endOffset is
34014 greater than the offset, then we need to create a temp leaf
34015 as a place holder. Otherwise, the leaf elements should be
34018 2006-01-23 Gary Benson <gbenson@redhat.com>
34020 * java/net/SocketPermission.java: Almost completely rewritten.
34022 2006-01-23 Lillian Angel <langel@redhat.com>
34024 * javax/swing/text/DefaultStyledDocument.java
34025 (insertFracture): Set temp leaf's attributes to prevent an NPE.
34027 2006-01-23 Lillian Angel <langel@redhat.com>
34029 * javax/swing/text/DefaultStyledDocument.java:
34030 Formatted ElementBuffer and added new fields.
34031 (remove): Added check to determine if length is 0.
34032 (insertFirstContentTag): Initialized firstCreated to the element that is created
34033 by the first tag encountered. Removed check in JoinPreviousDirection case, no
34034 longer needed. In OriginateDirection case, added a loop to remove all old leafs
34035 that have been recreated.
34036 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34037 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34038 FIXME tags to the lines that need to be rewritten.
34040 2006-01-23 Mark Wielaard <mark@klomp.org>
34042 * examples/Makefile.am: Add support for fastjar.
34044 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
34046 * gnu/regexp/REToken.java(empty): Made Cloneable.
34047 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34048 Use separate methods matchN and matchP depending on the
34050 (matchN): New method used when negative. Done as before.
34051 (matchP): New method used when not negative. Each token is
34052 tried not by itself but by a clone of it.
34054 2006-01-23 Chris Burdess <dog@gnu.org>
34057 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34058 class to avoid getLength method contention.
34059 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34061 2006-01-23 Chris Burdess <dog@gnu.org>
34063 * native/jni/java-util/Makefile.am: Include library required
34064 explicitly by BSD systems.
34065 * native/target/generic/target_generic_misc.h: Remove old commented
34067 * native/target/generic/target_generic_network.h: Fallbacks (to
34068 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34070 2006-01-22 Tom Tromey <tromey@redhat.com>
34072 * native/target/posix/.cvsignore: Added .deps.
34074 2006-01-22 Mark Wielaard <mark@klomp.org>
34077 reported by James Damour <James.Damour@corp.request.com>
34078 * java/awt/Container.java (addImpl): Use empty string as name when
34079 null constraints for LayoutManager.addLayoutComponent().
34081 2006-01-22 Chris Burdess <dog@gnu.org>
34084 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34085 representing current directory as base for relative URLs.
34087 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34090 * gnu/regexp/REMatch.java(empty): New boolean indicating
34091 an empty string matched.
34092 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34094 (initialize): Support back reference \10, \11, and so on.
34095 (parseInt): renamed from getEscapedChar and returns int.
34096 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34097 when an empty string matched. Fixed a bug of the case where
34098 an empty string matched. Added special handling of {0}.
34099 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34100 when an empty string matched. Fixed the case insensitive matching.
34102 2006-01-21 Roman Kennke <kennke@aicas.com>
34104 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34105 (paint): Added painting of border if one is installed.
34107 2006-01-21 Roman Kennke <kennke@aicas.com>
34109 PR classpath/25843:
34110 * javax/swing/plaf/basic/BasicBorders.java
34111 (getSplitPaneDividerBorder): Use new border constructor
34113 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34114 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34115 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34116 colors are fetched dynamically in the paintBorder method.
34117 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34119 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34121 * javax/swing/plaf/basic/BasicLookAndFeel.java
34122 (initComponentDefaults): Added default for SplitPaneDivider.border.
34123 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34124 (tmpBorder): Removed unneeded inner class.
34125 (BasicSplitPaneDivider): Removed setting of border.
34126 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34128 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34129 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34130 to get behaviour right.
34131 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34132 implementation. This must be rewritten since the layout now works
34133 slightly different (basically, it shouldn't modify the sizes[]
34134 here but instead the dividerLocation.
34135 (dividerLocation): New field.
34136 (installDefaults): Initialize border on divider.
34137 (uninstallDefaults): Only remove background color and border from
34138 splitPane if they are instances of UIDefaults (== not set by
34140 (setDividerLocation): Set the dividerLocation field instead of
34141 doing stunt acts here.
34142 (getDividerLocation): Return dividerLocation field.
34143 (getMinimumDividerLocation): Fixed calculation of minimum location.
34145 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34148 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34150 * lib/Makefile.am: Likewise.
34152 2006-01-21 Roman Kennke <kennke@aicas.com>
34154 * javax/swing/PopupFactory.java
34155 (getPopup): If there is no Swing root found in any way, use a
34156 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34157 for the Swing AWT peers.
34159 2006-01-20 Tom Tromey <tromey@redhat.com>
34161 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34162 Read response body for redirect.
34164 2006-01-20 Chris Burdess <dog@gnu.org>
34166 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34169 2006-01-20 Lillian Angel <langel@redhat.com>
34171 * javax/swing/text/DefaultStyledDocument.java
34172 (pad): Removed, not needed.
34173 (printElements): Likewise.
34174 (printEdit): Likewise.
34176 2006-01-20 Roman Kennke <kennke@aicas.com>
34178 * javax/swing/text/DefaultFormatter.java
34179 (DefaultFormatter): Don't set a value class.
34181 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34183 * javax/swing/DefaultCellEditor.java: Commented.
34185 2006-01-19 Roman Kennke <kennke@aicas.com>
34187 * javax/swing/JOptionPane.java
34188 Added cast to Frame for JDialog constructor.
34190 2006-01-19 Roman Kennke <kennke@aicas.com>
34192 * javax/swing/JWindow.java
34193 (JWindow(Window)): Fixed to accept null owner argument.
34194 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34196 * javax/swing/SwingUtilities.java
34197 (getOwnerFrame): Owner parameter and return value are fixed to
34198 be of type Window for compatibity with the above JWindow
34200 * javax/swing/JDialog.java
34201 (JDialog): Added cast to Frame to make sure the correct constructor
34203 * javax/swing/JFileChooser.java
34204 (createDialog): Added cast to Frame for JDialog constructor.
34206 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34208 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34210 2006-01-19 Roman Kennke <kennke@aicas.com>
34212 * javax/swing/JWindow.java: Added API docs to the constructors.
34214 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34216 * javax/swing/JTable.java: Commenting method headers.
34217 (EditorUpdateTimer): Removed.
34219 2006-01-19 Roman Kennke <kennke@aicas.com>
34221 * javax/swing/JDialog.java
34222 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34223 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34224 SwingUtilities.getOwnerFrame() with the owner argument.
34225 * javax/swing/JFileChooser.java
34226 (showOpenDialog(Component)): Call pack() on the dialog instead of
34227 setting a fixed height.
34228 (showSaveDialog()): Likewise.
34229 (showDialog()): Likewise.
34230 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34231 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34233 * javax/swing/JWindow.java
34234 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34235 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34237 * javax/swing/SwingUtilities.java
34238 (getOwnerFrame): Changed to take a owner parameter that is returned
34239 as owner frame when not null.
34241 2006-01-19 Roman Kennke <kennke@aicas.com>
34243 * gnu/java/awt/peer/swing/SwingFramePeer.java
34244 (handleMouseEvent): Fixed handling of mouse events.
34245 (handleMouseMotionEvent): Fixed handling of mouse events.
34247 2006-01-19 Roman Kennke <kennke@aicas.com>
34249 * native/target/generic/target_generic_misc.c:
34250 (targetGenericMisc_formatString): Added missing method.
34252 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34254 * m4/acinclude.m4: Test also for ecj found before exiting configure
34255 with no javac found error message.
34257 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34260 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34261 \0123, \x1B, \u1234.
34262 (getEscapedChar): New method.
34263 (CharExpression): New inner class.
34264 (getCharExpression): New Method.
34265 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34266 RE_UNICODE_CHAR): New syntax bits.
34268 2006-01-19 Roman Kennke <kennke@aicas.com>
34270 * native/target/Makefile.am: Fixed so that posix stuff is really
34271 only built when requested.
34273 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34275 * javax/swing/JTable.java (editingStopped, editingCancelled):
34276 Repaint the edited cell.
34277 (setValueAt): Do not add the value object to this container.
34278 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34279 (editingStopped): Use editingRow, editingColumn and not
34280 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34281 (doLayout): Move the editor component, if present, into the new
34282 location and call repaint(). (moveToCellBeingEdited): new method.
34283 (TableTextField): new inner class.
34284 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34285 (setValueAt): Repaint the changed segment.
34286 (createDefaultEditors): Implemented.
34287 (BooleanCellRenderer): Center the checkbox and use the default foreground
34288 and background colors.
34289 * javax/swing/plaf/basic/BasicTableUI.java
34290 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34291 (paint): No need to allocate rectangle for each cell.
34292 * javax/swing/DefaultCellEditor.java: Rewritten.
34293 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34294 Use TableDemo.java table example.
34295 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34297 2006-01-19 Roman Kennke <kennke@aicas.com>
34299 * configure.ac: Added/fixed --enable-posix-layer option to enable
34300 build of posix layer.
34301 * native/target/Makefile.am: Added build for posix layer.
34303 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34305 * configure.ac: Set TARGET to Linux per default.
34306 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34308 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34309 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34312 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34314 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34315 what looked like proprietary documentation with original or new one.
34316 * java/security/spec/PSSParameterSpec.java: Likewise.
34317 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34318 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34319 * java/security/AlgorithmParameterGenerator.java: Likewise.
34320 * java/security/AlgorithmParameters.java: Likewise.
34321 * java/security/Identity.java: Likewise.
34322 * java/security/IdentityScope.java: Likewise.
34323 * java/security/KeyFactory.java: Likewise.
34324 * java/security/KeyPairGenerator.java: Likewise.
34325 * java/security/MessageDigest.java: Likewise.
34326 * java/security/Policy.java: Likewise.
34327 * java/security/ProtectionDomain.java: Likewise.
34328 * java/security/Security.java: Likewise.
34329 * java/security/Signature.java: Likewise.
34330 * java/security/SignatureSpi.java: Likewise.
34331 * java/security/SignedObject.java: Likewise.
34332 * java/security/Signer.java: Likewise.
34334 2006-01-18 Roman Kennke <kennke@aicas.com>
34336 * configure.ac: Added --enable-posix-layer option to enable
34337 build of the posix target layer.
34339 2006-01-18 Roman Kennke <kennke@aicas.com>
34341 * native/jni/java-net/java_net_VMInetAddress.c
34342 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34345 2006-01-18 Roman Kennke <kennke@aicas.com>
34347 * native/jni/java-util/java_util_VMTimeZone.c:
34348 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34349 to use target native layer.
34350 (jint_to_charbuf): Removed unneeded helper function.
34352 2006-01-18 Roman Kennke <kennke@aicas.com>
34354 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34355 Removed unnecessary include.
34356 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34357 Reorganized includes to only include sys/* headers when available.
34358 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34359 (get_pagesize): Return 0 when nothing else works.
34360 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34361 Replaced munmap() and strerror() with corresponding target macros.
34362 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34363 Replaced strerror() with corresponding target macro.
34364 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34365 Replaced strerror() with corresponding target macro.
34366 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34367 (Java_java_nio_VMDirectByteBuffer_allocate):
34368 Replaced malloc() with the corresponding target macro.
34369 (Java_java_nio_VMDirectByteBuffer_free):
34370 Replaced free() with the corresponding target macro.
34371 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34372 Add index to pointer when assigning the value.
34373 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34374 Replaced memcpy with corresponding target macro. Add index when
34375 doing the memcpy, not when fetching the pointer.
34376 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34377 Replaced memcpy with corresponding target macro.
34378 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34379 Replaced memmove with the corresponding target macro.
34381 2006-01-17 Tom Tromey <tromey@redhat.com>
34383 PR classpath/20198:
34384 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34385 (JarURLLoader): Likewise.
34386 (addURLImpl): Canonicalize file URLs.
34388 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34390 * configure.ac: Set TARGET.
34391 * native/Makefile.am, native/jni/classpath/Makefile.am,
34392 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34393 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34394 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34395 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34396 native/target/Linux/Makefile.am,
34397 native/target/generic/Makefile.am,
34398 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34399 and target stuff linked in and link it against lib*.so libraries.
34401 2006-01-17 Roman Kennke <kennke@aicas.com>
34403 * native/jni/java-net/javanet.c:
34404 (_javanet_connect): Changed type of some local variables to jint.
34405 Fixed error handling to throw a SocketTimeoutException if the
34406 connection attempt times out.
34407 (_javanet_bind): Changed type of some local variables to jint.
34408 (_javanet_accept): Likewise.
34409 (_javanet_recvfrom): Likewise.
34410 (_javanet_sendto): Fixed error handling to throw a
34411 PortUnreachableException when connection is refused.
34412 (_javanet_get_option): Changed type of some local variables to jint.
34413 Implemented SOCKOPT_SO_BROADCAST.
34414 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34415 target native macro.
34416 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34417 target native macro.
34418 * native/jni/java-net/javanet.h:
34419 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34420 SOCKOPT_SO_BROADCAST.
34422 2006-01-17 Lillian Angel <langel@redhat.com>
34424 * javax/swing/text/DefaultStyledDocument.java
34425 (insert): Cleaned up loop. No need to make so many calls
34426 to getAddedElements and getRemovedElements.
34427 (insertFracture): Removed unneeded array.
34429 2006-01-17 Lillian Angel <langel@redhat.com>
34431 * javax/swing/text/JTextComponent.java
34432 (AccessibleJTextComponent): Implemented.
34433 (getCaretPosition): Implemented.
34434 (getSelectedText): Implemented.
34435 (getSelectionStart): Implemented.
34436 (getSelectionEnd): Implemented.
34437 (getSelectionEnd): Implemented.
34438 (getCharCount): Implemented.
34439 (insertTextAtIndex): Implemented.
34440 (getTextRange): Implemented.
34441 (delete): Implemented.
34442 (cut): Implemented.
34443 (paste): Implemented.
34444 (replaceText): Implemented.
34445 (selectText): Implemented.
34447 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34449 * javax/swing/text/DefaultStyledDocument.java:
34450 (pad): New debugging method.
34451 (printElements): Likewise.
34452 (printPendingEdits): Likewise.
34453 (printElement): Likewise.
34454 (Edit): Improved docs, moved this class to be an inner class of
34455 ElementBuffer since it only applies within that scope. Changed added
34456 and removed to be Vectors instead of arrays because we need to be able
34457 to add to them after construction.
34458 (ElementBuffer): Updated docs with link to article that helped in this
34459 classes implementation.
34460 (ElementBuffer.Edit.getRemovedElements): New method.
34461 (ElementBuffer.Edit.getAddedElements): Likewise.
34462 (ElementBuffer.Edit.addRemovedElement): Likewise.
34463 (ElementBuffer.Edit.addRemovedElements): Likewise.
34464 (ElementBuffer.Edit.addAddedElement): Likewise.
34465 (ElementBuffer.Edit.addAddedElements): Likewise.
34466 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34468 (ElementBuffer.getEditForParagraphAndIndex): New method.
34469 (ElementBuffer.removeUpdate): Changed type of paragraph to
34470 BranchElement. Corrected style of adding the edit to use the new Edit
34472 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34473 the new Edit facilities.
34474 (ElementBuffer.split): Likewise.
34475 (ElementBuffer.insertParagraph): Likewise.
34476 (ElementBuffer.insertContentTag): Likewise.
34477 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34478 not just the root and the first one. Apply the structural changes to
34479 the tree at the same time as updating the DocumentEvent.
34480 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34481 handling of EndTags as the first ElementSpec. Instead have to handle
34482 ContentTags as a special case if they are the first ElementSpec and if
34483 not have to fracture the tree.
34484 (ElementBuffer.createFracture): New method. May not be complete yet.
34485 Added FIXME indicating what may remain to be done.
34486 (ElementBuffer.insertFirstContentTag): New method.
34487 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34488 be done. Changed the adding of edits to use the new Edit facilities.
34489 Removed the adding of edits for Elements that weren't in the tree prior
34491 (insertUpdate): Removed incorrect condition for setting a StartTag's
34492 direction to JoinNextDirection.
34493 * javax/swing/text/StyleContent.java:
34494 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34495 that was causing an ArrayOutOfBoundsException.
34497 2006-01-17 Roman Kennke <kennke@aicas.com>
34499 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34500 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34501 exception messages a little.
34502 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34503 alternative implementation for systems without filesystems.
34504 Replaced snprintf with the corresponding target native macro.
34505 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34506 Only do something when we have a filesystem.
34507 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34508 alternative implementation for systems without filesystems.
34509 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34510 alternative implementation for systems without filesystems.
34511 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34512 alternative implementation for systems without filesystems.
34513 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34514 Only do something when we have a filesystem.
34515 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34516 Only do something when we have a filesystem.
34517 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34518 alternative implementation for systems without filesystems.
34519 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34520 Replaced ssize_t variables with jint. Provided
34521 alternative implementation for systems without filesystems.
34522 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34523 Replaced ssize_t variables with jint. Provided
34524 alternative implementation for systems without filesystems.
34525 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34526 Replaced ssize_t variables with jint. Provided
34527 alternative implementation for systems without filesystems.
34528 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34529 Only do something when we have a filesystem.
34530 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34531 Replaced ssize_t variables with jint. Provided
34532 alternative implementation for systems without filesystems.
34533 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34534 to use the corresponding target native macro.
34535 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34536 to use the corresponding target native macro.
34538 2006-01-17 Lillian Angel <langel@redhat.com>
34540 * javax/swing/text/DefaultTextUI.java:
34541 Added deprecated tag.
34542 * javax/swing/text/JTextComponent.java
34543 (AccessibleJTextComponent): Fixed API doc and
34544 partiall9 implemented.
34545 (getCaretPosition): Fixed API doc and implemented.
34546 (getSelectedText): Fixed API doc.
34547 (getSelectionStart): Likewise.
34548 (getSelectionEnd): Likewise.
34549 (caretUpdate): Fixed API doc and
34550 partially implemented.
34551 (getAccessibleStateSet): Likewise.
34552 (getAccessibleRole): Fixed API doc and implemented.
34553 (getAccessibleEditableText): Implemented.
34554 (getAccessibleText): Fixed API doc and implemented.
34555 (insertUpdate): Fixed API doc.
34556 (changedUpdate): Likewise.
34557 (getIndexAtPoint): Likewise.
34558 (getRootEditorRect): Removed.
34559 (getCharacterBounds): Fixed API doc.
34560 (getCharCount): Likewise.
34561 (getCharacterAttribute): Likewise.
34562 (getAtIndex): Likewise.
34563 (getAfterIndex): Likewise.
34564 (getBeforeIndex): Likewise.
34565 (getAccessibleActionCount): Added function stub.
34566 (getAccessibleActionDescription): Added function,
34567 partially implemented.
34568 (doAccessibleAction): Added function stub.
34569 (setTextContents): Likewise.
34570 (insertTextAtIndex): Likewise.
34571 (delete): Likewise.
34574 (replaceText): Likewise.
34575 (selectText): Likewise.
34576 (setAttributes): Likewise.
34577 (getAccessibleContext): Implemented.
34579 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34582 * gnu/regexp/RETokenRange.java(constructor):
34583 Keep lo and hi as they are.
34584 (match): Changed the case insensitive comparison.
34586 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34588 * gnu/regexp/RETokenChar.java(chain):
34589 Do not concatenate tokens whose insens flags are diffent.
34591 2006-01-17 Roman Kennke <kennke@aicas.com>
34593 * native/target/generic/target_generic_network.c:
34594 (targetGenericNetwork_receive): Fixed signature to match the
34595 corresponding .h file.
34596 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34597 to match the corresponding .h file.
34599 2006-01-17 Roman Kennke <kennke@aicas.com>
34601 * native/jni/classpath/jcl.c:
34602 (JCL_malloc): Replaced calls to malloc with the corresponding
34603 target layer macro.
34604 (JCL_free): Replaced calls to free with the corresponding
34605 target layer macro.
34606 * native/jni/classpath/native_state.c:
34607 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34608 calloc with the corresponding target layer macro.
34609 (remove_node): Replaced calls to free with the corresponding
34610 target layer macro.
34611 (add_node): Replaced calls to malloc with the corresponding
34612 target layer macro.
34614 2006-01-17 Roman Kennke <kennke@aicas.com>
34616 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34617 (getFieldReference): Use MALLOC/FREE macros for portability instead
34618 of direct call to malloc() and free().
34620 2006-01-17 Roman Kennke <kennke@aicas.com>
34622 * native/jni/classpath/jcl.c: Added missing imports.
34623 (JCL_realloc): Fixed signature to include oldsize. This is needed
34624 for some targets. Make this function use the MEMORY_REALLOC macro
34626 * native/jni/classpath/jcl.h
34627 (JCL_realloc): Adjusted signature.
34628 * native/jni/java-io/java_io_VMFile.c:
34629 (Java_java_io_VMFile_create): Use target layer macro for handling
34630 errno, for portability.
34631 (Java_java_io_VMFile_length): Release filename string in error cases
34633 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34634 version of JCL_realloc.
34635 * native/jni/java-net/java_net_VMInetAddress.c:
34636 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34637 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34638 * native/jni/java-net/javanet.c:
34639 (_javanet_bind): Make errorstr variable const to avoid compiler
34641 (_javanet_set_option): Fixed typo.
34642 (_javanet_get_option): Fixed typo.
34643 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34644 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34645 error_string variable const to avoid compiler warning.
34646 * native/target/generic/target_generic_file.h:
34647 Replaced // comments with /* */ comments to avoid compiler warnings.
34648 Added some spaces to make code better readable.
34649 * native/target/generic/target_generic_memory.h:
34650 Replaced // comments with /* */ comments to avoid compiler warnings.
34651 * native/target/generic/target_generic_misc.c:
34652 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34653 compiler warnings due to use of varargs.
34654 * native/target/generic/target_generic_misc.h:
34655 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34656 compiler warnings due to use of varargs.
34657 * native/target/generic/target_generic_network.h:
34658 Replaced // comments with /* */ comments to avoid compiler warnings.
34659 (targetGenericNetwork_receive): Fixed signature to use signed chars
34660 for buffer parameter to avoid warning when passing a jbyte to the
34663 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34665 * javax/swing/text/StyleConstants.java
34666 (getAlignment): Removed isDefined() check, so that resolving parent is
34668 (getBackground): Likewise, plus changed default value to Color.BLACK,
34669 (getBidiLevel): Removed isDefined() check,
34670 (getComponent): Likewise,
34671 (getFirstLineIndent): Likewise,
34672 (getFontFamily): Likewise,
34673 (getFontSize): Likewise,
34674 (getForeground): Likewise,
34675 (getIcon): Likewise,
34676 (getLeftIndent): Likewise,
34677 (getLineSpacing): Likewise,
34678 (getRightIndent): Likewise,
34679 (getSpaceAbove): Likewise,
34680 (getSpaceBelow): Likewise,
34681 (getTabSet): Likewise,
34682 (isBold): Likewise,
34683 (isItalic): Likewise,
34684 (isStrikeThrough): Likewise,
34685 (isSubscript): Likewise,
34686 (isSuperscript): Likewise,
34687 (isUnderline): Likewise.
34689 2006-01-17 Gary Benson <gbenson@redhat.com>
34691 * java/lang/System.java (setSecurityManager): Catch
34692 ClassNotFoundException not Throwable.
34694 2006-01-16 Anthony Green <green@redhat.com>
34697 * gnu/java/net/protocol/http/Request.java
34698 (createResponseBodyStream): Remove Content-Encoding for
34699 compressed streams.
34701 2006-01-16 Chris Burdess <dog@gnu.org>
34703 * gnu/xml/stream/XMLParser.java,
34704 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34705 XMLStreamWriter arguments for conformance to the XML specifications.
34706 * gnu/xml/transform/Stylesheet.java,
34707 gnu/xml/transform/Template.java,
34708 gnu/xml/transform/TransformerImpl.java,
34709 gnu/xml/xpath/LangFunction.java,
34710 gnu/xml/xpath/Selector.java: better handling of template priorities;
34711 fix indents when pretty-printing; recursive tests for xml:lang.
34712 * gnu/xml/util/XHTMLWriter.java,
34713 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34715 2006-01-16 Roman Kennke <kennke@aicas.com>
34717 * native/target/MinGW/.cvsignore: New file.
34718 * native/target/RTEMS/.cvsignore: New file.
34719 * native/target/SunOS/.cvsignore: New file.
34720 * native/target/embOS/.cvsignore: New file.
34721 * native/target/posix/.cvsignore: New file.
34723 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34725 * javax/swing/text/StyleConstants.java: Updated API docs all over.
34727 2006-01-16 Roman Kennke <kennke@aicas.com>
34729 * configure.ac: Include new target native directories in build.
34731 2006-01-16 Roman Kennke <kennke@aicas.com>
34733 * native/target/generic/target_generic_file.h: Added missing
34735 * native/target/generic/target_generic_network.c: Fixed several
34736 typos and includes.
34737 * native/target/generic/target_generic_network.h: Likewise.
34739 2006-01-16 Roman Kennke <kennke@aicas.com>
34741 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34742 to include the new targets.
34743 * native/target/posix/Makefile.am: Fixed filenames.
34745 2006-01-16 Roman Kennke <kennke@aicas.com>
34747 * native/target/Makefile.am: Include new targets.
34748 * native/target/Linux/Makefile.am: Include new memory layer.
34749 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34750 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34751 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34752 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34753 * native/target/generic/Makefile.am: Include new memory and math
34755 * native/target/posix/Makefile.am: New file. Includes posix in dist.
34757 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
34760 * gnu/regexp/RE.java(initialize): Parse embedded flags.
34761 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34763 2006-01-16 Roman Kennke <kennke@aicas.com>
34765 * native/target/generic/target_generic_network.c: Fixed typo.
34766 * native/target/generic/target_generic_network.h: Fixed typo.
34768 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
34770 * doc/vmintegration.texinfo: Updated subsection of the
34771 java.lang.InstrumentationImpl documentation.
34773 2006-01-16 Roman Kennke <kennke@aicas.com>
34775 * native/target/RTEMS/target_native.h,
34776 * native/target/RTEMS/target_native_file.h,
34777 * native/target/RTEMS/target_native_io.h,
34778 * native/target/RTEMS/target_native_math.h,
34779 * native/target/RTEMS/target_native_memory.h,
34780 * native/target/RTEMS/target_native_misc.h,
34781 * native/target/RTEMS/target_native_network.h:
34782 New files. Implement the target native layer for the RTEMS platform.
34784 2006-01-16 Roman Kennke <kennke@aicas.com>
34786 * native/target/SunOS/target_native.h,
34787 * native/target/SunOS/target_native_file.h,
34788 * native/target/SunOS/target_native_io.h,
34789 * native/target/SunOS/target_native_math.h,
34790 * native/target/SunOS/target_native_memory.h,
34791 * native/target/SunOS/target_native_misc.h,
34792 * native/target/SunOS/target_native_network.h:
34793 New files. Implement the target native layer for the SunOS platform.
34795 2006-01-16 Roman Kennke <kennke@aicas.com>
34797 * native/target/MinGW/target_native.h,
34798 * native/target/MinGW/target_native_file.h,
34799 * native/target/MinGW/target_native_io.h,
34800 * native/target/MinGW/target_native_math.h,
34801 * native/target/MinGW/target_native_memory.h,
34802 * native/target/MinGW/target_native_misc.h,
34803 * native/target/MinGW/target_native_network.h:
34804 New files. Implement the target native layer for the MinGW
34807 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34810 * javax/swing/DefaultCellEditor.java
34811 (delegate): Assign new instance immediately.
34812 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34813 (getTableCellEditorComponent): Rewritten.
34814 (prepareAsJTextField):New method (add listener only once).
34815 * javax/swing/JTable.java
34816 (editingCanceled): Rewritten.
34817 (editingStopped ): Rewritten.
34818 (rowAtPoint): Mind row margin.
34819 (getCellRect): Mind row margin.
34820 (getDefaultEditor): Removing JTextComponent border.
34821 (editCellAt): Rewritten.
34822 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34823 Activate editing mode by the mouse clicks.
34824 (getMaximumSize): Mind row margin.
34825 (getPreferredSize): Mind row margin.
34826 (TableAction): Added 'stop editing' command.
34828 2006-01-16 Roman Kennke <kennke@aicas.com>
34830 * jni/java-io/java_io_VMFile.c
34831 (Java_java_io_VMFile_list): Use new 4 argument version of
34832 TARGET_NATIVE_FILE_READ_DIR macro.
34833 * target/Linux/target_native_io.h: Fixed comment at #endif.
34834 * target/Linux/target_native_memory.h: New file. Contains
34835 portability macros for memory operations.
34836 * target/generic/target_generic.c: New file. Contains some functions
34838 * target/generic/target_generic.h: Use posix target and shorter macro
34839 names if CP_NEW is set.
34840 * target/generic/target_generic_file.h: Use posix target and shorter
34841 macro names if CP_NEW is set.
34842 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34843 * target/generic/target_generic_io.c: New file. Contains some
34844 functions for IO portability.
34845 * target/generic/target_generic_io.h: Use posix target and shorter
34846 macro names if CP_NEW is set.
34847 * target/generic/target_generic_misc.c: New file. Contains some
34848 functions for miscallaneaous portability issues.
34849 * target/generic/target_generic_misc.h: Use posix target and shorter
34850 macro names if CP_NEW is set.
34851 * target/generic/target_generic_network.c: New file. Contains some
34852 functions for networking portability.
34853 * target/generic/target_generic_network.h: Use posix target and
34854 shorter macro names if CP_NEW is set.
34855 * target/posix/Makefile.am,
34856 * target/posix/target_posix.c,
34857 * target/posix/target_posix.h,
34858 * target/posix/target_posix_file.c,
34859 * target/posix/target_posix_file.h,
34860 * target/posix/target_posix_io.c,
34861 * target/posix/target_posix_io.h,
34862 * target/posix/target_posix_math.c,
34863 * target/posix/target_posix_math.h,
34864 * target/posix/target_posix_memory.c,
34865 * target/posix/target_posix_memory.h,
34866 * target/posix/target_posix_misc.c,
34867 * target/posix/target_posix_misc.h,
34868 * target/posix/target_posix_network.c,
34869 * target/posix/target_posix_network.h:
34870 New files. This implements the target native layer macros for
34871 Posix-like systems.
34873 2006-01-16 Gary Benson <gbenson@redhat.com>
34875 * java/net/SocketPermission.java (implies): Fix action checks.
34877 2006-01-16 Roman Kennke <kennke@aicas.com>
34879 * native/target/generic/target_generic_math_float.h: Removed. This
34880 file has been replaced by target_generic_math.h.
34881 * native/target/generic/target_generic_math_int.h: Removed. This
34882 file has been replaced by target_generic_math.h.
34883 * native/target/generic/target_generic_math.h: New file. Replaces
34884 the old _int and _float versions.
34885 * native/target/Linux/target_native_math_float.h: Removed. This
34886 file has been replaced by target_native_math.h.
34887 * native/target/Linux/target_native_math_int.h: Removed. This
34888 file has been replaced by target_native_math.h.
34889 * native/target/Linux/target_native_math.h: New file. Replaces
34890 the old _int and _float versions.
34891 * native/target/Linux/Makefile.am: Adjusted for the changed
34893 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34894 instead of target_native_math_int.h.
34895 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34897 * native/target/generic/target_generic_file.h: Likewise.
34899 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34901 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34903 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34905 * javax/swing/text/SimpleAttributeSet.java
34906 (SimpleAttributeSet()): Initialise storage directly,
34907 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34908 NullPointerException,
34909 (containsAttribute): If key is found locally, don't check resolving
34910 parent if the value doesn't match,
34911 (getAttribute): Removed redundant instanceof and cast.
34913 2006-01-16 Gary Benson <gbenson@redhat.com>
34915 * java/lang/System.java (setSecurityManager): Ensure policy
34916 files are loaded before a security manager is put in place.
34918 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34920 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34922 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
34924 * javax/print/attribute/standard/MediaSize.java:
34925 (static_initializer): Added comment.
34926 (MediaSize): Added javadoc to mention cache registration.
34927 (MediaSize): Likewise.
34928 (MediaSize): Likewise.
34929 (MediaSize): Likewise.
34931 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
34934 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34935 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34936 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34937 * javax/security/auth/login/AppConfigurationEntry.java: Updated
34939 (toString): Added method implementation.
34940 (LoginModuleControlFlag.toString): Removed class name from result.
34941 * javax/security/auth/login/Configuration.java: Updated copyright year.
34942 (getConfig(): replaced calls to NullConfiguration with
34945 2006-01-15 Tom Tromey <tromey@redhat.com>
34947 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34948 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34949 * java/beans/PersistenceDelegate.java (initialize): Genericized.
34950 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34951 (setPersistenceDelegate): Likewise.
34953 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
34955 * javax/print/attribute/standard/PrinterStateReasons.java:
34956 (printerStateReasonSet): Genericize the return type.
34958 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34960 * javax/swing/table/DefaultTableCellRenderer.java
34961 (getTableCellRendererComponent): Render null as the empty cell.
34963 2006-01-14 Anthony Green <green@redhat.com>
34965 * java/net/ServerSocket.java (accept): Remove bogus
34967 (implAccept): Add FIXME comment.
34969 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34972 * javax/print/Doc.java: Added and enhanced documentation.
34973 * javax/print/SimpleDoc.java: New file.
34975 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34977 * javax/print/attribute/standard/MediaSize.java:
34978 (Other.TABLOID): New MediaSize added in 1.5
34980 2006-01-14 Chris Burdess <dog@gnu.org>
34982 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34983 correctly when I/O and runtime exceptions occur during parsing.
34985 2006-01-13 Roman Kennke <kennke@aicas.com>
34987 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34988 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34989 * gnu/java/awt/peer/swing/SwingComponent.java,
34990 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34991 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34992 * gnu/java/awt/peer/swing/SwingFramePeer.java,
34993 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34994 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34995 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34996 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34997 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34998 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34999 * gnu/java/awt/peer/swing/SwingToolkit.java,
35000 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35001 * gnu/java/awt/peer/swing/package.html:
35002 New files. Implemented some basic AWT peers based on Swing.
35004 2006-01-13 Roman Kennke <kennke@aicas.com>
35006 * java/awt/peer/ComponentPeer.java: Added API docs all over.
35008 2006-01-13 Roman Kennke <kennke@aicas.com>
35010 * java/awt/MenuComponent.java: Reformatted to better match our
35013 2006-01-13 Roman Kennke <kennke@aicas.com>
35015 * java/awt/Frame.java: Reformatted to better match our
35018 2006-01-13 Roman Kennke <kennke@aicas.com>
35020 * java/awt/MenuBar.java
35021 (accessibleContext): Removed unnecessary field. This is already
35022 defined in MenuComponent.
35023 (setHelpMenu): Renamed the peer variable to myPeer because it was
35024 hiding a field of MenuComponent.
35025 (addNotify): Removed unnecessary cast.
35027 2006-01-13 Roman Kennke <kennke@aicas.com>
35029 * java/awt/MenuBar.java: Reformatted to better match our
35032 2006-01-13 Roman Kennke <kennke@aicas.com>
35034 * java/awt/MenuBar.java
35035 (frame): New field.
35036 (removeNotify): Clear frame field when beeing removed from the
35038 * java/awt/Frame.java
35039 (setMenuBar): Store a reference of the frame in the MenuBar.
35040 * java/awt/MenuComponent.java
35041 (postEvent): Implemented to forward the call to the parent until
35042 a parent can handle the event.
35043 (dispatchEvent): Moved handling of old style events from
35044 dispatchEventImpl() to here.
35045 (dispatchEventImpl): Moved handling of old style events to
35048 2006-01-13 Roman Kennke <kennke@aicas.com>
35050 * java/awt/Component.java
35051 (dispatchEvent): Moved handling of old style events from
35052 dispatchEventImpl() to this method.
35053 (translateEvent): Removed unnecessary cast.
35054 (dispatchEventImpl): Moved handling of old style events to
35057 2006-01-13 Lillian Angel <langel@redhat.com>
35059 * javax/swing/text/DefaultStyledDocument.java
35060 (createDefaultRoot): Removed FIXME.
35061 (setLogicalStyle): Added fireUndoableEditUpdate call and
35064 2006-01-13 Lillian Angel <langel@redhat.com>
35066 * javax/swing/text/DefaultStyledDocument.java
35067 (Edit): New inner class.
35068 (changeUpdate): Changed addEdit call to add a new
35069 instance of Edit to the edits Vector, so addEdits can
35072 (insertParagraph): Likewise.
35073 (insertFracture): Likewise.
35074 (insertContentTag): Likewise.
35075 (insert): Added loop to go through edits Vector and perform
35076 addEdit on each object.
35078 2006-01-13 Chris Burdess <dog@gnu.org>
35080 * gnu/xml/transform/AbstractNumberNode.java,
35081 gnu/xml/transform/ApplyImportsNode.java,
35082 gnu/xml/transform/ApplyTemplatesNode.java,
35083 gnu/xml/transform/AttributeNode.java,
35084 gnu/xml/transform/CallTemplateNode.java,
35085 gnu/xml/transform/ChooseNode.java,
35086 gnu/xml/transform/CommentNode.java,
35087 gnu/xml/transform/CopyNode.java,
35088 gnu/xml/transform/CopyOfNode.java,
35089 gnu/xml/transform/DocumentFunction.java,
35090 gnu/xml/transform/ElementNode.java,
35091 gnu/xml/transform/ForEachNode.java,
35092 gnu/xml/transform/IfNode.java,
35093 gnu/xml/transform/LiteralNode.java,
35094 gnu/xml/transform/MessageNode.java,
35095 gnu/xml/transform/OtherwiseNode.java,
35096 gnu/xml/transform/ParameterNode.java,
35097 gnu/xml/transform/ProcessingInstructionNode.java,
35098 gnu/xml/transform/Stylesheet.java,
35099 gnu/xml/transform/Template.java,
35100 gnu/xml/transform/TemplateNode.java,
35101 gnu/xml/transform/TextNode.java,
35102 gnu/xml/transform/TransformerImpl.java,
35103 gnu/xml/transform/ValueOfNode.java,
35104 gnu/xml/transform/WhenNode.java,
35105 gnu/xml/xpath/NodeTypeTest.java,
35106 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35107 with-param parameters when template does not define parameters; apply
35108 conflict resolution for templates; strip whitespace on documents
35109 retrieved via document() function; allow node() to match document
35112 2006-01-13 Mark Wielaard <mark@klomp.org>
35114 * doc/www.gnu.org/announce/20060113.wml: New file.
35115 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35116 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35118 2006-01-13 Lillian Angel <langel@redhat.com>
35120 * javax/swing/text/DefaultStyledDocument.java:
35121 Removed unused fields.
35122 (insert): Removed unused fields.
35123 (endEdit): Removed, not needed.
35124 (insertUpdate): Removed call to endEdit.
35125 (prepareContentInsertion): Removed, not needed.
35126 (insertContentTag): Removed call to prepareContentInsertion.
35127 (printElements): Removed, not needed.
35128 (attributeSetsAreSame): Removed, not needed.
35130 2005-01-13 Mark Wielaard <mark@klomp.org>
35132 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35133 Duplicate of toString(int, StringBuilder).
35135 2005-01-13 Mark Wielaard <mark@klomp.org>
35137 * configure.ac: Set version to 0.20.
35138 * NEWS: Add entries for all the new work done.
35140 2005-01-13 Mark Wielaard <mark@klomp.org>
35142 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35144 2005-01-13 Mark Wielaard <mark@klomp.org>
35146 * java/util/regex/Pattern.java (Pattern): Chain REException.
35148 2006-01-13 Chris Burdess <dog@gnu.org>
35150 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35152 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35154 * java/security/Security.java
35155 (getProperty): Added hack to skip security check when trusted
35156 code is direct caller.
35158 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35160 * java/io/PrintStream.java
35161 (line_separator, PrintStream(OutputStream,boolean)): Use
35164 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35166 * gnu/java/nio/charset/Provider.java: Added comment about its
35167 special relation with CharsetProvider.
35169 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35170 its special relation with CharsetProvider.
35172 * java/nio/charset/spi/CharsetProvider.java
35173 (CharsetProvider): Add special case to skip security check for
35174 built in providers.
35176 2005-01-13 Mark Wielaard <mark@klomp.org>
35178 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35179 name, accel, mnemonic and command are defined before setting.
35181 2005-01-12 Mark Wielaard <mark@klomp.org>
35183 * javax/swing/plaf/metal/MetalFileChooserUI.java
35184 (FileRenderer.getListCellRendererComponent): Set empty name and null
35185 icon when File is null.
35187 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35189 * gnu/java/rmi/server/UnicastRef.java (newCall):
35190 Throw ConnectException after catching IOException.
35192 2006-01-12 Lillian Angel <langel@redhat.com>
35194 * javax/swing/text/DefaultStyledDocument.java
35195 (insertUpdate): Removed unneeded check.
35197 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35199 * javax/swing/text/DefaultStyledDocument.java:
35200 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35201 and we haven't come immediately after a fracture, adjust the Element
35202 offsets. Added comment explaining the situation.
35203 (insert): Return early if no ElementSpecs passed in. Removed redundant
35204 call to insertUpdate. Fired the UndoableEditUpdate.
35206 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35209 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35210 character classes within a subexpression.
35212 2006-12-12 Lillian Angel <langel@redhat.com>
35214 * javax/swing/text/DefaultStyledDocument.java
35215 (insertUpdate): Added check to check if attribute set is
35217 (insertUpdate): Added check to determine if last character
35218 is a newline. If it is, we should not be fracturing.
35219 (insert): Added check to determine if attribute set is empty.
35220 If it is, insertUpdate should not be called.
35222 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35224 * configure.ac: Check for isnan.
35226 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35229 2006-01-12 Chris Burdess <dog@gnu.org>
35231 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35232 1.1 character ranges.
35234 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35236 * javax/swing/TransferHandler.java:
35237 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35238 gnu/testlet/javax/swing/JTextField/CopyPaste.
35240 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35242 * resource/Makefile.am: Install
35243 logging.properties into $(prefix)/lib.
35244 * resource/Makefile.am (securitydir): Changed to
35245 $(prefix)/lib/security.
35247 2006-01-12 Roman Kennke <kennke@aicas.com>
35249 * javax/swing/JTextField.java
35250 (createDefaultModel): Moved installation of the filterNewlines
35251 property to setDocument().
35252 (setDocument): New method. Installs the filterNewlines property
35255 2006-01-12 Chris Burdess <dog@gnu.org>
35257 * gnu/xml/dom/DomNode.java,
35258 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35260 * gnu/xml/xpath/NameTest.java,
35261 gnu/xml/xpath/NamespaceTest.java,
35262 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35264 * gnu/xml/transform/MessageNode.java: Use standard logging system
35265 for outputting messages.
35267 2006-01-12 Tom Tromey <tromey@redhat.com>
35269 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35270 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35271 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35272 (static initializer): Removed cache code.
35273 (checkCacheFor, addToCache): Removed.
35274 (getAllByName): Removed cache code.
35275 (lookup_time): Removed.
35276 (InetAddress): Updated.
35278 2006-01-12 Chris Burdess <dog@gnu.org>
35280 * gnu/xml/dom/DomDocument.java,
35281 gnu/xml/dom/DomElement.java,
35282 gnu/xml/dom/DomNode.java,
35283 gnu/xml/stream/XMLParser.java,
35284 gnu/xml/transform/Bindings.java,
35285 gnu/xml/transform/ElementAvailableFunction.java,
35286 gnu/xml/transform/ElementNode.java,
35287 gnu/xml/transform/FunctionAvailableFunction.java,
35288 gnu/xml/transform/NamespaceProxy.java,
35289 gnu/xml/transform/StreamSerializer.java,
35290 gnu/xml/transform/Stylesheet.java,
35291 gnu/xml/transform/TransformerImpl.java,
35292 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35293 document and element nodes; correct coalescing semantics when parsing;
35294 attribute-sets can only refer to top-level variables and parameters;
35295 fix namespace retrieval during element-available and
35296 function-available functions; implement xsl:fallback for extension
35297 elements; tokenize whitespace correctly during whitespace stripping;
35298 correct following and previous node axes selectors.
35300 2006-01-12 Roman Kennke <kennke@aicas.com>
35302 * java/util/Hashtable.java
35303 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35304 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35306 2006-01-12 Lillian Angel <langel@redhat.com>
35308 * javax/swing/text/GapContent.java
35309 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35311 2006-01-12 Mark Wielaard <mark@klomp.org>
35313 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35314 Throw UnknowHostException when name could not be resolved.
35316 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35318 * java/net/URL.java
35319 (static, getURLStreamHandler): Use SystemProperties.
35321 2006-01-12 Mark Wielaard <mark@klomp.org>
35323 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35324 Use packet.getLength().
35325 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35326 (nativeReceive): Check whether the receiver wants zero bytes.
35328 2006-01-12 Mark Wielaard <mark@klomp.org>
35330 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35331 other side orderly closed connection.
35332 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35333 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35334 when end of stream reached.
35336 2006-01-12 Mark Wielaard <mark@klomp.org>
35338 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35340 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35341 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35342 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35343 * native/jni/java-net/javanet.c: Likewise.
35345 2006-01-12 Mark Wielaard <mark@klomp.org>
35347 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35348 PR classpath/23863.
35350 2006-01-11 Chris Burdess <dog@gnu.org>
35352 * gnu/xml/transform/AttributeNode.java,
35353 gnu/xml/transform/ElementNode.java,
35354 gnu/xml/transform/LiteralNode.java,
35355 gnu/xml/transform/StreamSerializer.java,
35356 gnu/xml/transform/StrippingInstruction.java,
35357 gnu/xml/transform/Stylesheet.java,
35358 gnu/xml/transform/TransformerImpl.java,
35359 gnu/xml/transform/ValueOfNode.java,
35360 gnu/xml/xpath/Expr.java,
35361 gnu/xml/xpath/LocalNameFunction.java,
35362 gnu/xml/xpath/NameFunction.java,
35363 gnu/xml/xpath/NameTest.java,
35364 gnu/xml/xpath/NamespaceUriFunction.java,
35365 gnu/xml/xpath/NodeTypeTest.java,
35366 gnu/xml/xpath/SubstringFunction.java,
35367 javax/xml/namespace/QName.java: don't determine element namespace
35368 from namespace aliases when specified; better namespace handling
35369 when serializing elements; don't create HTML meta element unless
35370 head element exists; correct encoding of CDATA sections containing
35371 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35372 default encoding for HTML output; rewrite of XSLT
35373 strip-space/preserve-space handling; correct doctype-public and
35374 doctype-system output attributes; insert generated doctype before
35375 document element; fixed result tree whitespace stripping
35376 algorithm; fixed semantics of XPath name, local-name, and
35377 namespace-uri functions; name tests handle XML/XMLNS namespaces
35378 correctly; fixed semantics of processing-instruction node test.
35379 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35382 2006-01-11 Lillian Angel <langel@redhat.com>
35384 * javax/swing/text/DefaultStyledDocument.java
35385 (insertFracture): Added calls to addEdit for each time a structure
35386 is changed. addEdit is called on the newBranch, previous, and parent
35389 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35391 * javax/swing/text/DefaultStyledDocument.java:
35392 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35393 This will have been taken care of in insertFracture. Added a comment
35394 explaining that we need to add edits to the DocumentEvent and that
35395 this may be the place to do it.
35397 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35399 * javax/swing/text/DefaultStyledDocument.java:
35400 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35401 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35402 elementStack when there is a start tag with JoinNextDirection.
35404 2006-01-11 Roman Kennke <kennke@aicas.com>
35406 Reported by: Fridjof Siebert <siebert@aicas.com>
35407 * java/util/Hashtable.java
35408 (KEYS): Removed unneeded field.
35409 (VALUES): Removed unneeded field.
35410 (ENTRIES): Removed unneeded field.
35411 (keys): Return a KeyEnumerator instance.
35412 (elements): Returns a ValueEnumerator instance.
35413 (toString): Use an EntryIterator instance.
35414 (keySet): Return a KeyIterator instance.
35415 (values): Return a ValueIterator instance.
35416 (entrySet): Return an EntryIterator instance.
35417 (hashCode): Use EntryIterator instance.
35418 (rehash): Changed this loop to avoid redundant reads and make
35419 it obvious that null checking is not needed.
35420 (writeObject): Use EntryIterator instance.
35421 (HashIterator): Removed class.
35422 (Enumerator): Removed class.
35423 (EntryIterator): New class.
35424 (KeyIterator): New class.
35425 (ValueIterator): New class.
35426 (EntryEnumerator): New class.
35427 (KeyEnumerator): New class.
35428 (ValueEnumerator): New class.
35430 2006-01-11 Lillian Angel <langel@redhat.com>
35432 * javax/swing/text/DefaultStyledDocument.java
35433 (toString): Shouldn't append the '>' character here.
35434 (createDefaultRoot): Should not set the resolve parent. This
35435 causes problems when comparing attribute sets.
35437 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35439 * javax/swing/text/DefaultStyledDocument.java:
35440 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35442 (ElementBuffer.insertFracture): New method.
35443 (ElementBuffer.insertContentTag): Removed unnecessary case for
35444 JoinFractureDirection - this only applies to start tags, not content
35446 (insertUpdate): Corrected conditions for setting direction to
35449 2006-01-10 Roman Kennke <kennke@aicas.com>
35451 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35452 * ChangeLog-2005: New File.
35454 2006-01-10 Roman Kennke <kennke@aicas.com>
35456 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35457 (get): Release the array with the correct pointer.
35458 (put): Release the array with the correct pointer. Copy the array
35459 around _before_ releasing it.
35461 2006-01-10 Roman Kennke <kennke@aicas.com>
35463 * javax/swing/ViewportLayout.java
35464 (layoutContainer): Fixed condition, to avoid ClasscastException.
35466 2006-01-10 Roman Kennke <kennke@aicas.com>
35468 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35469 (MouseHandler.mousePressed): Fixed indendation.
35470 (MouseHandler.mouseDragged): Fixed indendation.
35472 2006-01-10 Roman Kennke <kennke@aicas.com>
35474 * javax/swing/plaf/basic/BasicLookAndFeel.java
35475 (playSound): Added @since 1.4 to the API docs.
35477 2006-01-10 Roman Kennke <kennke@aicas.com>
35479 * javax/swing/plaf/basic/BasicListUI.java
35480 (maybeUpdateLayoutState): Also update the layout state, if the
35481 list has been invalidated since the last update.
35483 2006-01-10 Roman Kennke <kennke@aicas.com>
35485 * javax/swing/plaf/ComponentUI.java
35486 (update): Fixed indendation.
35488 2006-01-10 Roman Kennke <kennke@aicas.com>
35490 * javax/swing/ViewportLayout.java
35491 (layoutContainer): Fixed condition, so that Scrollable components
35492 are always forced to have to Viewport size, when they
35493 return true for getScrollableTracksViewportHeight() and ..Width().
35495 2006-01-10 Roman Kennke <kennke@aicas.com>
35497 * javax/swing/RepaintManager.java
35498 (validateInvalidComponents): Fixed condition to avoid NPE.
35500 2006-01-10 Roman Kennke <kennke@aicas.com>
35502 * javax/swing/JViewport.java:
35503 (static_initializer): Removed unused variable myScrollMode.
35505 2006-01-10 Roman Kennke <kennke@aicas.com>
35507 * javax/swing/JTabbedPane.java:
35508 Cleared API docs a little.
35510 2006-01-10 Roman Kennke <kennke@aicas.com>
35512 * java/util/StringTokenizer.java
35513 (StringTokenizer(String, String, boolean)):
35514 Don't trigger NPE here for conformance with the spec.
35516 2006-01-10 Roman Kennke <kennke@aicas.com>
35518 * java/util/ArrayList.java
35519 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35521 2006-01-10 Roman Kennke <kennke@aicas.com>
35523 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35524 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35525 field to avoid NPE.
35527 2006-01-10 Roman Kennke <kennke@aicas.com>
35529 * native/jni/java-net/javanet.c
35530 (_javanet_shutdownOutput): Replaced strerror() with
35531 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35532 (_javanet_shutdownInput): Replaced strerror() with
35533 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35535 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35537 * java/beans/EventSetDescriptor.java: Reformatted and
35540 2006-01-10 Roman Kennke <kennke@aicas.com>
35542 * java/lang/SecurityManager.java
35543 Fully qualified AWT class references in API docs.
35545 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35547 * java/beans/EventSetDescriptor.java:
35548 (getGetListenerMethod): New method.
35550 2006-01-10 Mark Wielaard <mark@klomp.org>
35552 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35554 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35557 * java/util/Hashtable.java
35558 (contains): Call equals on existing value.
35559 (containsKey, get, put, remove): Call equals on existing key.
35560 (getEntry): Call equals on existing entry.
35562 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35565 * java/util/AbstractMap.java
35566 (equals(Object,Object)): Test for identity first.
35567 * java/util/WeakHashMap.java
35568 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35569 (WeakBucket.WeakEntry.toString): Fixed string representation of
35571 (internalGet): Use helper method to determine equality.
35573 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35575 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35578 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35580 * javax/swing/text/PlainDocument.java:
35581 (insertUpdate): Handle special case of an insertion immediately
35582 following a newline character.
35584 2006-01-09 Roman Kennke <kennke@aicas.com>
35586 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35587 (connect): Added stream parameter to _connect() call.
35588 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35589 (connect): Added stream parameter to _connect() call.
35590 * native/jni/java-net/javanet.c
35591 (_javanet_create_localfd): Added stream parameter. Look up
35592 fd field based on the stream parameter either in SocketImpl or
35593 in DatagramSocketImpl.
35594 (_javanet_connect): Added stream parameter. Call create_localfd
35595 using this stream parameter. Set localPort field either in
35596 SocketImpl or in DatagramSocketImpl, depending on the stream
35598 * native/jni/java-net/javanet.c
35599 (_javanet_connect): Added stream parameter.
35601 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35603 * javax.management.Attribute.java: Grammar and
35606 2006-01-09 Mark Wielaard <mark@klomp.org>
35608 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35609 exception when channel is not readable or writable.
35610 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35611 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35612 there is enough space to mmap().
35614 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35616 * java/beans/Introspector.java:
35617 (getBeanInfo(Class, int)): New method.
35618 (getBeanInfo(Class, Class): Moved common code in a new method.
35619 (merge): New method.
35621 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35623 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35625 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35627 * javax/swing/text/DefaultStyledDocument.java:
35628 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35629 inlined this method because it needs to change the value of the
35630 finalStartTag and finalStartDirection variables.
35631 (checkForInsertAfterNewline): Removed this method.
35632 (handleInsertAfterNewline): Added case for making the start tag's
35633 direction JoinNextDirection.
35635 2006-01-09 Lillian Angel <langel@redhat.com>
35637 * javax/swing/plaf/basic/BasicTreeUI.java:
35639 (setRowHeight): Row height is set to the max height of
35640 all the nodes, or 20 as a default value.
35641 (getPathBounds): Cleaned up code.
35642 (getMaxHeight): New helper function that gets the max
35643 height of all the rows.
35644 (getClosestPathForLocation): Fixed to use getMaxHeight.
35645 (updateCachedPreferredSize): Likewise.
35646 (installUI): Shouldn't expand tree on startup.
35647 (getNodeDimensions): Fixed to use getMaxHeight.
35649 2006-01-09 Mark Wielaard <mark@klomp.org>
35651 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35652 argument is negative.
35654 2006-01-08 Mark Wielaard <mark@klomp.org>
35656 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35658 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35660 * javax.management.Attribute.java: New file.
35662 2006-01-09 Roman Kennke <kennke@aicas.com>
35664 * java/net/DatagramSocketImpl.java
35665 (localPort): Renamed to localport for correct access from native
35668 2006-01-09 Roman Kennke <kennke@aicas.com>
35670 * javax/swing/Popup.java
35671 (LightweightPopup.hide): Repaint the layered pane when popup is
35674 2006-01-09 Roman Kennke <kennke@aicas.com>
35676 * java/awt/Container.java
35677 (remove): Don't repaint the container here.
35679 2006-01-08 Tom Tromey <tromey@redhat.com>
35681 * java/lang/InheritableThreadLocal.java: Organized imports.
35683 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35686 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35687 when an empty string matched an empty token.
35689 2006-01-08 Chris Burdess <dog@gnu.org>
35691 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35692 content models from external entities.
35693 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35694 attempting to continue with unpaired surrogates.
35695 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35696 resolving entities with character entity references; better
35697 checking of valid character ranges; don't report an error for URI
35698 fragments in notation declarations; check unbound namespace
35699 prefixes for elements and attributes, including XML 1.1 unbinding
35700 syntax; namespace-aware checking of attribute duplicates.
35702 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35704 * java/beans/Statement.java: Doc fixes.
35705 (doExecute): Workaround for Class.forName call.
35706 (toString): Made output look more like on the JDK.
35707 * java/beans/Expression.java: Doc fixes.
35708 (toString): Made output look more like on the JDK.
35709 * java/beans/PersistenceDelegate.java,
35710 java/beans/DefaultPersistenceDelegate.java,
35711 java/beans/Encoder.java,
35712 java/beans/XMLEncoder.java: New file.
35713 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35714 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35715 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35716 gnu/java/beans/encoder/Context.java,
35717 gnu/java/beans/encoder/GenericScannerState.java,
35718 gnu/java/beans/encoder/IgnoringScannerState.java,
35719 gnu/java/beans/encoder/MapPersistenceDelegate.java,
35720 gnu/java/beans/encoder/ObjectId.java,
35721 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35722 gnu/java/beans/encoder/ReportingScannerState.java,
35723 gnu/java/beans/encoder/Root.java,
35724 gnu/java/beans/encoder/ScanEngine.java,
35725 gnu/java/beans/encoder/ScannerState.java,
35726 gnu/java/beans/encoder/StAXWriter.java,
35727 gnu/java/beans/encoder/Writer.java: New file.
35728 * gnu/java/beans/encoder/elements/Array_Get.java,
35729 gnu/java/beans/encoder/elements/Element.java,
35730 gnu/java/beans/encoder/elements/List_Set.java,
35731 gnu/java/beans/encoder/elements/Array_Set.java,
35732 gnu/java/beans/encoder/elements/NullObject.java,
35733 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35734 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35735 gnu/java/beans/encoder/elements/StringReference.java,
35736 gnu/java/beans/encoder/elements/ClassResolution.java,
35737 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35738 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35739 gnu/java/beans/encoder/elements/ObjectReference.java,
35740 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35741 gnu/java/beans/encoder/elements/List_Get.java,
35742 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35744 2006-01-08 Chris Burdess <dog@gnu.org>
35746 * java/lang/Character.java (toChars,toCodePoint): Correct these
35747 methods to use algorithms from Unicode specification.
35749 2006-01-08 Mark Wielaard <mark@klomp.org>
35751 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35753 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
35756 * examples/Makefile.am: Corrected DESTDIR install paths.
35758 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35760 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
35761 ASCII character (line 46).
35763 2006-01-07 Roman Kennke <kennke@aicas.com>
35765 * javax/swing/text/TableView.java: New file.
35767 2006-01-07 Chris Burdess <dog@gnu.org>
35769 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35770 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35771 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35772 available; correct handling of unparsed entity references;
35773 absolutize all base URIs; remove commented out code.
35775 2006-01-07 Chris Burdess <dog@gnu.org>
35777 * gnu/xml/stream/SAXParser.java,
35778 gnu/xml/stream/XMLParser.java: Add SAX property to return base
35779 URI of the current event.
35781 2006-01-07 Chris Burdess <dog@gnu.org>
35783 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35786 2006-01-07 Chris Burdess <dog@gnu.org>
35788 * gnu/xml/stream/SAXParser.java,
35789 gnu/xml/stream/XIncludeFilter.java,
35790 gnu/xml/stream/XMLParser.java: Updated documentation.
35792 2006-01-07 Chris Burdess <dog@gnu.org>
35794 * AUTHORS: add self.
35796 2006-01-06 Casey Marshall <csm@gnu.org>
35798 * AUTHORS: add myself.
35800 2006-01-06 Casey Marshall <csm@gnu.org>
35803 * javax/crypto/CipherInputStream.java (logger): new constant.
35804 (cipher): make final.
35805 (outLength, inBuffer, inLength): removed.
35806 (isStream): make final.
35807 (VIRGIN, LIVING, DYING, DEAD, state): removed.
35809 (<init>): call `super,' not `this;' remove `inBuffer' and
35810 `outBuffer' initialization; init `eof;' add debug logging.
35811 (<init>): call `this' with a new null cipher.
35812 (available): fix javadoc to reflect the real semantics; if we
35813 don't have a buffer, call `nextBlock.'
35814 (close): synchronize.
35815 (read): synchronize; fix testing for buffered data.
35816 (read): synchronize; add `skip' semantics if first argument is
35817 `null;' decrypt stream cipher data only if there is any; fix tests
35819 (skip): stop using `available' to see how many data are buffered.
35820 (nextBlock): simplify to use cipher-allocated output buffers
35821 instead of internally allocated ones.
35823 2006-01-06 Tom Tromey <tromey@redhat.com>
35825 * java/lang/String.java (codePointCount): Fixed javadoc.
35827 2006-01-06 Tom Tromey <tromey@redhat.com>
35829 * java/lang/String.java (contains): Added @since.
35831 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
35834 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35835 * gnu/regexp/RETokenRepeated.java(match): Break the loop
35836 when an empty string matched an empty token.
35838 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
35841 * gnu/java/util/WeakIdentityHashMap.java: New file.
35842 * java/lang/InheritableThreadLocal.java
35843 (newChildThread): Modified to remove key indirection.
35844 * java/lang/Thread.java
35845 (locals): Changed type to WeakIdentityHashMap.
35846 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35848 * java/lang/ThreadLocal.java
35849 (key, Key): Removed.
35850 (get, set): Changed to use "this" instead of "key".
35852 2006-01-06 Dalibor Topic <robilad@kaffe.org>
35854 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35856 * native/fdlibm/java-assert.h: Removed file.
35858 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35859 Replaced use of JvAssert by assert.
35861 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35863 * javax/swing/text/DefaultCaret.java:
35864 (setDot): Fixed paramater to Math.max to be this.dot and not the
35867 2006-01-05 Roman Kennke <kennke@aicas.com>
35869 * javax/swing/plaf/basic/BasicListUI.java
35870 (getCellHeight): New helper method.
35871 (getCellBounds): Use new helper method for determining the cell
35873 (paint): Don't call list.indexToLocation() but instead call
35874 directly into the same UI method.
35875 (locationToIndex): Fixed calculation of # visible rows and handling
35877 (indexToLocation): Fixed calculation of # visible rows and handling
35880 2006-01-05 Roman Kennke <kennke@aicas.com>
35882 * javax/swing/plaf/metal/MetalFileChooserUI.java
35883 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35884 in the file chooser.
35886 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35888 * javax/swing/JTextPane.java:
35889 (replaceSelection): If the document is an AbstractDocument, use replace
35890 rather than remove and insert.
35891 * javax/swing/event/EventListenerList.java:
35892 (getListeners): Reversed the order of the listeners to match the
35893 reference implementation.
35894 * javax/swing/text/AbstractDocument.java:
35895 (insertString): Add the UndoableEdit from the content.insertString call
35896 to the DocumentEvent.
35897 (DefaultDocumentEvent.toString): Implemented.
35898 * javax/swing/text/DefaultCaret.java:
35899 (setDot): Make sure dot is > 0 and less than the length of the
35901 * javax/swing/text/DefaultStyledDocument.java:
35902 (ElementBuffer.insertUpdate): Set the modified tag of the document
35903 event when we get start and end tags. This ensures that we create the
35904 proper BranchElements in endEdit().
35905 (ElementBuffer.insertUpdate): Added FIXME to handle
35906 JoinFractureDirection case.
35907 (insertUpdate): Added code to check if we're inserting immediately
35908 after a newline and to handle this case (create start and end tags).
35909 Only change the direction of the first and last tags if they are of
35911 (checkForInsertAfterNewline): New helper method.
35912 (handleInsertAfterNewline): Likewise.
35913 * javax/swing/text/View.java:
35914 (updateLayout): Avoid NPE by checking if shape is null. Repaint
35917 2006-01-05 Mark Wielaard <mark@klomp.org>
35919 * newsitems.txt: Add fosdem meeting.
35920 * events/events.wml: Likewise.
35921 * events/fosdem06.wml: New file.
35923 2006-01-05 Lillian Angel <langel@redhat.com>
35925 * javax/swing/text/GapContent.java
35926 (createPosition): No positions should be created inside the
35927 gap. Fixed check to ensure this does not happen.
35929 2006-01-05 Roman Kennke <kennke@aicas.com>
35931 * javax/swing/RepaintManager.java
35932 (validateInvalidComponents): Search for the validate root
35933 and start validating there.
35935 2006-01-05 Roman Kennke <kennke@aicas.com>
35937 * javax/swing/plaf/basic/BasicListUI.java
35938 (ComponentHandler): Removed unneeded class.
35939 (ListDataHandler.contentsChanged): Revalidate instead of calling
35941 (ListDataHandler.intervalAdded): Revalidate instead of calling
35943 (ListDataHandler.intervalRemoved): Revalidate instead of calling
35945 (PropertyChangeHandler.propertyChange): Or flags together instead
35946 of adding them. Don't call damageLayout().
35947 (componentListener): Removed unnecessary field.
35948 (damageLayout): Removed unnecessary method.
35949 (installListeners): Don't install unnecessary listeners.
35950 (uninstallListeners): Dito.
35951 (getPreferredSize): Don't ask for the real list height and
35952 calculate with the previously calculated list height.
35953 (locationToIndex): Renamed list parameter to l so that it doesn't
35954 shadow the field with the same name.
35955 (indexToLocation): Renamed list parameter to l so that it doesn't
35956 shadow the field with the same name.
35958 2006-01-04 Tom Tromey <tromey@redhat.com>
35960 * include/.cvsignore: Ignore config-int.h.
35962 2006-01-04 Roman Kennke <kennke@aicas.com>
35964 * javax/swing/plaf/basic/BasicListUI.java
35965 (getPreferredSize): Rewritten to match the specs.
35967 2006-01-04 Roman Kennke <kennke@aicas.com>
35969 * javax/swing/JFileChooser.java
35970 (showOpenDialog): Set fixed width on the dialog.
35971 (showSaveDialog): Set fixed width on the dialog.
35972 (showDialog): Set fixed width on the dialog.
35974 2006-01-04 Roman Kennke <kennke@aicas.com>
35976 * javax/swing/plaf/basic/BasicListUI.java
35977 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35978 Adjusted iteration to not use visibleRowCount and instead iterate
35979 over the real number of elements in cellHeights.
35980 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35981 Adjusted iteration to not use visibleRowCount and instead iterate
35982 over the real number of elements in cellHeights.
35984 2006-01-04 Roman Kennke <kennke@aicas.com>
35986 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35987 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35988 Added __attribute__((__unused__)) macros to avoid gcc warnings.
35990 2006-01-04 Roman Kennke <kennke@aicas.com>
35992 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35993 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35995 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35996 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35998 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36000 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36001 * native/jni/java-net/Makefile.am: Adjusted for new source files.
36002 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36003 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36004 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36005 * include/gnu_java_net_PlainSocketImpl.h: Removed.
36006 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36007 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36009 2006-01-04 Lillian Angel <langel@redhat.com>
36011 * javax/swing/plaf/metal/MetalFileChooserUI.java
36012 (propertyChange): Fixed to change the combo box label
36013 appropriately. Also, fixed to set the textfield's text
36015 (editFile): Fixed size of editing field.
36016 (installComponents): Correctly aligned all panels.
36017 (installStrings): Fixed to set the label's text
36018 appropriately depending on the dialog type.
36020 2006-01-04 Lillian Angel <langel@redhat.com>
36024 * javax/swing/JTree.java
36025 (JTree): Because some L&F defaults have been updated,
36026 the selectionMode for the tree needed to be set to SINGLE.
36027 * javax/swing/plaf/basic/BasicFileChooserUI.java:
36028 Initialized accessoryPanel.
36029 * javax/swing/plaf/metal/MetalFileChooserUI.java
36030 (installComponents): Added accessoryPanel to the filechooser.
36032 2006-01-04 Dalibor Topic <robilad@kaffe.org>
36034 * configure.ac: Added AX_CREATE_STDINT_H
36036 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36038 * m4/ax_create_stdint_h.m4: New file.
36040 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36041 typedefs. Removed stdint.h and inttypes.h includes.
36043 2006-01-03 Mark Wielaard <mark@klomp.org>
36045 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36046 register keyboard action when accelerator is not null.
36047 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36048 re-register accelerator if not null.
36049 (installKeyboardActions): Only put accelerator in map when not null.
36051 2006-01-04 Lillian Angel <langel@redhat.com>
36053 * javax/swing/plaf/basic/BasicLookAndFeel.java
36054 (initComponentDefaults): Removed unneeded default.
36055 * javax/swing/plaf/metal/MetalLookAndFeel.java
36056 (initComponentDefaults): Added and fixed several defaults.
36058 2006-01-04 Roman Kennke <kennke@aicas.com>
36060 * javax/swing/plaf/basic/BasicHTML.java: New class.
36062 2006-01-03 Tom Tromey <tromey@redhat.com>
36064 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36065 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36067 2006-01-03 Mark Wielaard <mark@klomp.org>
36069 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36071 2006-01-03 Mark Wielaard <mark@klomp.org>
36073 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36074 Always call createDefaultTheme().
36075 (createDefaultTheme): Check whether theme is still null.
36077 2006-01-03 Mark Wielaard <mark@klomp.org>
36079 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36080 Color.WHITE if null.
36082 2006-01-03 Lillian Angel <langel@redhat.com>
36084 * javax/swing/plaf/metal/MetalLookAndFeel.java
36085 (getDescription): Fixed to return the correct string.
36087 (getName): Likewise.
36088 (getDefaults): Added check to avoid NPE.
36089 (getAcceleratorForeground): Likewise.
36090 (getAcceleratorSelectedForeground): Likewise.
36091 (getBlack): Likewise.
36092 (getControl): Likewise.
36093 (getControlDarkShadow): Likewise.
36094 (getControlDisabled): Likewise.
36095 (getControlHighlight): Likewise.
36096 (getControlInfo): Likewise.
36097 (getControlShadow): Likewise.
36098 (getControlTextColor): Likewise.
36099 (getControlTextFont): Likewise.
36100 (getDesktopColor): Likewise.
36101 (getFocusColor): Likewise.
36102 (getHighlightedTextColor): Likewise.
36103 (getInactiveControlTextColor): Likewise.
36104 (getInactiveSystemTextColor): Likewise.
36105 (getMenuBackground): Likewise.
36106 (getMenuDisabledForeground): Likewise.
36107 (getMenuForeground): Likewise.
36108 (getMenuSelectedBackground): Likewise.
36109 (getMenuSelectedForeground): Likewise.
36110 (getMenuTextFont): Likewise.
36111 (getPrimaryControl): Likewise.
36112 (getPrimaryControlDarkShadow): Likewise.
36113 (getPrimaryControlHighlight): Likewise.
36114 (getPrimaryControlInfo): Likewise.
36115 (getPrimaryControlShadow): Likewise.
36116 (getSeparatorBackground): Likewise.
36117 (getSeparatorForeground): Likewise.
36118 (getSubTextFont): Likewise.
36119 (getSystemTextColor): Likewise.
36120 (getSystemTextFont): Likewise.
36121 (getTextHighlightColor): Likewise.
36122 (getUserTextColor): Likewise.
36123 (getUserTextFont): Likewise.
36124 (getWhite): Likewise.
36125 (getWindowBackground): Likewise.
36126 (getWindowTitleBackground): Likewise.
36127 (getWindowTitleFont): Likewise.
36128 (getWindowTitleForeground): Likewise.
36129 (getWindowTitleInactiveBackground): Likewise.
36130 (getWindowTitleInactiveForeground): Likewise.
36132 2006-01-03 Mark Wielaard <mark@klomp.org>
36134 * javax/swing/JTextArea.java
36135 (JTextArea(Document,text,int,int)): Only call setText() when text is
36138 2006-01-03 Lillian Angel <langel@redhat.com>
36140 * javax/swing/plaf/basic/BasicFileChooserUI.java
36141 (installStrings): Fixed installation of defaults that
36142 were changed in BasicLookAndFeel.
36143 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36144 (installDefaults): Fixed installation of defaults that
36145 were changed in BasicLookAndFeel.
36147 2006-01-03 Lillian Angel <langel@redhat.com>
36149 * javax/swing/plaf/basic/BasicLookAndFeel.java
36150 (initComponentDefaults): Fixed several defaults that differed
36153 2006-01-03 Lillian Angel <langel@redhat.com>
36155 * javax/swing/tree/DefaultTreeSelectionModel.java
36156 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36158 2006-01-03 Lillian Angel <langel@redhat.com>
36160 * javax/swing/AbstractAction.java
36161 (AbstractAction): Fixed to pass in null. Should not be
36162 an empty string. Removed TODO comment.
36163 (AbstractAction): Removed TODO comment.
36164 * javax/swing/JList.java
36165 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36166 * javax/swing/JMenuItem.java
36167 (JMenuItem): Set all defaults if the action passed in is not null.
36168 * javax/swing/JProgressBar.java
36169 (JProgressBar): Added check to prevent NPE.
36171 2006-01-03 Lillian Angel <langel@redhat.com>
36173 * javax/swing/plaf/basic/BasicListUI.java
36174 (getPreferredSize): The JDK adds some extra space to
36175 the list, so we should as well.
36176 * javax/swing/plaf/metal/MetalFileChooserUI.java
36177 (getPreferredSize): Should only take the fileListPanel's
36178 width into account when getting the size. Also, the buttonPanel's
36179 size should not be checked, since it is in the bottomPanel already.
36180 (getMinimumSize): Likewise.
36182 2006-01-03 Lillian Angel <langel@redhat.com>
36184 * javax/swing/JList.java
36185 (init): visibleRowCount should be 7, like the JDK.
36186 * javax/swing/plaf/metal/MetalFileChooserUI.java
36187 (installComponents): No need to add the fileFilterCombo
36188 to a panel. It can be added to the row directly.
36190 2006-01-03 Lillian Angel <langel@redhat.com>
36192 PR classpath/25480 PR classpath/25478
36193 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36194 (updateViewport): Made changes suggested by
36196 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36197 Removed unneeded import.
36198 (createList): Removed comment, JList wrapping
36200 (getPreferredSize): Made changes suggested by
36201 Chris Lansdown. Uses fileListPanel, instead
36203 (getMinimumSize): Uses fileListPanel, instead
36205 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36206 (paintFocus): Fixed height.
36208 2006-01-03 Roman Kennke <kennke@aicas.com>
36210 * javax/swing/plaf/basic/BasicListUI.java
36211 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36213 2006-01-03 Roman Kennke <kennke@aicas.com>
36215 * javax/swing/plaf/basic/BasicListUI.java
36216 (locationToIndex): Special case for when variable cell heights
36217 are possible. (cellHeights is used instead of cellHeight).
36218 (indexToLocation): Special case for when variable cell heights
36219 are possible. (cellHeights is used instead of cellHeight).
36221 2006-01-03 Roman Kennke <kennke@aicas.com>
36223 * javax/swing/text/DefaultStyledDocument.java
36224 (ElementBuffer.remove): New method.
36225 (ElementBuffer.removeUpdate): New method.
36226 (removeUpdate): New method.
36228 2006-01-03 Roman Kennke <kennke@aicas.com>
36231 (dist-hook): Preserve attributes of Java sources when copying to
36234 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36236 * AUTHORS: Added self.
36237 * java/security/Security.java (getProvider): Ensures provider's name is
36238 not null, not an empty string, and is trimmed before usage.
36240 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36242 * gnu/CORBA/Poa/AOM.java (add):
36243 Changed parameter Object into gnuServantObject.
36244 (Obj.object): Changed type to gnuServantObject.
36245 (findObject): Rewritten.
36247 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36249 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36250 buffering. Ability has gone in Qt-4.1.x.
36252 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36253 to have the right include flags.
36255 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36257 * java/security/MessageDigest.java (getInstance(String,String)):
36258 Use trimmed copy of provider name.
36259 * gnu/java/security/Engine.java
36260 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36261 service and algorithm names.
36263 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36265 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36266 localhost is null or is an empty string. Trim hostname before