1 2007-01-26 Tom Tromey <tromey@redhat.com>
3 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
4 'volatile' after field type.
6 2007-01-23 Marco Trudel <mtrudel@gmx.ch>
8 * java/util/Arrays.java (binarySearch): Change comparison order.
10 2007-01-17 Tom Tromey <tromey@redhat.com>
12 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
13 (PathOptionGroup): Set default boot class path.
15 2006-12-14 Andrew Haley <aph@redhat.com>
17 * tools/gnu/classpath/tools/jar/Creator.java: Close the
20 2006-10-12 Andrew Haley <aph@redhat.com>
22 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
23 * java/lang/ThreadLocal.java: Likewise.
25 2006-09-13 Andrew Haley <aph@redhat.com>
27 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
28 Revert previous gcj-specific disabling of checks.
29 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
31 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
34 2006-09-13 Andrew Haley <aph@redhat.com>
36 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
38 (Iterator.remove()): Decrement index after removing element.
40 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
42 * javax/net/ssl/SSLSocketFactory.java (getDefault):
43 Chain exception cause.
45 2006-12-11 Roman Kennke <kennke@aicas.com>
47 * .classpath: Include ASM in Eclipse classpath.
49 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
51 * gnu/java/lang/management/BeanImpl.java:
52 (translate(String)): Trim strings of whitespace.
53 * javax/management/MBeanAttributeInfo.java:
54 (MBeanAttributeInfo(String,String,Method,Method)):
55 Use Class.getName() for normal (non-parameterized) cases.
56 * javax/management/MBeanConstructorInfo.java:
57 (MBeanConstructorInfo(String, Constructor)):
59 * javax/management/MBeanOperationInfo.java:
60 (MBeanOperationInfo(String, Method)):
63 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
65 * java/lang/Class.java:
66 (getClasses()): Return Class<?>[].
67 (internalGetClasses()): Likewise.
68 (getConstructor(Class<?>...)): Add type parameter
70 (getDeclaredConstructor(Class<?>...)): Likewise.
71 (getDeclaredClasses()): Return Class<?>[].
72 (getDeclaredClasses(boolean)): Likewise.
73 (getDeclaredConstructors()): Return Constructor<?>[].
74 (getDeclaredConstructors(boolean)): Likewise.
75 (getDeclaredMethod(String,Class<?>...)): Add type
76 parameter to parameters.
77 (getInterfaces()): Return Class<?>[].
78 (getMethods(String,Class<?>...)): Add type
79 parameter to parameters.
80 * java/text/CollationKey.java:
82 * java/text/DecimalFormatSymbols.java:
85 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
87 * gnu/java/lang/management/BeanImpl.java:
88 (translate(String)): Handle Map and List as
89 Strings of the form "java.util.Map<K,V>" and
91 * javax/management/MBeanAttributeInfo.java:
92 (MBeanAttributeInfo(String,String,Method,Method)):
93 Use generic parameter and return types.
94 * javax/management/MBeanConstructorInfo.java:
95 (MBeanConstructorInfo(String, Constructor)):
96 Use generic parameter types.
97 * javax/management/MBeanOperationInfo.java:
98 (MBeanOperationInfo(String, Method)):
99 Use generic parameter and return types.
101 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
103 * gnu/java/lang/management/BeanImpl.java:
104 (translate(String)): Comment out code for using type
105 variables for Map and List.
106 * java/lang/Thread.java:
107 (Thread(ThreadGroup,Runnable,String,long)): Fix
108 incrementation of totalThreadsCreated to be prior to use.
110 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
112 * javax/management/MBeanServerFactory.java:
113 (createMBeanServer(String)): Added security check.
114 (findMBeanServer(String)): Likewise.
115 (newMBeanServer(String)): Likewise.
116 (releaseMBeanServer(String)): Likewise.
117 * javax/management/MBeanServerPermission.java:
120 2006-12-08 David Daney <ddaney@avtrex.com>
122 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
125 2006-12-08 David Daney <ddaney@avtrex.com>
127 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
129 2006-12-08 David Daney <ddaney@avtrex.com>
131 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
133 (HTTPConnection): Handle NumberFormatException in properties parsing.
134 (Pool.get): Set timeout on reused sockets.
135 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
137 (HTTPURLConnection): Cleanup properties handling.
138 (getConnection): Use both connection and read timeouts.
139 (setConnectTimeout): Removed.
140 (setReadTimeout): New method.
141 * java/net/URLConnection.java (timeout): Renamed to...
142 (connectTimeout): ... connectTimeout throughout.
143 (readTimeout): New field.
144 (getReadTimeout): New method.
145 (setReadTimeout): New method.
147 2006-12-08 Tania Bento <tbento@redhat.com>
149 * java/awt/ScrollPane.java
150 (doLayout): Change the location of the scrollpane's child
153 2006-12-08 David Daney <ddaney@avtrex.com>
155 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
157 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
158 SocketTimeoutException if a blocking socket timesout.
159 (Java_gnu_java_nio_VMChannel_readScattering): Same.
160 (Java_gnu_java_nio_VMChannel_read__I): Same.
161 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
162 (Java_gnu_java_nio_VMChannel_connect6): Same.
164 2006-12-08 Mark Wielaard <mark@klomp.org>
166 * configure.ac (VERSION): Set to 0.93-generics.
167 * NEWS: Add release date.
169 2006-12-08 Tania Bento <tbento@redhat.com>
171 * java/awt/ScrollPane.java
172 (getScrollPosition): Throw NullPointerException if scrollpane
174 (setScrollPosition(int, int)): Throw NullPointerException if
175 scrollpane does have a child. Check that both ints are within
176 the allowed bounds; If they are not, scroll to the closest allowed
179 2006-12-07 Roman Kennke <kennke@aicas.com>
181 * javax/swing/JEditorPane.java
182 (EditorKitMapping): New inner helper class.
183 (editorKits): New static field for caching editor kit instances.
184 (static_initiazer): Initialize static mappings here.
185 (createEditorKitForContentType): Try to use cached instance.
186 Use correct classloader for loading.
187 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
189 (getEditorKitForContentType): Store the fetched editor kit.
190 Fallback to createDefaultEditorKit().
191 (init): Don't clean the static registry here.
192 (registerEditorKitForContentType(String,String,ClassLoader)):
194 (registerEditorKitForContentType(String,String)): Delegate to
195 the other version of this method with the thread's context
198 2006-12-07 Mark Wielaard <mark@klomp.org>
200 * examples/gnu/classpath/examples/swing/HtmlDemo.java
201 (setPage): Don't convert URL to String for setPage().
203 2006-12-07 Mark Wielaard <mark@klomp.org>
205 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
207 2006-12-07 Mark Wielaard <mark@klomp.org>
209 * tools/Makefile.am: Explicitly define and use bootclasspath as
212 2006-12-07 Mark Wielaard <mark@klomp.org>
214 * javax/swing/JEditorPane.java (createEditorKitForContentType):
215 Always load from system class loader.
217 2006-12-07 Mark Wielaard <mark@klomp.org>
219 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
221 (URL(URL,String,URLStreamHandler)): Call new constructor.
222 (URL(URL,String)): Likewise.
223 (URL(String)): Likewise.
225 2006-12-07 Tom Tromey <tromey@redhat.com>
228 * INSTALL: Don't mention --with-asm.
229 * tools/external/README: New file.
230 * tools/toolwrapper.c (main): Don't use ASM_JAR.
231 * tools/gjavah.in: Don't use PATH_TO_ASM.
232 * tools/grmic.in: Likewise.
233 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
235 (javah, rmic): Removed variables.
236 (bin_PROGRAMS): Updated.
237 (gappletviewer_CFLAGS): Don't define ASM_JAR.
238 (gjarsigner_CFLAGS): Likewise.
239 (gkeytool_CFLAGS): Likewise.
240 (gjar_CFLAGS): Likewise.
241 (gnative2ascii_CFLAGS): Likewise.
242 (gserialver_CFLAGS): Likewise.
243 (grmiregistry_CFLAGS): Likewise.
244 (gtnameserv_CFLAGS): Likewise.
245 (gorbd_CFLAGS): Likewise.
246 (grmid_CFLAGS): Likewise.
247 (gjavah_CFLAGS): Likewise.
248 (grmic_CFLAGS): Likewise.
249 (bin_SCRIPTS): Updated.
250 (TOOLS_JAVA_FILES): Updated.
251 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
252 * configure.ac: Removed --with-asm. Always build gjavah.
254 2006-12-06 Roman Kennke <kennke@aicas.com>
256 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
258 * examples/gnu/classpath/examples/swing/HtmlDemo.java
259 (LoadActionListener): Call setPage() helper method.
260 (createContent): Register tweaked editor kit. For FormSubmitEvents
261 call submitForm(), otherwise setPage().
262 (postData): Helper method for posting form data.
263 (setPage): Helper method for navigating to a new URL.
264 (submitForm): Helper method for submitting a form.
265 * examples/gnu/classpath/examples/swing/forms.html:
266 Added text/password fields and select boxes.
267 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
269 2006-12-06 Roman Kennke <kennke@aicas.com>
271 * javax/swing/text/html/FormView.java
272 (SubmitThread.postData): Implemented.
273 (SubmitThread.run): Pass data to postData().
274 (actionPerformed): Reset form when reset button is activated.
275 (createComponent): Add support for select lists and comboboxes.
276 Don't set value of text and password fields here, this is done
277 now in HTMLDocument for consistency.
278 (getElementFormData): Add support for fetching form data from
279 select lists and comboboxes as well as textareas.
280 (getSelectData): New helper method. Fetches form data from
282 (getTextAreaData): New helper method. Fetches form data from
284 (resetForm): New helper method. Resets the entire form.
285 * javax/swing/text/html/HTMLDocument.java
286 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
287 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
288 (HTMLReader.FormAction.setModel): Initialize text and password
289 values here. Also, use the resetable special models.
290 Group radio buttons into ButtonGroup for exclusive selection.
291 (HTMLReader.FormTagAction): New class. Handles FORM tags.
292 (HTMLReader.buttonGroups): New field.
293 (HTMLReader.numOptions): New field.
294 (HTMLReader.option): New field.
295 (HTMLReader.selectModel): New field.
296 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
297 (HTMLReader.handleText): Handle OPTION text.
298 (HTMLReader.initTags): Map FORM tags to FormTagAction.
299 (HTMLReader.textAreaContent): Set initial content.
300 * javax/swing/text/html/Option.java
301 (Option): Make copy of attribute set. Initialize selected state.
302 (getValue): Fetch value from attribute set.
303 * javax/swing/text/html/ResetableModel.java: New interface.
304 * javax/swing/text/html/ResetablePlainDocument.java: New class.
305 Supports resetting the state.
306 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
307 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
308 * javax/swing/text/html/SelectListModel.java: Likewise.
310 2006-12-06 Roman Kennke <kennke@aicas.com>
312 * javax/swing/text/DefaultCaret.java
313 (appear): Adjust visibility here.
314 (setDotImpl): Don't adjust visibility here.
315 (moveDotImpl): Don't adjust visibility here.
317 2006-12-06 Roman Kennke <kennke@aicas.com>
319 * gnu/java/awt/peer/gtk/AsyncImage.java
320 (Loader.run): Synchronize on the AsyncImage to avoid threading
322 (addObservers): Check for obs==null outside and synchronize on
323 this inside to avoid locking issues.
324 (checkImage): New helper method.
325 (notifyObservers): Check that the correct lock is held and
326 remove actual locking.
327 * gnu/java/awt/peer/gtk/GtkToolkit.java
328 (checkImage): Added special handling for AsyncImages.
330 2006-12-06 Roman Kennke <kennke@aicas.com>
332 * examples/gnu/classpath/examples/swing/Demo.java
333 (getIcon): Made package private.
334 * examples/gnu/classpath/examples/swing/HtmlDemo.java
335 (hyperlinkUpdate): Convert URL to string.
337 2006-12-06 Mark Wielaard <mark@klomp.org>
339 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
342 2006-12-06 Roman Kennke <kennke@aicas.com>
344 * examples/gnu/classpath/examples/icons/back.png,
345 * examples/gnu/classpath/examples/icons/reload.png:
346 New icons for the HTML browser.
347 * examples/gnu/classpath/examples/swing/HtmlDemo.java
348 (history): New field. Manages the browsing history.
349 (HtmlDemo): Initialize history.
350 (createContent): Set location and add history. Add toolbar.
351 (createToolBar): New helper method.
352 (main): Make default size bigger.
353 * examples/gnu/classpath/examples/swing/frame1.html,
354 * examples/gnu/classpath/examples/swing/frame2.html,
355 * examples/gnu/classpath/examples/swing/frame3.html,
356 * examples/gnu/classpath/examples/swing/frame4.html,
357 * examples/gnu/classpath/examples/swing/frames.html,
358 * examples/gnu/classpath/examples/swing/tables.html:
360 * examples/gnu/classpath/examples/swing/welcome.html
361 Add a couple of links and new test pages.
363 2006-12-06 Roman Kennke <kennke@aicas.com>
365 * javax/swing/JEditorPane.java
366 (getStream): Buffer the stream for efficiency.
367 (setPage): Don't scroll the view at this point.
368 * javax/swing/plaf/basic/BasicTextUI.java
369 (RootView.paint): Call RootView's setSize to get synchronization.
370 (RootView.setSize): Synchronize to prevent race in layout code.
371 * javax/swing/text/AbstractDocument.java
372 (notifyListeners): New field.
373 (fireChangedUpdate): Track notifyListener field.
374 (fireRemoveUpdate): Track notifyListener field.
375 (fireIndertUpdate): Track notifyListener field.
376 (writeLock): Check notifyListener and throw IllegalStateException.
377 * javax/swing/text/View.java
378 (preferenceChanged): Create local var for better thread safety and
381 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
383 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
384 lightweight component, not just for non-Panel components.
385 (addImpl): Do not call doLayout.
386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
387 (setNativeBounds): Ensure widget parent is a GtkFixed before
388 calling gtk_fixed_move.
389 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
390 (setNativeBounds): Likewise.
391 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
392 (setNativeBounds): Likewise.
394 2006-12-06 Roman Kennke <kennke@aicas.com>
396 * javax/swing/text/html/TableView.java
397 (RowView.layoutMajorAxis): Check column index for invalid value.
398 (updateGrid): Check column index for invalid value.
400 2006-12-06 Roman Kennke <kennke@aicas.com>
402 * javax/swing/text/html/BlockView.java
403 (getAlignment): Align blocks horizontally by the superclass.
404 * javax/swing/text/html/HTMLEditorKit.java
405 (HTMLFactory.create): Replace equals comparison by == for efficiency.
406 Add mapping for misplaced tr, td and th tags. Include object mapping.
407 * javax/swing/text/html/TableView.java
408 (RowView.replace): Invalidate grid early.
409 (gridValid): Initialize with false.
410 (create): Only create RowView and CellView for correctly placed
411 tags. Avoid unnecessary casts.
412 (getAlignment): Removed.
413 (replace): Invalidate grid early.
415 2006-12-06 Francis Kung <fkung@redhat.com>
417 * java/awt/geom/RectangularShape.java
418 (getBounds): Remove empty rectangle check.
420 2006-12-06 Ben Konrath <bkonrath@redhat.com>
423 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
424 newValue are the same.
425 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
427 2006-12-06 Tania Bento <tbento@redhat.com>
429 * javax/swing/border/CompoundBorder.java:
430 (isBorderOpaque): If inside border is null, return true if outside
431 border is opaque, false otherwise; if outside border is null, return
432 true if inside border is opaque, false otherwise; if inside or
433 outside border are both not null, then return true only if both the
434 inside and outside border are opaque, false otherwise.
436 2006-12-06 Tania Bento <tbento@redhat.com>
438 * javax/swing/border/CompoundBorder.java:
439 (isBorderOpaque): If inside and outside border both have a null
442 2006-12-06 Chris Burdess <dog@gnu.org>
445 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
446 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
448 2006-12-06 Chris Burdess <dog@gnu.org>
451 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
454 2006-12-06 Chris Burdess <dog@gnu.org>
457 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
458 discover schema factory implementation class.
460 2006-12-05 Francis Kung <fkung@redhat.com>
462 * java/awt/BasicStroke.java
463 (capEnd): Prevent division by zero.
464 * java/awt/geom/Arc2D.java
465 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
466 (ArcIterator.currentSegment): Handle a negative extent.
468 2006-12-05 Francis Kung <fkung@redhat.com>
470 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
471 (constructor): Handle translated subimages properly, ie, if the image's
472 0,0 position is not the data buffer's first element.
474 2006-12-05 Roman Kennke <kennke@aicas.com>
476 * gnu/java/awt/peer/gtk/AsyncImage.java
477 (Loader.run): Nullify observers after loading.
478 (observers): Made package private.
479 (addObserver): Check for null observers field. Create local
480 variable for thread safety.
481 (getHeight): Use addObserver() for checking state of field
482 and notifying observer when necessary.
483 (getWidth): Use addObserver() for checking state of field
484 and notifying observer when necessary.
485 (getProperty): Use addObserver() for checking state of field
486 and notifying observer when necessary.
487 (notifyObservers): Check for null observers field. Create local
488 variable for thread safety.
490 2006-12-05 Roman Kennke <kennke@aicas.com>
492 * javax/swing/text/html/HTMLEditorKit.java
493 (HTMLFactory.create): Removed debug output.
494 * javax/swing/text/html/InlineView.java
495 (getBreakWeight): Likewise.
496 * javax/swing/text/html/StyleSheet.java
498 (ListPainter.paint): Removed debug output.
500 2006-12-05 Roman Kennke <kennke@aicas.com>
502 * javax/swing/text/html/BlockView.java
503 (painter): Made package visible.
504 * javax/swing/text/html/StyleSheet.java
505 (translateBorder): New helper method.
506 (translateHTMLToCSS): Add mappings for border attributes.
507 * javax/swing/text/html/TableView.java
508 Made class subclass of BlockView to get CSS goodness.
509 (CellView.rowSpan): New field.
510 (CellView.setPropertiesFromAttributes): Fetch rowspan.
511 (RowView.overlap): New field.
512 (RowView.rowIndex): New field.
513 (RowView.layoutMajorAxis): Skip overlapping cells.
514 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
515 (numColumns): New field.
516 (tmpRect): New field.
517 (TableView): Initialize tmpRect.
518 (calculateColumnRequirements): Adjusted and fixed for multirows.
519 (getAlignment): Overridden to center tables.
520 (paint): Overridden to fix clipping.
521 (getStyleSheet): Made protected.
522 (layoutMajorAxis): Invalidate rows.
523 (setPropertiesFromAttributes): Made protected and call super.
524 (updateGrid): Update the overlapping information for multirows.
526 2006-12-05 Roman Kennke <kennke@aicas.com>
528 * gnu/java/awt/peer/gtk/AsyncImage.java
529 (addObserver): Check for null and ignore null observers.
530 (getWidth): Check for null and ignore null observers.
531 (getHeight): Check for null and ignore null observers.
532 (getProperty): Check for null and ignore null observers.
534 2006-12-05 Francis Kung <fkung@redhat.com>
536 * java/awt/BasicStroke.java
537 (capEnd): Prevent division by zero.
538 * java/awt/geom/Arc2D.java
539 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
540 (ArcIterator.currentSegment): Handle a negative extent.
542 2006-12-05 Francis Kung <fkung@redhat.com>
544 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
545 (constructor): Handle translated subimages properly, ie, if the image's
546 0,0 position is not the data buffer's first element.
548 2006-12-05 Roman Kennke <kennke@aicas.com>
550 * javax/swing/text/html/ImageView.java
551 (imageUpdate): Use spans field to determine if the CSS width/height
552 are set. Call safePreferenceChanged to protect view structure
553 from threading issues.
554 (spans): Made package private.
555 (ImageView): Initialize loadOnDemand with false.
556 (loadImage): Call Toolkit.prepareImage() to make sure we have
557 our Observer registered.
558 (safePreferenceChanged): New helper method. Calls preferenceChanged
559 in a thread safe environment.
561 2006-12-05 Roman Kennke <kennke@aicas.com>
563 * NEWS: Add entry about improved HTML support.
565 2006-12-05 Roman Kennke <kennke@aicas.com>
567 * javax/swing/text/html/ImageView.java
568 (ImageView): Initialize spans array here.
569 (setPropertiesFromAttributes): Moved init of spans array to
572 2006-12-05 Roman Kennke <kennke@aicas.com>
574 * javax/swing/text/html/BlockView.java
575 (painter): Made package visible.
576 * javax/swing/text/html/StyleSheet.java
577 (translateBorder): New helper method.
578 (translateHTMLToCSS): Add mappings for border attributes.
579 * javax/swing/text/html/TableView.java
580 Made class subclass of BlockView to get CSS goodness.
581 (CellView.rowSpan): New field.
582 (CellView.setPropertiesFromAttributes): Fetch rowspan.
583 (RowView.overlap): New field.
584 (RowView.rowIndex): New field.
585 (RowView.layoutMajorAxis): Skip overlapping cells.
586 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
587 (numColumns): New field.
588 (tmpRect): New field.
589 (TableView): Initialize tmpRect.
590 (calculateColumnRequirements): Adjusted and fixed for multirows.
591 (getAlignment): Overridden to center tables.
592 (paint): Overridden to fix clipping.
593 (getStyleSheet): Made protected.
594 (layoutMajorAxis): Invalidate rows.
595 (setPropertiesFromAttributes): Made protected and call super.
596 (updateGrid): Update the overlapping information for multirows.
598 2006-12-05 Roman Kennke <kennke@aicas.com>
600 * javax/swing/text/html/HTMLEditorKit.java
601 (HTMLFactory.create): Removed debug output.
602 * javax/swing/text/html/InlineView.java
603 (getBreakWeight): Likewise.
604 * javax/swing/text/html/StyleSheet.java
606 (ListPainter.paint): Removed debug output.
608 2006-12-06 Roman Kennke <kennke@aicas.com>
610 * javax/swing/text/html/BlockView.java
611 (getAlignment): Align blocks horizontally by the superclass.
612 * javax/swing/text/html/HTMLEditorKit.java
613 (HTMLFactory.create): Replace equals comparison by == for efficiency.
614 Add mapping for misplaced tr, td and th tags. Include object mapping.
615 * javax/swing/text/html/TableView.java
616 (RowView.replace): Invalidate grid early.
617 (gridValid): Initialize with false.
618 (create): Only create RowView and CellView for correctly placed
619 tags. Avoid unnecessary casts.
620 (getAlignment): Removed.
621 (replace): Invalidate grid early.
624 2006-12-06 Roman Kennke <kennke@aicas.com>
626 * javax/swing/text/html/TableView.java
627 (RowView.layoutMajorAxis): Check column index for invalid value.
628 (updateGrid): Check column index for invalid value.
630 2006-12-06 Roman Kennke <kennke@aicas.com>
632 * javax/swing/JEditorPane.java
633 (getStream): Buffer the stream for efficiency.
634 (setPage): Don't scroll the view at this point.
635 * javax/swing/plaf/basic/BasicTextUI.java
636 (RootView.paint): Call RootView's setSize to get synchronization.
637 (RootView.setSize): Synchronize to prevent race in layout code.
638 * javax/swing/text/AbstractDocument.java
639 (notifyListeners): New field.
640 (fireChangedUpdate): Track notifyListener field.
641 (fireRemoveUpdate): Track notifyListener field.
642 (fireIndertUpdate): Track notifyListener field.
643 (writeLock): Check notifyListener and throw IllegalStateException.
644 * javax/swing/text/View.java
645 (preferenceChanged): Create local var for better thread safety and
648 2006-12-06 Roman Kennke <kennke@aicas.com>
650 * examples/gnu/classpath/examples/icons/back.png,
651 * examples/gnu/classpath/examples/icons/reload.png:
652 New icons for the HTML browser.
653 * examples/gnu/classpath/examples/swing/HtmlDemo.java
654 (history): New field. Manages the browsing history.
655 (HtmlDemo): Initialize history.
656 (createContent): Set location and add history. Add toolbar.
657 (createToolBar): New helper method.
658 (main): Make default size bigger.
659 * examples/gnu/classpath/examples/swing/frame1.html,
660 * examples/gnu/classpath/examples/swing/frame2.html,
661 * examples/gnu/classpath/examples/swing/frame3.html,
662 * examples/gnu/classpath/examples/swing/frame4.html,
663 * examples/gnu/classpath/examples/swing/frames.html,
664 * examples/gnu/classpath/examples/swing/tables.html:
666 * examples/gnu/classpath/examples/swing/welcome.html
667 Add a couple of links and new test pages.
669 2006-12-06 Roman Kennke <kennke@aicas.com>
671 * examples/gnu/classpath/examples/swing/Demo.java
672 (getIcon): Made package private.
673 * examples/gnu/classpath/examples/swing/HtmlDemo.java
674 (hyperlinkUpdate): Convert URL to string.
676 2006-12-06 Roman Kennke <kennke@aicas.com>
678 * javax/swing/text/DefaultCaret.java
679 (appear): Adjust visibility here.
680 (setDotImpl): Don't adjust visibility here.
681 (moveDotImpl): Don't adjust visibility here.
683 2006-12-06 Roman Kennke <kennke@aicas.com>
685 * javax/swing/text/html/FormView.java
686 (SubmitThread.postData): Implemented.
687 (SubmitThread.run): Pass data to postData().
688 (actionPerformed): Reset form when reset button is activated.
689 (createComponent): Add support for select lists and comboboxes.
690 Don't set value of text and password fields here, this is done
691 now in HTMLDocument for consistency.
692 (getElementFormData): Add support for fetching form data from
693 select lists and comboboxes as well as textareas.
694 (getSelectData): New helper method. Fetches form data from
696 (getTextAreaData): New helper method. Fetches form data from
698 (resetForm): New helper method. Resets the entire form.
699 * javax/swing/text/html/HTMLDocument.java
700 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
701 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
702 (HTMLReader.FormAction.setModel): Initialize text and password
703 values here. Also, use the resetable special models.
704 Group radio buttons into ButtonGroup for exclusive selection.
705 (HTMLReader.FormTagAction): New class. Handles FORM tags.
706 (HTMLReader.buttonGroups): New field.
707 (HTMLReader.numOptions): New field.
708 (HTMLReader.option): New field.
709 (HTMLReader.selectModel): New field.
710 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
711 (HTMLReader.handleText): Handle OPTION text.
712 (HTMLReader.initTags): Map FORM tags to FormTagAction.
713 (HTMLReader.textAreaContent): Set initial content.
714 * javax/swing/text/html/Option.java
715 (Option): Make copy of attribute set. Initialize selected state.
716 (getValue): Fetch value from attribute set.
717 * javax/swing/text/html/ResetableModel.java: New interface.
718 * javax/swing/text/html/ResetablePlainDocument.java: New class.
719 Supports resetting the state.
720 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
721 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
722 * javax/swing/text/html/SelectListModel.java: Likewise.
724 2006-12-06 Roman Kennke <kennke@aicas.com>
726 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
728 * examples/gnu/classpath/examples/swing/HtmlDemo.java
729 (LoadActionListener): Call setPage() helper method.
730 (createContent): Register tweaked editor kit. For FormSubmitEvents
731 call submitForm(), otherwise setPage().
732 (postData): Helper method for posting form data.
733 (setPage): Helper method for navigating to a new URL.
734 (submitForm): Helper method for submitting a form.
735 * examples/gnu/classpath/examples/swing/forms.html:
736 Added text/password fields and select boxes.
737 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
739 2006-12-07 Mark Wielaard <mark@klomp.org>
741 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
743 (URL(URL,String,URLStreamHandler)): Call new constructor.
744 (URL(URL,String)): Likewise.
745 (URL(String)): Likewise.
747 2006-12-07 Mark Wielaard <mark@klomp.org>
749 * javax/swing/JEditorPane.java (createEditorKitForContentType):
750 Always load from system class loader.
752 2006-12-06 Ben Konrath <bkonrath@redhat.com>
755 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
756 newValue are the same.
757 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
759 2006-12-06 Chris Burdess <dog@gnu.org>
762 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
763 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
765 2006-12-06 Chris Burdess <dog@gnu.org>
768 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
771 2006-12-056 Chris Burdess <dog@gnu.org>
774 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
775 discover schema factory implementation class.
777 2006-12-05 Roman Kennke <kennke@aicas.com>
779 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
780 asynchronous loading of images.
781 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
782 (drawImage): Fetch real image from possibly AsyncImage.
783 * gnu/java/awt/peer/gtk/ComponentGraphics.java
784 (drawImage): Fetch real image from possibly AsyncImage.
785 * gnu/java/awt/peer/gtk/GtkToolkit.java
786 (createImage(URL)): Create async image.
787 (imageOrError): Made method static for easy access from AsyncImage.
788 (prepareImage): For async images, register the observer to the
791 2006-12-05 Roman Kennke <kennke@aicas.com>
793 (paintComponent): Include paint area from event.
794 (updateComponent): Include paint area from event.
796 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
798 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
799 lightweight component, not just for non-Panel components.
800 (addImpl): Do not call doLayout.
801 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
802 (setNativeBounds): Ensure widget parent is a GtkFixed before
803 calling gtk_fixed_move.
804 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
805 (setNativeBounds): Likewise.
806 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
807 (setNativeBounds): Likewise.
809 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
811 * java/awt/Component.java (getFontImpl): Return a default font if
812 topmost parent's font is null.
814 2006-12-04 Mark Wielaard <mark@klomp.org>
816 * javax/swing/text/html/CSS.java (parseMarginShorthand):
819 2006-12-04 Roman Kennke <kennke@aicas.com>
821 * java/awt/font/TextLayout.java
822 (hitTestChar): Fixed conditions for inclusion of range.
823 Use layout information in the run for more efficiency.
825 2006-12-04 Roman Kennke <kennke@aicas.com>
827 * javax/swing/text/GlyphView.java
828 (J2DGlyphPainter): New inner class.
829 (checkPainter): For Java2D capable environments create
832 2006-12-04 Roman Kennke <kennke@aicas.com>
834 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
835 (FreeTypeGlyphVector): Don't filter control chars here.
836 (getGlyphs): Filter control chars and replace them by
839 2006-12-04 Roman Kennke <kennke@aicas.com>
841 * native/jni/java-nio/gnu_java_nio_VMChannel.c
842 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
844 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
846 * gnu/java/lang/management/BeanImpl.java:
847 (translate(String)): Don't assume the list uses "E",
848 just use the first and only type variable.
849 * java/lang/management/ManagementFactory.java:
850 (getPlatformMBeanServer()): Register logging bean.
851 * javax/management/openmbean/OpenType.java:
852 (OpenType(String,String,String)): Actually use
853 the string created to handle arrays.
855 2006-12-04 Mark Wielaard <mark@klomp.org>
857 * native/jni/java-nio/gnu_java_nio_VMChannel.c
858 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
860 2006-12-04 Mark Wielaard <mark@klomp.org>
862 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
864 * native/jni/java-nio/gnu_java_nio_VMChannel.c
865 (JCL_thread_interrupted): Only take JNIEnv.
866 (vm_channel_class): New static variable.
867 (initID): Set vm_channel_class.
868 Wrap all reads() and writes() in do-while blocks that check
871 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
873 * gnu/javax/management/Server.java:
874 Make map final and initialise it.
875 (unregisterMBean(ObjectName)): Match against
876 delegate's object name and not the instance.
877 * java/lang/management/ManagementFactory.java:
878 Added constant fields.
879 (getPlatformMBeanServer()): Implemented.
880 * javax/management/MBeanServerFactory.java: New file.
882 2006-12-04 Roman Kennke <kennke@aicas.com>
884 * javax/swing/text/BoxView.java
885 (paint): Replaced painting algorithm with more simple and more
886 reliable painting of the box.
887 * javax/swing/text/html/BlockView.java
888 (PositionInfo): New inner class. Stores additional CSS
889 positioning information.
890 (positionInfo): New field.
891 (BlockView): Initialize positionInfo field.
892 (fetchLayoutInfo): New helper method. Fetches additional
893 CSS positioning information.
894 (layoutMajorAxis): Perform additional CSS layout.
895 (layoutMinorAxis): Perform additional CSS layout.
896 (positionView): New helper method.
897 (replace): Overridden to fetch additional layout information.
898 * javax/swing/text/html/CSS.java
899 (Attribute.POSITION): New field.
900 (Attribute.LEFT): New field.
901 (Attribute.RIGHT): New field.
902 (Attribute.TOP): New field.
903 (Attribute.BOTTOM): New field.
904 (getValue): Create Length for left, right, top and bottom
907 2006-12-04 Roman Kennke <kennke@aicas.com>
909 * gnu/javax/swing/text/html/parser/support/Parser.java
910 (Sgml): Consume any whitespace that immediately follows
912 (parseDocument): Consume any initial whitespace.
914 2006-12-03 Mark Wielaard <mark@klomp.org>
916 * gnu/javax/management/Server.java (beans): Initialize.
917 (registerMBean): Don't initialize beans.
919 2006-12-03 Mark Wielaard <mark@klomp.org>
921 * java/util/logging/LogManager.java (getLevelProperty): Check
922 whether value is null before passing to Level.parse().
924 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
926 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
927 whether given a null lock and lockOwner.
929 2006-12-03 Mark Wielaard <mark@klomp.org>
931 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
932 (PageLoader.page): Made package local.
933 (PageLoader.run): Don't reset loader.
934 (PageLoader.cancel): New method.
935 (loading): Renamed to loader.
936 (getPage): Return loader.page.
937 (setPage): Always set loader. Never reset to null.
939 2006-12-03 Mark Wielaard <mark@klomp.org>
941 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
943 (isLastChild): Return false when path is null.
945 2006-12-03 Mark Wielaard <mark@klomp.org>
947 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
949 (paintComponent): Work with local reference to currentPaintArea.
950 (updateComponent): Likewise.
951 (coalescePaintEvent): Set currentPaintArea.
953 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
955 * javax/management/MBeanServerBuilder.java: New file.
957 2006-12-01 Mark Wielaard <mark@klomp.org>
959 * java/text/DecimalFormat.java (parse): Always increment parsing
960 index and adjust pos result.
962 2006-12-01 Roman Kennke <kennke@aicas.com>
964 * javax/swing/text/html/HTML.java
965 (Attribute.DYNAMIC_CLASS): New field.
966 (Attribute.PSEUDO_CLASS): New field.
967 * javax/swing/text/html/HTMLDocument.java
968 (HTMLReader.CharacterAction.start): Initialize anchor with link
970 (updateSpecialClass): New helper method. Updates the dynamic
971 or pseudo class for anchor tags.
972 * javax/swing/text/html/HTMLEditorKit.java
973 (LinkController.lastAnchorElement): New field. For tracking
974 enter/exit of anchors.
975 (LinkController.activateLink): Set pseudo class to 'visited'.
976 (LinkController.mouseMoved): Added support for tracking
977 the 'hover' dynamic class.
978 * javax/swing/text/html/InlineView.java
979 (changedUpdate): Fetch new properties.
980 * javax/swing/text/html/StyleSheet.java
981 (attributeSetToMap): New helper method.
982 (getRule): Also append dynamic and pseudo class to key.
983 (resolveStyle): Resolve style based generally on all attributes.
984 * javax/swing/text/html/TableView.java
985 (RowView.layoutMajorAxis): Make sure the grid is valid.
986 (updateGrid): Made package private.
987 * gnu/javax/swing/text/html/css/Selector.java
988 (calculateSpecificity): Added support for dynamic and pseudo classes.
989 (matches): Changed to operate on general attributes.
990 Added support for dynamic and pseudo classes.
992 2006-12-01 Mario Torre <neugens@limasoftware.net>
994 * java/text/DecimalFormat.java (formatInternal): move the formatting of
995 fractional portion in a separate method.
996 Also fixes the handling of decimal separator and its associated field.
997 (handleFractionalPart): new method, needed to relax a bit
1000 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
1002 * java/beans/beancontext/BeanContextServicesSupport.java:
1003 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1004 Class)): Implemented.
1005 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1006 Class, Object)): Implemented.
1007 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1008 Object, Object)): Implemented.
1009 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1011 (initialiseBeanContextResources()): Implemented.
1012 (releaseBeanContextResoures()): Implemented.
1014 2006-12-01 Mark Wielaard <mark@klomp.org>
1016 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1018 2006-12-01 Roman Kennke <kennke@aicas.com>
1020 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1021 handling border styles.
1022 * gnu/javax/swing/text/html/css/BorderWidth.java
1023 (isValid): New method.
1024 * gnu/javax/swing/text/html/css/Length.java
1025 (isValid): New method.
1026 * javax/swing/text/html/CSS.java
1027 (addInternal): Added shorthand parsing for border, padding and
1029 (parseBackgroundShorthand): Added API docs.
1030 (parsePaddingShorthand): New method. Handles padding shorthand
1032 (parseMarginShorthand): New method. Handles margin shorthand
1034 (parseBorderShorthand): New method. Handles border shorthand
1036 * javax/swing/text/html/StyleSheet.java
1037 (translateHTMLToCSS): Set specific padding attributes.
1038 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1039 These shorthands are now handled in CSS.
1040 (BoxPainter.paint): Exclude the outer margin.
1042 2006-12-01 Roman Kennke <kennke@aicas.com>
1044 * gnu/javax/swing/text/html/css/Length.java
1045 (emBase): New field.
1046 (exBase): New field.
1047 (isFontEMRelative): New field.
1048 (isFontEXRelative): New field.
1049 (Length): Recognize and setup EM and EX relative values.
1050 (getValue): Handle EM and EX relative values.
1051 (isEMRelative): New method.
1052 (isEXRelative): New method.
1053 (setEMBase): New method.
1054 (setEXBase): New method.
1055 (setFontBases): New method.
1056 * gnu/javax/swing/text/html/parser/support/Parser.java
1057 (_handleEmptyTag): Use new isBlock() helper method.
1058 (_handleEndTag_remaining): Use new isBlock() helper method.
1059 (_handleStartTag): Consume whitespace after block start tag.
1060 (Comment): Consume whitespace after a comment.
1061 (isBlock): New helper method.
1062 (readAttributes): Consider all characters in unquoted attribute
1064 * javax/swing/text/html/BlockView.java
1065 (layoutMinorAxis): Use cached span value.
1066 (paint): Added debug code (commented out).
1067 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1068 * javax/swing/text/html/CSSBorder.java
1069 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1071 (getBorderWidth): Set the EM and EX base on the length values.
1072 * javax/swing/text/html/HTMLDocument.java
1073 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1074 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1075 (HTMLReader.inImpliedParagraph): Removed.
1076 (HTMLReader.inParagraph): Removed.
1077 (HTMLReader.parseStack): New field.
1078 (HTMLReader.addContent): Use new paragraph handling.
1079 (HTMLReader.addSpecialElement): Use new paragraph handling.
1080 (HTMLReader.blockClose): Use new paragraph handling.
1081 (HTMLReader.blockOpen): Use new paragraph handling.
1082 (HTMLReader.inImpliedParagraph): New helper method.
1083 (HTMLReader.inParagraph): New helper method.
1084 * javax/swing/text/html/ImageView.java
1085 (attributes): New field. Caches view attributes.
1086 (spans): New field. Caches CSS spans.
1087 (getAttributes): Correctly setup CSS view attributes.
1088 (getPreferredSpan): Use caches spans.
1089 (getStyleSheet): Use the view's getDocument() method.
1090 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1091 (updateSize): Use cached spans.
1092 * javax/swing/text/html/ParagraphView.java
1093 (setPropertiesFromAttributes): Setup EM and EX.
1094 * javax/swing/text/html/StyleSheet.java
1095 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1096 (getEMBase): New helper method.
1097 (getEXBase): New helper method.
1098 * javax/swing/text/html/TableView.java
1099 (width): New field. Caches the table width.
1100 (calculateMinorAxisRequirements): Use caches span.
1101 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1102 (updateGrid): Correctly setup EM/EX.
1104 2006-11-30 Roman Kennke <kennke@aicas.com>
1106 * javax/swing/text/html/FormSubmitEvent.java: New class.
1107 * javax/swing/text/html/FormView.java
1108 (SubmitThread): New class for submitting data in a separate thread.
1109 (actionPerformed): Fetch the actual for data.
1110 (addData): New helper method.
1111 (getElementFormData): New helper method.
1112 (getFormData): New helper method.
1113 (getInputFormData): New helper method.
1114 (submitData): Implemented.
1115 * javax/swing/text/html/FrameView.java
1116 (createComponent): Add this as hyperlink listener.
1117 Set the target document as frame document.
1118 (getTopEditorPane): New helper method.
1119 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1120 (handleHyperlinkEvent): New helper method.
1121 (handleFormSubmitEvent): New helper method.
1122 * javax/swing/text/html/HTMLDocument.java
1123 (HTMLReader.BaseAction.start): Track the base target.
1124 (HTMLReader.BaseAction.end): Removed.
1125 (baseTarget): New field.
1126 (frameDocument): New field.
1127 (getBaseTarget): New property accessor.
1128 (isFrameDocument): New property accessor.
1129 (processHTMLFrameHyperlinkEvent): Implemented.
1130 (setFrameDocument): New property accessor.
1131 (updateFrame): New helper method.
1132 (updateFrameSet): New helper method.
1133 * javax/swing/text/html/HTMLEditorKit.java
1134 (LinkController.createHyperlinkEvent): Handle frame documents.
1135 (autoFormSubmission): New field.
1136 (HTMLEditorKit): Set autoFormSubmission to true.
1137 (isAutoFormSubmission): New property accessor.
1138 (setAutoFormSubmission): New property accessor.
1140 2006-11-30 Roman Kennke <kennke@aicas.com>
1142 * javax/swing/text/ElementIterator.java
1143 (ElementRef): New inner class.
1144 (currentDepth): Removed.
1145 (currentElement): Removed.
1146 (previousItem): Removed.
1147 (stack): New field. Holds the iteration stack.
1149 (ElementIterator(Document)): Removed init of removed fields.
1150 (ElementIterator(Element)): Removed init of removed fields.
1151 (current): Changed to stack based algorithm.
1152 (deepestLeaf): New helper method.
1153 (depth): Changed to stack based algorithm.
1154 (first): Changed to stack based algorithm.
1155 (next): Changed to stack based algorithm.
1156 (previous): Changed to stack based algorithm.
1158 2006-11-30 Francis Kung <fkung@redhat.com>
1160 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1161 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1163 2006-11-30 Francis Kung <fkung@redhat.com>
1165 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1166 (draw): Set transform in buffered composite.
1167 (drawComposite): Do not transform bounds; round bounds.
1168 (drawGlyphVector): Set transform in buffered composite.
1169 (drawRenderedImage): Set transform in buffered composite.
1170 (fill): Set transform in buffered composite.
1171 (updateBufferedImage): Fix scanline & height calculations.
1172 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1173 (createPath): Simplify width & height calculation.
1174 (drawImage): Also transform width & height.
1176 2006-11-30 Roman Kennke <kennke@aicas.com>
1178 * javax/swing/text/html/FrameSetView.java: New class. Implements
1180 * javax/swing/text/html/FrameView.java: New class. Implements
1182 * javax/swing/text/html/HTMLDocument.java:
1183 (HTMLReader.addSpecialElement): Only add one artificial space.
1184 * javax/swing/text/html/HTMLEditorKit.java
1185 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1186 * gnu/javax/swing/text/html/parser/support/Parser.java
1187 (_handleEmptyTag): Also consume whitespace after frame tags.
1189 2006-11-30 Gary Benson <gbenson@redhat.com>
1191 * java/lang/Thread.java: Javadoc fixes.
1193 2006-11-29 Tom Tromey <tromey@redhat.com>
1196 * java/lang/Class.java (getAnnotations): Rewrote.
1198 2006-11-29 Tania Bento <tbento@redhat.com>
1200 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1201 (parseParams): Unescape 'val' before putting it into the Map.
1202 (unescapeString): New private method.
1204 2006-11-29 Tom Tromey <tromey@redhat.com>
1206 * tools/gnu/classpath/tools/getopt/package.html: New file.
1208 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1210 * javax/swing/plaf/metal/MetalIconFactory.java
1211 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1212 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1214 2006-11-29 Mario Torre <neugens@limasoftware.net>
1216 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1217 with the default international currency sign \u00A4.
1218 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1219 table for string formatting.
1220 (formatInternal): likewise.
1221 (scanNegativePattern): likewise.
1222 (applyPattern): likewise.
1223 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1224 Locale is immutable and does not need clone.
1226 2006-11-29 Francis Kung <fkung@redhat.com>
1228 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1229 (drawLine): Remove hard-coded pixel shifting.
1231 2006-11-29 Roman Kennke <kennke@aicas.com>
1233 * java/awt/Component.java
1234 (isShowing): Simplified condition code and avoid unnecessary
1236 (coalesceEvents): Always coalesce paint events and let the peer
1237 figure out the expanding of the repaint area.
1238 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1239 (currentPaintEvents): Removed. Replaced by paintArea.
1240 (paintArea): New field. Tracks the dirty area.
1241 (SwingComponentPeer): Removed init of currentPaintEvents.
1242 (coalescePaintEvent): Simplified to only union the dirty regions.
1243 (handleEvent): Paint dirty region that was tracked in paintArea.
1244 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1245 (paintArea): New field. Tracks the dirty region.
1246 (coalescePaintEvent): Implemented to track the dirty region.
1247 (paintComponent): Use the dirty region in paintArea. Protect
1248 state by putting the paint and dispose code in a try-finally.
1249 (updateComponent): Use the dirty region in paintArea. Protect
1250 state by putting the paint and dispose code in a try-finally.
1252 2006-11-29 Roman Kennke <kennke@aicas.com>
1254 * java/awt/font/TextLayout.java
1255 (getVisualHighlightShape): Removed debug output.
1257 2006-11-28 Andrew Haley <aph@redhat.com>
1259 * vm/reference/sun/reflect/misc/ReflectUtil.java
1260 (checkPackageAccess): Implement.
1262 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1264 * native/jni/java-lang/java_lang_VMDouble.c:
1265 (parseDoubleFromChars) New function. Factored out from ...
1266 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1267 (dtoa_toString): New function. Factored out from ...
1268 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1269 Changed conversion mode to 2, as modes 0 and 1 don't round
1270 as the API spec demands. Invoke conversion function as often
1271 as necessary with growing precision until a reversible
1272 representation of the double in form of a string is reached.
1274 2006-11-28 Roman Kennke <kennke@aicas.com>
1276 * javax/swing/JComponent.java
1277 (putClientProperty): Do not fire event when both old and new
1280 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1282 * java/lang/Enum.java:
1283 Make name and ordinal final.
1285 2006-11-27 Casey Marshall <csm@gnu.org>
1287 * java/util/jar/JarEntry.java (certs): removed.
1288 (jarfile): new field.
1289 (getCertificates): read the certificates from the containing JarFile.
1290 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1291 fill in 'certs,' fill in 'jarfile' for the entry.
1292 (getEntry): likewise.
1294 2006-11-27 Francis Kung <fkung@redhat.com>
1296 * java/awt/image/WritableRaster.java
1297 (createChild): Implemented.
1299 2006-11-27 Roman Kennke <kennke@aicas.com>
1301 * java/awt/font/TextLayout.java
1302 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1303 (getVisualHighlightShape): Implemented.
1304 (layoutRuns): Fixed boundary so that the last run is also laid out.
1305 (left): New helper method.
1306 (right): New helper method.
1308 2006-11-27 Roman Kennke <kennke@aicas.com>
1310 * java/awt/font/TextLayout.java
1311 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1312 (getCaretShape(TextHitInfo)): Use natural bounds.
1313 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1314 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1315 above with DEFAULT_CARET_POLICY.
1316 (getCaretShapes(int)): Use natural bounds.
1318 2006-11-27 Roman Kennke <kennke@aicas.com>
1320 * java/awt/font/TextLayout.java
1321 (Run.font): New field.
1322 (Run.location): New field.
1323 (Run.Run): Initialize font.
1324 (font): Removed field. This is moved into Run as the actual font
1325 is something run-specific.
1326 (TextLayout(String,Font,FontRenderContext)): Set font on the
1327 single runs. Layout the runs here.
1328 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1329 (findRunAtIndex): New helper method.
1330 (getCaretInfo): Implemented.
1331 (layoutRuns): New helper method.
1332 (toString): Don't put font in output string.
1334 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1336 * AUTHORS: Added Jeroen Fritjers.
1338 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1340 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1341 for FieldPosition to be null.
1342 Check if the factional part is just 0 and can be omitted from the
1344 (scanNegativePattern): Fixed index out of bound exception when searching
1345 for international currency symbol in negative pattern.
1347 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1349 * java/beans/beancontext/BeanContextSupport.java:
1350 (readObject(ObjectInputStream)): Implemented.
1351 (writeObject(ObjectOutputStream)): Likewise.
1352 (BCSChild.getTargetChild()): Added.
1353 (bcsPreDeserializationHook()): Implemented.
1354 (bcsPreSerializationHook()): Likewise.
1355 (childDeserializedHook(Object,BCSChild)): Likewise.
1356 (isSerializing()): Likewise.
1357 (readChildren(ObjectInputStream)): Likewise.
1358 (writeChildren(ObjectOutputStream)): Likewise.
1360 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1361 Ian Lance Taylor <ian <at> airs.com>
1362 Paolo Bonzini <bonzini <at> gnu.org>
1366 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1367 increased portability. Likewise, use -f instead of -e.
1369 2006-11-26 Mark Wielaard <mark@klomp.org>
1371 * lib/Makefile.am (propertydirs): Removed.
1372 (resources): Explicitly create all dirs.
1374 2006-11-26 Mark Wielaard <mark@klomp.org>
1376 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1378 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1380 * native/target/.cvsignore,
1381 native/target/generic/.cvsignore,
1382 native/target/Linux/.cvsignore:
1383 Removed no longer used files.
1385 * native/target: Removed no longer used directory.
1387 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1391 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1392 (Java_gnu_java_nio_VMSelector_select):
1393 Use strerror if strerror_r is not available.
1395 Reported by: Michael Franz <mvfranz@gmail.com>,
1396 Riccardo Mottola <zuse@libero.it>
1398 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1402 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1403 STRICT_WARNING_CFLAGS since it caused the build to fail
1406 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1408 * doc/vmintegration.texinfo: Update VM Threading Model section.
1410 2006-11-26 Tom Tromey <tromey@redhat.com>
1412 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1414 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1416 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1417 Conditionally include ifaddrs.h.
1418 (getif_address): Updated conditional.
1419 (getif_index): Likewise.
1420 * configure.ac: Check for ifaddrs.h.
1422 2006-11-25 Mark Wielaard <mark@klomp.org>
1424 * java/io/File.java (list): Return empty list for unreadable dirs.
1426 2006-11-25 Mark Wielaard <mark@klomp.org>
1428 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1429 Synchronize on font peer.
1430 (setFont): Likewise.
1431 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1433 (getTextMetrics): Likewise.
1435 2006-11-25 Roman Kennke <kennke@aicas.com>
1437 * javax/swing/text/GapContent.java
1438 (getPositionsInRange): Rewritten to use the more efficient
1439 binary search searchFirst() and avoid an NPE that was caused
1442 2006-11-25 Mark Wielaard <mark@klomp.org>
1444 * javax/swing/text/CompositeView.java (modelToView): Never return
1447 2006-11-25 Mark Wielaard <mark@klomp.org>
1449 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1450 Check whether rowView instanceof RowView.
1451 (updateGrid): Likewise.
1453 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1456 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1457 * java/text/NumberFormat.java (format): all format methods, fixed
1458 FieldPosition argument should never be null.
1459 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1460 method is not final.
1461 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1463 * AUTHORS: added my name to the file.
1465 2006-11-25 Mark Wielaard <mark@klomp.org>
1467 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1468 getChildAllocation() returning null.
1470 2006-11-25 Mark Wielaard <mark@klomp.org>
1472 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1473 Use clazzIndex for id substring.
1475 2006-11-25 Mark Wielaard <mark@klomp.org>
1477 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1478 it is still running.
1480 2006-11-25 Mark Wielaard <mark@klomp.org>
1483 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1486 2006-11-24 Tania Bento <tbento@redhat.com>
1488 * java/awt/font/TextHitInfo.java
1489 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1490 (beforeOffset): Decreased first parameter by 1.
1492 2006-11-24 Francis Kung <fkung@redhat.com>
1494 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1495 (constructor): Check sample model when setting fastCM flag.
1496 (updateBufferedImage): Check scanline and sample model offsets before
1497 copying data directly into the image data buffer.
1499 2006-11-24 Francis Kung <fkung@redhat.com>
1501 * gnu/java/awt/java2d/QuadSegment.java
1502 (offsetSubdivided): Handle special straight-line cases.
1504 2006-11-24 Roman Kennke <kennke@aicas.com>
1506 * java/awt/dnd/DropTarget.java
1507 (DropTargetAutoScroller.HYSTERESIS): New constant.
1508 (DropTargetAutoScroller.DELAY): New constant.
1509 (DropTargetAutoScroller.inner): New field. A cached
1511 (DropTargetAutoScroller.outer): New field. A cached
1513 (DropTargetAutoScroller.timer): New field. The actual timer.
1514 (DropTargetAutoScroller.DropTargetAutoScroller):
1516 (DropTargetAutoScroller.actionPerformed): Implemented.
1517 (DropTargetAutoScroller.stop): Implemented.
1518 (DropTargetAutoScroller.updateLocation): Implemented.
1519 (clearAutoscroll): Stop the autoscroller before nullifying it.
1520 (createDropTargetAutoScroller): Don't set the field here,
1521 only return a new instance.
1522 (dragEnter): Only do something when active. Initialize
1524 (dragExit): Only do something when active. Stop auto scrolling.
1525 (dragOver): Only do something when active. Update auto scrolling.
1526 (drop): Only do something when active. Update auto scrolling.
1527 (dropActionChanged): Only do something when active. Update
1529 (initializeAutoScrolling): Check if component is an instance
1530 of Autoscroll, otherwise do nothing.
1531 (setActive): Disable autoscrolling when deactivating.
1532 (setComponent): When component is set to null, disable autoscrolling.
1534 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1536 * java/beans/beancontext/BeanContextServicesSupport.java
1537 (getChildBeanContextServicesListener): Implemented.
1539 2006-11-23 Roman Kennke <kennke@aicas.com>
1541 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1542 (createGraphics): Use constructor to create new instance of
1543 BufferedImageGraphics.
1544 * java/awt/Toolkit.java
1545 (getDefaultToolkit): Really try to get a real toolkit. Only
1546 use HeadlessToolkit if no other is available.
1547 * gnu/java/awt/peer/gtk/GtkToolkit.java
1548 (checkHeadless): New helper method. Checks for headless environment
1549 and throws HeadlessException if appropriate.
1550 (createButton): Check for headless.
1551 (createCanvas): Check for headless.
1552 (createCheckbox): Check for headless.
1553 (createCheckboxMenuItem): Check for headless.
1554 (createChoice): Check for headless.
1555 (createDialog): Check for headless.
1556 (createDragGestureRecognizer): Check for headless.
1557 (createDragSourceContextPeer): Check for headless.
1558 (createEmbeddedWindow): Check for headless.
1559 (createFileDialog): Check for headless.
1560 (createFrame): Check for headless.
1561 (createCheckbox): Check for headless.
1562 (createLabel): Check for headless.
1563 (createList): Check for headless.
1564 (createMenu): Check for headless.
1565 (createMenuBar): Check for headless.
1566 (createMenuItem): Check for headless.
1567 (createPanel): Check for headless.
1568 (createPopupMenu): Check for headless.
1569 (createScrollbar): Check for headless.
1570 (createScrollPane): Check for headless.
1571 (createTextArea): Check for headless.
1572 (createTextField): Check for headless.
1573 (createWindow): Check for headless.
1575 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1577 * java/beans/beancontext/BeanContextSupport.java
1578 (deserialize): Implemented,
1579 (serialize): Implemented.
1581 2006-11-23 Roman Kennke <kennke@aicas.com>
1583 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1584 (createGraphics): Try to use Cairo graphics if available.
1586 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1588 * java/beans/beancontext/BeanContextSupport.java
1589 (toArray): Added API docs,
1590 (toArray(Object[])): Added API docs, removed NotImplementedException.
1592 2006-11-22 Tania Bento <tbento@redhat.com>
1594 * javax/swing/JRootPane.java
1595 (setLayeredPane): Added documentation; throw
1596 IllegalComponentStateException if layered pane parameter is null.
1598 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1600 * java/beans/beancontext/BeanContextSupport.java
1601 (avoidingGui): Removed NotImplementedException.
1603 2006-11-22 Francis Kung <fkung@redhat.com>
1605 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1606 (drawGlyphVector): Clip updated area to glyph bounds.
1607 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1608 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1609 x-coordinate and y-coordinate pixel shifting.
1610 (shifted): Removed method.
1611 (shiftX): New method, recognising scaling transforms.
1612 (shiftY): New method, recognising scaling transforms.
1613 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1615 2006-11-22 Roman Kennke <kennke@aicas.com>
1617 * java/awt/font/TextLayout.java
1618 (hash): New field. Caches the hash code.
1619 (hashCode): Implemented.
1621 2006-11-22 Roman Kennke <kennke@aicas.com>
1623 * java/awt/image/ImageFilter.java
1624 Reformat whole class.
1625 (getFilterInstance): Don't touch the consumer field. Don't check
1627 (imageComplete): Don't check consumer.
1628 (setColorModel): Don't check consumer.
1629 (setDimensions): Don't check consumer.
1630 (setHints): Don't check consumer.
1631 (setPixels): Don't check consumer.
1632 (setProperties): Pass the original property too.
1633 * java/awt/image/IndexColorModel.java
1634 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1635 transparent pixel by calling the new helper method.
1636 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1637 transparent pixel by calling the new helper method.
1638 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1639 transparent pixel by calling the new helper method.
1640 (coerceData): Removed. This is not needed.
1641 (getAlpha): Simply return value from color map. The transparent
1642 pixel has to be there.
1643 (setTransparentPixel): New helper method. Inserts the transparent
1645 * java/awt/image/RGBImageFilter.java
1646 Reformat whole class.
1647 (convertColorModelToDefault): Removed. No longer needed.
1648 (filterIndexColorModel): Don't handle transparent pixels
1650 (filterRGBPixels): Set pixels on consumer already.
1651 (makeColor): Removed. No longer needed.
1652 * java/awt/image/ReplicateScaleFilter.java
1653 (replicatePixels): Removed.
1654 (setDimension): Correctly compute destination size, avoid double
1656 (setPixels): Avoid double calculations. Fixed some boundary cases.
1657 (setupSources): New helper method.
1658 * java/awt/image/SampleModel.java
1659 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1661 * java/awt/image/SinglePixelPackedSampleModel.java
1662 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1663 This is not needed as the superclass already copies line
1665 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1666 removed some checks that the RI also doesn't perform. Call
1667 DataBuffer.setElem().
1669 2006-11-22 Roman Kennke <kennke@aicas.com>
1671 * java/awt/text/TextLayout.java
1672 (getLogicalRangesForVisualSelection): Implemented.
1674 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1676 * sun/reflect/annotation/AnnotationParser.java,
1677 * sun/reflect/annotation/AnnotationType.java,
1678 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1679 * sun/reflect/annotation/ExceptionProxy.java:
1681 * sun/misc/ServiceConfigurationError.java,
1682 * sun/misc/Service.java:
1685 2006-11-21 Roman Kennke <kennke@aicas.com>
1687 * java/awt/text/TextLayout.java
1688 (Run.isLeftToRight): New helper method.
1689 (logicalToVisual): New field. Maps logical indices to visual
1691 (visualToLogical): New field. Maps visual indices to logical
1693 (TextLayout): Setup mappings.
1694 (setupMappings): New method for setting up the mappings.
1695 (getCharacterLevel): Reorganized code.
1696 (getNextLeftHit(int)): Implemented.
1697 (getNextLeftHit(int,CaretPolicy)): New method.
1698 (getNextLeftHit(TextHitInfo)): Implemented.
1699 (getNextRightHit(int)): Implemented.
1700 (getNextRightHit(int,CaretPolicy)): New method.
1701 (getNextRightHit(TextHitInfo)): New method.
1702 (getVisualOtherHit): Implemented.
1703 (checkHitInfo): New helper methods for checking parameters.
1704 (hitToCaret): New helper method. Maps hit infos to caret locations.
1705 (caretToHit): New helper method. Maps caret locations to hit infos.
1706 (isCharacterLTR): New helper method.
1707 (CaretPolicy.getStrongCaret): Implemented.
1709 2006-11-21 Francis Kung <fkung@redhat.com>
1711 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1712 (draw): Include stroke width when calculating bounds.
1713 (updateBufferedImage): Round bounds more generously, handle negative
1714 height/width values, and clip more intelligently.
1715 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1716 (createPath): Add shortcut optimization for lines.
1717 (draw): Include stroke width when calculating bounds.
1718 (drawLine): Delegate to main draw() method.
1719 (drawRect): Likewise.
1720 (fillRect): Delegate to main fill() method.
1721 (findStrokedBounds): New method.
1722 (setCustomPaint): Round bounds more generously.
1723 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1724 (drawLine): Removed.
1725 (drawRect): Removed.
1726 (fillRect): Removed.
1728 2006-11-21 Francis Kung <fkung@redhat.com>
1730 * gnu/java/awt/java2d/TexturePaintContext.java
1731 (getRaster): Handle negative coordinate values.
1732 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1733 (setPaint): Moved custom paint processing to a new method.
1734 (setPaintPixels): Added x, y parameters.
1735 (getRealBounds): Added documentation.
1736 (copy): Copy clipping information.
1737 (drawLine): Process custom paints.
1738 (setCustomPaint): New method.
1739 (fill): Process custom paints.
1740 (drawGlyphVector): Process custom paints.
1741 (drawRect): Process custom paints.
1742 (draw): Process custom paints.
1743 * gnu/java/awt/peer/gtk/CairoSurface.java
1744 (cairoCM_opaque): New constant.
1745 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1746 (argb32): Removed constant.
1747 (rgb32): Removed constant.
1748 (BufferedImageGraphics(BufferedImage)): Updated constant names.
1749 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1750 (updateBufferedImage): Transform to device-space before updating.
1751 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1752 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1755 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1756 source at designated x, y origin.
1758 2006-11-21 Roman Kennke <kennke@aicas.com>
1760 * java/awt/text/TextLayout.java
1761 (Run): New inner helper class.
1762 (length): New field.
1763 (naturalBounds): New field.
1764 (offset): New field.
1765 (runIndices): Removed. This is now encapsulate in a Run object.
1766 (runs): Changed to Run[].
1767 (string): Changed to char[].
1768 (totalAdvance): New field. Caches advance value.
1769 (TextLayout(String,Font,FontRenderContext)): Change to store
1770 string as char[] and run layout as Run[]. Clean out empty
1772 (TextLayout(TextLayout,int,int)): Change to store
1773 string as char[] and run layout as Run[].
1774 (clone): Call private constructor for maximum efficiency.
1775 (determineWhitespace): Adapted to use char[] data.
1776 (draw): Adapted to use Run objects.
1777 (getAdvance): Cache computed total advance.
1778 (getBlackBoxBounds): Adapted to use Run objects.
1779 (getCaretInfo): Use natural layout bounds.
1780 (getCharacterCount): Return length field.
1781 (getLogicalHighlightShape): Adapted to use Run objects.
1782 (getNaturalBounds): New helper method. Calculates and returns the
1783 natural bounds of this text layout.
1784 (getOutline): Adapted to use Run objects.
1785 (getStringProperties): Adapted to use char[] data.
1786 (getVisibleAdvance): Adapted to use char[] and Run data.
1787 (handleJustify): Adapted to use char[] and Run data.
1788 (hitTestChar(float,float,Rectangle2D)): Implemented.
1789 (hitTestChar(float,float)): Use natural bounds.
1790 (setCharIndices): Adapted to use char[] and Run data.
1791 (toString): Adapted to use char[] and Run data.
1792 * java/text/Bidi.java
1793 (requiresBidi): Exclude paragraph separators from bidi-triggers.
1795 2006-11-21 Roman Kennke <kennke@aicas.com>
1797 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1798 Removed. This is now an inner class in GdkFontPeer.
1799 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1800 (drawString(float,float)): Use text layout cache from
1802 (getFontMetrics): Delegate to GdkFontPeer.
1803 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1804 (getGlyphCodes): Also check array size.
1805 (getGlyphPositions): Also check array size.
1806 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1807 (GdkFontLineMetrics.fm): Removed.
1808 (GdkFontLineMetrics.strikeThroughOffset): Removed.
1809 (GdkFontLineMetrics.strikeThroughThickness): Removed.
1810 (GdkFontLineMetrics.underlineOffset): Removed.
1811 (GdkFontLineMetrics.underlineThickness): Removed.
1812 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1813 FontMetrics argument. Don't init removed fields.
1814 (GdkFontLineMetrics.getAscent): Return font peer's field.
1815 (GdkFontLineMetrics.getDescent): Return font peer's field.
1816 (GdkFontLineMetrics.getHeight): Return font peer's field.
1817 (GdkFontLineMetrics.getLeading): Return font peer's field.
1818 (GdkFontLineMetrics.getNumChars): Reformat.
1819 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1820 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1821 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1822 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1823 (GdkFontMetrics): Moved class in here as inner class.
1824 Make it use the font peer's fields and for the char(s) width
1825 and string width method, use TextLayout to measure the actual widths.
1826 (ascent): New field.
1828 (DEFAULT_CTX): New constant field.
1829 (descent): New field.
1830 (FONT_METRICS_ASCENT): New constant.
1831 (FONT_METRICS_DESCENT): New constant.
1832 (FONT_METRICS_HEIGHT): New constant.
1833 (FONT_METRICS_MAX_ADVANCE): New constant.
1834 (FONT_METRICS_MAX_ASCENT): New constant.
1835 (FONT_METRICS_MAX_DESCENT): New constant.
1836 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1837 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1838 (height): New field.
1839 (maxAdvance): New field.
1840 (maxAscent): New field.
1841 (maxDescent): New field.
1842 (metrics): New field. Stores a FontMetrics for this font.
1843 (textLayoutCache): New field. Caches TextLayout instances.
1844 (underlineOffset): New field.
1845 (underlineThickness): New field.
1846 (cinit): Don't initialize resource bundle.
1847 (GdkFontPeer): Setup the metrics.
1848 (getFontMetrics): Return stored metrics if possible.
1849 (getLineMetrics): Adapt to new constructor.
1850 (initFont): New helper method.
1851 (setupMetrics): New helper method.
1852 * gnu/java/awt/peer/gtk/GtkToolkit.java
1853 (LRUCache): Made class a static class.
1854 (getFontMetrics): Delegate to GdkFontPeer.
1855 * native/jni/gtk-peer/gdkfont.h
1856 Added new constant defines.
1857 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1858 (getFontMetrics): Rewritten to fetch the font metrics from
1861 2006-11-20 Tania Bento <tbento@redhat.com>
1863 * javax/swing/ButtonGroup.java:
1864 (setSelected): Select the ButtonModel if all conditions
1867 2006-11-20 Tania Bento <tbento@redhat.com>
1869 * javax/swing/JSlider.java:
1870 (updateLabelUIs): Removed casting.
1872 2006-11-20 Mark Wielaard <mark@klomp.org>
1874 * gnu/java/util/regex/RE.java (messages): Don't initialize.
1875 (bundle): New static final String field.
1876 (getLocalizedMessage): Initialize messages when still null.
1877 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1878 (set): Use RE.getLocalizedMessage().
1880 (setLineSeparator): Likewise.
1882 2006-11-20 Roman Kennke <kennke@aicas.com>
1884 * javax/swing/text/html/StyleSheet.java
1885 (linked): New field.
1886 (styleSheet): Replaced by linked.
1887 (addStyleSheet): Use an arraylist for simplicity.
1888 (getRule): Removed useless instantiation.
1889 (getStyleSheets): Convert array list to array.
1890 (removeStyleSheet): Use an arraylist for simplicity.
1891 (resolveStyle): Include styles from linked lists.
1893 2006-11-20 Roman Kennke <kennke@aicas.com>
1895 * javax/swing/text/BoxView.java
1896 (BoxView): Initialize with invalid req's.
1897 (forwardUpdate): Trigger repaint when children changed the
1899 (getResizeWeight): Return resizable when the pref differs from
1900 the min or the pref differs from the max size.
1901 (layoutMajorAxis): Actually sum up the preferred sizes.
1902 (paint): Made binary search more robust.
1903 (replace): Let arrays shrink when needed.
1904 (replaceLayoutArray): Let arrays shrink when needed.
1905 (setAxis): Trigger preferenceChanged.
1906 * javax/swing/text/CompositeView.java
1907 (getInsideAllocation): Call insets method to take account
1908 of overriding subclasses.
1909 * javax/swing/text/DefaultStyledDocument.java
1910 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1911 (ElementBuffer.insertUpdate): Only remove the found element, not
1913 * javax/swing/text/GlyphView.java
1914 (insertUpdate): Pass null in preferenceChanged.
1915 (removeUpdate): Pass null in preferenceChanged.
1916 (changedUpdate): Pass null in preferenceChanged.
1917 * javax/swing/text/Utilities.java
1918 (drawTabbedText): Avoid single calls to charWidth() and instead
1919 call charsWidth() on whole chunks.
1920 * javax/swing/text/html/HTMLDocument.java
1921 (BlockElement.getName): Fall back to super when necessary.
1922 (RunElement.getName): Fall back to super when necessary.
1923 (HTMLReader.MAX_THRESHOLD): New constant field.
1924 (HTMLReader.GROW_THRESHOLD): New constant field.
1925 (HTMLReader.theshold): New field.
1926 (HTMLReader.HTMLReader): Fetch threshold from document.
1927 (HTMLReader.addContent): Sucessivly grow the threshold.
1928 (createLeafElement): Don't create two elemens and don't set
1930 * javax/swing/text/html/TableView.java
1931 (RowView.replace): Invalidate grid.
1932 (gridValid): Made package private.
1933 (layoutMinorAxis): Mark all rows as invalid.
1934 (replace): Invalidate grid.
1936 2006-11-20 Roman Kennke <kennke@aicas.com>
1938 * javax/swing/text/AbstractDocument.java
1939 (DefaultDocumentEvent.changes): Changed to be a HashMap.
1940 (DefaultDocumentEvent.modified): Made private.
1941 (DefaultDocumentEvent.THRESHOLD): New constant field.
1942 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
1944 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
1945 exceeding threshold.
1946 (DefaultDocumentEvent.getChange): Use iterative approach
1947 when we have no hashmap yet.
1948 (documentCV): Removed.
1949 (numWriters): Renamed from numWritersWaiting.
1950 (createPosition): Reformat.
1951 (getCurrentWriter): Synchronized.
1952 (readLock): Implement more straightforward.
1953 (readUnlock): Implement more straightforward.
1954 (writeLock): Implement more straightforward.
1955 (writeUnlock): Implement more straightforward.
1956 (remove): Write-lock here.
1957 (removeImpl): Don't write-lock here.
1959 2006-11-20 Roman Kennke <kennke@aicas.com>
1961 * javax/swing/JEditorPane.java
1962 (setPage): Set priority on loading thread.
1964 2006-11-20 Roman Kennke <kennke@aicas.com>
1966 * javax/swing/plaf/basic/BasicTextUI.java
1967 (RootView.paint): Avoid allocation.
1968 (cachedInsets): New field. Caches an Insets instance.
1969 (getNextVisualPositionFrom): Read-lock the document to avoid
1970 thread nastiness. Push allocation.
1971 (getPreferredSize): Push fake allocation when not yet laid out.
1972 (getVisibleEditorRect): Use cached insets.
1973 (viewToModel): Read-lock the document to avoid
1974 thread nastiness. Push allocation.
1976 2006-11-20 Roman Kennke <kennke@aicas.com>
1978 * javax/swing/text/StyleContext.java
1979 (attributeSetPool): Synchronize this map.
1980 (addAttribute): Synchronize this method.
1981 (addAttributes: Synchronize this method.
1982 (readObject): Install synchronized map on target object.
1983 (removeAttribute): Synchronize this method.
1984 (removeAttributes): Synchronize this method.
1985 (removeAttributes): Synchronize this method.
1987 2006-11-20 Roman Kennke <kennke@aicas.com>
1989 * javax/swing/text/GapContent.java
1990 (GapContentPosition.GapContentPosition): Removed constructor.
1991 (Mark): Made subclass of WeakReference to refer directly to
1992 the associated position.
1993 (Mark.refCount): Removed.
1994 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
1995 New constructor. Used to reference a position and register the
1997 (Mark.Mark(index)): Call super and don't adjust mark offset.
1998 (Mark.compareTo): Removed.
1999 (Mark.equals): Removed.
2000 (Mark.getOffset): Return at least null. Removed assert.
2001 (Mark.getPosition): New helper method.
2002 (garbageMarks): New field.
2003 (positions): Removed.
2004 (searchMark): New field.
2005 (GapContent): Removed init of positions map.
2006 (addImpl): New helper method.
2007 (adjustPositionsInRange): Removed.
2008 (compare): New helper method.
2009 (createPosition): Rewritten for new datastructures. This now
2010 performs a much more efficient binary search for finding
2011 a position at the requested offste.
2012 (garbageCollect): Rewritten to collect unused marks.
2013 (getPositionsInRange): Adjusted for new data structures.
2014 (removeImpl): New helper method.
2015 (replace): Use new addImpl() and removeImpl() helper method for
2016 correctly adjusting the positions and gap.
2017 (search): Rewritten. Implements a more suitable binary search.
2018 (searchFirst): New helper method.
2019 (setPositionsInRange): Removed.
2020 (shiftEnd): Update the marks here.
2021 (shiftGap): Update the marks here.
2022 (shiftGapEndUp): Update the marks here.
2023 (shiftGapStartDown): Update the marks here.
2025 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2027 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2028 digest algorithm implementations.
2029 (readSignatures): Parse the manifest once and reuse that data.
2030 Add support for line breaks.
2031 (verifyHashes): Use the parsed manifest entry.
2032 (readManifestEntry): Removed.
2034 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2036 * java/beans/beancontext/BeanContextServicesSupport.java:
2037 Added more documentation.
2038 (addService(Class,BeanContextServiceProvider,boolean)):
2039 Synchronized over global hierarchy lock.
2040 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2041 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2042 (childJustRemovedHook(Object,BCSChild)): Implemented.
2043 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2045 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2046 Added revocation-only listeners.
2047 (getBeanContextServicesPeer()): Implemented.
2048 (getCurrentServiceClasses(Class)): Synchronized over global
2050 (getCurrentServiceSelectors(Class)): Synchronized over global
2051 hierarchy lock, and fixed FIXME.
2052 (getService(BeanContextChild,Object,Class,Object,
2053 BeanContextServiceRevokedListener)): Implemented.
2054 (hasService(Class)): Synchronized over global hierarchy lock.
2055 (releaseService(BeanContextChild,Object,Object)): Implemented.
2056 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2057 * java/beans/beancontext/BeanContextSupport.java:
2058 (remove(Object, boolean)): Documentation correction.
2060 2006-11-19 Roman Kennke <kennke@aicas.com>
2062 * javax/swing/JEditorPane.java
2063 (PageStream): New inner class.
2064 (PageLoader): New inner class.
2065 (loading): New field.
2066 (setPage): Implemented asynchronous loading.
2067 * javax/swing/text/DefaultStyledDocument.java
2068 (ElementBuffer.create): New helper method.
2069 (create): Use new ElementBuffer method instead of hack.
2070 * javax/swing/text/html/HTMLDocument.java
2071 (HTMLReader.flushImpl): New helper method.
2072 (HTMLReader.addContent): Use flushImpl().
2073 (HTMLReader.blockClose): Added null check.
2074 (HTMLReader.flush): Use flushImpl().
2075 * javax/swing/text/html/HTMLEditorKit.java
2076 (createDefaultDocument): Set load priority to 4 and token threshold
2078 * javax/swing/text/html/TableView.java
2079 (insertUpdate): Overridden to provide correct view factory.
2080 (removeUpdate): Overridden to provide correct view factory.
2081 (changedUpdate): Overridden to provide correct view factory.
2083 2006-11-19 Roman Kennke <kennke@aicas.com>
2085 * javax/swing/text/BoxView.java
2086 (clipRect): New field.
2087 (tmpRect): New field.
2088 (layout): Reorganized code. Now uses layoutAxis() helper method.
2089 (layoutAxis): New helper method.
2090 (paint): Optimized by using cached Rectangle objects and
2091 a binary search for child views inside the clip.
2092 * javax/swing/text/CompositeView.java
2093 (insideAllocation): Made private and initialized in constructor.
2094 (getInsideAllocation): Removed initialization block for
2095 insideAllocation field. Avoid unnecessary allocations.
2096 * javax/swing/text/GlyphView.java
2097 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2098 The remaining stuff (background, underline and striking) is
2099 done in the GlpyhView itself. Avoid unnecessary allocations.
2100 (cached): A cached Segment instance.
2101 (getText): Return cached segment.
2102 (paint): Paint underline, strike and background here. Avoid
2105 2006-11-19 Roman Kennke <kennke@aicas.com>
2107 * javax/swing/text/html/StyleSheet.java
2108 (getFontSize): Removed debug output.
2109 (ListPainter.tmpRect): New field.
2110 (ListPainter.paint): Align bullet vertically centered to
2111 the first line of the paragraph.
2113 2006-11-17 Roman Kennke <kennke@aicas.com>
2115 * gnu/javax/swing/text/html/css/CSSParser.java
2116 (parseDeclaration): Trim string before reporting.
2117 * gnu/javax/swing/text/html/css/FontSize.java
2119 (isRelative): New field.
2120 (sizeIndex): New field.
2121 (FontSize): Initialize new fields.
2122 (getValue): Changed to call getValue(int).
2123 (getValue(int)): New method. Implements relative font sizes.
2124 (isRelative): New method.
2125 (mapAbsolute): Store index.
2126 (mapEM): New helper method.
2127 (mapLarger): New helper method.
2128 (mapPercent): New helper method.
2129 (mapRelative): New helper method.
2130 (mapSmaller): New helper method.
2131 (mapValue): New helper method.
2132 * javax/swing/text/html/CSS.java
2133 (parseBackgroundShorthand): Create CSSColor directly.
2134 * javax/swing/text/html/StyleSheet.java
2135 (addRule): Invalidate resolved styles.
2136 (getFont): Call new getFontSize() method to resolve relative
2138 (getFontSize): New helper method. Resolves relative font sizes.
2139 (translateHTMLToCSS): Create CSS objects directly.
2141 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2143 * gnu/java/util/regex/RETokenNamedProperty.java:
2144 (getHandler(String)): Add support for 'all'.
2146 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2148 * gnu/javax/management/Server.java:
2149 Initial implementation of a GNU management server.
2150 * javax/management/MBeanPermission.java,
2151 * javax/management/MBeanRegistration.java,
2152 * javax/management/MBeanTrustPermission.java:
2155 2006-11-17 Mark Wielaard <mark@klomp.org>
2157 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2159 2006-11-17 Gary Benson <gbenson@redhat.com>
2161 * java/net/DatagramSocket.java (getLocalAddress, connect,
2162 receive): Perform security check on address not hostname.
2164 2006-11-16 Roman Kennke <kennke@aicas.com>
2166 * gnu/javax/swing/text/html/parser/support/Parser.java
2167 (_handleText): Fixed condition for consuming whitespace.
2168 Removed validator check, this is superfluous now.
2170 2006-11-16 Roman Kennke <kennke@aicas.com>
2172 * gnu/javax/swing/text/html/css/CSSParser.java
2173 (parseRuleset): Support 'combined' selectors.
2174 (main): Adapt callback for combined selectors support.
2175 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2176 (startStatement): Take selector array as argument, to
2177 support combined selectors.
2178 * javax/swing/text/html/BlockView.java
2179 (calculateMinorAxisRequirements): Fetch and apply alignment.
2180 * javax/swing/text/html/StyleSheet.java
2181 (CSSStyle): Inverted the constants for correct precedence.
2182 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2184 (CSSStyleSheetParserCallback.style): Removed.
2185 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2186 (CSSStyleSheetParserCallback.end): Push multiple styles.
2187 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2189 2006-11-16 Roman Kennke <kennke@aicas.com>
2191 * javax/swing/text/FlowView.java
2192 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2193 * javax/swing/text/GlyphView.java
2194 (tabExpander): New field.
2196 (breakView): Set tabX on broken view.
2197 (getPartialSpan): Let the painter fetch the span.
2198 (getTabbedSpan): Update the tab expander field. Maybe trigger
2200 (getTabExpander): Simply return the stored expander.
2201 * javax/swing/text/Utilities.java
2202 (getTabbedTextOffset): Made algoritm a little smarter and more
2204 (getTabbedTextWidth): Don't add single char widths, instead add
2205 chunks of characters.
2206 * javax/swing/text/html/ParagraphView.java
2207 (calculateMinorAxisRequirements): Adjust margin only when the
2208 CSS span is not fixed.
2210 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2212 * java/beans/beancontext/BeanContextSupport.java
2213 (getChildBeanContextMembershipListener): Implemented,
2214 (getChildPropertyChangeListener): Implemented,
2215 (getChildSerializable): Implemented,
2216 (getChildVetoableChangeListener): Implemented,
2217 (getChildVisibility): Implemented,
2218 (setDesignTime): Use same property name as Sun's implementation.
2220 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2222 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2223 * java/beans/Statement.java
2224 (toString): Updated to match reference implementation.
2226 2006-11-15 Roman Kennke <kennke@aicas.com>
2228 * javax/swing/text/html/HTMLEditorKit.java
2229 (InsertHTMLTextAction.actionPerformed): Also try inserting
2230 the alternate tag. Adjust the selection accordingly.
2231 (InsertHTMLTextAction.adjustSelection): New helper method.
2232 Adjusts the selection after an insertion.
2233 (insertAtBoundary): Delegate to deprecated method.
2234 (insertAtBoundry): Implemented missing method.
2235 (tryInsert): New helper method.
2236 (defaultActions): Implemented to fill the array with
2237 a couple of InsertHTMLTextActions.
2239 2006-11-15 Roman Kennke <kennke@aicas.com>
2241 * javax/swing/text/html/ImageView.java
2242 (Observer): New class. Observes image loading.
2243 (haveHeight): New field.
2244 (haveWidth): New field.
2245 (height): New field.
2248 (imageIcon): New field.
2249 (loading): New field.
2250 (observer): New field.
2251 (reloadImage): New field.
2252 (reloadProperties): New field.
2253 (ImageView): Initialize observer and some flags.
2254 (getImage): Update the image state and return the image.
2255 (loadImage): New helper method. Actually starts loading.
2256 (paint): Rewritten to paint the image directly, not via Icon.
2257 (reloadImage): Rewritten. Loads the image and its properties.
2258 (renderIcon): Removed. No more necessary.
2259 (setPropertiesFromAttributes): Don't nullify image here.
2260 Added comment about missing impl.
2261 (setSize): Added comment about missing impl.
2262 (updateSize): New helper method. Updates the size attributes.
2263 (updateState): New helper method. Makes sure the image
2264 and its properties are valid.
2266 2006-11-15 Roman Kennke <kennke@aicas.com>
2268 * gnu/javax/swing/text/html/parser/support/Parser.java
2269 (_handleEndTag_remaining): Consume whitespace after a closing
2272 2006-11-15 Roman Kennke <kennke@aicas.com>
2274 * javax/swing/text/html/HTMLDocument.java
2275 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2277 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2279 (HTMLReader.parseStack): Removed.
2280 (HTMLReader.blockClose): Simply call addContent() with ' '
2281 instead of doing more complicated stuff. Removed parseStack
2283 (HTMLReader.blockOpen): Removed parseStack handling.
2284 (getInsertingReader): Removed parseStack init.
2285 * gnu/javax/swing/text/html/parser/htmlValidator.java
2286 (closeTag): Return true only when the tag actually should be
2288 * gnu/javax/swing/text/html/parser/support/Parser.java
2289 (_handleEndTag): Only actually close the tag when the validator
2292 2006-11-15 Roman Kennke <kennke@aicas.com>
2294 * javax/swing/text/html/CSS.java
2295 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2297 * javax/swing/text/html/StyleSheet.java
2298 (BoxPainter.bottomPadding): New field.
2299 (BoxPainter.leftPadding): New field.
2300 (BoxPainter.rightPadding): New field.
2301 (BoxPainter.topPadding): New field.
2302 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2304 (BoxPainter.getInset): Recognize and include the padding.
2305 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2306 javax/swing/text/html/TableView.java
2307 (RowView.calculateMajorAxisRequirements): Adjust req's for
2309 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2310 (cellSpacing): New field.
2311 (columnRequirements): Made package private to avoid accessor method.
2312 (calculateMinorAxisRequirements): Include cellSpacing.
2313 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2314 (layoutMajorAxis): Likewise.
2315 (layoutColumns): Respect cellSpacing.
2316 (setParent): Overridden to fetch the CSS attributes when view gets
2318 (setPropertiesFromAttributes): New method. Fetches the cell
2319 spacing from the CSS attributes.
2321 2006-11-15 Roman Kennke <kennke@aicas.com>
2323 * gnu/javax/swing/text/html/parser/support/Parser.java
2324 (_handleText): Consume whitespace directly before a closing tag.
2325 (restOfTag): Consume whitespace directly after opening.
2326 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2327 (preprocess): Don't perform array boundary checking by
2328 catch AIOOBE, instead check the boundary in loop condition.
2329 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2330 (TAG_CLOSE): New constants. Describes the token pattern for
2333 2006-11-14 Roman Kennke <kennke@aicas.com>
2335 * javax/swing/text/html/ImageView.java
2336 (getPreferredSpan): Use CSS length values.
2337 * javax/swing/text/html/TableView.java
2338 (CellView.calculateMajorAxisRequirements): Overridden to
2339 set the maximum reqs to maximum.
2340 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2342 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2343 the total column reqs.
2344 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2345 the total column reqs.
2346 * gnu/javax/swing/text/html/css/CSSColor.java
2347 (convertValue): Catch NumberFormatExceptions for more robustness.
2348 * gnu/javax/swing/text/html/css/FontSize.java
2349 (mapPixels): Actually map px values. Catch NFE for more robustness.
2351 2006-11-14 Roman Kennke <kennke@aicas.com>
2353 * gnu/java/awt/font/autofit/AxisHints.java,
2354 * gnu/java/awt/font/autofit/Constants.java,
2355 * gnu/java/awt/font/autofit/GlyphHints.java,
2356 * nu/java/awt/font/autofit/Latin.java,
2357 * nu/java/awt/font/autofit/LatinAxis.java,
2358 * gnu/java/awt/font/autofit/LatinMetrics.java,
2359 * gnu/java/awt/font/autofit/Scaler.java,
2360 * gnu/java/awt/font/autofit/Script.java,
2361 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2362 * gnu/java/awt/font/autofit/Segment.java,
2363 * gnu/java/awt/font/autofit/Width.java:
2364 New classes. This is some skeleton stuff for the FreeType-alike
2366 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2367 * gnu/java/awt/font/opentype/OpenTypeFont.java
2368 (unitsPerEm): Made field public.
2369 (getRawGlyphOutline): New method. Fetches the raw outline.
2370 * gnu/java/awt/font/opentype/Scaler.java
2371 (getRawGlyphOutline): New method. Fetches the raw outline.
2372 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2373 (loadGlyph): New method. This is used to load raw outlines.
2374 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2375 (getRawOutline): New method. Fetches the raw outline.
2376 * gnu/java/awt/font/opentype/truetype/Zone.java:
2379 2006-11-14 Roman Kennke <kennke@aicas.com>
2381 * javax/swing/RepaintManager.java
2382 (RepaintManager): Fetch the default state for the double buffering
2383 from a system property gnu.swing.doublebuffering.
2385 2006-11-14 Roman Kennke <kennke@aicas.com>
2387 * javax/swing/plaf/basic/BasicLabelUI.java
2388 (cachedInsets): New field.
2389 (getFontMetrics): New helper method. Fetches the font metrics
2390 from the component or the toolkit.
2391 (getPreferredSize): Use getFontMetrics() helper method for
2392 fetching the font metrics.
2393 (paint): Use getFontMetrics() helper method for
2394 fetching the font metrics. Only paint if icon or text
2395 are != null. Use cached insets.
2396 (paintDisabledText): Don't store/restore color object. The
2397 JComponent painting mechanism takes care of this by calling
2399 (paintEnabledText): Don't store/restore color object. The
2400 JComponent painting mechanism takes care of this by calling
2403 2006-11-14 Roman Kennke <kennke@aicas.com>
2405 * gnu/java/awt/peer/GLightweightPeer.java
2406 (handleEvent): Try to do something reasonable and trigger painting
2407 for the lightweight component.
2408 (getFontMetrics): Fetch and return a font metrics object from
2411 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2413 * gnu/java/util/regex/RETokenNamedProperty.java:
2414 (getHandler(String)): Add support for 'all'.
2416 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2418 * AUTHORS: Add myself.
2420 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2422 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2423 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2424 Roman Kennke's entry.
2426 2006-11-13 Roman Kennke <kennke@aicas.com>
2428 * java/awt/image/IndexColorModel.java
2429 (createCompatibleSampleModel): Implemented missing method.
2431 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2433 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2434 from big endian systems correctly.
2436 2006-11-11 Roman Kennke <kennke@aicas.com>
2438 * gnu/javax/swing/text/html/css/CSSColor.java
2439 (isValidColor): New helper method. Checks strings if they
2440 form a valid color value.
2441 * gnu/javax/swing/text/html/css/Length.java
2442 (Length): Catch number format exceptions.
2443 * javax/swing/text/html/CSS.java
2444 (addInternal): New method. Checks for shorthand CSS attributes
2446 (parseBackgroundShorthand): New method. Parses the background
2447 shorthand attribute.
2448 * javax/swing/text/html/HTMLDocument.java
2449 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2450 (HTMLReader.LinkAction.start): Implemented to load the linked
2452 (HTMLReader.LinkAction.end): Removed. This is not needed.
2453 * javax/swing/text/html/StyleSheet.java
2454 (CSSStyleSheetParserCallback.declaration): Push declaration
2455 through CSS.addInternal() to parse shorthand attributes.
2456 (addCSSAttribute): Push declaration through CSS.addInternal()
2457 to parse shorthand attributes.
2458 (importStyleSheet): Implemented. This adds a stylesheet from
2460 * javax/swing/text/html/TableView.java
2461 (calculateColumnRequirements): Increase column index for
2462 non CellView children to avoid endless loop.
2463 * javax/swing/text/CompositeView.java
2464 (setParent): Comparen with numChildren not with real arraylength.
2466 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2468 * java/beans/beancontext/BeanContextSupport.java
2469 (getChildBeanContextChild): Implemented.
2471 2006-11-10 Roman Kennke <kennke@aicas.com>
2473 * javax/swing/text/View.java
2474 (updateLayout): Only repaint when needed.
2476 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2478 * java/util/Collections.java
2479 (sort(List)): Minor API doc addition,
2480 (sort(List, Comparator)): Likewise.
2482 2006-11-10 David Fu <fchoong@netbeans.jp>
2484 * javax/swing/text/html/HTMLWriter.java
2485 (traverse): Removed Classpath specific handling of implied
2487 (traverseHtmlFragment): Removed Classpath specific handling of
2490 2006-11-10 Roman Kennke <kennke@aicas.com>
2492 * javax/swing/text/ParagraphView.java
2493 (Row.getMaximumSize): Removed. This method is not necessary.
2494 * javax/swing/text/html/TableView.java
2495 (CellView): Moved attribute init to setPropertiesFromAttributes().
2496 (setPropertiesFromAttributes): Fetch attributes here.
2497 (RowView.RowView): Documented.
2498 (RowView.getMaximumSpan): Overridden to restrict the max span
2500 (RowView.layoutMajorAxis): Correctly layout the spans.
2501 (columnWidths): New field. Stores the width attributes of
2503 (calculateColumnRequirements): Added support for relative
2504 (== percent) width attributes.
2505 (calculateMajorAxisRequirements): Removed.
2506 (calculateMinorAxisRequirements): Removed unnecessary code.
2507 (getMaximumSpan): Overridden to restrict the table's width.
2508 (layoutColumns): Documented. Implement more clever table layout,
2509 i.e. for relative columns etc.
2510 (layoutMinorAxis): Don't mark rows invalid.
2511 (updateGrid): Added docs. Initialize column widths.
2513 2006-11-09 Roman Kennke <kennke@aicas.com>
2515 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2516 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2517 Implement basic headless toolkit.
2518 * java/awt/Toolkit.java
2519 (getDefaultToolkit): Check headless property and create
2520 headless toolkit when true.
2522 2006-11-09 Ingo Proetel <proetel@aicas.com>
2523 2006-11-09 Roman Kennke <kennke@aicas.com>
2525 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2526 (SwingButton.button): New field.
2527 (SwingButton.SwingButton): Added constructor.
2528 (SwingButton.isShowing): Access button field instead of
2529 the surrounding class.
2530 (SwingButton.getParent): Access button field instead of
2531 the surrounding class.
2532 (SwingButtonPeer): Call new SwingButton constructor.
2533 * gnu/java/awt/peer/swing/SwingComponent.java:
2534 Several documentation updates.
2535 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2536 (currentPaintEvents): New field.
2537 (peerFont): New field.
2538 (SwingComponentPeer): Initialize currentPaintEvents fields.
2539 (coalescePaintEvents): Implemented.
2540 (dispose): Unregister peer from heavyweight list of its container.
2541 (getGraphics): Fetch graphics from parent component.
2542 (handleEvent): Discard paint event if its coalesced.
2543 (init): Register component with its container for proper painting.
2544 (paint): Call peerPaint().
2545 (peerPaint): Added argument that indicates if we should update.
2546 Call paint or update on the actual AWT component.
2547 (peerPaintComponent): New method. Paints the peer (Swing) component.
2548 (setFont): Set peerFont field.
2549 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2550 (backbuffer): New field.
2551 (focusOwner): New field.
2552 (heavyweightDescendents): New field.
2553 (SwingContainerPeer): Take Container as argument. Don't call init
2555 (addHeavyweightDescendent): New method.
2556 (getFocusOwner): New helper method.
2557 (getInsets): Delegate to insets().
2558 (handleKeyEvent): Dispatch event to focus owner.
2559 (handleMouseEvent): Dispatch to child component.
2560 (isDoubleBuffering): New helper method.
2561 (peerPaint): Overridden to implement container painting with
2563 (peerPaintChildren): New method. Paints the descendents of this
2565 (removeHeavyweightDescendent): New helper method.
2566 * gnu/java/awt/peer/swing/SwingFramePeer.java
2567 (peerPaint): Removed.
2568 (peerPaintComponent): Overridden to paint the menu bar.
2569 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2570 (SwingLabel.label): New field.
2571 (SwingLabel.SwingLabel): Added constructor with Label argument.
2572 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2573 the actual AWT component.
2574 (SwingLabel.getParent): Implemented to fetch the parent from
2576 (SwingLabel.isShowing): Access the label field.
2577 (SwingLabelPeer): Set alignment from label.
2578 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2579 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2581 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2582 Don't be a lighweight peer.
2583 (SwingPanelPeer): Call init.
2584 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2585 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2586 (SwingTextField.textField): New field.
2587 (SwingTextField.SwingTextField): New constructor.
2588 (SwingTextField.isShowing): Access field not enclosing class.
2589 (SwingTextField.getGraphics): New method.
2590 (SwingTextField.getParent): New method.
2591 (SwingTextFieldPeer): Call new constructor.
2592 (select): Renamed arguments.
2593 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2594 (SwingWindowPeer): Call init.
2596 2006-11-09 Tania Bento <tbento@redhat.com>
2598 * javax/swing/JLabel.java
2599 (JLabel(Icon)): Changed documentation; Changed text to null.
2600 (JLabel(Icon,int)): Likewise.
2601 (JLabel(text)): Changed documenation.
2602 (JLabel(text,int)): Likewise.
2603 (JLabel(text,Icon,int)): Changed documentation; Throw
2604 IllegalArgumentException if int is not one of LEFT, RIGHT,
2605 CENTER, LEADING or TRAILING.
2607 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2609 * java/beans/beancontext/BeanContextSupport.java
2610 (BeanContextSupport): Use correct dtime default,
2611 (BeanContextSupport(BeanContext)): Likewise,
2612 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2614 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2615 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2617 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2619 * java/beans/beancontext/BeanContextSupport.java
2620 (getBeanContextPeer): Implemented.
2622 2006-11-09 Roman Kennke <kennke@aicas.com>
2624 * javax/swing/text/html/BlockView.java
2625 (cssHeight): Removed.
2626 (cssWidth): Removed.
2627 (cssSpans): New field. Replaces the two fields above.
2628 (BlockView): Allocate cssSpans array.
2629 (layoutMinorAxis): Fetch and use child span, not this view's span.
2630 (setCSSSpan): Adjusted to use cssSpans array.
2631 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2633 2006-11-09 Roman Kennke <kennke@aicas.com>
2635 * javax/swing/text/html/InlineView.java
2636 (nowrap): New field.
2637 (getBreakWeight): Add support for nowrap.
2638 (setPropertiesFromAttributes): Fetch the nowrap setting.
2640 2006-11-09 Roman Kennke <kennke@aicas.com>
2642 * gnu/javax/swing/text/html/css/CSSParser.java
2643 (parseRuleset): Use new Selector class.
2644 (parseValue): Parse multiple anys, not only one.
2645 (main): Allow stylesheet be specified on the command line.
2646 Use new Selector class.
2647 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2648 (startStatement): Use Selector class.
2649 * gnu/javax/swing/text/html/css/CSSScanner.java
2650 (readName): Actually read a character in the loop to avoid
2652 * gnu/javax/swing/text/html/css/Length.java
2653 (getValue): Only multiply when we have a percentage value.
2654 * gnu/javax/swing/text/html/css/Selector.java:
2655 New class. Provides handling of CSS selectors.
2656 * javax/swing/text/html/StyleSheet.java
2657 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2658 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2659 (CSSStyle.PREC_NORM): New constant field.
2660 (CSSStyle.PREC_UA): New constant field.
2661 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2662 (CSSStyle.precedence): New field.
2663 (CSSStyle.priority): Removed.
2664 (CSSStyle.selector): New field.
2665 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2667 (CSSStyle.compareTo): Adjusted to use the precedence and
2668 specificity of the selector.
2669 (CSSStyleSheetParserCallback.precedence): New field.
2670 (CSSStyleSheetParserCallback.selector): Removed.
2671 (CSSStyleSheetParserCallback.style): New field.
2672 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2673 Initialize with precedence.
2674 (CSSStyleSheetParserCallback.declaration): Don't look up
2675 existing rule, simply create new one.
2676 (CSSStyleSheetParserCallback.endStatement): Append style
2678 (CSSStyleSheetParserCallback.startStatement): Use new Selector
2680 (css): Changed to be ArrayList.
2681 (addRule): Create parser with author-normal precendence.
2682 (getRule): Fixed implementation.
2683 (loadRules): Create parser with UA precendence.
2684 (resolveStyle): Use Selector class for resolving and matching
2686 (translateHTMLToCSS): Added mappings for a couple of HTML
2689 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2692 * java/beans/SimpleBeanInfo.java
2693 (loadImage): Check for nulls.
2695 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2697 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2698 (getpeername): Added 16 byte offset to memcpy operation.
2700 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2702 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2703 (getsockname): Added 16 byte offset to memcpy operation.
2705 2006-11-08 Mark Wielaard <mark@klomp.org>
2708 * java/io/OutputStreamWriter.java
2709 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2710 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2712 2006-11-08 Roman Kennke <kennke@aicas.com>
2714 * javax/swing/text/html/HTMLEditorKit.java
2715 (getParser): Use plain HTML_401F DTD.
2716 * javax/swing/text/html/HTMLDocument.java
2717 (HTMLReader.print): Removed method and all calls to it.
2718 (HTMLReader.printBuffer): Removed method and all calls to it.
2719 (HTMLReader.inImpliedParagraph): New field.
2720 (HTMLReader.inParagraph): New field.
2721 (HTMLReader.addContent): Create implied p-tag if necessary.
2722 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2723 (HTMLReader.blockClose): Close implied p-tag if necessary.
2724 (HTMLReader.blockOpen): Close implied p-tag if necessary.
2725 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2727 2006-11-08 Roman Kennke <kennke@aicas.com>
2729 * javax/swing/text/html/HTMLEditorKit.java
2730 (HTMLFactory.create): Removed mapping for TD tag. This
2731 is done in TableView.
2732 * javax/swing/text/html/TableView.java:
2733 Implemented from scratch.
2735 2006-11-07 Roman Kennke <kennke@aicas.com>
2737 * gnu/javax/swing/text/html/parser/support/Parser.java
2738 (_handleText): Check if text content is actually allowed before
2739 passing empty text fragments on to the parser callbacks.
2741 2006-11-07 Mark Wielaard <mark@klomp.org>
2743 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2747 2006-11-07 Tania Bento <tbento@redhat.com>
2749 * java/awt/FlowLayout.java
2750 (getSize): If parent does not have a component, then a
2751 different formula is used to calcuate the width.
2753 2006-11-07 Roman Kennke <kennke@aicas.com>
2755 * javax/swing/text/html/HTMLEditorKit.java
2756 (HTMLFactory.create): Include ListView.
2757 * javax/swing/text/html/ListView.java
2758 (paint): Removed comment.
2759 * javax/swing/text/html/StyleSheet.java
2760 (CSSStyle.priority): New field.
2761 (CSSStyle.CSSStyle(int)): New constructor with priority.
2762 (CSSStyle.compareTo): New method. Used for sorting the styles.
2763 (CSSStyleSheetParserCallback.declaration): Store the style
2764 with the complete selector.
2765 (ListPainter.attributes): Renamed as field.
2766 (ListPainter.styleSheet): New field.
2767 (ListPainter.type): New field.
2768 (ListPainter.ListPainter): Pass StyleSheet to constructor.
2769 (ListPainter.paint): Provide simplistic implementation.
2770 (getListPainter): Pass StyleSheet to constructor.
2771 (resolveStyle): Fixed CSS style resolving.
2773 2006-11-07 Roman Kennke <kennke@aicas.com>
2775 * gnu/javax/swing/text/html/css/BorderWidth.java:
2776 New class. Handles CSS border width values.
2777 * gnu/javax/swing/text/html/css/Length.java
2778 (floatValue): Made protected so that BorderWidth can access it.
2779 * javax/swing/text/html/CSS.java
2780 (Attribute.BORDER_BOTTOM_COLOR): New static field.
2781 (Attribute.BORDER_BOTTOM_STYLE): New static field.
2782 (Attribute.BORDER_LEFT_COLOR): New static field.
2783 (Attribute.BORDER_LEFT_STYLE): New static field.
2784 (Attribute.BORDER_RIGHT_COLOR): New static field.
2785 (Attribute.BORDER_RIGHT_STYLE): New static field.
2786 (Attribute.BORDER_TOP_COLOR): New static field.
2787 (Attribute.BORDER_TOP_STYLE): New static field.
2788 (getValue): Added some mappings for the border color and
2789 border width values.
2790 * javax/swing/text/html/CSSBorder.java: New class. Implements
2792 * javax/swing/text/html/StyleSheet.java
2793 (BoxPainter.background): New field.
2794 (BoxPainter.border): New field.
2795 (BoxPainter.bottomInset): Documented.
2796 (BoxPainter.leftInset): Documented.
2797 (BoxPainter.rightInset): Documented.
2798 (BoxPainter.topInset): Documented.
2799 (BoxPainter.BoxPainter): Added support for borders and background.
2800 (BoxPainter.getInset): Add border insets.
2801 (BoxPainter.paint): Implemented. Paints the background and the
2803 (addRule): Be less picky about parse and IO exceptions.
2804 (getBoxPainter): Adjust to new BoxPainter constructor.
2806 2006-11-07 Andreas <a.tobler@schweiz.org>
2808 * examples/Makefile.am: Add rule to install the *.html files we use
2811 2006-11-06 Francis Kung <fkung@redhat.com>
2813 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2814 (fillRect): Handle custom composites.
2815 (drawRenderedImage): Handle custom composites.
2816 (drawImage): Handle custom composites.
2817 (createBuffer): New method.
2818 (drawLine): Handle custom composites.
2819 (drawComposite): New method.
2820 (fill): Handle custom composites.
2821 (getNativeCM): New method.
2822 (drawGlyphVector): Handle custom composites.
2823 (drawRect): Handle custom composites.
2824 (draw): Handle custom composites.
2825 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2826 (drawComposite): Unset composite during draw call, to prevent parent
2827 from handling composite again.
2828 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2829 (getBufferCM): Added comments.
2830 (getNativeCM): Made abstract.
2831 (setComposite): Removed comments.
2833 2006-11-06 Roman Kennke <kennke@aicas.com>
2835 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2836 Fixed initial window size and start document.
2838 2006-11-06 Roman Kennke <kennke@aicas.com>
2840 * javax/swing/text/html/HTMLDocument.java
2841 (HTMLReader.addSpecialElement): Removed comment about
2843 (HTMLReader.handleComment): Create SimpleAttributeSet instead
2844 of htmlAttributeSet.
2845 * javax/swing/text/html/parser/DocumentParser.java
2846 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2847 of htmlAttributeSet.
2848 * javax/swing/text/html/parser/ParserDelegator.java
2849 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2850 of htmlAttributeSet.
2851 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2852 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2853 of htmlAttributeSet.
2854 * gnu/javax/swing/text/html/parser/support/Parser.java
2855 (getAttributes): Return a SimpleAttributeSet.
2856 (restOfTag): Don't set resolving parent here.
2858 2006-11-06 Tania Bento <tbento@redhat.com>
2860 * java/awt/TextComponent.java
2861 (setSelectionStart): Added check.
2863 2006-11-06 Tania Bento <tbento@redhat.com>
2865 * java/awt/TextField.java
2866 (minimumSize(int)): Check if minimum size has been previously
2867 set and changed values of Dimension returned if peer == null.
2868 (preferredSize(int)): Check if preferred size has been previously
2869 set and changed values of Dimension returned if peer == null.
2871 2006-11-06 Roman Kennke <kennke@aicas.com>
2873 * javax/swing/JTree.java
2874 (TreeModelHandler.treeNodesRemoved): Implemented.
2875 (TreeModelHandler.treeStructureChanged): Implemented.
2876 (nodeStates): Made package private.
2878 2006-11-06 Francis Kung <fkung@redhat.com>
2881 * javax/swing/JTree.java
2882 (clearSelectionPathStates): New private method to clean up nodeStates.
2883 (removeSelectionPath): Call clearSelectionPathStates().
2884 (removeSelectionPaths): Call clearSelectionPathStates().
2885 (removeSelectionRow): Call clearSelectionPathStates().
2886 (setSelectionPath): Call clearSelectionPathStates().
2887 (setSelectionPaths): Call clearSelectionPathStates().
2888 (setSelectionRow): Call clearSelectionPathStates().
2890 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
2893 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2895 2006-11-06 Roman Kennke <kennke@aicas.com>
2897 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2898 Changed to implement a minimalistic browser.
2899 * examples/gnu/classpath/examples/swing/forms.html,
2900 * examples/gnu/classpath/examples/swing/textstyles.html,
2901 * examples/gnu/classpath/examples/swing/welcome.html:
2902 Some example content.
2904 2006-11-06 Roman Kennke <kennke@aicas.com>
2906 * javax/swing/text/ComponentView.java
2907 (setParent): Lock the document and repaint the hosting
2909 * javax/swing/text/FlowView.java
2910 (FlowStrategy.createView): Removed comment.
2911 (FlowView): Initialize span with Short.MAX_VALUE.
2912 (getFlowStart): Return 0 unconditionally.
2913 (layout): Moved code around to make it more readable.
2914 (loadChildren): Always set the parent.
2915 * javax/swing/text/GlyphView.java
2916 (DefaultGlyphPainter.fontMetrics): New field.
2917 (DefaultGlyphPainter.getAscent): Use new helper method to
2918 synchronize the font metrics.
2919 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2920 to synchronize the font metrics.
2921 (DefaultGlyphPainter.getDescent): Use new helper method to
2922 synchronize the font metrics.
2923 (DefaultGlyphPainter.getHeight): Use new helper method to
2924 synchronize the font metrics.
2925 (DefaultGlyphPainter.getSpan): Use new helper method to
2926 synchronize the font metrics.
2927 (DefaultGlyphPainter.modelToView): Use new helper method to
2928 synchronize the font metrics.
2929 (DefaultGlyphPainter.updateFontMetrics): New helper method for
2930 font metrics caching.
2931 (DefaultGlyphPainter.viewToModel): Use new helper method to
2932 synchronize the font metrics. Fixed view to model mapping.
2933 * javax/swing/text/View.java
2934 (removeAll): Pass null to replace().
2935 (setParent): Only reparent children that have this view as parent.
2937 2006-11-05 Mark Wielaard <mark@klomp.org>
2939 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
2940 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
2941 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
2943 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
2945 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
2946 Remove gnu_java_nio_channels_FileChannelImpl.c.
2948 2006-11-03 Roman Kennke <kennke@aicas.com>
2950 * javax/swing/text/html/BlockView.java
2951 (attributes): New field.
2952 (cssHeight): New field.
2953 (cssWidth): New field.
2954 (painter): New field.
2955 (calculateMajorAxisRequirements): Overridden to account for
2957 (calculateMinorAxisRequirements): Overridden to account for
2959 (layoutMinorAxis): Overridden to account for CSS settings.
2960 (changedUpdate): Formatting fixlet.
2961 (constrainSize): New helper method.
2962 (getAlignment): Fix alignment.
2963 (getAttributes): Cache attributes for better performance.
2964 (getStyleSheet): Fetch stylesheet from document rather than creating
2966 (paint): Remove comment.
2967 (setCSSSpan): New helper method.
2968 (setPropertiesFromAttributes): Implemented to fetch the
2969 recognized properties.
2970 * javax/swing/text/html/CSS.java
2971 (getValue): Added mapping for width and height attributes.
2972 * javax/swing/text/html/InlineView.java
2973 (longestWord): New field.
2974 (getLongestWord): New helper method.
2975 (calculateLongestWord): New helper method.
2976 (getMinimumSpan): Overridden to constrain the minimum span by the
2978 * javax/swing/text/html/ParagraphView.java
2979 (cssHeight): New field.
2980 (cssWidth): New field.
2981 (calculateMinorAxisRequirements): Overridden to account for
2983 (setCSSSpan): New helper method.
2984 (setPropertiesFromAttributes): Fetch CSS width and height. Added
2986 * gnu/javax/swing/text/html/css/Length.java
2987 (percentage): New field.
2988 (Length): Determine percentage values.
2989 (getValue(float)): New method for handling percentage values.
2990 (isPercentage): New method.
2992 2006-11-03 Tania Bento <tbento@redhat.com>
2994 * java/awt/TextArea.java
2995 (getMinimumSize): Changed documentation.
2996 (getPreferredSize): Changed documentation.
2997 (getMinimumSize(int,int)): Changed documenation.
2998 (getPreferredSize(int,int)): Changed documenation.
2999 (minimumSize): Changed documentation.
3000 (preferredSize): Changed documenation.
3001 (minimumSize(int,int)): Changed documentation. Checked if
3002 minimum size had been previously set and changed values of
3003 Dimension returned if peer == null.
3004 (preferredSize(int, int)): Checked if preferred size had been
3005 previously set and changed values of Dimension returned if
3008 2006-11-03 Tania Bento <tbento@redhat.com>
3010 * java/awt/event/ComponentEvent.java
3011 (paramString): Changed format of string representation returned.
3013 2006-11-03 Roman Kennke <kennke@aicas.com>
3015 * javax/swing/text/html/HTMLDocument.java
3016 (HTMLReader.FormAction.start): Added support for textarea.
3017 (HTMLReader.FormAction.end): Added support for textarea.
3018 (HTMLReader.HeadAction.end): Call super to actually close the
3020 (HTMLReader.inTextArea): New field.
3021 (HTMLReader.textAreaDocument): New field.
3022 (HTMLReader.handleText): Call textAreaContent when inside
3024 (HTMLReader.textAreaContent): Implemented to initialize
3025 the text area's model.
3026 * javax/swing/text/html/FormView.java
3027 (createComponent): Added support for textarea tag.
3029 2006-11-03 Roman Kennke <kennke@aicas.com>
3031 * javax/swing/text/html/HTMLDocument.java
3032 (HTMLReader.IsindexAction.start): Implemented.
3034 2006-11-03 Roman Kennke <kennke@aicas.com>
3036 * javax/swing/text/html/StyleSheet.java
3037 (addRule): Implemented.
3038 * javax/swing/text/html/HTMLDocument.java
3039 (HTMLReader.inStyleTag): New field.
3040 (HTMLReader.styles): New field.
3041 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3043 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3044 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3045 (HTMLReader.handleText): When inside a style tag, add
3046 content to the styles array.
3048 2006-11-02 Roman Kennke <kennke@aicas.com>
3050 * javax/swing/text/html/FormView.java
3051 (maxIsPreferred): New field.
3052 (createComponent): Initialize components correctly.
3053 (getMaximumSpan): Return the preferred span for components
3054 that need this. The maxIsPreferred flag is set accordingly
3056 * javax/swing/text/html/HTMLDocument.java
3057 (HTMLReader.FormAction.start): Implemented to set the
3058 correct model as attribute.
3059 (HTMLReader.FormAction.setModel): New helper method.
3060 (HTMLReader.FormAction.end): Call super to finish the element.
3061 Added TODO about things left to do.
3062 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3063 than htmlAttributeSet.
3064 * javax/swing/text/html/HTMLEditorKit.java
3065 (HTMLFactory.create): Create BlockView for FORM tags.
3066 Create FormView for INPUT, TEXTAREA and SELECT tags.
3068 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3070 * java/awt/geom/GeneralPath.java: API doc fixes.
3072 2006-11-02 Roman Kennke <kennke@aicas.com>
3074 * javax/swing/text/html/ImageView.java
3075 (getImageURL): Fetch attribute from element. Consider the
3076 base URL for relative image locations.
3078 2006-11-02 Roman Kennke <kennke@aicas.com>
3080 * javax/swing/JEditorPane.java
3081 (setContentType): Strip off attributes.
3082 * javax/swing/text/html/HTMLEditorKit.java
3083 (LinkController.activateLink(int,JEditorPane,int,int): New
3084 method. Implements activation of a hyperlink.
3085 (LinkController.activateLinke(int,JEditorPane)): Delegate
3086 to the other activateLink() method.
3087 (LinkController.createHyperlinkEvent): New helper method.
3088 (LinkController.mouseClicked): Implemented to activate the link.
3089 (LinkController.mouseDragged): Added comment that this
3090 method does nothing.
3091 (LinkController.mouseMoved): Update cursor for hyperlinks.
3092 (mouseHandler): Renamed field to linkController.
3093 (HTMLEditorKit): Create a link controller.
3094 (clone): Give the clone a new link controller.
3095 (deinstall): De-install link controller as mouseMotionListener too.
3096 (install): Install link controller as mouseMotionListener too.
3098 2006-11-02 Roman Kennke <kennke@aicas.com>
3101 * javax/swing/text/FlowView.java
3102 (FlowStrategy.changedUpdate): Reversed condition. This caused
3103 wrong layout and bad performance.
3104 (FlowStrategy.insertUpdate): Reversed condition. This caused
3105 wrong layout and bad performance.
3106 (FlowStrategy.removeUpdate): Reversed condition. This caused
3107 wrong layout and bad performance.
3108 (LogicalView): Changed to be a subclass of CompositeView.
3109 (LogicalView()): Only take one Element argument.
3110 (LogicalView.childAllocation): New method for implementing
3111 the abstract CompositeView method.
3112 (LogicalView.forwardUpdateToView): Overridden for correct
3114 (getMinimumSpan): Overridden to handle line breaking correctly.
3115 (getPreferredSpan): Implemented to handle line breaking correctly.
3116 (getViewAtPoint): New method for implementing
3117 the abstract CompositeView method.
3118 (getViewIndexAtPosition): Overridden to handle leaf elements
3120 (isAfter): New method for implementing
3121 the abstract CompositeView method.
3122 (isBefore): New method for implementing
3123 the abstract CompositeView method.
3124 (loadChildren): Overridden to handle leaf elements
3126 (paint): New method for implementing
3127 the abstract CompositeView method.
3128 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3129 (loadChildren): Initialize flow layout by sending a synthetic
3130 insertUpdate() to the layout strategy.
3131 * javax/swing/text/GlyphView.java
3132 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3133 font metrics if component is not available. Add initial offset
3135 (breakView): Be more clever when breaking the view.
3136 (getBreakLocation): New helper method to determine a good
3138 (getBreakWeight): Be more clever when breaking the view.
3139 (getTabbedSpan): Make sure we have a painter. Use view's
3140 start and end offset rather than the element's.
3141 * javax/swing/text/Utilities.java
3142 (drawTabbedText): Avoid useless add and sub with the y offset.
3144 2006-11-02 Roman Kennke <kennke@aicas.com>
3147 * gnu/java/awt/peer/ClasspathFontPeer.java
3148 (getStringBounds): Removed abstract method. This is replaced
3149 in java.awt.Font to use a TextLayout.
3150 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3151 (GtkWindowPeer): Set a font on the window object.
3152 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3153 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3154 Changed to take char,int,int instead of String. Filter
3156 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3157 Create char array out of string.
3158 (getLogicalBounds): Don't translate bounds. They already are
3160 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3161 (stringWidth): Filter out control characters.
3162 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3163 (getStringBounds): Removed unneeded method.
3164 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3166 * gnu/java/awt/peer/qt/QtFontPeer.java
3167 (getStringBounds): Removed unneeded method.
3168 * gnu/java/awt/peer/x/XFontPeer.java
3169 (getStringBounds): Removed unneeded method.
3170 * gnu/java/awt/peer/x/XFontPeer2.java
3171 (getStringBounds): Removed unneeded method.
3172 * java/awt/Font.java
3173 (getStringBounds(char[],int,int,FontRenderContext)):
3174 Use TextLayout to determine the bounds.
3175 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3176 Delegate to the char[] version of this method.
3177 (getStringBounds(String,FontRenderContext)):
3178 Delegate to the char[] version of this method.
3179 (getStringBounds(String,int,int,FontRenderContext)):
3180 Delegate to the String version of this method.
3182 2006-11-01 Tania Bento <tbento@redhat.com>
3184 * java/awt/ScrollPaneAdjustable.java
3185 (paramString): Changed format of string representation returned.
3186 (paramStringHelper): New private method.
3188 2006-11-01 Tania Bento <tbento@redhat.com>
3190 * java/awt/GridBagLayout.java
3191 (toString): Implemented method.
3193 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3195 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3196 initialization to NP_Initialize.
3197 (NP_Initialize): Initialize GLib threading.
3199 2006-10-31 Tania Bento <tbento@redhat.com>
3201 * javax/swing/JTextField.java
3202 (fireActionPerformed): When creating the new event, if
3203 actionCommand == null, then getText() is used.
3205 2006-10-31 Francis Kung <fkung@redhat.com>
3207 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3208 (fillArc): Corrected arc type to Arc2D.PIE.
3210 2006-10-31 Roman Kennke <kennke@aicas.com>
3212 * javax/swing/text/html/HTMLDocument.java
3213 (HTMLReader.PreAction.end): Implemented.
3214 (HTMLReader.PreAction.start): Implemented.
3215 (HTMLReader.inPreTag): New field.
3216 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3217 (HTMLReader.preContent): Implemented.
3219 2006-10-31 Tania Bento <tbento@redhat.com>
3221 * javax/swing/JTextField.java
3222 (fireActionPerformed): When creating the new event,
3223 actionCommand should be used as the command, not
3226 2006-10-31 Roman Kennke <kennke@aicas.com>
3228 * javax/swing/text/html/HTMLEditorKit.java
3229 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3230 HTML or Styled documents.
3232 2006-10-31 David Fu <fchoong@netbeans.jp>
3234 * javax/swing/text/html/HTMLWriter.java: New class.
3236 2006-10-30 Roman Kennke <kennke@aicas.com>
3238 * java/awt/dnd/DragSourceContext.java
3239 (dragExit): Use constant fields instead of 0.
3240 (updateCurrentCursor): Completed implementation.
3242 2006-10-30 Roman Kennke <kennke@aicas.com>
3244 * java/awt/dnd/DragGestureRecognizer.java
3245 (resetRecognizer): Added API docs. Do not replace the events object
3246 but rather clear() it. Removed not implemented tag.
3248 2006-10-30 Roman Kennke <kennke@aicas.com>
3250 * java/awt/datatransfer/DataFlavor.java
3251 (writeExternal): Remove not implemented tag.
3253 2006-10-30 Roman Kennke <kennke@aicas.com>
3255 * java/awt/datatransfer/DataFlavor.java
3256 (javaFileListFlavor): Don't explicitly specify class.
3257 (plainTextFlavor): Don't explicitly specify class.
3258 (mimeType): Changed to type MimeType. Remove final.
3259 (representationClass): Remove final.
3260 (DataFlavor): Don't do anything here.
3261 (DataFlavor(Class,String,String)): Removed.
3262 (DataFlavor(Class,String)): Initialize here.
3263 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3264 (DataFlavor(String,String)): Initialize in init().
3265 (DataFlavor(String)): Initialize in init().
3266 (init): New initialization method.
3267 (getMimeType): Delegate to MimeType.toString().
3268 (getParameter(String,String)): Removed. Is now done in MimeType.
3269 (getParameter(String)): Delegate to MimeType.
3270 (getPrimaryType): Delegate to MimeType.
3271 (getRepresentationClassFromMime): Removed.
3272 (getRepresentationClassFromMimeThrows): Removed.
3273 (getSubType): Delegate to MimeType.
3274 (hashCode): Take MimeType.toString() for the hashCode.
3275 (isFlavorRemoveObjectType): Return true only when representation
3276 class is remove and serializable and the mime type is remote.
3277 (isFlavorSerializedObjectType): Return true only when representation
3278 class is serializable and the mime type is serialized.
3279 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3280 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3281 (readExternal): Implemented stub method.
3282 (writeExternal): Implemented stub method.
3283 * java/awt/datatransfer/MimeType.java: New helper class.
3285 2006-10-28 Roman Kennke <kennke@aicas.com>
3287 * javax/swing/TransferHandler.java
3288 (importData): Implemented stub method. Added API docs.
3290 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3292 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3294 * native/jni/classpath/classpath_jawt.h: Likewise.
3295 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3296 initializer for surface_info_x11->depth.
3298 2006-10-26 Tania Bento <tbento@redhat.com>
3300 * java/awt/FileDialog.java:
3301 (setFile): Changed if-clause condition.
3303 2006-10-25 Francis Kung <fkung@redhat.com>
3305 * include/gnu_java_nio_VMChannel.h,
3306 * include/java_net_VMNetworkInterface.h,
3307 * include/gnu_java_nio_EpollSelectorImpl.h,
3308 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3309 * include/gnu_java_nio_FileChannelImpl.h,
3310 * include/gnu_java_nio_KqueueSelectorImpl.h,
3311 * include/gnu_java_nio_VMPipe.h,
3312 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3314 2006-10-25 Tania Bento <tbento@redhat.com>
3316 * java/awt/Dialog.java: Created new private variable
3318 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3319 Set cursor to default cursor.
3320 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3322 (generateName): New method.
3323 (getUniqueLong): New private method.
3324 * java/awt/FileDialog.java: Created new private variable
3325 next_file_dialog_number.
3326 (setFile): If file == "", set it to null.
3327 (generateName): New method.
3328 (getUniqueLong): New private method.
3330 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3332 * java/net/MulticastSocket.java:
3333 (setNetworkInterface): Rewritten.
3335 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3337 * native/jni/java-net/javanet.h: Added declaration for
3338 _javanet_create_inetaddress.
3339 * native/jni/java-net/javanet.c:
3340 (_javanet_create_inetaddress): Removed static keyword.
3342 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3344 * gnu/java/net/PlainDatagramSocketImpl.java:
3345 (connect): Use VMChannel instance for connect call.
3346 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3347 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3348 (setOption): Handle multicast options.
3349 (getOption): Handle multicast options.
3350 * gnu/java/net/PlainSocketImpl.java:
3351 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3352 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3353 (setOption): Filter unappropriate options.
3354 (getOption): Filter unappropriate options.
3355 (connect): Use given SocketAddress.
3356 (close): Reset address and port.
3358 * include/Makefile.am: Removed all occurences of
3359 gnu_java_net_VMPlainDatagramSocketImpl.h.
3360 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3361 * native/jni/java-net/Makefile.am: Removed
3362 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3363 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3365 as SocketException, declare to throw SocketException.
3366 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3367 for SocketException and ConnectException.
3368 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3370 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3372 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3373 (JCL_thread_interrupted): New function.
3374 (initIDs): Added initialisation for isThreadInterrupted method id.
3375 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3376 CPNET_IP_TTL to java_sockopt enum.
3377 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3378 case, handle SO_LINGER case properly.
3379 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3380 case, handle SO_LINGER case properly.
3381 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3383 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3385 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3387 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3389 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3390 * vm/reference/gnu/java/nio/VMChannel.java:
3391 (connect(int, byte[], int, int)): Declare to throw SocketException.
3392 (connect6): Declare to throw SocketException.
3393 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3394 (isThreadInterrupted): New method.
3395 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3397 (setTimeToLive): New method.
3398 (getTimeToLive): New method.
3399 (setMulticastInterface(int, InetAddress)): New method.
3400 (setMulticastInterface(int, int, Inet4Address): New method.
3401 (setMulticastInterface6(int, int, Inet6Address): New method.
3402 (setOptions): Handle SO_LINGER case.
3403 (getOptions): Add missing SO_REUSEADDR case.
3404 * java/net/Socket.java:
3405 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3406 when exception was thrown out of connect().
3407 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3408 Boolean.FALSE with Integer.valueOf(-1).
3409 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3410 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3411 * NEWS: Documented VM interface changes.
3413 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3415 * java/net/Inet6Address.java:
3416 (isMulticastAddress): Fixed check.
3418 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3421 * java/net/MulticastSocket.java:
3422 (getNetworkInterface): Return a special NetworkInterface instance
3423 if the socket's multicast interface is set to any.
3425 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3428 * java/net/NetworkInterface.java:
3429 (createAnyInterface): New method.
3430 (equals): Added if-statement to handle case where netif.name is null.
3431 * vm/reference/java/net/VMNetworkInterface.java:
3432 (hashCode): Rewritten.
3433 (VMNetworkInterface): New constructor.
3435 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3437 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3438 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3439 Add ASM_JAR to bootclasspath.
3441 2006-10-24 Tania Bento <tbento@redhat.com>
3443 * java/awt/Scrollbar.java:
3444 (setLineIncrement): Removed unnecessary if-clause and if
3445 lineIncrement == 0, then it should be set to 1, not 0.
3446 (setPageIncrement): Removed unnecessary if-clause and if
3447 pageIncrement == 0, then it should be set to 1, not 0.
3448 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3449 If maximum <= minimum, maximum should be set to mininum + 1. The
3450 actual value of maximum is maximum - visibleAmount, so I made
3451 this change to the appropriate if-check. Remove the two unneccessary
3454 2006-10-23 Francis Kung <fkung@redhat.com>
3456 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3457 (cairoSetFont): New method.
3458 (copy): Set font using setFont method.
3459 (setFont): Call cairoSetFont.
3460 (setup): Set font using setFont method.
3461 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3462 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3463 (install_font_peer): Removed.
3464 (cairoDrawGlyphVector): Removed call to install_font_peer.
3465 (cairoSetFont): New method.
3467 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3469 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3470 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3471 NativeEventLoopRunningEvent after GTK main loop start and stop.
3472 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3473 (getNextEvent): Set dispatchThread to null.
3474 (postEventImpl): Set nativeLoopRunning.
3475 (pop): Interrupt event dispatch thread.
3476 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3478 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3480 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3482 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3485 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3487 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3488 * javax/crypto/CipherOutputStream.java: Re-implemented.
3489 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3490 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3491 decryption mode and check if it is a complete block.
3492 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3493 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3494 partially processed data into account.
3496 2006-10-21 Tom Tromey <tromey@redhat.com>
3499 * java/util/AbstractCollection.java (toArray): Removed cast.
3501 2006-10-20 Tom Tromey <tromey@redhat.com>
3503 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3504 Don't use mangled class name for .h file.
3505 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3506 Don't use mangled class name for .c file.
3507 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3508 Handle classes from the default package.
3510 2006-10-20 Francis Kung <fkung@redhat.com>
3512 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3514 2006-10-19 Francis Kung <fkung@redhat.com>
3517 * java/awt/image/BufferedImage.java
3518 (constructor): Updated some properties of default image types.
3519 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3520 (argb32): Updated field to match default in BufferedImage.
3522 2006-10-18 Roman Kennke <kennke@aicas.com>
3525 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3526 (copyArea): Changed size comparison to return when size == 0
3528 * javax/swing/JViewport.java
3529 (paintBackingStore): Check width and height of blitted area
3530 and only do blit if its > 0.
3531 (paintBlit): Check width and height of blitted area
3532 and only do blit if its > 0.
3534 2006-10-18 Roman Kennke <kennke@aicas.com>
3537 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3538 (maximize): New native method.
3539 (unmaximize): New native method.
3540 (iconify): New native method.
3541 (deiconify): New native method.
3542 (getState): Implemented.
3543 (setState): Implemented.
3544 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3545 (oldState): Rename to windowState and made protected, so that
3546 the FramePeer can access it.
3547 (postWindowEvent): Handle state change events more gently and
3549 * java/awt/Frame.java
3550 (getState): Fetch state from getExtendedState().
3551 (setExtendedState): Update the peer. Check if the state change
3552 is actually supported.
3553 (getExtendedState): Update the state from the peer.
3554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3555 (maximize): New method.
3556 (unmaximize): New method.
3557 (iconify): New method.
3558 (deiconify): New method.
3559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3560 (AWT_FRAME_NORMAL): New macro.
3561 (AWT_FRAME_ICONIFIED): New macro.
3562 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3563 (window_window_state_cb): Rewritten to handle window state changes
3564 more gently (mostly on the java side of the world).
3565 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3567 2006-10-18 Tania Bento <tbento@redhat.com>
3569 * java/awt/CardLayout.java:
3570 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3571 its height and width if Container passed as argument is null.
3572 (gotoComponent): Consider the case where the component is not visible.
3574 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3576 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3578 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3580 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3582 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3584 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3586 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3587 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3588 Retrieve user-visible strings through Messages.getString.
3589 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3590 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3592 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3594 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3596 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3598 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3600 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3603 2006-10-18 Roman Kennke <kennke@aicas.com>
3605 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3606 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3607 (window_show_cb): Removed unnecessary function.
3608 (connect_signals): Don't connect signal for show. *
3609 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3610 (hasBeenShown): Removed. This is handled in java.awt.Window.
3611 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3612 in java.awt.Window. * java/awt/Window.java
3613 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3615 2006-10-18 Francis Kung <fkung@redhat.com>
3617 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3618 (drawRenderedImage): New method.
3619 (drawImage): New method.
3620 (CairoSurfaceGraphics): Set clip.
3621 (createBuffer): New method.
3622 (getBufferCM): New method.
3623 (drawComposite): New method.
3625 (getNativeCM): New method.
3626 (drawGlyphVector): New method.
3628 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3629 (getNativeCM): Reflect renamed field.
3630 * gnu/java/awt/peer/gtk/CairoSurface.java
3631 (cairoCM_pre): Renamed from cairoColorModel.
3632 (cairoColorModel): Set premultiplication to false.
3634 2006-10-18 Roman Kennke <kennke@aicas.com>
3637 * javax/swing/JScrollPane.java
3638 (viewportBorder): Made field private.
3639 (wheelScrollingEnabled): Made field private.
3640 (JScrollPane): Enabled wheel scrolling by default.
3641 * javax/swing/JTree.java
3642 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3644 (getScrollableUnitIncrement): Fixed thinko.
3645 * javax/swing/plaf/basic/BasicScrollBarUI.java
3646 (static scrollByBlock): New static method to avoid code duplication
3647 for the BasicScrollPane wheel scrolling.
3648 (static scrollByUnits): New static method to avoid code duplication
3649 for the BasicScrollPane wheel scrolling.
3650 (scrollByBlock): Delegate to static helper method.
3651 (scrollByUnit): Delegate to static helper method.
3652 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3653 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3654 static helper methods to avoid code duplication.
3655 (MouseWheelHandler.bounds): Removed.
3656 (MouseWheelHandler.getValue): Removed.
3657 (MouseWheelHandler.scroll): Removed.
3659 2006-10-18 Roman Kennke <kennke@aicas.com>
3662 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3663 (updateComponent): Don't override this here.
3664 * java/awt/Window.java
3665 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3666 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3668 (addWindowStateListener): Ignore null listener. Set newEventsOnly
3671 2006-10-18 Roman Kennke <kennke@aicas.com>
3673 * javax/swing/JEditorPane.java
3674 (getStream): Try to detect and set the content type of the
3677 2006-10-18 Roman Kennke <kennke@aicas.com>
3679 * javax/swing/RepaintManager.java
3680 (RepaintWorkerEvent): Pass full set of params to super.
3681 (RepaintWorker.dispatch): Overridden to allow apps to call this
3683 (addDirtyRegion): Synchronize a little more to protect the
3684 dirtyComponents field and avoid NPEs.
3685 (invokeLater): Pass full set of params to RepaintWorkerEvent
3688 2006-10-18 Roman Kennke <kennke@aicas.com>
3690 * javax/swing/JEditorPane.java
3691 (page): Removed field. The page is now stored in the correct
3693 (getPage): Fetch page URL from document property.
3694 (read): Set the document for this JEditorPane. Use a Reader
3695 for reading in the document.
3696 (setPage): Call getStream() to get the stream from which we read.
3697 Fire property change. Store page in document property.
3699 2006-10-18 Roman Kennke <kennke@aicas.com>
3701 * java/awt/datatransfer/DataFlavor.java
3702 (DataFlavor(String)): Removed check for space in mime string.
3704 2006-10-18 Roman Kennke <kennke@aicas.com>
3706 * java/awt/Container.java
3707 (validateTree): Call ContainerPeer.begin|endLayout() rather than
3708 begin|endValidate().
3709 (validate): Call ContainerPeer.begin|endValidate() here.
3710 Added some local vars to avoid NPEs.
3712 2006-10-18 Roman Kennke <kennke@aicas.com>
3714 * native/target/.cvsignore
3715 * native/target/Linux/.cvsignore
3716 * native/target/generic/.cvsignore:
3717 Added to let CVS ignore the generated Makefile and Makefile.in
3720 2006-10-18 Roman Kennke <kennke@aicas.com>
3723 * java/awt/Window.java
3724 (eventTypeEnabled): Overridden to handle WindowEvents.
3725 (processEvent): Switch between processWindowEvent(),
3726 processWindowFocusEvent() and processWindowStateEvent() here,
3727 rather than simply calling processWindowEvent().
3728 (processWindowEvent): Only dispatch event to listener, do not
3729 switch to processWindowFocusEvent() or processWindowStateEvent()
3731 * javax/swing/JFrame.java
3732 (frameInit): Explicitly enable window and key events here.
3733 (processWindowEvent): Throw out some unnecessary code.
3734 * javax/swing/JWindow.java
3735 (windowInit): Explicitly enable key events here.
3736 * javax/swing/JDialog.java
3737 (close_action): Renamed to closeAction.
3738 (dialogInit): Explicitly enable window events here.
3739 (getDefaultCloseOperation): Renamed close_action to closeAction.
3740 (processWindowEvent): Throw out some unnecessary code.
3741 Renamed close_action to closeAction.
3742 (setDefaultCloseOperation): Renamed close_action to closeAction.
3744 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3746 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3747 to track native GTK event loop status.
3748 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3749 clear running flag when native GTK event loop starts and stops.
3751 2006-10-17 Roman Kennke <kennke@aicas.com>
3753 * javax/swing/TransferHandler.java
3754 (exportToClipboard): Implemented.
3756 2006-10-17 Francis Kung <fkung@redhat.com>
3758 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3759 region to account for pixel-shifting.
3760 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3763 2006-10-17 Francis Kung <fkung@redhat.com>
3766 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3767 (getLogicalBounds): Translate individual glyphs before appending bounds.
3768 (getOutline): Translate individual glyphs before appending outline.
3770 2006-10-17 Cameron McCormack <cam@mcc.id.au>
3773 * java/awt/font/TextLayout.java
3775 (constructor): Store bidi in field.
3776 (getCharacterLevel): Implemented.
3778 2006-10-17 Roman Kennke <kennke@aicas.com>
3780 * javax/swing/TransferHandler.java
3781 (PropertyTransferable): New inner class. Handles transfers
3782 from component properties.
3783 (createTransferable): Implemented.
3785 2006-10-17 Francis Kung <fkung@redhat.com>
3787 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3788 (drawComposite): Ensure composite does not extend beyond buffer
3790 * java/awt/image/Raster.java
3791 (createChild): Ensure child does not extend beyond parent's
3793 * java/awt/image/WritableRaster.java
3794 (createWritableChild): Ensure child does not extend beyond
3797 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
3799 * native/jni/classpath/jcl.c
3800 (JNI_OnLoad): Corrected calling convention.
3802 2006-10-16 Roman Kennke <kennke@aicas.com>
3804 * javax/swing/TransferHandler.java
3805 (propertyName): New field.
3806 (TransferHandler(String)): Store property name in field.
3807 (canImport): Implemented stub method.
3808 (exportDone): This is a no-op. Removed not-implemented mark.
3809 (getPropertyDataFlavor): New helper method.
3810 (getPropertyDescriptor): New helper method.
3812 2006-10-16 Roman Kennke <kennke@aicas.com>
3814 * javax/swing/AbstractButton.java
3815 (AccessibleJButton.getAfterIndex): Implemented.
3816 (AccessibleJButton.getAtIndex): Implemented.
3817 (AccessibleJButton.getBeforeIndex): Implemented.
3818 (AccessibleJButton.getCharacterAttribute): Completed incomplete
3819 method implementation.
3821 2006-10-16 Roman Kennke <kennke@aicas.com>
3823 * javax/swing/JLabel.java
3824 (AccessibleJLabel.getIndexAtPoint): Implemented.
3825 (AccessibleJLabel.getCharacterBounds): Implemented.
3826 (AccessibleJLabel.getTextRectangle): New helper method.
3828 2006-10-16 Roman Kennke <kennke@aicas.com>
3830 * javax/swing/filechooser/FileSystemView.java
3831 (getFileSystemView): Mark as implemented.
3833 2006-10-14 Roman Kennke <kennke@aicas.com>
3836 * javax/swing/JComponent.java
3837 (toolTipText): Removed field.
3838 (createToolTip): Don't set tooltip text here. This is done
3839 in the ToolTipManager.
3840 (setToolTipText): Set tooltip text as client property.
3841 (getToolTipText): Get tooltip text from client property.
3842 * javax/swing/ToolTipManager.java
3843 (currentComponent): Made field non-static and of type JComponent.
3844 (currentPoint): Made field non-static.
3845 (currentTip): Made field non-static.
3846 (popup): Made field non-static.
3847 (toolTipText): New field. Stores the current tooltip text.
3848 (checkTipUpdate): New helper method. Checks for updates of
3849 the tooltip text and triggers the appropriate actions.
3850 (getContentPaneDeepestComponent): Removed unneeded casts.
3851 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3852 text from component.
3853 (mouseMoved): Check for tooltip text updates.
3854 (showTip): Set tooltip text from current setting.
3856 2006-10-14 Roman Kennke <kennke@aicas.com>
3859 * javax/swing/JSlider.java
3860 (setPaintLabels): Call setLabelTable() instead of setting
3861 the field directly. This also updates the label's size.
3863 2006-10-13 Tom Tromey <tromey@redhat.com>
3865 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3868 2006-10-13 Tania Bento <tbento@redhat.com>
3870 * java/awt/ScrollPane.java
3871 (setLayout): Should throw AWTError whenever called.
3873 2006-10-13 Roman Kennke <kennke@aicas.com>
3876 * java/awt/Component.java
3877 (dispatchEventImpl): Special handle ComponentReshapeEvents to
3878 update the AWT's knowledge about a component's size.
3879 * gnu/java/awt/ComponentReshapeEvent.java: New class.
3880 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3881 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3882 to update the AWT's knowledge about the component bounds.
3884 2006-10-13 Tania Bento <tbento@redhat.com>
3886 * java/awt/ScrollPaneAdjustable.java
3887 (setMaximum): Should throw AWTError whenever called.
3889 (setVisibleAmount): Same.
3891 2006-10-13 Tania Bento <tbento@redhat.com>
3893 * java/awt/ScrollPane.java
3894 (addImpl): When calling super, index should be value passed,
3896 (getIsValidString): New helper method for paramString().
3897 (getScrollbarDisplayString): New helper method for paramString().
3898 (paramString): Changed format of outputted string.
3900 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
3902 * javax/swing/tree/DefaultTreeSelectionModel.java
3903 (clone): Added cast to TreePath[].
3905 2006-10-13 Roman Kennke <kennke@aicas.com>
3908 * javax/swing/JMenuItem.java
3909 (isDragging): New field. Indicates if we are inside a mouse
3911 (createMenuDragMouseEvent): Removed unneeded method.
3912 (processMenuDragMouseEvent): Track if we are dragging.
3913 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3914 * javax/swing/plaf/basic/BasicMenuItemUI.java
3915 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3916 MenuSelectionManager from event.
3917 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3918 MenuSelectionManager from event.
3919 (MenuDragMouseHandler.menuDragMouseExited): Fetch
3920 MenuSelectionManager from event.
3921 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3922 release inside menu item, otherwise clear selection.
3923 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3924 and getY(). Call doClick() rather than the doClick() of JMenuItem.
3925 (doClick): Perform an immediate click.
3927 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3929 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3930 return if object is not in the list.
3932 2006-10-12 Andrew Haley <aph@redhat.com>
3934 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
3935 * java/lang/ThreadLocal.java: Likewise.
3937 2006-10-12 Roman Kennke <kennke@aicas.com>
3940 * javax/swing/JSlider.java
3941 (LabelUIResource): New inner class. A JLabel as UIResource.
3942 (createStandardLabels): Don't set label bounds here.
3943 Create LabelUIResource instances.
3944 (setInverted): Repaint.
3945 (setLabelTable): Update the label UIs. Revalidate and repaint.
3946 (setMajorTickSpacing): Update the label table. Repaint if
3948 (setMinorTickSpacing): Repaint if necessary.
3949 (setOrientation): Revalidate.
3950 (setPaintLabels): Revalidate and repaint.
3951 (setPaintTicks): Revalidate and repaint.
3952 (setPaintTrack): Repaint.
3953 (updateLabelUIs): Set the label sizes here.
3954 (updateUI): Also update the label UIs.
3955 * javax/swing/plaf/basic/BasicSliderUI.java
3956 (ComponentHandler.componentResized): Don't revalidate.
3957 (FocusHandler.focusGained): Don't set field.
3958 (FocusHandler.focusLost): Don't set field.
3959 (PropertyChangeHandler.propertyChange): Calculate geometry
3960 and repaint for a couple more properties.
3961 (TrackListener.mouseReleased): Repaint.
3962 (hasFocus): Removed unneeded field.
3963 (calculateContentRect): No need to check for content size < 0.
3964 (calculateFocusRect): Use insets from insetCache.
3965 (calculateLabelRect): Fixed calculation of label rectangle.
3966 It is relative to the tick rectangle, rather than the content
3968 (calculateTickRect): Small restructuring to avoid unnecessary
3970 (calculateTrackRect): Fixed calculation of track rectangle.
3971 (getMaximumSize): Fixed. Fetch preferred size and set
3972 the height of width to Short.MAX_VALUE.
3973 (getMinimumHorizontalSize): Fixed to return UIManager value.
3974 (getMinimumVerticalSize): Fixed to return UIManager value.
3975 (getPreferredHorizontalSize): Fixed to return UIManager value.
3976 (getPreferredVerticalSize): Fixed to return UIManager value.
3977 (getMinimumSize): Fixed to return the UIManager value plus
3979 (getPreferredSize): Fixed to return the UIManager value plus
3981 (getWidthOfWidestLabel): Restructured for more cleanness and
3983 (hitClip): New helper method.
3984 (paintHorizontalLabel): Replaced by more efficient and clean
3986 (paintVerticalLabel): Replaced by more efficient and clean
3988 (paintLabels): Replaced by more efficient and clean
3990 (paint): Check if rectangles intersect with clip for maximum
3992 (recalculateIfInsetsChanged): Fixed. This method should
3993 recalculate only when the insets changed.
3994 (setThumbLocation): Repaint with a reasonable clip.
3995 (xPositionForValue): Made more clean and efficient.
3996 (yPositionForValue): Made more clean and efficient.
3997 * javax/swing/plaf/basic/BasicLookAndFeel.java
3998 (initComponenDefaults): Added Slider.horizontalSize,
3999 Slider.verticalSize, Slider.minimumHorizontalSize and
4000 Slider.minimumVerticalSize properties.
4001 * javax/swing/plaf/metal/MetalSliderUI.java
4002 (getTickLength): Add 1 for horizontal sliders and 3 for
4004 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4005 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4006 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4007 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4009 2006-10-12 Roman Kennke <kennke@aicas.com>
4012 * javax/swing/text/FlowView.java
4013 (FlowStrategy.layout): Preserve logical views from getting lost.
4014 (FlowStrategy.layoutRow): Fix line breaking.
4015 (FlowStrategy.adjustRow): Fix line breaking.
4016 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4017 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4018 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4019 (createView): Don't check index.
4020 (contains): New helper method.
4021 (reparent): New helper method.
4022 (layoutDirty): Removed unneeded field.
4023 (FlowView): Removed layoutDirty field init.
4024 (changedUpdate): Removed layoutDirty handling.
4025 (insertUpdate): Removed layoutDirty handling.
4026 (removeUpdate): Removed layoutDirty handling.
4027 (layout): Use isLayoutValid() rather than the layoutDirty field.
4028 * javax/swing/text/GlyphView.java
4029 (startOffset): Removed.
4030 (endOffset): Removed.
4031 (offset): New field.
4032 (length): New field.
4033 (GlyphView): Initialize new fields. Removed old fields.
4034 (createFragment): Create fragment with new relative offsets.
4035 (getEndOffset): Work with new relative offsets.
4036 (getStartOffset): Work with new relative offsets.
4037 * javax/swing/text/ParagraphView.java
4038 (Row.getStartOffset): Overidden to determine the minimum start
4039 offset from the children.
4040 (Row.getEndOffset): Overidden to determine the maximum end
4041 offset from the children.
4042 * javax/swing/text/html/BRView.java
4043 Make subclass of InlineView.
4044 (getBreakWeight): Fall back to super for Y_AXIS.
4046 2006-10-12 Roman Kennke <kennke@aicas.com>
4049 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4050 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4051 one that avoids faulty state that could cause division by zero
4054 2006-10-12 Roman Kennke <kennke@aicas.com>
4057 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4058 (paint): Determine correct icon. Added support for HTML label.
4059 Added small optimizations.
4060 (getPreferredSize): Only consider the buttons iconTextGap, and
4061 only when the text is not null.
4062 * javax/swing/plaf/basic/BasicLookAndFeel.java
4063 (initComponentDefaults): Fetch border for RadioButton from
4064 BasicButtons.getRadioButtonBorder().
4065 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4066 (paintFocus): Paint focus rectangle one pixel smaller.
4068 2006-10-12 Roman Kennke <kennke@aicas.com>
4071 * javax/swing/tree/AbstractLayoutCache.java
4072 (getNodeDimensions): Don't throw InternalError, but instead
4074 (getRowsForPaths): Check for null here.
4075 (isFixedRowHeight): Returns true when rowHeight > 0.
4076 (setSelectionModel): Set this as the row mapper for the selection
4078 * javax/swing/tree/VariableHeightLayoutCache.java
4079 (NodeRecord.NodeRecord): Initialize bounds field.
4080 (getBounds): Simply return the bounds field.
4081 (row2Node): Changed to be an ArrayList.
4082 (RECT_CACHE): New field. Caches a Rectangle instance.
4083 (countRows): Added y parameter and return value. The method
4084 now takes the current y position as parameter, and returns
4085 the updated y position.
4086 (getBounds): Fixed to return the correct bounds.
4087 (getPathForRow): Replaced by fixed implementation.
4088 (getPreferredHeight): Replaced by more efficient implementation.
4089 This simply fetches the last node record and returns its lower
4091 (getPreferredWidth): Added null check.
4092 (getVisibleChildCount): Added null check.
4093 (getVisiblePathsFrom): Added null check.
4094 (setExpandedState): Also expand the ancestors of the node
4096 (setModel): Set dirty flag rather than updating for real.
4097 (setNodeDimensions): Overridden to set the dirty flag.
4098 (setRowHeight): Overridden to set the dirty flag.
4099 (update): Don't special case the root here, this is done now
4102 2006-10-12 Roman Kennke <kennke@aicas.com>
4104 * javax/swing/JComponent.java
4105 (paintImmediately2): Added support for components which need
4106 to force themselves as paint root.
4107 (isPaintRoot): New method. This should be overridden by components
4108 which need to force themselves as paint root.
4109 * javax/swing/JViewport.java
4110 (isPaintRoot): Overridden to force the viewport as paint root
4111 when running in backingstore mode.
4113 2006-10-12 Roman Kennke <kennke@aicas.com>
4115 * javax/swing/tree/DefaultTreeSelectionModel.java
4116 (PathPlaceHolder): New inner class. Wraps a path and its status
4118 (selectedPaths): New field. A supporting datastructure.
4119 (tmpPaths): New field. A supporting datastructure.
4120 (DefaultTreeSelectionModel): Initialize the list selection model,
4121 the leadIndex and the supporting datastructures.
4122 (addPropertyChangeListener): Create changeSupport object lazily.
4123 (addSelectionPaths): Mostly rewritten to handle the different
4124 selection modes correctly.
4125 (addSelectionPath): Delegate to addSelectionPaths().
4126 (arePathsContiguous): Replaced with more efficient implementation
4128 (canPathBeAdded): Removed unneeded method.
4129 (canPathsBeAdded): Replaced with more efficient implementation.
4130 (clearSelection): Create correct event. Clear the fields correctly,
4131 including the supporting datastructures.
4132 (clone): Also clone the supporting datastructures and nullify
4133 changeSupport field.
4134 (getMaxSelectionRow): Delegate to list selection model.
4135 (getMinSelectionRow): Delegate to list selection model.
4136 (getPath): Removed unneeded method.
4137 (getPropertyChangeListeners): Handle null changeSupport field
4139 (getRow): Handle null rowMapper field correctly.
4140 (getSelectionRows): Handle invisible rows correctly.
4141 (insureRowContinuity): Replaced by more efficient and correct
4143 (isRowSelected): Delegate to list selection model.
4144 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4146 (removePropertyChangeListener): Handle null changeSupport field.
4147 (removeSelectionPaths): Mostly rewritten to handle the different
4148 selection modes correctly.
4149 (removeSelectionPath): Delegate to removeSelectionPaths().
4150 (resetRowSelection): Handle list selection model.
4151 (selectOne): Removed unneeded field.
4152 (setRowMapper): Reset the row selection.
4153 (setSelectionMode): Check for invalid mode and set to
4154 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4155 (setSelectionPaths): Mostly rewritten to handle the different
4156 selection modes correctly.
4157 (setSelectionPath): Delegate to setSelectionPaths().
4158 (updateLeadIndex): Made more efficient.
4160 2006-10-11 Francis Kung <fkung@redhat.com>
4162 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4163 (buffer, locked): New fields.
4164 (constructors): Initialize new variables.
4165 (createBuffer): New method.
4166 (draw): Implement custom composites.
4167 (drawComposite): New method.
4168 (drawGlyphVector): Implement custom composites.
4169 (drawImage): Implement custom composites.
4170 (drawRenderedImage): Implement custom composites.
4171 (fill): Implement custom composites.
4172 (getBufferCM): New method.
4173 (getNativeCM): New method.
4174 (updateBufferedImage): Fix premultiplication.
4175 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4176 (copy): Copy composite.
4177 (drawImage): Set background properly.
4178 (getBufferCM): New method.
4179 (setComposite): Reset alpha composite when using custom composite.
4180 * gnu/java/awt/peer/gtk/CairoSurface.java
4181 (cairoColorModel): New field.
4182 (nativeColorModel): Renamed.
4183 (constructor): Use renamed createCairoSampleModel method.
4184 (createCairoSampleModel): New method.
4185 (createNativeSampleModel): Renamed.
4186 (getBufferedImage): Use renamed cairoColorModel field.
4187 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4188 (gdkColorModel): New field.
4189 (createGdkSampleModel): New method.
4190 (getPixels): Added comments.
4191 (getSnapshot): Use GDK colour and sample models.
4192 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4193 (createBuffer): Use GDK colour and sample models.
4194 (getNativeCM): Added comments.
4195 * java/awt/image/BufferedImage.java
4196 (constructor): Set premultiplied flag properly.
4198 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4200 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4201 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4203 2006-10-10 Francis Kung <fkung@redhat.com>
4206 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4207 (createPath): Added isDraw parameter.
4208 (draw): Updated createPath call.
4209 (fill): Updated createPath call.
4211 2006-10-10 Tom Tromey <tromey@redhat.com>
4214 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4215 there is a stylesheet.
4217 2006-10-10 Roman Kennke <kennke@aicas.com>
4219 * java/awt/Toolkit.java
4220 (getDefaultTookit): Make method synchronized to avoid
4221 accidentally creating more than one toolkits from different
4224 2006-10-10 Roman Kennke <kennke@aicas.com>
4226 * java/awt/LightweightDispatcher.java
4227 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4228 (redispatch): Transfer the button to the redispatched event.
4230 2006-10-10 Francis Kung <fkung@redhat.com>
4232 * java/awt/image/ColorModel.java (coerceData): Implemented.
4234 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4236 * vm/reference/java/lang/VMClassLoader.java:
4237 (defineClassWithTransformers): Use proper class name format.
4239 2006-10-09 Gary Benson <gbenson@redhat.com>
4241 * java/net/ServerSocket.java
4242 (implAccept): Add security check.
4243 (accept): Close socket if security check fails.
4244 (setSocketFactory): Add security check and already-set check.
4246 2006-10-09 Roman Kennke <kennke@aicas.com>
4249 * javax/swing/JSplitPane.java
4250 (dividerLocation): New field. Stores the divider location.
4251 (JSplitPane): Initialize dividerLocation with -1.
4252 (addImpl): Removed unneeded local variables.
4253 (getDividerLocation): Manage dividerLocation in the JSplitPane
4254 class, not in the UI.
4255 (setDividerLocation): Manage dividerLocation in the JSplitPane
4256 class, not in the UI. Only call the UI method for notification.
4257 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4258 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4259 location from the JSplitPane. Honour the minimumSize, but only
4260 if the divider location hasn't been set explicitly.
4261 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4263 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4265 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4266 the divider location.
4267 (dividerLocationSet): New field.
4268 (dividerLocation): Removed field.
4269 (createActionMap): Fetch and set divider location on the JSplitPane.
4270 (getDividerLocation): Return the actual real divider location.
4271 (getMaximumSize): Removed unneeded cast.
4272 (getPreferredSize): Removed unneeded cast.
4273 (getMinimumSize): Removed unneeded cast.
4274 (installUI): Initialize dividerLocationSet with false.
4275 (uninstallUI): Initialize dividerLocationSet with false.
4276 (setDividerLocation): Set dividerLocationSet to true.
4278 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4280 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4281 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4282 convert jstring into char *.
4283 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4284 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4285 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4286 (getif_address): Added const modifier to second argument.
4287 (getif_index): Dito.
4289 2006-10-09 Roman Kennke <kennke@aicas.com>
4291 * javax/swing/JTree.java
4292 (isSelected): Added API docs.
4294 2006-10-09 Roman Kennke <kennke@aicas.com>
4296 * javax/swing/JTree.java
4297 (isSelected): Delegate to the selection model directly.
4299 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4301 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4302 sizeof_struct_kevent to _sizeof_struct_kevent.
4304 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4306 * tools/gnu/classpath/tools/rmic/RMICException.java:
4307 javadoc corrections, reformatted.
4309 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4311 * gnu/java/lang/InstrumentationImpl.java:
4312 Made constructor package visible.
4314 2006-10-05 Gary Benson <gbenson@redhat.com>
4316 * java/net/Socket.java
4317 (Socket): Perform security check on address not hostname.
4319 2006-10-04 Roman Kennke <kennke@aicas.com>
4321 * javax/swing/tree/VariableHeightLayoutCache.java
4322 (getBounds): When rect is null, create a new Rectangle.
4324 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4326 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4327 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4328 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4329 (cpnio_select): Use CPNIO_EXPORT.
4330 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4331 inline instead of extern inline, as newer GCCs changed their
4334 2006-10-04 Gary Benson <gbenson@redhat.com>
4336 * java/net/InetAddress.java: Updated javadoc.
4337 (<clinit>, getByLiteral): Throw InternalError on failures.
4339 2006-10-03 Francis Kung <fkung@redhat.com>
4341 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4342 (compCtx): New field for composite context.
4343 (copy): Copy composite.
4344 (dispose): Dispose of composite context.
4345 (getNativeCM): New method.
4346 (setComposite): Discard old composite context and set up new context.
4347 (setRenderingHints): Update composite context.
4348 * gnu/java/awt/peer/gtk/CairoSurface.java
4349 (nativeColorModel): New field, renamed from nativeModel.
4350 (nativeModel): Renamed field to nativeColorModel.
4351 (CairoSurface(int, int)): Call new method to create sample model.
4352 (createNativeSampleModel): New method.
4353 (getBufferedImage): Updated variable name.
4354 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4355 (buffer): New field.
4356 (createBuffer): New method.
4358 (drawComposite): New method.
4359 (drawGlyphVector): New method.
4360 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4361 (drawImage(Image, int, int, ImageObserver)): Check composite.
4362 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4364 (getNativeCM): New method.
4365 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4366 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4367 intermediary pixbuf to grab on-screen pixels.
4369 2006-10-03 Tom Tromey <tromey@redhat.com>
4372 * java/util/IdentityHashMap.java (tombstone): Removed.
4373 (emptyslot): Removed.
4374 (nullslot): New field.
4375 (IdentityHashMap): Don't fill array.
4376 (clear): Fill with null.
4377 (hash): Now final. Use linear probing.
4378 (xform): New method.
4379 (unxform): Likewise.
4380 (removeAtIndex): Likewise.
4381 (clone, containsKey, containsValue, entrySet, get, hashCode,
4382 keySet, put, remove, values): Updated.
4383 (IdentityIterator, IdentityEntry): Likewise.
4384 (writeObject): Likewise.
4386 2006-10-03 Tom Tromey <tromey@redhat.com>
4388 * java/util/Locale.java (hashcode): Updated javadoc.
4389 (hashcodeCache): Removed.
4391 (hashCode): Updated.
4392 (writeObject): New method.
4393 (readObject): Updated.
4395 2006-10-02 Francis Kung <fkung@redhat.com>
4397 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4398 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4399 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4400 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4401 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4402 pre-multiply data before drawing.
4403 (fillRect): Draw using regular fill() method.
4404 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4405 * gnu/java/awt/peer/gtk/CairoSurface.java
4406 (nativeModel): Use correct value for alpha premultiplication (true).
4407 * java/awt/image/BufferedImage.java
4408 (coerceData): Update isPremultiplied field.
4410 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4412 * gnu/classpath/ListenerData.java:
4413 New class for holding listener data.
4414 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4415 ListenerData class moved to its own file.
4416 * javax/management/MBeanServerDelegate.java,
4417 * javax/management/MBeanServerDelegateMBean.java,
4418 * javax/management/MBeanServerNotification.java:
4421 2006-10-02 Tania Bento <tbento@redhat.com>
4423 * java/ast/Rectangle.java:
4424 (Rectangle(Rectangle)): Do not throw NPE.
4425 (Rectangle(Point, Dimension)): Same.
4426 (Rectangle(Point)): Same.
4427 (Rectangle(Dimension)): Same.
4429 2006-09-29 Casey Marshall <csm@gnu.org>
4432 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4433 `AbstractSelectionKey.'
4434 (cancel, isValid): removed.
4435 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4436 (events): new field.
4437 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4439 (<clinit>): initialize those constants.
4440 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4441 (doSelect): deregister cancelled keys; remove keys attached to
4442 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4443 `events' buffer; reallocate `events' buffer if needed.
4444 (register): reallocate `events' buffer if needed.
4445 (reallocateBuffer): new method.
4448 2006-09-29 Roman Kennke <kennke@aicas.com>
4451 * javax/swing/JViewport.java
4452 (cinit): Renamed system property to gnu.swing.scrollmode
4453 to avoid bloat. Default to BACKINGSTORE, this is much
4455 (repaint): Forward repaint() to parent as is specified.
4457 2006-09-29 Tania Bento <tbento@redhat.com>
4459 * javax/swing/plaf/basic/BasicTableUI.java
4460 (getPreferredSize): The number of iterations for the for-loop should be
4461 the number of columns in the table's column model, not the number of
4462 columns of the table.
4463 * javax/swing/JTable.java
4464 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4465 lines that are not needed.
4466 (initializeLocalVars): dragEnabled should be set to false, not true.
4467 (getCellRenderer): Added a check to prevent an
4468 ArrayIndexOutOfBoundsException.
4469 (doLayout): The number of iterations for the for-loops should be the
4470 number of columns in the table's column model, not the number of columns
4473 2006-09-29 Roman Kennke <kennke@aicas.com>
4475 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4477 (isOptimized): Initialize with true.
4478 (paintRaster): Removed unneeded field.
4479 (shapeCache): New static field. Caches certain shapes for reuse.
4480 (computeIntersection): Removed unneeded casts.
4481 (drawArc): Use shape cache.
4482 (drawImage): Removed unneeded statement.
4483 (drawLine): Use shape cache. Pass untranslated coordinates
4485 (drawOval): Use shape cache.
4486 (drawPolygon): Use shape cache.
4487 (drawRect): Overridden to provide accelerated rectangle drawing
4488 if possible and to use the shape cache.
4489 (drawRoundRect): Use shape cache.
4490 (fillArc): Use shape cache.
4491 (fillOval): Use shape cache.
4492 (fillPolygon): Use shape cache.
4493 (fillRect): Pass untranslated coordinates to rawFillRect().
4495 (fillRoundRect): Use shape cache.
4496 (fillScanlineAA): Removed unneeded statement.
4497 (fillScanline): Updated API docs.
4498 (fillShapeAntialias): Removed unnecessary cast.
4499 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4500 (fillShape): Updated API docs.
4501 (getShapeCache): New helper method.
4502 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4503 certain shapes for reuse in AbstractGraphics2D.
4505 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4507 * javax/management/BadBinaryOpValueExpException.java:
4508 (getExp()): Implemented.
4509 * javax/management/MBeanConnection.java:
4510 Renamed to MBeanServerConnection.
4511 * javax/management/MBeanServer.java:
4512 (setAttribute(Attribute)): Fixed...
4513 (setAttribute(ObjectName,Attribute)): to this.
4514 * javax/management/MBeanServerConnection.java:
4515 Renamed from MBeanConnection.
4516 * javax/management/QueryExp.java:
4517 Extend Serializable.
4518 * javax/management/ValueExp.java:
4520 * javax/management/loading/ClassLoaderRepository.java:
4521 (loadClass(String)): Throw ClassNotFoundException.
4522 (loadClassBefore(ClassLoader,String)): Likewise.
4523 (loadClassWithout(String, ClassLoader): Fixed...
4524 (loadClassWithout(ClassLoader,String)): to this.
4526 2006-09-28 Roman Kennke <kennke@aicas.com>
4528 * javax/swing/tree/DefaultTreeCellRenderer.java
4529 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4530 property from UIManager.
4531 (paint): Rewritten to use super's implementation and only paint
4532 background and focus indicator before.
4533 (paintFocus): New helper method.
4534 (getXOffset): New helper method.
4536 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4538 * javax/management/BadBinaryOpValueExpException.java,
4539 * javax/management/MBeanConnection.java,
4540 * javax/management/MBeanServer.java,
4541 * javax/management/ObjectInstance.java:
4543 * javax/management/ObjectName.java:
4544 (setMBeanServer(MBeanServer)): Implemented.
4545 * javax/management/QueryExp.java,
4546 * javax/management/ValueExp.java,
4547 * javax/management/loading/ClassLoaderRepository.java:
4550 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4552 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4554 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4556 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4557 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4558 * gnu/java/nio/EpollSelectorImpl.java:
4559 (doSelect): Use Integer.valueOf() instead of constructor call.
4560 (register): Use Integer.valueOf() instead of constructor call.
4562 2006-09-27 Roman Kennke <kennke@aicas.com>
4564 * java/awt/Container.java
4565 (addContainerListener): Activate newEventsOnly for the component.
4566 Ignore null listeners.
4568 2006-09-27 Roman Kennke <kennke@aicas.com>
4570 * java/awt/EventQueue.java
4571 (Queue): New inner class. Implements the actual queue.
4572 (LOW_PRIORITY): New constant field.
4573 (NORM_PRIORITY): New constant field.
4574 (queueHead): Removed. Moved into Queue.
4575 (queueTail): Removed. Moved into Queue.
4576 (queues): New field.
4577 (EventQueue): Initialize two internal queues, one for
4578 normal events, one for low priority events.
4579 (getNextEventImpl): New helper method, fetches the next event.
4580 (getNextEvent): Use getNextEventImpl() for fetching the event.
4581 (peekEvent): Use getNextEventImpl() for fetching the event.
4582 (peekEvent(int)): Search for event in all queues.
4583 (postEventImpl(AWTEvent)): Moved actual posting into
4584 postEventImpl(AWTEvent,int). Prioritize events here.
4585 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4586 event into correct queue. Re-enable event coalescing.
4587 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4588 * javax/swing/RepaintManager.java
4589 (RepaintWorkerEvent): New internal class. This is a low priority
4590 event for the repaint worker.
4591 (addDirtyRegion): Use new internal invokeLater() for sending
4592 a low priority event.
4593 (addInvalidComponent): Use new internal invokeLater() for sending
4594 a low priority event.
4595 (commitBuffer): Added some null checks.
4596 (invokeLater): New helper method. Sends a low priority
4597 repaint worker event on the event queue.
4599 2006-09-27 Roman Kennke <kennke@aicas.com>
4603 * javax/swing/plaf/basic/BasicButtonUI.java
4604 (cachedInsets): New field.
4605 (installListeners): Fire synthetic property change to initialize
4606 TEXT_LAYOUT_CACHE for the button because the font has been
4608 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4609 (paint): Use cached insets.
4610 (paintText): Let new method forward to old one, not vice versa.
4611 * javax/swing/plaf/basic/BasicMenuItemUI.java
4612 (defaultAcceleratorLabelGap): Removed unused field.
4613 (MenuGap): Removed unused field.
4614 (propertyChangeListener): Made private.
4615 (getAcceleratorRect): Removed unused method.
4616 (getAcceleratorText): Removed unused method.
4617 (getPath): Removed unnecessary cast.
4618 (installListeners): Fire synthetic property change to initialize
4619 TEXT_LAYOUT_CACHE for the button because the font has been
4621 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4622 (layoutMenuItem): Removed unused statements.
4624 2006-09-27 Roman Kennke <kennke@aicas.com>
4627 * javax/swing/tree/DefaultTreeModel.java
4628 (isLeaf): Check if the node allows children when
4629 asksAllowsChildren is true, otherwise fall back
4630 to return the node's leaf property.
4632 2006-09-27 Mario Torre <neugens@limasoftware.net>
4634 * scripts/check_jni_methods.sh: removed methods from the
4636 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4637 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4638 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4639 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4640 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4641 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4642 to better follow the GNU style.
4643 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4644 regenerated header file for GConfNativePeer.
4646 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4648 * INSTALL: Added information about grmic being built when ASM
4649 is available, added information about gconf dependency, indented
4650 Qt4 dependency section.
4651 * configure.ac: Added information about grmic being built when ASM
4654 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
4656 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4657 DeleteGlobalRef on a local ref.
4659 2006-09-24 Mario Torre <neugens@limasoftware.net>
4661 * scripts/check_jni_methods.sh: added two new methods in the
4663 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4665 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4666 * native/jni/gconf-peer/GConfNativePeer.c:
4667 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4668 refacored method name, renamed from
4669 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4670 Added code to unescape escaped GConf key names.
4671 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4672 refacored method name, renamed from
4673 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4674 Added code to unescape escaped GConf key names.
4675 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4677 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4679 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4680 version javadoc tag.
4681 (escapeString): new method.
4682 (unescapeString): likewise.
4683 (gconf_escape_key): new native method.
4684 (gconf_unescape_key): likewise.
4685 (gconf_client_suggest_sync): update native method signature, now
4686 explicity throws BackingStoreException.
4687 (gconf_client_all_nodes): update native method signature, now
4688 explicity throws BackingStoreException. Refactored method name,
4689 renamed from gconf_client_gconf_client_all_nodes.
4690 (gconf_client_all_keys): update native method signature, now
4691 explicity throws BackingStoreException. Refactored method name,
4692 renamed from gconf_client_gconf_client_all_keys.
4693 (getKeys): refactored to use the new method name
4694 gconf_client_all_keys.
4695 (getChildrenNodes): refactored to use the new method name
4696 gconf_client_all_nodes.
4697 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4698 version javadoc tag.
4699 (GConfBasedPreferences): Added code to escape node names from
4700 invalid characters so that GConf now accept invalid node names.
4701 (GConfBasedPreferences): Moved code to register the current
4702 node to the list of nodes watched by GConf outside the constructor.
4703 (childSpi): Added code to register the current node to the
4704 list of nodes watched by GConf.
4705 (getGConfKey): Added code to escape key names from
4706 invalid characters so that GConf now accept invalid key names.
4708 2006-09-26 Tom Tromey <tromey@redhat.com>
4710 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4711 call mkdirs in output-directory case.
4712 (getPrintStream): Create output directory.
4713 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4716 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
4718 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4719 Accept three additional arguments.
4720 (writePreambleImpl): New method.
4721 (getPrintStreamImpl): Likewise.
4722 (printClass): Adapted to use new methods in Printer superclass.
4723 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4724 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4725 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4726 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4728 (getParser): Add support for -o option.
4729 Check that only one of -d or -o is defined.
4730 Add support for -jni option.
4731 Add support for -force option.
4732 (makeOutputFile): New method.
4733 (writeHeaders): Removed File argument from signature.
4734 (run): Take into account newly added fields.
4735 Invoke concrete PrintStream implementations with augmented constructors.
4736 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4737 (isDirectory): Likewise.
4739 (wrotePreamble): Likewise.
4740 (Printer): Changed ctor to accept three additional arguments.
4741 (printClass): Changed signature to accept one ClassWrapper argument.
4742 (writePreambleImpl): New abstract method.
4743 (getPrintStreamImpl): Likewise.
4744 (getPrintStream): New method.
4745 (writePreamble): Likewise.
4747 2006-09-26 Tania Bento <tbento@redhat.com>
4749 * java/awt/GridLayout.java
4750 (toString): There is no common before hgap.
4751 * java/awt/Rectangle.java
4752 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4753 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
4755 (Rectangle(Point)): Throw NPE if Point is null.
4756 (Rectangle(Dimension)): Throw NPE if Dimension is null.
4758 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4760 * javax/swing/plaf/metal/MetalIconFactory.java
4761 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4762 returned by getShift(),
4763 (FileIcon16.getShift): Updated API docs,
4764 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4765 returned by getShift(),
4766 (FolderIcon16.getShift): Updated API docs,
4767 (TreeFolderIcon.getShift): Likewise,
4768 (TreeLeafIcon.getShift): Likewise.
4770 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4772 * javax/swing/plaf/metal/MetalIconFactory.java
4773 (FileIcon16.paintIcon): Fetch colors from look and feel,
4774 (FolderIcon16.paintIcon): Likewise.
4776 2006-09-25 Casey Marshall <csm@gnu.org>
4778 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4780 (write): revert back to using `writeGathering.'
4781 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4782 the first buffer that has data remaining, and start at that one.
4784 2006-09-25 Tom Tromey <tromey@redhat.com>
4786 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4789 2006-09-25 Tom Tromey <tromey@redhat.com>
4791 * tools/.cvsignore: Updated.
4793 2006-09-25 Tom Tromey <tromey@redhat.com>
4796 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4797 (Encoder.canEncode): Likewise.
4798 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4799 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4801 (Encoder.canEncode): Likewise.
4802 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4804 (Encoder.canEncode): Likewise.
4806 2006-09-25 Tom Tromey <tromey@redhat.com>
4808 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4811 2006-09-25 Francis Kung <fkung@redhat.com>
4813 * java/awt/image/ColorModel.java
4814 (coerceData): Made abstract.
4815 (coerceDataWorker): New protected method.
4816 * java/awt/image/ComponentColorModel.java
4817 (coerceData): Return new instance of proper ColorModel.
4818 * java/awt/image/DirectColorModel.java
4819 (coerceData): Return new instance of proper ColorModel.
4820 * java/awt/image/IndexColorModel.java
4821 (coerceData): New method.
4823 2006-09-24 Casey Marshall <csm@gnu.org>
4825 * gnu/java/nio/FileChannelImpl.java
4826 (read): call `read' in a loop, don't use `readScattering.'
4827 (write): call `write' in a loop, don't use `writeGathering.'
4829 2006-09-24 Mark Wielaard <mark@klomp.org>
4831 * configure.ac: Move -pedantic from WARNING to STRICT flags.
4833 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4835 * java/nio/channels/spi/AbstractSelectableChannel.java
4836 (register): Set interestOps and attachment when the key already
4839 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4841 * java/net/ServerSocket.java
4842 (bind(SocketAddress,int)): Added support for null address.
4843 Throw proper exception if already bound.
4844 Handle unresolved addresses correctly. Ignore exceptions that
4845 happen during close in error path (to prevent losing the original
4848 2006-09-24 Mark Wielaard <mark@klomp.org>
4850 Suggested by Aaron M. Ucko <ucko@debian.org>
4852 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4854 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4856 * java/nio/channels/spi/AbstractSelectableChannel.java
4857 (implCloseChannel): Cancel all keys after closing the channel.
4859 2006-09-22 Casey Marshall <csm@gnu.org>
4861 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4862 after we delete them.
4863 (selectedKeys): return an empty set if nothing's been selected.
4864 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4865 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4866 throw an exception on EBADF.
4867 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4868 throw exception on EINTR, just return 0.
4870 2006-09-22 Casey Marshall <csm@gnu.org>
4872 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4873 remove `const' from `filename.'
4874 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4876 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4878 2006-09-22 Casey Marshall <csm@gnu.org>
4880 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4881 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4882 allocate `filename,' and handle changes to `cpio_readDir.'
4883 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4884 available; copy the filename into the destination buffer; return
4885 an error code if readdir returns NULL, but errno is 0.
4886 * native/jni/native-lib/cpio.h (cpio_readDir): change second
4887 parameter to `const char *.'
4889 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
4891 * javax/management/ObjectName.java:
4894 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4896 * resource/gnu/classpath/tools/orbd: New directory.
4897 * resource/gnu/classpath/tools/rmic: Likewise.
4898 * resource/gnu/classpath/tools/rmid: Likewise.
4899 * resource/gnu/classpath/tools/rmiregistry: Likewise.
4900 * resource/gnu/classpath/tools/tnameserv: Likewise.
4901 * tools/gnu/classpath/tools/giop: Move contents to...
4902 * tools/gnu/classpath/tools/orbd,
4903 tools/gnu/classpath/tools/tnameserv: New directories.
4904 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4905 * tools/gnu/classpath/tools/rmic: New directory.
4906 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4907 * tools/gnu/classpath/tools/rmid: New directory.
4908 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4909 * tools/gnu/classpath/tools/rmiregistry: New directory.
4910 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4911 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4912 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4913 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4915 * resource/gnu/classpath/tools/tnameserv/messages.properties:
4917 * tools/gnu/classpath/tools/orbd/Main.java,
4918 tools/gnu/classpath/tools/orbd/Messages.java,
4919 tools/gnu/classpath/tools/orbd/PersistentContext.java,
4920 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4921 tools/gnu/classpath/tools/orbd/PersistentMap.java,
4922 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4923 tools/gnu/classpath/tools/rmic/CompilationError.java,
4924 tools/gnu/classpath/tools/rmic/Generator.java,
4925 tools/gnu/classpath/tools/rmic/GiopIo.java,
4926 tools/gnu/classpath/tools/rmic/HashFinder.java,
4927 tools/gnu/classpath/tools/rmic/Main.java,
4928 tools/gnu/classpath/tools/rmic/Messages.java,
4929 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4930 tools/gnu/classpath/tools/rmic/RMICException.java,
4931 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
4932 tools/gnu/classpath/tools/rmic/RmicBackend.java,
4933 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
4934 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
4935 tools/gnu/classpath/tools/rmic/Variables.java,
4936 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
4937 tools/gnu/classpath/tools/rmic/templates,
4938 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
4939 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
4940 tools/gnu/classpath/tools/rmid/Main.java,
4941 tools/gnu/classpath/tools/rmid/Messages.java,
4942 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
4943 tools/gnu/classpath/tools/rmiregistry/Main.java,
4944 tools/gnu/classpath/tools/rmiregistry/Messages.java,
4945 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
4946 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
4947 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
4948 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
4949 tools/gnu/classpath/tools/tnameserv/Main.java,
4950 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
4951 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
4952 RMIC.java from cp-tools.
4953 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
4954 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
4955 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
4957 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
4958 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
4960 (start): New method.
4961 * tools/Makefile.am: Add build support for new tool wrappers.
4962 * tools/gorbd.in: New file.
4963 * tools/grmic.in: Likewise.
4964 * tools/grmid.in: Likewise.
4965 * tools/grmiregistry.in: Likewise.
4966 * tools/gtnameserv.in: Likewise.
4967 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
4968 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
4970 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
4971 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
4972 * tools/gnu/classpath/tools/common/Persistent.java: New file.
4974 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
4977 * gnu/java/util/regex/RETokenRepeated.java
4978 (findMatch): Rewriten without using recursive calls,
4979 (FindMatchControlStack): New class,
4980 (FindMatchControl): New class,
4981 (TryAnotherResult): New class,
4982 (tryAnother): New method.
4984 2006-09-22 Gary Benson <gbenson@redhat.com>
4986 * java/net/SocketPermission.java
4987 (processHostport): Cope with IPv6 addresses with a
4988 one-digit first component.
4990 2006-09-22 Roman Kennke <kennke@aicas.com>
4992 * java/awt/Component.java
4993 (enableEvents): Set newEventsOnly flag.
4994 * java/awt/Container.java
4995 (dispatchEventImpl): Consume event if lightweight dispatcher
4996 dispatched the event. Don't call processEvent() here, this
4997 is already done in Component.dispatchEventImpl(). For
4998 heavyweights or when the lightweight dispatcher could
4999 not dispatch, fall back to calling super.
5000 (dispatchNoLightweight): New helper method to avoid
5001 recursivly calling the lightweight dispatcher.
5002 * java/awt/LightweightDispatcher.java
5003 (dragButton): Removed field.
5004 (dragTarget): Removed field.
5005 (mouseEventTarget): New field.
5006 (convertPointToChild): Removed method.
5007 (dispatchEvent): Don't depend on component beeing
5009 (findTarget): Improved algorithm for finding a target.
5010 Before we went down to the deepest component and went
5011 up again to find a suitable target. Now we go
5012 down only once, without going up.
5013 (handleMouseEvent): Broke method down into some smaller
5015 (isDragging): New helper method.
5016 (isMouseListening): New helper method.
5017 (redispatch): New helper method.
5018 (trackEnterExit): New helper method.
5020 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5022 * javax/swing/SizeSequence.java
5023 (getSize): Return 0 if index is out of bounds.
5025 2006-09-21 Tom Tromey <tromey@redhat.com>
5027 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5028 (PathOptionGroup): Make -I a joined option.
5029 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5030 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5031 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5032 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5033 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5034 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5035 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5036 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5037 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5038 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5039 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5040 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5041 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5042 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5043 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5044 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5045 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5046 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5047 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5048 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5049 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5051 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5052 * tools/gnu/classpath/tools/common/Messages.java: New file.
5053 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5054 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5056 (ClasspathToolParser): Add -J option here.
5057 (ClasspathToolParser): Call other constructor in this class.
5058 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5059 Handle joined options.
5060 (handleShortOptions): Likewise.
5061 (handleShortOption): Removed.
5062 (finalGroup): New field.
5063 (Parser): Initialize new field. Don't add -J option.
5064 (addFinal): New method.
5065 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5067 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5068 (Option): Check short option for validity.
5069 (Option): New constructors.
5070 (joined): New field.
5072 2006-09-21 csm <csm@pollux.local>
5074 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5075 `InterruptedIOException;' try again if it gets thrown.
5076 (receive): likewise, but re-throw `SocketTimeoutException.'
5077 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5078 if we have nothing to select.
5080 2006-09-21 Francis Kung <fkung@redhat.com>
5082 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5083 (getLogicalBounds): Respect glyph transformations.
5084 (getGlyphOutline): Added null pointer check.
5085 (getGlyphTransform): Do not generate identity transform (API permits null).
5086 (setGlyphPosition): Do not invalidate transform.
5087 (setGlyphTransform): Do not modify glyph position.
5089 2006-09-21 Francis Kung <fkung@redhat.com>
5091 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5093 2006-09-21 Francis Kung <fkung@redhat.com>
5095 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5096 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5097 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5099 2006-09-21 Tania Bento <tbento@redhat.com>
5101 * javax/swing/JTabbedPane.java:
5102 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5103 (setModel): A ChangeListener should be created only if there does not
5104 currently exist one.
5106 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5108 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5109 (MaximizeAction.actionPerformed): Change icon on maxButton.
5111 2006-09-21 Roman Kennke <kennke@aicas.com>
5113 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5114 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5115 Use more efficient getViewPosition() and getViewSize() methods
5116 to avoid creating a rectangle.
5117 (HSBChangeListener.stateChanged): Update the view position
5118 unconditionally. Let the Viewport figure out if something
5120 (VSBChangeListener.stateChanged): Update the view position
5121 unconditionally. Let the Viewport figure out if something
5123 * javax/swing/JViewport.java
5124 (ViewListener.componentResized): Fire state change, because
5125 the extentSize changes.
5126 (extentSize): Removed unneeded field.
5127 (viewSize): Removed unneeded field.
5128 (getExtentSize): Return the viewport's size here.
5129 (getViewRect): Reformatted.
5130 (getViewSize): Reordered for only one return statement.
5131 (paintImmediately2): Fixed up javadoc.
5132 (paint): Removed unneeded statement.
5133 (setExtentSize): Set viewport size and check for actual change
5135 (setViewPosition): Simplified condition. Set scrollUnderway
5136 true and don't set isViewSizeSet. Avoid creating one Point
5138 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5140 * javax/swing/JScrollBar.java
5141 (ScrollBarListener): New class. Forwards change events from
5142 the model as adjustment events.
5143 (sbChangeListener): New field.
5144 (JScrollBar): Install listener on new model.
5145 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5147 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5148 method to allow custom isAdjusting value.
5149 (setMaximum): Only forward to model.
5150 (setMinimum): Only forward to model.
5151 (setValue): Only forward to model.
5152 (setVisibleAmount): Only forward to model.
5153 (setValues): Only forward to model.
5154 (setModel): Update the change listener.
5156 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5158 * java/util/Formatter.java (basicIntegralConversion): Removed
5159 check for ZERO && !LEFT_JUSTIFY.
5161 2006-09-20 Roman Kennke <kennke@aicas.com>
5164 * javax/swing/plaf/metal/DefaultMetalTheme.java
5165 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5166 (BOLD_CONTROL_TEXT_FONT): New constant field.
5167 (PLAIN_MENU_TEXT_FONT): New constant field.
5168 (BOLD_MENU_TEXT_FONT): New constant field.
5169 (controlTextFont): Removed.
5170 (menuTextFont): Removed.
5171 (CONTROL_TEXT_FONT): New constant field.
5172 (MENU_TEXT_FONT): New constant field.
5173 (getControlTextFont): Use getFont() helper method for fetching
5175 (getMenuTextFont): Use getFont() helper method for fetching
5177 (getFont): New helper method.
5178 (isBoldMetal): New helper method.
5180 2006-09-20 Casey Marshall <csm@gnu.org>
5182 * NEWS: mention epoll selector along with the kqueue one.
5184 2006-09-20 Casey Marshall <csm@gnu.org>
5186 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5187 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5189 2006-09-20 Francis Kung <fkung@redhat.com>
5192 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5193 (getGlyphTransform): Use translation instead of scale.
5194 (performDefaultLayout): Increment position values instead of resetting, and
5195 pre-increment instead of post-increment.
5196 (setGlyphTransform): Handle null case with identity transform.
5198 2006-09-20 Casey Marshall <csm@gnu.org>
5200 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5201 (AC_CHECK_FUNCS): check for `epoll_create.'
5202 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5203 * gnu/java/nio/EpollSelectorImpl.java: new file.
5204 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5206 (openSelector): return epoll selector if requested and available.
5207 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5208 (gnu_java_nio_EpollSelectorImpl.h): new target.
5209 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5210 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5211 gnu_java_nio_EpollSelectorImpl.c.
5212 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5214 2006-09-20 Casey Marshall <csm@gnu.org>
5216 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5218 (isConnected): return false if `connectionPending' is true.
5220 2006-09-20 Francis Kung <fkung@redhat.com>
5223 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5224 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5225 (getGlyphOutline): Call getGylphTransform to generate transform.
5226 (getGylphPosition): Read position directly out of array.
5227 (getGlyphPositions): Read positions directly out of array.
5228 (getGlyphTransform): Generate transform based on gylphPositions array.
5229 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5230 (setGlyphPosition): Set position directly into array.
5231 (setGlyphTransform): Update positions array as well.
5233 2006-09-20 David Daney <ddaney@avtrex.com>
5236 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5237 default content-type for POST method.
5239 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5241 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5242 (BasicRadioButtonUI): Don't fetch icon here,
5243 (installDefaults): Initialise icon here,
5244 (getDefaultIcon): Just return icon.
5246 2006-09-20 Mark Wielaard <mark@klomp.org>
5248 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5249 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5250 (EXTRA_DIST): Include javanio.c.
5252 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5254 * java/awt/geom/RoundRectangle2D.java:
5255 (getPathIterator): Reimplemented,
5256 and updated various API doc comments.
5258 2006-09-20 Roman Kennke <kennke@aicas.com>
5260 * java/awt/Container.java
5261 (addImpl): Set the new component's parent after it has been
5262 added to the array. Call addNotify() and invalidate()
5263 after the component has been added, so that the peer
5264 gets to know about the component structure when it is created.
5265 * java/awt/Window.java
5266 (dispatchEventImpl): Only revalidate when window is resized,
5267 let the other stuff be processed by the superclass.
5268 (dispose): Post WINDOW_CLOSED event only when some listener
5269 is registered or event is explicitly enabled.
5270 (show): Post WINDOW_OPENED event when appropriate.
5272 2006-09-20 Roman Kennke <kennke@aicas.com>
5274 * java/awt/Component.java
5275 (addNotify): Invalidate here. Fetch peer font.
5276 (getFont): Delegate to helper method, to protect from
5277 overriding client code. Lock the tree while fetching the font.
5278 (getFontImpl): New helper method. Moved code from getFont() in
5280 (removeNotify): Nullify peerFont too.
5281 (setFont): Synchronize on tree and component to avoid threading
5282 issues. Update the peerFont correctly.
5283 (validate): Update the peer font if necessary, before validating.
5284 (getGraphics): Revert to recursive graphics fetching.
5285 Set component font on the Graphics object.
5286 (translateEvent): Removed unnecessary cast.
5287 * java/awt/Container.java
5288 (invalidateTree): Made final and private. Made implementation
5289 slightly more efficient.
5290 (setFont): Get old and new font via getFont() to account for
5291 the real font, and only invalidate the tree when they are not
5292 the same and not equal.
5293 (visitChild): Set the font of the child on the component graphics.
5294 * java/awt/Frame.java
5295 (setMenuBar): Create local reference of peer for thread safety.
5296 Only call simple invalidate, not invalidateTree().
5298 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5301 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5302 (constructor): Copy image field.
5304 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5306 * javax/swing/JMenuBar.java
5307 (getHelpMenu): Implemented to throw an Error, and added API docs,
5308 (getMargin): Added API docs,
5309 (setMargin): Likewise.
5311 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5313 * javax/swing/AbstractButton.java
5314 (AbstractButton): Don't call updateUI(),
5315 * javax/swing/JButton.java
5316 (JButton(String, Icon)): Call setModel() before init(),
5317 * javax/swing/JMenuItem.java
5318 (JMenuItem()): Delegate to another constructor,
5319 (JMenuItem(Icon)): Likewise,
5320 (JMenuItem(Action)): Set model,
5321 (JMenuItem(String, Icon)): Likewise,
5322 * javax/swing/JToggleButton.java
5323 (init): Call setModel() before init().
5325 2006-09-19 Mark Wielaard <mark@klomp.org>
5328 * java/util/logging/LogManager.java (addLogger): Always check for
5329 existing children of a new Logger.
5331 2006-09-19 Roman Kennke <kennke@aicas.com>
5333 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5334 (HSBChangeListener.stateChanged): Moved handling of header to
5335 syncScrollPaneWithViewport().
5336 (VSBChangeListener.stateChanged): Moved handling of header to
5337 syncScrollPaneWithViewport().
5338 (ViewportChangedHandler.stateChanged): Removed unused statements.
5339 (syncScrollPaneWithViewport): Added null checks. Use setValues
5340 rather then the single setter methods to avoid multiple
5341 adjustments and side effects. Also snyc the headers here.
5342 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5343 (uninstallUI): Removed unnecessary cast and this qualifier as well
5344 as the call to super.
5346 2006-09-19 Gary Benson <gbenson@redhat.com>
5348 * java/net/ResolverCache.java: New class (a DNS cache).
5349 * java/net/InetAddress.java
5350 (internalGetCanonicalHostName, getAllByName): Use the above.
5352 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5354 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5355 * java/net/ServerSocket.java
5357 (bind): Set port field.
5358 (close): Set impl to null.
5359 (isClosed): Check impl and channel instead of using VMChannel.
5360 (toString): Use port field and getLocalPort() method.
5361 * java/net/Socket.java
5362 (isClosed): Check impl and channel instead of using VMChannel.
5364 2006-09-18 Tom Tromey <tromey@redhat.com>
5366 * java/util/concurrent/CopyOnWriteArrayList.java
5367 (CopyOnWriteArrayList): New constructor.
5369 2006-09-18 Casey Marshall <csm@gnu.org>
5371 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5372 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5374 2006-09-18 Tom Tromey <tromey@redhat.com>
5376 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5377 isConnected): Removed old comment.
5378 (getRemoteSocketAddress): Uncommented.
5379 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5380 setTrafficClass, getTrafficClass, setReuseAddress,
5381 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5382 isOutputShutdown): Uncommented.
5384 2006-09-18 David Pirkle <dpirkle@symyx.com>
5387 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5388 input stream during resolution.
5390 2006-09-18 Roman Kennke <kennke@aicas.com>
5392 * java/awt/LightweightDispatcher.java
5393 (findTarget): Correctly translate child coordinates.
5394 Use Component.eventTypeEnabled() for checking if a component
5395 has a certain event enabled.
5396 (handleMouseEvent): Find the correct mouse event target.
5397 Use Component.eventTypeEnabled() for checking if a component
5398 has a certain event enabled.
5400 2006-09-18 Roman Kennke <kennke@aicas.com>
5402 * java/awt/Component.java
5403 (show): Test for the peer beeing lightweight directly.
5404 (paintAll): Validate before painting. Don't paint when not
5405 showing. Call peer.paint() when the component is heavyweight.
5406 (repaint): Delegate to the parent when lightweight, rather
5407 than skipping to the nearest heavyweight.
5408 (createImage): Added null check to prevent NPE.
5409 (dispatchEvent): Moved old event dispatching and toolkit
5410 event dispatching to dispatchEventImpl.
5411 (addComponentListener): Don't enable event. Only add listener
5412 when not null. Switch to new event dispatching only.
5413 (addFocusListener): Likewise.
5414 (addHierarchyListener): Likewise.
5415 (addHierarchyBoundsListener): Likewise.
5416 (addKeyListener): Likewise.
5417 (addMouseListener): Likewise.
5418 (addMouseMotionListener): Likewise.
5419 (addMouseWheelListener): Likewise.
5420 (addInputMethodListener): Likewise.
5421 (coalesceEvents): For mouse events coalesce them only when
5422 their modifiers are equal. For paint events coalesce the events
5423 when one contains the other, without going through complicated
5425 (dispatchEventImpl): Moved old event dispatching and toolkit
5426 event dispatching to dispatchEventImpl.
5427 (coalescePaintEvents): Removed.
5428 (HeavyweightInLightweightListener.componentHidden):
5430 * java/awt/Container.java
5431 (addImpl): Don't enable events on lightweights.
5432 (remove): Reordered operations. Don't remove any listeners.
5433 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5434 Only removeNotify() when peer is != null. Only invalidate if
5435 not already invalid. Only fire ContainerEvent if there is
5436 an interested listener or the event is enabled. Dispatch this
5437 event directly without the event queue.
5438 (removeAll): Likewise.
5439 (paintComponents): Only paint when showing. Also paint heavyweights.
5440 Don't paint the container itself.
5441 (removeNotify): Create local variables for improved thread safety.
5442 (addNotifyContainerChildren): Don't enable events for lightweights.
5444 2006-09-18 Roman Kennke <kennke@aicas.com>
5446 * java/awt/EventQueue.java
5447 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5448 (next_in): Removed obsolete field.
5449 (next_out): Removed obsolete field.
5450 (queueHead): New field. Markes the head of the queue.
5451 (queueTail): New field. Markes the tail of the queue.
5452 (queue): Removed obsolete field.
5453 (EventQueue): Documented empty block.
5454 (getNextEvent): Changed array based implementation to single-linked
5455 list based implementation.
5456 (invokeAndWait): Use an Object as synchronization object rather
5457 than the current thread.
5458 (peekEvent(int)): Changed array based implementation to single-linked
5459 list based implementation.
5460 (peekEvent()): Changed array based implementation to single-linked
5461 list based implementation.
5462 (pop()): Changed array based implementation to single-linked
5463 list based implementation.
5464 (postEvent): Foward to postEventImpl.
5465 (postEventImpl): Changed array based implementation to single-linked
5466 list based implementation.
5467 (push): Changed array based implementation to single-linked
5468 list based implementation.
5469 * java/awt/AWTEvent.java
5470 (queueNext): New field. Implements a single-linked list for
5473 2006-09-17 Mark Wielaard <mark@klomp.org>
5475 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5476 resource from HTMLEditorKit.class.
5478 2006-09-17 Mark Wielaard <mark@klomp.org>
5480 * javax/swing/plaf/basic/BasicToolBarUI.java
5481 (setBorderToNonRollover): Check whether border is null.
5482 (setBorderToRollover): Likewise.
5484 2006-09-17 Mark Wielaard <mark@klomp.org>
5486 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5488 2006-09-17 Mark Wielaard <mark@klomp.org>
5490 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5491 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5492 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5493 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5494 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5496 2006-09-17 Casey Marshall <csm@gnu.org>
5498 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5501 2006-09-17 Chris Burdess <dog@gnu.org>
5503 Fixes PR 27610 27687.
5504 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5505 * gnu/xml/transform/SAXTemplatesHandler.java,
5506 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5507 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5508 SAXTransformerFactory.
5510 2006-09-16 Casey Marshall <csm@gnu.org>
5513 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5514 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5516 (HAVE_INET6): define if IPv6 is supported.
5517 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5518 (native_fd): removed.
5520 (<init>): throw IOException; initialize fields.
5521 (finalize): removed.
5522 (getNativeFD): removed.
5523 (bind): use `PlainSocketImpl.bind.'
5524 (create): use `PlainSocketImpl.initSocket.'
5525 (disconnect): use `PlainSocketImpl.disconnect.'
5526 (getLocalPort): new method.
5527 (send): use `VMChannel.send.'
5528 (receive): use `VMChannel.receive.'
5529 (setOption): use `PlainSocketImpl.setOption.'
5530 (getOption): use `PlainSocketImpl.getOption.'
5531 (close): use `VMChannel.State.close.'
5532 (join): use `PlainSocketImpl.join.'
5533 (leave): use `PlainSocketImpl.leave.'
5534 (joinGroup, leaveGroup): implemented.
5535 * gnu/java/net/PlainSocketImpl.java: make non-final.
5536 (native_fd): removed.
5538 (channel): new field.
5539 (<init>): initialize `impl.'
5540 (finalize, getNativeFD): removed.
5541 (setOption): use `PlainSocketImpl.setOption.'
5542 (getOption): use `PlainSocketImpl.getOption.'
5543 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5544 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5545 (create): create `channel,' initialize `impl's native state.
5546 (connect): use `connect(SocketAddress, int).'
5547 (connect): use `SocketChannelImpl.connect;' initialize `address'
5549 (bind): use `VMPlainSocketImpl.bind.'
5550 (listen): use `VMPlainSocketImpl.listen.'
5551 (accept): use `SocketChannelImpl.accept.'
5552 (available): use `VMChannel.available.'
5553 (close): use `PlainSocketImpl.close.'
5554 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5555 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5556 getPort): new methods.
5557 (SocketInputStream.read): use `VMChannel.read.'
5558 (SocketInputStream.read): use `SocketChannel.read.'
5559 (SocketOutputStream.write): use `VMChannel.write.'
5560 (SocketOutputStream.write): use `SocketChannel.write.'
5561 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5562 (channel): new field.
5563 (<init>): initialize `channel.'
5564 (implCloseSelectableChannel): use `VMChannel.close.'
5565 (implConfigureBlocking): use `VMChannel.setBlocking.'
5566 (connect): use `VMChannel.connect.'
5567 (disconnect): use `VMChannel.disconnect.'
5568 (isConnected): use `VMChannel.getPeerAddress.'
5569 (write): use `VMChannel.write.'
5570 (write): use `VMChannel.writeGathering.'
5571 (read): use `VMChannel.read.'
5572 (read): use `VMChannel.readScattering.'
5573 (receive): use `VMChannel.receive.'
5574 (send): use `VMChannel.send.'
5575 (getVMChannel): new method.
5576 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5577 access native FD through VMChannel.State.
5578 * gnu/java/nio/FileChannelImpl.java: moved from
5579 gnu/java/nio/channels/FileChannelImpl.java.
5580 * gnu/java/nio/FileLockImpl.java: fix imports.
5581 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5582 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5583 * gnu/java/nio/NIOSocket.java (impl): removed.
5584 (channel): new field.
5585 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5586 (getPlainSocketImpl, setChannel): removed.
5587 (isConnected): new method.
5588 * gnu/java/nio/NIOSocketImpl.java: new file.
5589 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5591 (SourceChannelImpl.native_fd): removed.
5592 (SourceChannelImpl.<init>): init with a `VMChannel.'
5593 (SourceChannelImpl.getNativeFD): removed.
5594 (SourceChannelImpl.getVMChannel): new method.
5595 (SourceChannelImpl.implCloseSelectableChannel): implement.
5596 (SinkChannelImpl): implement `VMChannelOwner.'
5597 (SinkChannelImpl.native_fd): removed.
5598 (SinkChannelImpl.<init>): init with a `VMChannel.'
5599 (SinkChannelImpl.implCloseSelectableChannel): implement.
5600 (SinkChannelImpl.getNativeFD): removed.
5601 (SinkChannelImpl.getVMChannel): new method.
5602 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5604 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5605 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5606 (openSelector): return kqueue selector if available.
5607 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5609 (channel): new field.
5610 (<init>): init `channel.'
5611 (finalizer): check if the `VMChannel.State' is valid.
5612 (implCloseSelectableChannel): use `VMChannel.close.'
5613 (implConfigureBlocking): use `VMChannel.setBlocking.'
5614 (accept): use `VMChannel.accept.'
5615 (getVMChannel): new method.
5616 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5617 access native FD through `VMChannel.State.'
5618 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5620 (channel, connected, connectAddress): new field.
5621 (<init>): new constructors.
5622 (getPlainSocketImpl): removed.
5623 (implCloseSelectableChannel): use `VMChannel.close.'
5624 (implConfigureBlocking): use `VMChannel.setBlocking.'
5625 (connect): use `connect(SocketAddress,int).'
5626 (connect): use `VMChannel.connect.'
5627 (finishConnect): don't use a selector.
5628 (isConnected): use `VMChannel.getPeerAddress.'
5629 (read): use `VMChannel.read.'
5630 (read): use `VMChannel.readScattering.'
5631 (write): use `VMChannel.write.'
5632 (write): use `VMChannel.writeGathering.'
5633 (getVMChannel): new method.
5634 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5635 native FD from `VMChannel.State.'
5636 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5637 get native FD from `VMChannel.State.'
5638 * gnu/java/nio/VMChannelOwner.java: new file.
5639 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5640 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5641 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5642 `gnu_java_nio_channels_FileChannelImpl.h.'
5643 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5644 * include/gnu_java_nio_FileChannelImpl.h: new file.
5645 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5646 * include/gnu_java_nio_VMChannel.h: regenerated.
5647 * include/gnu_java_nio_VMPipe.h: regenerated.
5648 * include/java_net_VMNetworkInterface.h: regenerated.
5649 * java/io/FileDescriptor.java: fix imports.
5650 * java/io/FileInputStream.java (<init>): handle exceptions.
5651 (read): wrap the destination arary.
5652 * java/io/FileOutputStream.java (<init>): handle exceptions.
5653 (write): wrap the source array.
5654 * java/io/RandomAccessFile.java (<init>): handle exceptions.
5655 * java/net/DatagramSocket.java (<init>): handle exceptions.
5656 (receive): handle length/port setting.
5657 (connect): bind to any address/port if the argument is null.
5658 * java/net/NetworkInterface.java (name, inetAddress): removed.
5660 (<init>): make private.
5661 (getName): return `netif.name.'
5662 (getInetAddresses): access `netif.addresses.'
5663 (getDisplayName): return `netif.name.'
5664 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5665 (condense): removed.
5666 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5667 (equals): compare `netif' fields.
5668 (hashCode): get hash codes from `netif.'
5669 (toString): use a StringBuffer.
5670 * java/net/ServerSocket.java (close): don't set `impl' to null.
5671 (isClosed): use `VMChannel.State.isClosed.'
5672 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5673 the `SocketImpl' is a `PlainSocketImpl.'
5674 (close): just close the `impl.'
5675 (toString): use `super.toString' in the value we return.
5676 (isConnected): just access `impl,' not `getImpl.'
5677 (isBound): use `PlainSocketImpl' methods if we can.
5678 (isClosed): look at `VMChannel.State.'
5679 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5680 (JCL_NewRawDataObject): don't initialize cached fields here; throw
5681 an exception if they were not.
5682 (JCL_GetRawData): throw an exception if cached fields weren't
5684 * native/jni/java-lang/java_lang_VMProcess.c: handle
5685 FileChannelImpl move.
5686 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5687 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5688 THROW_NO_NETWORK): new macros.
5689 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5690 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5691 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5692 (java_sockopt): new enum.
5693 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5694 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5695 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5697 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5699 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5701 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5702 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5703 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5704 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5705 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5706 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5707 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5708 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5709 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5710 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5711 (getif_address): new function.
5712 (getif_index): new function.
5713 * native/jni/java-net/java_net_VMNetworkInterface.c
5714 (java_net_VMNetworkInterface_init,
5715 java_net_VMNetworkInterface_addAddress): new file-scope globals.
5716 (Java_java_net_VMNetworkInterface_initIds): new function.
5717 (struct netif_entry): new struct.
5718 (free_netif_list): new function.
5719 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5720 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5721 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5722 gnu_java_nio_channels_FileChannelImpl.c, add
5723 gnu_java_nio_KqueueSelectorImpl.c.
5724 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5725 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5726 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5727 ALIGN_DOWN): new macros.
5728 (JCL_init_buffer): get the address through GetDirectBufferAddress
5730 (Java_gnu_java_nio_VMChannel_stdin_1fd,
5731 Java_gnu_java_nio_VMChannel_stdout_1fd,
5732 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5733 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5735 (Java_gnu_java_nio_VMChannel_read): renamed...
5736 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5737 this; handle interrupted IO; add HAVE_READ check.
5738 (Java_gnu_java_nio_VMChannel_write): renamed...
5739 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5740 this; handle zero-length write; add HAVE_WRITE check.
5741 (Java_gnu_java_nio_VMChannel_receive): new function.
5742 (Java_gnu_java_nio_VMChannel_send): new function.
5743 (Java_gnu_java_nio_VMChannel_send6): new function.
5744 (Java_gnu_java_nio_VMChannel_read__I): new function.
5745 (Java_gnu_java_nio_VMChannel_write__II): new function.
5746 (Java_gnu_java_nio_VMChannel_socket): new function.
5747 (Java_gnu_java_nio_VMChannel_connect): new function.
5748 (Java_gnu_java_nio_VMChannel_connect6): new function.
5749 (Java_gnu_java_nio_VMChannel_getsockname): new function.
5750 (Java_gnu_java_nio_VMChannel_getpeername): new function.
5751 (Java_gnu_java_nio_VMChannel_accept): new function.
5752 (Java_gnu_java_nio_VMChannel_disconnect): new function.
5753 (Java_gnu_java_nio_VMChannel_close): new function.
5754 (Java_gnu_java_nio_VMChannel_available): new function.
5755 (FileChannel_mode): new enum.
5756 (Java_gnu_java_nio_VMChannel_open): new function.
5757 (Java_gnu_java_nio_VMChannel_position): new function.
5758 (Java_gnu_java_nio_VMChannel_seek): new function.
5759 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5760 (Java_gnu_java_nio_VMChannel_lock): new function.
5761 (Java_gnu_java_nio_VMChannel_unlock): new function.
5762 (Java_gnu_java_nio_VMChannel_size): new function.
5763 (Java_gnu_java_nio_VMChannel_map): new function.
5764 (Java_gnu_java_nio_VMChannel_flush): new function.
5765 * native/jni/java-nio/gnu_java_nio_VMPipe.c
5766 (Java_gnu_java_nio_VMPipe_init): removed.
5767 (Java_gnu_java_nio_VMPipe_pipe0): new function.
5768 * native/jni/java-nio/javanio.c: new file.
5769 * native/jni/java-nio/javanio.h: new file.
5770 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5771 systems without `gethostbyname_r.'
5772 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5774 (<init>, <init>): new constructors.
5775 (setOption, getOption): make instance methods; defer to native
5778 (bind): make an instance method; defer to native methods.
5780 (available): removed.
5781 (listen): make an instance method; defer to native method.
5783 (join, leave): new methods.
5785 (joinGroup, leaveGroup): new methods.
5786 (shutdownInput, shutdownOutput): make instance methods.
5787 (sendUrgentData): removed.
5789 * vm/reference/gnu/java/nio/VMChannel.java: make final.
5792 (<init>): new, public constructors.
5793 (getVMChannel): methods removed.
5794 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5795 stderr_fd): new methods.
5796 (setBlocking): make an instance method.
5797 (available): new method.
5798 (read): get native fd from `nfd.'
5799 (read): new single-byte read method.
5800 (readScattering): get native fd from `nfd.'
5801 (receive): new method.
5802 (write, writeGathering): get native fd from `nfd.'
5804 (write): new single-byte write method.
5805 (initSocket): new method.
5806 (connect): new method.
5807 (disconnect): new method.
5808 (getLocalAddress): new method.
5809 (getPeerAddress): new method.
5810 (accept): new method.
5811 (openFile): new method.
5812 (position): new method.
5814 (truncate): new method.
5816 (unlock): new method.
5819 (flush): new method.
5820 (close): new method.
5823 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5824 (pipe, pipe0): new method.
5825 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5827 (<clinit>): call `initIds.'
5828 (initIds): new method.
5829 (getInterfaces): removed.
5830 (getVMInterfaces): new method.
5831 (addAddress): new method.
5832 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5834 2006-09-16 Chris Burdess <dog@gnu.org>
5837 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5838 when in text output mode.
5840 2006-09-16 Chris Burdess <dog@gnu.org>
5843 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5845 2006-09-14 Michael Koch <konqueror@gmx.de>
5847 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5849 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
5851 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5852 Added !cl.isArray() to serialVersionUID mismatch check.
5854 2006-09-14 Francis Kung <fkung@redhat.com>
5856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5857 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5858 be compatibe with Cairo 1.2.x.
5860 2006-09-14 Francis Kung <fkung@redhat.com>
5862 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5863 (cairoSurfaceSetFilter): Removed method.
5864 (drawImage): Pass interpolation type as argument to drawing methods.
5865 (drawPixels): Added interpolation parameter.
5866 (drawRaster): Pass interpolation type as argument to drawing method.
5867 (getInterpolation): New method.
5868 (setRenderingHint): Store hints, but do not set interpolation in cairo.
5869 (setRenderingHints): Store hints, but do not set interpolation in cairo.
5870 * gnu/java/awt/peer/gtk/CairoSurface.java
5871 (drawSurface): Added interpolation parameter.
5872 (nativeDrawSurface): Added interpolation parameter.
5873 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5874 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5876 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5877 * native/jni/gtk-peer/cairographics2d.h
5878 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5879 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5880 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5882 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5883 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5884 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5885 interpolation parameter.
5887 2006-09-14 Gary Benson <gbenson@redhat.com>
5889 * java/net/InetAddress.java
5890 (internalGetCanonicalHostName): New method.
5891 (getCanonicalHostName): Use internalGetCanonicalHostName.
5892 (getByLiteral): New method.
5893 (getAllByName): Use getByLiteral.
5894 * java/net/SocketPermission.java
5895 (host): Replaced with...
5896 (hostname, address): New fields.
5897 (equals, hashcode): Reflect the above.
5898 (setHostPort): Parse host into hostname or address.
5899 (implies): Rewrite host checks.
5901 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5904 * java/awt/Menu.java
5905 (insert(MenuItem, int)): Fixed loop range,
5906 (insert(String, int)): Updated API docs.
5908 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
5911 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5912 architectures (like Arm).
5913 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5914 Reverted SWAP_DOUBLE patch.
5915 (doubleToRawLongBits): Likewise.
5916 (longBitsToDouble): Likewise.
5918 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5920 * java/awt/Menu.java: Reformatted source file.
5922 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5924 * gnu/java/rmi/server/ActivatableRef.java
5925 (readExternal, writeExternal): Partial fix for serialization format.
5927 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5930 * java/io/InputStreamReader.java
5931 (read(char[],int,int)): Fixed bug.
5933 2006-09-13 Francis Kung <fkung@redhat.com>
5935 * java/awt/image/BandCombineOp.java: Updated documentation.
5936 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
5938 2006-09-13 Tom Tromey <tromey@redhat.com>
5941 * java/io/PipedReader.java (read): Return early if len==0.
5942 * java/io/PipedInputStream.java (read): Return early if len==0.
5944 2006-09-13 Francis Kung <fkung@redhat.com>
5946 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
5947 Removed hard-coded max sample value.
5948 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
5949 Fixed finding of max sample value.
5951 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5953 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5954 (setPaint): Check null argument ('p').
5956 2006-09-12 Francis Kung <fkung@redhat.com>
5959 * gnu/java/awt/java2d/TexturePaintContext.java
5960 (constructor): Fixed typo, getMinY instead of getMaxX.
5961 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5962 (setPaint): Implemented support for custom Paint classes.
5963 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
5964 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
5965 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
5966 to setPaintPixels, and added repeat parameter.
5967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
5968 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
5970 2006-09-12 Gary Benson <gbenson@redhat.com>
5972 * java/net/NetworkInterface.java (getInetAddresses):
5973 Fix port used in security check.
5975 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5977 * javax/swing/plaf/metal/DefaultMetalTheme.java
5978 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
5979 (MENU_TEXT_FONT): Renamed 'menuTextFont',
5980 (getControlTextFont): Check 'swing.boldMetal' setting before
5982 (getMenuTextFont): Likewise.
5984 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5986 * javax/swing/plaf/metal/OceanTheme.java
5987 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
5989 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5991 * javax/swing/plaf/metal/MetalIconFactory.java
5992 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
5994 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5996 * javax/swing/AbstractSpinnerModel.java: API doc updates.
5998 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
6000 * javax/swing/AbstractButton.java
6001 (AbstractButton): Initialise textIconGap field.
6003 2006-09-11 Tom Tromey <tromey@redhat.com>
6005 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6006 "volatile" when needed.
6008 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6010 * java/text/AttributedCharacterIterator.java
6011 (LANGUAGE): Initialise with lower case string,
6012 (INPUT_METHOD_SEGMENT): Likewise,
6013 (READING): Likewise,
6014 * java/text/AttributedStringIterator.java
6015 (getRunLimit): Check all attributes for changes.
6017 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6019 * java/text/AttributedCharacterIterator.java: Added @since tag,
6020 renamed some variables (no underscores) and removed some spaces to
6021 match the common style,
6022 * java/text/AttributedString.java: Likewise,
6023 * java/text/AttributedStringIterator.java: Likewise.
6025 2006-09-11 Gary Benson <gbenson@redhat.com>
6027 * java/net/Inet4Address.java
6028 (FAMILY): Renamed back to AF_INET.
6029 (<init>, writeReplace): Reflect the above.
6030 * java/net/Inet6Address.java
6031 (FAMILY): Renamed back to AF_INET6.
6032 (<init>): Reflect the above.
6034 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6037 * java/text/AttributedString.java
6038 (AttributedString(AttributedCharacterIterator, int, int,
6039 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6042 2006-09-11 Gary Benson <gbenson@redhat.com>
6044 * java/net/Inet4Address.java
6045 (AF_INET): Renamed to FAMILY.
6046 (<init>, writeReplace): Reflect the above.
6047 * java/net/Inet6Address.java
6048 (AF_INET6): Renamed to FAMILY.
6049 (<init>): Reflect the above.
6051 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6054 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6055 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6056 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6057 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6058 (bind): Call getImpl().create(true).
6060 2006-09-09 Chris Burdess <dog@gnu.org>
6062 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6063 an instance of org.w3c.dom.NodeList.
6065 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6067 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6068 missing security manager when run in standalone mode.
6070 2006-09-08 Francis Kung <fkung@redhat.com>
6072 * java/awt/image/AffineTransformOp.java: Updated documentation.
6073 (createCompatibleDestRaster): Updated formatting.
6074 (filter(BufferedImage, BufferedImage)): Updated formatting.
6075 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6076 if colour model is compatible.
6077 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6078 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6080 2006-09-08 Gary Benson <gbenson@redhat.com>
6082 * java/net/InetAddress.java
6083 (family): Updated javadoc and made private.
6084 (<init>): Add an address family argument.
6085 (readObject): Don't overwrite family.
6086 * java/net/Inet4Address.java
6087 (AF_INET): New constant.
6088 (<init>): Use AF_INET as the family.
6089 (writeReplace): Likewise.
6090 * java/net/Inet6Address.java
6091 (AF_INET6): New constant.
6092 (<init>): Use AF_INET6 as the family.
6094 2006-09-08 Gary Benson <gbenson@redhat.com>
6096 * java/net/InetAddress.java
6097 (getHostName): Move lookup into getCanonicalHostName.
6098 (getCanonicalHostName): Move lookup from getHostName,
6099 Perform security check on canonical name (ie after lookup).
6101 2006-09-08 Gary Benson <gbenson@redhat.com>
6103 * java/net/Inet4Address.java (isMulticastAddress,
6104 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6105 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6106 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6107 implementations from InetAddress.
6108 * java/net/InetAddress.java (isMulticastAddress,
6109 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6110 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6111 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6112 implementations with UnsupportedOperationExceptions.
6114 2006-09-08 Gary Benson <gbenson@redhat.com>
6116 * java/net/InetAddress.java
6117 (inaddr_any): Removed.
6118 (ANY_IF, LOCALHOST): Create using getByAddress.
6119 (<init>): Updated javadoc.
6120 (getHostName): Cache hostname even if the lookup failed.
6121 (getByAddress): Create Inet4Address objects when passed
6122 IPv4-mapped IPv6 addresses.
6124 (getAllByName): Create address objects using getByAddress.
6125 Do not perform security checks unless actually required.
6126 Do not strip whitespace from the hostname.
6127 (getInaddrAny): Removed.
6128 (getLocalHost): Return the loopback address if getByName
6129 throws a SecurityException.
6130 (readResolve): Updated javadoc.
6131 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6132 * include/java_net_VMInetAddress.h
6133 (Java_java_net_VMInetAddress_aton): Likewise.
6134 * native/jni/java-net/java_net_VMInetAddress.c
6135 (Java_java_net_VMInetAddress_aton): New method.
6136 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6137 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6138 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6139 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6140 * NEWS: Added note about updated VM interface.
6142 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6144 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6145 (setNorthPane): Assign component to titlePane.
6147 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6149 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6150 Remove unused variable alt_addr.
6151 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6152 Remove unused variables.
6154 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6156 * javax/swing/plaf/metal/MetalScrollBarUI.java
6157 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6158 (createDecreaseButton): Don't fetch scrollBarWidth here,
6159 (createIncreaseButton): Likewise.
6161 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6163 * java/awt/image/MemoryImageSource.java: Added API docs.
6165 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6167 * javax/swing/plaf/basic/BasicScrollBarUI.java
6168 (installDefaults): Call configureScrollBarColors().
6170 2006-09-06 Francis Kung <fkung@redhat.com>
6172 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6173 (constructor): Make copy of arrays.
6174 (createCompatibleDestImage): Changed treatment of null ColorModel.
6175 (filter(BufferedImage, BufferedImage)): Re-implemented.
6176 (filter(Raster, WritableRaster, boolean[])): New method.
6177 (filter(Raster, WritableRaster)): Re-implemented.
6178 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6179 (getPoint2D): Cleaned up formatting.
6180 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6182 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6184 * javax/swing/UIManager.java
6185 (getBoolean(Object)): Reimplemented,
6186 (getBoolean(Object, Locale)): Likewise,
6187 (getBorder(Object)): Likewise,
6188 (getBorder(Object, Locale)): Likewise,
6189 (getColor(Object)): Likewise,
6190 (getColor(Object, Locale)): Likewise,
6191 (getDimension(Object)): Likewise,
6192 (getDimension(Object, Locale)): Likewise,
6193 (getFont(Object)): Likewise,
6194 (getFont(Object, Locale)): Likewise,
6195 (getIcon(Object)): Likewise,
6196 (getIcon(Object, Locale)): Likewise,
6197 (getInsets(Object)): Updated API docs,
6198 (getInsets(Object, Locale)): Likewise,
6199 (getInt(Object)): Reimplemented,
6200 (getInt(Object, Locale)): Likewise,
6201 (getString(Object)): Likewise,
6202 (getString(Object, Locale)): Likewise.
6204 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6206 * javax/swing/UIManager.java
6207 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6208 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6210 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6212 * javax/swing/plaf/metal/MetalLookAndFeel.java
6213 (initComponentDefaults): Corrected various font defaults.
6215 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6217 * java/awt/List.java: Added @since to various methods.
6219 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6221 * native/jni/native-lib/cpprocess.c:
6222 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6223 Add redirection of stdout to stderr.
6224 * native/jni/native-lib/cpprocess.h:
6225 Added redirect argument.
6226 * native/jni/java-lang/java_lang_VMProcess.c
6227 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6228 * vm/reference/java/lang/VMProcess.java: Likewise.
6229 * include/java_lang_VMProcess.h: Regenerated.
6231 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6233 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6234 __attribute to __attribute__.
6236 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6239 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6241 * java/awt/List.java: Source code reformatted.
6243 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6245 * gnu/CORBA/CollocatedOrbs.java,
6246 gnu/CORBA/SafeForDirectCalls.java: New files.
6247 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6248 Implement gnu.CORBA.SafeForDirectCalls.
6249 * gnu/CORBA/NamingService/Ext.java: Likewise.
6250 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6251 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6252 of the local host. (ior_to_object): Return the local object
6253 where possible. (run): Register/unregister this ORB.
6254 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6255 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6256 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6257 (constructors): Initialize noRetain. (_invoke): Drop servant
6258 if noRetain is true. (getHandler): Always seach for the new servant
6259 if noRetain is true.
6260 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6261 * NEWS: Added note about the new feature.
6263 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6265 * java/awt/Choice.java
6266 (addItem): Fixed API doc glitch.
6268 2006-09-05 Francis Kung <fkung@redhat.com>
6270 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6271 (createCompatibleDestImage): Re-implemented.
6272 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6273 compatibility, and use ColorConvertOp for color conversion if needed.
6274 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6276 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6278 gnu/CORBA/CDR/Vio.java,
6279 org/omg/CORBA_2_3/ORB.java,
6280 org/omg/CORBA_2_3/portable/InputStream.java,
6281 org/omg/CORBA_2_3/portable/OutputStream.java,
6282 org/omg/CosNaming/BindingIteratorHelper.java,
6283 org/omg/CosNaming/BindingTypeHelper.java,
6284 org/omg/CosNaming/NameComponentHelper.java,
6285 org/omg/CosNaming/NameHelper.java,
6286 org/omg/CosNaming/NamingContextExtHelper.java,
6287 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6288 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6289 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6290 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6291 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6292 org/omg/CosNaming/NamingContextHelper.java,
6293 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6294 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6295 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6296 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6297 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6298 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6299 org/omg/DynamicAny/AnySeqHelper.java,
6300 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6301 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6302 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6303 org/omg/DynamicAny/DynAnyHelper.java,
6304 org/omg/DynamicAny/DynAnyOperations.java,
6305 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6306 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6307 org/omg/DynamicAny/DynAnySeqHelper.java,
6308 org/omg/DynamicAny/DynArrayHelper.java,
6309 org/omg/DynamicAny/DynEnumHelper.java,
6310 org/omg/DynamicAny/DynFixedHelper.java,
6311 org/omg/DynamicAny/DynSequenceHelper.java,
6312 org/omg/DynamicAny/DynStructHelper.java,
6313 org/omg/DynamicAny/DynStructOperations.java,
6314 org/omg/DynamicAny/DynUnionHelper.java,
6315 org/omg/DynamicAny/DynValueHelper.java,
6316 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6317 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6318 org/omg/IOP/CodecFactoryHelper.java,
6319 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6320 org/omg/IOP/CodecOperations.java,
6321 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6322 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6323 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6324 org/omg/IOP/ComponentIdHelper.java,
6325 org/omg/IOP/ExceptionDetailMessage.java,
6326 org/omg/IOP/MultipleComponentProfileHelper.java,
6327 org/omg/IOP/ProfileIdHelper.java,
6328 org/omg/IOP/ServiceContextListHelper.java,
6329 org/omg/IOP/ServiceIdHelper.java,
6330 org/omg/IOP/TAG_CODE_SETS.java,
6331 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6332 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6333 org/omg/PortableInterceptor/CurrentHelper.java,
6334 org/omg/PortableInterceptor/IORInfo.java,
6335 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6336 org/omg/PortableInterceptor/ORBIdHelper.java,
6337 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6338 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6339 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6340 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6341 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6342 org/omg/PortableInterceptor/RequestInfoOperations.java,
6343 org/omg/PortableInterceptor/ServerIdHelper.java,
6344 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6345 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6346 org/omg/PortableServer/AdapterActivatorOperations.java,
6347 org/omg/PortableServer/CurrentHelper.java,
6348 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6349 org/omg/PortableServer/ForwardRequestHelper.java,
6350 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6351 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6352 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6353 org/omg/PortableServer/LifespanPolicyValue.java,
6354 org/omg/PortableServer/POA.java,
6355 org/omg/PortableServer/POAHelper.java,
6356 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6357 org/omg/PortableServer/POAManagerPackage/State.java,
6358 org/omg/PortableServer/POAOperations.java,
6359 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6360 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6361 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6362 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6363 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6364 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6365 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6366 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6367 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6368 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6369 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6370 org/omg/PortableServer/ServantActivatorHelper.java,
6371 org/omg/PortableServer/ServantLocatorHelper.java,
6372 org/omg/PortableServer/ServantLocatorOperations.java,
6373 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6374 org/omg/PortableServer/ThreadPolicyValue.java,
6375 org/omg/PortableServer/_ServantActivatorStub.java,
6376 org/omg/PortableServer/_ServantLocatorStub.java,
6377 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6379 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6381 * javax/rmi/CORBA/Tie.java,
6382 org/omg/CORBA/AnyHolder.java,
6383 org/omg/CORBA/AnySeqHelper.java,
6384 org/omg/CORBA/AnySeqHolder.java,
6385 org/omg/CORBA/BooleanHolder.java,
6386 org/omg/CORBA/BooleanSeqHelper.java,
6387 org/omg/CORBA/BooleanSeqHolder.java,
6388 org/omg/CORBA/ByteHolder.java,
6389 org/omg/CORBA/CharHolder.java,
6390 org/omg/CORBA/CharSeqHelper.java,
6391 org/omg/CORBA/CharSeqHolder.java,
6392 org/omg/CORBA/Context.java,
6393 org/omg/CORBA/CurrentHelper.java,
6394 org/omg/CORBA/CustomValue.java,
6395 org/omg/CORBA/DataOutputStream.java,
6396 org/omg/CORBA/DefinitionKindHelper.java,
6397 org/omg/CORBA/DomainManagerOperations.java,
6398 org/omg/CORBA/DoubleHolder.java,
6399 org/omg/CORBA/DoubleSeqHelper.java,
6400 org/omg/CORBA/DoubleSeqHolder.java,
6401 org/omg/CORBA/DynAny.java,
6402 org/omg/CORBA/DynSequence.java,
6403 org/omg/CORBA/DynValue.java,
6404 org/omg/CORBA/DynamicImplementation.java,
6405 org/omg/CORBA/FieldNameHelper.java,
6406 org/omg/CORBA/FixedHolder.java,
6407 org/omg/CORBA/FloatHolder.java,
6408 org/omg/CORBA/FloatSeqHelper.java,
6409 org/omg/CORBA/FloatSeqHolder.java,
6410 org/omg/CORBA/IdentifierHelper.java,
6411 org/omg/CORBA/IntHolder.java,
6412 org/omg/CORBA/LocalObject.java,
6413 org/omg/CORBA/LongHolder.java,
6414 org/omg/CORBA/LongLongSeqHelper.java,
6415 org/omg/CORBA/LongLongSeqHolder.java,
6416 org/omg/CORBA/LongSeqHelper.java,
6417 org/omg/CORBA/LongSeqHolder.java,
6418 org/omg/CORBA/ORB.java,
6419 org/omg/CORBA/ObjectHelper.java,
6420 org/omg/CORBA/ObjectHolder.java,
6421 org/omg/CORBA/OctetSeqHelper.java,
6422 org/omg/CORBA/OctetSeqHolder.java,
6423 org/omg/CORBA/PolicyErrorCodeHelper.java,
6424 org/omg/CORBA/PolicyErrorHelper.java,
6425 org/omg/CORBA/PolicyHelper.java,
6426 org/omg/CORBA/PolicyListHelper.java,
6427 org/omg/CORBA/PolicyTypeHelper.java,
6428 org/omg/CORBA/PrincipalHolder.java,
6429 org/omg/CORBA/RepositoryIdHelper.java,
6430 org/omg/CORBA/Request.java,
6431 org/omg/CORBA/ShortHolder.java,
6432 org/omg/CORBA/ShortSeqHelper.java,
6433 org/omg/CORBA/ShortSeqHolder.java,
6434 org/omg/CORBA/StringSeqHelper.java,
6435 org/omg/CORBA/StringSeqHolder.java,
6436 org/omg/CORBA/ULongLongSeqHelper.java,
6437 org/omg/CORBA/ULongLongSeqHolder.java,
6438 org/omg/CORBA/ULongSeqHelper.java,
6439 org/omg/CORBA/ULongSeqHolder.java,
6440 org/omg/CORBA/UShortSeqHelper.java,
6441 org/omg/CORBA/UShortSeqHolder.java,
6442 org/omg/CORBA/ValueBaseHelper.java,
6443 org/omg/CORBA/ValueBaseHolder.java,
6444 org/omg/CORBA/VersionSpecHelper.java,
6445 org/omg/CORBA/WCharSeqHelper.java,
6446 org/omg/CORBA/WCharSeqHolder.java,
6447 org/omg/CORBA/WStringSeqHelper.java,
6448 org/omg/CORBA/WStringSeqHolder.java,
6449 org/omg/CORBA/WrongTransactionHelper.java,
6450 org/omg/CORBA/_IDLTypeStub.java,
6451 org/omg/CORBA/_PolicyStub.java,
6452 org/omg/CORBA/portable/BoxedValueHelper.java,
6453 org/omg/CORBA/portable/Delegate.java,
6454 org/omg/CORBA/portable/ObjectImpl.java,
6455 org/omg/CORBA/portable/ServantObject.java,
6456 org/omg/CORBA/portable/StreamableValue.java,
6457 org/omg/CosNaming/BindingType.java,
6458 org/omg/CosNaming/IstringHelper.java,
6459 org/omg/DynamicAny/FieldNameHelper.java,
6460 org/omg/PortableServer/Servant.java: Documentation fixes.
6462 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6464 * java/awt/Rectangle.java
6465 (setRect(double, double, double, double)): Modified rounding of input
6468 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6470 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6471 Disallow H1 - H6 in the paragraphs.
6472 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6473 (preprocess): Leave at most one leading and/or trailing space.
6474 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6475 Do not add any text after closing the HTML tag.
6477 2006-09-02 Roman Kennke <kennke@aicas.com>
6480 * javax/swing/plaf/basic/BasicTextUI.java
6481 (RootView.getPreferredSpan): Default to 10 when there is no
6483 (RootView.getMinimumSpan): Forward to view and default to 10
6484 when there is no real view.
6485 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6486 (getMaximumSize): Check for overflow.
6487 * javax/swing/text/FieldView.java
6488 (getResizeWeight): Removed unneeded assignment.
6490 2006-09-01 Francis Kung <fkung@redhat.com>
6491 * java/awt/image/ColorConvertOp.java
6492 (copyImage): Updated javadoc and comments.
6493 (copyRaster): Add javadoc.
6494 (createCompatibleColorModel): Add javadocs and comments.
6495 (createCompatibleDestImage): Use correct transfer type.
6496 (createCompatibleDestRaster): Add new parameter for transfer type.
6497 (filter): Use correct transfer type.
6498 * java/awt/image/ConvolveOp.java: Updated javadocs.
6499 (createCompatibleDestImage): Set new image properties correctly.
6500 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6501 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6503 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6505 * javax/swing/table/DefaultTableModel.java:
6506 (checkSize): Added null check for dataVector.
6508 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6510 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6511 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6512 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6514 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6516 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6517 (paintIcon): Removed unused import statements, lowered cast requirement
6518 from JCheckBox to AbstractButton.
6520 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6522 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6523 (initComponentDefaults): Added, changed and removed some
6524 tabbed pane properties.
6526 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6528 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6529 (createContent): Changed menu item name and tab naming.
6531 2006-09-01 Roman Kennke <kennke@aicas.com>
6534 * javax/swing/plaf/basic/BasicHTML.java
6535 (HTMLRootView.getAttributes): Overridden to return null.
6536 (HTMLRootView.getElement): Overridden to return the view's
6539 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6541 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6542 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6543 of accessing variable directly.
6544 (calculateTabAreaWidth): Dito.
6546 2006-08-31 Keith Seitz <keiths@redhat.com>
6548 * include/jvmti.h: Include jvmti_md.h.
6550 2006-08-31 Keith Seitz <keiths@redhat.com>
6552 From Martin Platter <motse@complang.tuwien.ac.at>:
6553 * Makefile.am (include_HEADERS): Include jvmti.h.
6554 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6555 (jvmtiError): Remove superfluous comma after last entry.
6556 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6557 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6558 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6559 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6561 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6562 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6563 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6566 2006-08-31 Roman Kennke <kennke@aicas.com>
6568 * javax/swing/text/BoxView.java
6569 (getWidth): Return the width with insets added, not with one
6570 added and one removed.
6571 (getHeight): Return the height with insets added, not with one
6572 added and one removed.
6573 * javax/swing/text/GlyphView.java
6574 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6575 * javax/swing/text/ParagraphView.java
6576 (Row.getAlignment): Adjust alignment with respect to
6577 the justification attribute.
6578 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6580 * javax/swing/text/html/CSS.java
6581 (getValue): Convert length values.
6582 * javax/swing/text/html/Paragraph.java
6583 (painter): New field.
6584 (paint): Implemented to delegate painting to the BoxPainter too.
6585 (setPropertiesFromAttributes): Implemented to load attributes
6587 * javax/swing/text/html/StyleSheet.java
6588 (BoxPainter.as): Removed field.
6589 (BoxPainter.leftInset): New field.
6590 (BoxPainter.bottomInset): New field.
6591 (BoxPainter.rightInset): New field.
6592 (BoxPainter.topInset): New field.
6593 (BoxPainter.BoxPainter): Implemented to load the insets from
6595 (BoxPainter.getInset): Implemented.
6596 * gnu/javax/swing/text/html/Length.java: New class.
6597 Converts CSS length units to usable values.
6599 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6601 * configure.ac: Add check for gethostbyname_r.
6602 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6603 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6604 SOCKET_NOSIGNAL according to the configure check.
6605 (cpnet_send): Use SOCKET_NOSIGNAL.
6606 (cpnet_sendTo): Likewise.
6607 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6609 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6612 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6614 2006-08-31 Roman Kennke <kennke@aicas.com>
6616 * javax/swing/JEditorPane.java
6617 (getPreferredSize): Replace preferred size with minimum
6618 UI size only if the scrollable does _not_ track the viewport
6619 size and only if the viewport's size is smaller than the
6621 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6623 * javax/swing/plaf/basic/BasicTextUI.java
6624 (getPreferredSize): Read-lock the document to avoid
6625 concurrency problems.
6626 (getMaximumSize): Return maximum size of the view.
6627 Read-lock the document to avoid concurrency problems.
6628 (getMinimumSize): Return minimum size of the view.
6629 Read-lock the document to avoid concurrency problems.
6631 2006-08-31 Gary Benson <gbenson@redhat.com>
6633 * java/net/SocketPermission.java
6634 (maybeBracketIPv6Address): Renamed to processHostport.
6635 (processHostport): Also translate "" to "localhost".
6636 (setHostPort): Remove special cases for empty hostport and for
6637 extra colons in hostport (processHostport handles these now).
6639 2006-08-31 Mark Wielaard <mark@klomp.org>
6641 * javax/swing/text/ZoneView.java (Zone): Make static class.
6642 Constructor takes axis parameter.
6643 (createZone): Create Zone with getAxis() as major axis.
6645 2006-08-30 Roman Kennke <kennke@aicas.com>
6647 * javax/swing/text/ZoneView.java
6648 (loadChildren): Implemented.
6649 (getViewIndexAtPosition): Implemented.
6650 (checkZoneAt): New helper method.
6651 (splitZone): New helper method.
6652 (getPreferredZoneEnd): New helper method.
6654 2006-08-30 Roman Kennke <kennke@aicas.com>
6656 * javax/swing/text/ZoneView.java: New class.
6658 2006-08-30 Roman Kennke <kennke@aicas.com>
6660 * javax/swing/JMenu.java
6661 (getMenu): Removed unneeded cast.
6662 (getPopupMenuOrigin): Made positioning algorithm better respect
6664 (setMenuLocation): Also set the location on the popup if it's
6666 (setModel): Use menuChangeListener so that we don't override
6667 the changeListener field from AbstractButton.
6668 (setPopupMenuVisible): Use custom location if set, otherwise
6669 fallback to getPopupMenuOrigin().
6671 2006-08-29 Roman Kennke <kennke@aicas.com>
6673 * javax/swing/text/InternationalFormatter.java
6674 (stringToValue): Fixed bounds check.
6675 * javax/swing/text/MaskFormatter.java
6676 (MaskFormatter): Don't explicitly set allosInvalid property.
6677 (convertStringToValue): New helper method.
6678 (convertValueToString): New helper method.
6679 (convertValue): Removed. Replaced by the 2 convert* methods
6681 (getPadCharAt): Removed.
6682 (isCharValid): Removed.
6684 (stringToValue): Fixed stringToValue conversion.
6685 (stripLiterals): Removed.
6686 (valueToString): Fixed valueToString conversion.
6687 * javax/swing/text/DefaultFormatter.java
6688 (DefaultFormatter): Default to commitsOnValidEdit = false.
6690 2006-08-29 Roman Kennke <kennke@aicas.com>
6692 * javax/swing/text/TextAction.java
6693 (getTextComponent): Check event for null and return null in
6695 (augmentList): Augment Actions based on their names.
6696 * javax/swing/text/DefaultEditorKit.java
6697 (BeginAction.actionPerformed): Check target for null.
6698 (BeginLineAction.actionPerformed): Check target for null.
6699 (CopyAction.actionPerformed): Check target for null.
6700 (CutAction.actionPerformed): Check target for null.
6701 (EndAction.actionPerformed): Check target for null.
6702 (EndLineAction.actionPerformed): Check target for null.
6703 (InsertBreakAction.actionPerformed): Check target for null.
6704 (InsertTabAction.actionPerformed): Check target for null.
6705 (PasteAction.actionPerformed): Check target for null.
6706 (SelectAllAction.actionPerformed): Check target for null.
6707 (SelectionBeginAction.actionPerformed): Check target for null.
6708 (SelectionBeginLineAction.actionPerformed): Check target for null.
6709 (SelectionEndAction.actionPerformed): Check target for null.
6710 (SelectionEndLineAction.actionPerformed): Check target for null.
6711 (SelectLineAction.actionPerformed): Check target for null.
6712 (SelectWordAction.actionPerformed): Check target for null.
6714 2006-08-29 Roman Kennke <kennke@aicas.com>
6716 * javax/swing/plaf/basic/BasicTextUI.java
6717 (FocusHandler): New class. This is moved from the anonymous
6718 inner focus listener class to a static member class, and
6719 is now shared between components.
6720 (DocumentHandler): This class is combined with the PropertyHandler
6721 into the Handler class.
6722 (PropertyChangeHandler): This class is combined with the
6723 DocumentHandler into the Handler class.
6724 (Handler): New class. This combines the Property and Document
6725 handler into one class.
6726 (RootView.changedUpdate): Only forward if real view != null.
6727 (RootView.insertUpdate): Only forward if real view != null.
6728 (RootView.removeUpdate): Only forward if real view != null.
6729 (documentHandler): Removed field and replaced by handler.
6730 (focuslistener): Made field static and renamed to focusListener.
6731 (handler): New field.
6732 (kit): Lazily initialize field.
6733 (rootView): Lazily initialize field.
6734 (updateHandler): Removed and replaced by handler.
6735 (getEditorKit): Lazily instantiate field.
6736 (installDefaults): Don't set margin twice. Install correct
6737 property for disabledTextColor. Moved caret and highlighter
6738 initialization to installFixedDefaults.
6739 (installFixedDefaults): New method. Installs defaults that
6740 can't be overridden by subclasses.
6741 (installListeners): Only install focus handler when new
6742 system property gnu.swing.text.no-xlike-clipboard is not set.
6743 Lazily initialize focus handler.
6744 (installUI): Lazily initialize rootView. Install handler
6745 both for property and document changes.
6746 (uninstallDefaults): Uninstall the UI defaults.
6747 (uninstallFixedDefaults): New method. Uninstalls the fixed
6749 (installListeners): Only uninstall focus handler when not null.
6750 (uninstallUI): Uninstall property and document listener here.
6752 2006-08-29 Gary Benson <gbenson@redhat.com>
6754 * java/net/SocketPermission.java
6755 (maybeBracketIPv6Address): New method.
6756 (<init>): Pass the hostport argument through the above.
6758 * java/net/NetworkInterface.java (getInetAddresses):
6759 Don't bracket IPv6 addresses.
6761 2006-08-28 Roman Kennke <kennke@aicas.com>
6763 * javax/swing/text/BoxView.java
6764 (calculateMinorAxisRequirements): Initialize max size
6765 with Integer.MAX_VALUE.
6766 * javax/swing/text/Utilities.java
6767 (getBreakLocation): For simple chars, scan the text directly.
6768 * javax/swing/text/WrappedPlainView.java
6769 (tabBase): New field.
6770 (tabSize): New field.
6771 (calculateBreakPosition): Use Utilities. Fixed for correct
6773 (changedUpdate): Update children directly.
6774 (insertUpdate): Update children directly. Notify children.
6775 (removeUpdate): Update children directly. Notify children.
6776 (updateChildren): New helper method.
6777 (nextTabStop): Fixed to return correct results.
6778 (paint): Update tabBase.
6779 (updateMetrics): Update tab size.
6781 2006-08-28 Roman Kennke <kennke@aicas.com>
6783 * javax/swing/text/Position.java
6784 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6785 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6787 2006-08-28 Roman Kennke <kennke@aicas.com>
6789 * javax/swing/text/View.java
6790 (height): Removed unneeded field.
6791 (width): Removed unneeded field.
6792 (getBreakWeight): Return GoodBreakWeight when pos is after
6794 (getToolTipText): Check view index more carefully. Avoid
6796 (insertUpdate): Only execute method body if view count > 0.
6797 When updateChildren returns false, clear the ec variable.
6798 (updateChildren): Added null checks.
6799 (viewToModel): Initialize bias array correctly.
6800 * javax/swing/text/CompositeView.java
6801 (children): Made private.
6802 (numChildren): New field.
6803 (loadChildren): Check factory for null. Don't load children
6804 when factory is null.
6805 (replace): Removed null check. Nullify removed children. Made
6806 growing the array more efficient.
6807 (getViewCount): Return numChildren rather then the real array
6809 * javax/swing/text/BoxView.java
6810 (getViewAtPoint): Fixed algorithm for finding the view.
6811 (replace): Made array growing more efficient.
6812 (replaceLayoutArray): New helper method for growing/patching
6814 (viewToModel): Make sure we have a valid layout.
6816 2006-08-28 Tania Bento <tbento@redhat.com>
6818 * java/awt/MenuShortcut.java
6819 (MenuShortcut (int, boolean)): Set keyName.
6820 (toString): Modified string output.
6821 (setKeyName): New private method.
6823 2006-08-28 Roman Kennke <kennke@aicas.com>
6825 * javax/swing/text/GapContent.java
6826 (Mark.getOffset): Made assert less strict, include boundary.
6827 (search): Made package private to avoid accessor method.
6829 2006-08-28 Roman Kennke <kennke@aicas.com>
6831 * javax/swing/text/StringContent.java
6832 (InsertUndo.positions): New field.
6833 (InsertUndo.redo): Update the undo positions.
6834 (InsertUndo.undo): Fetch the undo positions.
6835 (Mark): New class. Layer of indirection to allow Positions
6836 to be GC'ed while we still hold references to the Mark.
6837 (RemoveUndo.len): New field.
6838 (RemoveUndo.positions): New field.
6839 (RemoveUndo.RemoveUndo): Fetch undo positions.
6840 (RemoveUndo.redo): Re-fetch positions and string.
6841 (RemoveUndo.undo): Update undo positions.
6842 (StickyPosition.mark): New field.
6843 (StickyPosition.offset): Removed field.
6844 (StickyPosition.StickyPosition): Create new Mark. Register
6845 Position in queueOfDeath. Update reference count on mark.
6846 (StickyPosition.getOffset): Return offset stored in mark.
6847 (StickyPosition.setOffset): Removed unneeded method.
6848 (UndoPosRef): New class. Handles undo/redo on positions/marks.
6850 (marks): New field. Stores the marks.
6851 (positions): Removed field.
6852 (queueOfDeath): New field. Used for GCing the positions.
6853 (StringContent): Initialize queueOfDeath.
6854 (createPosition): Lazily create marks vector.
6855 (garbageCollect): New helper method. Collects positions
6856 to be GCed and updates their marks.
6857 (getChars): Fixed bounds check.
6858 (getPositionsInRange): When v == null, create new Vector,
6859 otherwise use v. Store UndoPosRefs in vector.
6860 (getString): Added comment about bug in RI.
6861 (insertString): Use new helper method for replacing the array.
6862 Correctly update positions.
6863 (length): Removed this qualifier.
6864 (remove): Use new helper method for replacing the array.
6865 Correctly update positions.
6866 (replace): New helper method for growing or patching the array.
6867 (updateUndoPositions): Implemented. Updates the positions
6868 for undo/redo operations.
6870 2006-08-27 Roman Kennke <kennke@aicas.com>
6872 * javax/swing/text/StyleContext.java
6873 (NamedStyle.attributes): Made field transient.
6874 (NamedStyle.changeEvent): Made field transient.
6875 (NamedStyle.name): Removed field. The name is stored as
6877 (NamedStyle.NamedStyle(String,Style)): Call setName() for
6878 storing the name and check for null name and resolveParent.
6879 Don't initialize changeEvent.
6880 (NamedStyle.copyAttributes): Return a new NamedStyle,
6881 rather than a plain copy of the attributes field.
6882 (NamedStyle.fireStateChange): Lazily create changeEvent
6884 (NamedStyle.getName): Fetch name from attributes.
6885 (NamedStyle.setName): Store name from attributes.
6886 (NamedStyle.readObject): Implemented for correct
6888 (NamedStyle.writeObject): Implemented for correct
6890 (NamedStyle.setResolveParent): When new parent is null,
6891 remove resolveParent attribute. Use addAttribute() method
6892 rather than StyleContext addAttribute().
6893 (NamedStyle.toString): Fixed to produce output equal to the
6895 (SmallAttributeSet.resolveParent): New field.
6896 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6897 the resolveParent field correctly.
6898 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6899 array but store it directly. Update
6900 the resolveParent field correctly.
6901 (SmallAttributeSet.clone): Return this as the object is
6903 (SmallAttributeSet.containsAttributes): Make sure that keys
6904 and values are the same.
6905 (SmallAttributeSet.containsAttribute): Make sure that keys
6906 and values are the same.
6907 (SmallAttributeSet.copyAttributes): Return this as the object is
6909 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6910 are equal if they have the same number of attributes and
6911 one contains the other.
6912 (SmallAttributeSet.getAttribute): Improved lookup of
6914 (SmallAttributeSet.getResolveParent): Improved lookup of
6916 (SmallAttributeSet.isEqual): When comparing object is a
6917 SmallAttributeSet, consider them equal only if they are the
6919 (SmallAttributeSet.toString): Fixed to produce output equal to the
6921 (attributeSetPool): New field.
6922 (defaultStyleContext): Initialize lazily.
6923 (defaultStyle): Removed field. This is stored in the style context
6925 (listenerList): Removed field. The NamedStyle stores the
6927 (readAttributeKeys): New static field. Used for looking up
6928 the serialization mappings when reading.
6929 (search): New field. Used as search key.
6930 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
6931 (styles): New field. Stores the styles and listeners.
6932 (styleTable): Removed field. Replaced by styles field.
6933 (writeAttributeKeys): New static field. Used for looking up
6934 the serialization mappings when writing.
6935 (static_initializer): Register mappings for all keys in
6937 (StyleContext): Initialize styles correctly.
6938 (addAttributes): Fixed caching of immutable attributes.
6939 (addAttribute): Fixed caching of immutable attributes.
6940 (removeAttributes): Fixed caching of immutable attributes.
6941 (removeAttribute): Fixed caching of immutable attributes.
6942 (addChangeListener): Add listener to styles field.
6943 (removeChangeListener): Remove listener from styles field.
6944 (getChangeListeners): Fetch listeners from styles field.
6945 (addStyle): Add style to styles field.
6946 (cleanupPool): New method.
6947 (getDefaultStyleContext): Lazily create context.
6948 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
6949 (getMutableAttributeSet): New helper method. Used for
6951 (getStaticAttribute): Fetch key from readAttributeKeys.
6952 (getStyleNames): Return names from styles field.
6953 (getStyle): Lookup style in styles field.
6954 (removeStyle): Remove style from styles field.
6955 (readAttributeSet): Fixed deserialization.
6956 (writeAttributeSet): Fixed serialization.
6957 (readObject): Fixed deserialization.
6958 (writeObject): Fixed serialization.
6959 (reclaim): Simply cleanup the pool.
6960 (registerStaticAttributeKey): Store mapping in both ways.
6961 (searchImmutableSet): New helper method for caching.
6962 (toString): Fixed for output like the RI.
6963 * javax/swing/text/StyleConstants.java
6964 (keys): New field. Stores all known keys.
6965 (StyleConstants): Store created key in keys list.
6966 * javax/swing/event/EventListenerList.java
6967 (readObject): Fixed deserialization.
6968 (writeObject): Fixed serialization.
6970 2006-08-25 Roman Kennke <kennke@aicas.com>
6972 * javax/swing/text/CompositeView.java
6973 (insets): Removed. Replaced by single short fields.
6974 (top): New field. Replaces insets.
6975 (bottom): New field. Replaces insets.
6976 (left): New field. Replaces insets.
6977 (right): New field. Replaces insets.
6978 (CompositeView): Initialize insets fields.
6979 (createDefaultLocation): Removed unneeded method.
6980 (getBottomInset): Return field directly.
6981 (getTopInset): Return field directly.
6982 (getLeftInset): Return field directly.
6983 (getRightInset): Return field directly.
6984 (getInsideAllocation): Adjusted to work on new insets fields.
6985 (getViewIndex): Fixed check.
6986 (loadChildren): Don't replace the old children.
6987 (replace): Make sure that there is an array to operate on.
6988 Only set parent to null, when it is this View.
6989 (setInsets): Adjusted to work with new insets fields.
6990 (setParagraphInsets): Fixed to pull insets directly from
6993 2006-08-25 Roman Kennke <kennke@aicas.com>
6995 * javax/swing/text/ComponentView.java
6996 (Interceptor): New inner helper class. Used to propagate
6997 invalidate requests and cache component layout sizes.
6998 (interceptor): New field.
6999 (getAlignment): Fetch alignment from interceptor container.
7000 (getComponent): Don't create component here. This is done
7002 (getMaximumSpan): Fetch layout info from interceptor. Check
7004 (getMinimumSpan): Fetch layout info from interceptor. Check
7006 (getPreferredSpan): Fetch layout info from interceptor. Check
7008 (modelToView): Fixed model to view mapping.
7009 (viewToModel): Fixed view to model mapping.
7010 (paint): Check for null. Set bounds on interceptor rather
7012 (setParentImpl): Install interceptor between component
7013 and hosting container.
7014 (setParent): Call super.setParent() immediately.
7016 2006-08-25 Roman Kennke <kennke@aicas.com>
7018 * javax/swing/text/LabelView.java
7019 (setPropertiesFromAttributes): Only set background when
7020 the corresponding attribute is actually defined, otherwise
7021 set to null, as the StyleConstants would return black.
7022 * javax/swing/text/DefaultStyledDocument.java
7023 (ElementBuffer.documentEvent): Removed obsolete field.
7024 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7025 to correctly update the element structure.
7026 (ElementBuffer.insertContentTag): Removed unused statement.
7027 (ElementBuffer.recreateAfterFracture): Removed
7028 unused obsolete method.
7029 (setCharacterAttributes): Removed unused statement.
7031 2006-08-25 Roman Kennke <kennke@aicas.com>
7033 * examples/gnu/classpath/examples/swing/Demo.java
7034 (LaterMain.run): Removed unused local variable.
7035 (Demo): Don't put desktop in scrollpane.
7036 (addChildren): Removed unused method.
7037 (mkButtonBar): Added HTML demo.
7038 (mkMenuBar): Added HTML demo.
7039 (mkPanel): Removed unused method.
7040 (mkScrollPane): Removed unused method.
7041 (mkTree): Removed unused method.
7042 (valign2str): Removed unused method.
7043 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7044 Initialize text field with some HTML that already works.
7045 (DEBUG): New field. Set to true for debugging output.
7046 (createContent): Dump element tree after parsing.
7048 2006-08-25 Roman Kennke <kennke@aicas.com>
7050 * javax/swing/text/html/CSS.java
7051 (getValue): Added color value conversion.
7052 * javax/swing/text/html/HTMLDocument.java
7053 (HTMLReader.ConvertAction): New class, converts HTML style tags
7055 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7056 * javax/swing/text/html/InlineView.java
7057 (setPropertiesFromAttributes): Implemented to fetch
7058 CSS character attributes.
7059 * javax/swing/text/html/StyleSheet.java
7060 (addCSSAttribute): Convert value.
7061 (getBackground): Implemented to fetch CSS background color
7063 (getForeground): Implemented to fetch CSS color
7065 (getFont): Adjust font size for superscript and subscript.
7066 (translateHTMLToCSS): Rudimentary implementation that
7067 copies the original attributes, so that any CSS attributes in
7068 there are preserved.
7069 (stringToColor): Use CSSColor for conversion.
7070 * gnu/javax/swing/text/html/css/CSSColor.java:
7071 New class. Converts CSS color values to RGB color values.
7072 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7073 Removed. This is more or less replaced by CSSColor and the
7074 ConvertAction in HTMLReader.
7076 2006-08-25 Roman Kennke <kennke@aicas.com>
7078 * javax/swing/text/BoxView.java
7079 (childReqs): Removed obsolete field.
7080 (baselineLayout): Reimplemented for correct baseline layout.
7081 (baselineRequirements): Reimplemented for correct baseline
7083 (updateChildRequirements): Removed obsolete method.
7084 * javax/swing/text/GlyphView.java
7085 (DefaultGlyphPainter.getSpan): Removed unused statement.
7086 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7087 specially. The subscript/superscript layout is performed
7088 via the alignment, the font is supplied by the StyleContext.
7089 (breakView): Removed unused statements.
7090 (getAlignment): Adjust alignment according to the
7091 superscript/subscript setting.
7092 (getFont): Reimplemented to fetch the font from the style
7093 context, or from the document if the stylecontext is not
7095 (getPreferredSpan): Adjust span for superscript. Use switch
7097 * javax/swing/text/LabelView.java
7098 (setPropertiesFromAttributes): Fetch background and foreground
7099 from document / style context.
7100 (isSubscript): Resync properties if needed.
7101 * javax/swing/text/ParagraphView.java
7102 (Row.calculateMinorAxisRequirements): Overridden to perform
7104 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7106 2006-08-24 Roman Kennke <kennke@aicas.com>
7108 * javax/swing/text/Utilities.java
7109 (BUF_LENGTH): Removed unused field.
7110 (drawTabbedText): Removed unneeded cast.
7111 (getBreakLocation): Removed unneeded cast.
7112 Fixed offset to account for Segments not starting at 0.
7114 2006-08-24 Roman Kennke <kennke@aicas.com>
7116 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7117 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7118 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7119 (ScrollingPane.updateUI): Likewise.
7120 (calculateTabWidth): Rewritten to correctly and efficiently
7121 layout the tab width.
7122 (layoutLabel): Call SwingUtilities method with the tabPane
7124 (paintContentBorderLeftEdge): Removed unused statement.
7125 (paintContentBorderRightEdge): Removed unused statement.
7126 (paintContentBorder): Removed unused statement.
7128 2006-08-24 Roman Kennke <kennke@aicas.com>
7130 * javax/swing/plaf/basic/BasicTextUI.java
7131 (RootView.getAttributes): Overridden to return null,
7132 as the RootView has no parent.
7134 2006-08-24 Roman Kennke <kennke@aicas.com>
7136 * javax/swing/text/html/CSSParser.java: Removed.
7137 * javax/swing/text/html/CSS.java
7138 (getValue): New helper method. Returns special converter
7139 instances for certain kinds of property values.
7140 * javax/swing/text/html/HTMLDocument.java
7141 (HTMLReader.CharacterAction.start): Don't translate tags
7142 here. Instead, store the attributes directly with the tag
7144 (content): Removed field. The Content object is handled
7145 by AbstractDocument.
7146 (styleSheet): Removed field. The styleSheet is the styleContext
7147 of this document and handled by the DefaultStyledDocument already.
7148 (HTMLDocument(Content,StyleSheet): Simply call super here.
7149 The super classes already handle the content and styleContext.
7150 (HTMLDocument()): Call this() with a default GapContent and
7152 (getStyleSheet): Return the styleContext here.
7153 (insertUpdate): New method. Overridden to add the
7154 CONTENT dummy tag to the element's attributes.
7155 (setBase): Set the base on the styleContext.
7156 * javax/swing/text/html/HTMLEditorKit.java
7157 (styleContext): Removed unneeded field.
7158 (styleSheet): Made field private.
7159 (HTMLEditorKit): Do nothing here. The StyleSheet is
7160 created lazily in getStyleSheet(). A styleContext is not
7162 (getStyleSheet): Create StyleSheet correctly.
7163 (insertHTML): Removed unneeded cast.
7164 * javax/swing/text/html/InlineView.java
7165 (attributes): New field.
7166 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7167 (getAttributes): Implemented to fetch the attributes from
7169 * javax/swing/text/html/MultiAttributeSet.java: New class.
7170 Multiplexes between several AttributeSets.
7171 * javax/swing/text/html/MultiStyle.java: New class.
7172 Multiplexes between several Styles.
7173 * javax/swing/text/html/ParagraphView.java
7174 (attributes): New field.
7175 (getAttributes): Implemented to fetch the attributes from
7177 * javax/swing/text/html/StyleSheet.java
7178 (CssParser): Removed inner class.
7179 (CSSStyle): New inner class. Represents a style defined
7181 (CSSStyleSheetParserCallback): New class, for parsing
7183 (css): New field. Stores the CSS rules.
7184 (resolvedStyles): New field. Stores resolved styles.
7185 (StyleSheet): Initialize resolvedStyles map.
7186 (addRule): Removed bogus impl.
7187 (getFont): Implemented to fetch font, based on CSS rules.
7188 (getResolvedStyle): New helper method. Looks up resolved
7189 styles, and resolves a style if necessary.
7190 (resolveStyle): New pair of helper methods. Resolves
7192 (getRule(String)): Provide rudimentary implementation.
7193 (getRule(Tag,Element)): Implemented.
7194 (getViewAttributes): Implemented.
7195 (loadRules): Implemented.
7196 (translateHTMLToCSS): Tagged as not implemented.
7197 * javax/swing/text/html/ViewAttributeSet.java: New class.
7199 2006-08-24 Roman Kennke <kennke@aicas.com>
7201 * javax/swing/text/FlowView.java:
7202 (LogicalView.getAttributes): New method. Overrides super
7203 impl to return the attributes of the FlowView instance.
7204 * javax/swing/text/LabelView.java:
7205 (setPropertiesFromAttributes): Fetch attributes from
7206 View, rather then from the Element. (In the HTML
7207 package the getAttributes() method is overridden to
7208 return different attributes). Fetch font from the StyledDocument.
7210 2006-08-24 Roman Kennke <kennke@aicas.com>
7212 * javax/swing/text/DefaultEditorKit.java:
7213 (DefaultKeyTypedAction.actionPerform): Also filter
7214 ALT and CTRL modifiers.
7216 2006-08-24 Roman Kennke <kennke@aicas.com>
7218 * gnu/javax/swing/text/html/css/FontSize.java,
7219 * gnu/javax/swing/text/html/css/FontStyle.java,
7220 * gnu/javax/swing/text/html/css/FontWeight.java:
7221 New classes. Used to convert CSS font attributes to AWT/Swing
7224 2006-08-24 Francis Kung <fkung@redhat.com>
7225 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7226 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7227 (srccs, dstcs, rasterValid): Variables removed.
7228 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7229 (copyRaster): Check for null rendering hints
7230 (createCompatibleColorModel): New private method.
7231 (createCompatibleDestImage): Re-implemented.
7232 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7233 (createCompatibleDestRaster(Raster)): Re-implemented.
7234 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7235 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7236 (getPoint2D): Clean up formatting.
7237 * java/awt/image/ComponentColorModel.java
7238 (constructor): use findBits method instead of passing null.
7239 (findBits): New method.
7241 2006-08-24 Gary Benson <gbenson@redhat.com>
7243 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7246 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7248 * java/lang/ref/Reference.java
7249 (queue, nextOnQueue): Made volatile.
7250 (enqueue): Made thread safe.
7251 * java/lang/ref/ReferenceQueue.java
7253 (poll): Removed synchronized.
7254 (enqueue): Changed to synchronize on lock object, to update Reference
7255 state and return success status.
7256 (dequeue, remove): Synchronize on lock object.
7258 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7260 * java/security/SecureClassLoader.java
7261 (protectionDomainCache): Changed to HashMap.
7262 (SecureClassLoader): Removed redundant security check.
7263 (defineClass(String,byte[],int,int,CodeSource): Moved
7264 protection domain lookup/construction to new method.
7265 (defineClass(String,ByteBuffer,CodeSource): New method.
7266 (getProtectionDomain): New method.
7268 2006-08-23 Roman Kennke <kennke@aicas.com>
7270 * javax/swing/JComponent.java
7271 (isRepainting): Made package private.
7272 (paintChild): New field.
7273 (findOpaqueParent): Removed method. This is now in
7275 (findOverlapFreeParent): Removed method. This is now
7276 in paintImmediately2().
7277 (findPaintRoot): Removed method. This is now
7278 in paintImmediately2().
7279 (isCompletelyObscured): Changed to take rectangle as single
7281 (isPaintingDoubleBuffered): Removed method. This is now
7282 in paintImmediately2().
7283 (isPartiallyObscured): New helper method.
7284 (onTop): New helper method for optimization.
7285 (paintChildren): Paint only to specific child when
7286 requested like this from paintImmediately2().
7287 (paintDoubleBuffered): Changed to take rectangle as single int
7289 (paintImmediately2): Changed to take rectangle as single int
7290 arguments. Optimized determination of paint root.
7291 (paintImmediately(Rectangle)): Change to delegate to
7292 paintImmediately(int,int,int,int).
7293 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7294 and start painting there.
7295 (paint): Call paintDoubleBuffered() with int arguments. Only
7296 paint component, when not completely occupied by opaque child.
7297 (processKeyBinding): Removed unnecessary cast.
7298 (isOccupiedByChild): New helper method.
7299 * javax/swing/RepaintManager.java
7300 (repaintUnderway): Removed obsolete field.
7301 (commitRequests): Removed obsolete field.
7302 (RepaintManager): Removed initialization of obsolete fields.
7303 (addDirtyRegion): Removed unused statement.
7304 (commitBuffer): Changed to take plain ints as argument.
7305 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7306 Compute offsets in place, rather than using SwingUtilities.
7307 (paintDirtyRegions): Removed unused field.
7308 * javax/swing/JMenuItem.java
7309 (onTop): Return true when not descendant of JInternalFrame.
7310 * javax/swing/JPopupMenu.java
7311 (onTop): Return true.
7312 * javax/swing/JToolTip.java
7313 (onTop): Return true.
7314 * javax/swing/JViewport.java
7315 (paintImmediately2): Change signature to match the
7316 corresponding JComponent method.
7318 2006-08-23 Tania Bento <tbento@redhat.com>
7320 * java/awt/Color.java
7321 (brighter): Modified algorithm to correctly determine the
7322 new brighter colour.
7324 2006-08-23 Roman Kennke <kennke@aicas.com>
7326 * java/awt/Container.java
7327 (maxSize): Removed field. This is already declared in Component.
7328 (validateTree): Check for ContainerPeer. Don't addNotify here.
7329 Only validate Component instances if they are invalid.
7331 2006-08-22 Roman Kennke <kennke@aicas.com>
7333 * javax/swing/JComponent.java
7334 (preferredSize): Removed field.
7335 (maximumSize): Removed field.
7336 (minimumSize): Removed field.
7337 (getMaximumSize): Adjusted to delegate to Component, rather
7338 then managing the size in JComponent.
7339 (getMinimumSize): Adjusted to delegate to Component, rather
7340 then managing the size in JComponent.
7341 (getPreferredSize): Adjusted to delegate to Component, rather
7342 then managing the size in JComponent.
7343 (isMaximumSizeSet): Removed.
7344 (isMinimumSizeSet): Removed.
7345 (isPreferredSizeSet): Removed.
7346 (setMaximumSize): Removed.
7347 (setMinimumSize): Removed
7348 (setPreferredSize): Removed.
7350 2006-08-22 Roman Kennke <kennke@aicas.com>
7352 * javax/swing/AbstractButton.java
7353 (ButtonChangeListener.stateChanged): Delegate to combined
7355 (EventHandler): New inner class. Handles all three types
7356 of events on the model.
7357 (eventHandler): New field. Stores the combined event
7359 (AbstractButton): Moved listener initialization to
7361 (createActionListener): Return combined handler.
7362 (createChangeListener): Return combined handler.
7363 (createItemListener): Return combined handler.
7364 (getEventHandler): New helper method for creating the combined
7366 (setModel): Initialize listeners here.
7367 * javax/swing/plaf/basic/BasicButtonListener.java
7368 (ButtonAction): New class. Implements the keyboard action
7370 (checkOpacity): Implemented.
7371 (createDefaultActionMap): New helper method.
7372 (installKeyboardActions): Rewritten to install InputMap
7373 and ActionMap according to 'new' keyboard input method.
7374 (mouseClicked): Commented as no-op.
7375 (mouseDragged): Commented as no-op.
7376 (mouseMoved): Commented as no-op.
7377 (propertyChange): Check for contentAreaFilled change and
7378 update opacity. Pull handling of HTLM in font and text handler.
7379 (stateChanged): Repaint button.
7380 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7381 * javax/swing/plaf/basic/BasicButtonUI.java
7382 (listener): Removed.
7383 (sharedListener): New static field. Stores the shared listener.
7384 (sharedUI): New static field. Stores the shared UI.
7385 (createButtonListener): Return shared instance here.
7386 (createUI): Return shared instance here.
7387 (getButtonListener): New helper method. Looks for the
7388 BasicButtonListener installed on a button and returns it.
7389 (installDefaults): Correctly install rollover property here.
7390 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7391 (installKeyboardActions): Fetch listener with new helper method.
7392 (installListeners): Don't use removed field. Check for null.
7393 (installUI): Added comment about order of method invocations.
7394 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7395 (uninstallKeyboardActions): Fetch listener with new helper method.
7396 (uninstallListeners): Fetch listener with new helper method.
7397 (paintIcon): Paint icon offset when pressed and armed.
7398 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7399 * javax/swing/plaf/metal/MetalButtonUI.java
7400 (sharedUI): New field. Stores the shared UI.
7401 (MetalButtonUI): Don't initialize fields here.
7402 (createButtonListener): Removed method. Use super impl.
7403 (createUI): Return shared instance.
7404 (getDisabledTextColor): Update field here.
7405 (getFocusColor): Update field here.
7406 (getSelectColor): Update field here.
7407 (installDefaults): Don't handle rollover property here.
7408 (uninstallDefaults): Don't handle rollover property here.
7409 (paintButtonPressed): Use accessor method to update the
7412 2006-08-21 Mark Wielaard <mark@klomp.org>
7414 Merge NATIVE_LAYER branch.
7416 2006-08-20 Mark Wielaard <mark@klomp.org>
7418 * doc/tools.texinfo: Add file from trunk.
7419 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7420 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7422 * native/jni/java-lang/java_lang_VMProcess.c
7423 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7424 * native/jni/java-net/java_net_VMInetAddress.c
7425 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7426 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7428 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7430 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7432 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7434 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7436 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7438 * include/java_lang_VMProcess.h: Regenerated.
7440 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7442 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7443 (nativeReceive): Fixed the type of the arrays (use java types).
7444 (nativeSendTo): Force throwing an exception if port is 0.
7446 * native/jni/java-net/javanet.c:
7447 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7449 (_javanet_recvfrom): Likewise.
7450 (_javanet_sendto): Throw a NullPointerException if the socket is
7451 not connected and no address is given.
7453 * native/jni/java-net/javanet.h
7454 (NULL_EXCEPTION): Defined.
7456 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7458 * native/jni/java-net/java_net_VMInetAddress.c
7459 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7462 * native/jni/java-net/javanet.c
7463 (_javanet_accept): Fixed bogus call to TARGET.
7464 (_javanet_create_inetaddress): Fixed address generation. Fixed
7466 (_javanet_bind): set "Reuse address" flag.
7468 * native/jni/native-lib/cpio.c
7469 (cpio_getModificationTime): Fixed type.
7470 (cpio_removeFile): Use rmdir too.
7472 * native/jni/native-lib/cpnet.c
7473 (cpnet_getHostByName): Fixed error detection.
7475 * native/jni/native-lib/cpnet.h
7476 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7478 (cpnet_IPV4AddressToBytes): Fixed types.
7480 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7482 * native/jni/native-lib/cpio.c
7483 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7485 * native/jni/native-lib/cpnet.h:
7486 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7487 messed by signs in jbyte.
7489 * native/jni/native-lib/cpproc.h
7490 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7492 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7494 * native/jni/native-lib/cpnet.c
7495 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7496 (waitForWritable, waitForReadable): New functions.
7497 (socketTimeouts): New static global table to hold timeouts for all
7499 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7500 Added waitForXXXX safeguards to handle socket timeouts.
7502 * native/jni/java-net/javanet.c
7503 (_javanet_accept): Check for the right error value when a timeout
7506 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7508 * native/jni/java-io/Makefile.am,
7509 native/jni/java-lang/Makefile.am,
7510 native/jni/java-net/Makefile.am,
7511 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7513 * native/jni/native-lib/Makefile.am: Added cpproc.c
7515 * native/jni/native-lib/cpio.c: Implemented missing functions for
7518 * native/jni/native-lib/cpnet.c
7519 (cpnet_getHostByName): Fixed address array initialization.
7521 * native/jni/native-lib/cpproc.c: Implemented.
7523 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7525 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7527 * m4/gcc_attribute.m4: New file from ac_archive.
7529 * native/jni/java-net/javanet.c: Adapted to cpnet API
7532 * native/jni/native-lib/cpnet.c: Implemented.
7534 * native/jni/native-lib/cpnet.h
7535 (cpnet_openSocketDatagram,
7536 cpnet_openSocketStream): These calls need an address family now.
7537 (cpnet_IPV4AddressToBytes,
7538 cpnet_bytesToIPV4Address): Convert the address to network order.
7540 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7542 * native/jni/java-io/java_io_VMFile.c,
7543 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7544 native/jni/midi-dssi/dssi_data.h,
7545 native/jni/native-lib/cpio.c,
7546 native/jni/native-lib/cpmath.h: Removed cpmath
7547 dependency. Fixed coding style.
7549 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7551 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7552 dependency. Simplified the JNI code by moving some part into the
7555 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7557 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7559 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7560 errors. Removed any remaining TARGET invocations.
7562 * native/jni/java-net/javanet.c
7563 (_javanet_create_inetaddress): Removed spurious arr and
7564 octets. Fixed compilation errors.
7566 * native/jni/native-lib/cpnet.h
7567 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7568 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7569 cpnet_isIPV4Address): New functions.
7570 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7573 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7575 * native/jni/java-io/java_io_VMFile.c,
7576 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7577 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7578 native/jni/java-net/javanet.c,
7579 native/jni/java-net/javanet.h: Adapted the VM layer code
7580 to the new native layer.
7582 * native/jni/native-lib/cpnet.h
7583 (cpnet_addMembership,
7584 cpnet_dropMembership,
7585 cpnet_getAvailableBytes): Added the declarations of
7587 (cpnet_newIPV6Address,
7588 cpnet_IPV6AddressToBytes,
7589 cpnet_bytesToIPV6Address): Implemented.
7590 (cpnet_newIPV4Address): Initialize the sin_family field.
7592 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7594 * native/target: Removed.
7596 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7597 Makefile generation.
7599 * native/jni/native-lib/Makefile.am,
7600 native/jni/native-lib/cpnet.h,
7601 native/jni/native-lib/cpnet.c
7602 native/jni/native-lib/cpio.h,
7603 native/jni/native-lib/cpio.c,
7604 native/jni/native-lib/cpmath.h: Imported new native compatibility
7607 2006-08-21 Roman Kennke <kennke@aicas.com>
7609 * gnu/javax/swing/text/html/css/CSSParser.java:
7611 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7613 * gnu/javax/swing/text/html/css/CSSParserException.java:
7615 * gnu/javax/swing/text/html/css/CSSScanner.java:
7616 Adjusted API comments. Made all constants package private.
7617 (EOF): New constant field.
7618 (parseBuffer): Made package private.
7619 (tokenEnd): Made package private.
7620 (CSSScanner): Initialize lookahead buffer with -1.
7621 (main): Print out to System.out rather then System.err.
7622 (nextToken): Push back character after IDENT.
7624 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7626 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7628 2006-08-21 Roman Kennke <kennke@aicas.com>
7630 * gnu/javax/swing/text/html/css/CSSScanner.java
7631 (main): Use buffered input stream.
7632 (nextToken): Removed 65536 workaround. Use int value directly
7633 without cast to char.
7634 (readComment): Use int value directly without cast to char.
7635 Cast to char only when putting the character into the buffer.
7636 (readEscape): Likewise.
7637 (readIdent): Likewise.
7638 (readName): Likewise.
7639 (readNum): Likewise.
7640 (readString): Likewise.
7641 (readWhitespace): Likewise.
7643 2006-08-21 Ingo Proetel <proetel@aicas.com>
7645 * java/io/InputStreamReader.java
7646 (bytesCache): New field.
7647 (cacheLock): New field.
7648 (read(byte[],int,int): Avoid allocations of new byte
7649 array on every call and reuse cached byte array if possible.
7651 2006-08-21 Roman Kennke <kennke@aicas.com>
7653 * gnu/java/net/local/LocalSocketImpl.java
7654 Only load native lib if this is supported by runtime.
7655 * native/jni/java-net/local.c
7656 Include config.h unconditionally.
7657 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7658 Include config.h unconditionally.
7660 2006-08-21 Friedjof Siebert <siebert@aicas.com>
7662 * java/io/ObjectInputStream.java
7663 (objectLookupTable): Changed to be a Vector.
7664 (ObjectInputStream): Initialize objectLookupTable as Vector.
7665 (assignNewHandle): Store Object using handle index rather than
7666 Hashtable, using the new rememberHandle() method.
7667 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7668 with a caching in ObjectStreamClass.
7669 (inputGetObjectStreamClass): Replaced by hierarchy().
7670 (lookupHandle): New method. Looks up an object by it's handle
7672 (parseContent): Avoid creating of Integer objects. Use
7673 hierarchy() method for looking up the class hierarchy.
7674 (processResolution): Use rememberHandle() to store
7675 handle per index, rather than Hashtabling the object.
7677 (rememberHandle): New method.
7678 * java/io/ObjectOutputStream.java
7679 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7680 Hashtable for improved lookup performance.
7681 (ObjectOutputStream): Initialize OIDLookupTable as
7682 ObjectIdentityMap2Int.
7683 (assignNewHandle): Change to use ObjectIdentityMap2Int.
7684 (findHandle): Change to use ObjectIdentityMap2Int.
7685 (getBooleanField): Removed.
7686 (getByteField): Removed.
7687 (getCharField): Removed.
7688 (getDoubleField): Removed.
7689 (getField): Removed.
7690 (getFloatField): Removed.
7691 (getIntField): Removed.
7692 (getLongField): Removed.
7693 (getObjectField): Removed.
7694 (writeFields(Object,ObjectStreamClass)): Use new helper method.
7695 (writeFields(Object,ObjectStreamField)): New helper method.
7696 Use switch rather then if-else cascade.
7697 (writeObject): Use int handle, rather then Integer.
7698 * java/io/ObjectStreamClass.java
7699 (hierarchy): New field. Caches the class hierarchy.
7700 (methodCache): New field. Caches methods.
7701 (readObjectSignature): New field. Stores the read signature.
7702 (uidCache): New field. Caches UIDs.
7703 (writeObjectSignature): New field. Stores the write signature.
7704 (cacheMethods): Cache methods in methodCache.
7705 (calculateClassID): Outsourced from getClassUID()
7706 for computing the UIDs.
7707 (getClassUIDFromField): Outsourced from getClassUID() for
7708 fetching the UID from the class field.
7709 (getClassUID): Use cached uid if possible. Use new helper
7710 methods for fetching the UID from the field or computing
7712 (getObjectStreamClasses): Removed. Replaced by more
7713 efficient hierarchy() method, that also caches the result.
7714 (hierarchy): Replaces getObjectStreamClasses() for caching
7716 (loadedByBootOrApplicationClassLoader): New helper method.
7717 (setClass): Invalidate hierarchy cache.
7718 (setSuperclass): Invalidate hierarchy cache.
7719 * java/io/ObjectStreamField.java
7720 (field): Made field package private for access from other
7722 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7723 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7724 hashtable for mapping objects to ints.
7726 2006-08-21 Roman Kennke <kennke@aicas.com>
7729 (getAbsolutePath): Fetch absolute path from
7730 VMFile.getAbsolutePath(). Moved actual impl to there.
7731 (isAbsolute): Let VMFile determine the absoluteness.
7732 (toURL): Let VMFile convert the filename.
7733 * vm/reference/java/io/VMFile.java
7734 (getAbsolutePath): New method.
7735 (isAbsolute): New method.
7736 (toURL): New method.
7738 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7740 * NEWS: Added note about updated VM interface.
7742 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7744 * java/lang/management/ManagementFactory.java:
7745 Updated documentation.
7747 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
7750 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7752 * gnu/java/util/regex/CharIndexedCharSequence.java,
7753 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7755 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7756 (match): call the new method setHitEnd of the input,
7757 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7758 Some optimization commented out, Use CharIndexed#move1 instead of move.
7759 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7760 * gnu/java/util/regex/REToken.java(match): The method body has been
7761 moved to an internal private method, (matchFake): New method,
7762 (setHitEnd): New method.
7763 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7764 if the match is not complete, (matchOneString): Count the number of
7765 characters which matched the pattern.
7766 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7767 (setFake): New method, (match): Call super.match or super.matchFake.
7768 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7769 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7770 setHitEnd of the input,
7771 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7772 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7773 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7775 2006-08-18 Tom Tromey <tromey@redhat.com>
7777 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7778 the 'int', not the cast char.
7780 2006-08-18 Roger Sayle <roger@eyesopen.com>
7782 * scripts/check_jni_methods.sh: Don't use the "set -C" command
7783 which isn't available in all shells.
7785 2006-08-18 Roger Sayle <roger@eyesopen.com>
7787 * lib/Makefile.am (resources): Fix some shell portability issues.
7789 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7791 * configure.ac (tool-wrappers): Check for ltdl support when tool
7792 wrapper binaries are enabled.
7793 * tools/Makefile.am (LIBJVM): Remove variable.
7794 (AM_CPPFLAGS): Add LIBJVM define.
7795 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7796 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7797 gjavah_LDFLAGS): Remove variables.
7798 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7800 2006-08-18 Tom Tromey <tromey@redhat.com>
7802 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7804 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7806 (readEntries): Likewise.
7808 2006-08-17 Roman Kennke <kennke@aicas.com>
7810 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7811 (layoutLabel): Reset the text and icon rectangles.
7813 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7816 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7817 Transform gappletviewer name using program_transform_name.
7819 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7821 * javax/swing/filechooser/FileSystemView.java
7822 (getFileSystemView): Always return UnixFileSystemView, since
7823 that's the only one we got. Marked with NotImplementedException.
7824 * javax/swing/plaf/basic/BasicFileChooserUI.java
7825 (mouseClicked, installUI): Don't parse path by hand.
7827 2006-08-17 Roman Kennke <kennke@aicas.com>
7829 * javax/swing/JComponent.java
7830 (scrollRectToVisible): Handle intermediate non-JComponents
7833 2006-08-17 Roman Kennke <kennke@aicas.com>
7835 * javax/swing/RepaintManager.java
7836 (blitBuffer): Removed. This is now done in commitBuffer().
7837 (commitBuffer): Always paint on the root window or applet.
7838 No need to look for intermediate heavyweights. Optimized
7839 rectangle translation.
7840 (commitRemainingBuffers): Removed. Not needed anymore.
7841 (getHeavyweightParent): Removed. Not needed anymore.
7842 (getOffscreenBuffer): Fetch offscreen image from the
7843 actual root component.
7844 (paintDirtyRegions): Don't call commitRemainingBuffers().
7846 2006-08-17 Roman Kennke <kennke@aicas.com>
7848 * javax/swing/SwingUtilities.java
7849 (clipString): New helper method for trimming strings.
7850 (layoutCompoundLabelImpl): Fixed algorithm to conform
7851 testsuites. Trim text if it's too long. Avoid creating
7852 new Rectangles. Optimized for performance.
7853 (layoutCompoundLabel): Use switch rather then if-else-chain.
7854 * javax/swing/plaf/basic/BasicButtonUI.java
7858 (paint): Reset and use cached rectangles. Only call paintIcon()
7859 if icon is not null. Don't call paintButtonPressed() when
7860 button is selected, only when it is both armed and pressed.
7861 * javax/swing/plaf/basic/BasicGraphicsUtils.java
7862 (getPreferredButtonSize): Reused cached rectangles rather
7863 then creating new ones. Don't create new Rectangle via
7865 * javax/swing/plaf/basic/BasicLabelUI.java
7866 (getPreferredSize): Correctly reset cached rectangles. Especially
7867 the view rect must have a big size to give it room for layouting.
7868 Short cut layout when text == null.
7869 (paint): Correctly reset cached rectangles.
7870 * javax/swing/plaf/basic/BasicMenuItemUI.java
7871 (resetRectangles): New helper method.
7872 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7873 (paintMenuItem): Correctly reset the cached rectangles.
7874 * javax/swing/plaf/basic/BasicRadioButtonUI.java
7875 (getPreferredSize): Use cached Rectangle objects and initialize
7877 (paint): Use cached Rectangle objects and initialize
7880 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
7882 * java/util/Calendar.java: API doc additions.
7884 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7886 * javax/swing/DefaultButtonModel.java:
7887 (setRollover): Simplified statement.
7889 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7891 * gnu/java/rmi/server/RMIClassLoaderImpl.java
7892 (loadClass): Rewritten to use getClassLoader.
7893 (loadProxyClass): Implemented.
7894 (getClassLoader): Fixed support for null or empty codebase.
7895 * gnu/java/rmi/server/RMIObjectInputStream.java
7896 (resolveClass): Use user class loader as default class loader.
7897 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7898 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7899 (loadClass): Simplified and use user class loader instead of
7900 context class loader as default.
7901 * java/io/ObjectInputStream.java
7902 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7903 * vm/reference/gnu/classpath/VMStackWalker.java
7904 (firstNonNullClassLoader): New method.
7905 * vm/reference/java/io/VMObjectInputStream.java
7906 (loaderAction, currentClassLoader): Removed.
7908 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7910 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7911 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7912 by current scroll offset, added method documention.
7913 (getTabBounds(int, Rectangle)): Added method documentation.
7914 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7915 (paintContentBorderLeftEdge): Changed y to 1.
7917 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7919 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7920 (MouseHandler.mouseReleased): Implemented.
7921 (MouseHandler.mousePressed): Added delegation to tabbed pane.
7922 (MouseHandler.mouseEntered): Dito.
7923 (MouseHandler.mouseExited): Dito.
7924 (MouseHandler.mouseMoved): Dito.
7925 (MouseHandler.redispatchEvent): New method.
7926 (PropertyChangeHandler.propertyChange): Added extra block level,
7927 added code to handle tab placement changes, added comment.
7928 (updateViewPosition): Set unneeded coordinate to 0, added comment.
7930 2006-08-16 Roman Kennke <kennke@aicas.com>
7932 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
7933 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
7936 2006-08-16 Mark Wielaard <mark@klomp.org>
7938 * java/awt/Component.java (orientation): Renamed to
7939 componentOrientation.
7940 (setComponentOrientation): Use new field name.
7941 (getComponentOrientation): Likewise.
7943 2006-08-16 Roman Kennke <kennke@aicas.com>
7946 * javax/swing/plaf/basic/BasicTreeUI.java
7947 (CellEditorHandler.editingCancelled): Call completeEditing
7949 (CellEditorHandler.editingStopped): Call completeEditing
7951 (NodeDimensionHandler.getNodeDimensions): Rewritten
7952 to use the preferred sizes of the renderer and editor.
7953 (TreeExpansionHandler.treeCollapsed): Complete editing
7955 (TreeSelectionHandler.valueChanged): Complete editing
7957 (cancelEditing): Call completeEditing with false, false and
7958 false. Don't call finish (removed method).
7959 (completeEditing(boolean,boolean,boolean): Only do something when
7960 stopEditingInCompleteEditing is true. Nullify editingComponent
7961 and editingPath. Remove editingComponent from tree. Update
7962 the layout when necessary and repaint.
7963 (completeEditing): Stop editing when necessary.
7964 (editorRequestFocus): New helper method. Request focus
7965 on the actual editor.
7966 (finish) Removed. This is now done in completeEditing().
7967 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
7968 (setLargeModel): Complete editing here.
7969 (setRootVisible): Complete editing here.
7970 (setRowHeight): Complete editing here.
7971 (setSelectionModel): Complete editing here.
7972 (startEditing): Correctly initialize and start editing.
7973 (updateExpandedDescendants): Complete editing here.
7974 * javax/swing/tree/DefaultTreeCellEditor.java
7975 (DefaultTextField): Fetch size from super and use renderer's height
7977 (EditorContainer.EditorContainer): Set layout to null, just
7979 (EditorContainer.doLayout): Layout so that the editor
7980 is offset to the right of the icon.
7981 (EditorContainer.getPreferredSize): Implemented to
7982 provide a reasonable preferred size.
7983 (EditorContainer.paint): Position icon in the middle.
7984 Also paint border if appropriate.
7985 (EditorContainer.setBounds): Removed.
7986 (RealEditorListener): Removed.
7987 (DefaultTreeCellEditor): Set correct border.
7988 (cancelCellEditing): Message real editor. Call finish().
7989 (createCellEditor): Don't add listener.
7990 (determineOffset): Correctly determine offset, and update
7992 (finish): New helper method.
7993 (getTreeCellEditorComponent): Set correct font. Call
7994 prepareForEditing() and determineOffset() to correctly initialize
7996 (stopCellEditing): Messsage realEditor to stop editing. Call
7998 (stopEditingTimer): Removed.
7999 (valueChanged): Correctly reset lastPath.
8000 * javax/swing/tree/DefaultTreeCellRenderer.java
8001 (getPreferredSize): Return super plus some extra space for
8004 2006-08-16 Roman Kennke <kennke@aicas.com>
8006 * javax/swing/plaf/metal/MetalTreeUI.java
8007 (LineStyleListener): New property listener, that updates
8008 the line style setting if the corresponding property
8010 (lineStyleListener): New field.
8011 (lineStyle): New field.
8012 (LINE_STYLE_ANGLED): New constant field.
8013 (LINE_STYLE_HORIZONTAL): New constant field.
8014 (LINE_STYLE_NONE): New constant field.
8015 (LINE_STYLE_VALUE_ANGLED): New constant field.
8016 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8017 (LINE_STYLE_VALUE_NONE): New constant field.
8018 (LINE_STYLE_PROPERTY): New constant field.
8019 (decodeLineStyle): Implemented.
8020 (installUI): Install line style listener. Set initial
8022 (uninstallUI): Uninstall line style listener.
8023 (paintHorizontalPartOfLeg): Only call super for angled
8025 (paintVerticalPartOfLeg): Only call super for angled
8027 (paintHorizontalSeparators): Implemented.
8028 (paint): If lineStyle==HORIZONTAL, call
8029 paintHorizontalSeparators().
8030 * examples/gnu/classpath/examples/swing/TreeDemo.java
8031 (createContent): Add panel for selecting line styles.
8033 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8035 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8036 (createContent): Rewritten.
8037 (createPlacementChangingMenuItem): New method.
8038 (createLayoutPolicyChangingMenuItem): New method.
8039 (createTabbedPane): New method.
8040 (createTabContent): New method.
8042 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8044 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8045 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8046 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8048 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8050 * javax/swing/text/WrappedPlainView.java:
8051 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8052 (calculateBreakPosition): Add p0 to return value.
8054 2006-08-15 Roman Kennke <kennke@aicas.com>
8056 * javax/swing/plaf/basic/BasicTreeUI.java
8057 (MouseHandler.selectedOnPress): New field.
8058 (MouseHandler.handleEvent): New helper method for handling
8059 selection and start/stop editing for mouse events.
8060 (MouseHandler.mouseDragged): Commented as no-op method.
8061 (MouseHandler.mouseMoved): Commented as no-op method.
8062 (MouseHandler.mousePressed): Use handleEvent() to handle
8063 selection and editing handling.
8064 (MouseHandler.mouseReleased): Use handleEvent() to handle
8065 selection and editing handling.
8066 (MouseInputHandler.MouseInputHandler): Register itself
8067 as mouse listener on source. Redispatch event to
8069 (MouseInputHandler.dispatch): New helper method.
8070 (MouseInputHandler.mouseClicked): Dispatch event.
8071 (MouseInputHandler.mouseDragged): Dispatch event.
8072 (MouseInputHandler.mouseEntered): Stop dispatching
8073 if dragging stopped.
8074 (MouseInputHandler.mouseExited): Stop dispatching
8075 if dragging stopped.
8076 (MouseInputHandler.mouseMoved): Stop dispatching.
8077 (MouseInputHandler.mousePressed): Marked as no-op.
8078 (MouseInputHandler.mouseReleased): Dispatch and stop
8079 dispatching afterwards.
8080 (MouseInputHandler.removeFromSource): Implemented.
8081 (PropertyChangeHandler.propertyChange): Also handle
8082 editable property changes by calling setEditable().
8083 (SelectionModelPropertyChangeHandler.propertyChange):
8084 Reset row selection.
8085 (startEditTimer): Removed.
8086 (setCellEditor): Call updateEditor().
8087 (setEditable): Call updateEditor().
8088 (startEditingAtPath): Make path fully visible before starting
8090 (startEditing): Maybe cancel previous edit session. Add
8091 editing component itself, not its parent container.
8092 Register MouseInputHandler for correctly redispatching
8094 (stopEditing): Message cellEditor and only completeEditing()
8095 when approved by cell editor.
8096 (updateCellEditor): Complete editing before updating
8097 the cell editor. Get cell editor from JTree if possible,
8098 otherwise create default editor. Update the listeners
8100 * javax/swing/tree/DefaultTreeCellEditor.java
8101 (CLICK_COUNT_TO_START): Removed.
8102 (DefaultTreeCellEditor): Install correct border. Let setTree()
8103 update the listeners. Don't initialize lastPath and font yet.
8104 (actionPerformed): Implemented to start editing.
8105 (createTreeCellEditor): Set click count to start to 1, rather than
8107 (isCellEditable): Prepare editor here. Determine if we can
8108 start immediately, or if we trigger a timer to do so.
8109 (prepareForEditing): Don't removeAll() (not necessary),
8110 check editingComponent to be non-null.
8111 (setTree): Update listeners.
8112 (shouldStartEditingTimer): Check for left mouse button.
8113 (startEditingTimer): Lazily create timer.
8115 2006-08-15 Lillian Angel <langel@redhat.com>
8117 * java/awt/dnd/DropTargetDragEvent.java
8118 (getTransferable): Implemented.
8120 2006-08-15 Roman Kennke <kennke@aicas.com>
8122 * java/util/Vector.java
8123 (removeAll): Added comment about NPE.
8124 (retainAll): Added comment about NPE.
8126 2006-08-15 Roman Kennke <kennke@aicas.com>
8128 * java/util/zip/ZipFile.java
8129 (UTF8DECODER): Removed.
8130 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8131 (utf8Decoder): New instance field.
8132 (decodeChars): Lazily create UTF8 decoder. Use instance
8133 field rather than a static field to avoid corruption.
8135 2006-08-15 Roman Kennke <kennke@aicas.com>
8137 * java/io/PrintStream.java
8138 (line_separator): Provide default for system property.
8139 * java/io/FileDescriptor.java
8140 (valid): Create local copy of channel field for better
8143 2006-08-15 Ingo Proetel <proetel@aicas.com>
8145 * java/util/zip/ZipFile.java
8146 (PartialInputStream.UTF8DECODER): New constant field, used
8147 for decoding UTF8 strings.
8148 (readLeShort): Access buffer directly if it has enough bytes
8150 (readLeInt): Access buffer directly if it has enough bytes
8152 (decodeChars): New helper method for decoding UTF8 strings.
8153 (readString): Avoid NIO charset decoder if possible.
8155 2006-08-15 Roman Kennke <kennke@aicas.com>
8157 * java/util/Vector.java
8158 (removeAll): Don't explicitly null-check here. The RI allows
8159 null arguments when Vector is empty. In other cases we
8160 implicitly throw an NPE.
8161 (retainAll): Don't explicitly null-check here. The RI allows
8162 null arguments when Vector is empty. In other cases we
8163 implicitly throw an NPE.
8165 2006-08-14 Casey Marshall <csm@gnu.org>
8167 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8168 of changes made on this branch.
8170 * gnu/classpath/debug/Component.java
8171 * gnu/classpath/debug/SystemLogger.java
8172 * gnu/java/security/action/GetPropertyAction.java
8173 * gnu/java/security/action/GetSecurityPropertyAction.java
8174 * gnu/javax/crypto/RSACipherImpl.java
8175 * gnu/javax/net/ssl/PrivateCredentials.java
8176 * gnu/javax/net/ssl/provider/Alert.java
8177 * gnu/javax/net/ssl/provider/AlertException.java
8178 * gnu/javax/net/ssl/provider/Certificate.java
8179 * gnu/javax/net/ssl/provider/CertificateRequest.java
8180 * gnu/javax/net/ssl/provider/CertificateType.java
8181 * gnu/javax/net/ssl/provider/CertificateVerify.java
8182 * gnu/javax/net/ssl/provider/CipherSuite.java
8183 * gnu/javax/net/ssl/provider/ClientHello.java
8184 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8185 * gnu/javax/net/ssl/provider/CompressionMethod.java
8186 * gnu/javax/net/ssl/provider/Constructed.java
8187 * gnu/javax/net/ssl/provider/ContentType.java
8188 * gnu/javax/net/ssl/provider/DiffieHellman.java
8189 * gnu/javax/net/ssl/provider/Extension.java
8190 * gnu/javax/net/ssl/provider/Finished.java
8191 * gnu/javax/net/ssl/provider/Handshake.java
8192 * gnu/javax/net/ssl/provider/Jessie.java
8193 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8194 * gnu/javax/net/ssl/provider/Random.java
8195 * gnu/javax/net/ssl/provider/ServerHello.java
8196 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8197 * gnu/javax/net/ssl/provider/Signature.java
8198 * gnu/javax/net/ssl/provider/Util.java
8199 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8200 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8201 * java/security/MessageDigest.java
8202 * java/security/MessageDigestSpi.java
8203 * java/security/Signature.java
8204 * java/security/SignatureSpi.java
8205 * javax/crypto/Mac.java
8206 * javax/crypto/MacSpi.java
8207 * javax/net/ssl/HandshakeCompletedEvent.java
8208 * javax/net/ssl/HttpsURLConnection.java
8209 * javax/net/ssl/SSLContext.java
8210 * javax/net/ssl/SSLContextSpi.java
8211 * javax/net/ssl/SSLSession.java
8213 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8214 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8215 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8216 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8217 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8218 * gnu/javax/net/ssl/provider/ServerDHParams.java
8219 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8220 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8221 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8222 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8223 * gnu/javax/net/ssl/provider/ServerNameList.java
8224 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8225 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8226 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8227 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8228 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8229 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8230 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8231 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8232 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8233 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8234 * gnu/javax/net/ssl/provider/Record.java
8235 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8236 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8237 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8238 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8239 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8240 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8241 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8242 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8243 * gnu/javax/net/ssl/provider/ExtensionList.java
8244 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8245 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8246 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8247 * gnu/javax/net/ssl/provider/ServerHandshake.java
8248 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8249 * gnu/javax/net/ssl/provider/SessionImpl.java
8250 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8251 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8252 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8253 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8254 * gnu/javax/net/ssl/provider/HelloRequest.java
8255 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8256 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8257 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8258 * gnu/javax/net/ssl/provider/ClientHandshake.java
8259 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8260 * gnu/javax/net/ssl/provider/CertificateURL.java
8261 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8262 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8263 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8264 * gnu/javax/net/ssl/provider/Builder.java
8265 * gnu/javax/net/ssl/provider/Debug.java
8266 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8267 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8268 * gnu/javax/net/ssl/provider/DelegatedTask.java
8269 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8270 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8271 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8272 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8273 * javax/net/ssl/SSLEngine.java
8274 * javax/net/ssl/CertPathTrustManagerParameters.java
8275 * javax/net/ssl/KeyStoreBuilderParameters.java
8276 * javax/net/ssl/X509ExtendedKeyManager.java
8277 * javax/net/ssl/SSLEngineResult.java
8278 * gnu/javax/net/ssl/PreSharedKeyManager.java
8279 * gnu/javax/net/ssl/Session.java
8280 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8281 * gnu/javax/net/ssl/SSLCipherSuite.java
8282 * gnu/javax/net/ssl/AbstractSessionContext.java
8283 * gnu/javax/net/ssl/SessionStoreException.java
8284 * gnu/javax/net/ssl/SSLRecordHandler.java
8285 * gnu/javax/net/ssl/SSLProtocolVersion.java
8286 * gnu/javax/crypto/key/GnuPBEKey.java
8287 * gnu/java/security/util/ByteBufferOutputStream.java
8288 * gnu/java/security/Requires.java
8289 * gnu/javax/security/auth/callback/CertificateCallback.java
8291 * gnu/javax/net/ssl/provider/Context.java
8292 * gnu/javax/net/ssl/provider/DigestInputStream.java
8293 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8294 * gnu/javax/net/ssl/provider/Enumerated.java
8295 * gnu/javax/net/ssl/provider/Extensions.java
8296 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8297 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8298 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8299 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8300 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8301 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8302 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8303 * gnu/javax/net/ssl/provider/KeyPool.java
8304 * gnu/javax/net/ssl/provider/OverflowException.java
8305 * gnu/javax/net/ssl/provider/RecordInput.java
8306 * gnu/javax/net/ssl/provider/RecordInputStream.java
8307 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8308 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8309 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8310 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8311 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8312 * gnu/javax/net/ssl/provider/SSLSocket.java
8313 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8314 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8315 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8316 * gnu/javax/net/ssl/provider/SecurityParameters.java
8317 * gnu/javax/net/ssl/provider/Session.java
8318 * gnu/javax/net/ssl/provider/SessionContext.java
8319 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8320 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8322 2006-08-14 Roman Kennke <kennke@aicas.com>
8324 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8325 (DividerLayout.layoutContainer): Removed debug output.
8326 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8327 (BasicHorizontalLayoutManager.axis): New field.
8328 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8330 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8331 Call new axis constructor.
8332 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8334 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8336 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8337 Refactored to handle direction.
8338 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8339 to handle direction.
8340 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8342 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8343 to handle direction.
8344 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8345 to handle direction.
8346 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8347 to handle direction.
8348 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8350 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8351 New explicit constructor. Calls super with vertical axis.
8352 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8353 to BasicHorizontalLayoutManager.
8354 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8355 moved to BasicHorizontalLayoutManager.
8356 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8357 Functionality moved to BasicHorizontalLayoutManager.
8358 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8359 moved to BasicHorizontalLayoutManager.
8360 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8361 moved to BasicHorizontalLayoutManager.
8362 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8363 Functionality moved to BasicHorizontalLayoutManager.
8364 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8365 moved to BasicHorizontalLayoutManager.
8366 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8367 moved to BasicHorizontalLayoutManager.
8368 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8369 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8370 (BUTTON_SPRITE_R): New constant field.
8371 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8372 L sprite for left buttons.
8374 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8376 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8377 (query_formats): g_free 'name' after usage.
8378 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8379 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8381 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8384 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8387 2006-08-14 Francis Kung <fkung@redhat.com>
8390 * java/awt/image/ColorModel.java
8391 (coerceData): Added check for non-transparent images.
8393 2006-08-14 Francis Kung <fkung@redhat.com>
8395 * java/awt/image/BandCombineOp.java
8396 (BandCombineOp): Perform checks on validity of matrix.
8397 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8398 (filter): Updated to work with new matrix storage.
8399 (getMatrix): Updated javadoc.
8400 (getPoint2D): Formatting change.
8402 2006-08-14 Francis Kung <fkung@redhat.com>
8404 * java/awt/image/AffineTransformOp.java
8405 (AffineTransformOp): Updated javadoc.
8406 (createCompatibleDestImage): Match behaviour of reference implementation.
8407 (createCompatibleDestRaster): Formatting changes.
8408 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8409 (filter(Raster, WritableRaster)): Re-implemented.
8410 (filterBicubic): New private method.
8411 (filterBilinear): New private method.
8412 (filterNearest): New private method.
8413 (getBounds2D): No longer fixed around one point for rotations.
8414 (getInterpolationType): Add support for bicubic interpolation.
8416 2006-08-14 Roman Kennke <kennke@aicas.com>
8418 * javax/swing/plaf/metal/MetalLookAndFeel.java
8419 (MetalLookAndFeel): Moved theme initialization to
8421 (createDefaultTheme): Forward to getCurrentTheme().
8422 (getDefaults): Initialize theme before doing anything else.
8423 (getCurrentTheme): Recognize swing.metalTheme property.
8425 2006-08-14 Roman Kennke <kennke@aicas.com>
8427 * javax/swing/JTable
8428 (getScrollableUnitIncrement): Expose partially exposed
8429 row in scrolling direction.
8431 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8433 * javax/swing/JTable (getScrollableUnitIncrement):
8434 Removing my name as the whole method body have been
8435 recently completely replaced.
8437 2006-08-14 Roman Kennke <kennke@aicas.com>
8440 * javax/swing/text/Utilities.java
8441 (getTabbedTextOffset): Don't add p0 here.
8443 2006-08-14 Roman Kennke <kennke@aicas.com>
8446 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8447 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8448 when wheel is going up.
8450 2006-08-14 Roman Kennke <kennke@aicas.com>
8453 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8454 (BasicOneTouchButton): New inner class.
8455 (DividerLayout.changeButtonOrientation): Removed.
8456 (DividerLayout.positionButtons): Moved into layoutContainer.
8457 (DividerLayout.layoutContainer): Reworked for correct layout.
8458 (OneTouchAction): New inner class.
8459 (centerOneTouchButtons): New field.
8460 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8462 (createLeftOneTouchButton): Reimplemented to return
8463 BasicOneTouchButton.
8464 (createRightOneTouchButton): Reimplemented to return
8465 BasicOneTouchButton.
8466 (getPreferredSize): Reimplemented to return fixed preferredSize.
8467 (oneTouchExpandableChanged): Add OneTouchAction action to
8468 buttons. Don't install mouse listeners.
8469 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8470 (paint): Don't trigger extra paint for buttons.
8471 (propertyChange): Revalidate splitPane when orientation is changed.
8472 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8473 oneTouchExpandable is true.
8474 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8475 (installDefaults): Install dividerSize on the divider too.
8476 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8477 (MetalDividerLayout): Removed. Functionality is already
8478 in BasicSplitPaneDivider.DividerLayout.
8479 (MetalOneTouchButton): New inner class.
8480 (BUTTON_SPRITE): New constant field.
8481 (MetalSplitPaneDivider): Don't change layout.
8482 (createLeftOneTouchButton): Overridden to return custom button
8484 (createRightOneTouchButton): Overridden to return custom button
8486 (paint): Don't trigger button painting. Call super instead.
8488 2006-08-13 Roman Kennke <kennke@aicas.com>
8490 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8491 (installKeyboardAction): Unmarked as stub. Added comment
8492 explaining that the RI seems to do nothing here.
8493 (uninstallKeyboardAction): Unmarked as stub. Added comment
8494 explaining that the RI seems to do nothing here.
8496 2006-08-13 Roman Kennke <kennke@aicas.com>
8499 * javax/swing/ScrollPaneLayout.java
8500 (layoutContainer): Consider the viewportBorder of the
8502 (minimumLayoutSize): Consider the viewportBorder of the
8504 (preferredLayoutSize): Consider the viewportBorder of the
8506 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8507 (installDefaults): Also install viewportBorder if specified.
8508 (paint): Paint viewportBorder if present.
8509 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8510 Don't nullify foreground, background and font. Uninstall
8511 border via LookAndFeel helper method to avoid uninstall
8514 2006-08-13 Roman Kennke <kennke@aicas.com>
8517 * javax/swing/plaf/basic/BasicHTML.java
8518 (HTMLRootView.HTMLRootView): Trigger initial layout.
8519 (HTMLRootView.setSize): Overridden to forward to real view.
8520 * javax/swing/plaf/basic/BasicToolTipUI.java
8521 (PropertyChangeHandler): New inner class. Updates the HTML
8523 (propertyChangeHandler): New field.
8524 (getMaximumSize): Add HTML width delta.
8525 (getMinimumSize): Add HTML width delta.
8526 (getPreferredSize): Reimplemented to use HTML view for size
8527 calculation if appropriate, otherwise use simple stringWidth()
8529 (installListeners): Install propertyChangeHandler.
8530 (uninstallListeners): Uninstall propertyChangeHandler.
8531 (installUI): Update HTML renderer.
8532 (uninstallUI): Update HTML renderer.
8533 (paint): Reimplemented to use HTML view for rendering if
8534 appropriate, simple drawString otherwise.
8535 * javax/swing/plaf/metal/MetalToolTipUI.java
8536 (getPreferredSize): Call super and add accelerator delta.
8537 (paint): Simply call super.
8539 2006-08-13 Roman Kennke <kennke@aicas.com>
8541 * javax/swing/JMenu.java
8542 (changeListener): Renamed to menuChangeListener to avoid
8543 shadowing changeListener field from AbstractButton.
8545 2006-08-13 Roman Kennke <kennke@aicas.com>
8547 * javax/swing/JTree.java
8548 (getScrollableUnitIncrement): Fixed direction.
8549 (getScrollableBlockIncrement): Implemented to scroll one
8551 * javax/swing/tree/VariableHeightLayoutCache.java
8552 (distance): Consider y + height already outside the node.
8554 2006-08-13 Roman Kennke <kennke@aicas.com>
8556 * javax/swing/JTable.java
8557 (getScrollableUnitIncrement): Fixed direction. Make it behave
8559 (getScrollableBlockIncrement): Fixed direction. Make it behave
8562 2006-08-13 Roman Kennke <kennke@aicas.com>
8564 * javax/swing/JList.java
8565 (getScrollableUnitIncrement): Fixed direction. Implemented
8566 horizontal scrolling. Improved usability.
8567 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8569 2006-08-13 Roman Kennke <kennke@aicas.com>
8571 * javax/swing/plaf/basic/BasicScrollBarUI.java
8572 (scrollByUnit): Scroll by -unit when direction is not positive
8573 and +unit otherwise.
8574 (scrollByBlock): Scroll by -unit when direction is not positive
8575 and +unit otherwise.
8577 2006-08-13 Roman Kennke <kennke@aicas.com>
8580 * javax/swing/text/PlainView.java
8581 (paint): Limit painted area to the lines inside the clip
8584 2006-08-13 Roman Kennke <kennke@aicas.com>
8586 * javax/swing/plaf/basic/BasicTextUI.java
8587 (uninstallListeners): Unregister document listener.
8589 2006-08-13 Sven de Marothy <sven@physto.se>
8591 * java/util/Locale.java
8592 (hashcodeCache): New field.
8593 (hashCode): use the above field instead of the serialized one
8594 (writeObject): Removed method.
8595 (readObject): Intern strings.
8596 (equals): Revert to previous method.
8598 2006-08-13 Roman Kennke <kennke@aicas.com>
8600 * javax/swing/JTabbedPane.java
8601 (JTabbedPane): Call setModel() here and let this install the
8602 change listener correctly.
8603 (setModel): Correctly uninstall and reinstall ChangeListener when
8606 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8609 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8610 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8611 (lastDefaultLocale): Removed.
8612 (emptyLocale): Likewise.
8613 (BundleKey.defaultLocale): New field.
8614 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8615 (BundleKey.set): Likewise.
8616 (BundleKey.equals): Take defaultLocal field into consideration.
8617 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8619 2006-08-13 Roman Kennke <kennke@aicas.com>
8621 * javax/swing/JMenu.java
8622 (MenuChangeListener): New inner class, helps firing menu events.
8623 (changeListener): New field.
8624 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8625 (add(Action)): Create Action using createActionComponent()
8626 and add via add(Component).
8627 (setModel): Install and uninstall MenuChangeListener here.
8629 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8632 * java/math/BigInteger.java: Updated copyright year.
8633 (init): Consume as little bytes as possible.
8634 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8635 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8636 as per RI's documentation.
8638 2006-08-13 Sven de Marothy <sven@physto.se>
8640 * java/util/Locale.java
8641 (hashcode): Is a serialized field, not transient.
8642 (equals): Should NOT compare strings by reference.
8643 (readObject/writeObject): Use the default methods and handle the hash
8646 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8649 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8650 Updated documentation.
8652 (getInstance(String, String, Provider, Object[])): Likewise.
8653 Separate checks for null and empty string arguments.
8654 Include as much information as possible in the exception's message.
8655 Do not swallow original exception; instead use it as the cause of the
8656 resulting exception.
8657 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8658 (getInstance(String)): Updated documentation.
8660 Store last exception caught when iterating through all providers.
8661 If no implementation found, raise last exception if one was caught.
8662 (getInstance(String, String)): Updated documentation.
8664 Check for null or empty provider as per RI-5's documentation.
8665 (getInstance(String, Provider)): Updated documentation.
8667 Use as much information as possible in the exception message.
8668 Do not swallow original exception; instead use it as the cause for the
8669 ultimate raised exception(s).
8670 * java/security/cert/CertificateFactory.java: Likewise.
8671 * java/security/cert/CertPathBuilder.java: Likewise.
8672 * java/security/cert/CertPathValidator.java: Likewise.
8673 * java/security/cert/CertStore.java: Likewise.
8674 * java/security/AlgorithmParameterGenerator.java: Likewise.
8675 * java/security/AlgorithmParameters.java: Likewise.
8676 * java/security/KeyFactory.java: Likewise.
8677 * java/security/KeyPairGenerator.java: Likewise.
8678 * java/security/KeyStore.java: Likewise.
8679 * java/security/MessageDigest.java: Likewise.
8680 * java/security/SecureRandom.java: Likewise.
8681 * java/security/Signature.java: Likewise.
8682 * javax/crypto/Cipher.java: Likewise.
8683 * javax/crypto/ExemptionMechanism.java: Likewise.
8684 * javax/crypto/KeyAgreement.java: Likewise.
8685 * javax/crypto/KeyGenerator.java: Likewise.
8686 * javax/crypto/Mac.java: Likewise.
8687 * javax/crypto/SecretKeyFactory.java: Likewise.
8688 * javax/net/ssl/KeyManagerFactory.java: Likewise.
8689 * javax/net/ssl/SSLContext.java: Likewise.
8690 * javax/net/ssl/TrustManagerFactory.java: Likewise.
8692 2006-08-13 Roman Kennke <kennke@aicas.com>
8694 * javax/swing/JEditorPane.java
8695 (getScrollableTracksViewportHeight): Also check maximum size.
8696 * javax/swing/JTextPane.java
8697 (insertIcon): Use input attributes for adding the icon
8699 * javax/swing/plaf/basic/BasicTextUI.java
8700 (RootView.setSize): Overridden to forward to real view.
8701 (getPreferredSize): Trigger setSize() on the view.
8702 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8703 to viewToModel() call, rather then null.
8704 * javax/swing/text/ParagraphView.java
8705 (changedUpdate): Invalide layout. Call super.
8706 * javax/swing/text/SimpleAttributeSet.java
8707 (clone): Use super's clone method to create clone.
8708 * javax/swing/text/StyleConstants.java
8709 (setIcon): Also set element name attribute.
8710 * javax/swing/text/StyledEditorKit.java
8711 (BoldAction.actionPerformed): Actually set the bold attribute,
8713 (setCharacterAttributes): Replaced with more straightforward
8715 * javax/swing/text/TextAction.java
8716 (getFocusedComponent): Implemented.
8717 * javax/swing/text/Utilities.java
8718 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8720 * javax/swing/text/View.java
8721 (changedUpdate): Nullify element change when updateChildren
8724 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
8726 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8727 Fix documentation typos.
8729 2006-08-11 David Daney <ddaney@avtrex.com>
8732 * gnu/java/net/protocol/http/Request.java (readResponse): Call
8733 createResponseBodyStream in more cases and with new parameter.
8734 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
8735 HEAD and !mayHaveBody responses specially.
8737 2006-08-11 Roman Kennke <kennke@aicas.com>
8739 * javax/swing/text/GlyphView.java
8740 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8741 * javax/swing/text/LabelView.java
8742 (valid): New flag indicating if the text attributes are valid.
8743 (LabelView): Initialize valid field with false.
8744 (setPropertiesFromAttributes): Call setter methods instead
8745 of setting properties directly. Set valid to true.
8746 (changedUpdate): Invalidate attributes. Call super.
8747 (getBackground): Sync attributes if necessary.
8748 (getForeground): Sync attributes if necessary.
8749 (getFont): Sync attributes if necessary.
8750 (isUnderline): Sync attributes if necessary.
8751 (isSuperscript): Sync attributes if necessary.
8752 (isStrikeThrough): Sync attributes if necessary.
8753 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8754 from toolkit if Container is not available yet.
8756 2006-08-11 Roman Kennke <kennke@aicas.com>
8758 * javax/swing/text/PlainView.java
8759 (tabBase): New field.
8760 (tabSize): New field.
8761 (updateMetrics): Update tabSize.
8762 (lineToRect): Only allocate when really necessary.
8763 (modelToView): Use tabBase for offset calculations.
8764 (paint): Only allocate when really necessary. Update tabBase.
8765 (nextTabStop): Fixed tab calculation.
8766 (viewToModel): Correctly handle multiline text and locations
8767 outside the view's bounds. Set bias.
8768 (getLineLength): Use tabBase.
8769 * javax/swing/text/Utilities.java
8770 (drawTabbedText): Don't special case newlines. The views
8771 must take care of this.
8773 2006-08-11 Roman Kennke <kennke@aicas.com>
8775 * javax/swing/text/GapContent.java
8776 (UndoPosRef): New inner class. Used for resetting positions
8777 after undo/redo operations.
8778 (InsertUndo.positions): New field.
8779 (InsertUndo.undo): Store positions in removed range.
8780 (InsertUndo.redo): Restore positions in re-inserted range.
8781 (UndoRemove.positions): New field.
8782 (UndoRemove.UndoRemove): Store positions in removed range.
8783 (UndoRemove.undo): Restore positions in re-inserted range.
8784 (UndoRemove.redo): Store positions in removed range.
8785 (insertString): Create InsertUndo instance before actually
8786 inserting the string.
8787 (remove): Create UndoRemove instance before actually
8789 (getPositionsInRange): Don't clear the Vector. Return Vector
8791 (updateUndoPositions): Implemented to reset all UndoPosRefs
8794 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
8796 * java/io/ObjectInputStream.java (readClassDescriptor):
8797 Use class's class loader to resolve field types.
8798 * java/io/ObjectStreamField.java
8799 (ObjectStreamField(String,String,ClassLoader)): Removed.
8800 (ObjectStreamField(String,String)): Don't try to resolve typename.
8801 (resolveType): New method.
8803 2006-08-10 Roman Kennke <kennke@aicas.com>
8805 * javax/swing/text/BoxView.java
8806 (calculateMajorAxisRequirements): Sum up the preferred and
8808 (isAfter): Also add in the rectangle's with/height.
8809 (childAllocation): Don't trigger layout here.
8810 (layoutMinorAxis): Removed debug output.
8811 (getWidth): Consider the insets.
8812 (getHeight): Consider the insets.
8813 (setSize): Consider the insets.
8814 (updateRequirements): Check axis and throw
8815 IllegalArgumentException.
8817 2006-08-10 Roman Kennke <kennke@aicas.com>
8819 * javax/swing/text/AbstractDocument.java
8820 (BidiRootName): New constant field, denotes the element name
8821 for bidi root elements.
8822 (AsyncLoadPriority): New constant field, denotes the property
8823 to store the asynchronousLoadPriority.
8824 (I18N): New constant field, denotes the property for
8826 (bidiRoot): Made field type BidiRootElement.
8827 (AbstractDocument): Build initial element structure for
8829 (getAsynchronousLoadPriority): Implemented. Returns the
8830 value stored in the document properties.
8831 (setAsynchronousLoadPriority): Implemented. Sets the
8832 value stored in the document properties.
8833 (getEndPosition): Implemented to use a Position from the
8835 (getStartPosition): Implemented to use a Position from the
8837 (insertStringImpl): Update the I18N setting if necessary.
8838 (insertUpdate): Update the bidi structure if necessary.
8839 (postRemoveUpdate): Update the bidi structure if necessary.
8840 (putProperty): Update the I18N setting and bidi structure
8842 (updateBidi): New helper method for updating the bidi
8844 (getBidis): New helper method. Fetches the Bidi analysers
8845 for the paragraphs of the range to check.
8846 (dump): Also dump the bidi structure.
8847 (AbstractElement.dump): Indent the '>' correctly.
8848 (AbstractElement.children): Check numChildren rather then
8850 (BidiRootElement): New inner class.
8851 (BidiElement): New inner class.
8853 2006-08-10 Roman Kennke <kennke@aicas.com>
8855 * javax/swing/text/GapContent.java
8856 (getChars): Optimized to only copy array when really necessary.
8857 Respect the partialReturn property.
8859 2006-08-10 Lillian Angel <langel@redhat.com>
8861 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8862 (getComponentPeer): Added check to prevent NPE.
8864 2006-08-10 Gary Benson <gbenson@redhat.com>
8866 * java/security/AccessControlContext.java (<init>):
8867 Avoid a duplicated AccessController.getContext() call.
8869 2006-08-09 Mark Wielaard <mark@klomp.org>
8871 * doc/www.gnu.org/newsitems.txt: Add 0.92.
8872 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8873 * doc/www.gnu.org/announce/20060809.wml: New file.
8875 2006-08-09 Mark Wielaard <mark@klomp.org>
8877 * configure.ac (VERSION): Set to 0.92-generics.
8878 * NEWS: Add updates for 0.92 release.
8880 2006-08-09 Tom Tromey <tromey@redhat.com>
8883 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8884 the pattern match any number of spaces in the text.
8886 2006-08-09 Sven de Marothy <sven@physto.se>
8888 * java/awt/image/BufferedImage.java
8889 (BufferedImage): Reimplement predefined-type constructor.
8890 (observers/tileObservers): Field renamed to tileObservers.
8891 (createDefaultIndexedColorModel): New method.
8893 2006-08-09 Tom Tromey <tromey@redhat.com>
8896 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8897 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8898 Create a 'short' array.
8900 2006-08-09 Tom Tromey <tromey@redhat.com>
8902 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8904 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8905 (writeFields): Print "L" after int constant. Don't mangle the field
8906 name. Only print int/long fields.
8908 2006-08-09 Tom Tromey <tromey@redhat.com>
8910 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8913 2006-08-09 Sven de Marothy <sven@physto.se>
8915 * javax/swing/JTree.java
8916 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8917 (setSelectionModel): Null parameter should create an EmptySelectionM.
8919 2006-08-09 Roman Kennke <kennke@aicas.com>
8921 * javax/swing/text/AbstractDocument.java
8922 (insertString): Perform modifications inside a write lock.
8923 (insertStringImpl): Don't lock here. This is already done
8925 (replace): Perform modifications inside a write lock.
8926 (AbstractElement.AbstractElement): Call addAttributes() to
8928 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8929 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8930 (BranchElement.BranchElement): Set lastIndex to -1.
8931 (BranchElement.getElementIndex): Implemented more efficient
8934 2006-08-09 Roman Kennke <kennke@aicas.com>
8936 * javax/swing/text/DefaultStyledDocument.java
8937 (Edit): Moved this inner class into ElementBuffer where it
8939 (edits): Moved this field into ElementBuffer.
8940 (getEditForParagraphAndIndex): Removed obsolete method.
8941 (insertUpdate): Added some optimizations and fixes. Split
8942 out handling insertion after newlines.
8943 (insertAfterNewline): New helper method. Handles insertions
8945 (ElementBuffer.Edit): New inner class. Moved here from
8946 DefaultStyledDocument.
8947 (ElementBuffer.createdFracture): New field.
8948 (ElementBuffer.documentEvent): Made private.
8949 (ElementBuffer.edits): New field. Moved here from
8950 DefaultStyledDocument.
8951 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
8952 (ElementBuffer.fracturedChild): New field.
8953 (ElementBuffer.fracturedParent): New field.
8954 (ElementBuffer.insertPath): New field.
8955 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
8957 (ElementBuffer.offsetLastIndex): New field.
8958 (ElementBuffer.offsetLastIndexReplace): New field.
8959 (ElementBuffer.recreateLeafs): New field.
8960 (ElementBuffer.ElementBuffer): Don't initialize stack here.
8961 (ElementBuffer.canJoin): New helper method.
8962 (ElementBuffer.changeUpdate): Changed to use elementStack with
8963 Edits rather than Elements. Let the split method do the work.
8964 (ElementBuffer.cloneAsNecessary): New helper method.
8965 (ElementBuffer.createFracture): Changed to fracture the bottommost
8967 (ElementBuffer.finishEdit): New helper method. Moved out
8968 from insertUpdate to perform the actual changes and update
8970 (fracture): New helper method.
8971 (insertContentTag): Fixed some bugs and changed to use Edit
8972 instances in the stack, rather then Elements.
8973 (insertElement): New helper method. Moved out from insertUpdate()
8974 to process the ElementSpecs.
8975 (insertFirstContentTag): Fixed some problems and changed to use Edit
8976 instances in the stack, rather then Elements.
8977 (insertFracture): Removed. Basically moved into createFracture()
8979 (insertParagraph): Removed.
8980 (insertUpdate): Split out the ElementSpec processing into
8981 insertElement(). Use Edit instances in the stack. Fixed some
8983 (insert): Split out the preparation and finishing code into
8984 prepareEdit() and finishEdit().
8985 (join): New helper method.
8986 (pop): New helper method.
8987 (prepareEdit): New helper method.
8988 (recreateFracturedElement): New helper method.
8989 (recreateLeaves): Removed.
8990 (recreate): New helper method.
8991 (removeElements): New helper method. Split out from removeUpdate().
8992 (removeUpdate): Split out the actual removal. Use the
8993 Edit stack to perform removal and perform the remove actions
8994 and event updates afterwards, just like in insertImpl().
8995 (remove): Use prepareEdit() and finishEdit().
8996 (split): Replaced with more flexible impl.
8998 2006-08-09 Sven de Marothy <sven@physto.se>
9000 * gnu/java/awt/peer/gtk/CairoSurface.java
9001 Change class to extend WritableRaster and not DataBuffer.
9002 (CairoDataBuffer): New inner class.
9003 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9004 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9005 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9006 Accomodate the above change.
9008 2006-08-09 Sven de Marothy <sven@physto.se>
9010 * gnu/java/awt/peer/gtk/GtkMainThread.java
9012 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9013 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9014 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9015 * gnu/java/awt/peer/gtk/GtkToolkit.java
9016 Minor style fixes; removed unused fields,
9017 set fields to private where possible.
9018 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9019 Call GtkMainThread.createWindow().
9020 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9021 (dispose): New method.
9022 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9024 (gtkQuit): New native method.
9026 2006-08-08 Lillian Angel <langel@redhat.com>
9028 * java/awt/Component.java
9029 (setDropTarget): Added check.
9031 2006-08-08 Lillian Angel <langel@redhat.com>
9033 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9034 (GtkDragSourceContextPeer): Added FIXME. Changed call
9036 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9037 (GtkDropTargetContextPeer): Removed target initialization.
9038 * java/awt/Component.java
9039 (setTarget): Removed commented out code.
9041 2006-08-08 Mark Wielaard <mark@klomp.org>
9043 * javax/swing/text/DefaultHighlighter.java: Qualify
9044 Highlighter.HighlightPainter class name for gcj.
9046 2006-08-05 Roman Kennke <kennke@aicas.com>
9048 * javax/swing/plaf/basic/BasicTableUI.java
9049 (MouseInputHandler.mousePressed): Request focus on list
9052 2006-08-05 Roman Kennke <kennke@aicas.com>
9054 * javax/swing/plaf/basic/BasicListUI.java
9055 (MouseInputHandler.mousePressed): Request focus on list
9058 2006-08-05 Roman Kennke <kennke@aicas.com>
9061 * javax/swing/plaf/basic/BasicMenuBarUI.java
9062 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9063 than Tree.actionMap.
9064 * javax/swing/plaf/basic/BasicTreeUI.java
9065 (action): Removed obsolete field.
9066 (uninstallKeyboardActions): Removed action field handling.
9067 (installKeyboardActions): Removed action field handling.
9068 (createDefaultActions): Don't install removed TreeAction.
9069 (TreeAction): Removed obsolete inner class.
9070 (ActionListenerProxy): Removed obsolete inner class.
9071 (MouseHandler.mousePressed): Request focus on JTree component
9074 2006-08-08 Roman Kennke <kennke@aicas.com>
9076 * javax/swing/plaf/basic/BasicListUI.java
9077 (MouseInputHandler.mousePressed): Request focus on list
9080 2006-08-08 Roman Kennke <kennke@aicas.com>
9082 * javax/swing/plaf/basic/BasicTableUI.java
9083 (MouseInputHandler.mousePressed): Request focus on list
9086 2006-08-08 Roman Kennke <kennke@aicas.com>
9088 * javax/swing/plaf/basic/BasicTextUI.java
9089 (damageRange(JTextComponent,int,int)): Call damageRange() with
9090 correct biases, rather than null.
9091 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9092 to use simpler modelToView() approach without much special
9093 casing. This seems not worth the effort and actually
9094 caused problems. Added locking of the document.
9095 * javax/swing/text/BoxView.java
9096 (requirementsValid): New field.
9097 (calculateMajorAxisRequirements): Rewritten without using
9098 SizeRequirements. The SizeRequirements algorithms are slightly
9099 different and too inefficient.
9100 (calculateMinorAxisRequirements): Rewritten without using
9101 SizeRequirements. The SizeRequirements algorithms are slightly
9102 different and too inefficient.
9103 (getAlignment): Simply return the alignment of the cached
9105 (getMaximumSpan): Add insets.
9106 (getMinimumSpan): Add insets.
9107 (getPreferredSpan): Add insets.
9108 (layoutMajorAxis): Rewritten without using
9109 SizeRequirements. The SizeRequirements algorithms are slightly
9110 different and too inefficient.
9111 (layoutMinorAxis): Rewritten without using
9112 SizeRequirements. The SizeRequirements algorithms are slightly
9113 different and too inefficient.
9114 (modelToView): Call setSize() rather than layout().
9115 (paint): Check clip for more efficient painting.
9116 (preferenceChanged): Invalidate requirements here.
9117 (replace): Invalidate requirements here.
9118 (updateRequirements): Update requirements only when requirements
9120 * javax/swing/text/CompositeView.java
9121 (modelToView): Added some more checks and handling of corner cases.
9122 * javax/swing/text/FlowView.java
9123 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9124 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9125 * javax/swing/text/IconView.java
9126 (getAlignment): Implemented to return 1.0 for vertical alignment.
9127 * javax/swing/text/ParagraphView.java
9128 (Row.getMaximumSpan): Implemented to let Rows span the whole
9130 (getAlignment): Fixed horizontal alignment and vertical alignment
9131 for empty paragraphs to be 0.5.
9133 2006-08-08 Roman Kennke <kennke@aicas.com>
9135 * javax/swing/text/View.java
9136 (modelToView): Added special handling for corner case at the end
9137 of the view and for multiline views.
9139 2006-08-08 Roman Kennke <kennke@aicas.com>
9141 * javax/swing/plaf/basic/BasicTextUI.java
9142 (modelToView): Read-lock the document. Set size of the
9143 root view before fetching the model-to-view mapping.
9144 (getViewIndex): Check of the position is inside the range and
9145 return -1 if this is not the case.
9146 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9148 (getViewIndexAtPosition(int)): Delegate the index search to
9149 the element since we have a 1:1 mapping between elements and
9151 * javax/swing/text/DefaultCaret.java
9152 (appear): Ignore BadLocationException.
9153 (paint): Ignore BadLocationException.
9154 * javax/swing/text/FlowView.java
9155 (changedUpdate): Also notify the layoutPool view.
9156 (removeUpdate): Also notify the layoutPool view.
9157 * javax/swing/text/ParagraphView.java
9158 (Row.getViewIndexAtPosition): Overridden to search linearily
9159 through the view instead of relying on a 1:1 model to view
9161 * javax/swing/text/View.java
9162 (removeUpdate): Clear ElementChange object if updateChildren
9164 (forwardUpdate): Special handle some boundary cases.
9166 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9168 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9169 (hasInheritedParameters): New method.
9170 (equals): Updated documentation.
9171 Take into consideration the outcome of hasInheritedParameters invocation.
9172 (toString): Call hasInheritedParameters and adjust the result accordingly.
9173 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9174 Updated documentation.
9175 Handle case of public keys with null p, q, and g MPIs.
9176 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9178 2006-08-07 Tom Tromey <tromey@redhat.com>
9181 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9182 (attachment): Likewise.
9183 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9185 (isValid): Likewise.
9186 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9188 (interestOps): Synchronize.
9189 (readyOps): Likewise.
9190 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9193 2006-08-07 C. Scott Marshall <csm@gnu.org>
9196 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9197 the mark has been set.
9198 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9199 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9202 2006-08-07 Sven de Marothy <sven@physto.se>
9204 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9205 (drawGlyphVector): Synchronize against font object when drawing.
9206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9207 (nativeDrawGlyphVector): Use pango locking when drawing.
9208 (install_font_peer): Use pango locking when creating the cairo face.
9210 2006-08-06 Roman Kennke <kennke@aicas.com>
9213 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9214 (getPreferredSize): Renamed method to preferredSize(). That's
9215 the one that gets called from java.awt.*.
9216 * java/awt/peer/ComponentPeer.java
9217 (getPreferredSize): Added specnote about this method never
9218 beeing called in the RI.
9219 (getMinimumSize): Added specnote about this method never
9220 beeing called in the RI.
9222 2006-08-03 Sven de Marothy <sven@physto.se>
9224 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9225 (grab, nativeGrab): New methods.
9226 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9227 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9228 (nativeGrab): New method.
9229 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9231 * java/awt/Component.java
9232 (printAll): Should call peer print method.
9234 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9236 * java/net/URL.java (getContent(Class[])): Implement.
9238 2006-08-06 Mark Wielaard <mark@klomp.org>
9241 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9242 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9244 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9247 2006-08-06 Roman Kennke <kennke@aicas.com>
9249 * NEWS: Added note about the X peers.
9250 * INSTALL: Added install notes about the X peers.
9252 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9253 Paul Jenner <psj@harker.dyndns.org>
9255 * README: Update bug, patches and cvs instructions plus new URLs of
9256 various external projects.
9258 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9260 * configure.ac (MOZILLA_FOUND): Fall back to
9261 mozilla-firefox-plugin.
9263 2006-08-06 Mario Torre <neugens@limasoftware.net>
9265 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9266 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9267 g_type_init earlier in function to correctly initialize the
9268 type system used by the backend.
9270 2006-08-05 Roman Kennke <kennke@aicas.com>
9272 * javax/swing/text/DefaultHighlight.java
9273 (DefaultHighlightPainter.paintHighlight): Removed method.
9274 (DefaultHighlightPainter.paintLayer): Implemented.
9275 (DefaultHighlightPainter.paint): Implemented more efficient
9276 painting for multiline-highlights.
9277 (HighlightEntry.p0): Changed to be a Position.
9278 (HighlightEntry.p1): Changed to be a Position.
9279 (HighlightEntry.HighlightEntry): Changed to take Position
9281 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9282 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9283 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9284 and tracks the painted rectangle for efficient repainting.
9285 (addHighlight): Handle layered highlight.
9286 (changeHighlight): Handle layered highlight.
9287 (paintLayeredHighlights): Implemented.
9288 (paint): Paint only non-layered highlights here.
9289 (removeAllHighlights): Trigger correct repaint.
9290 (removeHighlight): Handle layered highlight here for
9291 more efficient repainting.
9292 * javax/swing/text/GlyphView.java
9293 (paint): Handle layered highlights.
9294 * javax/swing/text/PlainView.java
9295 (paint): Handle layered highlights.
9296 * javax/swing/text/WrappedPlainView.java
9297 (WrappedLine.paint): Handle layered highlights.
9299 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9302 * NEWS: As suggested by Paul Jennier, added note about the fix of
9305 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9307 * NEWS: Added entry about the context factories for JNDI.
9309 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9312 * gnu/CORBA/Connected_objects.java (size): New method.
9313 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9315 * javax/naming/spi/NamingManager.java (getURLContext):
9316 Also search for the URL context factories in
9317 gnu/javax/naming/jndi/url.
9318 * gnu/javax/naming/giop/ContextContinuation.java,
9319 gnu/javax/naming/giop/CorbalocParser.java,
9320 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9321 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9322 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9323 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9324 gnu/javax/naming/giop/ListEnumeration.java,
9325 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9326 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9327 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9328 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9329 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9330 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9331 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9332 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9334 2006-08-06 Sven de Marothy <sven@physto.se>
9336 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9337 (drawGlyphVector): Synchronize against font object when drawing.
9338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9339 (nativeDrawGlyphVector): Use pango locking when drawing.
9340 (install_font_peer): Use pango locking when creating the cairo face.
9342 2006-08-06 C. Scott Marshall <csm@gnu.org>
9345 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9346 the mark has been set.
9347 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9348 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9351 2006-08-06 Mark Wielaard <mark@klomp.org>
9354 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9355 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9357 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9360 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9361 Paul Jenner <psj@harker.dyndns.org>
9363 * README: Update bug, patches and cvs instructions plus new URLs of
9364 various external projects.
9366 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9368 * gnu/java/lang/management/BeanImpl.java:
9369 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9371 (getCachedMBeanInfo()): Return open variant.
9372 (getMBeanInfo()): Likewise.
9373 (getTypeFromClass(Class)): Implemented.
9374 (translateSignature(MBeanParameterInfo)): Likewise.
9375 (translate(String)): Likewise.
9376 * javax/management/StandardMBean.java:
9377 (getMBeanInfo()): Return attribute names with capital letters,
9378 as in docs for java.lang.management.ManagementFactory, and
9379 ensure descriptions are not "".
9380 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9381 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9382 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9383 (toString()): Use Arrays.toString().
9384 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9385 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9386 Set open type here rather than in other constructors.
9388 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9390 * javax/management/MBeanFeatureInfo.java:
9391 Make string variable package-private.
9392 * javax/management/StandardMBean.java:
9393 (getMBeanInterface()): Made final.
9394 * javax/management/openmbean/SimpleType.java:
9397 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9399 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9402 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9404 * examples/gnu/classpath/examples/swing/FillRect.java,
9405 * gnu/CORBA/Focused_ORB.java,
9406 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9407 * gnu/classpath/ByteArray.java,
9408 * gnu/classpath/ObjectPool.java,
9409 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9410 * gnu/java/awt/peer/x/fonts.properties,
9411 * gnu/java/security/util/Prime2.java,
9412 * gnu/javax/imageio/gif/GIFStream.java,
9413 * javax/swing/text/html/HTMLTableView.java,
9414 * native/cni/Makefile.am,
9415 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9416 * org/omg/CORBA/SendingContext/Runtime.java,
9417 * resource/gnu/regexp/MessagesBundle.properties,
9418 * resource/gnu/regexp/MessagesBundle_fr.properties,
9419 * resource/gnu/regexp/MessagesBundle_it.properties,
9420 * tools/appletviewer.in,
9421 * tools/jarsigner.in,
9423 * vm/reference/java/lang/management/VMThreadInfo.java:
9425 * examples/gnu/classpath/examples/awt/aicas.png,
9426 * examples/gnu/classpath/examples/awt/palme.gif,
9427 * examples/gnu/classpath/examples/java2d/aicas.png,
9428 * examples/gnu/classpath/examples/java2d/palme.gif,
9429 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9430 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9431 * java/awt/doc-files/capjoin.png,
9432 * java/awt/geom/doc-files/Area-1.png,
9433 * java/awt/geom/doc-files/Ellipse-1.png,
9434 * java/awt/geom/doc-files/GeneralPath-1.png:
9437 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9442 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9444 * gnu/java/lang/management/BeanImpl.java:
9445 (getAttribute(String)): Implemented.
9447 2006-08-05 Roman Kennke <kennke@aicas.com>
9449 * javax/swing/text/JTextComponent.java
9450 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9451 (AccessibleJTextComponent.textComp): Removed field
9452 and replace with JTextComponent.this construct.
9453 (AccessibleJTextComponent.AccessibleJTextComponent):
9454 Fetch caret position.
9455 (caretUpdate): Implemented. Fires property change events and
9456 updates the caretDot field.
9457 (changedUpdate): Implemented. Fires property change events.
9458 (insertUpdate): Implemented. Fires property change events.
9459 (removeUpdate): Implemented. Fires property change events.
9460 (cut): Replaced textComp with JTextComponent.this construct.
9461 (paste): Replaced textComp with JTextComponent.this construct.
9462 (replaceText): Replaced textComp with JTextComponent.this construct.
9463 (selectText): Replaced textComp with JTextComponent.this construct.
9464 (getCaretPosition): Replaced textComp with JTextComponent.this
9466 (getCharCount): Replaced textComp with JTextComponent.this construct.
9467 (getSelectedText): Replaced textComp with JTextComponent.this
9469 (getSelectionEnd): Replaced textComp with JTextComponent.this
9471 (getSelectionStart): Replaced textComp with JTextComponent.this
9473 (getTextRange): Replaced textComp with JTextComponent.this
9475 (doAccessibleAction): Implemented.
9476 (getAccessibleActionCount): Implemented.
9477 (getAccessibleActionDescription): Implemented.
9478 (getAccessibleStateSet): Implemented.
9479 (getAfterIndex): Implemented.
9480 (getBeforeIndex): Implemented.
9481 (getAtIndex): Implemented.
9482 (getAtIndexImpl): New helper method.
9483 (getCharacterAttribute): Implemented.
9484 (getCharacterBounds): Implemented.
9485 (getIndexAtPoint): Implemented.
9486 (insertTextAtIndex): Implemented.
9487 (setAttributes): Implemented.
9488 (setTextContents): Implemented.
9490 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9492 * configure.ac: Better handling of default-preferences-peer option.
9494 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9496 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9499 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9501 * javax/management/openmbean/TabularData.java:
9502 Documentation corrections.
9503 * javax/management/openmbean/TabularDataSupport.java:
9506 2006-08-04 Francis Kung <fkung@redhat.com>
9508 * java/awt/BasicStroke.java
9509 (dashedStroke): Implemented.
9511 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9513 * javax/management/BadAttributeValueExpException.java,
9514 * javax/management/BadStringOperationException.java,
9515 * javax/management/InstanceAlreadyExistsException.java,
9516 * javax/management/InstanceNotFoundException.java,
9517 * javax/management/InvalidApplicationException.java,
9518 * javax/management/MBeanRegistrationException.java,
9519 * javax/management/MalformedObjectNameException.java,
9520 * javax/management/RuntimeErrorException.java,
9521 * javax/management/RuntimeMBeanException.java,
9522 * javax/management/ServiceNotFoundException.java:
9525 2006-08-04 Roman Kennke <kennke@aicas.com>
9527 * javax/swing/SwingUtilities.java
9528 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9529 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9530 layoutCompoundLabelImpl().
9531 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9532 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9533 layoutCompoundLabelImpl().
9534 (layoutCompoundLabelImpl): New helper method. Moved impl from
9535 layoutCompoundLabel() to here and added handling of HTML.
9536 * javax/swing/plaf/basic/BasicButtonUI.java
9537 (installUI): Update HTML view if appropriate.
9538 (uninstallUI): New method. Do the usual uninstallUI things
9539 and uninstall HTML view.
9540 (getMinimumSize): New method. Adjusts the minimum size
9541 by the HTML view minimum size.
9542 (getMaximumSize): New method. Adjusts the maximum size
9543 by the HTML view maximum size.
9544 (getPreferredSize): Pass the button's iconTextGap to the
9545 BasicGraphicsUtils method.
9546 (paint): Let HTML view paint the text, if present.
9547 * javax/swing/plaf/basic/BasicButtonListener.java
9548 (propertyChange): Update the HTML view when the button's
9551 2006-08-04 Mario Torre <neugens@limasoftware.net>
9553 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9554 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9555 g_type_init earlier in function to correctly initialize the
9556 type system used by the backend.
9558 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9561 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9563 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9565 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9567 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9569 * gnu/xml/dom/DomIterator.java:
9570 (successor): Added if-statement.
9572 2006-08-04 Mark Wielaard <mark@klomp.org>
9574 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9576 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9578 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9579 (update): Check size and paint smaller gradient.
9580 * javax/swing/plaf/metal/MetalBorders.java:
9581 (MenuBarBorder): Removed borderColor field.
9582 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9585 2006-08-03 Roman Kennke <kennke@aicas.com>
9588 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9589 (ComponentHandler.componentResized): Reimplemented to handle
9591 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9592 component listener on changed ancestor.
9593 (installListeners): Install componentListener.
9594 (uninstallListeners): Uninstall componentListener.
9596 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9598 * StrictMath.java (cbrt): Return argument if it is a NaN.
9603 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9605 * java/lang/StrictMath.java (tanh): New method.
9607 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9609 * scripts/import-cacerts.sh: Batch CA certificates import script.
9611 2006-08-03 Roman Kennke <kennke@aicas.com>
9614 * javax/swing/plaf/basic/BasicListUI.java
9615 (paintCell): Pass row index to cell renderer.
9616 * javax/swing/plaf/basic/MetalFileChooserUI.java
9617 (DirectoryComboBoxRenderer.indentIcon): New field.
9618 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9619 Initialize indentIcon.
9620 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9621 Fall back to super and removed standard functionality.
9623 (IndentIcon): New class. Wraps and indents another icon.
9625 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9627 * javax/management/MBeanConstructorInfo.java:
9628 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9629 Copy array rather than directly assigning.
9630 * javax/management/MBeanInfo.java:
9631 (MBeanInfo(String,String,MBeanAttributeInfo[],
9632 MBeanConstructorInfo[], MBeanOperationInfo[],
9633 MBeanNotificationInfo[])): Likewise.
9634 * javax/management/MBeanOperationInfo.java:
9635 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9637 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9638 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9640 * javax/management/openmbean/OpenMBeanInfo.java:
9641 Corrected documentation.
9642 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9644 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9645 Corrected documentation.
9646 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9648 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9649 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9650 Call other constructor rather than reimplementing.
9652 2006-08-02 Lillian Angel <langel@redhat.com>
9654 * java/awt/dnd/DragSource.java
9655 (isDragImageSupported): Implemented.
9656 (getDragThreshold): Changed default value.
9657 * java/awt/dnd/DropTarget.java
9658 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9659 (DropTarget): Likewise.
9660 (DropTarget): If FlavorMap passed in is null, we should use the system default.
9661 (addDropTargetListener): Added check to determine if new DropTargetListener
9662 is this class. If so, an IllegalArgumentException is thrown. If the
9663 new listener is null, nothing happens.
9665 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9667 * configure.ac (MOZILLA_FOUND): Fall back to
9668 mozilla-firefox-plugin.
9670 2006-08-02 Sven de Marothy <sven@physto.se>
9672 * java/awt/geom/AffineTransform.java
9673 (hashCode): Tweak impl.
9674 * java/awt/font/FontRenderContext.java
9675 (hashCode): Implement.
9677 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
9679 * java/lang/StrictMath.java (sinh): New method.
9681 2006-08-02 Roman Kennke <kennke@aicas.com>
9684 * javax/swing/JComboBox.java
9685 (setSelectedItem): Fire ActionEvent here.
9686 * javax/swing/plaf/basic/BasicDirectoryModel.java
9687 (directories): Changed to type Vector.
9689 (loadThread): New field.
9690 (DirectoryLoadThread): New inner class. This loads the contents
9691 of directories asynchronously.
9692 (getDirectories): Return cached Vector.
9693 (getFiles): Return cached Vector.
9694 (getSize): Return plain size of contents Vector.
9695 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9696 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9697 (sort): Don't store sorted list in contents. This must be done
9698 asynchronously from the EventThread.
9699 (validateFileCache): Rewritten for asynchronous reading
9700 of directory contents.
9701 * javax/swing/plaf/basic/BasicFileChooserUI.java
9702 (installListeners): Install model as PropertyChangeListener.
9703 (uninstallListeners): Uninstall model as PropertyChangeListener.
9704 (createPropertyChangeListener): Return null just like the
9707 2006-08-02 Sven de Marothy <sven@physto.se>
9709 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9710 (remove): Force event on removing item 0 when it's selected.
9711 (handleEvent): Always call Choice.selected().
9712 * java/awt/Choice.java:
9713 (remove): Simplify and correct.
9715 2006-08-02 Mark Wielaard <mark@klomp.org>
9718 * configure.ac (gconf-peer): Check for gdk-2.0.
9719 * native/jni/gconf-peer/Makefile.am
9720 (AM_LDFLAGS): Use GDK_LIBS.
9721 (AM_CFLAGS): Use GDK_CFLAGS.
9723 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9725 * java/net/URL.java (getContent(Class[])): Implement.
9727 2006-08-02 Roman Kennke <kennke@aicas.com>
9730 * javax/swing/JMenu.java
9731 (JMenu()): Removed setting of delay.
9732 (JMenu(String)): Removed setting of delay.
9733 (JMenu(Action)): Removed setting of delay.
9734 (JMenu(String,boolean)): Removed setting of delay.
9735 (setSelectedHelper): Removed unneeded method.
9736 (setSelected): Simply set the model state.
9737 (setPopupMenuVisible): Recognize the popup location
9738 determined by getPopupMenuOrigin().
9739 (getPopupMenuOrigin): Recognize the UI properties for
9741 (menuSelectionChanged): Call setSelected() directly.
9742 * javax/swing/JPopupMenu.java
9743 (menuSelectionChanged): If invoker is a JMenu, then delegate
9744 to that to get the position right.
9745 * javax/swing/Popup.java
9746 (LightweightPopup.show): Insert the popup as first component
9747 in the layer, so that it overlaps it's caller.
9748 * javax/swing/plaf/basic/BasicMenuItemUI.java
9749 (getPath): Don't include the popup.
9750 * javax/swing/plaf/basic/BasicMenuUI.java
9751 (SelectMenuAction): New class. This invokes the popup when
9753 (installDefaults): Install delay of 200 ms.
9754 (setupPostTimer): Implemented.
9755 (MouseInputHandler.mouseClicked): Do nothing here.
9756 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9757 magic to handle the selection. Open the menu via a timer.
9758 (MouseInputHandler.mousePressed): Use MenuSelectionManager
9759 magic to handle the selection. Open the menu via a timer.
9760 (MenuDragMouseHandler.menuMouseDragged): Probably use
9762 (menuDragMouseEntered): Do nothing here.
9764 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9766 * javax/management/openmbean/InvalidOpenTypeException.java,
9767 * javax/management/openmbean/KeyAlreadyExistsException.java:
9770 2006-08-02 Roman Kennke <kennke@aicas.com>
9773 * javax/swing/plaf/basic/BasicChooserUI.java
9774 (BasicFileView.getName): Fetch the real name from the
9775 file chooser's FileSystemView.
9776 * javax/swing/plaf/metal/MetalChooserUI.java
9777 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9778 Set the text fetched from the JFileChooser.getName().
9779 * javax/swing/FileSystemView.java
9780 (createFileObject): When file is a filesystem root,
9781 create a filesystem root object first.
9782 (getSystemDisplayName): Return the filename. Added specnote
9783 about ShellFolder class that is mentioned in the spec.
9784 * javax/swing/UnixFileSystemView.java
9785 (getSystemDisplayName): Implemented to return the real name
9786 of a file, special handling files like '.' or '..'.
9788 2006-08-03 Mark Wielaard <mark@klomp.org>
9790 * examples/gnu/classpath/examples/icons/badge.png: Add file.
9792 2006-08-03 Roman Kennke <kennke@aicas.com>
9795 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9796 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9797 components when visual property chanegs.
9799 2006-08-03 Roman Kennke <kennke@aicas.com>
9802 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9803 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9804 component when visual properties change.
9806 2006-08-03 Roman Kennke <kennke@aicas.com>
9809 * javax/swing/JTree.java
9810 (JTree(TreeModel)): Set cell renderer to null.
9811 * javax/swing/plaf/basic/BasicTreeUI.java
9812 (setCellRenderer): Finish editing before setting the
9813 cell renderer. Refresh the layout. Don't set the
9814 currentCellRenderer field here (that's done in updateRenderer).
9815 (updateRenderer): Handle createdRenderer field here too.
9816 Set renderer to a default handler when the current renderer
9817 in the JTree is null.
9819 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9822 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9824 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9827 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9828 Updated documentation to clarify that RFC-2459 states that the parameters
9829 field of the AlgorithmIdentifier element MUST be NULL if present.
9830 Amended the code to reflect the specs.
9831 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9833 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9835 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9836 Call parameter 'defaultValue' not 'defValue'.
9838 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9840 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9843 2006-08-01 Roman Kennke <kennke@aicas.com>
9846 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9847 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9848 components when visual property chanegs.
9850 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9852 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9853 (toString()): Corrected documentation.
9854 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9855 * javax/management/openmbean/OpenMBeanInfo.java,
9856 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9858 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9859 (toString()): Corrected documentation.
9861 2006-08-01 Tania Bento <tbento@redhat.com>
9863 * java/awt/Choice.java
9864 (remove(int)): Added documentation.
9866 2006-08-01 Tania Bento <tbento@redhat.com>
9868 * java/awt/Choice.java
9869 (remove(int)): An IllegalArgumentException should not be thrown
9870 if int is invalid. Update selectedIndex and peer selection.
9872 2006-08-01 Tania Bento <tbento@redhat.com>
9874 * java/awt/CardLayout.java
9875 (toString): Changed format of string outputted.
9876 (goToComponent): Changed the order of the if-clause.
9878 2006-07-31 Tom Tromey <tromey@redhat.com>
9880 * INSTALL: Updated for ASM.
9882 2006-07-31 Tom Tromey <tromey@redhat.com>
9885 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9886 (attachment): Likewise.
9887 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9889 (isValid): Likewise.
9890 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9892 (interestOps): Synchronize.
9893 (readyOps): Likewise.
9894 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9897 2006-07-31 Roman Kennke <kennke@aicas.com>
9899 * NEWS: Added note about the X peers.
9900 * INSTALL: Added install notes about the X peers.
9902 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
9904 * StrictMath.java (getLowDWord): Return long instead of int.
9905 (getHighDWord): Likewise.
9906 (buildDouble): Take two long arguments.
9907 (cbrt): Adapted to int -> long change.
9911 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
9913 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9916 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
9918 * java/security/Provider.java: Updated copyright year.
9919 Updated documentation.
9921 (put): Updated documentation.
9922 Added security manager check.
9923 Canonicalize the key before adding its mapping.
9924 (get): Override superclass implementation to use canonicalized keys.
9925 (remove): Updated documentation.
9926 Added security manager check.
9927 Canonicalize the key before removing its mapping.
9928 (clear): Updated documentation.
9929 Added security manager check.
9930 (toCanonicalKey): New method.
9932 2006-07-30 Matt Wringe <mwringe@redhat.com>
9934 * gnu/java/security/Engine.java
9935 (getInstance): Ignore self referencing aliases.
9937 2006-07-30 Mark Wielaard <mark@klomp.org>
9939 * javax/swing/JComponent.java (getListeners): Revert
9942 2006-07-30 Mark Wielaard <mark@klomp.org>
9944 * resource/java/security/classpath.security: Add /dev/urandom as
9945 default securerandom.source.
9947 2006-07-30 Mark Wielaard <mark@klomp.org>
9949 * java/util/GregorianCalendar.java (maximums): Months can have up to
9951 (nonLeniencyCheck): weeks is either 5 or 6.
9953 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
9955 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
9956 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9959 2006-07-30 Matt Wringe <mwringe@redhat.com>
9961 * gnu/java/security/Engine.java
9962 (getInstance): Ignore self referencing aliases.
9964 2006-07-30 Sven de Marothy <sven@physto.se>
9966 * java/awt/Choice.java:
9967 (accessibleAction): Call select() directly.
9968 (add, insert, remove): Reimplement.
9969 (dispatchEventImpl): Always call super.
9970 (processItemEvent): Does not set the index.
9971 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
9972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9974 (nativeAdd): Name changed to add.
9975 (selection_changed_cb): Simplify callback.
9976 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9977 (selected): New field.
9978 (add): Replaced with native impl.
9979 (handleEvent): New method.
9981 2006-07-30 Sven de Marothy <sven@physto.se>
9983 * java/awt/Choice.java:
9984 Reformat, fix copyright year.
9986 2006-07-29 Mark Wielaard <mark@klomp.org>
9988 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
9989 static field isPaintingDoubleBuffered to not have the same name
9992 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
9994 * examples/gnu/classpath/examples/management/TestBeans.java:
9996 * javax/management/MBeanAttributeInfo.java:
9997 (toString()): Implemented.
9998 * javax/management/MBeanConstructorInfo.java:
9999 (toString()): Implemented.
10000 * javax/management/MBeanFeatureInfo.java:
10001 (toString()): Implemented.
10002 * javax/management/MBeanInfo.java:
10003 (toString()): Implemented.
10004 * javax/management/MBeanNotificationInfo.java:
10005 (toString()): Implemented.
10006 * javax/management/MBeanOperationInfo.java:
10007 (toString()): Implemented.
10008 * javax/management/MBeanParameterInfo.java:
10009 (toString()): Implemented.
10010 * javax/management/StandardMBean.java:
10011 (getMBeanInfo()): Fix attribute naming.
10013 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10015 * gnu/java/lang/management/BeanImpl.java:
10016 Extended javax.management.StandardMBean.
10017 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10018 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10019 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10020 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10021 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10022 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10023 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10024 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10025 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10026 Call the superclass with the appropriate class.
10027 * java/lang/management/ManagementFactory.java:
10028 (getOperatingSystemMXBean()): Catch exception from
10030 (getRuntimeMXBean()): Likewise.
10031 (getClassLoadingMXBean()): Likewise.
10032 (getThreadMXBean()): Likewise.
10033 (getMemoryMXBean()): Likewise.
10034 (getCompilationMXBean()): Likewise.
10035 (getMemoryPoolMXBeans()): Likewise.
10036 (getMemoryManagerMXBeans()): Likewise.
10037 (getGarbageCollectorMXBeans()): Likewise.
10038 * javax/management/MBeanFeatureInfo.java:
10039 hashCode()): Fixed to check for null values.
10041 2006-07-29 Matt Wringe <mwringe@redhat.com>
10043 * gnu/java/security/Engine.java
10044 (getInstance): Add case insentivity to algorithm names
10045 * java/security/Provider.java
10046 (put): Stop using canonical key naming
10048 (toCanonicalKey): Method removed
10049 (get): Method removed, no longer needs to overwrite
10050 parent implementation
10052 2006-07-29 Mark Wielaard <mark@klomp.org>
10054 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10055 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10056 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10057 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10058 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10059 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10062 2006-07-29 Sven de Marothy <sven@physto.se>
10064 * java/math/BigDecimal.java
10065 Adjust copyright date.
10066 (divide(BigDecimal): Implement.
10067 (precision): Reimplement.
10068 (numDigitsInBigInteger, numDigitsInLong): Removed.
10069 (toString): Get exponent from string length,
10070 fix negative values with exponential form.
10071 (toEngineeringString): Same as for toString.
10072 (setScale): Throw ArithmeticException if scale < 0.
10074 2006-07-27 Francis Kung <fkung@redhat.com>
10076 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10077 (cp1): Renamed from first().
10078 (c2): Renamed from last().
10079 (first): Renamed to cp1().
10080 (getDisplacedSegments): Implemented.
10081 (last): Renamed to cp2().
10082 * gnu/java/awt/java2d/LineSegment.java
10083 (cp1): Renamed from first().
10084 (c2): Renamed from last().
10085 (first): Renamed to cp1().
10086 (last): Renamed to cp2().
10087 * gnu/java/awt/java2d/QuadSegment.java
10088 (cp1): Renamed from first().
10089 (c2): Renamed from last().
10090 (first): Renamed to cp1().
10091 (last): Renamed to cp2().
10092 * gnu/java/awt/java2d/Segment.java: Added comments.
10093 (first): New field.
10094 (Segment): Keep track of first element in list.
10095 (add): Update first & last element variables.
10096 (cp1): Renamed from first().
10097 (c2): Renamed from last().
10098 (first()): Renamed to cp1() to reduce ambiguity.
10099 (last()): Renamed to cp2() to reduce ambiguity.
10100 (reverseAll): Update first element variable..
10101 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10102 (draw): Remove flattening path iterator.
10103 * java/awt/BasicStroke.java: Clarified comments.
10104 (addSegments): Refactored some code into joinSegments and
10106 (capEnd): Rename of Segment.first() and Segment.end().
10107 (joinInnerSegments): New method.
10108 (joinOuterSegments): New method.
10109 (joinSegments): Refactored some code into joinOuterSegments.
10110 (solidStroke): Connect segments together properly.
10112 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10114 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10116 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10118 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10120 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10123 2006-07-28 Tom Tromey <tromey@redhat.com>
10125 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10127 2006-07-28 Lillian Angel <langel@redhat.com>
10129 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10130 Removed function declarations.
10131 (connect_signals_for_widget): Removed implementation because
10132 stub functions have been removed.
10133 (drag_begin_cb): Removed function.
10134 (drag_motion_cb): Likewise.
10135 (drag_data_get_cb): Likewise.
10136 (drag_data_delete_cb): Likewise.
10137 (drag_drop_cb): Likewise.
10138 (drag_end_cb): Likewise.
10139 (drag_data_received_cb): Likewise.
10141 2006-07-28 Mark Wielaard <mark@klomp.org>
10143 * configure.ac: Set version to 0.93-pre.
10145 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10147 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10149 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10151 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10152 (getCallbackHandler): Fully qualify linked class in javadoc.
10153 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10154 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10155 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10157 2006-07-27 Tom Tromey <tromey@redhat.com>
10159 PR classpath/28486:
10160 * java/net/URLStreamHandler.java (equals): Properly handle default
10161 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10163 2006-07-27 Roman Kennke <kennke@aicas.com>
10165 * javax/swing/text/AbstractDocument.java
10166 (documentCV): Made field private.
10167 (bypass): Made field private.
10168 (bidiRoot): New field.
10169 (AbstractDocument): Initialize bidiRoot.
10170 (getBidiRootElement): Return bidiRoot.
10171 (getRootElements): Adjusted to also return the bidiRoot element.
10172 (BranchElement.startOffset): Removed unneeded field.
10173 (BranchElement.endOffset): Removed unneeded field.
10174 (BranchElement.BranchElement): Removed unneeded fields.
10175 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10176 done automatically when there's no element left in the array.
10177 (BranchElement.getStartOffset): Likewise.
10178 (BranchElement.replace): Reordered calculations to avoid double
10180 (removeImpl): Silently ignore requests with length <= 0.
10181 * javax/swing/text/GapContent.java
10182 (createPosition): Removed explicit check for correct offset.
10183 This class can deal with offsets outside the document.
10184 (shiftEnd): Update all positions, even those outside the
10186 (adjustPositionsInRange): Fixed to also adjust positions outside
10187 the document boundary.
10189 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10191 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10193 (getParameter): Returns _klass field instead of determining
10194 class from _instance.
10195 (setCatchLoc): New method.
10196 (writeData): Now assumes Location deals with empty locations instead of
10198 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10199 locations and write out accordingly.
10200 (getEmptyLocation): New method.
10202 2006-07-27 Roman Kennke <kennke@aicas.com>
10204 * javax/swing/text/SimpleAttributeSet.java
10205 (EMPTY): Use EmptyAttributeSet for this field rather than
10206 SimpleAttributeSet.
10207 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10208 an empty and immutable AttributeSet.
10210 2006-07-27 Roman Kennke <kennke@aicas.com>
10212 * java/awt/Component.java
10213 (reshape): Invalidate the component itself only when the
10214 size has changed. Invalidate the parent always. Fixed
10215 repainting. Pulled out the notification into
10217 (notifyReshape): New helper method. Notify interested listeners
10219 (update): Simply call paint() without clearing the background.
10220 This is done in Container.update() if appropriate.
10221 (repaint): Delagate the repaint to the nearest heavyweight
10222 parent (for lightweights) and send an UPDATE event, rather than
10223 calling ComponentPeer.repaint().
10224 * java/awt/Container.java
10225 (backCleared): Removed field.
10226 (paint): Removed handling of backCleared flag.
10227 (update): Only paint if the container is actually
10228 showing. Removed handling of backCleared flag.
10230 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10232 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10234 (NavigateAction): New inner class.
10235 (NavigatePageDownAction): New inner class.
10236 (NavigatePageUpAction): New inner class.
10237 (RequestFocusAction): New inner class.
10238 (RequestFocusForVisibleComponentAction): New inner class.
10239 (FocusHandler.focusGained): Implemented.
10240 (FocusHandler.focusLost): Implemented.
10241 (MouseHandler.mouseReleased): Implemented.
10242 (MouseHandler.mousePressed): Rewritten.
10243 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10244 currentScrollLocation to 0.
10245 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10246 removed local variables, fixed indentation to stay under 80 column
10248 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10249 one, set selectedIndex to 0 if its negative, corrected start values
10250 for normalization, suppressed padding when only one tab run,
10251 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10252 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10253 80 column limit, corrected the starting value for the bounds fixing
10255 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10256 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10257 selectedRun, set start index for loop to 0.
10258 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10259 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10260 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10261 alignment and visibility handling.
10262 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10264 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10265 (currentScrollOffset): New field.
10266 (tabRuns): Rewritten documentation.
10267 (selectedColor): New field.
10268 (tempTextRect): New field.
10269 (tempIconRect): New field.
10270 (scrollTab): New method.
10271 (updateButtons): New method.
10272 (updateViewPosition): New method.
10273 (createLayoutManager): Reordered method calls, predefine new fields,
10274 register proper listeners.
10275 (uninstallComponents): Implemented.
10276 (installDefaults): Corrected property names, fixed indentation,.
10277 (uninstallDefaults): Set new fields to null.
10278 (uninstallListeners): Remove listeners from components neccessary for
10279 scrolling tab layout.
10280 (installKeyboardActions): Implemented.
10281 (uninstallKeyboardActions): Implemented.
10282 (paint): Paint tab area background.
10283 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10285 (getTabLabelShiftX): Rewritten.
10286 (getTabLabelShiftY): Rewritten.
10287 (paintFocusIndicator): Reindented.
10288 (paintTabBorder): Rewritten.
10289 (paintTabBackground): Corrected color usage, rewritten background
10290 rectangle painting.
10291 (paintContentBorderTopEdge): Rewritten.
10292 (paintContentBorderBottomEdge): Rewritten.
10293 (paintContentBorderLeftEdge): Rewritten.
10294 (paintContentBorderRightEdge): Rewritten.
10295 (tabForCoordinate): Return selected index when no tab could be
10296 found, removed FIXME note.
10297 (getRunForTab): Changed return value for first if-statement.
10298 (navigateSelectedTab): Fixed last argument for both
10299 getTabRunOffset() calls.
10300 (selectedNextTabInRun): Added scrolling code.
10301 (selectedPreviousTabInRun): Added scrolling code.
10302 (selectedNextTab): Added scrolling code.
10303 (selectedPreviousTab): Added scrolling code.
10304 (selectAdjacentRunTab): Added scrolling code.
10305 (getTextViewForTab): Added FIXME note.
10306 (calculateTabHeight): Changed FIXME note.
10307 (getTabRunOffset): Fixed indentation.
10308 (getNextTabIndexInRun): Corrected return value.
10309 (rotateInsets): Make TOP case the default in switch-statement.
10310 (getActionMap): New method.
10311 (createActionMap): New method.
10312 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10313 (createLayoutManager): Rewritten.
10314 (paintLeftTabBorder): Do not paint left line when previous tab
10315 is selected but current tab is the first in its run, do not paint
10316 left line when current tab is selected and is first in its run.
10317 (paintRightTabBorder): Added missing setColor() call, fixed color
10318 usage, do not paint right line if previous tab is selected but
10319 current tab is the first in its run.
10320 (paintBottomTabBorder): Do not paint left line if tab is selected
10321 and is the first tab in the last run.
10322 (paintFocusIndicator): New method.
10323 (getLabelShiftX): New method.
10324 (getLabelShiftY): New method.
10326 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10328 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10329 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10330 g_assert from unused obj.
10331 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10332 obj as unused and remove g_assert on it.
10334 2006-07-26 Roman Kennke <kennke@aicas.com>
10336 * javax/swing/RepaintManager.java
10337 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10339 (isCompletelyDirty): Consider a component completely dirty
10340 when it has a dirty region with Integer.MAX_VALUE.
10342 2006-07-26 Roman Kennke <kennke@aicas.com>
10344 * java/awt/KeyboardFocusManager.java
10345 (getGlobalFocusOwner): Explicitly check for thread security.
10346 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10347 (getGlobalFocusedWindow): Explicitly check for thread security.
10348 (getGlobalActiveWindow): Explicitly check for thread security.
10349 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10350 (getGlobalObject): Added new argument for specifying if
10351 a security check should be performed or not.
10352 (setGlobalObject): Don't check for thread security when
10353 calling getGlobalObject.
10355 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10357 * javax/management/MBeanConstructorInfo.java:
10359 * javax/management/MBeanInfo.java:
10360 (MBeanInfo(String,String,MBeanAttributeInfo[],
10361 MBeanConstructorInfo[], MBeanOperationInfo[],
10362 MBeanNotificationInfo[])): Implemented.
10363 (equals(Object)): Likewise.
10364 (getAttributes()): Likewise.
10365 (getConstructors()): Likewise.
10366 (getOperations()): Likewise.
10367 (hashCode()): Likewise.
10368 * javax/management/MBeanOperationInfo.java,
10369 * javax/management/NotCompliantMBeanException.java,
10370 * javax/management/StandardMBean.java:
10373 2006-07-26 Sven de Marothy <sven@physto.se>
10375 * java/awt/geom/GeneralPath.java: Fix severe typo.
10377 2006-07-26 Sven de Marothy <sven@physto.se>
10379 * include/java_lang_VMSystem.h
10380 * vm/reference/java/lang/VMSystem.java
10381 * native/jni/java-lang/java_lang_VMSystem.c
10382 (nanoTime, currentTimeMillis): Switch the former to native code and
10383 the latter to java.
10385 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10387 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10388 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10389 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10390 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10391 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10392 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10393 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10394 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10395 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10396 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10397 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10398 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10399 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10400 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10401 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10402 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10403 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10404 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10405 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10406 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10407 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10409 2006-07-26 Roman Kennke <kennke@aicas.com>
10411 * java/awt/KeyboardFocusManager.java
10412 (getFocusOwner): Don't check permanent owner.
10413 (getGlobalFocusOwner): Don't check permanent owner.
10415 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10417 * StrictMath.java (cosh): New method.
10418 (expm1): New method.
10419 (EXPM1_Q1): New field.
10420 (EXPM1_Q2): Likewise.
10421 (EXPM1_Q3): Likewise.
10422 (EXPM1_Q4): Likewise.
10423 (EXPM1_Q6): Likewise.
10425 2006-07-26 Roman Kennke <kennke@aicas.com>
10427 * javax/swing/plaf/basic/BasicButtonListener.java
10428 (mousePressed): Request focus if appropriate.
10429 * javax/swing/text/DefaultCaret.java
10430 (mousePressed): Also handle the focus of the text component
10431 as specified. Don't consume events.
10433 2006-07-26 Roman Kennke <kennke@aicas.com>
10435 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10436 (focusRequest): Removed field.
10437 (postFocusEvent(int,boolean,Component)): Removed.
10438 (postFocusEvent(int,boolean)): Reverted to post event using
10439 the heavyweight component.
10440 (requestFocus): Post focus event using the heavyweight
10442 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10443 (requestFocus): Post focus event using the heavyweight
10445 * java/awt/AWTEvent.java
10446 (isFocusManagerEvent): New field, indicating if this is
10447 an event that is redispatched by the KeyboardFocusManager.
10448 * java/awt/Component.java
10449 (requestFocusImpl): Register component for
10450 heavyweight->lightweight mapping.
10451 (dispatchEventImpl): Retarget focus events before dispatching
10452 to the KeyboardFocusManager. Use new AWTEvent flag instead
10453 of locking hack. Dispatch all events through the
10454 KeyboardFocusManager. Don't request focus on lightweight
10456 * java/awt/DefaultKeyboardFocusManager.java
10457 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10459 (handleFocusGained): Fixed handling of temporary vs permanent
10460 focus changes. Added some checks.
10461 (handleFocusLost): Fixed handling of temporary vs permanent
10462 focus changes. Added some checks.
10463 * java/awt/EventDispatchThread.java
10464 (run): Don't dispatch to KeyboardFocusManager here. This
10465 is done in Component.dispatchEventImpl().
10466 * java/awt/KeyboardFocusManager.java
10467 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10468 (focusRequests): New field.
10469 (retargetFocusEvent): New method. Retargets focus events
10470 that come from heavyweights to the correct lightweight component.
10471 (addLightweightFocusRequest): New method. Stores a mapping
10472 for later retargetting of heavyweight focus events.
10473 * java/awt/Window.java
10474 (addFocusListener): Removed bogus method. If at all, this
10475 should be performed in the KeyboardFocusManager.
10476 (Window): Don't install a focus listener on the Window.
10478 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10480 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10481 (drawLine): Apply shift to line coordinates.
10483 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10485 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10486 (copyimage): Do not call setRenderingHints() when the respective map
10488 (filter): Removed code to clone the ColorModel instance.
10489 * java/awt/image/ColorModel.java:
10490 (cloneColorModel): Removed.
10492 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10494 * javax/swing/JTabbedPane.java:
10495 (setSelectedIndex): Removed updating of component visibility status,
10497 (remove(Component)): Use indexOfComponent() to find whether we have
10498 to use super.remove(int) or removeTabAt().
10500 2006-07-26 Roman Kennke <kennke@aicas.com>
10502 * javax/swing/JOptionPane.java
10503 (createDialog): Add property change handler for closing
10504 the dialog when the value property changes.
10505 (ValuePropertyHandler): New inner helper class.
10506 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10507 (OptionPaneCloseAction): New class.
10508 (messageForeground): Removed field.
10509 (messageBorder): Removed field.
10510 (buttonBorder): Removed field.
10511 (addIcon): Configure the new label.
10512 (addMessageComponents): Configure newly created labels.
10513 (burstStringInto): Likewise.
10514 (createButtonArea): Install border here.
10515 (createMessageArea): Install border and foreground here.
10516 (createSeparator): Added comment and removed
10517 NotImplementedException.
10518 (installComponents): Don't install the UI defaults for the
10519 message and button area here. This is moved to the
10520 corresponding create* methods. Adjusted comment about
10522 (installDefaults): Removed initialization of removed fields.
10523 (installKeyboardActions): Implemented.
10524 (getActionMap): New helper method.
10525 (createDefaultActions): New helper method.
10526 (uninstallDefaults): Removed de-initialization of removed fields.
10527 (uninstallKeyboardActions): Implemented.
10528 (configureLabel): New helper method.
10529 * javax/swing/plaf/basic/BasicTableUI.java
10530 (getActionMap): Fixed the UI property names.
10531 * javax/swing/plaf/basic/BasicToolBarUI.java
10532 (getActionMap): Fixed the UI property names.
10534 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10536 * java/awt/image/BandedSampleModel.java
10537 (getDataElements): Check for negative x or y,
10538 (getPixels): Likewise,
10539 (getSamples): Likewise,
10540 (setSamples): Likewise.
10542 2006-07-26 Roman Kennke <kennke@aicas.com>
10544 * javax/swing/plaf/basic/BasicToolBarUI.java
10545 (ToolBarAction): New inner class for handling keyboard
10547 (installKeyboardActions): Implemented.
10548 (getActionMap): New helper method.
10549 (createDefaultActions): New helper method.
10550 (installListeners): Install focus listener on toolbar's
10551 children, rather than the toolbar itself.
10552 (navigateFocusedComp): Implemented.
10553 (uninstallKeyboardActions): Implemented.
10554 (uninstallListeners): Uninstall focus listener from
10555 toolbar's children, rather than the toolbar itself.
10556 (ToolBarContListener.componentAdded): Install focus
10557 listener on added child.
10558 (ToolBarContListener.componentRemoved): Uninstall focus
10559 listener from removed child.
10560 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10561 (ToolBarFocusListener.focusGained): Implemented.
10562 (ToolBarFocusListener.focusLost): Implemented.
10564 2006-07-26 Roman Kennke <kennke@aicas.com>
10566 * java/awt/DefaultKeyboardFocusManager.java
10567 (dispatchEvent): Notify old focus owner when it has lost
10570 2006-07-26 Roman Kennke <kennke@aicas.com>
10572 * javax/swing/plaf/basic/BasicTableUI.java
10573 (FocusHandler.focusGained): Implemented to refresh the
10575 (FocusHandler.focusLost): Implemented to refresh the
10577 (FocusHandler.repaintLeadCell): New helper method.
10578 (MouseInputHandler.mouseEntered): Do nothing here.
10579 (MouseInputHandler.mouseExited): Do nothing here.
10580 (MouseInputHandler.mouseMoved): Do nothing here.
10581 (installKeyboardActions): Rewritten to use a shared InputMap
10582 and ActionMap and correctly install the maps via SwingUtilities
10584 (getActionMap): New helper method.
10585 (createDefaultActions): New helper method.
10586 (ActionListenerProxy): Removed unneeded class.
10587 (TableAction): Made class static.
10588 (TableAction.actionPerformed): Determine table by fetching
10589 the event source. Pass the table to helper methods.
10590 Use __command__ hack to determine the action command.
10591 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10592 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10593 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10594 (TableAction.getLastVisibleRowIndex): Get table as argument.
10595 (TableAction.advanceMultipleSelection): Get table as argument.
10596 (uninstallDefaults): Do nothing here.
10597 (uninstallKeyboardActions): Uninstall the keyboard actions.
10599 2006-07-26 Roman Kennke <kennke@aicas.com>
10601 * javax/swing/JComponent.java
10602 (processKeyBinding): Store the action command as property
10603 in the Action instance that we call. This allows for
10604 improvement on the side of the Action.
10606 2006-07-26 Roman Kennke <kennke@aicas.com>
10608 * javax/swing/plaf/metal/MetalUtils.java
10609 (fillMetalPattern): Use fillRect() instead of drawLine() to
10610 fill single pixels.
10612 2006-07-26 Roman Kennke <kennke@aicas.com>
10614 * javax/swing/text/GapContent.java
10615 (getChars): Check for negative length and throw
10616 BadLocationException.
10618 2006-07-26 Roman Kennke <kennke@aicas.com>
10620 * javax/swing/plaf/basic/BasicMenuBarUI.java
10621 (FocusAction): Made class static.
10623 2006-07-26 Roman Kennke <kennke@aicas.com>
10625 * javax/swing/plaf/basic/BasicLookAndFeel.java
10626 (initComponentDefaults): Add keyboard bindings for
10629 2006-07-26 Roman Kennke <kennke@aicas.com>
10631 * javax/swing/UIManager.java
10632 (getLookAndFeelDefaults): Return the look and feel defaults.
10633 (setLookAndFeel): Improved exception messsage.
10635 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10637 * javax/swing/text/StringContent.java
10638 (StringContent): Changed initialLength to 10.
10640 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10642 * java/util/Vector.java: Fixed API doc typo.
10644 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10646 * java/awt/image/BandedSampleModel.java
10647 (createCompatibleSampleModel): Fixed typo in loop increment, set
10648 correct scanlineStride, and updated API docs.
10650 2006-07-25 Roman Kennke <kennke@aicas.com>
10652 * javax/swing/plaf/basic/BasicPopupMenuUI.java
10653 (NavigateAction): New inner class. This is responsible for
10654 keyboard navigation through menus.
10655 (KeyboardHelper): New inner class. This manages the
10656 keyboard mappings and focus when a popup opens or closes.
10657 (keyboardHelper): New static field.
10658 (numPopups): New static field.
10659 (installUI): Create KeyboardHelper for first popup.
10660 Call installKeyboardActions().
10661 (installKeyboardActions): Removed NotImplementedException.
10662 This method is a no-op.
10663 (installKeyboardActionsImpl): New method. Installs keyboard
10664 mapping when a popup is opened.
10665 (getActionMap): New helper method.
10666 (createDefaultActions): New helper method.
10667 (uninstallUI): Uninstall KeyboardHelper when last Popup is
10668 uninstalled. Call uninstallKeyboardActions().
10669 (uninstallKeyboardActions): Removed NotImplementedException.
10670 This method is a no-op.
10671 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10672 mapping when a popup is closed.
10674 2006-07-25 Roman Kennke <kennke@aicas.com>
10676 * java/awt/Component.java
10677 (requestFocus()): Reimplemented to use requestFocusImpl().
10678 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10679 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10680 (requestFocusInWindow(boolean)): Reimplemented to use
10681 requestFocusImpl().
10682 (requestFocusImpl): Reimplemented focus request to use
10683 new peer method. Also added some obvious additional checks
10684 for rejecting focus requests early.
10685 * java/awt/ComponentPeer.java
10686 (requestFocus(Component,boolean,boolean,long)): Documented
10688 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10689 (requestFocus): New field.
10690 (gtkWidgetHasFocus): New native method.
10691 (gtkWidgetCanFocus): New native method.
10692 (requestFocus): Replaced with assert false to prevent
10693 usage of obsolete method.
10694 (postFocusEvent(int,boolean,Component)): New overloaded method
10695 for posting the focus event to a specific target.
10696 (postFocusEvent(int,boolean)): Post event to requestFocus
10698 (requestFocus(Component,boolean,boolean,long)): Implemented.
10699 (getWindowFor): New helper method.
10700 (isLightweightDescendant): New helper method.
10701 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10702 (gtkWindowHasFocus): New native method.
10703 (requestFocus(Component,boolean,boolean,long)): New method.
10704 Overrides GtkComponentPeer method to specially handly the
10705 case when a Window receives a focus request for a lightweight
10707 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10708 (gtkWidgetHasFocus): New native method.
10709 (gtkWidgetCanFocus): New native method.
10710 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10711 (gtkWindowHasFocus): New native method.
10712 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10713 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10716 2006-07-25 Francis Kung <fkung@redhat.com>
10718 * java/awt/DefaultKeyboardFocusManager.java
10719 (dispatchEvent): Add check for valid component.
10721 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
10723 * javax/management/MBeanConstructorInfo.java:
10725 * javax/management/MBeanNotificationInfo.java:
10727 * javax/management/MBeanParameterInfo.java:
10730 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10732 * java/awt/peer/gtk/CairoGraphics.java:
10733 (drawLine): Added special case for 1 pixel lines.
10735 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10738 * java/awt/peer/gtk/CairoGraphics.java:
10739 (drawLine): Removed calls to shifted().
10741 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10743 * javax/swing/JTabbedPane.java:
10744 (remove(Component)): Rewritten.
10745 (setSelectedIndex): Implemented updating of component visibility state.
10747 2006-07-25 Sven de Marothy <sven@physto.se>
10749 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10750 (init): Default to the actual depth in the worst case.
10752 * java/awt/Font.java
10753 (createFont(int, File)): New method.
10755 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
10758 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10760 (RETokenEnd): New constructer to set check_java_line_terminators.
10761 (matchThis): Checck line terminators if check_java_line_terminators.
10762 * gnu/java/util/regex/RETokenStart.java: Likewise.
10763 * gnu/regexp/RE.java(initialize): Use the new constructors for
10764 RETokenEnd and RETokenStart if REG_MULTILINE is set.
10765 * java/util/regex/Pattern.java(Patteren): Changed so that
10766 gnu/regexp/RE.java may use the new the new constructors.
10768 2006-07-25 Roman Kennke <kennke@aicas.com>
10770 * java/awt/Container.java
10771 (focusTraversalPolicyProvider): New field.
10772 (isFocusTraversalPolicyProvider): New method.
10773 (setFocusTraversalPolicyProvider): New method.
10774 * java/awt/ContainerOrderFocusTraversalPolicy.java
10775 (getFirstComponent): Use accept() instead of lengthy checks.
10776 Don't fetch getComponents() to avoid copying of array.
10777 Traverse down the hierarchy to find the first focused component.
10778 * java/awt/DefaultKeyboardFocusManager.java
10779 (dispatchEvent): Let the initial component request focus.
10781 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10783 * javax/swing/text/Segment.java
10784 (last): Update current index before returning DONE for zero count.
10786 2006-07-24 Mark Wielaard <mark@klomp.org>
10788 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10790 2006-07-25 Roman Kennke <kennke@aicas.com>
10792 * javax/swing/plaf/basic/BasicMenuBarUI.java
10793 (FocusAction): New inner class. Used to grab focus.
10794 (installKeyboardActions): Implemented.
10795 (uninstallKeyboardActions): Implemented.
10796 (getActionMap): New helper method.
10797 (createDefaultActions): New helper method.
10799 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10801 * examples/gnu/classpath/examples/swing/Demo.java:
10802 (mkMenuBar): Install instantiable basic look and feel.
10803 (InstantiableBasicLookAndFeel): New inner class.
10805 2006-07-25 Roman Kennke <kennke@aicas.com>
10807 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10808 (GlassPaneDispatcher.dragTarget): New field.
10809 (GlassPaneDispatcher.isDragging): New field.
10810 (GlassPaneDispatcher.pressedComponent): Removed field.
10811 (GlassPaneDispatcher.tempComponent): Removed field.
10812 (GlassPaneDispatcher.pressCount): Removed field.
10813 (GlassPaneDispatcher.mousePressed): Call
10814 borderListener.mousePressed() to activate the frame.
10815 (acquireComponentForMouseEvent): Removed method.
10816 (handleEvent): Rewritten.
10817 (redispatch): New method.
10818 (InternalFramePropertyChangeListener.propertyChange):
10819 Make glasspane invisible when frame is selected, and visible
10820 if it gets deselected.
10822 2006-07-25 Roman Kennke <kennke@aicas.com>
10824 * java/awt/LightweightDispatcher.java
10825 (handleMouseEvent): Dispatch event to real target if
10826 the dragTarget has become invisible in the meantime.
10828 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10830 * javax/swing/text/TabSet.java
10831 (equals): New method override for 1.5,
10832 (hashCode): Likewise,
10833 (toString): Added spaces to match reference implementation.
10835 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10837 * javax/management/IntrospectionException.java,
10838 * javax/management/MBeanAttributeInfo.java:
10840 * javax/management/MBeanNotificationInfo.java:
10841 Documentation cleanups.
10843 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10845 * javax/swing/text/TabSet.java
10846 (TabSet): Check for null argument,
10847 (getTab): Throw IllegalArgumentException for index out of bounds,
10848 (getTabIndexAfter): Changed test to '<=',
10849 and updated API docs all over,
10850 * javax/swing/text/TabStop.java: Updated API docs.
10852 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10854 * javax/swing/text/TabStop.java
10855 (toString): Don't use 'left ' prefix, and added space between tab
10856 location and '(w/leader)' suffix.
10858 2006-07-24 Francis Kung <fkung@redhat.com>
10860 * javax/swing/JComboBox.java
10861 (DefaultKeySelectionManager): Implemented.
10862 (createDefaultKeySelectionManager): Implemented.
10863 (getKeySelectionManager): Implemented.
10864 (processKeyEvent): Removed duplicate code.
10865 * javax/swing/JPopupMenu.java
10866 (selectionModel): Changed visibility.
10867 * javax/swing/plaf/basic/BasicComboBoxUI.java
10868 (KeyHandler.keyPressed): Added navigation keys.
10869 (configureEditor): Add key listener.
10870 (installListeners): Install focus listener to combo box.
10871 (isNavigationKey): Added enter, escape, and tab.
10872 (selectPreviousPossibleValue): Added out of bounds check.
10873 (unconfigureEditor): Remove key listener.
10874 * javax/swing/plaf/metal/MetalComboBoxButton.java
10875 (paintComponent): Highlight combo box when in focus.
10877 2006-07-24 Roman Kennke <kennke@aicas.com>
10879 * javax/swing/SwingUtilities.java
10880 (isLeftMouseButton): Fixed condition.
10881 * java/awt/LightweightDispatcher.java
10882 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10885 2006-07-24 Roman Kennke <kennke@aicas.com>
10887 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10888 (setPaint): Fixed scaleX and scaleY.
10890 2006-07-24 Roman Kennke <kennke@aicas.com>
10892 * javax/swing/JTable.java
10893 (handleInsert): Repaint the whole table for variable row
10894 height tables and an optimized region otherwise.
10895 (handleDelete): Likewise.
10896 (handleUpdate): Likewise.
10898 2006-07-24 Mario Torre <neugens@limasoftware.net>
10900 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10901 now explicity registerListeners on GtkMouseDragGestureRecognizer
10903 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10904 (unregisterListeners): new method, overrided from base class
10905 to rise visibility (from protected to public).
10906 (registerListeners): Likewise.
10907 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10908 removed call to registerListeners from the constructor.
10910 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
10912 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10913 * java/lang/management/MemoryPoolMXBean.java:
10914 (getType()): Changed return type to MemoryType.
10915 * java/lang/management/MemoryType.java:
10918 2006-07-23 Mark Wielaard <mark@klomp.org>
10920 * configure.ac: Check for moc and moc-qt4.
10922 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
10924 * java/awt/image/Kernel.java: API doc updates.
10926 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
10928 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
10931 2006-07-22 Mark Wielaard <mark@klomp.org>
10933 * java/lang/Iterable.java: Import all of java.util.
10934 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
10935 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
10937 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10939 * doc/vmintegration.texinfo:
10940 Document getType(String).
10941 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10942 * java/lang/management/MemoryPoolMXBean.java:
10943 (getType()): Implemented.
10944 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
10945 (getType(String)): Implemented.
10947 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10949 * doc/vmintegration.texinfo:
10950 Move end of itemization block.
10952 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
10954 * javax/swing/plaf/metal/MetalLookAndFeel.java:
10955 (initComponentDefaults): Added new properties, added comments.
10957 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10959 * doc/vmintegration.texinfo:
10960 Mention callback methods.
10961 * gnu/java/lang/management/MemoryMXBeanImpl.java:
10962 (fireNotification(String,String,long,long,long,long,long)):
10963 Made package-private.
10964 (fireThresholdExceededNotification(String,long,long,long,
10965 long,long)): Likewise.
10966 (fireCollectionThresholdExceededNotification(String,long,
10967 long,long,long,long)): Likewise.
10968 * java/lang/management/MemoryMXBean.java:
10969 Document notifications.
10971 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10973 * gnu/java/lang/management/MemoryMXBeanImpl.java:
10974 (fireNotification(String,String,long,long,long,long,long)):
10976 (fireThresholdExceededNotification(String,long,long,long,
10977 long,long)): Likewise.
10978 (fireCollectionThresholdExceededNotification(String,long,
10979 long,long,long,long)): Likewise.
10980 * java/lang/management/MemoryNotificationInfo.java:
10981 Use composite type from MemoryMXBeanImpl.
10982 * javax/management/openmbean/CompositeData.java:
10983 Correct documentation.
10984 * javax/management/openmbean/CompositeDataSupport.java,
10985 * javax/management/openmbean/InvalidKeyException.java:
10988 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
10990 * gnu/java/security/util/IntegerUtil.java: New file.
10992 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
10995 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
10996 (KEY_SIZE): Likewise.
10997 (adjustParity(int,byte[],int): New method.
10998 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
10999 (isParityAdjusted(int,byte[],int)): New method.
11000 (isParityAdjusted): Call above method with 3 as 1st argument.
11001 (keySizes): Add 8 and 16 as other valid key sizes.
11002 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11004 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
11006 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11007 code for the pixel swap routine to be more efficient.
11009 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11011 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11012 (lastIndexOf(E, int)): Likewise.
11013 (add(E)): Increase the size of newData array by one.
11014 (add(int, E)): Likewise.
11016 2006-07-20 Lillian Angel <langel@redhat.com>
11018 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11019 Removed unused fields.
11020 (GtkMouseDragGestureRecognizer): Removed initializations.
11022 2006-07-20 Lillian Angel <langel@redhat.com>
11024 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11025 (GtkMouseDragGestureRecognizer): New constructor.
11026 (GtkMouseDragGestureRecognizer): New constructor.
11027 (GtkMouseDragGestureRecognizer): New constructor.
11028 (mouseClicked): Removed FIXME.
11029 (mousePressed): Implemented.
11030 (mouseReleased): Implemented.
11031 (mouseEntered): Implemented.
11032 (mouseDragged): Implemented to check mouse point and trigger origin.
11033 (mouseMoved): Removed FIXME.
11034 (getDropActionFromEvent): New helper function used to convert mouse event
11035 modifiers to a drop action.
11036 * java/awt/dnd/DragSource.java
11037 (getDragThreshold): Changed to return some arbitrary value for testing
11040 2006-07-20 Roman Kennke <kennke@aicas.com>
11042 * java/awt/LightweightDispatcher.java
11043 (findTarget): Also consider components that have their eventMask
11044 set, for compatibility with stonage AWT. Optimized check
11046 (handleMouseEvent): Likewise.
11048 2006-07-20 Roman Kennke <kennke@aicas.com>
11050 * javax/swing/JTable.java
11051 (tableChanged): Split out handling of the event into multiple
11053 (handleCompleteChange): New method. Clear the selection and
11054 check the lead/anchor indices.
11055 (handleInsert): New method. Check the lead/anchor indices.
11056 Optimized repainting.
11057 (handleDelete): New method. Check the lead/anchor indices.
11058 Optimized repainting.
11059 (handleUpdate): New method. Optimized repainting.
11060 (checkSelection): New helper method.
11061 (setSelectionModel): Update lead/anchor indices.
11063 2006-07-20 Lillian Angel <langel@redhat.com>
11066 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11067 (dispose): Reset all fields.
11069 2006-07-20 Roman Kennke <kennke@aicas.com>
11071 * gnu/java/awt/peer/x/XToolkit.java
11072 (createImage(InputStream)): Only copy image to Pixmap if
11073 it's actually opaque. Transparent images are left as
11074 BufferedImage and composited later onto the screen.
11075 * gnu/java/awt/peer/x/XGraphics.java
11076 (XGraphics): Fetch some parameters for image rendering.
11077 (drawImage): Added special handling of transparent images.
11078 (getRGB): New helper method.
11079 (setRGB): New helper method.
11081 2006-07-20 Roman Kennke <kennke@aicas.com>
11083 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11084 ImageInputStreams as normal InputStreams.
11085 * gnu/javax/imageio/gif/GIFStream.java:
11086 Moved to gnu/javax/imageio/IIOInputStream.java.
11087 * gnu/javax/imageio/gif/GIFImageReader.java
11088 (readImage): Use IIOInputStream.
11089 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11090 (canDecodeInput): Use IIOInputStream.
11091 * gnu/javax/imageio/png/PNGException.java: Make subclass
11093 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11094 Implements the ImageIO ImageReader for PNG.
11095 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11096 Implements the ImageIO ImageReaderSpi for PNG.
11097 * javax/imageio/spi/IIORegistry.java:
11098 (IIORegistry): Add PNGImageReaderSpi.
11100 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11102 * java/awt/image/ComponentSampleModel.java
11103 (getPixel): Added argument check,
11104 (getSample): Modified exception message.
11106 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11109 * java/awt/image/ConvolveOp.java
11110 (filter(Raster, WritableRaster)): Reimplemented,
11111 (fillEdge): New private method.
11113 2006-07-19 Keith Seitz <keiths@redhat.com>
11115 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11116 (JVMTI_VERSION): Define.
11118 2006-07-19 Roman Kennke <kennke@aicas.com>
11120 * resource/gnu/regexp/MessagesBundle.properties,
11121 * resource/gnu/regexp/MessagesBundle_fr.properties,
11122 * resource/gnu/regexp/MessagesBundle_it.properties:
11123 Moved to resource/gnu/java/util/regex.
11124 * resource/gnu/java/util/regex/MessagesBundle.properties,
11125 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11126 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11128 * gnu/java/util/regex/RE.java
11129 Use new resource bundle location.
11131 2006-07-19 Roman Kennke <kennke@aicas.com>
11133 * javax/swing/JComponent.java
11134 (paintChildren): Refactored. The paintChildrenOptimized method
11135 has been moved back in here. Added locking of the tree and
11136 only check for completely obscured child components
11137 when not optimized drawing enabled. Use Graphics.create() to
11138 protect from irreversible changes.
11139 (isCompletelyObscured): New helper method.
11140 (paintComponent): Also use Graphics.create() for Graphics2D,
11141 to protect from irreverible changes.
11142 (clipAndTranslateGraphics): Refactored to use more efficient
11143 iterative (vs recursive) approach.
11144 * javax/swing/RepaintManager.java
11145 (getOffscreenBuffer): Create image from root component.
11147 2006-07-19 Roman Kennke <kennke@aicas.com>
11149 * gnu/java/awt/peer/x/XGraphics.java
11150 (translate): Don't set the clip on the X server.
11151 (clipRect): Use setXClip() to set the clip on the X server.
11152 (hitClip): More efficient and correct implementation.
11153 (setClip): Use setXClip() to set the clip on the X server.
11154 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11155 (copyArea): Translate and clip the source rectangle correctly.
11156 (dispose): Only flush when object is not yet disposed.
11157 (clone): Use setXClip() to set the clip on the X server.
11159 2006-07-19 Sven de Marothy <sven@physto.se>
11161 * gnu/javax/imageio/png/PNGChunk.java,
11162 * gnu/javax/imageio/png/PNGData.java,
11163 * gnu/javax/imageio/png/PNGDecoder.java,
11164 * gnu/javax/imageio/png/PNGEncoder.java,
11165 * gnu/javax/imageio/png/PNGException.java,
11166 * gnu/javax/imageio/png/PNGFile.java,
11167 * gnu/javax/imageio/png/PNGFilter.java,
11168 * gnu/javax/imageio/png/PNGGamma.java,
11169 * gnu/javax/imageio/png/PNGHeader.java,
11170 * gnu/javax/imageio/png/PNGICCProfile.java,
11171 * gnu/javax/imageio/png/PNGPalette.java,
11172 * gnu/javax/imageio/png/PNGPhys.java,
11173 * gnu/javax/imageio/png/PNGTime.java:
11176 2006-07-19 Sven de Marothy <sven@physto.se>
11178 * java/net/Inet6Address.java:
11179 (getScopedId, getScopedInterface): New methods.
11181 2006-07-19 Lillian Angel <langel@redhat.com>
11183 * examples/gnu/classpath/examples/awt/Demo.java
11184 (DragDropWindow): Fixed typo in Label text.
11185 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11186 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11187 (startDrag): Initialized context field.
11188 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11190 (dragEnter): New function.
11191 (dragExit): Likewise.
11192 (dragDropEnd): Likewise.
11193 (dragMouseMoved): Likewise.
11194 (dragOver): Likewise.
11195 (dragActionChanged): Likewise.
11197 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11200 * resource/java/security/classpath.security: Updated copyright year.
11201 (auth.login.defaultCallbackHandler): New property; set to our default
11202 callback handler. This is needed by the LoginContext when no callback
11203 handler was specified.
11204 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11205 (LoginContext(4)): Assign passed parameters to local fields before invoking
11208 2006-07-19 Roman Kennke <kennke@aicas.com>
11210 * gnu/java/awt/peer/x/XGraphics.java
11211 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11212 Fixed ordering of parameters.
11214 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11216 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11217 (MemoryMXBeanImpl()): Implemented.
11218 (ListenerData): New private class.
11219 (addNotificationListener(NotificationListener,
11220 NotificationFilter, Object)): Implemented.
11221 (getNotificationInfo()): Likewise.
11222 (removeNotificationListener(NotificationListener)):
11224 (removeNotificationListener(NotificationListener,
11225 NotificationFilter, Object)): Likewise.
11227 2006-07-18 Roman Kennke <kennke@aicas.com>
11229 * gnu/java/awt/peer/x/XFontPeer.java
11230 (encodeFont): Be more flexible with font sizes.
11231 (validSize): New helper method.
11232 * gnu/java/awt/peer/x/XGraphics.java
11233 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11235 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11237 * gnu/java/awt/peer/x/XImage.java
11238 (properties): New field.
11239 (getProperty): Implemented.
11240 * resource/gnu/java/awt/peer/x/fonts.properties:
11241 Added copyright header. Fixed font size field.
11243 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11245 * java/awt/image/BandedSampleModel.java
11246 (createDataBuffer): New method override,
11247 * java/awt/image/ByteLookupTable.java
11248 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11249 (ByteLookuptable(int, byte[])): Check for null array,
11250 * java/awt/image/ComponentSampleModel.java
11251 (createDataBuffer): Removed unnecessary braces,
11252 (getSample): Check (x, y) is within bounds,
11253 * java/awt/image/ShortLookupTable.java
11254 (ShortLookupTable(int, short[][])): Create new array to hold references,
11255 (ShortLookupTable(int, short[])): Check for null array,
11256 (getTable): Added API docs,
11257 (lookupPixel): Source reformatting.
11259 2006-07-18 Tania Bento <tbento@redhat.com>
11261 * java/awt/GridLayout.java
11262 (setHgap): Illegal Argument Exception should not be thrown if
11264 (setVgap): Illegal Argument Exception should not be thrown if
11266 (toString): Opening square braket ([) should appear before hgap
11267 value, not the name of the class.
11269 2006-07-18 Roman Kennke <kennke@aicas.com>
11271 * lib/copy-vmresources.sh.in: Reverted.
11272 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11273 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11275 2006-07-18 Roman Kennke <kennke@aicas.com>
11277 * lib/copy-vmresources.sh.in: Include properties from X peers.
11279 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11282 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11283 certificate validity.
11284 (getIssuerName): New method.
11285 (getSubjectName): Likewise.
11286 (getNotAfterDate): Likewise.
11287 (getNotBeforeDate): Likewise.
11288 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11289 messages for newly added messages in SFHelper.
11291 2006-07-18 Roman Kennke <kennke@aicas.com>
11293 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11294 * gnu/java/awt/peer/x/XEventPump.java
11295 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11296 * gnu/java/awt/peer/x/XFramePeer.java
11297 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11298 * gnu/java/awt/peer/x/XGraphics.java
11299 Made subclass of Graphics rather than Graphics2D. Removed
11300 all Graphics2D specific method stubs.
11301 (setColor): Map colors using the X color map that is
11302 stored in XToolkit.
11303 * gnu/java/awt/peer/x/XToolkit.java
11304 (colorMap): New field.
11305 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11307 (createDialog): Implemented.
11308 (createImage(ImageProducer)): Implemented.
11309 (createImage(InputStream)): Use createImage(ImageProducer)
11310 to convert the BufferedImage to an XImage.
11311 * gnu/java/awt/peer/x/XWindowPeer.java
11312 (XWindowPeer): Removed debug output.
11314 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11316 * java/awt/image/BufferedImageOp.java: API docs added,
11317 * java/awt/image/RasterOp.java: Likewise.
11319 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11321 * java/awt/Graphics2D.java: API docs updated.
11323 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11325 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11328 2006-07-18 Sven de Marothy <sven@physto.se>
11330 * java/net/Inet6Address.java:
11331 Add 1.5 serialized fields.
11332 (getByAddress): New methods.
11333 (readObject, writeObject): New methods.
11334 (equals): Reimplement.
11336 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11338 * java/awt/image/Raster.java: Added API docs and reformatted source
11341 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11343 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11345 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11346 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11347 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11348 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11349 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11350 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11351 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11352 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11353 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11354 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11355 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11356 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11357 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11358 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11359 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11360 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11361 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11362 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11363 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11364 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11365 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11367 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11369 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11370 to make it compile again under jikes. Note added.
11372 2006-07-17 Lillian Angel <langel@redhat.com>
11374 * examples/gnu/classpath/examples/awt/Demo.java
11375 (Demo): Added new window for DnD demo.
11376 (DragDropWindow): New class.
11377 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11378 Added new fields and declarations for native functions.
11379 (GtkDragSourceContextPeer): Implemented.
11380 (getComponentPeer): New function.
11381 (startDrag): Partially implemented.
11382 (getCursor): Implemented.
11383 (setCursor): Implemented.
11384 * include/GtkDragSourceContextPeer.h: New file.
11385 * include/Makefile.am: Added new header file.
11386 * java/awt/Component.java
11387 (addNotify): Added call to the dropTarget's addNotify.
11388 * java/awt/dnd/DragSource.java
11389 (startDrag): Fixed code to use shared instances of peer and
11391 (getDragThreshold): Added stub.
11392 * java/awt/dnd/DropTarget.java
11393 (DropTarget): Implemented fully.
11394 (addNotify): Added code to get the peer of the parent that is
11396 * java/awt/dnd/DropTargetDragEvent.java
11397 (getTransferable): Added stub.
11398 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11399 * native/jni/gtk-peer/Makefile.am: Added new c file.
11400 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11401 Changed to extend GtkGenericPeer.
11402 (GtkDropTargetContextPeer): New constructor.
11403 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11404 Changed to extend GtkGenericPeer.
11405 (GtkDropTargetContextPeer): New constructor.
11407 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11409 * java/awt/image/SinglePixelPackedSampleModel.java
11410 (createSubsetSampleModel): Added argument check and API docs.
11412 2006-07-17 Roman Kennke <kennke@aicas.com>
11414 * gnu/java/awt/peer/x/XGraphics.java
11415 (copyArea): Implemented.
11417 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11419 * java/awt/image/SinglePixelPackedSampleModel.java
11420 (getSampleSize): Return copy of array,
11421 (getOffset): Added API docs,
11422 (getScanlineStride): Likewise,
11423 (hashCode): Implemented.
11425 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11427 * java/awt/image/MultiPixelPackedSampleModel.java
11428 (getOffset): Updated API docs and source reformatting,
11429 (getBitOffset): Source reformatting only,
11430 (getDataElements): Likewise,
11431 (getPixel): Likewise,
11432 (getPixels): Removed method override,
11433 (setDataElements): Reimplemented.
11435 2006-07-17 Gary Benson <gbenson@redhat.com>
11437 * resource/META-INF/services/.cvsignore: New file.
11438 * lib/.cvsignore: Updated.
11440 2006-07-17 Roman Kennke <kennke@aicas.com>
11442 * javax/swing/plaf/basic/BasicButtonListener.java
11443 (propertyChange): Only do the text layout caching as long
11444 as the noGraphics2D property isn't set.
11445 * javax/swing/plaf/basic/BasicMenuItemUI.java
11446 (PropertyChangeHandler.propertyChange): Only do the text layout
11447 caching as long as the noGraphics2D property isn't set.
11449 2006-07-17 Roman Kennke <kennke@aicas.com>
11451 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11452 (XGraphicsEnvironment): Make constructor public so that it
11453 can be called via Class.forName().newInstance().
11454 * gnu/java/awt/peer/x/XImage.java
11455 (XImage): Fetch GraphicsEnvironment via
11456 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11457 than the XToolkit method, to avoid double instantiation
11458 of the XGraphicsEnvironment.
11459 * gnu/java/awt/peer/x/XToolkit.java
11460 (env): Removed field.
11461 (getLocalGraphicsEnvironment): Removed impl. This method
11462 should not be called since we set the graphicsenv property
11463 in the constructor.
11465 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11467 * java/util/UUID.java:
11468 (compareTo(Object)): Call compareTo(UUID).
11469 (compareTo(UUID)): Implemented.
11471 2006-07-16 Tom Tromey <tromey@redhat.com>
11473 * java/lang/StrictMath.java (cbrt): Added '@since'.
11475 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11477 * java/lang/StrictMath.java (cbrt): New method.
11478 (getLowDWord): New helper method.
11479 (getHighDWord): Likewise.
11480 (buildDouble): Likewise.
11481 (CBRT_B1): New field.
11482 (CBRT_B2): Likewise.
11483 (CBRT_C): Likewise.
11484 (CBRT_D): Likewise.
11485 (CBRT_E): Likewise.
11486 (CBRT_F): Likewise.
11487 (CBRT_G): Likewise.
11489 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11491 * javax/management/MBeanInfo.java:
11492 (getNotifications()): Implemented.
11493 * javax/management/NotificationBroadcaster.java:
11494 (removeNotificationListener(NotificationListener)):
11495 Renamed from removeListener.
11496 * javax/management/NotificationEmitter.java:
11497 (removeNotificationListener(NotificationListener,
11498 NotificationFilter, Object)): Likewise.
11499 * javax/management/NotificationFilter.java:
11500 Implement Serializable.
11501 * javax/management/NotificationListener.java:
11502 Implement java.util.EventListener.
11503 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11504 Implement Serializable.
11506 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11508 * java/lang/management/MemoryNotificationInfo.java:
11511 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11514 * gnu/javax/swing/text/html/parser/htmlValidator.java
11515 (tagIsValidForContext): If it is not possible to insert any tag, but
11516 is possible to insert a P, insert a P.
11517 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11518 (newInstance): Removed print statement. (getBodyElements):
11519 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11520 valid body level tags (will be enclosed into P's).
11522 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11524 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11525 Condition the creation of .keystore (a default keystore) based on the
11526 createIfNotFound argument as well.
11528 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11531 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11532 Removed heading p tag from the parsing example.
11533 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11534 (createHtmlContentModel): Explained.
11535 (defineElements): Call getBodyElements to get the body
11536 elements. (getBodyElements): New method. (model):
11537 Made protected from private.
11538 * gnu/javax/swing/text/html/parser/htmlValidator.java
11539 (openTag): Mind that current content model may be null.
11540 (tagIsValidForContext): If the tag is PCDATA, and it is not
11541 valid for context, but the paragraph (P) is valid for context,
11542 suggest to insert the P tag here.
11543 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11544 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11545 implied P tags here.
11546 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11547 Get the custom parser, using HTML_401Swing.java DTD.
11548 * javax/swing/text/html/parser/ParserDelegator.java:
11549 Removed the obsolete note that HTMLEditorKit does not exist.
11550 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11551 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11553 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11555 * javax/management/ListenerNotFoundException.java:
11557 * javax/management/MBeanFeatureInfo.java:
11558 (hashCode()): Use summation instead of multiplication
11559 for consistency with other classes.
11560 * javax/management/MBeanNotificationInfo.java,
11561 * javax/management/Notification.java,
11562 * javax/management/NotificationBroadcaster.java,
11563 * javax/management/NotificationEmitter.java,
11564 * javax/management/NotificationFilter.java,
11565 * javax/management/NotificationListener.java:
11567 * javax/management/OperationsException.java:
11568 (serialVersionUID): Added.
11570 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11571 Mark Wielaard <mark@klomp.org>
11573 * java/io/PrintStream.java: Added four constructors, for File and
11574 String describing a filename with or without explicit encoding.
11576 2006-07-16 Sven de Marothy <sven@physto.se>
11578 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11579 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11582 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11585 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11587 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11588 (setProviderClassNameParam): Made private.
11589 (setKeystoreTypeParam): Likewise.
11590 (setKeyPasswordParam): Likewise
11591 (setKeystorePasswordParam): Likewise.
11592 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11593 create or not the keystore if it's not there, and the second is the store's
11594 password to process before loading the keystore. Amended the code
11596 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11597 setKeyStoreParams(5) with true as its first argument.
11598 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11599 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11601 2006-07-16 Sven de Marothy <sven@physto.se>
11603 * java/util/UUID.java: New file.
11605 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11607 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11608 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11609 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11610 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11611 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11612 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11613 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11614 added Key Wrapping Algorithm SPIs.
11616 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11618 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11619 wrapping/unwrapping to invoke their engineGetOutputSize.
11621 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11623 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11624 (engineInit): If a SecureRandom was specified then use it.
11625 (nextRandomBytes): New method.
11626 (engineWrap): Use above method.
11627 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11628 (getDefaultPRNG): New method.
11629 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11630 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11633 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11635 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11636 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11638 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11640 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11641 offset into consideration.
11643 2006-07-16 Mario Torre <neugens@limasoftware.net>
11645 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11646 Fixed comment. This functions now requires to be called
11647 with gdk lock held, the comment states that.
11648 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11649 Introduces gdk locks around critical regions of code.
11650 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11652 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11654 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11656 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11658 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11660 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11662 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11664 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11666 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11668 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11669 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11671 2006-07-15 Sven de Marothy <sven@physto.se>
11673 * javax/swing/JFileChooser.java
11674 Change default selection mode to FILES_ONLY.
11675 * javax/swing/plaf/basic/BasicDirectoryModel.java
11676 Document, fix selection mode filtering.
11677 (renameFile): Implement
11678 * javax/swing/plaf/basic/BasicFileChooserUI.java
11679 (selectedDir): New field to handle selected directories,
11680 disallow selecting of directories in FILES_ONLY mode.
11681 * javax/swing/plaf/metal/MetalFileChooserUI.java:
11682 (EditingActionListener.actionPerformed):
11683 Stop editing on all actions (e.g. return-key press)
11685 2006-07-15 Mark Wielaard <mark@klomp.org>
11687 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11689 (JNI Implementation): Mark JVMTI Implementation as next.
11690 (JVMTI Implementation): Mark JNI Implementation as prev.
11692 2006-07-15 Mark Wielaard <mark@klomp.org>
11694 * include/Makefile.am: Remove
11695 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11696 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11697 * native/jni/gtk-peer/Makefile.am: Remove
11698 gnu_java_awt_peer_gtk_GdkTextLayout.c
11699 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11702 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11704 2006-07-15 Mark Wielaard <mark@klomp.org>
11706 * autogen.sh: Recognize autoconf 2.60.
11708 2006-07-15 Keith Seitz <keiths@redhat.com>
11710 * NEWS: Update for JVMTI and jvmti.h.
11711 * doc/vmintegration.texinfo: Likewise.
11712 * include/jvmti.h: New file.
11714 2006-07-15 Mark Wielaard <mark@klomp.org>
11716 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11717 Removed C++ style comment.
11719 2006-07-15 Sven de Marothy <sven@physto.se>
11721 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11722 * java/awt/MouseInfo.java,
11723 * java/awt/PointerInfo.java,
11724 * java/awt/peer/MouseInfoPeer.java:
11727 * java/awt/Image.java
11728 (accelerationPriority): New field.
11729 (setAccelerationPriority, getAccelerationPriority): New methods..
11731 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11733 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11734 (getMouseCoordinates): New method.
11736 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11737 (updateAlwaysOnTop): Remove stub overload.
11739 * gnu/java/awt/ClasspathToolkit.java,
11740 * gnu/java/awt/peer/gtk/GtkToolkit.java,
11741 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11742 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11743 (getMouseInfoPeer): New method.
11744 (getMouseNumberOfButtons): New method.
11746 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11747 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11748 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11749 (gtkWindowSetAlwaysOnTop): New method.
11750 (updateAlwaysOnTop): Implement.
11752 * java/awt/Toolkit.java,
11753 (getMouseInfoPeer): New method.
11755 * java/awt/Window.java
11756 (alwaysOnTop): New field.
11757 (isAlwaysOnTop, setAlwaysOnTop): New methods.
11759 * java/awt/peer/WindowPeer.java: Doc fix.
11761 2006-07-14 Sven de Marothy <sven@physto.se>
11763 * java/awt/font/TextLayout.java:
11764 (hitTestChar): Stub method.
11765 * java/awt/font/TextMeasurer.java:
11766 (getLayout): Throw exception on invalid argument.
11768 2006-07-14 Sven de Marothy <sven@physto.se>
11770 * java/awt/image/DataBuffer.java
11771 (DataBuffer): Call constructors in the correct order,
11773 2006-07-14 Mark Wielaard <mark@klomp.org>
11775 Revert to previous implementation.
11776 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11777 constraints insets.
11779 2006-07-14 Roman Kennke <kennke@aicas.com>
11781 * gnu/java/awt/peer/x/XToolkit.java
11782 (XToolkit): Install properties to SystemProperties
11783 rather than System, to avoid SecurityManager.
11784 (getImage(String)): Return error image when string is invalid.
11785 (createImage(URL)): Moved image loading to helper method.
11786 (createImage(ImageProducer)): Implemented.
11787 (createImage(byte[],int,int)): Implemented.
11788 (createImage(InputStream)): New helper method.
11790 2006-07-14 Tania Bento <tbento@redhat.com>
11792 * java/awt/FlowLayout.java
11793 (setHgap): No Excpetion should be thrown if hgap has
11795 (setVgap): No Exception should be thrown if vgap has
11798 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11800 * java/awt/image/MultiPixelPackedSampleModel.java:
11801 Added API docs all over.
11803 2006-07-14 Matt Wringe <mwringe@redhat.com>
11805 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
11806 (engineInit): Throw InvalidAlgorithmParameterException
11807 for invalid IVParameterSpec IV length.
11809 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11811 * java/awt/image/MultiPixelPackedSampleModel.java
11812 (createDataBuffer): Include dataBitOffset in calculating the size for
11815 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11817 * java/awt/image/MultiPixelPackedSampleModel.java
11818 (getSampleSize()): Return a copy of the array,
11819 (getTransferType()): New method override.
11821 2006-07-14 Roman Kennke <kennke@aicas.com>
11823 * java/awt/CardLayout.java
11824 (show): Validate parent to make sure that the layout is
11827 2006-07-14 Roman Kennke <kennke@aicas.com>
11829 * java/awt/Component.java
11830 (enable): Added tree locking.
11831 (disable): Added tree locking.
11832 (show): Added tree locking.
11833 (hide): Added tree locking.
11834 (getLocationOnScreen): Added tree locking.
11835 (reshape): Added tree locking.
11836 (addHierarchyListener): Added tree locking.
11837 (removeHierarchyListener): Added tree locking.
11838 (addHierarchyBoundsListener): Added tree locking.
11839 (removeHierarchyBoundsListener): Added tree locking.
11840 (addNotify): Added tree locking.
11841 (removeNotify): Added tree locking.
11842 * java/awt/Container.java
11843 (invalidateTree): Added tree locking.
11844 (getAlignmentX): Added tree locking.
11845 (getAlignmentY): Added tree locking.
11846 (addNotify): Added tree locking.
11847 (setComponentZOrder): Added tree locking.
11848 (getComponentZOrder): Added tree locking.
11850 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11852 * java/awt/image/MultiPixelPackedSampleModel.java
11853 (createSubsetSampleModel): Restored argument check, but let null
11856 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11858 * java/awt/image/MultiPixelPackedSampleModel.java
11859 (createSubsetSampleModel): Removed argument check.
11861 2006-07-14 Roman Kennke <kennke@aicas.com>
11863 * java/awt/Component.java
11864 (numHierarchyListeners): New field.
11865 (numHierarchyBoundsListeners): New field.
11866 (show): Fire hierarchy events here. Only fire component event
11867 if there is actually a listener for it.
11868 (hide): Fire hierarchy events here. Only fire component event
11869 if there is actually a listener for it.
11870 (reshape): Fire hierarchy events here. Only fire component event
11871 if there is actually a listener for it.
11872 (addHierarchyListeners): Update listener counters.
11873 (removeHierarchyListeners): Update listener counters.
11874 (addHierarchyBoundsListeners): Update listener counters.
11875 (removeHierarchyBoundsListeners): Update listener counters.
11876 (fireHierarchyEvent): New helper method for firing hierarchy
11878 * java/awt/Container.java
11879 (addImpl): Update listener counters. Fire hierarchy event.
11880 (remove): Update listener counters. Fire hierarchy event.
11881 (fireHierarchyEvent): New helper method for firing hierarchy
11883 (updateHierarchyListenerCount): New helper method for
11884 updating the listener counters.
11886 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11888 * java/awt/image/MultiPixelPackedSampleModel.java
11889 (equals): New method override,
11890 (hashCode): Likewise.
11892 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11894 * java/awt/image/MultiPixelPackedSampleModel.java
11895 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
11896 Corrected scanlineStride calculation.
11898 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11900 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11901 (AES_KWA): Likewise.
11902 (AES128_KWA): Likewise.
11903 (AES192_KWA): Likewise.
11904 (AES256_KWA): Likewise.
11905 (RIJNDAEL_KWA): Likewise.
11906 (TRIPLEDES_KWA): Likewise.
11907 (DESEDE_KWA): Likewise.
11908 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11909 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11910 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11911 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11912 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11913 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11915 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11917 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11918 (PADDING_BLOCK_SIZE): New constant.
11919 (init(Map attributes)): New method.
11920 * gnu/javax/crypto/pad/BasePad.java (init): New method.
11922 2006-07-14 Mario Torre <neugens@limasoftware.net>
11924 * gnu/java/security/OID.java (OID): Private Constructor removed as
11925 it is not needed anymore.
11926 (clone): Fixed. Now uses super.clone instead of the private
11927 constructor as per specification of clone method.
11928 (serialVersionUID): added new field to allow serialization.
11930 2006-07-13 Sven de Marothy <sven@physto.se>
11932 * gnu/javax/imageio/gif/GIFImageReader.java
11933 (read): Remove old debugging trace.
11935 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
11938 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
11941 2006-07-13 Roman Kennke <kennke@aicas.com>
11943 * java/awt/Component.java
11944 (DEFAULT_MAX_SIZE): New static constant.
11945 (preferredSize): Return copy of the actual value computed
11946 by new helper method.
11947 (preferredSizeImpl): New helper method. Adds locking and
11948 correct handling of cached value.
11949 (minimumSize): Return copy of the actual value computed
11950 by new helper method.
11951 (minimumSizeImpl): New helper method. Adds locking and
11952 correct handling of cached value.
11953 (getMaximumSize): Return copy of the actual value computed
11954 by new helper method.
11955 (maximumSizeImpl): New helper method. Adds locking and
11956 correct handling of cached value.
11957 (invalidate): Correct handling of cached layout information.
11959 * java/awt/Container.java
11960 (preferredSize): Minimized locking. Corrected handling of cached
11961 values. Return copy of real value.
11962 (minimumSize): Minimized locking. Corrected handling of cached
11963 values. Return copy of real value.
11964 (getMaximumSize): Minimized locking. Corrected handling of cached
11965 values. Return copy of real value.
11967 2006-07-13 Tania Bento <tbento@redhat.com>
11969 * gnu/java/awt/peer/ClasspathFontPeer.java
11970 (isLogicalFontName): Return true if name == default.
11971 (logicalFontNameToFaceName): Check if name == default,
11972 and if so, return "Dialog.plain".
11973 (setStandardAttributes(String, Map)): If name == null,
11974 it should be set to "Default", not "SansSerif".
11975 * java/awt/Canvas.java
11976 (generateName): Fixed documentation.
11977 * java/awt/CheckboxMenuItem.java
11978 Added static variable "next_chkmenuitem_number".
11979 (generateName): Added and implemented method.
11980 (getUniqueLong): Likewise.
11981 * java/awt/Choice.java
11982 Added static variable "next_choice_number".
11983 (generateName): Added and implemented method.
11984 (getUniqueLong): Likewise.
11985 * java/awt/Cursor.java
11986 (Cursor(int)): Set name depending on the type passed.
11987 * java/awt/List.java
11988 Added static variable "next_list_number".
11989 (generateName): Added and implemented method.
11990 (getUniqueLong): Likewise.
11991 * java/awt/Menu.java
11992 Added static variable "next_menu_number".
11993 (generateName): Added and implemented method.
11994 (getUniqueLong): Likewise.
11995 * java/awt/MenuBar.java
11996 Added static variable "next_menubar_number".
11997 (generateName): Added and implemented method.
11998 (getUniqueLong): Likewise.
11999 * java/awt/MenuComponent.java
12000 (getName): Before returning name, check if name == null
12001 and name is not explicity set. If this is the case,
12002 name will be generated.
12003 (generateName): Added and implemented method.
12004 * java/awt/MenuItem.java
12005 Added static variable "next_menuitem_number".
12006 (generateName): Added and implemented method.
12007 (getUniqueLong): Likewise.
12008 * java/awt/PopupMenu.java
12009 Added static variable "next_popup_number".
12010 (generateName): Added and implemented method.
12011 (getUniqueLong): Likewise.
12012 * java/awt/ScrollPane.java
12013 Added static variable "next_scrollpane_number".
12014 (generateName): Added and implemented method.
12015 (getUniqueLong): Likewise.
12016 * java/awt/TextField.java
12017 Added static variable "next_textfield_number".
12018 (generateName): Added and implemented method.
12019 (getUniqueLong): Likewise.
12022 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12024 * java/awt/image/SinglePixelPackedSampleModel.java
12025 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12026 mask correctly as an unsigned integer,
12027 (equals): New method override.
12029 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12031 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12032 insertAfterStart, insertBeforeEnd): Removed stub markings.
12034 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12036 * java/awt/image/BandedSampleModel.java: API doc updates and source
12038 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12040 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12042 * java/awt/image/BandedSampleModel.java: API doc updates.
12044 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12046 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12047 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12048 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12049 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12050 (HRMLReader.blockClose): Mind that parser stack may be empty.
12051 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12052 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12053 (HTMLReader.shouldInsert): New method. (getElement(String)):
12054 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12055 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12056 Implemented. (getInsertingReader): New method.
12057 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12058 Added buttons to demonstrate the work of the insert actions.
12060 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12062 * java/awt/image/SampleModel.java: API doc updates and additions,
12063 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12065 2006-07-12 Sven de Marothy <sven@physto.se>
12067 * javax/swing/JFileChooser.java:
12068 (createDialog): Close operation should cause a cancel.
12070 2006-07-12 Francis Kung <fkung@redhat.com>
12072 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12073 (cairoArc): New native method.
12074 (cairoRestore): New native method.
12075 (cairoSave): New native method.
12076 (cairoScale): New native method.
12077 (createPath): New method to centralize code from draw and fill.
12078 (draw): Modified to use createPath method.
12079 (fill): Modified to use createPath method.
12080 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12081 function declarations.
12082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12083 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12085 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12087 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12090 2006-07-12 Tom Tromey <tromey@redhat.com>
12093 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12094 on PartialInputStream.
12095 (PartialInputStream.dummyByteCount): New field.
12096 (PartialInputStream.fillBuffer): Handle dummy byte.
12097 (PartialInputStream.read): Likewise.
12098 (PartialInputStream.addDummyByte): New method.
12100 2006-07-12 Mario Torre <neugens@limasoftware.net>
12102 * native/jni/gconf-peer/GConfNativePeer.c
12103 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12104 Fixed C++ style comment.
12106 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12108 * java/util/Arrays.java
12109 (asList): Updated API docs.
12111 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12114 * native/jni/gconf-peer/GConfNativePeer.c:
12115 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12116 Changed if-expression.
12117 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12118 Added check for _value not being NULL.
12120 2006-07-11 Roman Kennke <kennke@aicas.com>
12122 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12123 (read): Use fd when local sockets are disabled to make the
12127 2006-07-11 Roman Kennke <kennke@aicas.com>
12129 * java/awt/image/MultiPixelPackedSampleModel.java
12130 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12131 division gets rounded up.
12133 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12135 * java/lang/management/ManageFactory.java:
12136 (getMemoryManagerMXBeans()): Use addAll, not add.
12138 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12141 * gnu/classpath/ByteArray.java: Removed (moved).
12142 * gnu/java/security/util/ByteArray.java: New File.
12143 * gnu/javax/crypto/RSACipherImpl.java: Reference
12144 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12146 2006-07-11 Roman Kennke <kennke@aicas.com>
12148 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12149 (available): Pass fd as argument and avoid JNI class/field
12153 * include/gnu_java_net_local_LocalSocketImpl.h:
12155 * gnu/java/net/local/LocalSocketImpl.h
12156 (available): Pass fd as argument and avoid JNI class/field
12161 2006-07-11 Sven de Marothy <sven@physto.se>
12163 * gnu/javax/sound/sampled/AU/AUReader.java:
12164 Correct file extension from .as to .au.
12166 2006-07-11 Sven de Marothy <sven@physto.se>
12168 * gnu/javax/sound/sampled/AU/AUReader.java:
12170 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12171 Added new provider.
12173 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12175 * javax/swing/JTable.java
12176 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12177 (setColumnSelectionAllowed): Likewise.
12179 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12182 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12183 AccessController.doPrivileged instead of SystemProperties.getProperty.
12184 * gnu/classpath/debug/SystemLogger.java: Likewise.
12185 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12186 repeated getProperty calls for "file.seperator".
12187 (refresh): Since already in privileged block, call System.getProperty
12188 instead of SystemProperties.getProperty.
12189 * gnu/java/security/key/dss/DSSKey.java
12190 (toString): Use AccessController.doPrivileged instead of
12191 SystemProperties.getProperty.
12192 * gnu/java/security/key/dss/DSSPrivateKey.java
12193 (toString): Likewise.
12194 * gnu/java/security/key/dss/DSSPublicKey.java
12195 (toString): Likewise.
12196 * gnu/java/security/key/rsa/GnuRSAKey.java
12197 (toString): Likewise.
12198 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12199 (toString): Likewise.
12200 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12201 (toString): Likewise.
12202 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12203 * gnu/javax/crypto/key/dh/GnuDHKey.java
12204 (toString): Likewise.
12205 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12206 (toString): Likewise.
12207 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12208 (toString): Likewise.
12210 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12212 * javax/swing/AbstractButton.java
12213 (disabledIcon): Fixed name (was 'disabeldIcon'),
12214 (getDisabledIcon): Updated for corrected field name,
12215 (setDisabledIcon): Fire a PropertyChangeEvent.
12217 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12219 * javax/swing/DefaultBoundedRangeModel.java
12220 (readObject): New private method,
12221 (writeObject): Likewise.
12223 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12225 * javax/swing/ButtonGroup.java
12226 (add): Ignore null argument,
12227 (remove): Ignore null argument. If removing selected button, clear the
12229 (findButton): Changed case for method name, and documented,
12230 (setSelected): Updated for modification to findButton() method name,
12231 (isSelected): Updated API docs.
12233 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12235 * java/awt/image/BufferedImage.java
12236 (BufferedImage(int, int, int)): Use correct color space for
12237 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12238 IllegalArgumentException for an unrecognised type.
12240 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12242 * java/lang/management/ManagementFactory.java:
12243 (getMemoryPoolMXBeans): Genericized fully.
12244 (getMemoryManagerMXBeans): Likewise.
12245 (getGarbageCollectorMXBeans): Likewise.
12247 2006-07-10 Tom Tromey <tromey@redhat.com>
12249 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12251 (getMemoryManagerMXBeans): Likewise.
12252 (getGarbageCollectorMXBeans): Likewise.
12254 2006-07-10 Mario Torre <neugens@limasoftware.net>
12256 * java/awt/BasicStroke.java: Removed unused import.
12257 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12258 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12259 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12261 2006-07-10 Matt Wringe <mwringe@redhat.com>
12263 PR classpath/28212:
12264 * javax/crypto/spec/SecretKeySpec.java
12265 (equals): Check object type.
12267 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12269 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12270 communication/StructureToPassHelper.java,
12271 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12272 communication/StructureToReturnHelper.java,
12273 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12274 communication/TreeNodeHelper.java,
12275 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12276 communication/WeThrowThisExceptionHelper.java,
12277 gnu/CORBA/ForwardRequestHelper.java,
12278 org/omg/CORBA/CompletionStatusHelper.java,
12279 org/omg/CORBA/CurrentHelper.java,
12280 org/omg/CORBA/DefinitionKindHelper.java,
12281 org/omg/CORBA/IDLTypeHelper.java,
12282 org/omg/CORBA/NameValuePairHelper.java,
12283 org/omg/CORBA/ObjectHelper.java,
12284 org/omg/CORBA/ParameterModeHelper.java,
12285 org/omg/CORBA/PolicyErrorCodeHelper.java,
12286 org/omg/CORBA/PolicyErrorHelper.java,
12287 org/omg/CORBA/PolicyHelper.java,
12288 org/omg/CORBA/PolicyListHelper.java,
12289 org/omg/CORBA/PolicyTypeHelper.java,
12290 org/omg/CORBA/ServiceDetailHelper.java,
12291 org/omg/CORBA/ServiceInformationHelper.java,
12292 org/omg/CORBA/SetOverrideTypeHelper.java,
12293 org/omg/CORBA/StringValueHelper.java,
12294 org/omg/CORBA/UnionMemberHelper.java,
12295 org/omg/CORBA/UnknownUserExceptionHelper.java,
12296 org/omg/CORBA/VisibilityHelper.java,
12297 org/omg/CORBA/WStringValueHelper.java,
12298 org/omg/CORBA/WrongTransactionHelper.java,
12299 org/omg/CosNaming/BindingHelper.java,
12300 org/omg/CosNaming/BindingIteratorHelper.java,
12301 org/omg/CosNaming/BindingListHelper.java,
12302 org/omg/CosNaming/BindingTypeHelper.java,
12303 org/omg/CosNaming/NameComponentHelper.java,
12304 org/omg/CosNaming/NameHelper.java,
12305 org/omg/CosNaming/NamingContextExtHelper.java,
12306 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12307 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12308 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12309 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12310 org/omg/CosNaming/NamingContextHelper.java,
12311 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12312 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12313 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12314 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12315 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12316 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12317 org/omg/DynamicAny/AnySeqHelper.java,
12318 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12319 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12320 org/omg/DynamicAny/DynAnyHelper.java,
12321 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12322 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12323 org/omg/DynamicAny/DynAnySeqHelper.java,
12324 org/omg/DynamicAny/DynArrayHelper.java,
12325 org/omg/DynamicAny/DynEnumHelper.java,
12326 org/omg/DynamicAny/DynFixedHelper.java,
12327 org/omg/DynamicAny/DynSequenceHelper.java,
12328 org/omg/DynamicAny/DynStructHelper.java,
12329 org/omg/DynamicAny/DynUnionHelper.java,
12330 org/omg/DynamicAny/DynValueHelper.java,
12331 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12332 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12333 org/omg/DynamicAny/NameValuePairHelper.java,
12334 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12335 org/omg/IOP/CodecFactoryHelper.java,
12336 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12337 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12338 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12339 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12340 org/omg/IOP/ComponentIdHelper.java,
12341 org/omg/IOP/IORHelper.java,
12342 org/omg/IOP/MultipleComponentProfileHelper.java,
12343 org/omg/IOP/ProfileIdHelper.java,
12344 org/omg/IOP/ServiceContextHelper.java,
12345 org/omg/IOP/ServiceContextListHelper.java,
12346 org/omg/IOP/ServiceIdHelper.java,
12347 org/omg/IOP/TaggedComponentHelper.java,
12348 org/omg/IOP/TaggedProfileHelper.java,
12349 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12350 org/omg/PortableInterceptor/AdapterNameHelper.java,
12351 org/omg/PortableInterceptor/AdapterStateHelper.java,
12352 org/omg/PortableInterceptor/CurrentHelper.java,
12353 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12354 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12355 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12356 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12357 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12358 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12359 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12360 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12361 org/omg/PortableServer/CurrentHelper.java,
12362 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12363 org/omg/PortableServer/ForwardRequestHelper.java,
12364 org/omg/PortableServer/POAHelper.java,
12365 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12366 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12367 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12368 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12369 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12370 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12371 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12372 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12373 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12374 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12375 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12376 org/omg/PortableServer/ServantActivatorHelper.java,
12377 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12378 typecode caching and always use OrbRestricted.Singleton.
12380 2006-07-09 Tom Tromey <tromey@redhat.com>
12382 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12384 2006-07-09 Mark Wielaard <mark@klomp.org>
12386 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12387 New static final boolean field.
12388 (getComponentGraphics): Use hasXRenderExtension.
12389 (setClip): Override method for locking.
12391 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12393 * javax/swing/AbstractButton.java
12394 (setHorizontalTextPosition): Added check for illegal argument,
12395 (setVerticalTextPosition): Likewise.
12397 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12399 * javax/swing/Timer.java
12400 (setDelay): Throw IllegalArgumentException for negative delay,
12401 (setInitialDelay): Likewise,
12402 * javax/swing/ToolTipManager.java
12403 (setInitialDelay): Document IllegalArgumentException,
12404 (setDismissDelay): Likewise,
12405 (setReshowDelay): Likewise.
12407 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12409 * java/lang/management/MemoryUsage.java:
12410 (from(javax.management.openmbean.CompositeData)):
12412 * java/lang/management/ThreadInfo.java:
12413 Changed to use open types throughout for the state.
12414 (ThreadInfo(long,String,String,long,long,String,
12415 long,String,long,long,boolean,StackTraceElement[])):
12417 (checkAttribute(javax.management.openmbean.CompositeType,
12418 String, javax.management.openmbean.OpenType)): New method.
12419 (from(javax.management.openmbean.CompositeData)):
12421 (getLockName()): Fixed to use new variable.
12422 (getLockOwnerId()): Likewise.
12423 (getLockOwnerName()): Likewise.
12424 (getThreadId()): Likewise.
12425 (getThreadName()): Likewise.
12426 (getThreadState()): Likewise.
12427 (toString()): Refactored to use new variables.
12428 * javax/management/openmbean/ArrayType.java:
12430 * javax/management/openmbean/CompositeType.java:
12431 Variables should be transient, not volatile.
12432 * javax/management/openmbean/OpenDataException.java:
12433 (serialVersionUID): Added.
12434 * javax/management/openmbean/SimpleType.java:
12436 * javax/management/openmbean/TabularType.java
12437 Variables should be transient, not volatile.
12439 2006-07-09 Tom Tromey <tromey@redhat.com>
12441 * tools/.cvsignore: Updated for new tools.
12443 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12445 * javax/management/openmbean/CompositeData.java,
12446 * javax/management/openmbean/CompositeType.java,
12447 * javax/management/openmbean/OpenDataException.java,
12448 * javax/management/openmbean/OpenType.java,
12449 * javax/management/openmbean/TabularData.java,
12450 * javax/management/openmbean/TabularType.java,
12451 * javax/management/openmbean/package.html:
12454 2006-07-09 Mark Wielaard <mark@klomp.org>
12456 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12457 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12458 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12460 2006-07-08 Anthony Green <green@redhat.com>
12462 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12463 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12466 2006-07-09 Mario Torre <neugens@limasoftware.net>
12468 * native/jni/gconf-peer/GConfNativePeer.c:
12469 Fixed indentation to be more compliant to the GNU coding
12471 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12472 Added explicit test for errors in the GConf backend.
12473 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12474 Added explicit test for errors in the GConf backend.
12475 Fixed Segmentation Fault when non valid key names are given as input.
12476 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12478 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12479 Added explicit test for errors in the GConf backend.
12480 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12481 Added javadoc comments for all native methods.
12482 (nodeExist): removed test to check for valid absolute path name
12484 (startWatchingNode): likewise.
12485 (stopWatchingNode): likewise.
12486 (setString): likewise, plus fixed javadoc comments.
12487 (unset): likekwise.
12488 (getKey): likewise.
12489 (getKeys): likewise, also fixed javadoc comments.
12490 (getChildrenNodes): likewise.
12491 * gnu/java/util/prefs/GConfBasedPreferences.java:
12492 changed DEFAULT_USER_ROOT to /apps/classpath.
12493 (constructor): Test to check for a valid absolute path for nodes
12494 is now in the contructor for that node, instead of being on
12495 each method of the backend.
12496 (getGConfKey): removed empty new line.
12498 2006-07-08 Mark Wielaard <mark@klomp.org>
12500 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12502 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12504 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12505 Handle the forced break in the same way as exceeding the
12506 available row space.
12507 * javax/swing/text/html/HRuleView.java: Rewritten.
12508 * javax/swing/text/html/HTMLDocument.java
12509 (HTMLReader.addSpecialElement):Reserve two characters for
12510 the special elements.
12511 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12512 (text): Extended the HTML example to parse.
12514 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12516 * javax/swing/AbstractButton.java
12517 (setHorizontalAlignment): Check for illegal argument,
12518 (setVerticalAlignment): Likewise.
12520 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12522 * javax/swing/text/html/TableView.java
12523 (getStyleSheet): New method. (RowView.getStyleSheet):
12526 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12528 * javax/swing/AbstractButton.java
12529 (setRolloverIcon): Call setRolloverEnabled(true),
12530 (setRolloverSelectedIcon): Likewise.
12532 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12534 * javax/swing/border/TitledBorder.java
12535 (setTitlePosition): Added message to exception,
12536 (setTitleJustification): Likewise.
12538 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12540 * javax/swing/plaf/metal/MetalLookAndFeel.java
12541 (createDefaultTheme): Corrected API docs,
12542 (initComponentDefaults): Added entry for 'TitledBorder.border',
12543 (getCurrentTheme): Initialise theme if it is null.
12545 2006-07-07 Roman Kennke <kennke@aicas.com>
12547 * java/awt/Component.java
12548 (isValid): Return false when component has no peer,
12549 don't query the showing state.
12551 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12553 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12554 Advance the offset also in the case of the enforced break.
12556 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12558 * javax/swing/plaf/basic/BasicArrowButton.java
12559 (MAXIMUM_SIZE): Removed field,
12560 (MINIMUM_SIZE): Likewise,
12561 (PREFERRED_SIZE): Likewise,
12562 (getMaximumSize): Return new instance every time,
12563 (getMinimumSize): Likewise,
12564 (getPreferredSize): Likewise.
12566 2006-07-07 Roman Kennke <kennke@aicas.com>
12568 * java/awt/LightweightDispatcher.java
12569 (findTarget): Avoid array copying in
12570 Container.getComponents().
12572 2006-07-07 Roman Kennke <kennke@aicas.com>
12574 * javax/swing/JComponent.java
12575 (paintChildrenWithOverlap): Avoid array copying in
12576 Container.getComponents().
12577 (paintChildrenOptimized): Avoid array copying in
12578 Container.getComponents().
12579 (fireAncestorEvent): Avoid array copying in
12580 Container.getComponents().
12581 (findOverlapFreeParent): Avoid array copying in
12582 Container.getComponents().
12584 2006-07-07 Matt Wringe <mwringe@redhat.com>
12586 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12587 (passwordValid): New field.
12588 (setPassword): New method.
12589 (setSalt): Likewise.
12590 (setIterationCount): Likewise.
12591 (setKeyLength): Likewise.
12592 (PBEKeySpec(char[])): Use new setter methods.
12593 (PBEKeySpec(char[], byte[], int)): Likewise.
12594 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12595 (clearPassword): Set passwordValid to false.
12596 (getPassword): Check that clearPassword() was not called earlier.
12597 Return a clone of the password.
12598 (getSalt): Return a clone of the salt if it was not null.
12600 2006-07-07 Roman Kennke <kennke@aicas.com>
12602 * java/awt/Component.java
12603 (isValid): Always return false when component is
12605 (setFont): Always set font, even when setting
12606 the same or equal font again.
12608 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12610 * javax/swing/plaf/metal/MetalIconFactory.java
12611 (CheckBoxMenuItemIcon): Implement UIResource,
12612 (FileChooserDetailViewIcon): Likewise,
12613 (FileChooserHomeFolderIcon): Likewise,
12614 (FileChooserListViewIcon): Likewise,
12615 (FileChooserNewFolderIcon): Likewise,
12616 (FileChooserUpFolderIcon): Removed redundant 'implements',
12617 (RadioButtonMenuItemIcon): Implement UIResource,
12618 (HorizontalSliderThumbIcon): Likewise,
12619 (InternalFrameCloseIcon): Likewise,
12620 (InternalFrameDefaultMenuIcon): Likewise,
12621 (InternalFrameAltMaximizeIcon): Likewise,
12622 (InternalFrameMaximizeIcon): Likewise,
12623 (InternalFrameMinimizeIcon): Likewise,
12624 (VerticalSliderThumbIcon): Likewise,
12625 (TreeHardDriveIcon): Likewise,
12626 (TreeFloppyDriveIcon): Likewise,
12627 (TreeComputerIcon): Likewise,
12628 (horizontalSliderThumbIcon): New field,
12629 (verticalSliderThumbIcon): New field,
12630 (getHorizontalSliderThumbIcon): Cache icon,
12631 (getVerticalSliderThumbIcon): Likewise.
12633 2006-07-06 Mark Wielaard <mark@klomp.org>
12635 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12636 (DISTCLEANFILES): Add standard.omit.
12637 (clean-local): Remove Makefile.deps, only remove dirs.
12639 2006-07-06 Roman Kennke <kennke@aicas.com>
12641 * java/awt/Component.java
12642 (setFont): Only invalidate when component is valid.
12643 * java/awt/Container.java
12644 (setLayout): Only invalidate when component is valid.
12646 2006-07-06 Lillian Angel <langel@redhat.com>
12648 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12649 New class not fully implemented.
12650 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12651 New class not fully implemented.
12652 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12653 New class not fully implemented.
12654 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12655 New class not fully implemented.
12656 * nu/java/awt/peer/gtk/GtkToolkit.java:
12658 (createDragSourceContextPeer): Implemented.
12659 (createDragGestureRecognizer): New function to override
12660 java.awt.Toolkit.createDragGestureRecognizer.
12661 * java/awt/dnd/DragSource.java
12662 (NoDragGestureRecognizer): Removed inner class.
12663 (createDragGestureRecognizer): Re-Implemented to
12664 call Toolkit's createDragGestureRecognizer.
12665 (createDefaultDragGestureRecognizer): Re-Implemented to
12666 call Toolkit's createDragGestureRecognizer.
12667 * java/awt/dnd/DropTarget.java
12668 (addNotify): Added check to determine type of peer and call
12670 (removeNotify): Added call to removeDropTarget.
12672 2006-07-06 Tom Tromey <tromey@redhat.com>
12674 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12676 (run): Wait on queue, not 'this'.
12678 2006-07-06 Lillian Angel <langel@redhat.com>
12680 * java/awt/dnd/DragSource.java
12681 (startDrag): Implemented. Added comments describing
12682 what the function should do. Removed FIXME.
12684 2006-07-06 Tania Bento <tbento@redhat.com>
12686 * gnu/java/awt/Canvas.java
12687 Added new private variable 'next_canvas_number'.
12688 (generateName): Added.
12689 (getUniqueLong): Added.
12691 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12693 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12694 (getColor): Made public.
12695 * javax/swing/text/html/StyleSheet.java (stringToColor):
12696 Use CharacterAttributeTranslator.getColor(String)
12698 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12700 * javax/swing/text/html/HTMLEditorKit.java:
12701 (HTMLFactory.createElement): Update reference to the html table view.
12702 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12703 * javax/swing/text/html/TableView.java: New file.
12705 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12707 * javax/swing/text/html/HTMLEditorKit.java:
12708 (HTMLFactory.createElement): Uncomment
12709 code for BRView and HRuleView.
12710 * javax/swing/text/html/BRView.java,
12711 javax/swing/text/html/HRuleView.java: New files.
12713 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12715 * java/lang/Thread.java:
12716 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12717 Added generic type signature.
12719 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12722 * doc/vmintegration.texinfo: Likewise.
12723 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12724 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12725 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12726 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12727 * java/lang/management/GarbageCollectorMXBean.java:
12729 * java/lang/management/ManagementFactory.java:
12730 (getGarbageCollectorMXBeans()): Implemented.
12731 (getMemoryManagerMXBeans()): Likewise.
12732 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12733 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12735 * vm/reference/java/lang/management/VMManagementFactory.java:
12736 (getMemoryManagerNames()): Added.
12737 (getGarbageCollectorNames()): Added.
12739 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12741 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12742 from lib_LTLIBRARIES.
12743 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12745 2006-07-05 Lillian Angel <langel@redhat.com>
12747 * java/awt/dnd/DragGestureEvent.java:
12749 (DragGestureEvent): Initialized new fields, added to check and
12750 added documentation.
12751 (getSourceAsDragGestureRecognizer): Added documentation and
12752 changed to use getSource.
12753 (getComponent): Added documentation and fixed to return the proper
12755 (getDragSource): Likewise.
12756 (getDragOrigin): Added documentation.
12757 (iterator): Implemented and added documentation.
12758 (toArray): Likewise.
12759 (toArray): Likewise.
12760 (getDragAction): Likewise.
12761 (getTriggerEvent): Likewise.
12762 (startDrag): Likewise.
12763 * java/awt/dnd/DragGestureRecognizer.java
12764 (resetRecognizer): Added FIXME.
12765 * java/awt/dnd/DragSource.java:
12767 (DragSource): Set ds to be null if headless.
12768 (getDefaultDragSource): Added documentation and implemented.
12769 (isDragImageSupported): Marked as unimplemented.
12770 (startDrag): Likewise.
12771 (createDragSourceContext): Implemented.
12772 (NoDragGestureRecognizer): Formatted inner class.
12773 * java/awt/dnd/DropTarget.java
12774 (stop): Marked as unimplemented.
12775 (actionPerformed): Likewise.
12776 (addDropTargetListener): Added code to throw exception.
12777 (removeDropTargetListener): Added check, removed FIXME.
12778 (dragEnter): Implemented.
12779 (dragOver): Implemented.
12780 (dropActionChanged): Implemented.
12781 (dragExit): Implemented.
12782 (drop): Implemented.
12783 (addNotify): Implemented.
12784 (removeNotify): Implemented.
12785 (createDropTargetContext): Implemented.
12786 (createDropTargetAutoScroller): Implemented.
12787 (initializeAutoscrolling): Implemented.
12788 (updateAutoscroll): Implemented.
12789 (clearAutoscroll): Implemented.
12790 * java/awt/dnd/DropTargetContext.java
12791 (dropComplete): Implemented.
12792 (acceptDrag): Implemented.
12793 (rejectDrag): Implemented.
12794 (acceptDrop): Implemented.
12795 (rejectDrop): Implemented.
12796 (getCurrentDataFlavors): Implemented.
12797 (getTransferable): Partially implemented.
12798 * java/awt/dnd/DropTargetDragEvent.java
12799 (getDropAction): Uncommented correct code.
12800 * java/awt/dnd/DropTargetDropEvent.java
12801 (dropComplete) :Implemented.
12802 * java/awt/dnd/InvalidDnDOperationException.java
12803 (InvalidDnDOperationException): Added call to super.
12805 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
12807 * javax/swing/plaf/basic/BasicArrowButton.java:
12808 (paint): Removed getBounds() call, changed center point
12811 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12813 * javax/swing/InputMap.java
12814 (inputMap): Don't initialize yet,
12815 (InputMap): Removed TODO,
12816 (get): Check for null inputMap,
12817 (put): Return immediately for null keyStroke, check for null inputMap
12818 and initialize if necessary,
12819 (remove): Check for null inputMap,
12823 (allKeys): Likewise,
12824 (writeObject): Removed,
12825 (readObject): Removed.
12827 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12829 * gnu/classpath/examples/swing/TabbedPaneDemo.java
12830 (createContent): Use different labels for buttons.
12832 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
12835 * doc/vmintegration.texinfo: Likewise.
12836 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12837 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12839 * java/lang/management/ManagementFactory.java:
12840 (getMemoryPoolMXBeans()): Implemented.
12841 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12842 * vm/reference/java/lang/management/VMManagementFactory.java:
12845 2006-07-04 Lillian Angel <langel@redhat.com>
12847 * java/awt/dnd/DragSourceContext.java:
12848 Removed FIXMEs from fields.
12849 (DragSourceContext): Added code to initialize cursor and sourceActions.
12850 (getDragSource): Added documentation.
12851 (getComponent): Likewise.
12852 (getTrigger): Likewise.
12853 (getSourceActions): Added documentation and implemented.
12854 (setCursor): Implemented. Added documentation.
12855 (getCursor): Implemented. Added documentation.
12856 (dragEnter): Added code to notify DragSource's listeners.
12857 (dragOver): Likewise.
12858 (dragExit): Likewise.
12859 (dropActionChanged): Likewise.
12860 (dragDropEnd): Likewise.
12861 (dragMouseMoved): Implemented.
12862 (getTransferable): Added API documentation.
12863 (updateCurrentCursor): Added API documentation and partially implemented.
12865 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12867 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12869 2006-07-04 Lillian Angel <langel@redhat.com>
12871 * java/awt/dnd/DragSourceContext.java
12872 (DragSourceContext): Implemented fully. Fixed API docs.
12873 (transferablesFlavorsChanged): Implemented.
12874 (dragEnter): Implemented.
12875 (dragOver): Implemented.
12876 (dragExit): Implemented.
12877 (dropActionChanged): Implemented.
12878 (dragDropEnd): Implemented.
12880 2006-07-04 Lillian Angel <langel@redhat.com>
12882 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12883 Fixed name of constant.
12884 (getIconWidth): Changed name of constant returned.
12885 (getIconHeight): Likewise.
12887 (createSeparator): Marked as unimplemented.
12888 * javax/swing/plaf/basic/BasicTableUI.java
12889 (focusGained): Marked as unimplemented.
12890 (focusLost): Marked as unimplemented.
12891 (mouseEntered): Likewise.
12892 (mouseMoved): Likewise.
12893 (uninstallDefaults): Likewise.
12894 * javax/swing/plaf/basic/BasicToolBarUI.java
12895 (mouseClicked): Changed comment.
12896 (mouseEntered): Likewise.
12897 (mouseExited): Likewise.
12898 (mouseMoved): Likewise.
12899 (setOrientation): Implemented.
12900 (ToolBarFocusListener): Marked as unimplemented.
12901 (focusGained): Marked as unimplemented.
12902 (focusLost): Marked as unimplemented.
12904 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12907 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12908 Mind the effect of the root visibility on the position of the control.
12909 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
12910 vertical line over first level nodes.
12912 2006-07-04 Lillian Angel <langel@redhat.com>
12914 * javax/swing/plaf/basic/BasicMenuUI.java
12915 (installKeyboardActions): Implemented to call super. Nothing else
12916 needs to be done here.
12917 (setupPostTimer): Marked as unimplemented.
12918 (uninstallKeyboardActions): Implemented to call super. Nothing else
12919 needs to be done here.
12920 (mouseMoved): Removed TODO. Nothing to be done here.
12921 (ChangeHandler): Implemented.
12922 (menuDragMouseExited): Removed TODO. Nothing to be done here.
12923 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12924 (menuKeyReleased): Removed TODO. Nothing to be done here.
12925 (menuKeyTyped): Marked as unimplemented.
12927 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12930 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
12931 (getDefaults): Set hash color to black.
12932 * javax/swing/plaf/basic/BasicLookAndFeel.java
12933 (initComponentDefaults): Set hash color to grey blue.
12934 * javax/swing/plaf/basic/BasicTreeUI.java
12935 (instellDefaults): Set hash color.
12936 * javax/swing/plaf/metal/MetalIconFactory.java
12937 (TreeControlIcon.paint): Rewritten.
12939 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12942 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12943 Always cancel the current editing session before doing anything else,
12944 return immediately if this fails.
12945 (TreeHomeAction): Ensure that the lead selection path is visible after
12946 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
12947 Likewise. TreeTraverseAction: Likewise.
12949 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12952 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12953 Returned back the code to handle the start of the click-pause-click
12954 editing initiation, explained about this code.
12955 (TreeStartEditingAction): New inner class.
12956 (stopEditingInCompleteEditing): Explained about this field.
12957 (completeEditing(boolean, boolean, boolean): Only return early
12958 if there is no current editing session.
12959 (createDefaultActions): Install TreeStartEditingAction and
12960 TreeCancelEditingAction.
12962 2006-07-04 Mario Torre <neugens@limasoftware.net>
12964 * configure.ac: Added new option --enable-default-preferences-peer
12965 to pass user specified default preference backend.
12966 If the GConf peer is built, GConf become the default backend.
12967 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
12969 * lib/Makefile.am: excludes files terminating in 'in' from
12970 the metafiles list.
12971 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
12972 from copy into META-INF.
12973 * java/util/prefs/Preferences.java: added two new import
12974 classes gnu.classpath.ServiceFactory and java.util.Iterator.
12975 (getFactory): Now try to check for
12976 a system defined default preference backend before to fall back on
12977 FileBasedPreference.
12979 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12982 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
12983 (EXPANDED): Initialise to Boolean.TRUE.
12984 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
12985 First configure layout cache and then set the assigned value
12986 as row mapper. Set the root visibility property.
12987 (toggleExpandState): Obtains expansion state from the layout cache.
12989 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
12991 * java/lang/management/MemoryPoolMXBean.java:
12994 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
12996 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
12998 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
13000 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13001 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13002 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13003 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13004 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13005 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13006 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13007 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13008 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13009 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13010 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13011 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13012 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13013 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13014 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13015 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13016 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13017 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13018 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13019 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13020 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13021 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13022 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13023 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13024 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13025 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13026 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13027 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13028 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13029 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13030 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13031 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13032 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13033 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13034 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13035 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13036 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13037 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13038 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13039 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13040 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13041 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13042 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13043 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13044 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13045 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13046 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13048 2006-07-02 Anthony Green <green@redhat.com>
13050 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13051 sure that every track written ends with an End Of Track meta
13054 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13056 * java/lang/management/MemoryUsage.java:
13057 (toString()): Fix missing MB for maximum memory usage.
13059 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13062 Updated to include VMCompilationMXBeanImpl.
13063 * doc/vmintegration.texinfo:
13064 Likewise, along with update to VMMemoryMXBeanImpl
13066 * examples/gnu/classpath/examples/management/TestCompilation.java,
13067 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13068 * java/lang/management/CompilationMXBeanImpl.java:
13070 * java/lang/management/ManagementFactory.java:
13071 (getCompilationMXBean()): Implemented.
13072 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13074 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13075 (getHeapMemoryUsage()): Added default implementation.
13077 2006-07-02 Anthony Green <green@redhat.com>
13079 * NEWS: Mention MIDI file reader/writer providers.
13081 2006-07-02 Anthony Green <green@redhat.com>
13083 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13084 gnu/javax/sound/midi/file/MidiFileWriter.java,
13085 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13087 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13090 Updated to include VMMemoryMXBeanImpl.
13091 * doc/vmintegration.texinfo: Likewise.
13092 * examples/gnu/classpath/examples/management/TestMemory.java:
13094 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13095 Remove redundant import.
13096 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13098 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13099 Remove redundant import.
13100 * java/lang/management/ManagementFactory.java:
13101 (getMemoryMXBean()): Implemented.
13102 * java/lang/management/MemoryMXBean.java,
13103 * java/lang/management/MemoryUsage.java:
13105 * java/lang/management/ThreadInfo.java:
13106 (toString()): Updated documentation.
13107 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13110 2006-07-01 Anthony Green <green@redhat.com>
13112 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13113 gnu/javax/sound/midi/file/MidiFileReader.java,
13114 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13115 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13117 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13119 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13120 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13121 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13122 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13123 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13124 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13125 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13127 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13129 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13130 * gnu/javax/crypto/pad/IPad.java: Likewise.
13131 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13132 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13133 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13134 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13135 * gnu/javax/crypto/pad/TBC.java: Likewise.
13136 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13137 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13139 2006-07-01 Anthony Green <green@redhat.com>
13141 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13143 (setMessage): Fix it again, in a different setMessage method.
13145 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13147 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13148 * gnu/javax/crypto/mode/CBC.java: Likewise.
13149 * gnu/javax/crypto/mode/CFB.java: Likewise.
13150 * gnu/javax/crypto/mode/CTR.java: Likewise.
13151 * gnu/javax/crypto/mode/EAX.java: Likewise.
13152 * gnu/javax/crypto/mode/ECB.java: Likewise.
13153 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13154 * gnu/javax/crypto/mode/ICM.java: Likewise.
13155 * gnu/javax/crypto/mode/IMode.java: Likewise.
13156 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13157 * gnu/javax/crypto/mode/OFB.java: Likewise.
13159 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13161 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13162 * gnu/javax/crypto/mac/HMac.java: Likewise.
13163 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13164 * gnu/javax/crypto/mac/IMac.java: Likewise.
13165 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13166 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13167 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13168 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13169 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13170 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13171 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13173 2006-07-01 Anthony Green <green@redhat.com>
13175 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13177 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13179 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13180 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13181 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13182 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13183 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13184 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13185 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13186 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13187 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13188 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13189 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13190 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13191 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13192 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13193 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13194 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13195 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13196 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13197 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13198 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13199 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13200 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13201 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13202 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13204 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13206 * javax/swing/AbstractCellEditor.java: Source code formatting,
13207 * javax/swing/AbstractSpinnerModel.java: Likewise,
13208 * javax/swing/Box.java: Likewise,
13209 * javax/swing/BoxLayout.java: Likewise,
13210 * javax/swing/DefaultListModel.java: Likewise,
13211 * javax/swing/GrayFilter.java: Likewise,
13212 * javax/swing/LookAndFeel.java: Likewise,
13213 * javax/swing/ProgressMonitor.java: Likewise,
13214 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13215 * javax/swing/ScrollPaneLayout.java: Likewise,
13216 * javax/swing/SpringLayout.java: Likewise,
13217 * javax/swing/event/EventListenerList.java: Likewise,
13218 * javax/swing/event/MenuEvent.java: Likewise,
13219 * javax/swing/event/TreeExpansionListener.java: Likewise.
13221 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13224 Mention threading bean and getState().
13225 * doc/vmintegration.texinfo:
13226 Update documentation for threading bean and new
13227 method of VMThread.
13229 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13231 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13232 * examples/gnu/classpath/examples/management/TestOS.java,
13233 * examples/gnu/classpath/examples/management/TestRuntime.java,
13234 * examples/gnu/classpath/examples/management/TestThread.java:
13237 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13239 * java/lang/ThreadGroup.java
13240 (getThreadFromId, getThreadFromIdImpl): New methods.
13242 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13244 * java/lang/Thread.java:
13245 Make thread IDs start from 1 in a more efficient way.
13247 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13249 * java/lang/Thread.java:
13250 Make thread IDs start from 1.
13252 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13254 * gnu/java/lang/management/BeanImpl.java:
13255 New superclass for all bean implementations.
13256 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13257 Extend BeanImpl and call permission code there.
13258 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13260 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13261 Extend BeanImpl and call permission code there.
13262 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13264 * java/lang/management/ManagementFactory.java:
13265 (getThreadMXBean()): Implemented.
13266 * java/lang/management/ThreadInfo.java:
13267 (ThreadInfo(Thread,int)): Replaced...
13268 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13269 boolean, boolean, StackTraceElement[])): with this.
13270 (getBlockedCount()): Refactored to use local variables.
13271 (getBlockedTime()): Likewise.
13272 (getLockName()): Likewise.
13273 (getLockOwnerId()): Likewise.
13274 (getLockOwnerName()): Likewise.
13275 (getStackTrace()): Likewise.
13276 (getWaitedCount()): Likewise.
13277 (getWaitedTime()): Likewise.
13278 (isInNative()): Likewise.
13279 (isSuspended()): Likewise.
13280 (toString()): Changed to use new local variables.
13281 * java/lang/management/ThreadMXBean.java:
13282 (getThreadInfo(long, int)): Corrected documentation.
13283 (getThreadInfo(long[], int)): Likewise.
13284 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13286 * vm/reference/java/lang/management/VMThreadInfo.java:
13289 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13291 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13292 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13293 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13294 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13295 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13296 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13297 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13298 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13299 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13300 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13301 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13302 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13303 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13304 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13305 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13306 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13307 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13308 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13309 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13310 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13311 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13312 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13313 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13314 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13315 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13316 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13317 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13318 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13319 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13320 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13321 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13322 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13324 2006-07-01 Roman Kennke <kennke@aicas.com>
13326 * gnu/java/awt/java2d/AbstractGraphics2D.java
13327 (transform): Make field protected.
13328 (getDestinationRaster): Provide default implementation for
13329 previously abstract method.
13331 2006-06-30 Tania Bento <tbento@redhat.com>
13333 * java/awt/TextArea.java
13334 (TextArea(String, int, int, int)): No longer throws
13335 IllegalArgumentException if rows, columns, or scrollbarVisibility
13336 values are invalid.
13337 (TextArea(String, int, int, int)): If rows or columns are < 0,
13338 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13339 gets set to the default value of 0 (SCROLLBARS_BOTH).
13340 (appendText): Added case when peer = null.
13341 (insertText): Added case when peer == null.
13342 (replaceText): Added case when peer == null.
13343 * java/awt/TextComponent.java
13344 (TextComponent(String)): If text == null, set it to "".
13346 2006-06-30 Lillian Angel <langel@redhat.com>
13348 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13349 (create): Added synchronized block around groupMap.get calls.
13350 (setCheckboxGroup): Likewise.
13352 2006-06-30 Lillian Angel <langel@redhat.com>
13354 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13355 (create): Changed to be non-synchronized.
13356 (setLabel): Likewise.
13357 (setCheckboxGroup): Likewise.
13358 (addToGroupMap): Likewise. Added synchronized block around
13360 (dispose): Changed to be non-synchronized.
13362 2006-06-30 Lillian Angel <langel@redhat.com>
13364 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13365 Changed all return values of native functions to void.
13366 (create): Changed function to be synchronized. Removed
13367 call to put value in groupMap, this is now done from
13369 (setState): Changed function to be synchronized.
13370 (setLabel): Changed function to be synchronized.
13371 (setCheckboxGroup): Changed function to be synchronized. Removed
13372 call to put value in groupMap, this is now done from
13374 (postItemEvent): Changed function to be synchronized.
13375 (addToGroupMap): New function. Called by native code to add
13376 new value to the group.
13377 (dispose): Changed function to be synchronized.
13378 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13381 (cp_gtk_checkbox_init_jni): Added code to link to
13383 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13384 Changed return value to void. Added call
13385 to java function to set pointer in groupMap.
13386 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13387 changed check to an assert. Also, removed call to set/del pointer.
13388 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13389 Likewise. Also, added check to determine if native_group should be
13391 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13393 2006-06-30 Sven de Marothy <sven@physto.se>
13395 * gnu/java/awt/ClasspathToolkit.java,
13396 * gnu/java/awt/peer/x/XToolkit.java,
13397 * gnu/java/awt/peer/qt/QtToolkit.java,
13398 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13399 Remove ClasspathTextLayoutPeer.
13400 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13401 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13404 2006-06-30 Sven de Marothy <sven@physto.se>
13406 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13407 (drawGlyphVector): Don't draw empty vectors.
13409 2006-06-30 Lillian Angel <langel@redhat.com>
13410 Tom Fitzsimmons <fitzsim@redhat.com>
13412 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13413 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13414 Added current_group, groupMap fields. Added definitions for
13415 new native functions.
13416 (create): Removed FIXME. Added code to create the check button or
13417 radio button when appropriate. Updated groupMap to contain
13418 pointer to the newly created group.
13419 (setCheckboxGroup): Added code to handle all cases. Removing
13420 a button from a group, adding a button to a group, or changing the
13422 (dispose): Changed to call super.
13423 * include/Makefile.am: Removed reference to
13424 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13425 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13426 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13428 * native/jni/gtk-peer/Makefile.am: Removed reference to
13429 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13433 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13434 Renamed to checkbox_get_widget.
13435 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13436 Changed to use checkbox_get_widget.
13437 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13439 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13440 Changed to use checkbox_get_widget.
13441 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13443 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13444 New function. Creates checkbutton without a group.
13445 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13446 Creates a radio button in a group, using groupPointer. If groupPointer
13447 is 0, then a new group is created.
13448 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13449 check button to a group, using groupPointer. A radio button is created
13450 in its place. If groupPointer is 0, then a new group is created.
13451 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13452 radio button is removed from the group. A check button is created in
13454 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13455 radio button is moved to a new group.
13457 2006-06-30 Mark Wielaard <mark@klomp.org>
13459 * configure.ac: Move standard.omit creation after dirs are created.
13460 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13461 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13462 (clean-local): Remove standard.omit.
13463 * lib/gen-classlist.sh.in: Use omit file in build dir.
13464 * lib/standard.omit.in: Make exclude regex more explicit.
13466 2006-06-30 Roman Kennke <kennke@aicas.com>
13468 * lib/Makefile.am: Added Escher dir/jar to classpath when
13470 * configure.ac: Moved handling of standard.omit to a place
13471 where it actually gets executed.
13473 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13475 * java/awt/TextComponent.java: Reformatted source code,
13476 * java/awt/TextField.java: Likewise.
13478 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13480 * java/lang/Thread.java:
13481 (getState()): Handle case of no VMThread
13484 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13486 * java/lang/Thread.java,
13487 * java/lang/VMThread.java:
13488 Reverted patch from 2006-06-28.
13490 2006-06-29 Roman Kennke <kennke@aicas.com>
13492 * gnu/java/awt/peer/x/GLGraphics.java,
13493 * gnu/java/awt/peer/x/ImageConverter.java,
13494 * gnu/java/awt/peer/x/KeyboardMapping.java,
13495 * gnu/java/awt/peer/x/XEventPump.java,
13496 * gnu/java/awt/peer/x/XFontPeer.java,
13497 * gnu/java/awt/peer/x/XFontPeer2.java,
13498 * gnu/java/awt/peer/x/XFramePeer.java,
13499 * gnu/java/awt/peer/x/XGraphics.java,
13500 * gnu/java/awt/peer/x/XGraphics2D.java,
13501 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13502 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13503 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13504 * gnu/java/awt/peer/x/XImage.java,
13505 * gnu/java/awt/peer/x/XLightweightPeer.java,
13506 * gnu/java/awt/peer/x/XToolkit.java,
13507 * gnu/java/awt/peer/x/XWindowPeer.java,
13508 * gnu/java/awt/peer/x/fonts.properties: New files.
13509 * lib/standard.omit: Removed.
13510 * lib/standard.omit.in: Added.
13511 * configure.ac: Added configure option --with-escher. Added some
13512 configury for omitting gnu.java.awt.peer.x package when
13513 this option is not specified.
13515 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13517 * javax/swing/JComponent.java
13518 (JComponent()): Initialize the locale here, not the default locale,
13519 (getDefaultLocale): If null, return Locale.getDefault(),
13520 (setDefaultLocale): Added API docs.
13522 2006-06-29 Tania Bento <tbento@redhat.com>
13524 * java/awt/Container.java
13525 (applyComponentOrientation): Implemented method.
13527 2006-06-29 Gary Benson <gbenson@redhat.com>
13529 * java/io/File.java (listRoots): Merge security checks from libgcj.
13531 2006-06-29 Gary Benson <gbenson@redhat.com>
13533 * java/io/FilePermission.java (implies): Work when path is "/".
13535 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13537 * java/lang/Thread.java:
13538 (Thread(ThreadGroup,Runnable,String,long)): Update
13540 (Thread(VMThread,String,int,boolean)): Likewise.
13541 (join(long,int)): Likewise.
13542 (resume()): Likewise.
13543 (sleep(long,int)): Likewise.
13544 (start()): Likewise.
13545 (stop()): Likewise.
13546 (suspend()): Likewise.
13548 (getState()): Return either state or use VMThread.
13549 * java/lang/VMThread.java:
13550 (getState()): Added default implementation to return
13553 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13555 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13556 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13557 endian swapping code.
13559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13560 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13561 without alpha information correctly on big endian systems.
13563 2006-06-28 Roman Kennke <kennke@aicas.com>
13565 * gnu/java/net/local/LocalSocket.java
13566 (setSoTimeout): Don't throw exception and ignore request.
13567 (getSoTimeout): Don't throw exception and always return 0.
13569 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13571 * javax/swing/JComponent.java
13572 (getRegisteredKeyStrokes): Implemented.
13574 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13576 * javax/swing/JComponent.java
13577 (verifyInputWhenFocusTarget): Initialise to true.
13579 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13581 * java/beans/VetoableChangeSupport.java
13582 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13584 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13585 for null property name and/or listener,
13586 * javax/swing/JComponent.java
13587 (getListeners): Handle VetoableChangeListener.class as a special case,
13588 (getVetoableChangeListeners): Fetch these from the
13589 vetoableChangeSupport object.
13591 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13593 * javax/swing/JComponent.java
13594 (componentPopupMenu): New field,
13595 (inheritsPopupMenu): New field,
13596 (getInheritsPopupMenu): Implemented,
13597 (setInheritsPopupMenu): Likewise,
13598 (getComponentPopupMenu): Likewise,
13599 (setComponentPopupMenu): Likewise,
13600 * javax/swing/JLabel.java
13601 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13603 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13605 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13606 (toString): New method.
13607 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13608 (toString): New method.
13609 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13610 (toString): New method.
13611 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13612 Handle case when Q is null.
13613 (decodePrivateKey): Likewise.
13614 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13616 (decodePublicKey): Likewise.
13617 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13618 aliases for all block ciphers.
13619 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13620 (engineDoPhase): Compute fully the shared secret.
13621 (checkState): New method.
13623 (engineGenerateSecret()): Reset key-agreement before returning.
13624 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13625 Reset key-agreement before returning.
13626 (engineGenerateSecret(String)): Reset key-agreement before returning.
13627 (engineInit(Key,SecureRandom)): Call reset() before returning.
13628 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13629 (engineInit): Replace printing to System.out with conditional logging.
13630 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13631 When the key-size is not specified, attempt best effort to find a suitable
13632 value among those advertised by the cipher before setting it to the length
13633 of provided key material.
13635 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13637 * javax/swing/table/DefaultTableColumnModel.java
13638 (changeEvent): Don't initialize yet, removed FIXME,
13639 (fireColumnModelChanged): Initialize changeEvent if necessary.
13641 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13643 * java/lang/Thread.java:
13644 (getAllStackTraces()): Implemented.
13645 (getStackTrace()): Likewise.
13647 2006-06-27 Tania Bento <tbento@redhat.com>
13649 * java/awt/Component.java
13650 (setComponentOrientation): NPE should not be thrown.
13652 2006-06-27 Tom Tromey <tromey@redhat.com>
13654 * configure.ac: Create gjar, gnative2ascii, gserialver.
13655 * tools/gappletviewer.in: Quote $@.
13656 * tools/gkeytool.in: Likewise.
13657 * tools/gjarsigner.in: Likewise.
13658 * tools/gjar.in: New file.
13659 * tools/gnative2ascii.in: Likewise.
13660 * tools/gserialver.in: Likewise.
13661 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13663 (bin_SCRIPTS): Likewise.
13665 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13667 * java/lang/management/ThreadMXBean.java:
13668 (getThreadInfo(long[])): Corrected return type.
13669 (getThreadInfo(long[], int)): Likewise.
13671 2006-06-27 Mark Wielaard <mark@klomp.org>
13673 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13674 nothing when listener is null.
13675 (removeFlavorListener): Likewise.
13677 * java/awt/datatransfer/DataFlavor.java
13678 (getRepresentationClassFromMime): Renamed to
13679 getRepresentationClassFromMimeThrows.
13680 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13681 (isRepresentationClassSerializable): Likewise.
13682 (isFlavorJavaFileListType): Likewise and check primary and
13684 (getParameter): Parameters are separated by semi-colons.
13685 (DataFlavor(Class,String,String)): Do some sanity checks.
13686 (DataFlavor(String,String,ClassLoader)): Call
13687 getRepresentationClassFromMimeThrows.
13688 (DataFlavor(String)): Likewise.
13689 (equals(DataFlavor)): Special case primary type text and charset
13692 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13694 * java/awt/Component.java
13695 (setName): Fire required PropertyChangeEvent,
13696 * java/awt/Label.java
13697 (getText): Removed redundant brackets,
13698 (generateName): New method (override),
13699 (nextLabelNumber): New field,
13700 (getUniqueLong): New method.
13702 2006-06-27 Roman Kennke <kennke@aicas.com>
13704 * gnu/java/awt/peer/swing/SwingComponentPeer.java
13705 (createImage): Delegate this to the parent.
13706 (handleEvent): Only handle PAINT/UPDATE events when the
13707 component is actually showing.
13708 (hide): Repaint the parent after hiding a component.
13709 (prepareImage): Have only one return point.
13710 (setVisible): Delegate to show() and hide().
13711 (createVolatileImage): Added null check to avoid NPE.
13713 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13715 * java/awt/Label.java: Reformatted source code.
13717 2006-06-27 Roman Kennke <kennke@aicas.com>
13719 * java/awt/image/BufferedImage.java
13720 (getSource): Use a fixed DirectColorModel to deliver the
13721 RGB pixels to the ImageConsumer.
13723 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13725 * java/awt/Point.java
13726 (setLocation(double, double)): Round to nearest integer coordinates.
13728 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13730 * java/awt/Component.java
13731 (minSizeSet): New field,
13732 (maxSize): Likewise,
13733 (maxSizeSet): Likewise,
13734 (isMaximumSizeSet): Implemented,
13735 (isMinimumSizeSet): Likewise,
13736 (isPreferredSizeSet): Likewise,
13737 (setMaximumSize): Likewise,
13738 (setMinimumSize): Likewise,
13739 (setPreferredSize): Likewise.
13741 2006-06-27 Roman Kennke <kennke@aicas.com>
13743 * javax/imageio/spi/IIORegistry.java
13744 (IIORegistry): Added BMP codec.
13746 2006-06-27 Mark Wielaard <mark@klomp.org>
13748 * javax/swing/JComponent.java
13749 (firePropertyChange(String,char,char)): New override method.
13751 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13753 * java/lang/Thread.java:
13754 (getState()): New method.
13755 * java/lang/management/ClassLoadingMXBean.java:
13756 Corrected class documentation.
13757 * java/lang/management/ManagementFactory.java:
13758 Added new temporary marked stub to get thread bean.
13759 * java/lang/management/OperatingSystemMXBean.java:
13760 Corrected class documentation.
13761 * java/lang/management/RuntimeMXBean.java:
13762 Corrected class documentation.
13763 * java/lang/management/ThreadInfo.java,
13764 * java/lang/management/ThreadMXBean.java:
13766 * vm/reference/java/lang/VMThread.java:
13767 (getState()): New method.
13768 * vm/reference/java/lang/management/VMThreadInfo.java:
13771 2006-06-26 Sven de Marothy <sven@physto.se>
13773 * gnu/javax/imageio/gif/GIFFile.java
13774 * gnu/javax/imageio/gif/GIFImageReader.java
13775 * gnu/javax/imageio/gif/GIFImageSpi.java
13776 * gnu/javax/imageio/gif/GIFStream.java
13778 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13780 2006-06-26 Tania Bento <tbento@redhat.com>
13782 * java/awt/List.java
13783 (List): A list should have at least 4 visible rows.
13784 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13785 not an IllegalArgumentException.
13786 (makeVisible): Should not throw an IllegalArgumentException if
13787 the specified index is out of range.
13789 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13791 * javax/swing/JList.java
13792 (getNextMatch): Reimplemented to perform a circular search for the
13795 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13797 * javax/swing/JList.java
13798 (init): Set default value for visibleRowCount to 8,
13799 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13801 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13803 * javax/swing/JList.java
13804 (valueIsAdjusting): Removed,
13805 (init): Removed initialization of valueIsAdjusting field,
13806 (getValueIsAdjusting): Fetch value from selection model,
13807 (setValueIsAdjusting): Store value in selection model.
13809 2006-06-26 Roman Kennke <kennke@aicas.com>
13811 * javax/swing/plaf/basic/BasicListUI.java
13812 (installKeyboardActions): Rewritten to fit with the
13813 ActionMap/InputMap architecture.
13814 (uninstallKeyboardActions): Implemented.
13815 (ListAction): Made private. Added TODO for splitting
13816 up this bulk Action.
13817 (ListAction.ListAction): New constructor. This one
13818 takes a cmd parameter to be installed as actionCommand.
13820 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13822 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13823 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13825 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13827 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13828 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13829 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13830 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13831 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13832 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13833 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13834 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13835 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13836 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13837 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13838 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13839 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13840 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13841 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13842 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13843 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13844 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13845 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13846 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13847 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13848 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13849 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13850 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13851 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13852 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13853 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13854 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13855 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13856 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13857 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13858 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13859 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13860 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13861 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13862 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13863 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13864 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13865 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13866 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13867 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13868 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13869 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13870 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13871 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13872 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13873 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13874 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13875 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13876 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13877 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13878 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13879 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13880 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13881 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13882 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13883 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13884 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13885 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13886 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13887 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13888 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13889 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13890 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13891 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13892 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13893 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13894 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13895 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13896 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13897 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13898 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13899 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13900 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13901 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13902 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13903 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13904 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13905 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13906 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13907 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13908 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13910 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13912 * javax/swing/JList.java
13913 (setLayoutOrientation): Check for valid argument.
13915 2006-06-26 Roman Kennke <kennke@aicas.com>
13917 * javax/swing/JComponent.java
13918 (firePropertyChange(String,int,int)): New method. Overrides
13919 Component method and makes it public.
13920 (firePropertyChange(String,boolean,boolean)): Likewise.
13922 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
13924 * gnu/java/security/.cvsignore: New File.
13925 * gnu/java/security/Configuration.java.in: New File.
13926 * gnu/java/security/Properties.java: Change import from
13927 gnu.classpath.Configuration to gnu.java.security.Configuration.
13928 * gnu/java/security/hash/Whirlpool.java: Likewise.
13929 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13930 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
13931 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
13932 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
13933 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
13934 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
13935 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
13936 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
13937 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
13938 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
13939 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
13940 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
13941 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
13942 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
13943 * gnu/java/security/util/Base64.java: Likewise.
13944 * gnu/java/security/x509/X509CRL.java: Likewise.
13945 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
13946 * gnu/java/security/x509/ext/Extension.java: Likewise.
13947 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
13948 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
13949 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
13950 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
13951 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13952 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13953 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13954 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13955 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13956 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13957 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13958 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13959 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13960 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13961 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13962 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13963 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13964 * gnu/javax/crypto/pad/BasePad.java: Likewise.
13965 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13966 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13967 * gnu/javax/crypto/pad/TBC.java: Likewise.
13968 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13969 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13970 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13971 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13972 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13973 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
13974 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
13975 * gnu/javax/security/auth/login/GnuConfiguration.java
13976 (getAppConfigurationEntry): Change reference to
13977 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
13978 (getConfigFromUserHome): Likewise.
13979 (getInputStreamFromURL): Likewise.
13980 (getUserHome): Likewise.
13982 (processSecurityProperties): Likewise.
13983 (processSystemProperty): Likewise.
13984 (processUserHome): Likewise.
13985 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
13986 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
13989 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
13991 * javax/swing/text/DefaultCaret.java (isActive): New method.
13993 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13995 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
13996 * java/lang/management/ClassLoadingMXBean.java:
13997 (getTotalLoadedClassCount()): Corrected return type.
13998 (getUnloadedClassCount()): Likewise.
13999 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14000 (getUnloadedClassCount()): Likewise.
14002 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14004 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14005 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14006 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14007 * gnu/javax/crypto/cipher/Square.java: Likewise.
14008 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14009 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14010 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14011 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14012 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14013 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14014 * gnu/javax/crypto/cipher/DES.java: Likewise.
14015 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14016 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14017 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14018 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14019 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14021 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14023 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14024 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14025 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14026 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14027 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14028 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14029 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14030 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14031 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14032 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14033 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14034 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14035 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14037 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14040 * doc/vmintegration.texinfo:
14041 Updated with information on new VM interface.
14042 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14043 * java/lang/management/ClassLoadingMXBean.java:
14044 New files implementing the class loading bean.
14045 * java/lang/management/ManagementFactory.java:
14046 (getClassLoadingMXBean()): Implemented.
14047 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14048 New VM interface file.
14050 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14052 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14053 (isBootClassPathSupported()): Use SystemProperties
14054 rather than System.getProperty.
14056 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14058 * gnu/java/security/Properties.java: Source formatting.
14059 * gnu/java/security/Registry.java: Likewise.
14061 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14063 * gnu/java/security/util/Util.java: Source formatting.
14064 * gnu/java/security/util/SimpleList.java: Likewise.
14065 * gnu/java/security/util/Sequence.java: Likewise.
14066 * gnu/java/security/util/PRNG.java: Likewise.
14067 * gnu/java/security/util/ExpirableObject.java: Likewise.
14068 * gnu/java/security/util/Base64.java: Likewise.
14069 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14070 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14071 * gnu/java/security/sig/ISignature.java: Likewise.
14072 * gnu/java/security/sig/BaseSignature.java: Likewise.
14073 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14074 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14075 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14076 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14077 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14078 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14079 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14080 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14081 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14082 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14083 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14084 * gnu/java/security/provider/Gnu.java: Likewise.
14085 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14086 * gnu/java/security/prng/RandomEvent.java: Likewise.
14087 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14088 * gnu/java/security/prng/MDGenerator.java: Likewise.
14089 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14090 * gnu/java/security/prng/IRandom.java: Likewise.
14091 * gnu/java/security/prng/EntropySource.java: Likewise.
14092 * gnu/java/security/prng/BasePRNG.java: Likewise.
14094 2006-06-23 Francis Kung <fkung@redhat.com>
14096 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14097 (Harness.actionPerformed): Process additional options.
14098 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14099 (J2dBenchmarkWrapper.setAlias): New method.
14100 (J2dBenchmarkWrapper.setComposite): New method.
14101 (J2dBenchmarkWrapper.setFill): New method.
14102 (J2dBenchmarkWrapper.setRotation): New method.
14103 (J2dBenchmarkWrapper.setShear): New method.
14104 (J2dBenchmarkWrapper.setStroke): New method.
14105 (J2dBenchmarkWrapper.setTranslation): New method.
14106 (run): Add additional options to GUI.
14107 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14108 Added protected fields for various options.
14109 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14110 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14111 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14112 (getNextColor): Renamed to setRandom.
14113 (init): Load additional image for texturing if needed.
14114 (loadBufferedImage): New method.
14115 (main): Accept additional command-line switches.
14116 (prepareGraphics): New method.
14117 (resetGraphics): New method.
14118 (runTestSuite): Accept additional image-processing options.
14119 (setRandom): Renamed from getNextColor; generate various random options
14120 (test_drawArc): Rename getNextColor to setRandom.
14121 (test_drawCubic): Likewise.
14122 (test_drawEllipse): Likewise.
14123 (test_drawGeneralPath): Likewise.
14124 (test_drawImage): Likewise.
14125 (test_drawLine): Likewise.
14126 (test_drawQuadCurve): Likewise.
14127 (test_drawRectangle): Likewise.
14128 (test_drawRoundRectangle): Likewise.
14129 (test_drawTransparentImage): Likewise.
14130 (test_fillArc): Rename getNextColor to setRandom.
14131 (test_fillEllipse): Likewise.
14132 (test_fillGeneralPath): Likewise.
14133 (test_fillRectangle): Likewise.
14134 (test_fillRoundRectangle): Likewise.
14135 (TestRecorder.getAverage): Round the average time.
14137 2006-06-23 Tom Tromey <tromey@redhat.com>
14139 * java/util/logging/LoggingMXBean.java: New file.
14140 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14141 (loggingBean): New field.
14142 (getLoggingMXBean): New method.
14144 2006-06-23 Tania Bento <tbento@redhat.com>
14146 * java/awt/TextField.java
14147 (TextField): Default number of columns should be 0, not 1.
14148 (TextField): Check if number of columns given as argument
14149 is valid (>= 0) and set the number of columns accordingly.
14150 (TextField): Check if the string passed is null. If it is,
14151 set columns to 0, else columns is set to the length of
14154 2006-06-23 Roman Kennke <kennke@aicas.com>
14156 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14157 (InternalFramePropertyChangeListener.propertyChange):
14158 Don't call getPropertyName() repeatedly. Added null checks
14159 to avoid NPEs. Call closeFrame() if the closed property
14162 2006-06-23 Roman Kennke <kennke@aicas.com>
14164 * javax/swing/JInternalFrame.java
14165 (maxTransition): Removed.
14166 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14167 Don't initialize storedBounds here.
14168 (dipose): Rewritten to correctly dispose the JInternalFrame.
14169 (getDesktopIcon): Don't initialize desktopIcon here.
14170 (getLayer): Delegate to JLayeredPane.getLayer().
14171 (getNormalBounds): Return bounds when storedBounds == null,
14172 otherwise storedBounds.
14173 (hide): Don't change selection. Also hide the desktopIcon.
14174 (moveToBack): Call getParent() only once.
14175 (moveToFront): Call getParent() only once.
14176 (pack): Call validate() to make sure that the layout is
14177 propagated to the children.
14178 (setClosed): Fire InternalFrameEvent first, before the
14180 (setJMenuBar): Fire PropertyChangeEvent for this property.
14181 (setLayer): Delegate to JLayeredPane.
14182 (setLayeredPane): Check for null and throw IllegalArgumenException.
14183 (setMaximum): Remove handling of maxTransition and normalBounds.
14184 Should probably be done in the UI.
14185 (setNormalBounds): Store Rectangle object directly, not a copy.
14186 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14187 adding the RootPane doesn't add it to the contentPane.
14188 Fire PropertyChangeEvent.
14189 (setSelected): Added condition for when this property must not
14191 (show): Don't ask the DesktopPane to select the frame. Moved
14192 code around to fire InternalFrameEvent before actually calling
14193 super.show(). Also make the desktopIcon visible.
14194 (setTitle): Fire PropertyChangeEvent unconditionally.
14196 2006-06-23 Roman Kennke <kennke@aicas.com>
14198 * javax/swing/JLayeredPane.java
14199 (getPosition): Moved code around to avoid unnecessary method calls.
14200 (setPosition): Delegate to setLayer().
14201 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14202 (insertIndexForLayer(Component,int,int)): New helper method
14203 to support the use of setComponentZOrder() which doesn't remove
14204 the component and thus the insertIndexForLayer must ignore
14205 the component to be moved to get the index right.
14206 (setLayer): Added check to prevent unnecessary execution of
14207 method body. Changed to update the component order here.
14208 Added repaint() to make sure that the update becomes visible.
14209 (addImpl): Call setLayer() only when a constraint has been specified.
14210 Validate and repaint the JLayeredPane.
14212 2006-06-23 Roman Kennke <kennke@aicas.com>
14214 * java/awt/Container.java
14215 (getComponentZOrder): Use ncomponents instead of
14216 component.length so that we don't consider the empty space
14217 after the last component.
14219 2006-06-22 Roman Kennke <kennke@aicas.com>
14221 * javax/swing/JComponent.java
14222 (vetoableChangeSupport): New field.
14223 (removeVetoableChangeListener): Rewritten to use
14224 vetoableChangeSupport.
14225 (addVetoableChangeListener): Rewritten to use
14226 vetoableChangeSupport.
14227 (fireVetoableChange): Rewritten to use
14228 vetoableChangeSupport.
14229 (addPropertyChangeListener): Removed. This is handled in
14231 (firePropertyChange(String,boolean,boolean)): Likewise.
14232 (firePropertyChange(String,char,char)): Likewise.
14233 (firePropertyChange(String,int,int)): Likewise.
14234 (revalidate): Don't do anything when the commponent has no
14237 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14239 * javax/swing/JLabel.java: Updated API docs.
14241 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14243 * java/awt/Insets.java: Updated copyright year.
14244 (toString): Changed string, removed a line from the
14247 2006-06-22 Roman Kennke <kennke@aicas.com>
14249 * javax/swing/text/AbstractDocument.java
14250 (AbstractDocument): Set the i18n document property.
14251 (removeImpl): Added checks for correct boundaries.
14253 2006-06-22 Roman Kennke <kennke@aicas.com>
14255 * javax/swing/text/PlainDocument.java
14256 (rootElement): Changed type to Element.
14257 (tabSize): Removed field. This is stored in the document properties
14259 (PlainDocument): Set tabSize property. Init rootElement without
14261 (insertUpdate): Rewritten. The previous implementation did not
14262 handle some corner cases properly and was a mess.
14263 (removeUpdate): Cast rootElement to BranchElement.
14265 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14267 * javax/swing/plaf/basic/BasicLabelUI.java
14268 (installKeyboardActions): Implemented,
14269 (uninstallKeyboardActions): Implemented,
14270 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14273 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14275 * javax/swing/JMenu.java:
14276 (removeAll): Added check for popupMenu not being null.
14278 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14280 * javax/swing/JLabel.java
14281 (getText): Updated API docs,
14282 (setText): Corrected the check for an unchanged value, and the update
14283 of the displayedMnemonicIndex.
14285 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14287 * javax/swing/JLabel.java
14288 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14290 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14291 where label text is null.
14293 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14295 * javax/swing/JLabel.java
14296 (setDisplayedMnemonic): Updated API docs,
14297 (getDisplayedMnemonic): Removed unnecessary type-cast,
14298 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14299 (getDisplayedMnemonicIndex): Updated API docs.
14301 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14303 * java/util/Collections (entrySet): Fixed compile error.
14305 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14307 * javax/swing/DefaultListSelectionModel.java
14308 (getSelectionMode): Updated API docs,
14309 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14310 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14311 setSelectionInterval(),
14312 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14313 SINGLE_INTERVAL_SELECTION cases.
14315 2006-06-21 Roman Kennke <kennke@aicas.com>
14317 * javax/swing/text/AbstractDocument.java
14318 (BranchElement.numChildren): New field.
14319 (BranchElement.BranchElement): Initialize children array with
14320 one element (that's the least number of elements that makes sense).
14321 Initialize numChildren.
14322 (BranchElement.children): Use numChildren as boundary.
14323 (BranchElement.getElement): Use numChildren as boundary.
14324 (BranchElement.getElementCount): Use numChildren as boundary.
14325 (BranchElement.getElementIndex): Use numChildren as boundary.
14326 (BranchElement.getEndOffset): Use numChildren as boundary.
14327 (BranchElement.getStartOffset): Use numChildren as boundary.
14328 (BranchElement.positionToElement): Use numChildren as boundary.
14329 (BranchElement.replace): Handle the children array more efficiently
14330 by growing in blocks > 1, and reusing space from removed elements.
14331 (LeafElement.startDelta): Removed.
14332 (LeafElement.endDelta): Removed.
14333 (LeafElement.LeafElement): Removed handling of deltas.
14334 (LeafElement.getEndOffset): Likewise.
14335 (LeafElement.getStartOffset): Likewise.
14336 * javax/swing/text/JTextComponent.java
14337 (setDocument): Added locking of the old document to avoid dangling
14338 notification beeing delivered while the document is beeing
14340 (getScrollableTracksViewportWidth): Fixed condition.
14341 * javax/swing/text/PlainDocument.java
14342 (createDefaultRoot): Create elements without AttributeSet.
14343 * javax/swing/text/rtf/RTFParser.java
14344 (parseFile): Handle slightly incorrect RTF gracefully.
14345 * javax/swing/text/rtf/RTFScanner.java
14346 (lastToken): New field.
14347 (readTokenImpl): New method.
14348 (peekToken): New method.
14349 (readToken): Changed to call readTokenImpl or return the lastToken
14350 if there's one present.
14352 2006-06-21 Tania Bento <tbento@redhat.com>
14354 * javax/swing/JMenu.java
14355 (remove): An IllegalArgumentException should be thrown if
14356 either index < 0 or if index > 0 and there are no menu
14357 components. Also, a check was added that ensures there are
14358 menu components before removing the desired the component.
14360 2006-06-21 Lillian Angel <langel@redhat.com>
14362 * javax/swing/text/DefaultCaret.java
14363 (install): Added check to prevent NPE.
14364 (propertyChange): Added checks to prevent NPEs.
14366 2006-06-21 Tania Bento <tbento@redhat.com>
14368 * javax/swing/JMenu.java
14369 Changed instantiation of popupMenu to null.
14370 (JMenu): Instantiated popupMenu to new JPopupMenu.
14371 (JMenu): Instantiated popupMenu to new JPopupMenu.
14372 (add): Changed popupMenu to getPopupMenu().
14373 (add): Changed popupMenu to getPopupMenu().
14374 (add): Changed popupMenu to getPopupMenu().
14375 (add): Changed popupMenu to getPopupMenu().
14376 (remove): Changed popupMenu to getPopupMenu().
14377 (remove): Changed popupMenu to getPopupMenu().
14378 (insert): Changed popupMenu to getPopupMenu().
14379 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14380 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14381 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14382 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14383 (getMenuComponents): Changed popupMenu to getPopupMenu().
14384 (getPopupMenu): Check first if popupMenu is null and if so,
14385 instantiate it to a new JPopupMenu and set the invoker.
14386 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14387 (popupMenuWillBecomeVisible): Component Listener should only
14388 be added to the root container if the root container is not
14389 null. This avoids a null pointer exception.
14391 2006-06-21 Tania Bento <tbento@redhat.com>
14393 * javax/swing/JMenu.java
14394 (JMenu): Delay should be set to 200, not default of 0.
14395 (JMenu): Delay should be set to 200, not default of 0.
14396 (JMenu): Delay should be set to 200, not default of 0.
14397 (JMenu): Delay should be set to 200, not default of 0.
14398 (remove): Added check that index >= 0 before removing
14400 (getItem): Return null if item count equals 0.
14401 (isTearOff): Should throw new error and not return false.
14402 (getMenuComponent): Return null if popupMenu is null or
14403 if there are no menu components.
14405 2006-06-21 Roman Kennke <kennke@aicas.com>
14407 * java/awt/font/FontRenderContext.java:
14408 (equals): Added special conditions for affineTransform beeing
14411 2006-06-21 Roman Kennke <kennke@aicas.com>
14413 * javax/swing/UIManager.java
14414 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14415 must not be cleared.
14417 2006-06-21 Roman Kennke <kennke@aicas.com>
14419 * javax/swing/plaf/metal/MetalUtils.java
14420 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14421 Graphics2D is available. Use fillRect instead of drawLine, this
14423 (paintVerticalGradient): Use paintHorizontalGradient2D when
14424 Graphics2D is available. Use fillRect instead of drawLine, this
14426 (paintHorizontalGradient2D): New method. Paints gradient
14427 using Graphics2D functions.
14428 (paintVerticalGradient2D): New method. Paints gradient
14429 using Graphics2D functions.
14431 2006-06-21 Roman Kennke <kennke@aicas.com>
14433 * javax/swing/plaf/basic/BasicButtonListener.java
14434 (propertyChange): Create a TextLayout and store it in the button
14435 when the 'text' property changes.
14436 * javax/swing/plaf/basic/BasicButtonUI.java
14437 (paintText): Call BasicGraphicsUtils utility method for
14438 drawing strings, instead of Graphics.drawString().
14439 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14440 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14441 cached text layouts as client properties in JComponents.
14442 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14443 (drawStringUnderlineCharAt): New helper method.
14444 * javax/swing/plaf/basic/BasicMenuItemUI.java
14445 (PropertyChangeHandler.propertyChange): Update cached text layout
14446 when 'text' property changes. Use equals() instead of == for
14448 (paintText): Use new BasicGraphicsUtils methods for painting
14449 the cached text layout.
14450 (installListeners): Call super.installListeners() and remove
14451 the unneeded listener installs.
14452 (uninstallListeners): Call super.uninstallListeners() and remove
14453 the unneeded listener uninstalls.
14455 2006-06-21 Roman Kennke <kennke@aicas.com>
14457 * javax/swing/plaf/basic/BasicTextUI.java
14458 (PropertyChangeHandler.propertyChange): Handle document listener
14460 (background): Removed unneeded fields.
14461 (inactiveBackground): Remove unneeded fields.
14462 (installUI): Install the document listener. Slightly changed
14463 order of operations. Don't trigger modelChanged().
14464 (installDefaults): Only install properties when the
14465 current properties are null or instances of UIResource.
14466 (installListeners): Removed unnecessary listener installs.
14467 (installDocumentListeners): Removed unneeded method.
14468 (uninstallListeners): Removed unnecessary listener uninstalls.
14469 (modelChanged): Removed call to installDocumentListeners().
14470 * javax/swing/plaf/basic/BasicTextFieldUI.java
14471 (propertyChange): Update the colors by fetching them from
14472 SharedUIDefaults. Fixed conditions.
14473 * javax/swing/plaf/basic/SharedUIDefaults.java
14474 (getColor): New method.
14476 2006-06-21 Roman Kennke <kennke@aicas.com>
14478 * javax/swing/SizeSequence.java
14479 (SizeSequence): Initialize array with correct number of entries.
14481 2006-06-21 Roman Kennke <kennke@aicas.com>
14483 * javax/swing/JSplitPane.java
14484 (setDividerLocation): Substract divider size when computing
14487 2006-06-21 Roman Kennke <kennke@aicas.com>
14489 * javax/swing/JComponent.java
14490 (paintChildrenWithOverlap): Determine opaque property by
14491 calling the corresponding Component method, without requiring
14493 (paintChildrenOptimized): Removed old unneeded code.
14494 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14495 method instead of SwingUtilities.convertRectangle(). This is
14498 2006-06-21 Roman Kennke <kennke@aicas.com>
14500 * javax/swing/AbstractButton.java
14501 (init): Call setText() instead of setting the property directly,
14502 so that listeners (especially in the UI) get notified.
14504 2006-06-21 Roman Kennke <kennke@aicas.com>
14506 * javax/swing/UIManager.java
14507 (MultiplexUIDefaults): New inner class.
14508 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14509 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14510 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14511 directly. Print stacktrace if something goes wrong.
14512 (get): Delegate call to currentUIDefaults.
14513 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14515 (getUI): Delegate call to currentUIDefaults.
14516 (put): Delegate call to currentUIDefaults.
14517 (setLookAndFeel): Initialize currentUIDefaults with
14518 MultiplexUIDefaults. Set lookAndFeelDefaults.
14519 (setLookAndFeel): Use current thread's context classloader for
14522 2006-06-21 Roman Kennke <kennke@aicas.com>
14524 * javax/swing/text/GapContent.java
14525 (GapContentPosition.GapContentPosition): Replace
14526 Collections.binarySearch with call to local search() to make
14527 sure we find the first object that equals the searched object.
14528 (setPositionsInRange): Likewise.
14529 (adjustPositionsInRange): Likewise.
14530 (search): New helper method.
14532 2006-06-21 Gary Benson <gbenson@redhat.com>
14534 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14535 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14536 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14538 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14540 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14541 APPLETVIEWER_EXECUTABLE to gappletviewer.
14543 2006-06-20 Tom Tromey <tromey@redhat.com>
14545 PR classpath/28095:
14546 * java/net/URL.java (URL): Throw MalformedURLException if a
14547 RuntimeException is caught. Chain exceptions.
14549 2006-06-20 Lillian Angel <langel@redhat.com>
14551 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14552 (create): Added check to prevent Seg Fault. Should not
14553 set the label if it is null.
14554 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14555 (setText): Changed to be a non-native function. Calls
14556 setNativeText if the String parameter is non-null.
14557 (setNativeText): Replaces old native setText function.
14558 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14560 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14561 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14562 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14563 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14565 2006-06-20 Lillian Angel <langel@redhat.com>
14567 * javax/swing/text/JTextComponent.java
14568 (AccessibleJTextComponent): Rewrote all javadocs
14569 for this inner class.
14571 2006-06-20 Francis Kung <fkung@redhat.com>
14573 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14574 Changed many members to be protected.
14575 (J2dBenchmark): moved to init() instead.
14576 (init): New method.
14577 (main): Call init() after creating object
14578 (testComplete): New method.
14579 (test_drawArc): Use maxTests varialbe instead of constant.
14580 (test_drawCubicCurve): Likewise.
14581 (test_drawEllipse): Likewise.
14582 (test_drawGeneralPath): Likewise.
14583 (test_drawImage): Likewise.
14584 (test_drawLine): Likewise.
14585 (test_drawQuadCurve): Likewise.
14586 (test_drawRectangle): Likewise.
14587 (test_drawRoundRectangle): Likewise.
14588 (test_drawTransparentImage): Likewise.
14589 (test_fillArc): Likewise.
14590 (test_fillEllipse): Likewise.
14591 (test_fillGeneralPath): Likewise.
14592 (test_fillRectangle): Likewise.
14593 (test_fillRoundRectangle): Likewise.
14594 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14595 (GraphicsTest.runSetWithClipping): Likewise.
14596 (GraphicsTest.runSetZeroClipping): Likewise.
14597 (GraphicsTest.run): Added checks for more option flags.
14598 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14601 2006-06-20 Roman Kennke <kennke@aicas.com>
14603 * javax/swing/text/GapContent.java
14604 (GapContentPosition.mark): New field.
14605 (GapContentPosition.index): Removed.
14606 (GapContentPosition.GapContentPosition): Changed to take the
14607 real offset as parameter. Added handling of reference counter.
14608 Try to cleanup before creating new instances.
14609 (getOffset): Delegate to the Mark method with same name.
14610 (Mark): New class, encapsulating a mark.
14611 (positionMarks): Removed field.
14612 (numMarks): Removed field.
14613 (marks): New field.
14614 (queueOfDeath): New field.
14615 (GapContent): Removed init of old fields, added init of new fields.
14616 (createPosition): Added check for validity of arguments.
14617 Create GapContentPosition directly with offset.
14618 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14619 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14620 (shiftGapStartDown): Call resetMarksAtZero().
14621 (shiftGapEndUp): Call resetMarksAtZero().
14622 (replace): Don't call resetMarksAtZero().
14623 (setPositionInRange): Replaced by simpler algorithm, similar to
14624 adjustPositionsInRange.
14625 (adjustPositionsInRange): Adapted to use of Mark objects.
14626 (resetMarksAtZero): Reset all marks that point to zero instead
14627 of only the first one.
14628 (dumpMarks): Adjusted to dump Mark objects.
14629 (insertMark): Removed.
14630 (garbageCollect): New method. Cleans up the marks list.
14631 (binarySearch): Removed.
14633 2006-06-20 Lillian Angel <langel@redhat.com>
14635 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14636 (drawImage): Added call to updateColor because
14637 Cairo seems to lose the current color.
14639 2006-06-20 Gary Benson <gbenson@redhat.com>
14641 * java/awt/Toolkit.java: Add security check.
14642 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14643 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14645 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14647 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14648 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14649 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14650 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14651 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14652 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14653 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14654 * gnu/java/security/key/dss/FIPS186.java: Likewise.
14655 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14656 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14657 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14658 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14659 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14660 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14661 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14662 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14663 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14664 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14665 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14667 2006-06-19 Lillian Angel <langel@redhat.com>
14669 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14670 (drawImage): Should always use getRGB to get the pixels.
14671 getData returns an incorrect array of pixels.
14673 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14675 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14676 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14677 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14678 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14679 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14680 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14681 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14682 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14683 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14684 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14685 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14686 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14687 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14688 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14689 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14690 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14691 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14692 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14693 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14694 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14695 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14696 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14697 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14698 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14699 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14700 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14701 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14702 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14703 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14704 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14705 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14706 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14707 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14708 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14709 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14710 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14712 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14714 * NEWS: Updated (delayed) for security tools and tools.texinfo.
14716 2006-06-19 Roman Kennke <kennke@aicas.com>
14718 * gnu/java/awt/peer/gtk/ComponentGraphics.java
14719 (drawImage): Clip volatile image correctly.
14720 (drawVolatileImage): Added arguments for clipping.
14721 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14722 (drawVolatileImage): Added arguments for clipping. Clip image
14724 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14726 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14729 * java/rmi/server/UID.java (constructor): Synchronized
14730 the whole constructor on the UID class.
14732 2006-06-19 Roman Kennke <kennke@aicas.com>
14734 * javax/swing/RepaintManager.java
14735 (addInvalidComponent): Only add component that are displayable,
14736 that have displayable parents and that have a validateRoot.
14737 Also, don't validate components that have a CellRendererPane
14740 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
14742 * javax/swing/plaf/IconUIResource.java
14743 (IconUIResource): Throw IllegalArgumentException for null icon.
14745 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14748 * java/rmi/server/UID.java (constructor): First increment
14749 uidCounter, and then use the value.
14751 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
14753 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14754 * java/awt/GridBagConstraints.java: Indent.
14756 2006-06-18 Tom Tromey <tromey@redhat.com>
14758 * native/jni/gconf-peer/.cvsignore: New file.
14760 2006-06-18 Tom Tromey <tromey@redhat.com>
14762 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14763 Also handle short options.
14765 2006-06-18 Jim Huang <jserv@kaffe.org>
14767 PR classpath/28076:
14768 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14771 2006-06-19 Mark Wielaard <mark@klomp.org>
14773 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14774 on gnu/java/util/prefs/gconf/%.class.
14775 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14776 chache typo, should be cache.
14777 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14779 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14781 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14782 Don't return a value for void function.
14783 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14785 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14786 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
14788 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14789 Mark clazz ad unused.
14791 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14793 * gnu/java/security/hash/Whirlpool.java: Source formatting.
14794 * gnu/java/security/hash/Tiger.java: Likewise.
14795 * gnu/java/security/hash/Sha512.java: Likewise.
14796 * gnu/java/security/hash/Sha384.java: Likewise.
14797 * gnu/java/security/hash/Sha256.java: Likewise.
14798 * gnu/java/security/hash/Sha160.java: Likewise.
14799 * gnu/java/security/hash/RipeMD160.java: Likewise.
14800 * gnu/java/security/hash/RipeMD128.java: Likewise.
14801 * gnu/java/security/hash/MD5.java: Likewise.
14802 * gnu/java/security/hash/MD4.java: Likewise.
14803 * gnu/java/security/hash/MD2.java: Likewise.
14804 * gnu/java/security/hash/IMessageDigest.java: Likewise.
14805 * gnu/java/security/hash/Haval.java: Likewise.
14806 * gnu/java/security/hash/HashFactory.java: Likewise.
14807 * gnu/java/security/hash/BaseHash.java: Likewise.
14809 2006-06-18 Sven de Marothy <sven@physto.se>
14811 * java/awt/event/KeyEvent.java:
14812 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14813 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14814 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14816 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14818 * gnu/java/security/util/Prime2.java: Removed.
14819 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14820 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14821 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14822 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14823 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14824 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14825 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14826 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14827 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14828 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14829 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14830 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14832 2006-06-18 Sven de Marothy <sven@physto.se>
14834 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14835 * java/awt/font/TextMeasurer.java: Fix copyright date,
14836 remove commented-out code.
14838 2006-06-18 Sven de Marothy <sven@physto.se>
14840 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14841 (FreetypeGlyphVector, clone): Implement cloning.
14842 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14843 * java/awt/font/TextMeasurer.java: Implement.
14844 * java/awt/font/LineBreakMeasurer.java:
14845 Reimplement to use TextMeasurer.
14846 * java/awt/font/TextLayout.java
14848 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14849 (getText, getFont): New private static methods.
14850 (setCharIndices): New method.
14851 * java/text/AttributedString.java
14852 (AttributedString): Fix constructor to stop at end point.
14854 2006-06-17 Tom Tromey <tromey@redhat.com>
14856 * lib/gen-classlist.sh.in: Search all top-level directories, not
14857 just 'org', in external.
14859 2006-06-12 Mario torre <neugens at limasoftware.net>
14861 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14862 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14863 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14864 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14866 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14867 * configure.ac: update to introduce new files. Added options
14868 to build gconf native peer used by the GConf preference backend.
14869 * include/Makefile.am: update to introduce new files.
14870 * native/jni/Makefile.am update to introduce new files.
14871 * scripts/check_jni_methods.sh: added three new ignored file
14873 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14874 build gconf-peer shared library.
14876 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14878 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14879 Use Integer.valueOf() instead of new Integer().
14880 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14881 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14882 * gnu/java/security/util/Sequence.java: Likewise.
14883 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14884 * gnu/java/security/x509/X509Certificate.java: Likewise.
14885 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14886 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14887 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14888 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14889 * gnu/javax/crypto/cipher/DES.java: Likewise.
14890 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14891 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14892 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14893 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14894 * gnu/javax/crypto/cipher/Square.java: Likewise.
14895 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14896 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14897 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14898 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14899 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14900 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14901 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14902 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14903 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14904 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14905 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14906 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14907 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14908 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14909 * gnu/javax/crypto/mac/UHash32.java: Likewise.
14910 * gnu/javax/crypto/mac/UMac32.java: Likewise.
14911 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14912 * gnu/javax/crypto/mode/EAX.java: Likewise.
14913 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14914 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14915 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14916 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14917 * java/security/cert/X509CertSelector.java: Likewise.
14919 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
14921 * javax/management/DynamicMBean.java:
14922 (setAttribute): Fixed to return void.
14923 * javax/management/MBeanFeatureInfo.java:
14926 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14928 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14929 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14930 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
14931 into engineInitHandler and reuse the code in
14932 engineInit(int, Key, AlgorithmSpec, SecureRandom).
14933 (engineInitHandler): New method.
14934 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
14935 null, use random or default information when possible.
14937 2006-06-16 Francis Kung <fkung@redhat.com>
14939 * examples/gnu/classpath/examples/swing/Demo.java:
14940 (mkButtonBar): Rename FillRect to JNIOverhead.
14941 (mkMenuBar): Rename FillRect to JNIOverhead.
14942 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
14943 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
14944 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
14945 Moved from old FillRect.
14947 2006-06-16 Tom Tromey <tromey@redhat.com>
14949 * tools/.cvsignore: Added new tool names.
14951 2006-06-16 Keith Seitz <keiths@redhat.com>
14953 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
14954 instantiation so that EventManager is created when getDefault
14956 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
14959 2006-06-16 Keith Seitz <keiths@redhat.com>
14961 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
14962 (_initCount): New field.
14963 (Jdwp): Don't set isDebugging until fully initialized.
14964 (subcomponentInitialized): New method.
14965 (run): Wait for PacketProcessor and JdwpConnection to
14966 startup, then set isDebugging, and then let this thread
14968 * gnu/classpath/jdwp/transport/JdwpConnection.java
14969 (run): Add synchronization notification.
14970 * gnu/classpath/jdwp/processor/PacketProcessor.java
14973 2006-06-16 Tom Tromey <tromey@redhat.com>
14975 * NEWS: Updated for JSR 166.
14977 2006-06-16 Tom Tromey <tromey@redhat.com>
14979 * lib/Makefile.am (compile_classpath): Added jsr166.
14980 * configure.ac: Added external/jsr166/Makefile.
14981 * external/Makefile.am (SUBDIRS): Added jsr166.
14982 * external/jsr166/Makefile.am: New file.
14983 * lib/gen-classlist.sh.in: Look in external/jsr166.
14985 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
14987 * gnu/classpath/jdwp/event/ExceptionEvent:
14988 Added Object instance to javadoc in constructor
14989 * gnu/classpath/jdwp/event/MethodEntryEvent:
14991 * gnu/classpath/jdwp/event/MethodExitEvent:
14993 * gnu/classpath/jdwp/event/SingleStepEvent:
14996 2006-06-16 Tom Tromey <tromey@redhat.com>
14998 Imported JSR 166 reference implementation:
14999 * .classpath: Added external/jsr166.
15000 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15001 * java/util/AbstractQueue.java: Removed.
15002 * java/util/Queue.java: Removed.
15003 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15004 (runPeriodic): Added explicit cast.
15005 * external/jsr166/java/util/ArrayDeque.java (clone): Use
15008 2006-06-16 Tom Tromey <tromey@redhat.com>
15010 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15012 (getCallerClass): Now static.
15013 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15015 2006-06-16 Lillian Angel <langel@redhat.com>
15017 * java/awt/FileDialog.java
15018 (FileDialog): Added @since tag to API docs.
15019 (FileDialog): Likewise.
15020 (FileDialog): Likewise.
15021 * java/awt/Font.java:
15022 Added @since tag to TYPE1_FONT field docs.
15023 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15024 (isThumbRollover): Likewise.
15025 (setThumbRollover): Likewise.
15026 (getSupportsAbsolutePositioning): Likewise.
15027 * javax/swing/plaf/basic/BasicSliderUI.java:
15028 (isDragging): Likewise.
15030 2006-06-16 Lillian Angel <langel@redhat.com>
15032 * java/awt/FileDialog.java
15033 (FileDialog): Implemented.
15034 (FileDialog): Implemented.
15035 (FileDialog): Implemented.
15036 * java/awt/Font.java:
15037 Added TYPE1_FONT constant field.
15039 2006-06-16 Lillian Angel <langel@redhat.com>
15041 * java/awt/font/TextLayout.java:
15042 Removed unneeded imports.
15043 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15044 Added new thumbRollover field.
15045 (mouseMoved): Added code to set thumbRollover field.
15046 (isThumbRollover): New function.
15047 (setThumbRollover): New function.
15048 (getSupportsAbsolutePositioning): Implemented. This
15049 needs to be changed once the feature has been
15051 * javax/swing/plaf/basic/BasicSliderUI.java:
15052 Added new dragging field.
15053 (mouseDragged): Initialized dragging field.
15054 (isDragging): New function.
15055 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15056 (focusGained): Marked as not implemented.
15057 (focusLost): Likewise.
15059 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15061 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15062 Added check for null ThreadId to avoid null pointer
15065 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15067 * javax/swing/DefaultComboBoxModel.java
15068 (removeElementAt): Set new selected item by calling setSelectedItem().
15070 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15072 * javax/swing/DefaultButtonModel.java
15073 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15075 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15077 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15078 (ListDataEvent): Handle case where index0 > index1,
15079 (toString): Implemented.
15081 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15083 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15084 (update): Added subexpression to if-statement.
15086 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15088 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15089 (installDefaults): Removed unneccessary code.
15090 (paint): Removed complex if-cascade, revert to default icon if
15091 icon property is not set.
15092 (getPreferredSize): New method.
15094 2006-06-16 Roman Kennke <kennke@aicas.com>
15097 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15098 (drawImage): Don't use setClip() but instead clipRect() to
15099 intersect the current clip with a new one.
15101 2006-06-15 Tom Tromey <tromey@redhat.com>
15103 * scripts/sanitize-jsr166: New file.
15104 * external/jsr166/IMPORTING: New file.
15105 * vm/reference/sun/reflect/Reflection.java: New file.
15106 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15107 * vm/reference/sun/misc/Unsafe.java: ...here.
15109 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15111 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15112 gjarsigner and keytool to gkeytool.
15113 * doc/tools.texinfo: Add note about tool exectable names.
15114 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15115 jarsigner to gjarsigner and keytool to gkeytool.
15116 * tools/appletviewer.in: Rename ...
15117 * tools/gappletviewer.in: New file.
15118 * tools/jarsigner.in: Rename ...
15119 * tools/gjarsigner.in: New file.
15120 * tools/keytool.in: Rename ...
15121 * tools/gkeytool.in: New file.
15122 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15124 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15126 * javax/management/AttributeList.java:
15127 Add serialization UID.
15128 * javax/management/DynamicMBean.java:
15130 * javax/management/JMRuntimeException.java:
15131 Add serialization UID and correct name
15132 of serialized field.
15133 * javax/management/MBeanInfo.java: New file.
15135 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15137 * javax/management/AttributeList.java,
15138 * javax/management/JMRuntimeException.java,
15139 * javax/management/RuntimeOperationsException.java:
15142 2006-06-15 Lillian Angel <langel@redhat.com>
15144 * java/awt/font/TextLayout.java:
15145 DEFAULT_CARET_POLICY changed to be public static final.
15147 2006-06-15 Tania Bento <tbento@redhat.com>
15149 * javax/swing/plaf/metal/MetalScrollButton.java
15150 (MetalScrollButton): Should set 'focusable' to false.
15152 2006-06-15 Tania Bento <tbento@redhat.com>
15154 * javax/swing/plaf/basic/BasicArrowButton.java
15155 (BasicArrowButton): Should set 'focusable' to false.
15156 (BasicArrowButton): Should set 'focusable' to false.
15158 2006-06-15 Mark Wielaard <mark@klomp.org>
15160 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15161 (getGraphicsConfiguration): Return default screen device.
15162 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15164 (GtkVolatileImage): Record initiating component.
15165 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15166 (getDeviceConfiguration): Return configuration of image component.
15168 2006-06-15 Mark Wielaard <mark@klomp.org>
15170 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15173 2006-06-15 Mark Wielaard <mark@klomp.org>
15175 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15176 with null argument.
15178 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15180 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15181 (matches): Added explicit brackets to return statement.
15183 2006-06-15 Tania Bento <tbento@redhat.com>
15185 * javax/swing/JRadioButtonMenuItem.java
15186 (JRadioButtonMenuItem): Should set 'focusable' to false.
15188 2006-06-15 Tania Bento <tbento@redhat.com>
15190 * javax/swing/JCheckBoxMenuItem.java
15191 (JCheckBoxMenuItem): Should set 'focusable' to false.
15193 2006-06-15 Tania Bento <tbento@redhat.com>
15195 * javax/swing/AbstractButton.java:
15196 (AbstractButton): 'Focusable' should be set to true and not false.
15198 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15200 * java/lang/management/ManagementFactory.java:
15201 Add private constructor to prevent instance creation.
15202 * java/lang/management/ManagementPermission.java:
15205 2006-06-15 Francis Kung <fkung@redhat.com>
15207 * javax/swing/plaf/basic/BasicArrowButton.java:
15208 (BasicArrowButton): move client property for not triggering out
15210 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15211 (configureArrowButton): set client property for not triggering
15212 (installUI): set client property for not triggering
15213 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15214 (PopupHelper.mousePressed): check client property for triggering
15216 2006-06-15 Roman Kennke <kennke@aicas.com>
15219 * javax/swing/RepaintManager.java
15220 (blitBuffer): Substract coordinates the other way around.
15222 2006-06-15 Roman Kennke <kennke@aicas.com>
15225 * javax/swing/JComponent.java
15226 (paintImmediately2): Only paint component without double buffering
15227 when all of it's parents have also double buffering disabled.
15228 (isPaintingDoubleBuffered): New helper method.
15230 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15232 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15233 (draw(Shape)): Pass null transform to getPathIterator(),
15234 (getClip): Likewise,
15235 * gnu/java/print/PostscriptGraphics2D.java
15236 (drawStringShape): Pass null transform to getPathIterator(),
15237 (writeShape): Likewise,
15238 * java/awt/Shape.java: Small updates to API docs.
15240 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15242 * javax/naming/InitialContext.java:
15243 (list(javax.naming.Name)): Fixed generic type.
15244 (list(String)): Likewise.
15245 (listBindings(javax.naming.Name)): Likewise.
15246 (listBindings(String)): Likewise.
15248 2006-06-14 Roman Kennke <kennke@aicas.com>
15250 * javax/swing/plaf/basic/BasicComboBoxUI.java
15251 (getAccessibleChildrenCount): Implemented.
15252 (getAccessibleChild): Implemented.
15253 (isNavigationKey): Implemented.
15254 (KeyHandler.keyPressed): Implemented.
15256 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15258 * java/lang/management/ManagementPermission.java:
15259 Added serialization UID.
15260 * javax/management/Attribute.java: Likewise.
15261 * javax/management/MBeanException.java,
15262 * javax/management/ReflectionException.java:
15263 Added serialization UID and changed to extend
15264 javax.management.JMException.
15266 2006-06-14 Lillian Angel <langel@redhat.com>
15268 * java/awt/Component.java
15269 (ignoreOldMouseEvents): Made static.
15270 (translateEvent): Made static.
15271 * java/awt/TextComponent.java
15272 (ignoreOldMouseEvents): Made static.
15274 2006-06-14 Mark Wielaard <mark@klomp.org>
15276 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15278 (drawRect): Likewise.
15279 (fillRect): Likewise.
15281 2006-06-14 Lillian Angel <langel@redhat.com>
15283 * java/awt/Component.java
15284 (ignoreOldMouseEvents): New helper function.
15285 (translateEvent): Changed to be non-static and use new helper.
15286 * java/awt/TextComponent.java
15287 (ignoreOldMouseEvents): New helper function.
15289 2006-06-14 Roman Kennke <kennke@aicas.com>
15291 * javax/swing/RepaintManager.java
15292 (MERGE_REGIONS): New constant flag.
15293 (commitBuffer): Exclude the merging of regions by default. This
15294 was causing painting artifacts in some applications, especially
15295 when different areas of the GUI are updated synchronously.
15297 2006-06-14 Roman Kennke <kennke@aicas.com>
15299 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15300 New file. This is a benchmark for AWT 1.1 style graphics operations.
15301 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15302 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15304 2006-06-14 Tom Tromey <tromey@redhat.com>
15306 * java/io/File.java (getParent): Javadoc fix.
15308 2006-06-14 Tom Tromey <tromey@redhat.com>
15310 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15312 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15313 when index entry does not exist.
15315 2006-06-14 Tania Bento <tbento@redhat.com>
15317 * javax/swing/AbstractButton.java
15318 (AbstractButton): Set focusable to false, not true.
15320 2006-06-14 Tania Bento <tbento@redhat.com>
15322 * javax/swing/JMenuItem.java
15323 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15325 2006-06-14 Tania Bento <tbento@redhat.com>
15327 * javax/swing/JCheckBoxMenuItem.java
15328 (JCheckBoxMenuItem): Added check to set the selected state.
15330 2006-06-14 Roman Kennke <kennke@aicas.com>
15332 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15333 (cairoDrawLine): New native method.
15334 (cairoDrawRect): New native method.
15335 (cairoFillRect): New native method.
15336 (drawLine): Use special native method.
15337 (drawRect): Use special native method.
15338 (fillRect): Use special native method.
15339 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15340 (cairoDrawLine): New native method.
15341 (cairoDrawRect): New native method.
15342 (cairoFillRect): New native method.
15343 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15345 2006-06-14 Mark Wielaard <mark@klomp.org>
15347 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15348 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15349 cannot be allocated.
15351 2006-06-14 Tom Tromey <tromey@redhat.com>
15354 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15355 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15357 2006-06-14 Roman Kennke <kennke@aicas.com>
15359 * javax/swing/JComponent.java
15360 (isRepainting): New flag.
15361 (paintImmediately2): Set isRepainting flag.
15362 (getRoot): Removed obsolete method.
15363 (paintDoubleBuffered): Differenciate between paint calls from
15364 RepaintManager and from AWT refresh. Call
15365 RepaintManager.commitBuffer with this and local coordinates.
15366 (findOpaqueParent): Stop searching at heavyweight component. These
15368 (paintChildrenOptimized): Don't paint heavyweight children. These
15369 should care for themselves.
15370 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15371 should care for themselves.
15372 * javax/swing/RepaintManager.java
15373 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15375 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15376 toplevel windows only.
15377 (getRoot): Removed obsolete method.
15378 (commitBuffer): Blit buffer on nearest heavyweight.
15379 (blitBuffer): New helper method.
15380 (getHeavyweightParent): New helper method.
15381 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15382 * javax/swing/SwingUtilities.java
15383 (convertRectangleToAncestor): New helper method.
15385 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15387 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15388 Condition all trace/debug code based on Configuration.DEBUG.
15389 Use logger instead of STDOUT and ot STDERR.
15391 2006-06-13 Lillian Angel <langel@redhat.com>
15393 * native/plugin/gcjwebplugin.cc
15394 (NP_Initialize): Removed code to create whitelist file.
15395 (GCJ_New): Added code to create whitelist file.
15396 (plugin_user_trusts_documentbase): Fixed error message.
15398 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15400 * javax/swing/plaf/metal/MetalIconFactory.java
15401 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15402 prevent overwriting border,
15403 (VerticalSliderThumbIcon.gradientMask): Likewise.
15405 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15407 * javax/management/AttributeNotFoundException.java,
15408 * javax/management/InvalidAttributeValueException.java,
15409 * javax/management/JMException.java,
15410 * javax/management/MBeanException.java,
15411 * javax/management/OperationsException.java,
15412 * javax/management/ReflectionException.java:
15415 2006-06-13 Roman Kennke <kennke@aicas.com>
15417 * java/awt/Component.java
15418 (dispatchEvent): Handle events even when consumed (this might be
15419 picked up later in the dispatching chain).
15420 * javax/swing/plaf/basic/BasicLookAndFeel.java
15421 (PopupHelper.mousePressed): Don't consume event. Only close popup
15422 when target component isn't flagged as DONT_CANCEL_POPUP.
15423 (DONT_CANCEL_POPUP): New package private constant for flagging
15424 special components that don't trigger popup closing.
15425 * javax/swing/plaf/basic/BasicArrowButton.java
15426 (BasicArrowButton): Set client property for not triggering closing
15429 2006-06-13 Lillian Angel <langel@redhat.com>
15431 * java/awt/image/PixelGrabber.java
15432 (PixelGrabber): Added to API documentation.
15434 2006-06-13 Keith Seitz <keiths@redhat.com>
15436 From Kyle Galloway <kgallowa@redhat.com>:
15437 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15438 (ExceptionOnlyFilter): Allow null refId.
15440 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15441 compatibility with filters.
15442 (getParameter): Modified to allow access to above.
15444 2006-06-13 Sven de Marothy <sven@physto.se>
15446 * gnu/java/awt/peer/gtk/CairoSurface.java
15447 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15448 (create): Use stride in ints.
15450 2006-06-13 Keith Seitz <keiths@redhat.com>
15452 From Kyle Galloway <kgallowa@redhat.com>:
15453 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15455 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15457 * javax/swing/plaf/basic/BasicSliderUI.java
15458 (calculateThumbSize): Removed unnecessary code,
15459 (calculateThumbLocation): Shift position by one,
15460 (calculateTickRect): Shift position by one when ticks are displayed,
15461 (calculateLabelRect): Calculate rect differently according to whether
15462 or not the labels are visible,
15463 (paintTrack): Shift track down one pixel.
15465 2006-06-13 Lillian Angel <langel@redhat.com>
15467 * java/awt/image/PixelGrabber.java
15468 (PixelGrabber): Removed check to throw exception. JDK does
15470 (startGrabbing): Removed line to print stacktrace.
15472 2006-06-13 Mark Wielaard <mark@klomp.org>
15474 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15475 allocate unused AffineTransform. Add comment about conversion to
15477 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15478 Recognize identity transform as "easy". Always convert to
15479 BufferedImage before calling super.
15481 2006-06-13 Roman Kennke <kennke@aicas.com>
15483 * java/awt/Component.java
15484 (getGraphics): Translate child graphics correctly.
15485 (dispatchEvent): Only dispatch event if it hasn't been consumed
15486 yet by the global dispatcher.
15487 * javax/swing/plaf/basic/BasicLookAndFeel.java
15488 Added some API docs.
15489 (PopupHelper.mousePressed): Consume the event after closing
15492 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15494 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15496 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15497 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15498 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15499 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15500 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15501 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15502 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15503 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15504 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15505 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15506 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15507 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15508 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15509 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15510 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15511 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15513 2006-06-12 Sven de Marothy <sven@physto.se>
15515 * java/awt/font/LineBreakMeasurer.java): Implement.
15517 2006-06-12 Keith Seitz <keiths@redhat.com>
15519 From Kyle Galloway <kgallowa@redhat.com>:
15520 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15522 2006-06-12 Keith Seitz <keiths@redhat.com>
15524 From Kyle Galloway <kgallowa@redhat.com>:
15525 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15527 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15529 2006-06-12 Roman Kennke <kennke@aicas.com>
15531 * javax/swing/JComponent.java
15532 (paintDoubleBuffered): Correctly translate and clip the Graphics
15534 (clipAndTranslateGraphics): New helper method.
15536 2006-06-12 Roman Kennke <kennke@aicas.com>
15538 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15539 (copy): Use getClip() to copy the clip. Make copied transform
15540 null when original transform is null. Set clip here.
15541 (setTransform): Correctly update the clip.
15542 (setTransformImpl): New method. Updates the actual transform for
15544 (transform): Correctly update the clip.
15545 (translate): Correctly update the clip.
15546 (clip): Handle null clip and argument correctly.
15547 (clipRect): Avoid creating new Rectangle objects.
15548 (getClip): Get the correct copy of the clip.
15549 (setClip): Correctly handle null argument.
15550 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15551 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15552 be null or whatever has been set in copy().
15553 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15554 (drawImage): Add translation to the image coordinates.
15555 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15556 (VolatileImageGraphics): Don't set clip here. The clip can either
15557 be null or whatever has been set in copy().
15559 2006-06-12 Keith Seitz <keiths@redhat.com>
15561 From Kyle Galloway <kgallowa@redhat.com>:
15562 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15563 (forCaught): Removed unused/unnecessary method.
15564 (forUncaught): Likewise.
15565 (matches): Implement.
15567 2006-06-12 Keith Seitz <keiths@redhat.com>
15569 From Kyle Galloway <kgallowa@redhat.com>:
15570 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15572 2006-06-12 Keith Seitz <keiths@redhat.com>
15574 From Kyle Galloway <kgallowa@redhat.com>:
15575 * gnu/classpath/jdwp/event/Event.java: Added constants for
15577 (getParameter): Changed parameter type from Class to int.
15578 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15579 Changed from Class type to constants.
15580 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15582 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15584 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15586 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15588 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15590 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15592 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15594 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15596 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15599 2006-06-12 Lillian Angel <langel@redhat.com>
15601 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15602 (StandaloneAppletWindow): Changed title of standalone window.
15604 2006-06-12 Lillian Angel <langel@redhat.com>
15606 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15607 (layoutContainer): Added missing selectedComponent assignment.
15609 2006-06-12 Lillian Angel <langel@redhat.com>
15611 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15612 (layoutContainer): Added check to prevent exception.
15614 2006-06-12 Tom Tromey <tromey@redhat.com>
15616 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15618 2006-06-12 Mark Wielaard <mark@klomp.org>
15620 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15623 (lock): New method.
15624 (unlock): Likewise.
15625 (draw): Use lock() and unlock().
15627 (drawRenderedImage): Likewise.
15628 (drawImage): Likewise.
15629 (drawGlyphVector): Likewise.
15631 2006-06-12 Roman Kennke <kennke@aicas.com>
15633 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15634 (drawPixels): Include alpha in parameter list.
15635 (cairoFill): Include alpha in parameter list.
15636 (setComposite): Don't modify the color.
15637 (draw(Shape))): Use fill when the current composite has an alpha
15638 of != 1.0, so that the stroked shaped will be composited.
15639 (fill(Shape)): Call cairoFill() with alpha.
15640 (drawImage): Call drawPixels or drawSurface with alpha.
15641 (drawGlyphVector): When composite alpha is != 1.0, render the
15642 outline using fill() to enable compositing for text.
15643 (drawRaster): Call drawPixels with alpha.
15644 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15645 (nativeDrawSurface): Include alpha in parameter list.
15646 (drawSurface): Include alpha in parameter list. Pass it to
15647 nativeDrawSurface().
15648 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15649 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15652 (drawPixels): Handle possible alpha for compositing.
15653 (cairoFill): Likewise.
15654 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15655 (nativeDrawSurface): Handle possible alpha for compositing.
15657 2006-06-12 Mark Wielaard <mark@klomp.org>
15659 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15660 Notify data when completely done. Wait for worker thread to finish.
15661 Rethrow any pending exceptions.
15662 (exception): New field.
15663 (run): Store pending exception.
15665 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
15667 * java/lang/management/ManagementPermission.java:
15670 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15672 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15674 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15676 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15677 Use String.charAt().
15679 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15681 * doc/tools.texinfo
15682 (Applet Tools): New chapter.
15683 (appletviewer Tool): New section.
15684 (gcjwebplugin): New section.
15686 2006-06-11 Mark Wielaard <mark@klomp.org>
15688 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15689 Takes GdkPixbufWriter.
15690 (GdkPixbufWriter): Implements Runnable.
15691 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15693 (DATADONE): New static final field.
15695 (write(byte[])): New method.
15697 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15698 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15699 Get dataOutputWriteID from writeClass.
15700 (stream_save_request): Change stream field to writer.
15701 (save_to_stream): Remove FIXME, call writer.
15702 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15705 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
15708 Mention new VM interface and use of properties.
15709 * doc/vmintegration.texinfo:
15710 Update with new gnu.java.lang.management section.
15711 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15713 * java/lang/management/ManagementFactory.java:
15714 (getRuntimeMXBean()): Implemented.
15715 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15716 New VM interface file.
15718 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15721 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15722 debug code based on Configuration.DEBUG.
15723 Use logger instead of STDOUT and ot STDERR.
15724 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15725 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15726 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15727 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15728 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15729 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15730 * gnu/javax/crypto/pad/TBC.java: Likewise.
15731 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15732 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15733 * gnu/javax/crypto/pad/BasePad.java: Likewise.
15734 * gnu/javax/crypto/mac/OMAC.java: Likewise.
15735 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15736 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15737 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15738 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15739 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15740 * gnu/javax/crypto/keyring/Entry.java: Likewise.
15741 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15742 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15743 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15744 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15745 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15746 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15747 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15748 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15749 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15750 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15751 * gnu/java/security/Properties.java: Likewise.
15752 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15753 * gnu/java/security/x509/X509CRL.java: Likewise.
15754 * gnu/java/security/x509/ext/Extension.java: Likewise.
15755 * gnu/java/security/util/Prime2.java: Likewise.
15756 * gnu/java/security/util/Base64.java: Likewise.
15757 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15758 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15759 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15760 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15761 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15762 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15763 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15764 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15765 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15766 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15767 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15768 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15769 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15770 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15771 * gnu/java/security/hash/Whirlpool.java: Likewise.
15773 2006-06-11 Mark Wielaard <mark@klomp.org>
15775 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15776 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15777 Remove unused variable glyph_index.
15779 2006-06-11 Mark Wielaard <mark@klomp.org>
15781 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15782 Don't recurse, return false if not an BufferedImage and no image
15784 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15785 end_gdk_drawing() to finally block.
15787 (drawRenderedImage): Likewise.
15788 (drawImage): Likewise.
15789 (drawGlyphVector): Likewise.
15791 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15793 * doc/tools.texinfo: Added text for new -cacert command.
15794 Re-structured sections.
15795 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15796 for -cacert command.
15797 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15798 (_CACERT): Likewise.
15799 (shutdownThread): New field.
15800 (Main): Install shutdown thread.
15801 (main): Uninstall shutdown thread.
15802 (start): Handle new -cacert command.
15803 (getParser): Likewise.
15804 (teardown): Increased visibility.
15805 (ShutdownHook): New inner class.
15806 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15808 2006-06-11 Sven de Marothy <sven@physto.se>
15810 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15811 (setupGlyphMetrics): New method. Add glyphmetrics caching.
15812 (getOutline): Operate on the shape directly.
15813 * gnu/java/awt/peer/gtk/GdkFontPeer.java
15814 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15815 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15816 (getGlyph renamed getGlyphs)
15817 * java/awt/geom/AffineTransform.java
15818 (getTranslateInstance): Set fields directly.
15819 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15820 (getGlyphs): Get all glyph codes at once.
15822 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15825 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15827 2006-06-11 Sven de Marothy <sven@physto.se>
15829 * java/awt/font/TextLayout.java
15830 (getLogicalHighlightShape): Add check.
15831 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15832 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15834 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15836 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15837 Check that every component of 'cn' starts with a valid Java identifier char.
15839 2006-06-10 Tom Tromey <tromey@redhat.com>
15841 * java/io/File.java (pathSeparator): Typo fix.
15843 2006-06-10 Mark Wielaard <mark@klomp.org>
15845 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15847 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15848 Mark all unused parameters.
15849 (cp_gtk_get_cairo_t): Removed.
15850 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15851 Don't mix declerations and statements.
15852 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15853 Mark all unused parameters.
15854 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15855 Get cairographics2d pointer directly.
15856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15857 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15858 Use jlong to pass pointer.
15859 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15860 Mark all unused parameters.
15861 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15862 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15863 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15864 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15865 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15866 * include/java_io_VMFile.h: Regenerated.
15868 2006-06-10 Roman Kennke <kennke@aicas.com>
15870 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15871 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15872 instead of setClip(), so that an already present clip is intersected
15875 2006-06-10 Mark Wielaard <mark@klomp.org>
15877 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15878 Call getSize() to avoid accessor method.
15880 2006-06-10 Mark Wielaard <mark@klomp.org>
15882 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15883 Qualify ElementSpec.
15885 2006-06-10 Mark Wielaard <mark@klomp.org>
15887 * lib/.cvsignore: Add sun.
15888 * lib/Makefile.am (dist-hook): Likewise.
15890 2006-06-10 Roman Kennke <kennke@aicas.com>
15892 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15893 * gnu/java/awt/peer/gtk/CairoSurface.java
15894 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15895 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15896 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15897 * native/jni/gtk-peer/cairographics2d.h
15898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15899 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15900 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15901 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15902 Changed method signatures and calls to pass native pointers directly
15903 into the JNI code, in order to avoid costly lookups on each
15905 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15906 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15907 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15908 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15911 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15914 * javax/swing/text/DefaultStyledDocument.java
15915 (ElementBuffer.insertContentTag):
15916 Do not recreate leaves and do not remove elements here.
15918 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15920 * javax/swing/text/html/HTMLDocument.java
15921 (HTMLReader.HiddenAction): Implemented.
15923 2006-06-10 Roman Kennke <kennke@aicas.com>
15925 * javax/swing/RepaintManager.java
15926 (getVolatileOffscreenBuffer): Store the created buffer.
15927 * javax/swing/JComponent.java
15928 (paintDoubleBuffered): Try to use a volatile offscreen buffer
15929 for better performance.
15931 2006-06-10 Roman Kennke <kennke@aicas.com>
15933 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15934 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
15936 (getRealBounds): Overridden to return the correct bounds.
15938 2006-06-10 Roman Kennke <kennke@aicas.com>
15940 * javax/swing/plaf/metal/MetalButtonUI.java
15941 (update): Fixed to paint the gradient under the correct conditions.
15942 (updateWidthGradient): Removed.
15943 (isToolbarButton): New helper method.
15944 (isDrawingGradient): New helper method.
15946 2006-06-09 Roman Kennke <kennke@aicas.com>
15948 * javax/swing/JTabbedPane.java
15949 (setSelectedIndex): Don't change the visibility of the components,
15950 this is done by the UI class.
15951 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15952 (TabbedPaneLayout.layoutContainer): Change visibility of component
15953 here, depending on the selected index. Only do this if the new
15954 selected component is not null. Some programs seem to expect
15956 (visibleComponent): New field.
15957 (getVisibleComponent): Changed to return visibleComponent field.
15958 (setVisibleComponent): Changed to set the visibility of
15959 the old and new visible component.
15961 2006-06-09 Roman Kennke <kennke@aicas.com>
15963 * javax/swing/JComponent.java
15964 (paintChildrenOptimized): Paint component with a new Graphics
15965 object to protect the other painting code from modifications
15966 done in that object, and avoid cleanup ops on possibly dispose()ed
15969 2006-06-09 Sven de Marothy <sven@physto.se>
15971 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15972 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
15973 Use GTK locks while disposing (Xlib) surface.
15975 2006-06-09 Tom Tromey <tromey@redhat.com>
15977 * lib/Makefile.am (install-data-local): Copy 'sun' files.
15978 (uninstall-local): Delete 'sun' directory.
15979 (glibj.zip): Include 'sun' classes.
15980 (clean-local): Delete 'sun' directory.
15981 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
15983 2006-06-09 Roman Kennke <kennke@aicas.com>
15985 * gnu/java/awt/java2d/AbstractGraphics2D.java
15986 (drawImage): Fixed scaling.
15987 (fillShape): Removed offset handling.
15988 (fillShapeImpl): Limit scanlining to device bounds.
15989 (getSegments): Removed offset handling.
15990 * gnu/java/awt/java2d/PolyEdge.java
15991 (toString): Include isClip flag in output.
15993 2006-06-08 Sven de Marothy <sven@physto.se>
15995 * java/awt/font/TextLayout.java
15996 (getOutline): Allow null transform.
15998 2006-06-08 Sven de Marothy <sven@physto.se>
16000 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16001 (drawString): Use TextLayout instead of GlyphVector.
16003 2006-06-08 Sven de Marothy <sven@physto.se>
16005 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16006 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16007 New constructor for bidirectionality.
16008 (getGlyphMetrics): Return whitespace glyphs.
16009 (getLogicalBounds): Offset rectangles to correct positions.
16010 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16011 (getBaselineFor): Default to ROMAN_BASELINE.
16012 (GdkFontLineMetrics): Guess some values for underline and
16014 (layoutGlyphVector): Use bidirectionality.
16015 * java/awt/font/TextLayout.java: Implement, mostly.
16017 2006-06-09 Anthony Green <green@redhat.com>
16019 PR classpath/27888:
16020 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16021 * java/util/Collections.java (binarySearch): Use unsigned shift.
16022 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16024 2006-06-09 Tom Tromey <tromey@redhat.com>
16026 * tools/.cvsignore: Added .deps.
16028 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16030 PR classpath/27966:
16031 * gnu/javax/security/auth/login/ConfigFileParser.java
16032 (validateClassName): Quote '.' in regexp.
16034 2006-06-09 Tom Tromey <tromey@redhat.com>
16036 PR classpath/23863:
16037 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16039 * native/fdlibm/mprec.c: New version from newlib. Commented out
16040 some includes. Added <assert.h>.
16041 (_reent, _Bigint): New defines.
16042 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16043 (__ULong, __Long): New types.
16044 (_calloc_r): New function.
16045 (Balloc): Dynamically add new _freelist entries as needed.
16046 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16047 MAX_BIGNUMS to size _x[].
16048 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16049 _allocation_map, num. Added _max_k.
16051 2006-06-09 Roman Kennke <kennke@aicas.com>
16053 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16054 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16057 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16059 * java/awt/image/BufferedImage.java
16060 (BufferedImage(int, int, int)): Added API docs,
16061 (getProperty(String)): Return correct value for undefined properties,
16062 (getPropertyNames()): Added comments and removed FIXME.
16064 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16066 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16067 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16069 2006-06-09 Francis Kung <fkung@redhat.com>
16071 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16072 (getPreferredSize): Return correct height for null or empty
16075 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16077 * java/awt/datatransfer/DataFlavor.java
16078 (readExternal): Mark as stub,
16079 (writeExternal): Likewise,
16080 * java/awt/dnd/DropTargetContext.java
16081 (dropComplete): Mark as stub,
16082 (acceptDrag): Likewise,
16083 (rejectDrag): Likewise,
16084 (acceptDrop): Likewise,
16085 (rejectDrop): Likewise,
16086 (getCurrentDataFlavors): Likewise,
16087 (getTransferable): Likewise,
16088 * java/awt/dnd/DropTargetDropEvent.java
16089 (dropComplete): Mark as stub.
16091 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16093 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16094 (constructor): Do not lowercase the values.
16095 * javax/swing/text/html/HTMLDocument.java
16096 (HTMLReader.addSpecialElement): Implemented.
16097 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16099 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16101 On behalf of Matthew Wringe <mwringe@redhat.com>
16102 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16103 * gnu/javax/crypto/pad/ISO10126.java: New class.
16104 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16105 (getInstance): Added support for ISO-10126 scheme.
16106 (getNames): Likewise.
16107 Cache result for speed.
16109 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16111 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16112 flexible self-test by sub-classes.
16113 (test1BlockSize): New method.
16115 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16117 * javax/swing/plaf/basic/BasicLookAndFeel.java
16118 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16119 * javax/swing/plaf/basic/BasicScrollBarUI.java
16120 (installKeyboardActions): Implemented,
16121 (uninstallKeyboardActions): Implemented,
16122 (getInputMap): New method,
16123 (getActionMap): New method,
16124 (createActionMap): New method,
16125 (installUI): Call installKeyboardActions(),
16126 (uninstallUI): Call uninstallKeyboardActions().
16128 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16130 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16131 (getActionMap): Use correct key to store action map.
16133 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16135 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16136 (executeInstruction): Added NOT support.
16138 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16140 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16143 2006-06-08 Tom Tromey <tromey@redhat.com>
16145 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16148 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16150 * java/lang/management/RuntimeMXBean.java:
16153 2006-06-08 Lillian Angel <langel@redhat.com>
16155 * native/plugin/gcjwebplugin.cc:
16156 (NP_Shutdown): Freed whitelist_filename.
16158 2006-06-08 Lillian Angel <langel@redhat.com>
16160 * native/plugin/Makefile.am:
16161 Removed DATA_DIRECTORY.
16162 * native/plugin/gcjwebplugin.cc:
16163 Added new global fields for whitelist_file
16164 and data_directory. Removed WHITELIST_FILE.
16165 (NP_Initialize): Initialized new fields. Also,
16166 Changed to use new fields.
16167 (NP_Shutdown): Freed data_directory.
16168 (GCJ_New): Changed to use new fields.
16169 (plugin_ask_user_about_documentbase): Likewise.
16171 2006-06-08 Lillian Angel <langel@redhat.com>
16173 * native/plugin/Makefile.am:
16174 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16175 * native/plugin/gcjwebplugin.cc:
16176 Changed all instances of PLUGIN_DATA_DIRECTORY
16179 2006-06-08 Roman Kennke <kennke@aicas.com>
16181 * java/awt/LightweightDispatcher.java
16182 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16183 with convertPointToChild(). This is more efficient and avoids
16184 problems with getLocationOnScreen().
16185 (findTarget): Check for component beeing showing() early.
16186 Simplified AWTUtilities.convertPoint() to a simple substraction
16188 (convertPointToChild): New helper method.
16190 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16192 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16195 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16196 Lillian Angel <langel@redhat.com>
16198 * native/plugin/gcjwebplugin.cc
16199 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16200 Also, reset initialized field.
16202 2006-06-08 Lillian Angel <langel@redhat.com>
16204 * javax/swing/plaf/basic/BasicProgressBarUI.java
16205 (paintString): Fixed to paint string at the correct location.
16207 2006-06-08 Roman Kennke <kennke@aicas.com>
16209 * javax/swing/plaf/basic/BasicTreeUI.java
16210 (createDefaultActions): Added new actions.
16211 (TreePageAction.TreePageAction): Set action name.
16212 (TreePageAction.actionPerformed): Implemented.
16213 (TreePageAction.isEnabled): Implemented.
16214 (TreeToggleAction.TreePageAction): Set action name.
16215 (TreeToggleAction.actionPerformed): Implemented.
16216 (TreeToggleAction.isEnabled): Implemented.
16217 (TreeTraverseAction.TreeTraverseAction): Set action name.
16218 (TreeTraverseAction.actionPerformed): Use action name as command.
16219 (TreeTraverseAction.isEnabled): Implemented.
16221 2006-06-08 Roman Kennke <kennke@aicas.com>
16223 * javax/swing/plaf/basic/BasicTreeUI.java
16224 (installKeyboardActions): Rewritten to correctly install the UI
16225 input and action maps.
16226 (getActionMap): New helper method.
16227 (createDefaultActionMap): New helper method.
16228 (TreeHomeAction.TreeHomeAction()): Implemented.
16229 (TreeHomeAction.actionPerformed): Implemented.
16230 (TreeHomeAction.isEnabled): Implemented.
16231 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16232 (TreeIncrementAction.actionPerformed): Use action name as command.
16233 (TreeIncrementAction.isEnabled): Implemented.
16235 2006-06-08 Mark Wielaard <mark@klomp.org>
16238 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16239 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16242 2006-06-08 Mark Wielaard <mark@klomp.org>
16244 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16245 (attrs): Removed unused static.
16247 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16249 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16250 (getInputMap): New method,
16251 (getActionMap): New method,
16252 (createActionMap): New method,
16253 (installKeyboardActions): Implemented,
16254 (uninstallKeyboardActions): Implemented.
16256 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16258 * javax/swing/border/MatteBorder.java:
16259 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16261 (paintBorder): Added if-statement to abort painting early.
16263 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16266 * gnu/xml/dom/DomIterator.java:
16267 (successor): Changed expression.
16269 2006-06-08 Sven de Marothy <sven@physto.se>
16271 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16272 (defaultLayout): Do kerning.
16273 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16274 (getKerning): Correct class name, removed unused variable.
16276 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16278 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16279 libqtpeer.so unconditionally.
16281 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16283 * java/util/InputMismatchException.java:
16286 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16288 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16290 2006-06-07 Roman Kennke <kennke@aicas.com>
16292 * javax/swing/plaf/basic/BasicTreeUI.java
16293 (completeUIUninstall): Implemented.
16294 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16295 editing before uninstalling anything.
16296 (isToggleEvent): Implemented.
16297 (selectPathForEvent): Make use of isToggleEvent().
16298 (ComponentHandler.componentMoved): Implemented.
16299 (ComponentHandler.startTimer): Implemented.
16300 (ComponentHandler.getScrollPane): Implemented.
16301 (ComponentHandler.actionPerformed): Implemented.
16303 2006-06-07 Francis Kung <fkung@redhat.com>
16305 * javax/swing/JMenuBar.java:
16306 (getSubElements): Do not return null values.
16308 2006-06-07 Roman Kennke <kennke@aicas.com>
16311 * gnu/regexp/BacktrackStack.java
16312 * gnu/regexp/CharIndexed.java
16313 * gnu/regexp/CharIndexedCharArray.java
16314 * gnu/regexp/CharIndexedCharSequence.java
16315 * gnu/regexp/CharIndexedInputStream.java
16316 * gnu/regexp/CharIndexedString.java
16317 * gnu/regexp/CharIndexedStringBuffer.java
16318 * gnu/regexp/RE.java
16319 * gnu/regexp/REException.java
16320 * gnu/regexp/REFilterInputStream.java
16321 * gnu/regexp/REMatch.java
16322 * gnu/regexp/REMatchEnumeration.java
16323 * gnu/regexp/RESyntax.java
16324 * gnu/regexp/REToken.java
16325 * gnu/regexp/RETokenAny.java
16326 * gnu/regexp/RETokenBackRef.java
16327 * gnu/regexp/RETokenChar.java
16328 * gnu/regexp/RETokenEnd.java
16329 * gnu/regexp/RETokenEndOfPreviousMatch.java
16330 * gnu/regexp/RETokenEndSub.java
16331 * gnu/regexp/RETokenIndependent.java
16332 * gnu/regexp/RETokenLookAhead.java
16333 * gnu/regexp/RETokenLookBehind.java
16334 * gnu/regexp/RETokenNamedProperty.java
16335 * gnu/regexp/RETokenOneOf.java
16336 * gnu/regexp/RETokenPOSIX.java
16337 * gnu/regexp/RETokenRange.java
16338 * gnu/regexp/RETokenRepeated.java
16339 * gnu/regexp/RETokenStart.java
16340 * gnu/regexp/RETokenWordBoundary.java
16341 * gnu/regexp/UncheckedRE.java
16342 * gnu/java/util/regex/BacktrackStack.java
16343 * gnu/java/util/regex/CharIndexed.java
16344 * gnu/java/util/regex/CharIndexedCharArray.java
16345 * gnu/java/util/regex/CharIndexedCharSequence.java
16346 * gnu/java/util/regex/CharIndexedInputStream.java
16347 * gnu/java/util/regex/CharIndexedString.java
16348 * gnu/java/util/regex/CharIndexedStringBuffer.java
16349 * gnu/java/util/regex/RE.java
16350 * gnu/java/util/regex/REException.java
16351 * gnu/java/util/regex/REFilterInputStream.java
16352 * gnu/java/util/regex/REMatch.java
16353 * gnu/java/util/regex/REMatchEnumeration.java
16354 * gnu/java/util/regex/RESyntax.java
16355 * gnu/java/util/regex/REToken.java
16356 * gnu/java/util/regex/RETokenAny.java
16357 * gnu/java/util/regex/RETokenBackRef.java
16358 * gnu/java/util/regex/RETokenChar.java
16359 * gnu/java/util/regex/RETokenEnd.java
16360 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16361 * gnu/java/util/regex/RETokenEndSub.java
16362 * gnu/java/util/regex/RETokenIndependent.java
16363 * gnu/java/util/regex/RETokenLookAhead.java
16364 * gnu/java/util/regex/RETokenLookBehind.java
16365 * gnu/java/util/regex/RETokenNamedProperty.java
16366 * gnu/java/util/regex/RETokenOneOf.java
16367 * gnu/java/util/regex/RETokenPOSIX.java
16368 * gnu/java/util/regex/RETokenRange.java
16369 * gnu/java/util/regex/RETokenRepeated.java
16370 * gnu/java/util/regex/RETokenStart.java
16371 * gnu/java/util/regex/RETokenWordBoundary.java
16372 * gnu/java/util/regex/UncheckedRE.java
16373 Moved gnu.regexp classes to gnu.java.util.regex package.
16374 * java/util/regex/Matcher.java
16375 * java/util/regex/Pattern.java
16376 Adjusted import statements for new package name for gnu regexp.
16378 2006-06-07 Tom Tromey <tromey@redhat.com>
16380 PR classpath/27905:
16381 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16382 Added missing charsets.
16383 (charsetForName): Don't check 'extendedLoaded'.
16385 2006-06-07 Roman Kennke <kennke@aicas.com>
16388 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16389 (clip(Shape)): Implemented correctly, so that the current shape
16390 gets intersected by the parameter shape.
16392 2006-06-07 Lillian Angel <langel@redhat.com>
16394 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16395 (getTabBounds): If this method is called with a tab index
16396 that is not in the rects array, we need to re-layout the container
16399 2006-06-07 Lillian Angel <langel@redhat.com>
16401 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16402 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16403 * java/lang/String.java
16404 (codePointCount): Fixed check to match API. Shouldn't throw exception
16405 if end == count. end is 1 more than the endIndex, so end == count is
16408 2006-06-07 Gary Benson <gbenson@redhat.com>
16411 * native/jni/java-io/java_io_VMFile.c
16412 (Java_java_io_VMFile_toCanonicalForm): New method.
16413 * configure.ac: Added checks for lstat and readlink.
16414 * include/java_io_VMFile.h: Added new method.
16415 * vm/reference/java/io/VMFile.java: Use new method.
16416 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16417 * NEWS: Documented the above.
16418 * java/io/File.java: Javadoc fix.
16420 2006-06-07 Roman Kennke <kennke@aicas.com>
16423 * javax/swing/JTree.java
16424 (JTree()): Initialize with default model.
16425 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16426 on the updateUI() / setModel() order.
16427 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16429 * javax/swing/plaf/basic/BasicTreeUI.java
16430 (BasicTreeUI()): Initialize listeners in installListeners().
16431 (setModel): Complete editing on model change. Correctly resetup
16432 the listeners. Update the layout cache accordingly.
16433 (setShowRootHandles): Complete editing and update layout. Do not
16434 call back into the JTree, this could cause cycles.
16435 (prepareForUIInstall): Implemented. Moved some init code from
16436 installUI() to this method.
16437 (completeUIInstall): Implemented. Moved some init code from
16438 installUI() to this method.
16439 (createDefaultCellEditor): Check for type of renderer, and install
16440 with null renderer when not DefaultTreeCellRenderer.
16441 (updateLayoutCacheExpandedNodes): Added null check for tree root
16443 (updateRenderer): Call updateEditor().
16444 (installListeners): Initialize the listeners here. Added some null
16445 checks to avoid NPEs.
16446 (installUI): Moved some init code to prepareForUIInstall() and
16447 completeUIInstall().
16448 (completeEditing): Return immediately if editing component is null
16449 or if the setting is to not stop editing on complete editing.
16450 (checkForClickInExpandControl): Call handleExpandControlClick()
16451 instead of toggleExpandState() directly.
16452 (isLocationInExpandControl): Rewritten to correctly determine the
16453 expand click location.
16454 (MouseHandler.mousePressed): Rewritten to make better use of the
16455 instance methods of BasicTreeUI to handle the click.
16456 (PropertyHandler.propertyChange): Handle model and cell renderer
16458 * javax/swing/tree/DefaultTreeCellEditor.java
16459 (DefaultTreeCellEditor): Removed initialization of the icon. This
16460 is done so that the constructor can deal with null renderer as the
16461 RI does. Maybe this needs more fixing.
16462 * javax/swing/tree/TreePath.java
16463 (isDescendant): Fixed this method. The previous version did too
16464 much and compared the wrong things, which lead to a ClassCastException
16466 * javax/swing/tree/VariableHeightLayoutCache.java
16467 (update): Do nothing when model is null.
16468 (setModel): Clear the tables and update the layout. Added null
16469 check to prevent NPE.
16471 2006-06-07 Sven de Marothy <sven@physto.se>
16473 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16475 2006-06-07 Sven de Marothy <sven@physto.se>
16477 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16478 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16479 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16482 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16483 (getGlyphVector): Removed native method.
16484 (createGlyphVector, getStringBounds): Use new GV class.
16486 * include/Makefile.am
16487 * native/jni/gtk-peer/Makefile.am
16490 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16491 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16492 (getGlyphVector): Removed native method.
16494 2006-06-07 Chris Burdess <dog@gnu.org>
16496 * gnu/classpath/debug/TeeInputStream.java,
16497 gnu/classpath/debug/TeeOutputStream.java,
16498 gnu/classpath/debug/TeeReader.java,
16499 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16500 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16501 read more characters than absolutely necessary in tryRead method.
16503 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16505 * examples/gnu/classpath/examples/swing/Demo.java:
16506 (mkMenuBar): Put look and feel radio buttons into
16507 appropriate button group.
16509 2006-06-07 Chris Burdess <dog@gnu.org>
16511 * gnu/xml/stream/SAXParser.java,
16512 gnu/xml/stream/XMLParser.java: Add command line options for setting
16513 parsing parameters (for simpler debugging).
16514 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16515 closing output stream is propagated to application.
16517 2006-06-06 Mark Wielaard <mark@klomp.org>
16520 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16521 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16522 call disposeSurface.
16523 (disposeSurface): New native method.
16524 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16525 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16527 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16528 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16529 cairo_pattern_destroy.
16530 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16531 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16532 New function to destroy the surface.
16533 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16534 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16535 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16537 2006-06-06 Mark Wielaard <mark@klomp.org>
16539 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16542 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16544 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16545 (paint): If has focus, paint special background color,
16546 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16547 (FocusHandler.focusGained): Implemented,
16548 (FocusHandler.focusLost): Implemented.
16550 2006-06-06 Tom Tromey <tromey@redhat.com>
16552 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16554 (writeAttributeSet): Implemented.
16556 2006-06-06 Tom Tromey <tromey@redhat.com>
16558 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16560 (SpecialAction.end): Removed.
16561 (IsindexAction.end): Likewise.
16563 2006-06-06 Tom Tromey <tromey@redhat.com>
16565 * include/jni.h (JDK1_1InitArgs): New struct.
16566 (JDK1_1AttachArgs): Likewise.
16568 2006-06-06 Tom Tromey <tromey@redhat.com>
16570 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16572 (getUnresolvedName): New method.
16573 (getUnresolvedActions): New method.
16574 (getUnresolvedCerts): New method.
16576 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16578 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16579 (getColor): Removed debugging code.
16581 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16583 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16584 (getColor): Added support for "rgb(red, green, blue)" notation.
16585 (translateTag): Use Boolean.TRUE, not new Boolean().
16587 2006-06-06 Roman Kennke <kennke@aicas.com>
16590 * javax/swing/JTree.java
16591 (JTree(TreeModel)): Call updateUI() before setModel().
16592 (setModel): Don't call updateUI here.
16594 2006-06-06 Lillian Angel <langel@redhat.com>
16596 * native/plugin/gcjwebplugin.cc:
16597 Fixed failure message and commenting.
16598 (NP_Initialize): Added more comments.
16600 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16602 * javax/swing/JSplitPane.java
16603 (AccessibleJSplitPane): API doc fixes,
16604 (setDividerLocation): Likewise,
16605 * javax/swing/plaf/basic/BasicLookAndFeel.java
16606 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16607 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16608 (getInputMap): New method,
16609 (getActionMap): New method,
16610 (createActionMap): New method,
16611 (installKeyboardActions): Implemented,
16612 (uninstallKeyboardActions): Implemented.
16614 2006-06-06 Roman Kennke <kennke@aicas.com>
16617 * javax/swing/MenuSelectionManager.java
16618 (processKeyEvent): Added check to avoid
16619 ArrayIndexOutOfBoundsException.
16621 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16623 * gnu/javax/swing/text/html/htmlAttributeSet.java
16624 (getAttributeNames): Rewritten
16626 2006-06-06 Chris Burdess <dog@gnu.org>
16628 * gnu/xml/transform/TransformerImpl.java: Check type of created
16629 document (more cases).
16631 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16633 * gnu/javax/swing/text/html/htmlAttributeSet.java
16634 (clone): New method. (copyAttributes): New method.
16635 (getResolveParent): Comment fix. (getAttribute):
16636 Rewritten. (addAttribute): Rewritten.
16637 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16640 2006-06-06 Roman Kennke <kennke@aicas.com>
16643 * javax/swing/JMenuBar.java
16644 (processKeyBindingHelper): Added null check to prevent NPE.
16646 2006-06-06 Roman Kennke <kennke@aicas.com>
16648 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16649 (ShowSystemMenuAction): New class.
16650 (installKeyboardActions): Implemented.
16651 (uninstallKeyboardActions): Implemented.
16652 * javax/swing/plaf/metal/MetalInternalFrameUI.java
16653 (installKeyboardActions): Overridden to remove showSystemMenu action.
16655 2006-06-06 Chris Burdess <dog@gnu.org>
16657 * gnu/xml/transform/TransformerImpl.java: Check type of created
16660 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16662 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16663 (getScreenDevices): Added explicit cast.
16665 2006-06-06 Roman Kennke <kennke@aicas.com>
16667 * javax/swing/plaf/basic/BasicTextUI.java
16668 (installKeyboardActions): Use shared input map. Correctly
16669 install the input/action maps in the component's input/action
16671 (getActionMap): New helper method for fetching an ActionMap from
16672 the UIManager or creating a default one if there is none supplied
16674 (createActionMap): Add the TransferHandler's actions here. Made
16676 (getInputMap): Leave out unnecessary method parameter. Load
16678 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16680 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16682 * configure.ac: Added missing [ to expression.
16684 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16686 * configure.ac: Added missing { to expression.
16688 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16690 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16691 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16692 * include/Makefile.am: Added
16693 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16694 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16695 (GdkGraphicsConfiguration): Rewritten.
16696 (getColorModel): Rewritten.
16697 (getColorModel(int)): Rewritten.
16698 (getBounds): Rewritten.
16699 (createCompatibleVolatileImage): Implemented.
16700 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16702 (getDefaultScreenDevice): Rewritten.
16703 (nativeGetDefaultScreenDevice): New method.
16704 (getScreenDevices): Rewritten.
16705 (nativeGetScreenDevices): New method.
16706 (nativeInitState): New method.
16707 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16709 (X11DisplayMode): New inner class.
16710 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16711 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16712 * native/jni/gtk-peer/gdkdisplay.h: New file.
16713 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16714 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16716 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16718 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16719 _nativeGetScreenDevices):
16721 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16722 _nativeGetDefaultScreenDevice):
16724 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16726 * configure.ac: Added check for Xrandr library.
16728 2006-06-06 Roman Kennke <kennke@aicas.com>
16730 * javax/swing/plaf/basic/BasicTableUI.java
16731 (getMaximumSize): Don't return null. Fixed calculation of
16733 (getMinimumSize): Don't return null. Fixed calculation of
16735 (getPreferredSize): Fixed calculation of with and height. Added
16737 (getHeight): New helper method.
16739 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16741 * javax/swing/JComponent.java
16742 (getInputMap(int)): Throw IllegalArgumentException for unknown
16743 condition argument, and added API docs,
16744 (getInputMap()): Added API docs.
16746 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16748 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16750 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16752 * javax/swing/JTable.java
16753 (AccessibleJTableHeaderCell.header): New field,
16754 (AccessibleJTableHeaderCell.columnIndex): Likewise,
16755 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16756 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16757 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16758 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16759 (AccessibleJTable.getAccessibleChild(int)): Overridden,
16760 (AccessibleJTable.getAccessibleAt): Reimplemented.
16762 2006-06-05 Sven de Marothy <sven@physto.se>
16764 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16765 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16766 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16767 (initFromVolatile): New method.
16768 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16769 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16771 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16772 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16773 (copyArea, drawVolatileImage): New methods.
16775 2006-06-05 Tania Bento <tbento@redhat.com>
16777 * javax/swing/JFrame.java
16778 (frameInit): Set background color and fixed layout parameters.
16780 2006-06-05 Tom Tromey <tromey@redhat.com>
16782 * NEWS: Mention VMURLConnection.
16784 2006-06-05 Lillian Angel <langel@redhat.com>
16786 * native/plugin/gcjwebplugin.cc:
16787 Added new field to keep track of initialization.
16788 (plugin_start_appletviewer): Fixed to return an error value, if
16789 an error was encountered when loading the appletviewer.
16790 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16792 (plugin_failed): New helper function. Shows a warning if the appletviewer
16793 has not been installed.
16794 (NP_Initialize): Added code to make sure this function is only called
16797 2006-06-05 Lillian Angel <langel@redhat.com>
16799 * native/plugin/Makefile.am:
16800 Fixed to use a set plugin directory in the .mozilla directory.
16801 All applet logs are now stored here, instead of /tmp.
16802 * native/plugin/gcjwebplugin.cc:
16803 Added new fields for security warning.
16804 (GCJ_NEW): Added code to generate a security warning for all pages
16805 that spawn an appletviewer. This warning asks the user if they trust
16806 the applet and if they would like to add it to a 'whitelist'. This
16807 whitelist keeps track of all the addresses the user would like
16808 to trust indefinitely.
16809 (plugin_user_trusts_documentbase): New helper function.
16810 (plugin_add_documentbase_to_whitelist): New helper function.
16811 (plugin_ask_user_about_documentbase): New helper function.
16812 (plugin_in_pipe_callback): Fixed check to determine if channel_error
16814 (plugin_start_appletviewer): Likewise.
16815 (plugin_create_applet_tag): Reset all fields to null after they have been
16817 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
16818 if channel_error has been set.
16819 (plugin_stop_appletviewer): Likewise.
16820 (NP_Initialize): Likewise. Also, added code to determine if directory and file
16823 2006-06-05 Francis Kung <fkung@redhat.com>
16826 * gnu/java/awt/peer/gtk/GtkImage.java
16827 (getSource): Added check to determine if in
16828 errorLoading state.
16829 * gnu/java/awt/peer/gtk/GtkToolkit.java
16830 (createImage): Added check to prevent NPE.
16832 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16834 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16835 Create the ImageView, when applicable.
16836 * gnu/javax/swing/text/html/CombinedAttributes.java,
16837 javax/swing/text/html/ImageView.java: New files.
16839 2006-06-05 Roman Kennke <kennke@aicas.com>
16842 * javax/swing/text/GapContent.java
16843 (setPositionsInRange): Compare with startIndex and endIndex
16844 rather than start and end.
16845 (dumpMarks): Only dump real marks.
16847 2006-06-05 Sven de Marothy <sven@physto.se>
16849 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16850 (ComponentGraphics): Use 0,0 as clip origin.
16852 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16854 * java/util/Formattable.java,
16855 * java/util/FormattableFlags.java,
16856 * java/util/Formatter.java:
16859 2006-06-04 Tom Tromey <tromey@redhat.com>
16861 * javax/naming/Context.java (list): Genericized.
16862 (listBindings): Likewise.
16863 * javax/naming/Reference.java (addrs): Genericized.
16864 * javax/naming/InitialContext.java (myProps): Fixed type.
16865 (init): Genericized.
16867 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16869 * java/util/DuplicateFormatFlagsException.java,
16870 * java/util/FormatFlagsConversionMismatchException.java,
16871 * java/util/FormatterClosedException.java,
16872 * java/util/IllegalFormatCodePointException.java,
16873 * java/util/IllegalFormatConversionException.java,
16874 * java/util/IllegalFormatException.java,
16875 * java/util/IllegalFormatFlagsException.java,
16876 * java/util/IllegalFormatPrecisionException.java,
16877 * java/util/IllegalFormatWidthException.java,
16878 * java/util/MissingFormatArgumentException.java,
16879 * java/util/MissingFormatWidthException.java,
16880 * java/util/UnknownFormatConversionException.java,
16881 * java/util/UnknownFormatFlagsException.java:
16884 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16886 * java/lang/System.java:
16887 (getenv()): Handle cases where split only
16888 returns an array of size 1.
16890 2006-06-04 Sven de Marothy <sven@physto.se>
16892 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16893 (createVolatileImage): Pass peer to VolatileImage constructor.
16894 * java/awt/Component.java
16895 (createVolatileImage): Call peer method directly.
16897 2006-06-04 Sven de Marothy <sven@physto.se>
16899 * gnu/java/awt/peer/gtk/CairoSurface.java
16900 (getFlippedBuffer): New method.
16901 (getGtkImage): Renamed method.
16902 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16903 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16904 Renamed getSharedImage to getGtkImage.
16905 * include/gnu_java_awt_peer_gtk_CairoSurface.h
16906 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16907 (getFlippedBuffer): New method
16908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16909 Avoid window casts.
16910 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16912 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16913 (drawVolatile): Add casts.
16914 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16915 (getOutline): Add casts.
16916 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16917 Comment out unused prototype.
16918 (getPixels): Add appropriate cast and comment out unused variable.
16920 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16922 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16923 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16924 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16925 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16926 (getSystemInstance): Fix javadoc @link.
16927 (counter): Increased visibility.
16928 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16929 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16930 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
16931 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
16932 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
16933 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
16934 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
16935 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
16936 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
16937 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
16938 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
16939 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
16940 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16941 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
16942 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16943 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
16944 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
16945 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
16946 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
16947 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
16948 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
16949 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
16950 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
16951 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
16952 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
16953 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
16954 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
16955 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
16956 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
16957 * gnu/javax/crypto/assembly/Direction.java: Likewise.
16958 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
16960 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16962 * gnu/java/security/PolicyFile.java: Updated copyright year.
16963 (logger): Increased visibility.
16964 * gnu/java/security/x509/Util.java: Updated copyright year.
16965 (hexDump): Fix javadoc @link.
16966 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
16967 Removed unused import.
16968 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
16969 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
16970 * gnu/java/security/util/ExpirableObject.java: Likewise.
16971 (destroy): Likewise.
16972 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
16973 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
16974 Updated copyright year.
16975 (checkCRL): Fix javadoc @param.
16977 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
16979 * java/lang/annotation/IncompleteAnnotationException.java:
16982 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
16984 * java/lang/ProcessBuilder.java:
16986 (environment): Create as a copy.
16987 * java/lang/System.java:
16988 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
16990 (EnvironmentMap.put(String,String)): Override superclass
16991 method with checks for nulls and non-Strings.
16993 2006-06-02 Sven de Marothy <sven@physto.se>
16995 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16996 (cairoPreserveClip, cairoResetClip): New methods.
16997 (setClip, clip): Reimplement.
16998 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16999 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17000 (cairoPreserveClip, cairoResetClip): New methods.
17002 2006-06-02 Sven de Marothy <sven@physto.se>
17004 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17005 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17008 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17009 (drawImage): Overloads for VolatileImage drawing.
17010 (drawVolatile): New method.
17011 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17012 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17013 (drawVolatile): New method.
17014 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17015 Unstub implementation.
17016 * include/Makefile.am
17017 * native/jni/gtk-peer/Makefile.am
17019 * native/jni/gtk-peer/gtkpeer.h
17022 2006-06-03 Roman Kennke <kennke@aicas.com>
17025 * javax/swing/plaf/basic/BasicTextUI.java
17026 (damageRange): Added null check to avoid NPE.
17028 2006-06-03 Roman Kennke <kennke@aicas.com>
17030 * javax/swing/text/PlainView.java
17031 (updateDamage): Check for valid longestLine and initialize if
17034 2006-06-03 Mark Wielaard <mark@klomp.org>
17036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17039 2006-06-02 Sven de Marothy <sven@physto.se>
17042 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17043 (copyArea): Implement.
17044 (copyAreaImpl, getRealBounds): New methods.
17045 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17046 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17047 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17048 (copyAreaImpl, getRealBounds): Implement.
17049 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17050 (nativeCopyArea): Reimplement.
17052 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17054 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17055 (XTEST_LIBS): New, substitute.
17056 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17058 2006-06-02 Roman Kennke <kennke@aicas.com>
17061 * javax/swing/text/PlainView.java
17062 (updateDamage): Rewritten for correct repainting and revalidating.
17063 (findLongestLine): New helper method.
17064 (getLineLength): New helper method.
17066 2006-06-02 Sven de Marothy <sven@physto.se>
17068 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17069 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17070 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17071 (nativeCopyArea): Change stride parameter to use # of ints.
17072 (setPixels): Add checks.
17073 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17074 (ComponentGraphics): Set background, clip.
17075 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17076 (Cairographics2D): Don't set clip.
17077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17080 2006-06-02 Lillian Angel <langel@redhat.com>
17083 * java/awt/DefaultKeyboardFocusManager.java
17084 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17085 to get the focused window.
17087 2006-06-01 Miriam Schuster <schmir11@web.de>
17089 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17090 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17092 2006-06-02 Roman Kennke <kennke@aicas.com>
17094 * javax/swing/JTable.java
17095 (columnSelectionChanged): Don't return when there's only one
17096 column (might still need repainting). Correctly calculate
17098 (valueChanged): Use return value of SwingUtilities.computeUnion
17101 2006-06-01 Keith Seitz <keiths@redhat.com>
17103 From Martin Platter <motse@complang.tuwien.ac.at>:
17104 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17105 (executeSet): Fix buffer underflow reading reference ID.
17106 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17107 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17108 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17109 (executeSuperclass): Handle case of Object with ID zero.
17111 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17113 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17114 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17115 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17116 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17117 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17118 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17119 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17120 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17121 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17122 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17123 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17125 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17127 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17128 (Command): Add the shutdown hook.
17129 (doCommand): Remove the shutdown hook.
17130 (ShutdownHook): New class.
17132 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17134 * tools/jarsigner.in: Use @VM_BINARY@.
17135 * tools/keytool.in: Likewise.
17137 2006-06-01 Sven de Marothy <sven@physto.se>
17139 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17140 (setColor): Update the cairo paint.
17142 2006-06-01 Mark Wielaard <mark@klomp.org>
17144 * java/util/logging/LogManager.java (createInstance): Always add
17145 original exception on warning.
17147 2006-06-01 Lillian Angel <langel@redhat.com>
17149 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17150 (prependCodebase): Fixed check. No dirname was ever considered to
17151 be a file, so every applet fell into the if-statement causing a lot
17152 of classloading problems with the applets.
17154 2006-06-01 Sven de Marothy <sven@physto.se>
17156 Patch submitted by Boris Dusek.
17157 * native/jni/qt-peer/qtmenupeer.cpp
17160 2006-06-01 Roman Kennke <kennke@aicas.com>
17162 * javax/swing/JTable.java
17163 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17164 why the behaviour is like it is.
17165 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17166 (AccessibleJTableHeader): New inner class.
17167 (AccessibleJTableHeaderCell): New inner class.
17168 (AccessibleJTable.lastSelectedRow): New field.
17169 (AccessibleJTable.lastSelectedColumn): New field.
17170 (AccessibleJTable.caption): New field.
17171 (AccessibleJTable.summary): New field.
17172 (AccessibleJTable.rowDescriptions): New field.
17173 (AccessibleJTable.columnDescriptions): New field.
17174 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17175 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17176 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17177 (AccessibleJTable.addAccessibleSelection): Implemented.
17178 (AccessibleJTable.removeAccessibleSelection): Implemented.
17179 (AccessibleJTable.clearAccessibleSelection): Implemented.
17180 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17181 (AccessibleJTable.valueChange): Implemented.
17182 (AccessibleJTable.tableRowsInserted): Implemented.
17183 (AccessibleJTable.tableRowsDeleted): Implemented.
17184 (AccessibleJTable.handleRowChange): New helper method.
17185 (AccessibleJTable.columnAdded): Implemented.
17186 (AccessibleJTable.columnMarginChanged): Implemented.
17187 (AccessibleJTable.columnMoved): Implemented.
17188 (AccessibleJTable.columnRemoved): Implemented.
17189 (AccessibleJTable.columnSelectionChanged): Implemented.
17190 (AccessibleJTable.handleColumnChange): New helper method.
17191 (AccessibleJTable.editingCanceled): Implemented.
17192 (AccessibleJTable.editingStopped): Implemented.
17193 (AccessibleJTable.getAccessibleRow): Implemented.
17194 (AccessibleJTable.getAccessibleColumn): Implemented.
17195 (AccessibleJTable.getAccessibleIndex): Implemented.
17196 (AccessibleJTable.getAccessibleCaption): Implemented.
17197 (AccessibleJTable.setAccessibleCaption): Implemented.
17198 (AccessibleJTable.getAccessibleSummary): Implemented.
17199 (AccessibleJTable.setAccessibleSummary): Implemented.
17200 (AccessibleJTable.getAccessibleRowCount): Implemented.
17201 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17202 (AccessibleJTable.getAccessibleAt): Implemented.
17203 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17204 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17205 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17206 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17207 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17208 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17209 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17210 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17211 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17212 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17213 (AccessibleJTable.isAccessibleSelected): Implemented.
17214 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17215 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17216 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17217 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17218 (getAccessibleContext): Register listeners for the accessibility
17219 class on the JTable.
17221 2006-06-01 Sven de Marothy <sven@physto.se>
17223 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17224 (setPaint): Scale +1 pixel larger.
17226 2006-06-01 Sven de Marothy <sven@physto.se>
17229 * gnu/java/awt/Buffers.java (getData): Reimplement.
17230 * gnu/java/awt/peer/gtk/CairoSurface.java
17231 (getElem, setElem): Call native methods.
17233 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17235 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17237 2006-06-01 Sven de Marothy <sven@physto.se>
17239 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17240 (drawImage): Check for zero size.
17241 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17242 (setFont): Declare new native method.
17243 (GdkTextLayout): Read some attributes.
17244 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17245 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17246 (setFont): New native method.
17248 2006-06-01 Sven de Marothy <sven@physto.se>
17250 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17251 (updateBufferedImage): Fix some errors.
17253 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17255 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17257 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17258 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17259 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17260 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17261 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17262 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17263 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17264 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17265 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17266 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17268 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17270 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17271 * javax/swing/JEditorPane.java: Likewise,
17272 * javax/swing/JFormattedTextField.java: Likewise,
17273 * javax/swing/JLayeredPane.java: Likewise,
17274 * javax/swing/JScrollPane.java: Likewise,
17275 * javax/swing/JSlider.java: Likewise,
17276 * javax/swing/JSpinner.java: Likewise,
17277 * javax/swing/JTree.java: Likewise,
17278 * javax/swing/JViewport.java: Likewise,
17279 * javax/swing/UIDefaults.java: Likewise,
17280 * javax/swing/UIManager.java: Likewise.
17282 2006-06-01 Sven de Marothy <sven@physto.se>
17284 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17285 (BufferedImageGraphics): Cache surfaces.
17286 (updateBufferedImage): Copy directly for certain color models.
17287 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17288 (drawImage): Reimplement.
17290 2006-06-01 Sven de Marothy <sven@physto.se>
17292 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17293 (setPixels): Don't swap, correct size.
17295 2006-05-31 Anthony Green <green@redhat.com>
17298 * java/net/InetSocketAddress.java: Defer getting the host
17299 name until somebody calls InetSocketAddress.getHostName().
17300 Fix "represenation" typo.
17302 2006-06-01 Sven de Marothy <sven@physto.se>
17304 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17305 (updateBufferedImage): Simplify.
17306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17307 (getPixels): Don't swap.
17309 2006-06-01 Sven de Marothy <sven@physto.se>
17311 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17312 (setGradient): Reimplement.
17314 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17316 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17317 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17318 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17319 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17320 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17322 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17325 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17327 * javax/swing/table/JTableHeader.java
17328 (getColumnHeaderRenderer): New method,
17329 (getAccessibleColumnHeaderRenderer): Delegate part to new
17330 getColumnHeaderRenderer() method,
17331 (getLocale): Implemented.
17333 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17335 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17336 (cp_gtk_grab_current_drawable): Rename
17337 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17338 cp_gtk_grab_current_drawable, remove static declaration.
17339 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17341 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17343 Remove prototype of
17344 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17345 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17347 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17348 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17349 cp_gtk_grab_current_drawable here.
17351 2006-05-31 Sven de Marothy <sven@physto.se>
17353 Should fix PR 27835
17354 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17355 (updateBufferedImage): Keep within image bounds.
17357 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17358 Andreas Tobler <a.tobler@schweiz.ch>
17360 * configure.ac: Check for libXrender when the GTK peers are
17361 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17363 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17364 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17365 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17367 2006-05-31 Lillian Angel <langel@redhat.com>
17369 * javax/swing/plaf/basic/BasicProgressBarUI.java
17370 (paintString): Implemented to paint the string vertically.
17372 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17374 * javax/swing/JTable.java
17375 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17376 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17378 (AccessibleJTable.getAccessibleTable()): Likewise,
17379 (getAccessibleContext): Create new context if required.
17381 2006-05-31 Roman Kennke <kennke@aicas.com>
17383 * javax/swing/JTabbedPane.java
17384 (AccessibleJTabbedPane.stateChanged): Implemented.
17385 (Page.getAccessibleStateSet): Implemented.
17386 (Page.getAccessibleIndexInParent): Implemented.
17387 (getAccessibleContext): Add AccessibleJTabbedPane object
17388 as ChangeListener to the JTabbedPane.
17390 2006-05-31 Roman Kennke <kennke@aicas.com>
17392 * javax/swing/JMenuItem.java
17393 (getAccessibleContext): Register accessible object as ChangeListener
17395 (AccessibleJMenuItem.armed): New field.
17396 (AccessibleJMenuItem.focusOwner): New field.
17397 (AccessibleJMenuItem.pressed): New field.
17398 (AccessibleJMenuItem.selected): New field.
17399 (stateChanged): Implemented.
17401 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17403 * javax/swing/ListSelectionModel.java: Added API docs all over.
17405 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17407 * examples/gnu/classpath/examples/swing/FillRect.java
17408 (paintComponent): Optionally paint lines rather than rectangles.
17409 (createContent): Added option to test line painting.
17411 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17413 * javax/swing/event/EventListenerList.java
17414 (getListenerList): Updated API docs.
17416 2006-05-30 Sven de Marothy <sven@physto.se>
17418 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17419 (drawImage): Clip scaled image to dest rectangle.
17421 2006-05-30 Sven de Marothy <sven@physto.se>
17423 * gnu/java/awt/peer/gtk/CairoSurface.java:
17424 (CairoSurface): Convert pixels properly.
17425 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17426 Remove commented-out lines.
17428 2006-05-30 Sven de Marothy <sven@physto.se>
17430 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17431 (drawImage): Use Toolkit to convert to BufferedImage.
17432 * gnu/java/awt/peer/gtk/CairoSurface.java
17433 (CairoSurface(GtkImage)): New Constructor.
17434 (getBufferedImage): New method.
17435 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17436 Don't fill background - FIXME.
17437 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17438 Remove unused methods.
17439 * gnu/java/awt/peer/gtk/GtkImage.java:
17440 (pixbuflock): New field. Methods change to use this lock.
17441 * gnu/java/awt/peer/gtk/GtkToolkit.java
17442 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17445 (setPixels): Correct length in bytes.
17447 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17449 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17450 System.loadLibrary unconditionally.
17451 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17452 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17453 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17454 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17456 2006-05-30 Mark Wielaard <mark@klomp.org>
17458 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17459 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17460 Mark unused parameters, remove unused variables.
17462 2006-05-30 Sven de Marothy <sven@physto.se>
17464 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17465 (copyArea): Implemented.
17466 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17467 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17468 (copyAreaNative): New method.
17470 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17472 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17473 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17474 for non big endian systems.
17475 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17477 2006-05-30 Roman Kennke <kennke@aicas.com>
17479 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17480 * java/awt/TexturePaint.java
17481 (createContext): Implemented.
17483 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17485 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17488 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17490 * java/awt/Container.java:
17491 (removeAll): Reimplemented, added note.
17493 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17495 * java/awt/Container.java:
17496 (removeAll): Implemented different removal mechanism, added note.
17498 2006-05-30 Lillian Angel <langel@redhat.com>
17501 * java/awt/Component.java:
17502 (translateEvent): Added handling to translate WindowEvents
17503 * java/awt/Window.java:
17504 Removed unneeded imports.
17506 2006-05-30 Mark Wielaard <mark@klomp.org>
17508 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17511 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17513 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17515 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17517 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17518 (clearRect): Do not reuse the fg field, call updateColor.
17519 (drawRaster): Likewise.
17520 (setColor): Call updateColor.
17521 (updateColor): New method.
17523 2006-05-30 Mark Wielaard <mark@klomp.org>
17525 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17526 (PTR_TO_JLONG): Likewise.
17527 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17528 (getPointer): Use new conversion macros.
17529 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17530 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17531 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17533 (setNativeObject): Likewise.
17534 (getNativeObject): Likewise.
17535 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17536 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17538 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17539 Correctly cast XID and pointer values.
17540 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17541 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17542 Mark unused variables.
17543 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17545 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17546 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17547 Remove unused cairographics2d struct.
17548 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17549 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17550 Use new conversion macros.
17551 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17553 2006-05-30 Mark Wielaard <mark@klomp.org>
17555 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17557 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17559 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17560 (copy): Do not reuse the fd field.
17561 (setColor): Do not set the color if the parameter
17563 (translate(double, double): Rewritten to use
17564 AffineTransform.translate.
17566 2006-05-30 Sven de Marothy <sven@physto.se>
17568 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17569 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17570 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17572 * include/Makefile.am
17573 * native/jni/gtk-peer/Makefile.am
17575 * gnu/java/awt/peer/gtk/CairoSurface.java
17576 (getSharedGtkImage): New method.
17577 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17578 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17580 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17581 Support a non-xrender context.
17582 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17584 * gnu/java/awt/peer/gtk/GtkImage.java
17585 * include/gnu_java_awt_peer_gtk_GtkImage.h
17586 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17587 (initFromBuffer): New method.
17588 * native/jni/gtk-peer/gtkpeer.h:
17589 Remove declarations of previouslyremoved methods.
17591 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17593 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17595 2006-05-29 Mark Wielaard <mark@klomp.org>
17597 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17598 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17600 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17601 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17602 early. Remove unused return statement in void function.
17603 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17605 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17606 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17608 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17609 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17611 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17614 2006-05-29 Sven de Marothy <sven@physto.se>
17616 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17617 (setPixels): Remove superfluous return statement.
17619 2006-05-29 Sven de Marothy <sven@physto.se>
17621 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17622 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17623 * gnu/java/awt/peer/gtk/CairoSurface.java
17624 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17625 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17626 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17627 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17628 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17629 * native/jni/gtk-peer/cairographics2d.h
17630 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17631 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17634 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17636 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17639 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17640 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17641 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17642 (releasePeerGraphicsResource): Moved to Font peer class.
17644 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17645 (createGraphics): Use new context classes.
17647 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17648 Use native BufferedImages where possible.
17650 * gnu/java/awt/peer/gtk/GdkTextLayout.java
17651 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17652 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17653 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17654 renamed to cairoDrawGdkTextLayout.
17656 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17657 (getGraphics): Use ComponentGraphics context.
17658 (createImage): Use native BufferedImage.
17660 * gnu/java/awt/peer/gtk/GtkImage.java:
17661 * include/gnu_java_awt_peer_gtk_GtkImage.h
17662 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17663 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17664 Remove drawing methods.
17666 * gnu/java/awt/print/JavaPrinterGraphics.java:
17667 Use CairoSurface instead of GtkImage.
17669 * include/Makefile.am
17670 * native/jni/gtk-peer/Makefile.am
17671 Update for new files.
17673 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17674 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17675 Remove superfluous GtkImage code for GdkPixmaps.
17677 * native/jni/gtk-peer/gtkpeer.h
17678 Remove graphics2d structure.
17680 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17682 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17683 Do not reuse fg in the constructor.
17685 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
17687 * java/io/ObjectStreamConstants.java: Added API docs.
17689 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17691 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17692 Take no action if this color is already set.
17694 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17696 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17698 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17699 Optionally paint with translation. (createContent): Added option
17700 to test painting with translation
17702 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
17704 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17705 pattern to the default value when null.
17706 Pass field pattern, and not parameter with same name to createFileStream.
17708 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
17710 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17711 New class implementing the OS bean.
17712 * gnu/java/lang/management/package.html:
17713 New file to document the gnu.java.lang.management package.
17714 * java/lang/management/ManagementFactory.java:
17715 New class to provide access to the OS bean.
17716 * java/lang/management/OperatingSystemMXBean.java:
17718 * java/lang/management/package.html:
17719 New file to document the java.lang.management package.
17721 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17723 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17726 (SECURITY): Likewise.
17727 (CACERTS): Likewise.
17728 (CACERTS_GKR): Likewise.
17729 (gkrCaCertsPathName): New field.
17730 (jksCaCertsPathName): Likewise.
17731 (selfSignedCertificate): Likewise.
17732 (start): Initialize trusted certificate key stores if -trustcacerts is
17734 (ensureReplyIsOurs): Initialize selfSignedCertificate.
17735 (orderChain): Implemented.
17736 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17737 certificate key stores if -trustcacerts option is specified.
17738 (findTrustInCACerts): Removed.
17739 (getCertPathParameters): New method.
17740 (validate): New method.
17741 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17743 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17745 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17746 (PATTERN_KEY): Likewise.
17747 (DEFAULT_PATTERN): Likewise.
17748 (LIMIT_KEY): Likewise.
17749 (DEFAULT_LIMIT): Likewise.
17750 (COUNT_KEY): Likewise.
17751 (DEFAULT_COUNT): Likewise.
17752 (APPEND_KEY): Likewise.
17753 (DEFAULT_APPEND): Likewise.
17754 (FileHandler()): Use pattern value as set in logging.properties.
17755 Use constants defined above.
17756 (FileHandler(1)): Use constants defined above.
17757 (FileHandler(2)): Likewise.
17758 (FileHandler(3)): Likewise.
17759 (FileHandler(4)): Likewise.
17760 (createFileStream): Likewise.
17762 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17764 * java/util/logging/FileHandler.java: Reverted previous patch.
17765 * java/util/logging/LogManager.java: Likewise.
17767 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17769 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17770 (DEFAULT_PATTERN): Likewise.
17771 (FileHandler()): Use configured pattern property if any; otherwise use a
17772 default value as per RI documentation.
17773 * java/util/logging/LogManager.java (getStringProperty): New method.
17775 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17777 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17779 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17781 * configure.ac (FOUND_CACAO): New automake conditional.
17782 Add --enable-tool-wrappers.
17783 * NEWS: Introduce the --enable-tool-wrappers option.
17784 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17785 * tools/appletviewer.c: Remove file. Make tool-indepedent and
17787 * tools/toolwrapper.c: New file.
17789 2006-05-27 Dalibor Topic <robilad@kaffe.org>
17791 * java/awt/Graphics2D.java: Use full class name for
17792 PrinterJob in javadoc.
17794 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
17796 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17797 (callMouseMethod): Likewise.
17799 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17801 * native/jni/java-net/java_net_VMURLConnection.c:
17802 Fix function declarations to specify unused parameters.
17803 * scripts/check_jni_methods.sh:
17804 Remove copies of the same function using uniq.
17806 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17808 * vm/reference/java/net/VMURLConnection.java:
17809 Make package-private and final.
17811 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17813 * examples/gnu/classpath/examples/swing/TableDemo.java
17814 (TModed): Added editor for the icons column.
17815 (createContent): Increase the row height by 2 px.
17817 2006-05-26 Tom Tromey <tromey@redhat.com>
17819 PR classpath/27685:
17820 * java/math/BigInteger.java (modPow): Correctly handle negative
17823 2006-05-26 Tom Tromey <tromey@redhat.com>
17825 * configure.ac: Check for magic.h and -lmagic.
17826 * vm/reference/java/net/VMURLConnection.java: New file.
17827 * include/java_net_VMURLConnection.h: New file.
17828 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17829 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17830 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17832 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17833 * native/jni/java-net/java_net_VMURLConnection.c: New file.
17835 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17837 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17839 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17841 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17842 libjawtgnu.la libjawt.la.
17844 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17846 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17849 2006-05-25 Lillian Angel <langel@redhat.com>
17852 * java/awt/Window.java
17853 (Window): Moved code to helper.
17854 (addWindowFocusListener): New function. Handles focus
17855 listener code. Added code to handle focus lost/gained
17858 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
17861 Make pkg-config check for GTK+ >= 2.8.
17863 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17865 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17866 (flush): Remove debugging printfs.
17868 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17871 (schedule_flush): New function.
17872 (end_drawing_operation): Call schedule_flush.
17874 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17876 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17877 paint performance demo.
17878 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17880 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17882 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
17883 Cairo version requirement. Do not mention --enable-gtk-cairo
17885 * NEWS: Add entry for GdkGraphics2D.
17886 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17887 Cairo library and headers.
17888 * .externalToolBuilders/Configure.launch: Remove
17889 --enable-gtk-cairo from configure line.
17890 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17892 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17893 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17894 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17895 useGraphics2D references. Always assume Graphics2D is enabled.
17896 * gnu/java/awt/peer/gtk/GdkGraphics.java,
17897 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17898 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17899 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17900 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
17901 useGraphics2D references. Always assume Graphics2D is enabled.
17902 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17903 Graphics2D check. Always assume Graphics2D is enabled.
17904 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17905 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17906 (realize): Remove method.
17907 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17908 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17909 (isRealized): Remove method.
17910 (realize): Implement as a native method. Remove useGraphics2D
17911 references. Always assume Graphics2D is enabled.
17912 * gnu/java/awt/peer/gtk/GtkImage.java,
17913 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17914 GdkGraphics references with GdkGraphics2D references.
17915 * gnu/java/awt/peer/gtk/GtkToolkit.java,
17916 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17917 useGraphics2D references. Always assume Graphics2D is enabled.
17918 * include/Makefile.am (GTKPEER_H_FILES): Remove
17919 gnu_java_awt_peer_gtk_GdkGraphics.h.
17920 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17921 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17922 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17923 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17924 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17925 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17926 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17927 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
17928 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17929 (AM_LDFLAGS): Remove CAIRO_LIBS.
17930 (AM_CFLAGS): Remove CAIRO_CFLAGS.
17931 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
17933 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
17935 2006-05-25 Lillian Angel <langel@redhat.com>
17937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17938 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
17939 Added check to prevent assertion error. If widget->window is null, then
17940 use the parent widget's window to set the cursor on.
17942 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17944 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
17947 2006-05-24 Lillian Angel <langel@redhat.com>
17949 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17950 (prependCodeBase): Added check to determine if the documentbase
17951 points to a directory or a file.
17953 2006-05-24 Sven de Marothy <sven@physto.se>
17955 * java/awt/dnd/DragGestureRecognizer.java
17956 (resetRecognizer): Implement.
17957 (fireDragGestureRecognized): Implement.
17959 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
17961 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
17962 fixed source code formatting.
17964 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17966 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
17968 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17970 Reported by Antony Balkisson.
17971 * javax/swing/JTable.java (selectAll): Return without action
17972 if the table is empty.
17974 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17976 * examples/gnu/classpath/examples/swing/TableDemo.java:
17977 (SliderCell): New inner class. (setCustomEditors,
17978 setInformativeHeaders): New fields. (createContent):
17980 * javax/swing/DefaultCellEditor.java
17981 (JComboBoxDelegate.shouldSelectCell): New method.
17982 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
17983 * javax/swing/plaf/basic/BasicTableUI.java
17984 (MouseInputHandler.mouseClicked): Start editing on a single
17985 click if the cell editor is not a default cell editor.
17987 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17989 * javax/swing/naming/CompositeName.java,
17990 javax/swing/naming/CompoundName.java:
17993 2006-05-23 Archie Cobbs <archie@dellroad.org>
17995 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
17998 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18000 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18001 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18002 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18003 * javax/swing/tree/DefaultTreeModel.java: Likewise,
18004 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18005 * javax/swing/tree/ExpandVetoException.java: Likewise,
18006 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18007 * javax/swing/tree/RowMapper.java: Likewise,
18008 * javax/swing/tree/TreeNode.java: Likewise,
18009 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18010 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18012 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18014 * javax/swing/tree/DefaultTreeCellRenderer.java
18015 (DefaultTreeCellRenderer): Changed key for
18016 setBackgroundNonSelectionColor(),
18017 plus API docs all over.
18019 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18022 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18023 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18024 Initialise in constructor. (columnMoved): Cancel editing.
18025 (createDefaultEditors): Rewritten. (editCellAt):
18026 Just invert the value if this is a boolean cell.
18027 (initialiseLocalVars): Do not initialise renderer and editor tables.
18028 (setUI): Create editors and renderers here.
18030 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18032 * examples/gnu/classpath/examples/awt/Demo.java:
18033 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18034 instance as subframe.
18035 (ResolutionWindow): New inner class.
18036 (FullscreenWindow): New inner class.
18038 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18041 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18042 Set horizontal alignment to centered.
18044 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18046 * javax/accessibility/AccessibleContext.java
18047 (getAccessibleComponent): Fixed typo in docs,
18048 * javax/swing/JLabel.java:
18049 (AccessibleJLabel.getAccessibleName): Check for explicit
18051 * javax/swing/JTableHeader.java
18052 (AccessibleJTableHeaderEntry.columnIndex): New field,
18053 (AccessibleJTableHeaderEntry.parent): New field,
18054 (AccessibleJTableHeaderEntry.table): New field,
18055 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18057 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18059 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18060 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18061 (AccessibleJTableHeaderEntry.contains): Implemented,
18062 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18063 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18064 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18065 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18066 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18067 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18068 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18069 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18070 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18071 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18072 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18073 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18074 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18075 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18076 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18077 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18078 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18079 (AccessibleJTableHeaderEntry.getFont): Implemented,
18080 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18081 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18082 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18083 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18084 (AccessibleJTableHeaderEntry.getSize): Implemented,
18085 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18086 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18087 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18088 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18089 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18090 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18092 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18093 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18094 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18095 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18096 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18097 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18098 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18099 (AccessibleJTableHeaderEntry.setFont): Implemented,
18100 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18101 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18102 (AccessibleJTableHeaderEntry.setSize): Implemented,
18103 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18104 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18105 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18106 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18107 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18109 2006-05-22 Tom Tromey <tromey@redhat.com>
18113 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18115 * javax/swing/JLabel.java
18116 (AccessibleJLabel.getAccessibleName): New method (override),
18117 (setLabelFor): Fire 'labelFor' property change event before other
18120 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18122 * javax/swing/JLabel.java
18123 (AccessibleJLabel.getAccessibleRole): New method (override).
18125 2006-05-22 Tom Tromey <tromey@redhat.com>
18127 * resource/gnu/classpath/tools/serialver/messages.properties: New
18129 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18130 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18132 (classpath): Likewise.
18135 (addFileURL): New method.
18136 (getClassLoader): Likewise.
18137 (printMessage): Likewise.
18139 2006-05-22 Tom Tromey <tromey@redhat.com>
18141 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18143 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18145 * javax/swing/JTable.java (doLayout): In the column
18146 resize mode, only repaing the changed part of the table.
18147 (getLeftResizingBoundary): New method.
18149 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18151 * javax/naming/spi/InitialContextFactory.java,
18152 javax/naming/spi/InitialContextFactoryBuilder.java,
18153 javax/naming/spi/NamingManager.java,
18154 javax/naming/spi/ObjectFactory.java,
18155 javax/naming/spi/ResolveResult.java,
18156 javax/naming/spi/Resolver.java,
18157 javax/naming/spi/StateFactory.java: Documented.
18159 2006-05-21 Tom Tromey <tromey@redhat.com>
18161 PR classpath/27688:
18162 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18164 (initSet): Removed.
18165 (shouldExtract): Removed.
18167 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18168 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18171 (allItems): New field.
18172 (run): Initialize it.
18175 2006-05-22 Sven de Marothy <sven@physto.se>
18177 * java/nio/CharBuffer.java
18178 (wrap): Fix bounds checking.
18180 2004-08-26 Tom Tromey <tromey@redhat.com>
18182 * java/io/OutputStream.java
18183 (OutputStream): Implements Closeable, Flushable.
18185 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18187 * java/io/ObjectOutputStream.java:
18188 (writeObject(Object)): Added enum support.
18189 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18190 * java/io/ObjectStreamClass.java:
18191 (isEnum()): New package-private method.
18192 (setFlags(Class)): Added enum support.
18193 * java/io/ObjectStreamConstants.java:
18196 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18198 * java/io/ObjectInputStream.java:
18199 (parseContent(byte)): Added enum support.
18200 * java/io/ObjectStreamConstants.java:
18202 (TC_MAX): Changed to new maximum, TC_ENUM.
18204 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18206 * java/beans/beancontext/BeanContextSupport.java:
18207 (instantiateChild(String)): Implemented.
18209 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18211 * java/beans/beancontext/BeanContextSupport.java:
18212 (add(Object)): Add further documentation.
18213 (isEmpty()): Documented.
18214 (propertyChange(PropertyChangeEvent)): Implemented.
18215 (remove(Object)): Documented.
18216 (remove(Object,boolean)): Documented and implemented.
18217 (vetoableChange(PropertyChangeEvent)): Marked as
18218 implemented (only subclasses appear to need this).
18220 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18222 * java/beans/beancontext/BeanContextSupport.java:
18223 (add(Object)): Implement support for the child being
18224 a BeanContextChild.
18225 (avoidingGui()): Implemented.
18226 (dontUseGui()): Likewise.
18227 (needsGui()): Likewise.
18228 (okToUseGui()): Likewise.
18230 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18232 * javax/naming/Context.java,
18233 javax/naming/ContextNotEmptyException.java,
18234 javax/naming/Reference.java: Documented.
18236 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18238 * javax/swing/text/html/MinimalHTMLWriter.java
18239 (writeComponent, writeImage): Declare that the method
18240 may throw the IOException.
18242 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18245 * javax/naming/InitialContext.java (colon_list): Changed type to
18246 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18247 (merge): Rewritten.
18249 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18251 * javax/naming/InitialContext.java: Documented.
18253 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18255 * javax/naming/NameParser.java,
18256 javax/naming/NamingEnumeration.java,
18257 javax/naming/PartialResultException.java,
18258 javax/naming/SizeLimitExceededException.java,
18259 javax/naming/spi/ObjectFactory.java,
18260 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18262 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18264 * gnu/java/net/loader/JarURLLoader.java:
18265 Use Map.Entry instead of LinkedHashMap.Entry
18267 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18269 * javax/naming/Context.java: Documented.
18271 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18273 * javax/naming/Referenceable.java: Documented.
18274 * javax/naming/spi/NamingManager.java: Documented.
18276 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18278 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18279 to messages.properties.
18280 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18281 Renamed to messages.properties.
18282 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18284 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18285 Renamed from MessageBundle.properties.
18286 Added copyright notice.
18287 * resource/gnu/classpath/tools/keytool/messages.properties:
18289 * tools/gnu/classpath/tools/jarsigner/Messages.java
18290 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18291 (getFormattedString): Fixed a spelling mistake.
18292 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18294 2006-05-20 Sven de Marothy <sven@physto.se>
18296 * gnu/java/awt/font/opentype/NameDecoder.java
18298 (getName): Use getShort instead of getChar(), fix PS name.
18299 (decodeName): New method.
18300 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18301 (getSubFamilyName): Implement.
18302 (getPostScriptName): Use the NameDecoder class instead.
18303 (parsePSName): Removed.
18306 2006-05-20 Sven de Marothy <sven@physto.se>
18308 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18309 (getTrueTypeTable): New native method.
18310 (getPostScriptName): Reimplement.
18311 (parsePSName): New method.
18312 (getNumGlyphs): Implement.
18313 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18314 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18315 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18316 New function. File is now explicitly dependent on FT2.
18318 2006-05-20 Tom Tromey <tromey@redhat.com>
18320 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18321 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18323 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18324 (HandleFile): New class.
18325 (input, output, encoding, reversed): New fields.
18326 (createParser): New method.
18329 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18330 (notifyFile): Throws OptionException.
18332 2006-05-20 Tom Tromey <tromey@redhat.com>
18334 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18337 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18339 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18340 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18343 2006-05-20 Sven de Marothy <sven@physto.se>
18345 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18347 2006-05-20 Sven de Marothy <sven@physto.se>
18349 * gnu/java/awt/print/JavaPrinterJob.java
18350 (print): Use PostScriptGraphics2D.
18351 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18353 2006-05-20 Sven de Marothy <sven@physto.se>
18355 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18357 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18359 * gnu/java/security/OID.java: Updated copyright year.
18360 (OID): Removed unused Javadoc param tag.
18361 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18362 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18364 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18366 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18368 Added trace/debug statements.
18369 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18370 Entry. Also ensure that any previous entry for this alias is removed
18371 before a new one is added.
18372 (engineGetKey): Do not trace/log passwords.
18373 Trace key's class name only.
18374 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18375 Certificate Entry. Also ensure that previous entry for this alias is
18376 removed before a new one is added.
18377 (engineLoad): Do not trace/log passwords.
18378 (engineStore): Likewise.
18379 (engineSize): Use size of enumeration instead of collection size.
18381 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18383 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18384 (toString): New method.
18385 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18386 Do not trace/log passwords.
18387 Set masked to false before decoding envelope.
18388 Do not set payload to null.
18389 (encrypt): Set masked to true.
18390 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18391 Do not trace/log passwords.
18392 Set masked to false before decoding envelope.
18393 Do not set payload to null.
18394 Added trace/debug statements.
18395 (authenticate): Do not trace/log passwords.
18396 Set masked to true.
18397 Added trace/debug statements.
18398 (getMac): Added trace/debug statements.
18399 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18400 (remove(String)): Changed the signature to return a boolean.
18401 (toString): New method.
18402 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18404 (getCertificate): Likewise.
18405 (putCertificate): Likewise.
18407 Do not trace/log passwords.
18409 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18410 Do not trace/log passwords.
18411 Added more trace/logging statements.
18412 (putPrivateKey): Do not trace/log passwords.
18413 Trace only key's class name.
18415 (containsPublicKey): Formatting.
18416 (getPublicKey): Likewise.
18417 Trace only key's class name.
18418 (putPublicKey): Trace only key's class name.
18419 (containsCertPath): Formatting.
18420 (getCertPath): Likewise.
18421 (putCertPath): Likewise.
18422 (load): Do not trace/log passwords.
18425 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18426 (add): Do not set payload to null.
18427 Added trace/debug statements.
18428 (containsAlias): Added trace/debug statements.
18430 (remove(Entry)): Likewise.
18431 (remove(String)): Likewise.
18432 Changed the signature to return a boolean.
18433 Do not set payload to null unless really removed.
18434 (toString): New method.
18435 (decodeEnvelope): Clear entries before proceeding.
18436 (makeAliasList): Added trace/debug statements.
18437 Ensure only non-null aliases and alias-lists are added.
18438 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18439 (TYPES): New constant.
18440 (toString): New method.
18441 (defaultDecode): Add trace/debug statement.
18443 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18445 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18446 Increased visibility.
18447 (setup): Do not trace/log passwords.
18448 (parsed): Was not setting correct (rfc) field; fixed.
18449 (print1Chain): Formatting.
18450 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18451 Do not trace/log passwords.
18452 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18453 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18454 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18455 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18456 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18457 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18458 (orderChain): Added FIXME.
18459 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18460 Do not trace/log passwords.
18461 Removed commented out code.
18462 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18463 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18464 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18465 (setKeystoreURLParam): Likewise.
18466 (setKeystorePasswordParam): Do not trace/log passwords.
18467 (saveKeyStore): Likewise.
18469 2006-05-19 Roman Kennke <kennke@aicas.com>
18471 * gnu/java/awt/java2d/AbstractGraphics2D.java
18473 (pixel): Removed obsolete field.
18474 (draw(Shape)): Removed commented out code.
18475 (drawImage): Formatting.
18476 (drawString): Added optimization hook.
18477 (setPaint): Removed rawSetForeground().
18478 (getFontRenderContext): Return context with correct transform.
18479 (drawGlyphVector): Draw complete outline in one go.
18480 (copyArea): Added optimization hook.
18481 (clearRect): Added optimization hook.
18482 (drawImage): Added optimization hook.
18483 (fillShape): (Temporarily) Set antialiasing off by default for
18484 font rendering. Adjust the shape by some bits to improve rendering.
18485 Pass clip bounds to the render methods.
18486 (drawPixel): Removed.
18487 (rawSetPixel): Removed.
18488 (rawSetForeground): Removed.
18489 (rawDrawLine): Default impl calls standard pipeline.
18490 (rawDrawString): New method, calls standard pipeline for rendering.
18491 (rawClearRect): New method, calls standard pipeline for rendering.
18492 (rawFillRect): New method, calls standard pipeline for rendering.
18493 (rawDrawImage): New method, calls standard pipeline for rendering.
18494 (rawCopyArea): New method.
18495 (copyAreaImpl): New method.
18496 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18498 (fillShapeAntialias): Fixed AA rendering.
18499 (fillScanlineAA): Fixed AA rendering.
18500 (getSegments): Take offset into account.
18502 2006-05-19 Sven de Marothy <sven@physto.se>
18504 * javax/swing/text/AbstractWriter.java
18505 (getText): Fix parameters (start, length) not (start, end).
18507 2006-05-19 Tom Tromey <tromey@redhat.com>
18509 PR classpath/27444:
18510 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18511 Changed return type.
18512 * java/net/URLClassLoader.java (urlloaders): Removed.
18513 (addURLImpl): Updated.
18514 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18515 (indexSet): Likewise.
18516 (classPath): Changed type.
18517 (JarURLLoader): New constructor.
18518 (initialize): New method.
18519 (getResource): Use index set if it exists.
18520 (getClassPath): Updated.
18521 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18522 (prefixes): New field.
18523 (headers): Removed.
18524 (IndexListParser): Fill in prefixes.
18525 (clearAll): Clear prefixes.
18526 (getHeaders): Changed return type.
18528 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18530 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18531 (MouseInputHandler.mouseExitted): No nothing there.
18532 (MouseInputHandler.endDragging): Move column to the
18533 first/last position if released outside the horizontal
18536 2006-05-19 Lillian Angel <langel@redhat.com>
18538 * java/awt/font/GlyphVector.java
18539 (getGlyphCharIndex): Implemented.
18540 (getGlyphCharIndices): Implemented.
18541 (getGlyphOutline): Implemented.
18542 (getGlyphVisualBounds): Implemented.
18543 (getGlyphVisualBounds): Implemented.
18544 (getPixelBounds): Implemented.
18545 (getLayoutFlags): Implemented.
18547 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18549 * java/awt/LightweightDispatcher.java: Added field dragButton and
18550 documentation for it.
18551 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18552 added subexpression to if-clause in MOUSE_RELEASED case.
18554 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18556 * javax/swing/metal/MetalButtonUI.java:
18557 (update): Removed some subexpression from if-clause and call
18558 updateWithGradient.
18559 (updateWithGradient): New method.
18561 2006-05-19 Roman Kennke <kennke@aicas.com>
18563 * javax/swing/JComponent.java
18564 (findOverlapFreeParent): Implemented algorithm for finding
18565 overlapping in component hierarchy.
18567 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18569 * java/lang/Thread.java
18570 (contextClassLoaderIsSystemClassLoader): New field.
18571 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18572 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18573 and set contextClassLoaderIsSystemClassLoader.
18574 (Thread(ThreadGroup,Runnable,String,long)):
18575 Set contextClassLoaderIsSystemClassLoader.
18576 (createAnonymousThreadName): New method.
18577 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18578 and fixed security check.
18579 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18581 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18583 * javax/swing/plaf/basic/BasicToolBarUI.java:
18584 (createNonRolloverBorder): Rewritten.
18585 (createRolloverBorder): Rewritten.
18586 (setToNonRolloverBorder): Store old border instance in hashtable.
18587 (setToRolloverBorder): Store old border instance in hashtable, use
18588 AbstractButton instead of JButton in statements.
18589 (setBorderToNormal): Rewritten.
18590 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18591 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18592 ToolBar.nonrolloverBorder.
18594 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18596 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18597 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18599 2006-05-18 Lillian Angel <langel@redhat.com>
18601 * java/awt/font/GlyphMetrics.java
18602 (getLSB): Implemented.
18603 (getRSB): Implemented.
18605 2006-05-18 Lillian Angel <langel@redhat.com>
18607 * java/awt/font/GraphicAttribute.java:
18608 Documented entire class.
18609 (GraphicAttribute): Added check for alignment.
18610 (getBounds): Implemented.
18611 (getJustificationInfo): Implemented.
18613 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18615 * java/awt/LightweightDispatcher.java:
18616 (handleMouseEvent): Added note, added subexpression to if-statement.
18618 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18620 * javax/swing/plaf/basic/BasicToolBarUI.java:
18621 (navigateFocusedComp): Marked as stub.
18622 (createRolloverBorder): Create a different Border instance, added note.
18623 * javax/swing/plaf/metal/MetalBorders.java:
18624 (ButtonBorder): Added documentation.
18625 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18626 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18627 subexpression into if-else cascade, added note.
18629 2006-05-18 Lillian Angel <langel@redhat.com>
18631 * java/awt/font/ShapeGraphicAttribute.java:
18632 Documented entire class.
18633 (ShapeGraphicAttribute): Initialized bounds field.
18634 (draw): Implemented.
18635 (equals): Implemented.
18636 (getAdvance): Implemented.
18637 (getAscent): Implemented.
18638 (getBounds): Implemented.
18639 (getDescent): Implemented.
18640 (hashCode): Implemented.
18642 2006-05-18 Roman Kennke <kennke@aicas.com>
18644 * javax/swing/CellRendererPane.java
18645 (CellRendererPane): Set CellRendererPane to invisible.
18647 2006-05-18 Roman Kennke <kennke@aicas.com>
18649 * gnu/java/awt/peer/gtk/GdkGraphics.java
18650 (clipRect): Removed old intersection statement.
18652 2006-05-18 Roman Kennke <kennke@aicas.com>
18654 * gnu/java/awt/peer/gtk/GdkGraphics.java
18655 (clipRect): Don't use Rectangle.intersection() to avoid creating
18656 2 unnecessary Rectangle instances and fix a clipping problem.
18657 (computeIntersection): New helper method, adapted from SwingUtilities.
18659 2006-05-18 Roman Kennke <kennke@aicas.com>
18661 * javax/swing/JComponent.java
18662 (isCompletelyDirty): Removed.
18663 (paint): Don't mark children as clean, this is no longer necessary.
18664 (findOverlapFreeParent): Don't stop at Viewports, this breaks
18665 painting when something overlaps the viewport (like a popup/menu).
18666 * javax/swing/RepaintManager.java
18667 (currentRepaintManagers): Made package private to avoid accessor
18669 (dirtyComponents): Made private.
18670 (dirtyComponentsWork): Made private.
18671 (markCompletelyDirty): Fixed bounds of dirtyrect to be
18672 component-local not parent-local. Do not set flag in JComponent.
18673 (markCompletelyClean): Don't set JComponent flag.
18674 (isCompletelyDirty): Rewritten to return true when the complete
18675 component is marked dirty.
18676 (paintDirtyRegions): Improved parent-merging so that the merged-in
18677 components don't get painted too. 'Outsourced' the compilation
18678 of the repaint root components.
18679 (compileRepaintRoots): New helper method.
18681 2006-05-18 Roman Kennke <kennke@aicas.com>
18684 * javax/swing/text/GapContent.java
18685 (GapContentPosition(int)): Use adapted binarySearch method to
18686 allow for having a greater array than number of entries.
18687 (numMarks): New field, holds the end of the marks list.
18688 (GapContent): Initialize positionMarks with size of 10 instead of 0.
18689 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18690 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18691 (setPositionsInRange): Changed signature to narrow the purpose and
18692 special cases inside. Reimplemented to crunch together equal marks.
18693 (adjustPositionsInRange): Added assertion to make sure we do
18694 not accidentally change the order of the mark. Added some debug
18695 output for a special case of which I don't know if it even exists.
18696 (resetMarksAtZero): Made impl simpler.
18697 (dumpMarks): New debug helper method.
18698 (insertMark): Grow array in bigger chunks to avoid excessive copying.
18699 (binarySearch): New method. An adaption of Arrays.binarySearch()
18700 that allows for an maxIndex parameter.
18702 2006-05-18 Roman Kennke <kennke@aicas.com>
18704 * javax/swing/KeyboardManager.java
18705 (topLevelLookup): Use WeakHashMap to avoid memory leak.
18707 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
18709 * gnu/java/net/loader/JarURLLoader.java
18710 (JarURLLoader): Use a slightly more efficient URL constructor.
18712 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
18714 * gnu/java/awt/print/JavaPrinterGraphics.java
18715 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18716 (drawImage(Image, int, int, ImageObserver)): Likewise,
18717 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18718 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18719 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
18720 ImageObserver)): Likewise,
18721 (drawImage(Image, int, int, int, int, int, int, int, int,
18722 ImageObserver)): Likewise.
18724 2006-05-17 Tom Tromey <tromey@redhat.com>
18726 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18729 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18731 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18732 * javax/swing/border/BevelBorder.java: Likewise,
18733 * javax/swing/border/CompoundBorder.java: Likewise,
18734 * javax/swing/border/TitledBorder.java: Likewise.
18736 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18738 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18739 * javax/swing/table/DefaultTableModel.java: Likewise,
18740 * javax/swing/table/TableCellEditor.java: Likewise,
18741 * javax/swing/table/TableCellRenderer.java: Likewise.
18743 2006-05-17 Lillian Angel <langel@redhat.com>
18745 * java/awt/font/ImageGraphicAttribute.java:
18746 Documented entire class.
18747 (ImageGraphicAttribute): Changed to call this.
18748 (ImageGraphicAttribute): Implemented.
18749 (draw): Implemented.
18750 (equals): Implemented.
18751 (getAdvance): Implemented.
18752 (getAscent): Implemented.
18753 (getBounds): Implemented.
18754 (getDescent): Implemented.
18755 (hashCode): Implemented.
18756 * javax/swing/text/html/HTMLDocument.java
18757 (create): Removed. Sufficent enough for
18758 super to be called.
18759 (insert): Likewise.
18760 (insertUpdate): Likewise.
18761 (processHTMLFrameHyperlinkEvent): Marked as stub.
18762 (start): Removed FIXME.
18764 (start): Called super.
18765 (end): Called super.
18766 (getElement): removed unneeded code.
18767 (setParagraphAttribute): Removed. Sufficent enough
18768 for super to be called.
18769 (fireChangedUpdate): Likewise.
18770 (fireUndoableEditUpdate): Likewise.
18772 2006-05-17 Lillian Angel <langel@redhat.com>
18774 * java/awt/TexturePaint.java:
18775 Added documentation for class and all functions.
18776 (getTransparency): Implemented.
18778 2006-05-17 Roman Kennke <kennke@aicas.com>
18780 * java/awt/LightweightDispatcher.java
18781 (findTarget): Translate point to child components.
18783 2006-05-17 Roman Kennke <kennke@aicas.com>
18786 * javax/swing/text/GapContent.java
18787 (GapContentPosition): Do no more implement Comparable.
18788 (GapContentPosition.mark): Removed field.
18789 (GapContentPosition.index): New field to hold the index into
18790 the positions array.
18791 (GapContentPosition(int)): Rewritten to use the new indirection
18792 to the positions array.
18793 (GapContentPosition.compareTo): Removed.
18794 (GapContentPosition.getOffset): Synchronized. Fetch mark from
18795 positionMarks array.
18796 (WeakPositionComparator): Removed obsolete class.
18797 (positions): Changed type to WeakHashMap.
18798 (positionMarks): New field, holds the marks of the positions.
18799 (GapContent): Initialize new fields.
18800 (createPosition): Rewritten to use the new indirection
18801 to the positions array.
18802 (getPositionsInRange): Rewritten to use the new indirection
18803 to the positions array.
18804 (setPositionsInRange): Rewritten to use the new indirection
18805 to the positions array.
18806 (adjustPositionsInRange): Rewritten to use the new indirection
18807 to the positions array.
18808 (insertMark): New helper method.
18809 (clearPositionReferences): Removed obsolete methods.
18811 2006-05-17 Lillian Angel <langel@redhat.com>
18813 * java/awt/GraphicsConfiguration.java
18814 (getImageCapabilities): Implemented.
18815 (getBufferCapabilities): Implemented.
18817 2006-05-17 Lillian Angel <langel@redhat.com>
18819 * javax/swing/plaf/basic/BasicSliderUI.java
18820 (focusGained): Implemented.
18821 (focusLost): Implemented.
18822 (paint): Added code to paint the focus.
18823 * javax/swing/plaf/metal/MetalSliderUI.java
18824 (paintThumb): Added code to set the thumbColor.
18825 (paintFocus): Implemented properly.
18827 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18830 * javax/naming/spi/NamingManager.java (getURLContext):
18831 Always search for the factory class in all possible places
18832 and use VMStackWalker.
18833 (forName): New method.
18835 2006-05-17 Roman Kennke <kennke@aicas.com>
18837 * java/awt/LightweightDispatcher.java
18838 (handleMouseEvent): Fixed search algorithm for finding the
18839 mouse event target.
18840 (findTarget): Fixed search algorithm for finding the
18841 mouse event target.
18843 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18845 * javax/naming/spi/NamingManager.java: Documented.
18847 2006-05-17 Mark Wielaard <mark@klomp.org>
18849 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18850 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18851 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18852 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18854 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18857 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18859 (BorderListener.mouseClicked): Detect double-clicks in title pane,
18861 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18863 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18866 * java/awt/LightweightDispatcher.java:
18867 (handleMouseEvent): Moved assignment into switch-block, added notes.
18869 2006-05-16 Lillian Angel <langel@redhat.com>
18871 * javax/swing/text/StyleContext.java:
18872 Changed staticAttributeKeys to be a Hashtable.
18873 (getStaticAttribute): Implemented.
18874 (getStaticAttributeKey): Implemented.
18875 (readAttributeSet): Implemented.
18876 (writeAttributeSet): Added FIXME. Not sure how
18878 (readAttributes): Implemented.
18879 (writeAttributes): Implemented.
18880 (registerStaticAttibuteKey): Fixed to add key to
18883 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18885 * javax/swing/DefaultButtonModel.java
18886 (setGroup): Removed event notification.
18888 2006-05-16 Lillian Angel <langel@redhat.com>
18890 * javax/swing/plaf/basic/BasicComboBoxUI.java
18891 (installKeyboardActions): Implemented.
18892 (uninstallKeyboardActions): Implemented.
18893 * javax/swing/plaf/basic/BasicComboPopup.java
18894 (uninstallKeyboardActions): Removed FIXME. Nothing
18896 (installKeyboardActions): Likewise.
18897 * javax/swing/plaf/basic/BasicTextUI.java
18898 (uninstallKeyboardActions): Implemented.
18899 * javax/swing/plaf/basic/BasicTreeUI.java:
18900 Added field for hashColor.
18901 Marked stub methods.
18902 (getHashColor): Implemented to use field.
18903 (setHashColor): Likewise.
18904 (getRowX): Implemented.
18905 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
18907 2006-05-16 Roman Kennke <kennke@aicas.com>
18910 * javax/swing/JTable.java
18911 (rowHeights): New field.
18912 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18913 in order to initialize rowHeights correctly.
18914 (tableChanged): Nullify rowHeights when model changes. Only
18915 create default columns from model when corresponding property
18916 is set. Sync table model with rowHeights as appropriate.
18917 (valueChanged): Call repaint with the correct rectangle.
18918 (rowAtPoint): Handle rowHeights.
18919 (getCellRect): Mostly rewritten. Check for boundaries
18920 of model and return (0,0,0,0) or (0,0,width,height) when outside.
18921 Handle component orientation. Round correctly.
18922 (getRowHeight(int)): Implemented for variable row height.
18923 (setRowHeight(int,int)): Implemented for variable row height.
18924 (setRowHeight(int)): Nullify rowHeights.
18925 (setModel): Notify tableChanged().
18926 * javax/swing/plaf/basic/BasicTableUI.java
18927 (installDefaults): Create rendererPane in installUI.
18928 (installUI): Create and install rendererPane.
18929 (uninstallUI): Uninstall rendererPane and nullify rendererPane
18931 (paint): Correctly handle rowMargin.
18933 2006-05-16 Tom Tromey <tromey@redhat.com>
18935 PR classpath/27563:
18936 * java/text/NumberFormat.java (getIntegerInstance): Use
18937 "integerFormat", not "numberFormat".
18939 2006-05-16 Lillian Angel <langel@redhat.com>
18941 * javax/swing/JPopupMenu.java
18942 (addMenuKeyListener): Implemented.
18943 (removeMenuKeyListener): Implemented.
18944 (getMenuKeyListeners): Implemented.
18945 * javax/swing/ProgressMonitor.java:
18946 Added new protected field.
18947 (getAccessibleContext): Implemented.
18949 2006-05-16 Lillian Angel <langel@redhat.com>
18951 * javax/swing/JFileChooser.java:
18952 Added new private field.
18953 (setDragEnabled): Implemented.
18954 (getDragEnabled): Implemented.
18956 2006-05-16 Lillian Angel <langel@redhat.com>
18958 * java/awt/Window.java
18959 (applyResourceBundle): Implemented.
18961 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18963 * javax/swing/DefaultButtonModel.java
18964 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
18967 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18969 * javax/swing/JList.java (getSelectedValues):
18970 Ask the value for the indexed array element.
18972 2006-05-16 Roman Kennke <kennke@aicas.com>
18974 * javax/swing/JTable.java
18975 (valueChanged): Also repaint when table has only 1 row. Fixed
18976 repaint rectangle to span the entire changed rows.
18978 2006-05-16 Roman Kennke <kennke@aicas.com>
18981 * javax/swing/JOptionPane.java
18982 (startModal): Rewritten. The events are now dispatched, even
18983 when the event dispatch thread gets blocked by the call
18984 to this method. Also, mouse events get intercepted outside the
18987 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18989 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18990 (BorderListener.mouseDragged):Do not set cursor
18991 if the frame is being dragged.
18993 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18995 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18996 (BorderListener): Rewritten. (InternalFrameBorder):
18997 Made package private.
18998 (InternalFrameBorder.offset):
18999 Renamed to cornerSize, made package private.
19000 (bSize): Made package private.
19002 2006-05-16 Roman Kennke <kennke@aicas.com>
19004 * javax/swing/JMenu.java
19005 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19006 (AccessibleJMenu.getAccessibleChild): Implemented.
19007 (AccessibleJMenu.getAccessibleSelection): Implemented.
19008 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19009 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19010 (AccessibleJMenu.getAccessibleRole): Documented.
19011 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19012 (AccessibleJMenu.addAccessibleSelection): Implemented.
19013 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19014 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19015 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19016 (createPath): New helper method.
19018 2006-05-15 Tom Tromey <tromey@redhat.com>
19020 * java/text/MessageFormat.java (format): Now varargs.
19022 2006-05-15 Tom Tromey <tromey@redhat.com>
19024 * java/lang/Thread.java (State): Fixed typo.
19026 2006-05-15 Tom Tromey <tromey@redhat.com>
19028 * java/net/URLClassLoader.java: Moved inner classes to
19029 gnu.java.net.loader.
19030 (factoryCache): Changed type.
19031 (URL_LOADER_PREFIX): New constant.
19032 (URLClassLoader): Updated for new factoryCache.
19033 (addURLImpl): Use reflection to search for a loader.
19034 (findClass): Use getClass method on URLLoader.
19035 (getURLStreamHandler): Removed.
19036 * gnu/java/net/loader/URLLoader.java: New file, extracted
19037 from URLClassLoader.
19038 * gnu/java/net/loader/Resource.java: Likewise.
19039 * gnu/java/net/loader/FileResource.java: Likewise.
19040 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19041 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19042 * gnu/java/net/loader/JarURLResource.java: Likewise.
19043 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19044 * gnu/java/net/loader/RemoteResource.java: Likewise.
19045 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19047 2006-05-15 Sven de Marothy <sven@physto.se>
19049 * native/target/generic/target_generic_network.h:
19050 Add a pair of parenthesis.
19052 2006-05-15 Mark Wielaard <mark@klomp.org>
19054 * java/awt/Graphics2D.java: Remove PrinterJob import.
19056 2006-05-15 Mark Wielaard <mark@klomp.org>
19058 * doc/www.gnu.org/announce/20060515.wml: New file.
19059 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19060 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19062 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19064 * NEWS: Announce inclusion of gcjwebplugin.
19065 Announce inclusion of appletviewer.
19066 * INSTALL: Note gcjwebplugin dependencies.
19068 2006-05-15 Mark Wielaard <mark@klomp.org>
19070 * configure.ac (VERSION): Set to 0.91-generics.
19072 2006-05-15 Mark Wielaard <mark@klomp.org>
19074 * NEWS: Add release date and VMClassLoader.getBootPackages()
19077 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19079 * README: Added CACAO to list of VMs.
19081 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19083 * javax/swing/RepaintManager.java (paintDirtyRegions):
19084 Break loop as soon as the component repaint is merged
19085 with some parent. (ComponentComparator): Removed.
19086 (comparator): Removed.
19088 2006-05-15 Roman Kennke <kennke@aicas.com>
19090 * javax/swing/border/TitledBorder.java
19091 (paintBorderWithTitle): Fixed indentation.
19093 2006-05-15 Roman Kennke <kennke@aicas.com>
19095 * javax/swing/border/TitledBorder.java
19096 (layoutBorderWithTitle): Fetch border using getBorder() instead
19097 of using the border field directly. Allows for the use of
19098 an UI supplied border in the case when a null border was set.
19099 Fixed component orientation.
19100 (paintBorderWithTitle): Fetch border using getBorder() instead
19101 of using the border field directly. Allows for the use of
19102 an UI supplied border in the case when a null border was set.
19104 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19106 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19107 (contains): New method.
19109 2006-05-15 Tom Tromey <tromey@redhat.com>
19111 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19113 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19116 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19118 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19120 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19121 region. (paintDirtyRegions): Rewritten.
19123 2006-05-15 Tom Tromey <tromey@redhat.com>
19125 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19127 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19129 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19130 (run): Use MessageFormat.
19131 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19132 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19133 (writeFile): Use MessageFormat.
19135 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19137 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19138 instead of directly calling the class loader.
19140 2006-05-15 Tom Tromey <tromey@redhat.com>
19142 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19143 Removed old comment.
19144 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19145 Externalized strings.
19146 (getVersionString): Use MessageFormat.
19147 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19148 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19149 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19150 (getArgument): Use a MessageFormat.
19151 (handleLongOption): Likewise.
19154 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19157 * javax/swing/text/FieldView.java:
19158 (paint): Calculate intersection between clip and allocation area and
19159 set that as new clip.
19161 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19163 * javax/swing/text/JTextComponent.java: Marked stub methods.
19165 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19167 * javax/swing/JTable.java: Marked stub methods.
19169 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19171 * tools/gnu/classpath/tools/jarsigner/Main.java:
19172 Increased visibility of fields used by parser anonymous classes.
19173 (KEYTOOL_TOOL): New constant.
19174 (cmdLineParser): Changed type to ToolParser.
19175 (fileAndAlias): new field.
19176 (main): Don't catch OptionException.
19177 (processArgs): Removed validation checks; now handled by ToolParser.
19178 (getParser): Removed.
19179 (ToolParserCallback): New inner class.
19180 (ToolParser): Likewise.
19182 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19184 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19187 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19189 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19190 endResizingFrame): Do not repaint, unless in the outline mode.
19192 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19194 * javax/swing/JTabbedPane.java
19195 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19196 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19197 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19198 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19199 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19200 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19201 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19202 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19203 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19204 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19205 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19206 (Page.getAccessibleName): Implemented.
19208 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19210 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19211 Do not repaint nor revalidate here.
19213 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19215 * javax/swing/RepaintManager.java (addDirtyRegion):
19216 If there is a lightweight parent, recursively add the corresponding
19217 region of the parent instead.
19219 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19221 * java/awt/Graphics2D.java: Added some API doc comments.
19223 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19225 * javax/swing/JTabbedPane.java
19226 (paramString): Reimplemented,
19227 (getAccessibleContext): Added API docs.
19229 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19231 * javax/swing/JFileChooser.java
19232 (paramString): Reimplemented,
19233 (getAccessibleContext): Updated API docs,
19234 (AccessibleJFileChooser): Added API docs.
19236 2006-05-14 Tom Tromey <tromey@redhat.com>
19238 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19240 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19242 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19244 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19245 validation to JarParser.
19246 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19247 (run): Moved validation to JarParser. Don't throw OptionException.
19248 (initializeParser): Create a JarParser.
19249 (main): Don't catch OptionException.
19250 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19252 (validate): New method.
19253 (parse): Call it. Print '-help' in error message when long-only.
19255 2006-05-14 Tom Tromey <tromey@redhat.com>
19257 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19260 2006-05-15 Sven de Marothy <sven@physto.se>
19262 * gnu/java/awt/print/JavaPrinterGraphics.java:
19263 Sweeping changes I can't be bothered to document in detail.
19264 * gnu/java/awt/print/JavaPrinterJob.java
19265 (getPageAttributes): New method.
19266 (setPageable,cancel,isCancelled): Implement.
19268 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19270 * javax/swing/JCheckBoxMenuItem.java
19271 (requestFocus): Fixed typo in API docs,
19272 (paramString): Just call super.paramString(),
19273 (getAccessibleContext): Added API docs,
19274 (AccessibleJCheckBoxMenuItem): Likewise.
19276 2006-05-14 Tom Tromey <tromey@redhat.com>
19278 * tools/gnu/classpath/tools/jar/Indexer.java
19279 (writeCommandLineEntries): Simplify insertion.
19280 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19283 2006-05-14 Tom Tromey <tromey@redhat.com>
19285 PR classpath/27514:
19286 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19288 (JAR_INDEX_VERSION_KEY): Likewise.
19289 (IndexListParser): Updated.
19290 (getVersionInfo): Likewise.
19291 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19292 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19294 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19296 (ModeOption): New constructor.
19297 (parsed): Updated. Use setArchiveFile.
19298 (setArchiveFile): New method.
19299 (run): Handle no-argument case.
19300 (main): Emit --help message on option error.
19301 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19302 (createManifest): New method.
19303 (run): Updated. Throws OptionException. Correctly copy zip entry.
19304 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19306 (writeManifest): Removed.
19307 (outputStream): Now a JarOutputStream.
19308 (writeCommandLineEntries): Changed parameters. Updated callers.
19309 (run): Throws OptionException.
19310 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19311 * java/util/jar/Manifest.java (read): Typo fix.
19313 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19315 * javax/swing/JMenuItem.java
19316 (paramString): Fixed class name in API doc comment.
19318 2006-05-14 Tom Tromey <tromey@redhat.com>
19320 * native/plugin/.cvsignore: Updated.
19322 2006-05-14 Mark Wielaard <mark@klomp.org>
19324 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19327 2006-05-14 Chris Burdess <dog@gnu.org>
19329 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19330 nodes to be preserved during cloneNode.
19332 2006-05-14 Mark Wielaard <mark@klomp.org>
19335 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19336 inherited timeout on socket.
19338 2006-05-14 Lillian Angel <langel@redhat.com>
19340 * java/util/SimpleTimeZone.java: Reverted patch.
19341 (SimpleTimeZone): Throw exception if startMonth ==
19343 (SimpleTimeZone): Likewise.
19344 (checkRule): Rewritten to properly check all values (more
19346 This code is now more stable, at least less buggy than before.
19347 Fixed API documentation.
19348 (setStartRule): Moved checkRule call to end.
19349 (setStartRule): Likewise.
19350 (setEndRule): Likewise.
19351 (setEndRule): Likewise.
19353 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19355 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19358 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19361 * javax/swing/text/AbstractDocument.java:
19362 (insertString): Flipped if-expression and its blocks.
19364 (replace): Flipped if-expression and its blocks, added note, invoke
19365 insertString and remove instead of insertStringImpl and removeImpl.
19367 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19369 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19371 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19373 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19375 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19376 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19377 Increased visibility of fields used by parser anonymous classes.
19378 (processArgs): Removed.
19379 (getParser): New method.
19380 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19381 (setup): Mark (Eclipse) strings that need not be externalised.
19383 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19384 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19385 command line option parsing.
19386 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19387 Increased visibility of fields used by parser anonymous classes.
19388 (processArgs): Removed.
19389 (setup): set 'all' local field.
19390 (getParser): New method.
19391 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19392 Increased visibility of fields used by parser anonymous classes.
19393 (processArgs): Removed.
19394 (getParser): New method.
19395 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19396 (setNewKeyPassword): Fixed comments.
19397 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19398 Increased visibility of fields used by parser anonymous classes.
19399 (processArgs): Removed.
19400 (getParser): New method.
19401 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19403 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19404 Increased visibility of fields used by parser anonymous classes.
19405 (processArgs): Removed.
19406 (setup): Mark (Eclipse) strings that need not be externalised.
19407 (getParser): New method.
19408 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19409 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19410 Increased visibility of fields used by parser anonymous classes.
19411 (processArgs): Removed.
19412 (getParser): New method.
19413 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19414 (ATTRIBUTES_OPT): New constant.
19415 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19416 Increased visibility of fields used by parser anonymous classes.
19417 (processArgs): Removed.
19418 (setup): Mark (Eclipse) strings that need not be externalised.
19420 Reduced logging level.
19421 (getParser): New method.
19422 * tools/gnu/classpath/tools/keytool/Command.java
19423 (processArgs): Made it concrete.
19424 (getParser): New abstract method.
19425 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19427 2006-05-13 Casey Marshall <csm@gnu.org>
19429 Patch by Michael Barker <mike@middlesoft.co.uk>.
19430 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19431 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19432 gnu.java.nio.SocketChannelSelectionKeyImpl.
19433 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19434 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19436 * include/gnu_java_nio_VMChannel.h: new file.
19437 * java/nio/FileChannel.java (read,write): changed to call abstract
19439 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19440 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19441 `gnu_java_nio_VMChannel.c.'
19442 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19444 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19446 * javax/swing/text/AbstractDocument.java:
19447 (insertString): Flipped if-expression and its blocks.
19449 (replace): Flipped if-expression and its blocks, added note, invoke
19450 insertString and remove instead of insertStringImpl and removeImpl.
19452 2006-05-13 Tom Tromey <tromey@redhat.com>
19454 * java/nio/ByteBufferImpl.java (compact): Always set position.
19456 2006-05-13 Sven de Marothy <sven@physto.se>
19458 * gnu/java/awt/print/JavaPrinterGraphics.java
19459 (spoolPostScript): Use a faster writer.
19461 2006-05-13 Sven de Marothy <sven@physto.se>
19463 * gnu/java/awt/print/JavaPrinterGraphics.java
19464 (colorTripleHex): Reimplement better.
19466 2006-05-13 Sven de Marothy <sven@physto.se>
19468 * javax/swing/text/html/HTMLDocument.java
19469 (CharacterAction.start): Translate tag to StyleAttribute.
19470 (pushCharacterStyle): Push copy of attributes onto stack.
19471 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19474 2006-05-13 Sven de Marothy <sven@physto.se>
19476 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19477 * java/awt/print/PrinterJob.java
19478 (getPrinterJob): Return a JavaPrinterJob
19479 (setPrintService,getPrintService): Implement.
19480 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19481 (getPixels): Gtk_threads_enter required.
19482 * gnu/java/awt/print/JavaPrinterGraphics.java
19483 * gnu/java/awt/print/JavaPrinterJob.java
19484 * gnu/java/awt/print/SpooledDocumet.java:
19487 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19489 * javax/swing/text/TextAction.java:
19490 (HorizontalMovementAction): New inner class.
19491 (VerticalMovementAction): New inner class.
19492 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19493 new inner classes to array 'defaultActions'.
19494 (SelectionBeginWordAction): New inner class.
19495 (SelectionEndWordAction): New inner class.
19496 (BeginWordAction): New inner class.
19497 (EndWordAction): New inner class.
19498 (PreviousWordAction.actionPerformed): Rewritten.
19499 (SelectLineAction): New inner class.
19500 (SelectWordAction): New inner class.
19501 (SelectionDownAction): Rewritten.
19502 (SelectionUpAction): Rewritten.
19503 (DownAction): Rewritten.
19504 (UpAction): Rewritten.
19505 (SelectionForwardAction): Rewritten.
19506 (SelectionBackwardAction): Rewritten.
19507 (ForwardAction): Rewritten.
19508 (BackwardAction): Rewritten.
19509 (BeginAction): New inner class.
19510 (EndAction): New inner class.
19511 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19512 Character.isISOControl.
19514 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19516 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19517 (WordFilter.getNextVisualPositionFrom): Added statement to check
19518 for variable pt not being null.
19520 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19522 * javax/swing/text/Utilities.java:
19523 (getNextWord): Fixed grammar in exception message.
19524 (getPreviousWord): Changed expression in first if-clause, added sub-
19525 expression to if-clause in while-loop.
19526 (getWordStart): Changed expression in if-clause.
19527 getNextVisualPositionFrom): Added package-private helper method.
19529 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19531 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19534 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19536 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19538 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19539 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19540 * tools/gnu/classpath/tools/jarsigner/Main.java:
19541 Increased visibility of fields used by parser anonymous classes.
19542 (HELP_PATH): Removed.
19543 (cmdLineParser): New field.
19544 (main): Handle JVM exit status.
19545 Handle command line parsing exceptions.
19546 (processArgs): Use getopt command line parser.
19547 (getParser): New method.
19548 (setupCommonParams): Removed checks now handled by processArgs().
19549 (setupSigningParams): Likewise.
19550 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19551 Reuse an existing message-bundle constant.
19553 2006-05-12 Tom Tromey <tromey@redhat.com>
19555 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19556 Explicitly specify class for synchronization.
19558 2006-05-12 Tom Tromey <tromey@redhat.com>
19560 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19562 2006-05-12 Sven de Marothy <sven@physto.se>
19564 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19565 * gnu/java/net/protocol/http/HTTPURLConnection.java
19566 (setConnectTimeout): New method.
19567 (getConnection): Add timeout parameter.
19568 * java/net/URLConnection.java
19569 (getConnectTimeout, setConnectTimeout): Implement.
19570 * native/target/generic/target_generic_network.h:
19571 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19573 2006-05-12 Sven de Marothy <sven@physto.se>
19575 * gnu/javax/print/CupsServer.java
19576 (CupsServer): Make the Cups host configurable.
19577 * java/lang/System.java: Document the system property.
19579 2006-05-12 Roman Kennke <kennke@aicas.com>
19581 * javax/swing/border/TitledBorder.java
19582 (paintBorder): Rewritten for simplicity and correctness.
19583 (layoutBorderWithTitle): New helper method.
19584 (paintBorderWithTitle): New helper method.
19585 (getBorderInsets): Rewritten.
19586 (getMinimumSize): Rewritten.
19587 (getRealJustification): Removed.
19588 (getMeasurements): Removed.
19589 (Measurements): Removed.
19591 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19593 * javax/swing/plaf/basic/BasicPanelUI.java
19594 (sharedUI): New field,
19595 (createUI): Return a shared instance rather than a new instance,
19596 (installUI): Reformatted and added API docs,
19597 (installDefaults): Install border if one is defined,
19598 (uninstallDefaults): Uninstall border.
19600 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19602 * javax/swing/JProgressBar.java: Updated API docs all over.
19604 2006-05-11 Lillian Angel <langel@redhat.com>
19606 * java/awt/ContainerOrderFocusTraversalPolicy.java
19607 (getComponentAfter): Should not throw exception if
19608 the ancestor is null. Added a check for this.
19609 Also, changed to use new helper function, we should
19610 iterate through all the components at least once.
19611 (getNextAvailableComponent): New helper function.
19612 (getPrevAvailableComponent): New helper function.
19613 (getComponentBefore): Should not throw exception if
19614 the ancestor is null. Added a check for this.
19615 Also, changed to use new helper function, we should
19616 iterate through all the components at least once.
19617 (getFirstComponent): Changed check to manually check
19618 fields. Calling accept() casts the object to a Component,
19619 so different values may be returned.
19620 (getLastComponent): Likewise.
19622 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19624 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19625 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19626 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19627 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19628 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19629 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19630 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19631 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19632 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19633 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19634 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19635 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19636 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19637 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19638 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19639 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19640 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19641 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19643 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19645 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19646 package-private, added field 'active'.
19647 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19648 cases to update field 'active'.
19649 (mouseDragged): Added documentation, added if-clause to update
19650 selection or caret position.
19651 (mouseClicked): Added early return when text component is disabled.
19652 (focusGained): Moved statements into an if-clause.
19653 (focusLost): Added subexpression to if-clause.
19654 (install): Preset value of 'active'.
19655 (paint): Added subexpression to if-clause.
19656 (isVisible): Extended return expression.
19657 * javax/swing/text/JTextComponent.java:
19658 (copy): Copy only if component is enabled.
19659 (cut): Cut only if component is enabled and editable.
19662 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19664 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19665 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19666 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19667 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19668 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19669 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19670 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
19672 2006-05-11 Roman Kennke <kennke@aicas.com>
19674 * gnu/java/awt/font/GNUGlyphVector.java
19675 (GNUGlyphVector): Don't apply the font renderer context's
19678 2006-05-11 Mark Wielaard <mark@klomp.org>
19680 * java/util/logging/Logger.java (global): Initialize inside static
19683 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19685 * javax/swing/JFrame.java
19686 (EXIT_ON_CLOSE): Added note to API docs,
19687 (close_action): Renamed closeAction,
19688 (JFrame()): Change title to "",
19689 (JFrame(String)): Added API docs,
19690 (getAccessibleContext): Likewise,
19691 (getDefaultCloseOperation): Updated for renamed field, added API docs,
19692 (processWindowEvent): Updated for renamed field,
19693 (setDefaultCloseOperation): Likewise, and updated API docs.
19695 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19697 * javax/swing/JFrame.java
19698 (paramString): Reimplemented,
19699 * javax/swing/SwingUtilities.java
19700 (convertWindowConstantToString): New method.
19702 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19704 * javax/swing/WindowConstants.java: Updated API docs.
19706 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19708 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19709 (createUI): Removed 'final' qualifier for parameter,
19710 (paint): Reformatted.
19712 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19714 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19715 (createUI): Removed 'final' qualifier on method argument.
19717 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19719 * javax/swing/plaf/basic/BasicCheckBoxUI.java
19720 (getDefaultIcon): Removed this redundant method.
19722 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19724 * javax/swing/plaf/basic/BasicRadioButtonUI.java
19725 (paint): Pass component size to paintFocus().
19727 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19729 * java/awt/Component.java:
19730 (dispatchEventImpl): Added comment.
19732 2006-05-11 Mark Wielaard <mark@klomp.org>
19734 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19735 Option constructor null argument to String.
19737 2006-05-11 Mark Wielaard <mark@klomp.org>
19739 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19740 Fully qualify PathIterator constants
19742 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19744 * java/awt/Component.java:
19745 (dispatchEventImpl): Added subexpression to if-clause.
19747 2006-05-11 Mark Wielaard <mark@klomp.org>
19749 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19752 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19754 * javax/swing/TransferHandler.java: Marked stub methods.
19756 2006-05-10 Roman Kennke <kennke@aicas.com>
19759 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19760 (installDefaults): Set background of content pane to null, if
19761 no custom color has been installed by the application yet.
19763 2006-05-10 Roman Kennke <kennke@aicas.com>
19766 * javax/swing/JRootPane.java
19767 (createContentPane): Don't set background to null.
19769 2006-05-10 Sven de Marothy <sven@physto.se>
19771 * java/awt/print/PrinterJob.java:
19772 (lookupPrintServices): Un-comment-out.
19774 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
19776 * tools/gnu/classpath/tools/getopt/OptionGroup.java
19777 (FILLER): New constant.
19778 (formatText(PrintStream,String,int)): New method.
19779 (formatText(PrintStream,String,int,Locale)): Likewise.
19780 (printHelp): Use formatText method.
19781 * tools/gnu/classpath/tools/getopt/Parser.java
19782 (MAX_LINE_LENGTH): New constant.
19783 (formatText(PrintStream,String)): New method.
19784 (formatText(PrintStream,String,Locale)): Likewise.
19785 (printHelp): New method.
19786 (printHelp(PrintStream)): Increased visibility to protected.
19787 Use formatText method.
19789 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19791 * javax/swing/plaf/metal/MetalRadioButtonUI.java
19792 (installDefaults): Use getPropertyPrefix() to allow subclasses to
19793 modify the lookup key.
19795 2006-05-10 Lillian Angel <langel@redhat.com>
19797 * java/util/SimpleTimeZone.java: Reverted patch.
19798 (SimpleTimeZone): Throw exception if startMonth ==
19800 (SimpleTimeZone): Likewise.
19801 (checkRule): Rewritten to properly check all values (more
19803 This code is now more stable, at least less buggy than before.
19804 Fixed API documentation.
19805 (setStartRule): Moved checkRule call to end.
19806 (setStartRule): Likewise.
19807 (setEndRule): Likewise.
19808 (setEndRule): Likewise.
19810 2006-05-10 Roman Kennke <kennke@aicas.com>
19812 * gnu/java/awt/peer/swing/SwingComponent.java:
19813 Some API comment fixlets.
19814 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19815 (createImage): Create a BufferedImage, not a Toolkit image.
19816 (paint): Removed bogus API comment.
19817 (prepareImage): Added checks to avoid NPE.
19818 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19819 (getInsets): Added check to avoid NPE.
19820 (handleMouseEvent): Added check to avoid NPE.
19821 * gnu/java/awt/peer/swing/SwingFramePeer.java:
19822 Some API comment fixlets.
19823 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19824 Some API comment fixlets.
19825 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19826 Changed start_pos name to startPos.
19827 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19828 Some API comment fixlets.
19830 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19832 * java/awt/BasicStroke.java
19833 (equals): Fixed typo in HTML tag for API doc comment.
19835 2006-05-10 Gary Benson <gbenson@redhat.com>
19837 * java/lang/ThreadGroup.java (parent): Make package-private.
19838 * java/lang/SecurityManager.java (checkAccess(Thread)):
19839 Reference ThreadGroup.parent directly to avoid extra checks.
19840 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19843 2006-05-10 Roman Kennke <kennke@aicas.com>
19845 Reported by Ingo Proetel (proetel@aicas.com)
19846 * java/awt/EventDispatchThread.java
19847 (DEFAULT_PRIORITY): New constant field.
19848 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19849 system property for adjusting the priority of the event
19852 2006-05-10 Roman Kennke <kennke@aicas.com>
19854 Reported by Ingo Proetel (proetel@aicas.com)
19855 * java/awt/image/ColorModel.java
19856 (S_RGB_MODEL): New constant field.
19857 (getRGBDefault): Return constant SRGBColorModel.
19858 (SRGBColorModel): Specialized color model for sRGB.
19860 2006-05-10 Roman Kennke <kennke@aicas.com>
19862 * java/awt/ColorPaintContext.java
19863 (getRaster): Create Raster with (0,0) as source location.
19865 2006-05-10 Roman Kennke <kennke@aicas.com>
19867 * gnu/java/awt/java2d/AlphaCompositeContext.java
19868 (compose): Don't premultiply alpha to alpha itself.
19870 2006-05-10 Roman Kennke <kennke@aicas.com>
19872 * gnu/java/awt/java2d/AbstractGraphics2D.java
19873 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19874 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19876 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19877 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19878 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19880 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19881 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19883 (scale): Inverse transform by doing 1/scale instead of -scale.
19884 (drawImage(Image,int,int,ImageObserver)): Implemented.
19885 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19886 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19887 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19888 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19890 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19892 (fillScanline): Work on translated destination raster for
19893 correct compositin.
19894 (init): Fetch the clip after the destination raster is initialized.
19895 * gnu/java/awt/java2d/ImagePaint.java: New file.
19896 * gnu/java/awt/java2d/RasterGraphics
19897 (drawImage): Removed.
19899 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19901 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19902 Clarify option descriptions.
19903 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19904 uppercase for metasyntactic variables.
19906 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
19909 * javax/swing/text/AbstractDocument.java:
19910 (insertString): Added more documentation, added argument check.
19911 (remove): Added more documentation.
19912 (removeImpl): Added argument check.
19913 (replace): Added more documentation, added argument check.
19915 2006-05-09 Tom Tromey <tromey@redhat.com>
19917 * tools/.cvsignore: Added appletviewer.
19919 2006-05-09 Tom Tromey <tromey@redhat.com>
19921 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19924 2006-05-09 Tom Tromey <tromey@redhat.com>
19926 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
19927 Special case for '-J'. Use space instead of '='.
19928 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
19931 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19933 * configure.ac: Add --disable-plugin and --with-vm options. Check
19934 for plugin support headers and libraries.
19935 * native/Makefile.am: Recurse into plugin directory.
19936 * native/plugin/.cvsignore: New file.
19937 * native/plugin/Makefile.am: New file.
19938 * native/plugin/gcjwebplugin.cc: New file.
19939 * tools/Makefile.am: Install appletviewer wrapper script.
19940 * tools/appletviewer.in: Replace VM location heuristic with
19941 VM_BINARY configure substitution.
19943 2006-05-09 Tom Tromey <tromey@redhat.com>
19945 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
19946 an initial pass to look for short options. Added 'longOnly' option.
19947 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
19949 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
19950 options into final group. Added -J.
19951 (add): Insert new groups before final group.
19952 (printHelp): Updated.
19954 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19957 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
19958 tools/gnu/classpath/tools/rmi/RMIC.java (main):
19959 Expect -classpath option.
19960 * tools/gnu/classpath/tools/rmi/RMIC.txt,
19961 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
19963 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
19964 (classLoader): New field. (loadClass, setClassPath):
19967 2006-05-09 Roman Kennke <kennke@aicas.com>
19969 * gnu/java/awt/java2d/RasterGraphics.java
19970 (RasterGraphics): Call init() and super().
19971 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
19974 2006-05-09 Gary Benson <gbenson@redhat.com>
19976 * java/lang/Thread.java (Thread): Always perform threadgroup
19977 access checks on thread creation.
19979 2006-05-09 Chris Burdess <dog@gnu.org>
19981 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
19982 be preserved during cloneNode.
19984 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19987 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
19988 Do not demand all thrown exceptions to be an instance of RemoteException.
19990 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19992 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19993 Use hash-style comments.
19994 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
19997 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
19999 * javax/swing/JLabel.java
20000 (paramString): Added more attribute details,
20001 * javax/swing/SwingUtilities.java
20002 (convertHorizontalAlignmentCodeToString): New method,
20003 (convertVerticalAlignmentCodeToString): New method.
20005 2006-05-08 Tom Tromey <tromey@redhat.com>
20007 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20008 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20009 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20012 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20014 (run): Use ZipInputStream.
20015 (initSet): New method.
20016 (shouldExtract): Likewise.
20017 (run): Use new methods.
20018 * tools/gnu/classpath/tools/jar/Creator.java
20019 (writeCommandLineEntries): New overload.
20020 (writeFile): Use System.err for verbose.
20021 (writeManifest): New method.
20022 (writtenItems): New field.
20023 (writeFile): Update it.
20024 (writeCommandLineEntries): Return void. Call writeManifest.
20025 (addEntries): Don't add extra '/'.
20026 * NEWS: Mention jar.
20028 2006-05-08 Lillian Angel <langel@redhat.com>
20030 * gnu/java/net/IndexListParser.java: New class.
20031 * java/net/URLClassLoader.java
20032 (JarURLLoader): Fixed code to use new class.
20034 2006-05-08 Roman Kennke <kennke@aicas.com>
20036 * javax/swing/JComboBox.java
20037 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20038 (AccessibleJComboBox.getAccessibleChild): Implemented.
20039 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20040 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20041 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20042 (AccessibleJComboBox.getAccessibleAction): Implemented.
20043 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20044 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20045 (AccessibleJComboBox.doAccessibleAction): Implemented.
20046 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20047 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20048 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20049 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20050 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20052 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20054 * configure.ac: Add support for building appletviewer.
20055 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20057 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20059 * tools/appletviewer.c: New file.
20060 * tools/appletviewer.in: New file.
20061 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20063 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20065 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20066 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20068 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20070 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20072 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20074 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20076 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20077 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20079 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20081 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20083 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20085 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20087 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20089 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20092 2006-05-08 Tom Tromey <tromey@redhat.com>
20094 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20095 * tools/gnu/classpath/tools/jar/Action.java: New file.
20096 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20097 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20098 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20099 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20100 * tools/gnu/classpath/tools/jar/Main.java: New file.
20101 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20102 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20103 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20104 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20105 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20106 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20109 2006-05-08 Lillian Angel <langel@redhat.com>
20111 * java/net/URLClassLoader.java
20112 (JarURLLoader): Added check to make sure the INDEX.LIST file
20115 2006-05-08 Roman Kennke <kennke@aicas.com>
20117 * gnu/java/awt/java2d/AbstractGraphics2D.java
20118 (fill): Removed commented out code.
20119 (fillShape): Also determine the outline of the clip and feed
20120 it into the rendering method. Use new helper method for
20121 converting the shapes into lists of segments.
20122 (getUserBounds): Removed obsolete method.
20123 (rawFillShape): Respect the clip when rendering shapes.
20124 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20125 However, the implementation can't clip still.
20126 (getSegments): New helper method for converting a shape into
20127 a list of segments.
20128 (clipShape): Removed obsolete method.
20129 * gnu/java/awt/java2d/PolyEdge.java
20130 (isClip): New field.
20131 (PolyEdge): Added isField argument to constructor.
20133 2006-05-08 Roman Kennke <kennke@aicas.com>
20136 * javax/swing/JRootPane.java
20137 (createContentPane): Set background of the content pane to null,
20138 so that the content pane inherits its background from the
20141 2006-05-08 Roman Kennke <kennke@aicas.com>
20144 * javax/swing/ButtonGroup.java
20145 (add): Check if new button is selected and if so, deselect other
20146 buttons in the group.
20148 2006-05-08 Lillian Angel <langel@redhat.com>
20151 * java/net/URLClassLoader.java
20152 (JarURLLoader): Added code to go through
20153 META-INF/INDEX.LIST file to load all jars listed.
20155 2006-05-08 Roman Kennke <kennke@aicas.com>
20158 * javax/swing/ImageIcon.java
20159 (ImageIcon(URL)): Set description to URL.toString().
20161 2006-05-08 Roman Kennke <kennke@aicas.com>
20164 * javax/swing/JTable.java
20165 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20166 null when cell value is null.
20168 2006-05-08 Roman Kennke <kennke@aicas.com>
20171 * javax/swing/DefaultDesktopManager.java
20172 (closeFrame): Don't perform default close action on the frame
20173 to prevent endless loop.
20175 2006-05-08 Roman Kennke <kennke@aicas.com>
20178 * javax/swing/table/DefaultTableModel.java
20179 (addExtraRows): New helper method.
20180 (checkSize): New helper method.
20181 (setRowCount): Use addExtraRows helper method.
20182 (addColumn): Use addExtraRows helper method.
20183 (getColumnName): Check and adjust size if necessary using
20186 2006-05-08 Roman Kennke <kennke@aicas.com>
20189 * javax/swing/JTable.java
20190 (setValueAt): Allow setting values even when table is editable.
20192 2006-05-08 Tom Tromey <tromey@redhat.com>
20194 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20195 space to error message.
20197 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20199 * javax/swing/AbstractButton.java: Fixed comment typos.
20201 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20203 PR classpath/27435:
20204 * java/util/zip/DeflaterEngine.java:
20205 (deflateFast(boolean,boolean)): Empty buffer when full.
20207 2006-05-07 Sven de Marothy <sven@physto.se>
20210 * java/util/Calendar.java (setTimeZone): Force recalculation.
20212 2006-05-07 Sven de Marothy <sven@physto.se>
20215 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20216 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20218 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20220 PR classpath/27311:
20221 * gnu/java/text/StringFormatBuffer.java:
20222 (toString()): Implemented so we can see the contents.
20223 * java/text/DecimalFormat.java:
20224 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20225 Don't calculate the exponent when the number is 0 or less.
20226 Also, use log10 instead of log now it's available.
20228 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20230 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20231 Use instance's field creationDate not the constructor's argument.
20232 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20233 Removed unused imports.
20236 (decrypt): Added trace/debug/timing statements.
20237 (encrypt): Likewise.
20238 Use PRNG instead of instantiating every time a new SecureRandom.
20239 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20240 Removed unused imports.
20243 (verify): Added trace/debug/timing statements.
20244 (authenticate): Likewise.
20245 Use PRNG instead of instantiating every time a new SecureRandom.
20247 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20249 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20250 (THREAD_FORMAT): Likewise.
20251 (dateFormat): Added field.
20252 (threadFormat): Added field.
20253 (format): Initialize instance fields if null.
20254 Use StringBuilder instead of StringBuffer.
20256 2006-05-07 Roman Kennke <kennke@aicas.com>
20258 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20260 2006-05-07 Roman Kennke <kennke@aicas.com>
20262 * gnu/java/awt/java2d/AbstractGraphics2D.java
20263 (fillShape): Determine user space bounds of shape and feed them
20264 into the actual rendering pipeline.
20265 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20266 (rawSetForeground): Likewise.
20267 (getDestinationColorModel): Removed.
20268 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20269 (rawFillShape): Handle paint context.
20270 (fillScanline): Implement painting and compositing.
20271 (fillShapeAntialias): Handle paint context.
20272 (fillScanlineAA): Implemented preliminary antialiasing based on
20273 composite context. Not working yet.
20274 (fillScanlineAlpha): Removed.
20275 (init): Fetch destination raster.
20276 (getDestinationRaster): New abstract method.
20277 (updateRaster): New backend method.
20279 2006-05-07 Roman Kennke <kennke@aicas.com>
20281 * gnu/java/awt/java2d/AlphaCompositeContext.java
20282 (compose): Fixed loops, conditions and logic to make compositing
20285 2006-05-07 Roman Kennke <kennke@aicas.com>
20287 * java/awt/ColorPaintContext.java
20288 (ColorPaintContext): Fixed filling of the raster.
20290 2006-05-07 Sven de Marothy <sven@physto.se>
20293 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20294 * java/awt/Component.java (processMouseEvent):
20295 Do lightweight cursor handling.
20296 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20297 (endResizing,mouseMoved): Save and reset original cursor, not the
20300 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20303 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20304 getNodeDimensions): Mind the size of the node icon. (getRowX):
20305 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20306 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20307 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20308 (installDefaults): assign totalChildIndent. (installUI): Call
20309 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20310 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20313 2006-05-06 Sven de Marothy <sven@physto.se>
20316 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20317 Check for zero image sizes.
20319 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20322 * java/util/Calendar.java (clear(int)): Forced internal state
20323 completion before performing a field clearing.
20325 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20327 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20328 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20329 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20330 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20331 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20332 UnmodifiableMapEntry as part of their return value.
20334 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20336 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20337 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20338 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20339 Generate jarsigner and keytool scripts.
20340 * tools/keytool.in: New file (renamed from keytool.sh.in).
20341 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20342 * tools/.cvsignore: Replaced *.sh with *
20343 * configure.ac: Replaced tools/*.sh with tools/*.
20345 2006-05-05 Roman Kennke <kennke@aicas.com>
20347 * java/awt/image/ColorModel.java
20348 (getNormalizedComponents): Implemented.
20350 2006-05-05 Roman Kennke <kennke@aicas.com>
20352 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20353 (paint): Query the button model for it's state, not the
20356 2006-05-05 Roman Kennke <kennke@aicas.com>
20358 * javax/swing/JTable.java
20359 (tableChanged): Sync selection model with table model changes.
20361 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20363 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20364 if there are no visible nodes to paint.
20366 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20368 * javax/swing/JOptionPane.java: API doc updates.
20370 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20372 * javax/swing/JToolBar.java
20373 (paramString): Reimplemented.
20375 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20377 * javax/swing/JScrollBar.java
20378 (paramString): Reimplemented.
20380 2006-05-04 Tom Tromey <tromey@redhat.com>
20382 PR classpath/27375:
20383 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20384 (readEntries): Updated.
20385 (getEntries): Likewise.
20386 (getEntry): Likewise.
20387 (getInputStream): Likewise.
20389 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20391 * gnu/javax/imageio/jpeg/DCT.java,
20392 gnu/javax/imageio/jpeg/HuffmanTable.java,
20393 gnu/javax/imageio/jpeg/JPEGComponent.java,
20394 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20395 gnu/javax/imageio/jpeg/JPEGException.java,
20396 gnu/javax/imageio/jpeg/JPEGFrame.java,
20397 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20398 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20399 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20400 gnu/javax/imageio/jpeg/JPEGMarker.java,
20401 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20402 gnu/javax/imageio/jpeg/JPEGScan.java,
20403 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20404 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20406 2006-05-04 Lillian Angel <langel@redhat.com>
20408 * javax/swing/JLabel.java
20409 (JLabel): Pass in an empty string for the text parameter.
20410 (JLabel): Likewise.
20411 (JLabel): Likewise.
20413 2006-05-04 Roman Kennke <kennke@aicas.com>
20415 * javax/swing/plaf/basic/BasicButtonListener.java
20416 (mouseEntered): Fixed conditions for changing states.
20418 2006-05-04 Roman Kennke <kennke@aicas.com>
20420 * javax/swing/JOptionPane.java
20421 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20423 2006-05-04 Roman Kennke <kennke@aicas.com>
20425 * javax/swing/JLabel.java
20426 (AccessibleJLabel.getSelectedText): Return null instead of "".
20427 (AccessibleJLabel.getSelectionStart): Added comment why
20428 return -1 is correct here.
20429 (AccessibleJLabel.getSelectionEnd): Added comment why
20430 return -1 is correct here.
20431 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20433 (AccessibleJLabel.getCharCount): Added comment about what
20435 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20436 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20437 (paramString): Return super.paramString() here, this provides
20438 a more meaningful output.
20440 2006-05-04 Roman Kennke <kennke@aicas.com>
20442 * javax/swing/JComponent.java
20443 (paint): Added null check to avoid NPE when clip == null.
20445 2006-05-04 Roman Kennke <kennke@aicas.com>
20447 * javax/swing/AbstractButton.java
20448 (addImpl): New method. Installs an OverlayLayout if no
20449 other layout has been installed before.
20450 (setLayout): New method. Detect if a client app installs a custom
20453 2006-05-04 Roman Kennke <kennke@aicas.com>
20455 * javax/swing/table/DefaultTableCellRenderer.java
20456 (noFocusBorder): Fixed width of empty border to 1.
20457 (getTableCellRendererComponent): Don't change the colors for
20458 focuses cells. Fixed border for focused cells.
20460 2006-05-04 Roman Kennke <kennke@aicas.com>
20462 * javax/swing/JTable.java
20463 (moveToCellBeingEdited): Adjust bounding box of editing component
20464 to exactly cover the grid.
20465 * javax/swing/plaf/basic/BasicTableUI.java
20466 (paint): Paint grid to the bottom and right of the cells instead
20467 of left and top. Adjust bounding box of cells accordingly.
20468 * javax/swing/plaf/metal/MetalLookAndFeel.java
20469 (initComponentDefaults): Fixed color of JTable selection border.
20470 * javax/swing/plaf/metal/OceanTheme.java
20471 (addCustomEntriesToTable): Fixed color of JTable selection border.
20473 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20475 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20476 Use _alias instead of alias.
20478 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20481 Set version to 0.92-pre.
20483 Add space for 0.92 entries.
20485 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20487 * include/Makefile.am:
20488 Added rules for gnu.java.net.local.LocalSocketImpl.h
20489 * include/java_lang_VMSystem.h:
20490 Regenerated correctly.
20492 2006-05-03 Sven de Marothy <sven@physto.se>
20495 * java/awt/Image.java:
20496 (getScaledInstance): Default to AreaAveraging for "smooth",
20497 don't thrown an error on illegal flag values.
20498 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20500 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20502 * javax/swing/text/FieldView.java:
20503 (adjustAllocation): Added if-block to return null when shape argument
20505 * javax/swing/text/PlainView.java:
20506 (updateDamage): Added if-block to return early if a is null.
20508 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20510 * javax/swing/plaf/basic/BasicTextUI.java:
20511 (changeUpdate): Added note.
20512 (removeUpdate): Dito.
20513 (insertUpdate): Dito.
20514 (damageRange): Added if-block to return early.
20515 (modelToView): Added check of getVisibleEditorRect's return value.
20516 (getVisibleEditorRect): Return null instead of empty rectangle.
20517 * javax/swing/text/DefaultCaret.java:
20518 (clearHighlight): Removed if-clause to create a highlight entry if it
20519 did not exist before.
20520 * javax/swing/text/WrappedPlainView.java:
20521 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20522 removed 2nd part of if-expression.
20523 (WrappedLine.updateDamage): Added more documentation, added check
20524 whether allocation area rectangle is null.
20526 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20528 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20529 Reset to preferred sizes if the argument is negative.
20531 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20533 * javax/swing/JList.java: Added/updated API docs.
20535 2006-05-03 Lillian Angel <langel@redhat.com>
20537 * javax/swing/JComponent.java
20538 (getRoot): New private function. Gets the root appropriate
20539 for painting. If an applet exists as a parent, then it is returned.
20540 (paintDoubleBuffered): Changed to use new function.
20541 * javax/swing/RepaintManager.java
20542 (getRoot): New private function. Gets the root appropriate
20543 for painting. If an applet exists as a parent, then it is returned.
20544 (getOffscreenBuffer): Changed to use new function.
20545 * javax/swing/SwingUtilties.java
20546 (getRoot): Reverted last patch to return Window, even if
20549 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20551 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20552 a pair of one public keyring and one private keyring.
20553 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20554 (containsCertificate): Added logging.
20555 (getCertificate): Likewise.
20556 (putCertificate): Likewsie.
20559 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20560 (containsPrivateKey): Added logging.
20561 (getPrivateKey): Likewise.
20562 (putPrivateKey): Likewise.
20563 (containsPublicKey): Likewise.
20564 (getPublicKey): Likewise.
20565 (putPublicKey): Likewise.
20566 (containsCertPath): Likewise.
20567 (getCertPath): Likewise.
20568 (putCertPath): Likewise.
20572 2006-05-03 Roman Kennke <kennke@aicas.com>
20574 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20575 * java/awt/AlphaComposite.java
20576 (createContext): Implemented.
20578 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20580 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20581 Set the current color again after drawing the raster.
20583 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20585 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20586 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20588 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20590 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20591 Assign returned value to field handler.
20592 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20595 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20597 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20598 Return without action if there is no view in the viewport.
20599 * javax/swing/text/WrappedPlainView.java
20600 (WrappedLine.getPreferredSpan): If metrics == null, update
20602 * javax/swing/tree/DefaultTreeModel.java (constructors):
20603 Do not call setRoot, assign the root node directly.
20605 2006-05-02 Lillian Angel <langel@redhat.com>
20607 * javax/swing/SwingUtilities.java
20608 (getRoot): Should return the Applet if it exists.
20609 Only return the Window if an Applet has not been
20612 2006-05-02 Lillian Angel <langel@redhat.com>
20614 * gnu/javax/swing/text/html/parser/support/Parser.java
20615 (readAttributes): Reverted Audrius' last patch. There is
20616 a slight difference in code between the NUMTOKEN and SLASH case.
20618 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20620 * javax/swing/text/JTextComponent.java:
20621 (setText): Throw InternalError from catch-block.
20622 * javax/swing/text/GapContent.java:
20623 (removed): Removed if-expression, changed '>' to '>='.
20625 2006-05-02 Roman Kennke <kennke@aicas.com>
20627 * gnu/java/awt/java2d/AbstractGraphics2D.java
20628 (AA_SAMPLING): New constant.
20629 (alpha): New field. Used in the antialiasing renderer.
20630 (edgeTable): New field. Used in the antialiasing renderer.
20631 (AbstractGraphics2D): Initialize rendering hints wrt
20633 (draw): Clip after stroking. Commented out clipping for now,
20634 it seems to be buggy.
20635 (fill): Commented out clipping for now, it seems to be buggy.
20636 (setComposite): Don't create composite context.
20637 (setPaint): Only change paint when parameter is not null.
20638 (translate): Call setClip() so subclasses can update their clip
20640 (clip): Call setClip() so subclasses can update their clip
20642 (drawGlyphVector): Added clipping, but left it commented out
20643 because it's buggy.
20644 (getClipBounds): Returns null when clip is null.
20645 (drawLine): Call rawDrawLine with translation applied.
20646 (filLRect): Call rawFillRect with translation applied.
20647 (fillShape): Added support for anti-aliasing.
20648 (rawSetForeground(int,int,int)): New method.
20649 (rawFillShape): A couple of painting fixes.
20650 (fillScanline): Implemented to call rawDrawLine.
20651 (fillShapeAntialias): New method. Implements an anti-aliasing
20653 (fillScanlineAA): New method. Used for the anti-aliasing
20655 (fillScanlineAlpha): New method. Used for the anti-aliasing
20657 (init): Initialize clip with the device bounds.
20658 (updateOptimization): Fixed the optimization condition.
20660 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20662 * javax/swing/text/GapContent.java:
20663 (GapContent): Restrict size argument by 2.
20664 (insertString): Changed expression from >= to >.
20665 (remove): Changed right side of expression to 'length - 1', changed
20667 (getChars): Throw exception if where below 0.
20668 (replace): Replaced call to setPositionsInRange() with
20669 resetMarksAtZero(), removed note.
20671 2006-05-02 Roman Kennke <kennke@aicas.com>
20674 * javax/swing/MenuSelectionManager.java
20675 (setSelectedPath): Rewritten.
20677 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20679 * gnu/javax/swing/text/html/parser/support/Parser.java
20680 (readAttributes): Merge case NUMTOKEN: and case SLASH:
20683 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20685 * tools/.cvsignore: Added keytool.sh.
20686 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20688 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20690 * doc/tools.texinfo: New file.
20691 * doc/Makefile.am: Generate tools documentation.
20693 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20695 * tools/keytool.sh.in: New file.
20696 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20697 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20698 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20699 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20700 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20701 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20702 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20703 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20704 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20705 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20706 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20707 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20708 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20709 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20710 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20711 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20712 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20713 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20715 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20717 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20718 resemble more closely man-page style text.
20719 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20720 Mark (Eclipse) strings that need not be externalised.
20721 (writeSF): Likewise.
20722 (writeDSA): Likewise.
20723 Use package-private Messages class to provide i18n-ready strings.
20725 Use package-private Messages class to provide i18n-ready strings.
20726 (updateEntry): Likewise.
20727 Mark (Eclipse) strings that need not be externalised.
20728 (finishSigning): Likewise.
20729 * tools/gnu/classpath/tools/jarsigner/Main.java:
20730 Mark (Eclipse) strings that need not be externalised.
20731 (main): Do not use constant strings as class name.
20732 Use package-private Messages class to provide i18n-ready strings.
20733 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20734 (processArgs): Do not use constant strings as class name.
20735 Mark (Eclipse) strings that need not be externalised.
20736 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20737 (start): Do not use constant strings as class name.
20738 (teardown): Likewise.
20740 (setupCommonParams): Do not use constant strings as class name.
20741 Use package-private Messages class to provide i18n-ready strings.
20742 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20743 (installNewProvider): Do not use constant strings as class name.
20745 (setupSigningParams): Do not use constant strings as class name.
20746 Use package-private Messages class to provide i18n-ready strings.
20747 Mark (Eclipse) strings that need not be externalised.
20748 (getCallbackHandler): Use CallbackUtil.
20749 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20750 Use package-private Messages class to provide i18n-ready strings.
20751 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20752 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20753 (verifySF): Likewise.
20754 (verifySFEntries): Do not use constant strings as class name.
20755 Use Boolean.valueOf instead of new Boolean().
20756 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20757 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20759 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20760 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20762 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20764 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20765 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20766 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20768 2006-05-01 Tom Tromey <tromey@redhat.com>
20770 * java/nio/ByteBufferImpl.java (compact): Don't reset position
20772 * gnu/java/nio/ChannelReader.java (read): Synchronize.
20773 (close): Synchronize.
20774 * java/nio/ShortBufferImpl.java (compact): Rewrote.
20775 * java/nio/LongBufferImpl.java (compact): Rewrote.
20776 * java/nio/IntBufferImpl.java (compact): Rewrote.
20777 * java/nio/FloatBufferImpl.java (compact): Rewrote.
20778 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20779 * java/nio/CharBufferImpl.java (compact): Rewrote.
20780 * gnu/java/nio/ChannelWriter.java: New file.
20781 * java/nio/channels/Channels.java (newWriter): Implemented.
20783 2006-05-01 Lillian Angel <langel@redhat.com>
20785 * java/util/SimpleTimeZone.java
20786 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20787 (SimpleTimeZone): Likewise.
20788 (checkRule): Rewritten to properly check all values (more efficently).
20789 This code is now more stable, at least less buggy than before. Fixed
20791 (setStartRule): Moved checkRule call to end.
20792 (setStartRule): Likewise.
20793 (setEndRule): Likewise.
20794 (setEndRule): Likewise.
20796 2006-05-01 Tom Tromey <tromey@redhat.com>
20798 * lib/.cvsignore: Added classes.2.
20800 2006-05-01 Tom Tromey <tromey@redhat.com>
20802 * java/util/jar/JarFile.java (provider): Now package-private.
20803 * java/lang/Enum.java (compareTo): Javadoc fix.
20804 * java/lang/Boolean.java (compareTo): Javadoc fix.
20806 2006-05-01 Lillian Angel <langel@redhat.com>
20808 * gnu/javax/swing/text/html/parser/support/Parser.java
20809 (readAttributes): Formatted function. Added handling for
20810 SLASH token. The value of an attribute may start with a slash
20811 (i.e. a path). I added handling similar to to the NUMTOKEN code.
20812 We should not be skipping over these type of attributes.
20814 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
20816 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20817 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20818 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20819 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20820 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20821 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20822 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20823 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20824 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20825 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20826 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20827 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20828 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20829 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20830 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20831 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20832 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20833 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20834 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20835 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20836 * include/gnu_java_awt_peer_gtk_GtkImage.h,
20837 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20838 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20839 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20840 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20841 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20842 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20843 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20844 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20845 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20846 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20847 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20848 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20849 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20850 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20851 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20852 * include/gnu_java_awt_peer_qt_MainQtThread.h,
20853 * include/gnu_java_awt_peer_qt_QMatrix.h,
20854 * include/gnu_java_awt_peer_qt_QPainterPath.h,
20855 * include/gnu_java_awt_peer_qt_QPen.h,
20856 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20857 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20858 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20859 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20860 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20861 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20862 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20863 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20864 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20865 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20866 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20867 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20868 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20869 * include/gnu_java_awt_peer_qt_QtGraphics.h,
20870 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20871 * include/gnu_java_awt_peer_qt_QtImage.h,
20872 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20873 * include/gnu_java_awt_peer_qt_QtListPeer.h,
20874 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20875 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20876 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20877 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20878 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20879 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20880 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20881 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20882 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20883 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20884 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20885 * include/gnu_java_awt_peer_qt_QtToolkit.h,
20886 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20887 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20888 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20889 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20890 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20891 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20892 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20893 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20894 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20895 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20896 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20897 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20898 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20899 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20900 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20901 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20902 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20903 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20904 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20905 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20906 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20907 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20908 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20909 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20910 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20911 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20912 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20913 * include/java_lang_VMProcess.h:
20915 * native/jni/java-lang/java_lang_VMProcess.c:
20916 Redirect when pipe_count is 2 not 3.
20918 2006-04-30 Sascha Brawer <sascha@brawer.ch>
20920 * gnu/java/awt/font/FontDelegate.java,
20921 * gnu/java/awt/font/FontFactory.java,
20922 * gnu/java/awt/font/GNUGlyphVector.java,
20923 * gnu/java/awt/font/opentype/CharGlyphMap.java,
20924 * gnu/java/awt/font/opentype/GlyphNamer.java,
20925 * gnu/java/awt/font/opentype/MacResourceFork.java,
20926 * gnu/java/awt/font/opentype/NameDecoder.java,
20927 * gnu/java/awt/font/opentype/OpenTypeFont.java,
20928 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20929 * gnu/java/awt/font/opentype/Scaler.java,
20930 * gnu/java/awt/font/opentype/truetype/Fixed.java,
20931 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
20932 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
20933 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
20934 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
20935 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
20936 * gnu/java/awt/font/opentype/truetype/Zone.java,
20937 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
20938 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
20939 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
20940 New files. Imported font framework from:
20941 http://www.brawer.ch/software/fonts/
20943 2006-04-30 Roman Kennke <kennke@aicas.com>
20945 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
20946 (lastTabInRun): Fix calculation of the last tab in a run. This
20947 has caused painting problems sometimes, making the
20948 last tab painted incorrectly.
20950 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20953 * javax/swing/JComponent.java (paintChildrenWithOverlap):
20954 Use for and not while to prevent the endless loop.
20956 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
20958 * javax/swing/JList.java
20959 (paramString): Changed from public to protected.
20961 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20963 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
20964 (printHelpAndExit): Re-factored to use the above method.
20966 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20968 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
20969 Use -Xbootclasspath/p instead of -cp when invoking the main class.
20970 * tools/gnu/classpath/tools/jarsigner/Main.java:
20971 Changed license to GPL + Exception.
20972 (handler): New field.
20973 (getCallbackHandler): New method.
20974 (setupSigningParams): Use above method.
20975 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
20976 Changed license to GPL + Exception.
20977 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
20978 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
20979 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
20980 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
20982 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20984 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
20985 (handleConfirmation): Use print instead of println.
20986 (handleConfirmation): When case is YES_NO_OPTION, print default option
20988 (handleLanguage): Use print instead of println.
20990 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20992 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
20993 (putComponent): Handle O and OU components.
20994 (getDer): Use correct (it2) iterator.
20995 (readAttributeValue): Read next character and break if end-of-stream.
20997 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20999 * gnu/java/security/provider/Gnu.java (run):
21000 Add "RSA" as an alias to MD5withRSA.
21001 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21002 Always encode a NULL as the value of an algorithm parameters field.
21003 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21004 (encodePrivateKey): Added trace/log statements.
21005 (decodePrivateKey): Likewise.
21006 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21007 (setup): Added trace/log statements.
21008 (generate): Likewise.
21009 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21010 (toString): New method.
21011 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21013 (toString): New method.
21014 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21015 (getEncoded): Use defaultFormat.
21016 (toString): New method.
21017 * gnu/java/security/key/dss/DSSKey.java (toString):
21018 Include defaultFormat in string.
21019 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21020 Break if successfully decoded public key.
21021 (engineGeneratePrivate): Break if successfully decoded private key.
21023 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21025 * java/security/Security.java <clinit>: Add our Callback provider.
21026 * resource/java/security/classpath.security: Likewise
21028 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21031 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21032 Decide about scroll bars from the preferred view size, not
21034 * javax/swing/ViewportLayout.java (layoutContainer):
21035 Do not change returned preferred size. Do not treat JScrollPane
21038 2006-04-28 Sven de Marothy <sven@physto.se>
21040 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21041 * javax/swing/ProgressMonitor.java (actionPerformed):
21042 Avoid divide-by-zero.
21044 2006-04-28 Sven de Marothy <sven@physto.se>
21046 * javax/swing/JSpinner.java: Fix default text justification.
21047 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21049 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21051 * javax/swing/JList.java
21052 (getMinSelectionIndex): Return correct value, added API docs,
21053 (getMaxSelectionIndex): Added API docs.
21055 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21057 * javax/swing/JList.java
21058 (JList(Object[])): Pass new model directly to init(),
21059 (JList(Vector)): Likewise,
21060 (JList(ListModel)): Renamed argument and updated API docs,
21061 (init): Throw IllegalArgumentException for null argument,
21062 (setListData(Object[])): Delegate model creation,
21063 (setListData(Vector)): Likewise,
21064 (createListModel(Object[])): New private method,
21065 (createListModel(Vector)): New private method,
21066 (paramString): Implemented.
21068 2006-04-28 Tom Tromey <tromey@redhat.com>
21070 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21072 (isSynthetic): Likewise.
21073 (isAnnotation): Likewise.
21074 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21075 (isAnnotation): Likewise.
21076 (isEnum): Likewise.
21078 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21080 * javax/swing/text/View.java:
21081 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21084 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21086 * javax/swing/text/View.java:
21087 (getNextVisualPositionFrom): Rewritten.
21088 * javax/swing/text/CompositeView.java:
21089 (getNextEastWestVisualPositionFrom): Partly implemented.
21090 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21092 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21094 * javax/swing/JList.java
21095 (setFixedCellHeight): Use correct property name for event.
21097 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21099 * javax/swing/text/Utilities.java:
21100 (getNextWord): Use codePointAt instead of charAt, added note, changed
21101 if-expression, added throwing of exception.
21102 (getPreviousWord): Use codePointAt instead of charAt.
21104 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21106 * java/lang/StringBuilder.java
21107 (ensureCapacity, getChars, append(StringBuffer),
21108 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21109 insert(int,String), insert(int,char), trimToSize): Replaced
21110 System.arraycopy calls with VMSystem.arraycopy.
21112 2006-04-27 Tom Tromey <tromey@redhat.com>
21114 * java/awt/image/renderable/RenderableImageProducer.java
21115 (requestTopDownLeftRightResend): Implemented.
21117 (startProduction): Add new consumer.
21119 2006-04-27 Sven de Marothy <sven@physto.se>
21121 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21123 2006-04-27 Roman Kennke <kennke@aicas.com>
21125 * java/awt/LightweightDispatcher.java
21126 Dispatch events only to targets that have a mouselistener
21127 attached. Changed to also handle null targets.
21129 2006-04-27 Roman Kennke <kennke@aicas.com>
21131 * NEWS: Added entries about accessibility support and L&F
21132 window decorations.
21134 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21136 * javax/swing/text/Utilities.java:
21137 (getTabbedTextOffset): Introduced width variable, rewritten the check
21138 which ends the loop.
21139 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21142 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21144 * examples/gnu/classpath/examples/swing/TreeDemo.java
21145 (createContent): Added root visibility and selection listener demos.
21146 * javax/swing/JTree.java (setRootVisible): If false, unselect
21147 the root node, if it is selected.
21148 * javax/swing/plaf/basic/BasicTreeUI.java
21149 (TreeTraverseAction.actionPerformed): Do not select the root if it
21151 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21152 removeSelectionPaths): Reset lead to null if the current lead path is
21153 removed from selection.
21154 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21155 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21156 Return the same path regardless is root visible or not. (update):
21157 Reduce the identation if the root is not visible.
21158 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21159 Return the same path regardless is root visible or not. (update):
21160 Reduce the identation if the root is not visible.
21162 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21164 * javax/swing/plaf/basic/BasicTreeUI.java
21165 (TreeAction.actionPerformed):Newly obtain the current lead
21166 path that must stay visible.
21167 (TreeTraverseAction.actionPerformed):Rewritten.
21168 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21169 Do not treat root specially. (setModel): Assume the root node
21170 initially expanded.
21171 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21172 Do not treat root specially. (setModel): Assume the root node
21173 initially expanded.
21175 2006-04-26 Chris Burdess <dog@gnu.org>
21178 * javax/xml/datatype/DatatypeFactory.java: Use complete
21179 implementation resolution mechanism.
21181 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21183 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21185 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21186 Removed NoImplementException form the implemented method.
21188 2006-04-26 Tom Tromey <tromey@redhat.com>
21190 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21193 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21195 * javax/swing/DefaultListSelectionModel.java
21196 (clone): Initialise empty listener list,
21197 (setSelectionMode): Throw IllegalArgumentException for bad input.
21199 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21201 * javax/swing/DefaultListSelectionModel.java
21202 (clearSelection): Clear the Bitset.
21204 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21206 * javax/swing/JTree.java (setLeadSelectionPath):
21207 Repaint the new and old lead pathes.
21208 * javax/swing/plaf/basic/BasicTreeUI.java
21209 (FocusHandler): Repaint the lead row when focus changes.
21210 (PropertyChangeHandler): Use existing constants, not the
21211 string literals for the property names.
21212 (TreeIncrementAction): Shrink the selection when moving
21213 from the selection edge to the selection anchor.
21214 (TreeSelectionHandler.valueChanged): Repaint the
21215 new and old lead pathes.
21216 (paintRow): Treat row as focused only if it is the lead row.
21217 * javax/swing/tree/DefaultTreeCellRenderer.java
21218 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21219 (paint): Rewritten.
21220 * javax/swing/tree/DefaultTreeSelectionModel.java
21221 (addSelectionPath): Event construction fix (old and new lead were
21223 (addSelectionPaths): Likewise.
21224 * javax/swing/JComponent.java (setOpaque): Explained.
21225 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21227 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21230 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21232 * examples/gnu/classpath/examples/swing/TreeDemo.java
21233 (createContent): Call DefaultTreeModel.reload(), not the
21234 tree.repaint(). Expand the parent of the added node.
21235 * javax/swing/JTree.java (constructor): Do not call
21236 UpdateUI (and documented why). (treeDidChange):
21237 Added comment, excluding the misinterpretation of this method.
21238 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21239 focusListener, keyListener, mouseListener, propertyListener,
21240 selectionModelPropertyChangeListener, treeModelListener,
21241 treeSelectionListener): Made package private.
21242 (PropertyChangeHandler): If the model changes, install the
21243 listener on it. (installUI): Assign treeModel.
21244 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21245 comment, excluding misinterpretation.
21246 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21247 (reload(TreeNode)): Implemented.
21249 2006-04-25 Tom Tromey <tromey@redhat.com>
21251 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21252 * javax/swing/tree/VariableHeightLayoutCache.java
21253 (getVisiblePathsFrom): Genericized.
21254 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21257 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21259 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21260 If clicked on the other row, cancel the current editing session.
21262 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21264 * javax/swing/plaf/basic/BasicTreeUI.java
21265 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21266 (paintExpandControl): Always paint in one gap distance from the left
21267 border of the path bounds.
21268 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21269 into consideration.
21270 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21273 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21275 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21277 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21279 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21280 Allow slashes (/) in the unquoted parameter value.
21282 2006-04-25 Roman Kennke <kennke@aicas.com>
21284 * gnu/java/awt/java2d/AbstractGraphics2D.java
21285 (drawString(String,int,int)): Implemented.
21286 (drawString(String,float,float)): Implemented.
21287 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21288 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21289 (getFontRenderContext): Implemented.
21290 (drawGlyphVector): Implemented.
21291 (getFont): Implemented.
21292 (setFont): Don't change font setting when null.
21293 (getFontMetrics): Implemented.
21294 (fillShape): Re-written to fill call rawFillShape() with a list
21295 of the edges instead of double arrays.
21296 (rawFillShape): Implemented using a polygon scanline conversion.
21297 (fillScanline): New helper method.
21298 (init): Initialize foreground black. Set font.
21299 * gnu/java/awt/java2d/PolyEdge.java: New file.
21300 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21302 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21304 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21306 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21308 * javax/swing/JTable.java: Fixed API doc tags,
21309 * javax/swing/text/AsyncBoxView.java: Likewise,
21310 * javax/swing/text/FlowView.java: Likewise.
21312 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21314 * javax/swing/table/DefaultTableColumnModel.java
21315 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21317 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21319 * javax/swing/table/DefaultTableColumnModel.java
21320 (DefaultTableColumnModel): Set selection model field and add 'this' as
21322 (addColumn): Add 'this' as a PropertyChangeListener,
21323 (removeColumn): Remove column before firing event, and remove 'this' as
21324 a PropertyChangeListener,
21325 (setSelectionModel): Remove 'this' as a listener from old model,
21326 (propertyChange): Check for 'width' property rather than
21327 TableColumn.COLUMN_WIDTH_PROPERTY.
21329 2006-04-24 Chris Burdess <dog@gnu.org>
21332 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21333 attributes when no doctype exists.
21335 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21337 * javax/swing/event/ChangeEvent.java: Updated API docs,
21338 * javax/swing/event/ChangeListener.java: Likewise,
21339 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21340 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21341 * javax/swing/table/TableColumnModel.java: Likewise.
21343 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21345 * javax/swing/text/Utilities.java:
21346 (getBreakLocation): Introduced shift variable, added notes.
21347 * javax/swing/text/WrappedPlainView.java:
21348 (calculateBreakPosition): Decrease allocation area bounds by insets,
21349 added early return when allocation area is empty, provide start offset
21351 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21352 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21353 numLines after loop.
21354 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21355 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21356 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21357 decreasing variable end by one, changed break condition in while-loop,
21358 added check for return value.
21359 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21360 allocation area is empty.
21362 2006-04-24 Sven de Marothy <sven@physto.se>
21364 * gnu/java/awt/java2d/Segment.java: New file.
21365 * gnu/java/awt/java2d/CubicSegment.java: New file.
21366 * gnu/java/awt/java2d/QuadSegment.java: New file.
21367 * gnu/java/awt/java2d/LineSegment.java: New file.
21368 * java/awt/BasicStroke.java
21369 (start): New field.
21371 (createStrokedShape): Implemented.
21372 (solidStroke): New method.
21373 (dashedStroke): New method.
21374 (capEnds): New method.
21375 (convertPath): New method.
21376 (addSegments): New method.
21377 (capEnd): New method.
21378 (lineIntersection): New method.
21379 (joinSegments): New method.
21381 2006-04-24 Roman Kennke <kennke@aicas.com>
21383 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21386 (clip): Changed clip to be in user space not in target space.
21387 (isOptimized): Added flag to allow optimized drawing for
21388 primitive operations (e.g. for Swing).
21389 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21390 with the paint context etc.
21391 (draw): Clip the shape before drawing it.
21392 (fill): Clip the shape before drawing it.
21393 (setComposite): Update isOptimized flag.
21394 (setPaint): Likewise.
21395 (setStroke): Likewise.
21396 (translate): Update the clip.
21397 (rotate): Likewise.
21400 (transform): Likewise.
21401 (setTransform): Likewise.
21402 (clip): Added optimization for rectangle clips.
21403 (create): Implemented.
21404 (clone): New method.
21405 (setFont): Basic implementation.
21406 (setClip): Update opimization flag.
21407 (drawLine): Added possible optimization.
21408 (fillRect): Added possible optimization.
21409 (fillShape): Implemented shape-filling by filling the flattended
21410 shape using polygon fill.
21411 (drawPixel): Added basic painting.
21412 (rawSetPixel): Changed signature to only take coordinates.
21413 (rawSetForeground): New abstract method.
21414 (getUserBounds): Implemented default for this method.
21415 (rawDrawLine): New method.
21416 (rawFillRect): New method.
21417 (rawFillPolygon): New method.
21418 (init): New method.
21419 (updateOptimization): New method.
21420 (computeIntersection): New method.
21421 (updateClip): New method.
21422 (clipShape): New method.
21424 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21426 * java/lang/Package.java: Added compatibility constructor to ease
21427 VM interface migration.
21429 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21431 * java/lang/Class.java (getEnumConstants): Implemented without
21432 delegating to VMClass.
21433 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21435 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21437 * java/lang/ClassLoader.java (definePackage): Added argument to
21438 Package constructor.
21439 * java/lang/Package.java (Package): Added ClassLoader argument.
21440 (loader): New field.
21441 (getDeclaredAnnotations): Implemented without help from VMPackage.
21442 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21443 to Package constructor.
21444 * vm/reference/java/lang/VMPackage.java: Removed.
21446 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21448 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21449 (createContent): Added check box to swith between single and
21450 multiple selection.
21451 * javax/swing/JTree.java (leadSelectionPath): Removed.
21452 (addSelectionInterval): Explained. (getLeadSelectionPath):
21453 Request the path from model. (getPathsBetweenRows): Explained.
21454 (setLeadSelectionPath): Set the path in model.
21455 * javax/swing/plaf/basic/BasicTreeUI.java
21456 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21457 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21458 (MouseHandler.mousePressed): Call selectPathForEvent.
21460 2006-04-23 Roman Kennke <kennke@aicas.com>
21462 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21464 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21467 Mention changes to VMProcess and VMSystem.
21468 * doc/vmintegration.texinfo:
21469 Change documentation on VMProcess and VMSystem.
21470 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21471 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21472 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21473 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21474 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21475 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21476 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21477 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21478 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21479 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21480 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21481 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21482 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21483 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21484 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21485 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21486 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21487 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21488 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21489 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21490 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21491 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21492 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21493 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21494 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21495 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21496 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21497 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21498 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21499 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21500 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21501 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21502 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21503 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21504 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21505 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21506 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21507 * include/gnu_java_awt_peer_qt_QMatrix.h,
21508 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21509 * include/gnu_java_awt_peer_qt_QPen.h,
21510 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21511 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21512 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21513 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21514 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21515 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21516 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21517 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21518 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21519 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21520 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21521 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21522 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21523 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21524 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21525 * include/gnu_java_awt_peer_qt_QtImage.h,
21526 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21527 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21528 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21529 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21530 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21531 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21532 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21533 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21534 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21535 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21536 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21537 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21538 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21539 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21540 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21541 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21542 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21543 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21544 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21545 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21546 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21547 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21548 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21549 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21550 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21551 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21552 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21553 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21554 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21555 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21556 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21557 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21558 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21559 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21560 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21561 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21562 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21563 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21564 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21565 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21566 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21567 * include/java_lang_VMProcess.h,
21568 * include/java_lang_VMSystem.h:
21569 Regenerated with GCJ 4.1.
21571 2006-04-22 Casey Marshall <csm@gnu.org>
21573 Fixes PR classpath/27228.
21574 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21575 (initialize): also accept `DHParameterSpec.'
21576 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21577 handle a passed-in `DHParameterSpec' properly.
21578 (generate): don't check if the random exponent is less than `q -
21579 1' if no `q' was specified.
21581 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21583 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21584 Only repaint the patches, speficied in the passed event.
21585 (expandPath): Do nothing if the path is already expanded.
21586 (scrollPathToVisible): Only scroll to visible, do nothing else.
21587 * javax/swing/plaf/basic/BasicTreeUI.java
21588 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21589 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21590 (TreeTraverseAction.actionPerformed): Collapse the node on the
21591 action "selectParent". (selectPath): Rewritten.
21592 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21593 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21594 Do not reuse selection array.
21595 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21597 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21600 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21602 * javax/swing/tree/DefaultTreeSelectionModel.java
21603 (addSelectionPath): If the path cannot be added, set it.
21604 (addSelectionPaths): Call insureRowContinuity.
21605 (arePathsContiguous): Implemented.
21606 (canPathBeAdded): New private method.
21607 (canPathsBeAdded): Implemented.
21608 (canPathsBeRemoved): Implemented.
21609 (getPath): New private method.
21610 (insureRowContinuity): Implemented.
21611 (removeSelectionPath): Call insureRowContinuity.
21612 (removeSelectionPaths): Call insureRowContinuity.
21613 (resetRowSelection): Removed stub marking, not used in implementation
21614 (nothing to do there).
21615 (selectOne): New private method.
21616 (setSelectionMode) Call insureRowContinuity.
21617 (setSelectionPaths) Remove the current selection by clearing it.
21619 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21621 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21622 parameters consistendly, documented some methods.
21623 * java/sql/Blob.java: Likewise.
21624 * java/sql/CallableStatement.java: Likewise.
21625 * java/sql/Clob.java: Likewise.
21626 * java/sql/Connection.java: Likewise.
21627 * java/sql/DatabaseMetaData.java: Likewise.
21628 * java/sql/Date.java: Likewise.
21629 * java/sql/Driver.java: Likewise.
21630 * java/sql/PreparedStatement.java: Likewise.
21631 * java/sql/ResultSet.java: Likewise.
21632 * java/sql/ResultSetMetaData.java: Likewise.
21633 * java/sql/SQLData.java: Likewise.
21634 * java/sql/SQLOutput.java: Likewise.
21635 * java/sql/SQLWarning.java: Likewise.
21636 * java/sql/Statement.java: Likewise.
21637 * java/sql/Time.java: Likewise.
21638 * java/sql/Timestamp.java: Likewise.
21640 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21642 * java/lang/reflect/AccessibleObject.java:
21643 Implemented AnnotatedElement.
21644 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21645 isAnnotationPresent): New methods.
21647 2006-04-21 Tom Tromey <tromey@redhat.com>
21649 PR classpath/27163:
21650 * gnu/java/net/protocol/ftp/FTPConnection.java
21651 (changeWorkingDirectory): Do nothing if path is empty.
21653 2006-04-21 Tom Tromey <tromey@redhat.com>
21656 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21657 case where no '/' appears in 'location'.
21659 2006-04-21 Tom Tromey <tromey@redhat.com>
21661 * java/security/Security.java (<clinit>): Add all default providers.
21662 * resource/java/security/classpath.security: Added comment.
21664 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21666 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21667 * javax/swing/SpinnerNumberModel.java: Likewise.
21669 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21671 * javax/swing/SpinnerDateModel.java
21672 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21673 checking to call compareTo() on start and end.
21675 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21677 * javax/swing/border/AbstractBorder.java: API doc updates,
21678 * javax/swing/border/BevelBorder.java: Likewise,
21679 * javax/swing/border/CompoundBorder.java: Likewise,
21680 * javax/swing/border/EtchedBorder.java: Likewise,
21681 * javax/swing/border/LineBorder.java: Likewise,
21682 * javax/swing/border/MatteBorder.java: Likewise,
21683 * javax/swing/border/TitledBorder.java: Likewise.
21685 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21687 * gnu/javax/crypto/cipher/Anubis.java:
21688 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21690 * gnu/javax/crypto/cipher/Blowfish.java:
21691 (selfTest): Likewise,
21692 * gnu/javax/crypto/cipher/Cast5.java:
21693 (selfTest): Likewise,
21694 * gnu/javax/crypto/cipher/Khazad.java:
21695 (selfTest): Likewise,
21696 * gnu/javax/crypto/cipher/Rijndael.java:
21697 (selfTest): Likewise,
21698 * gnu/javax/crypto/cipher/Serpent.java:
21699 (selfTest): Likewise,
21700 * gnu/javax/crypto/cipher/Square.java:
21701 (selfTest): Likewise,
21702 * gnu/javax/crypto/cipher/Twofish.java:
21703 (selfTest): Likewise,
21704 * gnu/javax/crypto/mac/UMac32.java:
21705 (selfTest): Likewise,
21706 * gnu/javax/crypto/prng/CSPRNG.java:
21707 (getSystemInstance): Likewise.
21709 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21711 * gnu/java/security/hash/Haval.java:
21712 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
21714 * gnu/java/security/hash/MD2.java:
21715 (selfTest): Likewise,
21716 * gnu/java/security/hash/MD4.java:
21717 (selfTest): Likewise,
21718 * gnu/java/security/hash/MD5.java:
21719 (selfTest): Likewise,
21720 * gnu/java/security/hash/RipeMD128.java:
21721 (selfTest): Likewise,
21722 * gnu/java/security/hash/RipeMD160.java:
21723 (selfTest): Likewise,
21724 * gnu/java/security/hash/Sha160.java:
21725 (selfTest): Likewise,
21726 * gnu/java/security/hash/Sha256.java:
21727 (selfTest): Likewise,
21728 * gnu/java/security/hash/Sha384.java:
21729 (selfTest): Likewise,
21730 * gnu/java/security/hash/Sha512.java:
21731 (selfTest): Likewise,
21732 * gnu/java/security/hash/Tiger.java:
21733 (selfTest): Likewise,
21734 * gnu/java/security/hash/Whirlpool.java:
21735 (selfTest): Likewise.
21737 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21739 * javax/swing/plaf/basic/BasicTreeUI.java
21740 (PropertyChangeHandler.propertyChange): Set the row mapper
21741 for the selection model.
21742 * javax/swing/tree/AbstractLayoutCache.java
21743 (NodeDimensions.getNodeDimensions): Explained.
21744 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21745 Implemented. (setRowHeight): Invalidate sizes.
21746 * javax/swing/tree/DefaultTreeSelectionModel.java
21747 (addSelectionPath, addSelectionPaths): Update lead row.
21748 (removeSelectionPath, removeSelectionPaths): Do nothing if
21749 selection is empty.
21750 (clone): Only clone list selection model if it is not null.
21751 (getRow): New method. (isRowSelected, getLeadSelectionRow,
21752 setSelectionPath, setSelectionPaths, toString): Implemented.
21753 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21754 Pass the empty rectangle. (isFixedRowHeight): New method.
21755 * javax/swing/tree/VariableHeightLayoutCache.java
21756 (NodeRecord.getBounds): Pass the empty rectangle.
21758 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21760 * gnu/java/security/Properties.java
21761 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21763 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21765 * gnu/classpath/jdwp/util/Value.java
21766 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
21767 creating new Boolean instances.
21769 2006-04-20 Mark Wielaard <mark@klomp.org>
21771 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21772 PrivilegedAction. Access awt.toolkit through SystemProperties.
21774 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21776 * javax/swing/ActionMap.java: Removed unused imports,
21777 * javax/swing/DefaultListSelectionModel.java
21778 (clearSelection): Removed unused label,
21779 * javax/swing/JScrollPane.java: Removed unused imports,
21780 * javax/swing/UIManager.java: Likewise,
21781 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21783 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21785 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21786 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21787 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21788 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21789 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21791 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21793 * java/sql/Array.java: Fixed Eclipse API doc warnings,
21794 * java/sql/Blob.java: Likewise,
21795 * java/sql/CallableStatement.java: Likewise,
21796 * java/sql/Clob.java: Likewise,
21797 * java/sql/Connection.java: Likewise,
21798 * java/sql/DatabaseMetaData.java: Likewise,
21799 * java/sql/Date.java: Likewise,
21800 * java/sql/Driver.java: Likewise,
21801 * java/sql/PreparedStatement.java: Likewise,
21802 * java/sql/ResultSet.java: Likewise,
21803 * java/sql/ResultSetMetaData.java: Likewise,
21804 * java/sql/SQLData.java: Likewise,
21805 * java/sql/SQLOutput.java: Likewise,
21806 * java/sql/SQLWarning.java: Likewise,
21807 * java/sql/Statement.java: Likewise,
21808 * java/sql/Time.java: Likewise,
21809 * java/sql/Timestamp.java: Likewise.
21811 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21813 * java/sql/DriverManager.java
21814 (setLoginTimeout): Use incoming argument,
21815 (setLogStream): Likewise,
21816 (println): Fix API doc comment.
21818 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21820 * javax/swing/JMenuItem.java
21821 (paramString): Updated API docs,
21822 (getAccessibleContext): Added API docs,
21823 (AccessibleJMenuItem.stateChanged): Marked as stub,
21824 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21825 * javax/swing/JSlider.java
21826 (paramString): Fix for API docs,
21827 * javax/swing/JToolTip.java
21828 (getAccessibleContext): Fix for API docs.
21830 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21832 * javax/swing/JRadioButtonMenuItem.java
21833 (paramString): Reimplemented,
21834 (getAccessibleContext): API docs added,
21835 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
21837 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21839 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21841 * javax/swing/plaf/basic/BasicTreeUI.java
21842 (finish): Invalidate path bounds.
21843 (getMaxHeight): Set the row height to the layout cache.
21844 (startEditing): Do not request to recalculated
21845 row height and preferred size.
21846 * javax/swing/tree/DefaultTreeCellEditor.java
21847 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21849 * javax/swing/tree/FixedHeightLayoutCache.java:
21852 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21854 * javax/swing/JDesktopPane.java
21855 (paramString): Reimplemented,
21856 plus API doc updates in AccessibleJDesktopPane.
21858 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21860 * javax/swing/ImageIcon.java:
21861 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21862 (AccessibleImageIcon.getLocale): Declared exception and always return
21864 (getAccessibleContext): Updated API docs,
21865 plus updated API docs all over AccessibleImageIcon.
21867 2006-04-20 Roman Kennke <kennke@aicas.com>
21870 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21871 (paintText): Fetch the ascent only once. Add the ascent to
21872 the text rect also when tabs are disabled.
21874 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
21876 * java/util/Locale.java (defaultLocale): Set to en_US per
21877 default and use user.country but prioritize user.region if
21879 (getLocale(String language, String country)): Renamed region to
21881 (getLocale(String language, String region, String variant)):
21883 (getAvailableLocales): Likewise.
21885 2006-04-20 Roman Kennke <kennke@aicas.com>
21888 * javax/swing/JList.java
21889 (JList()): Call init() with DefaultListModel instance.
21890 (JList(Object[])): Call init() with null.
21891 (JList(Vector)): Call init() with null.
21892 (JList(ListModel)): Call init() with model.
21893 (init): Changed to take the model as argument. Don't call
21894 setter methods and initialize stuff directly instead.
21895 (getCellBounds): Check if UI is null.
21897 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
21899 * javax/swing/text/WrappedPlainView.java: Initialize
21900 WrappedLine.numLines with -1.
21901 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21902 numLines is -1 and reculcalate the value appropriately.
21903 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21904 allocation area is empty.
21906 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21908 * javax/swing/JTabbedPane.java
21909 (AccessibleJTabbedPane.stateChanged): Marked as stub,
21910 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21911 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21912 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21913 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21914 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21915 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21916 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21917 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21918 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21919 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21920 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21921 (Page.getAccessibleStateSet): Likewise,
21922 (Page.getAccessibleIndexInParent): Likewise.
21924 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21926 * javax/swing/JProgressBar.java
21927 (paramString): Reimplemented.
21929 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21931 * javax/swing/JButton.java: Updated API docs all over.
21933 2006-04-19 Roman Kennke <kennke@aicas.com>
21935 * java/awt/Toolkit.java
21936 (getDefaultToolkit): Use system classloader to load the
21939 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
21941 * javax/swing/text/DefaultCaret.java:
21942 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
21943 instead of DefaultCaret.setDot.
21945 2006-04-19 Roman Kennke <kennke@aicas.com>
21947 * native/jni/java-net/local.c
21948 (local_read): Handle EINTR correctly.
21949 (local_write): Likewise.
21951 2006-04-19 Riccardo Mottola <multix@gmail.com>
21953 PR classpath/27062, PR classpath/25650:
21954 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
21956 2006-04-19 Tom Tromey <tromey@redhat.com>
21958 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
21959 value of 'pureMinutes'. PR classpath/27189.
21961 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
21963 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
21964 boot packages list from the META-INF/INDEX.LIST file if it exists.
21966 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
21968 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
21969 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
21970 (ITERATION_COUNT): Removed modifiers.
21971 (PASSWORD): Likewise.
21973 (PASSWORD_ENCODING): New property.
21974 (DEFAULT_PASSWORD_ENCODING): New constant.
21975 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
21976 material (bytes) before a password (chars).
21978 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21980 * javax/swing/JMenu.java
21981 (getAccessibleChildrenCount): Marked as stub,
21982 (getAccessibleChild): Likewise,
21983 (getAccessibleSelection): Likewise,
21984 (getAccessibleSelection(int)): Likewise,
21985 (isAccessibleChildSelected): Likewise,
21986 (getAccessibleSelectionCount): Likewise,
21987 (addAccessibleSelection): Likewise,
21988 (removeAccessibleSelection): Likewise,
21989 (clearAccessibleSelection): Likewise,
21990 (selectAllAccessibleSelection): Likewise.
21992 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21994 * javax/swing/JSplitPane.java
21995 (getAccessibleContext): Added API docs,
21996 (paramString): Reimplemented,
21997 (setOrientation): Updated API docs,
21998 (setResizeWeight): Added argument checking and event notification.
22000 2006-04-18 Casey Marshall <csm@gnu.org>
22002 Fixes PR classpath/25673
22003 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22004 property is set. Update JavaDoc to reflect this.
22006 2006-04-18 Lillian Angel <langel@redhat.com>
22008 * gnu/xml/dom/DomDocument.java
22009 (setCheckingCharacters): New function used to set
22010 checkingCharacters flag.
22011 * gnu/xml/dom/html2/DomHTMLParser.java
22012 (parseDocument): Added call to set checkingCharacters flag
22015 2006-04-18 Lillian Angel <langel@redhat.com>
22017 * gnu/xml/dom/DomDocument.java
22018 (checkNCName): Reverted last patch. Added check for colon at
22019 last position back in.
22021 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22023 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22025 * examples/gnu/classpath/examples/swing/Demo.java:
22026 (mkMenuBar): Added NavigationFilter demo.
22028 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22030 * javax/swing/JSeparator.java: Updated API docs all over, plus
22031 (setOrientation): Fire PropertyChangeEvent,
22032 (paramString): Reimplemented.
22034 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22036 * javax/swing/plaf/basic/BasicTextUI.java:
22037 (getNextVisualPositionFrom): Implemented.
22039 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22041 * javax/swing/JPanel.java: Updated API docs all over, plus
22042 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22043 double-buffer flag.
22045 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22047 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22049 * examples/gnu/classpath/examples/swing/Demo.java:
22050 (mkMenuBar): Added DocumenFilter demo.
22052 2006-04-18 Tom Tromey <tromey@redhat.com>
22054 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22056 2006-04-18 Mark Wielaard <mark@klomp.org>
22058 Reported by John Sullivan (johns@fsf.org)
22059 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22061 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22063 * javax/swing/JInternalFrame.java
22064 (JDesktopIcon.getAccessibleContext): Added API docs,
22065 (getDefaultCloseOperation): Likewise,
22066 (paramString): Added 'title' attribute,
22067 (setDefaultCloseOperation): Added API docs.
22069 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22071 * javax/swing/JSlider.java
22072 (paramString): Reimplemented.
22074 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22076 * javax/swing/JComboBox.java
22077 (paramString): Reimplemented,
22078 (getAccessibleContext): Added API docs,
22079 (AccessibleJComboBox.getAccessibleRole): Likewise.
22081 2006-04-18 Roman Kennke <kennke@aicas.com>
22083 * javax/swing/RepaintManager.java
22084 (dirtyComponentsWork): New field.
22085 (ComponentComparator): Use dirtyComponentsWork instead of
22087 (RepaintManager): Initialize new field.
22088 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22089 and work on the copy.
22091 2006-04-18 Roman Kennke <kennke@aicas.com>
22093 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22094 (setBounds): Call reshape().
22095 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22096 (SwingContainerPeer): Changed argument to be a Component
22097 instead a Container.
22098 (getInsets): Call insets().
22099 (handleMouseEvent): Added null check to avoid NPE.
22100 (handleMouseMotionEvent): Added null check to avoid NPE.
22102 2006-04-18 Roman Kennke <kennke@aicas.com>
22105 * javax/swing/JComponent.java
22106 (paintChildrenWithOverlap): When one child is not opaque, propagate
22107 the dirty rectangles to the next child.
22108 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22109 This actually didn't work right and probably gained nothing.
22111 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22113 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22114 (moveToCellBeingEdited): Do not clone the rectangle here.
22116 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22118 * javax/swing/plaf/basic/BasicSliderUI.java
22119 (getActionMap): Fixed lookup key,
22120 (createActionMap): Modified actions to fetch slider/ui from the event
22123 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22125 * java/lang/Enum.java: Documented.
22127 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22129 * gnu/java/lang/InstrumentationImpl.java:
22130 Moved from java.lang.
22131 * java/lang/InstrumentationImpl.java:
22133 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22134 Moved from java.lang.
22135 * vm/reference/java/lang/VMClassLoader.java:
22136 Corrected reference to InstrumentationImpl.
22137 * vm/reference/java/lang/VMInstrumentationImpl.java:
22140 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22142 * java/lang/annotation/Annotation.java:
22145 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22147 * javax/swing/JToolBar.java
22148 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22149 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22150 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22151 (getAccessibleContext): Likewise.
22153 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22156 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22158 * native/fdlibm/Makefile.am,
22159 native/jni/classpath/Makefile.am:
22160 Don't use -module and -version-info for convenience libraries LDFLAGS.
22161 Fixes libtool warnings.
22163 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22165 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22166 (installKeyboardActions): Marked as stub,
22167 (uninstallKeyboardActions): Likewise,
22168 * javax/swing/plaf/basic/BasicComboPopup.java:
22169 (installKeyboardActions): Marked as stub,
22170 (uninstallKeyboardActions): Likewise,
22171 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22172 (installKeyboardActions): Marked as stub,
22173 (uninstallKeyboardActions): Likewise,
22174 * javax/swing/plaf/basic/BasicLabelUI.java:
22175 (installKeyboardActions): Marked as stub,
22176 (uninstallKeyboardActions): Likewise,
22177 * javax/swing/plaf/basic/BasicListUI.java:
22178 (installKeyboardActions): Marked as stub,
22179 (uninstallKeyboardActions): Likewise,
22180 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22181 (installKeyboardActions): Marked as stub,
22182 (uninstallKeyboardActions): Likewise,
22183 * javax/swing/plaf/basic/BasicMenuUI.java:
22184 (installKeyboardActions): Marked as stub,
22185 (uninstallKeyboardActions): Likewise,
22186 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22187 (installKeyboardActions): Marked as stub,
22188 (uninstallKeyboardActions): Likewise,
22189 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22190 (installKeyboardActions): Marked as stub,
22191 (uninstallKeyboardActions): Likewise,
22192 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22193 (installKeyboardActions): Marked as stub,
22194 (uninstallKeyboardActions): Likewise,
22195 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22196 (installKeyboardActions): Marked as stub,
22197 (uninstallKeyboardActions): Likewise,
22198 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22199 (installKeyboardActions): Marked as stub,
22200 (uninstallKeyboardActions): Likewise,
22201 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22202 (installKeyboardActions): Marked as stub,
22203 (uninstallKeyboardActions): Likewise,
22204 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22205 (installKeyboardActions): Marked as stub,
22206 (uninstallKeyboardActions): Likewise,
22207 * javax/swing/plaf/basic/BasicTableUI.java:
22208 (installKeyboardActions): Marked as stub,
22209 (uninstallKeyboardActions): Likewise,
22210 * javax/swing/plaf/basic/BasicTextUI.java:
22211 (installKeyboardActions): Marked as stub,
22212 (uninstallKeyboardActions): Likewise,
22213 * javax/swing/plaf/basic/BasicToolBarUI.java:
22214 (installKeyboardActions): Marked as stub,
22215 (uninstallKeyboardActions): Likewise.
22217 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22219 * javax/swing/plaf/basic/BasicSliderUI.java
22220 (installKeyboardActions): Implemented,
22221 (uninstallKeyboardActions): Implemented,
22222 (scrollByBlock): Accept any value for direction,
22223 (scrollByUnit): Likewise,
22224 (getInputMap): New method,
22225 (getActionMap): New method,
22226 (createActionMap): New method.
22229 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22231 * doc/vmintegration.texinfo:
22234 2006-04-16 Tom Tromey <tromey@redhat.com>
22236 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22238 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22241 Mention generics additions to the VM interface.
22242 * doc/vmintegration.texinfo:
22243 Added information on VMClass 1.5 additions and
22246 2006-04-16 Casey Marshall <csm@gnu.org>
22248 * NEWS: add an entry mentioning local socket support.
22250 2006-04-16 Casey Marshall <csm@gnu.org>
22252 * configure.ac (--enable-local-sockets): new enable argument.
22253 (ENABLE_LOCAL_SOCKETS): new define.
22254 * native/jni/java-net/Makefile.am (local_sources): new variable.
22255 (lib_javanet_la_SOURCES): append `local_sources.'
22256 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22257 * native/jni/java-net/local.c,
22258 * native/jni/java-net/local.h,
22259 * include/gnu_java_net_local_LocalSocketImpl.h,
22260 * gnu/java/net/local/LocalServerSocket.java,
22261 * gnu/java/net/local/LocalSocket.java,
22262 * gnu/java/net/local/LocalSocketAddress.java,
22263 * gnu/java/net/local/LocalSocketImpl.java: new files.
22265 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22267 * javax/accessibility/AccessibleAction.java:
22268 (DECREMENT): Added field.
22269 (INCREMENT): Likewise.
22270 (TOGGLE_EXPAND): Likewise.
22271 * javax/accessibility/AccessibleRole.java:
22272 (EDITBAR): Added field.
22273 (FOOTER): Likewise.
22274 (HEADER): Likewise.
22275 (PARAGRAPH): Likewise.
22276 (PROGRESS_MONITOR): Likewise.
22278 * javax/accessibility/AccessibleState.java:
22279 (INDETERMINATE): Added field.
22280 (MANAGES_DESCENDANTS): Likewise.
22281 (TRUNCATED): Likewise.
22283 2006-04-14 Tom Tromey <tromey@redhat.com>
22285 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22287 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22290 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22292 * javax/swing/text/DefaultCaret.java:
22293 (getBypass): New method.
22294 (moveDot): Rewritten.
22295 (moveDotImpl): New method.
22296 (setDot): Rewritten.
22297 (setDotImpl): New method.
22298 (DefaultCaret.Bypass): New class.
22300 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22302 * javax/swing/text/AbstractDocument.java:
22303 (getBypass): New method.
22304 (insertString): Rewritten.
22305 (remove): Rewritten.
22306 (replace): Rewritten.
22307 (insertStringImpl): New method.
22308 (removeImpl): New method.
22309 (replaceImpl): New method.
22310 (AbstractDocument.Bypass): New class.
22312 2006-04-14 Casey Marshall <csm@gnu.org>
22314 Fixes PR classpath/24642
22315 * NEWS: add note about SecureRandom changes, and addition of
22317 * java/security/SecureRandom.java (isSeeded): new field.
22318 (setSeed, setSeed): set `isSeeded' to `true.'
22319 (nextBytes): seed this instance if `isSeeded' is false.
22320 (getSeed): call `generateSeed.'
22321 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22322 (generateSeed, generateSeed): new methods.
22323 * vm/reference/java/security/VMSecureRandom.java: new file.
22325 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22327 * javax/swing/text/FieldView.java:
22328 (paint): Apply clipping rectangle of the allocation area
22329 before painting the text.
22330 * javax/swing/text/DefaultHighlighter.java:
22331 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22332 compute union and intersection, calculate intersection with allocation
22333 area before painting, adjust x and width when painting multiple lines
22334 by the range of the allocation area.
22336 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22338 * javax/swing/text/DefaultHighlighter.java:
22339 (paintLayeredHighlights): Marked as stub.
22341 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22343 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22344 (propertyChanged): Added note, change color only if current background
22345 is a ColorUIResource instance.
22347 2006-04-14 Tom Tromey <tromey@redhat.com>
22349 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22353 2006-04-14 Tom Tromey <tromey@redhat.com>
22355 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22357 2006-04-14 Mark Wielaard <mark@klomp.org>
22359 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22360 thread group when exceptionHandler isn't set.
22361 * vm/reference/java/lang/VMThread.java (run): Use result of
22362 thread.getUncaughtExceptionHandler directly.
22364 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22366 * javax/swing/JSplitPane.java
22367 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22368 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22369 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22370 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22371 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22372 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22373 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22375 2006-04-10 Tom Tromey <tromey@redhat.com>
22377 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22378 Fixed parameter bounds.
22380 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22382 * gnu/javax/crypto/assembly/Assembly.java,
22383 * gnu/javax/crypto/assembly/Cascade.java,
22384 * gnu/javax/crypto/assembly/CascadeStage.java,
22385 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22386 * gnu/javax/crypto/assembly/Direction.java,
22387 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22388 * gnu/javax/crypto/assembly/ModeStage.java,
22389 * gnu/javax/crypto/assembly/Operation.java,
22390 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22391 * gnu/javax/crypto/assembly/Stage.java,
22392 * gnu/javax/crypto/assembly/Transformer.java,
22393 * gnu/javax/crypto/cipher/Square.java,
22394 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22395 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22396 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22397 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22398 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22399 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22400 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22401 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22402 * gnu/javax/crypto/jce/cipher/PBES2.java,
22403 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22404 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22405 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22406 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22407 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22408 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22409 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22410 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22411 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22412 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22413 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22414 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22415 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22416 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22417 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22418 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22419 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22420 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22421 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22422 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22423 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22424 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22425 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22426 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22427 * gnu/javax/crypto/pad/WrongPaddingException.java,
22428 * gnu/javax/crypto/prng/ICMGenerator.java,
22429 * gnu/javax/crypto/prng/IPBE.java,
22430 * gnu/javax/crypto/prng/PBKDF2.java,
22431 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22432 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22433 * gnu/javax/crypto/sasl/srp/IALG.java,
22434 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22435 Remove CVS revision tags.
22437 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22439 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22440 Removed debugging code.
22442 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22444 * javax/swing/JTree.java (getPreferredSize): Return the
22446 * javax/swing/ViewportLayout.java (layoutContainer):
22447 Do not manage the view size and location if the view is
22448 in the scroll pane. Also manage size and location for
22449 Scrollable, if it is not in the scroll pane.
22450 * javax/swing/plaf/basic/BasicTreeUI.java,
22451 * javax/swing/tree/FixedHeightLayoutCache.java,
22452 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22453 * gnu/javax/swing/tree/GnuPath.java: New file.
22455 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22457 * javax/swing/JToolBar.java
22458 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22460 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22462 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22463 (createCustomColoredPanel): Set background color as demo intends,
22464 changed custom selection color to red.
22465 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22466 Replaced various single variables with a Compound instance, added
22467 custom highlighter demo.
22468 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22470 (TextFieldDemo.Compound): New class.
22471 (createTextFieldCompound): New method.
22472 (createLeftAlignedPanel): Rewritten.
22473 (createRightAlignedPanel): Rewritten.
22474 (createCenteredPanel): Rewritten.
22475 (createCustomColoredPanel): Removed.
22476 (createCustomColoredPanel1): New method.
22477 (createCustomColoredPanel2): New method.
22478 (createCustomBordersPanel): New method.
22479 (createMiscPanel): Rewritten.
22480 (actionPerformed): Rewritten.
22481 (createContent): Add panels of new compounds to main panel, put
22482 main panel in a JScrollPane.
22483 * examples/gnu/classpath/examples/swing/Demo.java:
22484 (Demo): Put desktop in a scrollpane.
22485 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22486 method via reflection.
22488 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22490 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22491 (createUI): Return new instance rather than shared instance.
22493 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22495 * javax/swing/text/FieldView.java:
22496 (checkContainer): Call updateVisibility() at the end.
22498 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22500 * java/awt/event/MouseEvent.java:
22501 (paramString): Add value of 'consumed' variable in string.
22503 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22506 * javax/swing/JTextField.java: Removed scrollOffset variable.
22507 (JTextField): Moved up initialization of horizontalVisibility field.
22508 (getScrollOffset): Implemented.
22509 (setScrollOffset): Implemented.
22510 (getHorizonztalVisibility): Removed note.
22511 (scrollRectToVisible): New method.
22512 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22513 (checkContainer): New method.
22514 (updateVisibility): New method.
22515 (calculateHorizontalSpan): New method.
22516 (adjustAllocation): Removed unneeded local variables, added code
22517 to handle scrolling.
22518 (getPreferredSpan): Use new method calculateHorizontalSpan,
22519 avoid calculation by returning cached value cachedSpan.
22520 (paint): Added check whether the hosted component is a JTextField.
22521 (insertUpdate): Invalidate cached span value, update visibility
22523 (removeUpdate): Dito.
22524 (changeUpdate): Dito.
22526 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22528 * javax/swing/JInternalFrame.java
22529 (setTitle): Set old value to 'this.title', not 'title'.
22531 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22533 * javax/swing/JInternalFrame.java
22534 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22535 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22536 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22537 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22538 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22539 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22540 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22541 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22542 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22543 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22545 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22547 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22549 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22551 (JInternalFrame()): Use "" for default title,
22552 (getAccessibleContext): Updated API docs,
22553 (getDesktopIcon): Likewise,
22554 (getLayer): Check for layer in client properties, and return
22555 DEFAULT_LAYER if no setting is found,
22556 (getTitle): Updated API docs,
22557 (setDesktopIcon): Fire property change event.
22559 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22561 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22562 Mind that the presence of one scroll bar may cause the
22565 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22567 * gnu/regexp/REToken.java(unicodeAware): New field,
22568 (toLowerCase, toUpperCase): New methods.
22569 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22570 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22571 Use toLowerCase and toUpperCase defined in REToken instead of
22572 those defined in java.lang.Character.
22573 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22574 (initialize): Sets unicodeAware of the generated REToken to false if
22575 REG_ICASE_USASCII is set.
22576 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22577 to lower case and keep the original value.
22578 (matchOneString): Use the new method charEquals to compare characters.
22579 (charEquals): New method to compare characters.
22580 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22582 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22584 * javax/swing/event/InternalFrameEvent.java:
22585 (paramString): Implemented,
22586 updated API docs all over.
22588 2006-04-12 Casey Marshall <csm@gnu.org>
22590 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22591 (Generator.setup): call `fillBlock.'
22593 2006-04-12 Casey Marshall <csm@gnu.org>
22595 Fixes PR classpath/24481.
22596 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22597 initialize the adaptee.
22598 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22599 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22600 addRandomBytes): new methods.
22602 2006-04-12 Tom Tromey <tromey@redhat.com>
22604 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22607 2006-04-12 Lillian Angel <langel@redhat.com>
22609 * gnu/xml/dom/DomDocument.java
22610 (checkNCName): Removed unneeded part of check.
22611 * gnu/xml/dom/DomNode.java
22612 (dispatchEvent): Added code to grow ancestors array
22613 if needed. Changed checks to use depth of node instead.
22614 Fixes an infinite loop and segmentation fault.
22615 * gnu/xml/dom/html2/DomHTMLParser.java
22616 (handleEndTag): No need to use/make a copy of the node.
22617 Causes an infinite loop.
22619 2006-04-12 Tom Tromey <tromey@redhat.com>
22621 PR classpath/27131:
22622 * java/util/BitSet.java (get): Early return if to==from.
22624 2006-04-12 Mark Wielaard <mark@klomp.org>
22626 * java/security/SecureRandom.java (algorithm): New private field.
22627 (SecureRandom): Initialize algorithm.
22628 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22630 (getInstance): Call 3 argument constructor.
22631 (getAlgorithm): New method.
22633 2006-04-12 Mark Wielaard <mark@klomp.org>
22635 Port UncaughtExceptionHandler support from generics branch.
22636 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22638 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22640 * java/lang/Thread.java:
22641 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22642 Added docs and security check.
22643 (getUncaughtExceptionHandler()): Documented.
22644 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22645 Added docs and security check.
22646 (getDefaultUncaughtExceptionHandler()): Documented.
22647 (getId()): Documented.
22649 2006-04-12 Tom Tromey <tromey@redhat.com>
22651 * vm/reference/java/lang/VMThread.java (run): Use thread's
22653 * java/lang/Thread.java (defaultHandler): New field.
22654 (setDefaultUncaughtExceptionHandler,
22655 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22656 getUncaughtExceptionHandler): New methods.
22657 * java/lang/ThreadGroup.java (ThreadGroup): Implements
22658 UncaughtExceptionHandler.
22659 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22661 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
22663 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22664 buffer. Loop only once to determine Utf8 length when possible. Make
22665 the inner loop bounded by buf.length.
22666 (getUTFlength): New private method.
22667 (buf): New private field.
22669 2006-04-11 Lillian Angel <langel@redhat.com>
22671 * gnu/xml/dom/DomNodeIterator.java
22672 (nextNode): Moved line of code to avoid an infinite loop.
22673 * gnu/xml/dom/html2/DomHTMLAppletElement.java
22674 (getCls): New function.
22675 (setCls): Likewise.
22676 (getSrc): Likewise.
22677 (setSrc): Likewise.
22678 * gnu/xml/dom/html2/DomHTMLDocument.java:
22679 Added DomHTMLEmbedElement to map.
22680 (getApplets): Added node name, 'embed'.
22681 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22683 * gnu/xml/dom/html2/DomHTMLObjectElement.java
22684 (getJavaCode): New function.
22685 (setJavaCode): Likewise.
22686 (getObject): Likewise.
22687 (setObject): Likewise.
22688 (getJavaObject): Likewise.
22689 (setJavaObject): Likewise.
22690 (getJavaArchive): Likewise.
22691 (setJavaArchive): Likewise.
22692 (getJavaCodeBase): Likewise.
22693 (setJavaCodeBase): Likewise.
22694 (getJavaType): Likewise.
22695 (setJavaType): Likewise.
22696 (setMayscript): Likewise.
22697 (getMayscript): Likewise.
22698 (setScriptable): Likewise.
22699 (getScriptable): Likewise.
22700 * gnu/xml/dom/html2/DomHTMLParser.java
22701 (parseDocument): Should not check for well formedness
22702 when parsing an html document.
22703 * java/awt/Window.java
22704 (dispatchEvent): Added check to avoid NPE.
22706 2006-04-10 Tom Tromey <tromey@redhat.com>
22708 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22710 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22711 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22713 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
22715 * javax/swing/plaf/basic/BasicTextUI.java:
22716 (getNextVisualPositionFrom): Marked as stub.
22718 2006-04-10 Roman Kennke <kennke@aicas.com>
22720 * javax/swing/plaf/basic/BasicLookAndFeel.java
22721 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22722 and create the defaults as strings constants.
22723 (loadSystemColors): Implemented stubbed method.
22725 2006-04-10 Tom Tromey <tromey@redhat.com>
22727 * .settings/org.eclipse.core.resources.prefs: Set encoding for
22730 2006-04-10 Tom Tromey <tromey@redhat.com>
22732 * java/io/CharArrayWriter.java (append): Javadoc fix.
22733 (append): Likewise.
22735 2006-04-10 Tom Tromey <tromey@redhat.com>
22737 * javax/accessibility/AccessibleTextSequence.java: New file.
22738 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22740 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22741 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22742 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22743 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22744 * javax/accessibility/AccessibleExtendedText.java: New file.
22745 * javax/accessibility/AccessibleContext.java
22746 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22747 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22748 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22749 * javax/accessibility/AccessibleAttributeSequence.java: New file.
22750 * javax/accessibility/AccessibleStreamable.java: New file.
22751 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22754 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22756 * javax/swing/tree/AbstractLayoutCache.java
22757 (getNodeDimensions, getRowsForPath): Implemented.
22758 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22759 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22761 2006-04-10 Roman Kennke <kennke@aicas.com>
22763 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22765 2006-04-10 Roman Kennke <kennke@aicas.com>
22767 * javax/swing/JInternalFrame.java
22768 (AccessibleJInternalFrame): Marked all stubbed methods as such
22769 by adding throws NotImplementedException.
22771 2006-04-10 Roman Kennke <kennke@aicas.com>
22773 * javax/swing/JFileChooser.java
22774 (getAccessibleContext): Don't create a new instance on each
22775 call, instead store the accessible context in the
22776 accessibleContext field.
22778 2006-04-10 Roman Kennke <kennke@aicas.com>
22780 * javax/swing/JComboBox.java
22781 (AccessibleJComboBox): Marked all stubbed methods as such
22782 by adding throws NotImplementedException.
22784 2006-04-10 Roman Kennke <kennke@aicas.com>
22786 * javax/swing/ActionMap.java
22787 (readObject): Removed.
22788 (writeObject): Removed.
22790 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22792 * javax/swing/tree/DefaultTreeSelectionModel.java
22793 (addSelectionPaths, setSelectionPaths): Call
22794 insureUniqueness. (clone, setRowMapper): Implemented.
22795 * TreePath (path): Marked final.
22797 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22799 * javax/swing/tree/DefaultTreeSelectionModel.java:
22800 Documented and autoformatted. (insureUniqueness):
22801 Removed stub marking.
22803 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
22805 * javax/swing/SizeSequence.java
22806 (sizes): Don't initialise here,
22807 (SizeSequence(int, int)): Initialise sizes field,
22808 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22809 (setSize): Do nothing when index is out of bounds,
22810 (getIndex): Implemented,
22811 (setSizes): Reimplemented,
22812 (getSizes): Likewise,
22813 (insertEntries): Likewise,
22814 (removeEntries): Likewise,
22815 plus added API docs all over.
22817 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
22819 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22820 one way message and retry after any IOException.
22822 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22824 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22825 Set the byte order.
22827 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
22829 * org/omg/PortableServer/ServantLocatorPOA.java:
22830 (preinvoke, postinvoke): Remove default implementation.
22831 * org/omg/PortableServer/ServantActivatorPOA.java:
22832 (incarnate, etherealize): Remove default implementation.
22833 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
22834 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22835 (make_object): Moved method from ObjectReferenceFactoryOperations.
22836 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
22837 Removed unspecified interface.
22838 * org/omg/DynamicAny/_DynAnyStub.java:
22839 (_DynAnyStub(Delegate)): Removed constructor.
22840 * org/omg/DynamicAny/_DynArrayStub.java,
22841 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22842 * org/omg/DynamicAny/_DynEnumStub.java,
22843 * org/omg/DynamicAny/_DynFixedStub.java,
22844 * org/omg/DynamicAny/_DynSequenceStub.java,
22845 * org/omg/DynamicAny/_DynStructStub.java,
22846 * org/omg/DynamicAny/_DynUnionStub.java,
22847 * org/omg/DynamicAny/_DynValueStub.java:
22848 Extend from ObjectImpl and not from _DynAnyStub.
22849 (type, next, destroy, copy, rewind, assign, component_count,
22850 current_component, equal, from_any, get_any, get_boolean, get_char,
22851 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
22852 get_reference, get_short, get_string, get_typecode, get_ulong,
22853 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22854 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22855 insert_long, insert_longlong, insert_octet, insert_reference,
22856 insert_short, insert_string, insert_typecode, insert_ulong,
22857 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
22858 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
22859 * org/omg/CosNaming/_BindingIteratorStub.java:
22860 (_BindingIteratorStub(Delegate)): Made package private.
22861 * org/omg/CosNaming/_NamingContextExtStub.java:
22862 (_NamingContextExtStub(Delegate)): Made package private.
22863 * org/omg/CosNaming/_NamingContextStub.java:
22864 (_NamingContextStub(Delegate)): Made package private.
22865 (throw4, throw5): Likewise.
22866 * gnu/CORBA/NamingService/NameParser.java (resolve):
22867 Adapt to package private constructor. Use _set_delegate instead.
22868 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22869 * org/omg/CORBA/ORB.java:
22870 (create_recursive_sequence_tc): Made abstract.
22871 (get_default_context): Likewise.
22872 * gnu/CORBA/OrbRestricted.java:
22873 (create_recursive_sequence_tc): New moved method.
22874 (get_default_context): Likewise.
22875 * org/omg/CORBA/ParameterMode.java:
22876 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
22878 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22880 * gnu/CORBA/GIOP/MessageHeader.java (write):
22881 More informative exception.
22882 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22883 * gnu/CORBA/SocketRepository.java (get_socket):
22884 Removed debugging code.
22886 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22888 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22889 one way message, but ignore if EOF was received.
22890 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22891 Minor.EOF if the end of file is received instead of the header.
22893 2006-04-09 Roman Kennke <kennke@aicas.com>
22895 * javax/swing/plaf/metal/MetalRootPaneUI.java
22896 (MetalTitlePane.IconifyAction): New inner class.
22897 (MetalTitlePane.MaximizeAction): New inner class.
22898 (MetalTitlePane.createActions): Create iconifyAction and
22900 (MetalRootLayout.titlePane): New field.
22901 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22903 (MetalRootLayout.preferredLayoutSize): Changed to not make
22904 assumptions about the actual component order.
22905 (MetalRootLayout.layoutContainer): Changed to not make
22906 assumptions about the actual component order.
22907 (installWindowDecorations): Pass the titlePane as parameter to
22908 the MetalRootLayout constructor.
22909 (uninstallWindowDecorations): Changed to not make
22910 assumptions about the actual component order.
22912 2006-04-08 Roman Kennke <kennke@aicas.com>
22914 * javax/swing/plaf/metal/MetalRootPaneUI.java
22915 (MetalTitlePane.MouseHandler): New inner class to handle dragging
22917 (MetalTitlePane.installListeners): Don't register a focus listener
22918 on the window. This is a potential memory leak and must be
22919 implemented on a different way. Install mouse listener here.
22920 (installWindowDecorations): Fixed assertion condition. Always
22921 insert the window decoration at index#1 in the layered
22924 2006-04-08 Roman Kennke <kennke@aicas.com>
22926 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22927 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22928 Only resize window if actual width or height value changes.
22929 Avoids nasty flicker when only setLocation() is beeing called
22932 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22934 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
22935 exception if the magic sequence does not match.
22937 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22939 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
22940 response for the one way messages.
22942 2006-04-08 Roman Kennke <kennke@aicas.com>
22944 * javax/swing/MenuSelectionManager.java
22945 (processKeyEvent): Implemented stub method.
22946 * javax/swing/JMenu.java
22947 (processKeyEvent): Implemented stub method.
22948 * javax/swing/JMenu.java
22949 (processKeyEvent): Implemented stub method.
22950 (processMenuKeyEvent): Implemented stub method.
22952 2006-04-08 Roman Kennke <kennke@aicas.com>
22954 * javax/swing/AbstractAction.java
22955 (readObject): Removed unneeded method.
22956 (writeObject): Removed unneeded method.
22958 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22960 * javax/swing/plaf/synth/SynthPainter.java:
22961 (paintSplitPaneDividerBorder): Removed.
22963 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22965 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
22966 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
22967 No longer constants.
22968 (static_initializer): Added to initialize above fields.
22969 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
22970 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
22971 (static_initializer): Added to initialize above fields.
22973 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22975 * java/awt/Dialog.java: Improved documentation all over.
22976 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
22977 (Dialog(Dialog)): Likewise.
22979 2006-04-08 Mark Wielaard <mark@klomp.org>
22981 * java/util/jar/JarFile.java (provider): New static field.
22982 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
22985 2006-04-08 Mark Wielaard <mark@klomp.org>
22988 * java/lang/StackTraceElement.java (toString): Don't add space
22989 between type and source indicator.
22991 2006-04-07 Casey Marshall <csm@gnu.org>
22993 Fixes PR classpath/24464
22994 * java/util/jar/JarFile.java (verify, verifyHashes,
22995 EntryInputStream.<init>): pass the Gnu provider directly to
22998 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
23001 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23002 (DIGEST0): Use version 3 test vector.
23004 (S_box): New field: Version 3 S-box values.
23005 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23006 (transform): Formating.
23007 (padBuffer): Likewise.
23008 (getResult): Likewise.
23009 (selfTest): Likewise.
23011 2006-04-07 Tom Tromey <tromey@redhat.com>
23013 * java/util/InvalidPropertiesFormatException.java
23014 (serialVersionUID): New field.
23015 (readObject, writeObject): New methods.
23016 * java/util/Arrays.java (toString): Javadoc fixes.
23017 * java/net/URLConnection.java: Cleaned up imports.
23018 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23019 * java/lang/reflect/MalformedParameterizedTypeException.java
23020 (serialVersionUID): New field.
23021 * java/lang/reflect/GenericSignatureFormatError.java
23022 (serialVersionUID): New field.
23023 * java/lang/Class.java (Class): Javado fixes.
23024 (getComponentType): Likewise.
23025 (getGenericInterfaces): Likewise.
23026 (getTypeParameters): Likewise.
23027 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23028 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23030 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23032 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23035 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23037 * java/awt/Dialog.java
23038 (AccessibleAWTDialog): Added api docs
23039 (AccessibleAWTDialog.getAccessibleStateSet):
23040 Renamed from getAccessibleState.
23041 * java/awt/Frame.java
23042 (AccessibleAWTFrame): Added api docs
23043 (AccessibleAWTFrame.getAccessibleStateSet):
23044 Renamed from getAccessibleState.
23046 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23048 * java/awt/Dialog.java: Reformatted.
23050 2006-04-07 Lillian Angel <langel@redhat.com>
23052 * java/awt/Component.java
23053 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23054 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23056 2006-04-07 Tom Tromey <tromey@redhat.com>
23058 * java/beans/beancontext/BeanContextMembershipEvent.java
23059 (serialVersionUID): New field.
23060 * java/beans/beancontext/BeanContextServicesSupport.java
23061 (addBeanContextServicesListener): Synchronize.
23062 (addService): Implemented.
23063 (createBCSChild): Implemented.
23064 (BCSSChild): Added arguments.
23065 (fireServiceAdded): Implemented.
23066 (fireServiceRevoked): Implemented.
23067 (getCurrentServiceSelectors): Implemented.
23068 (hasService): Implemented.
23069 (removeBeanContextServicesListener): Implemented.
23070 (serviceAvailable): Implemented.
23071 (serviceRevoked): Implemented.
23072 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23074 (createBCSChild): Implemented.
23075 (BeanContextSupport):
23076 (addBeanContextMembershipListener): Synchronize.
23077 (fireChildrenAdded): Implemented.
23078 (fireChildrenRemoved): Implemented.
23079 (BeanContextSupport): Use default locale.
23080 (isEmpty): Implemented.
23081 (isDesignTime): Implemented.
23082 (size): Implemented.
23083 (toArray): Synchronized.
23084 (toArray): Likewise.
23085 (iterator): Likewise.
23086 (BCSIterator): Implemented.
23087 (bcsChildren): Implemented.
23088 (validatePendingAdd): Implemented.
23089 (validatePendingRemove): Likewise.
23090 (childJustAddedHook): Implemented.
23091 (childJustRemovedHook): Likewise.
23092 (classEquals): Likewise.
23093 (toArray): Mark as stub.
23094 (setDesignTime): Implemented.
23095 (copyChildren): Implemented.
23096 (containsKey): Implemented.
23097 (contains): Likewise.
23098 (containsAll): Likewise.
23099 (getResource): Implemented.
23100 (getResourceAsStream): Likewise.
23101 (removeBeanContextMembershipListener): Likewise.
23102 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23103 (serialVersionUID): New field.
23104 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23105 (serialVersionUID): New field.
23106 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23109 2006-04-06 Roman Kennke <kennke@aicas.com>
23112 * javax/swing/MenuSelectionManager.java
23113 (setSelectedPath): Search one more item in the loop.
23115 2006-04-06 Tom Tromey <tromey@redhat.com>
23117 * java/awt/image/renderable/RenderableImageProducer.java
23118 (image, context, consumers): New fields.
23119 (RenderableImageProducer): Implemented.
23120 (setRenderContext): Likewise.
23121 (addConsumer): Likewise.
23122 (isConsumer): Likewise.
23123 (removeConsumer): Likewise.
23124 (startProduction): Likewise.
23126 2006-04-06 Roman Kennke <kennke@aicas.com>
23128 * java/awt/Component.java
23129 (AccessibleAWTComponent.getBounds): Return the component
23130 bounds regardless of its showing state.
23131 (AccessibleAWTComponent.getLocation): Return the component
23132 location regardless of its showing state.
23133 (AccessibleAWTComponent.getSize): Return the component
23134 size regardless of its showing state.
23136 2006-04-06 Roman Kennke <kennke@aicas.com>
23138 * javax/swing/JRootPane.java
23139 (getAccessibleContext): New method. Provides an accessibleContext
23142 2006-04-06 Roman Kennke <kennke@aicas.com>
23144 * java/awt/Toolkit.java
23145 (initAccessibility): Use the 'gnu.classpath.home.url' property
23146 to determine the system confiuration directory.
23147 * java/awt/Component.java
23148 (dispatchEvent): Trigger Toolkit dispatching here.
23149 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23150 so it can't be overridden by subclasses and is performed in
23153 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23155 * javax/naming/Binding.java: Added API docs.
23156 * javax/naming/NameClassPair.java: Added API docs.
23157 (fullName): New field.
23158 (setNameInNamespace): New 1.5 method.
23159 (getNameInNamespace): Likewise.
23161 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23163 * javax/naming/CompositeName.java:
23164 (readObject): New deserialization method.
23165 (writeObject): New serialization method.
23167 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23169 * javax/security/auth/x500/X500Principal.java
23170 (readAttributeValue) Check for separator after quoted value was
23171 failing in all cases.
23173 2006-04-06 Mark Wielaard <mark@klomp.org>
23175 * java/lang/Class.java (getClassLoader): Don't do security check
23176 when loader is null.
23178 2006-04-06 Roman Kennke <kennke@aicas.com>
23180 * java/awt/Toolkit.java
23181 (getDefaultToolkit): Initialize accessibility after setting
23183 (initAccessibility): New helper method to setup accessibility.
23185 2006-04-06 Roman Kennke <kennke@aicas.com>
23187 * javax/swing/AbstractButton.java
23188 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23189 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23191 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23192 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23193 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23194 (AccessibleAbstractButton.getCharCount): Implemented stub.
23195 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23196 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23197 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23198 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23199 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23200 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23203 2006-04-06 Roman Kennke <kennke@aicas.com>
23205 * java/awt/Component.java
23206 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23207 state here. This is only done in JComponent.
23208 * javax/swing/JComponent.java
23209 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23211 (getNextFocusableComponent): Implemented stub method.
23212 (grabFocus): Implemented stub method.
23213 (unregisterKeyboardAction): Implemented stub method.
23214 (setNextFocusableComponent): Implemented stub method.
23215 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23216 This is a helper class for providing compatibility with the older
23219 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23222 * javax/naming/directory/BasicAttribute.java,
23223 * javax/naming/directory/BasicAttributes.java:
23224 (readObject): New deserialization method.
23225 (writeObject): New serialization method.
23227 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23229 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23230 (getErrorHandler): Made method abstract.
23231 (setErrorHanlder): Likewise.
23232 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23233 (getErrorHandler): Implement abstract method from superclass.
23234 (setErrorHandler): Likewise.
23235 (errorHandler): New field.
23236 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23237 (getErrorHandler): Implement abstract method from superclass.
23238 (setErrorHandler): Likewise.
23239 (errorHandler): New field.
23240 * javax/xml/XMLConstants.java: Corrected since tag.
23241 (XMLConstants): Added private constructor.
23242 * javax/xml/datatype/Duration.java: Corrected since tag.
23243 (multiply): Made method abstract.
23244 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23245 (DatatypeConstants): Added private constructor.
23246 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23247 (XPathConstants): Added private constructor.
23249 2006-04-05 Tom Tromey <tromey@redhat.com>
23251 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23253 2006-04-05 Tom Tromey <tromey@redhat.com>
23256 * lib/Makefile.am (compile-classes): Touch the output file.
23258 2006-04-05 Roman Kennke <kennke@aicas.com>
23260 * javax/swing/AbstractButton.java
23261 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23262 of the focused state. This is already done in AccessibleAWTComponent.
23264 2006-04-05 Roman Kennke <kennke@aicas.com>
23266 * javax/swing/JComponent.java
23267 (accessibleContext): Fixed API doc for this field.
23268 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23269 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23270 Implemented and added API docs.
23271 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23272 Implemented and added API docs.
23273 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23274 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23275 Implemented and added API docs.
23276 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23277 Implemented and added API docs.
23278 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23279 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23280 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23281 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23282 (AccessibleJComponent.getAccessibleStateSet): Simply return
23283 super here. Added comment about this.
23285 2006-04-05 Roman Kennke <kennke@aicas.com>
23287 * javax/swing/JComponent.java
23288 (AccessibleJComponent.addPropertyChangeListener): Install
23289 ContainerHandler and FocusHandler here.
23290 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23291 ContainerHandler and FocusHandler here.
23292 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23293 by super.getAccessibleChildrenCount().
23294 (AccessibleJComponent.getAccessibleChild): Replaced
23295 by super.getAccessibleChild().
23296 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23297 adding OPAQUE to the supported states.
23298 (AccessibleJComponent.getAccessibleName): Added titled border
23299 and label fallbacks.
23300 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23301 and label fallbacks.
23302 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23303 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23304 explaining why return null seems correct here.
23305 * javax/swing/JLabel.java
23306 (LABEL_PROPERTY): New constant.
23307 (setLabelFor): Store label in labeled component's client properties
23308 for the AccessibleJComponent to read.
23310 2006-04-05 Tom Tromey <tromey@redhat.com>
23312 * java/util/zip/ZipFile.java (available): Defer to super if
23313 entry's size is unknown.
23315 2006-04-05 Tom Tromey <tromey@redhat.com>
23317 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23318 property with mime.types name.
23319 * gnu/classpath/SystemProperties.java: Set
23320 gnu.classpath.mime.types.file if not already set.
23321 * java/net/URLConnection.java (defaultFactory): New field.
23322 (guessContentTypeFromStream): Mark as unimplemented.
23323 (getContentHandler): Updated with libgcj's implementation.
23324 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23327 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23331 * java/util/AbstractList.java (hasNext): Don't throw
23332 ConcurrentModificationException. Update Javadoc.
23333 (hasPrevious): Likewise.
23334 (nextIndex): Likewise.
23335 (previousIndex): Likewise.
23336 * java/util/HashMap.java (hasNext): Likewise.
23337 * java/util/Hashtable.java (hasNext): Likewise.
23338 * java/util/IdentityHashMap.java (hasNext): Likewise.
23339 * java/util/LinkedHashMap.java (hasNext): Likewise.
23340 * java/util/LinkedList.java (nextIndex): Likewise.
23341 (previousIndex): Likewise.
23342 (hasNext): Likewise.
23343 (hasPrevious): Likewise.
23344 * java/util/TreeMap.java (hasNext): Likewise.
23345 * java/util/WeakHashMap.java (hasNext): Likewise.
23347 2006-04-05 Roman Kennke <kennke@aicas.com>
23349 * javax/swing/AbstractButton.java
23350 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23351 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23352 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23353 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23354 (AccessibleAbstractButton.getAccessibleActionDescription):
23356 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23357 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23358 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23359 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23360 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23361 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23363 2006-04-05 Roman Kennke <kennke@aicas.com>
23365 * javax/swing/JComboBox.java
23366 (selectWithKeyChar): Implemented stubbed method.
23368 2006-04-05 Roman Kennke <kennke@aicas.com>
23370 * javax/swing/LookAndFeel.java
23371 (installProperty): New method. Allows primitive typed properties
23372 to be handled like UIResources.
23373 * javax/swing/AbstractButton.java
23374 (clientBorderPaintedSet): New field.
23375 (clientRolloverEnabledSet): New field.
23376 (clientIconTextGapSet): New field.
23377 (clientContentAreaFilledSet): New field.
23378 (setRolloverEnabled): Set the client field to true.
23379 (setBorderPainted): Likewise.
23380 (setIconTextGap): Likewise.
23381 (setContentAreaFilled): Likewise.
23382 (setUIProperty): New helper method.
23383 * javax/swing/JComponent.java
23384 (clientOpaqueSet): New field.
23385 (clientAutoscrollsSet): New field.
23386 (setAutoscrolls): Set the client field to true.
23387 (setOpaque): Likewise.
23388 (setUIProperty): New helper method.
23389 * javax/swing/JDesktopPane.java
23390 (clientDragModeSet): New field.
23391 (setDragMode): Set the client field to true.
23392 (setUIProperty): New helper method.
23393 * javax/swing/JSplitPane.java
23394 (clientDividerSizeSet): New field.
23395 (clientOneTouchExpandableSet): New field.
23396 (setDividerSize): Set the client field to true.
23397 (setOneTouchExpandable): Likewise.
23398 (setUIProperty): New helper method.
23399 * javax/swing/JTable.java
23400 (clientRowHeightSet): New field.
23401 (setRowHeight): Set the client field to true.
23402 (setUIProperty): New helper method.
23403 * javax/swing/JTree.java
23404 (clientRowHeightSet): New field.
23405 (clientScrollsOnExpandSet): New field.
23406 (clientShowsRootHandlesSet): New field.
23407 (setRowHeight): Set the client field to true.
23408 (setShowsRootHandles): Likewise.
23409 (setScrollsOnExpand): Likewise.
23410 (setUIProperty): New helper method.
23412 2006-04-05 Roman Kennke <kennke@aicas.com>
23414 * java/awt/Component.java
23415 (getFont): Don't request the font from the peer's graphics. The
23416 graphics should instead get the font from the Component, which might
23418 (getFocusCycleAncestor): Don't special case Window.
23419 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23420 to here. Correctly determine the focus cycle root.
23421 (transferFocusBackward): Likewise.
23422 (transferFocusUpCycle): Likewise.
23423 * java/awt/Container.java
23424 (transferFocusDownCycle): Moved implementation from
23425 DefaultKeyboardFocusManager to here.
23426 * java/awt/DefaultKeyboardFocusManager.java
23427 (focusPreviousComponent): Moved implementation to
23428 Component.transferFocusBackward().
23429 (focusNextComponent): Moved implementation to
23430 Component.nextFocus().
23431 (upFocusCycle): Moved implementation to
23432 Component.transferFocusUpCycle().
23433 (downFocusCycle): Moved implementation to
23434 Container.transferFocusDownCycle().
23436 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23438 * java/awt/image/ComponentSampleModel.java
23439 (equals): Implemented,
23440 (hashCode): Likewise.
23442 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23444 * java/lang/Class.java
23445 (cast): New method.
23447 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23449 * java/awt/image/ComponentSampleModel.java
23450 (getBankIndices): Return a copy of the array, not a reference to the
23452 (getBandOffsets): Likewise.
23454 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23456 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23458 2006-04-04 Tom Tromey <tromey@redhat.com>
23460 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23462 2006-04-04 Tom Tromey <tromey@redhat.com>
23464 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23465 (MimeTypeMapper): Initialize.
23466 (fillFromFile): New method.
23467 (main): New method.
23468 (mime_strings): Updated.
23470 2006-04-04 Tom Tromey <tromey@redhat.com>
23472 * lib/gen-classlist.sh.in: Correct handle generated files.
23474 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23476 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23477 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23478 * gnu/regexp/CharIndexedCharSequence.java: New file.
23479 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23480 gnu.regexp.CharIndexedCharSequence.
23481 * gnu/regexp/CharIndexedString.java: Likewise.
23482 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23483 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23484 using CharIndexedCharSequence. Use setAnchor when the input
23485 object is already a CharIndexed.
23486 * java/util/regex/Matcher.java(inputCharIndexed): New field
23487 to be used as a parameter of the RE#getMatch.
23489 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23491 * java/awt/image/SampleModel.java: Reformatted.
23493 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23495 * java/awt/image/ComponentSampleModel.java
23496 (ComponentSampleModel(int, int, int, int, int[])): Added API
23498 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23499 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23500 of the bandOffsets and bankIndices arguments, added API documentation,
23501 * java/awt/image/SampleModel.java
23502 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23503 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23504 less than or equal to zero, added API documentation.
23506 2006-04-04 Lillian Angel <langel@redhat.com>
23508 * java/util/zip/ZipFile.java
23509 (getInputStream): Fixed to return size of ZipEntry
23510 minus the total bytes read. This guarantees that the
23511 right value is returned even if some bytes have already
23514 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23516 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23517 Remove static modifier.
23519 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23521 * java/awt/image/ComponentSampleModel.java: Reformatted.
23523 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23525 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23526 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23527 retrieval instructions to javadoc header.
23528 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23529 compressionType field.
23530 * lib/Makefile.am (propertydirs): Add javax directory.
23531 (propertyfiles): Likewise.
23532 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23535 2006-04-03 Tom Tromey <tromey@redhat.com>
23537 PR classpath/26971:
23538 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23539 (BasicAttributeEnumeration.where): Initialize to 0.
23540 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23542 2006-04-03 Lillian Angel <langel@redhat.com>
23544 PR classpath/24596 and PR classpath/26930
23545 * java/util/zip/ZipFile.java
23546 (getInputStream): Override available function for
23547 InflaterInputStream instance.
23549 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23551 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23553 2006-04-03 Tom Tromey <tromey@redhat.com>
23555 * javax/security/auth/kerberos/ServicePermission.java: New file.
23556 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23557 * javax/security/auth/kerberos/KerberosKey.java: New file.
23558 * javax/security/auth/kerberos/KeyImpl.java: New file.
23559 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23560 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23562 2006-04-03 Sven de Marothy <sven@physto.se>
23564 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23565 non-GtkImage images.
23567 2006-04-03 Mark Wielaard <mark@klomp.org>
23569 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23570 as temporary file name.
23572 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23574 * INSTALL: Documented --with-glibj-zip option.
23576 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23578 Fixed all pscan warnings.
23580 * native/jni/classpath/jcl.c (JCL_ThrowException),
23581 native/jni/classpath/jcl.h (DBG),
23582 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23583 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23584 Use "%s" format in fprintf and snprintf explicitely when printing a single
23585 string to prevent format string exploits.
23587 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23588 definition. Included jcl.h instead.
23590 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23592 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23593 (provider): Made it protected.
23594 (providerInstalled): New field.
23595 (Main): Made it a 0-arguments constructor.
23596 Removed throws clasue.
23597 (main): Removed throws clause.
23598 Call processArgs(args) after constructing instance.
23599 Call teardown() before existing.
23600 (processArgs): Added javadoc.
23601 Reduced to throws Exception.
23603 (teardown): New method.
23604 (setupCommonParams): Added javadoc.
23605 Install designated provider if not already installed.
23606 (installNewProvider): New method.
23607 (setupSigningParams): Added javadoc.
23608 Instantiate the KeyStore using type only.
23609 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23610 Removed unused imports.
23611 (start): Reduced to throws Exception.
23612 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23613 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23614 Re-organized imports.
23615 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23616 Test ignoring case.
23617 (getNames): Add "dsa" as an algorithm provided by this Factory.
23618 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23620 2006-04-03 Roman Kennke <kennke@aicas.com>
23622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23623 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23624 Replaced g_free() with pango_item_free() to avoid problems
23625 with the allocator.
23627 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23630 * java/util/logging/Level.java (parse): Document.
23631 * java/util/logging/LogManager.java (rootLogger): Removed.
23632 (LogManager): Just set loggers to new HashMap.
23633 (getLogManager): Make synchronized. Create and init LogManager if it
23635 (static): Removed block.
23636 (MANAGER_PROPERTY): New private final string.
23637 (makeLogManager): Use new property string, move warning to
23638 createInstance() method.
23639 (CONFIG_PROPERTY): New private final string.
23640 (initLogManager): New method.
23641 (addLogger): Use Logger.root, not rootLogger.
23642 (findAncestor): Likewise.
23643 (readConfiguration): Move warning to createInstance() method.
23644 Add handlers directly to Logger.root. Warn about bad level values.
23645 (getClassProperty): Use new locateClass() method.
23646 (getInstanceProperty): Only catch specific newInstance Errors.
23647 (createInstance): Make private and takes a string to use in warning
23648 messages. Use new locateClass() method and generate appropriate
23650 (warn): New methods.
23651 (locateClass): Locates a class through the context class loader and
23652 system class loader as backup.
23653 * java/util/logging/Logger.java (root): New static final field.
23654 (Logger): Set parent to root.
23655 (setParent): Directly check root field.
23657 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23659 * java/util/Collections.java:
23660 (binarySearch(List, T)): Fixed signature.
23661 (unmodifiableList(List)): Likewise.
23662 (UnmodifiableList(List)): Fixed constructor.
23663 (UnmodifiableRandomAccessList(List)): Likewise.
23664 (unmodifiableMap(Map)): Fixed signature.
23665 (UnmodifiableMap(Map)): Fixed constructor.
23666 (unmodifiableSortedMap(Map)): Fixed signature.
23667 (UnmodifiableSortedMap(Map)): Fixed constructor.
23669 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23671 * java/io/ObjectOutputStream.java:
23672 (writeObject(Object)): Added enum support.
23673 (writeClassDescriptor(ObjectStreamClass)): Likewise.
23674 * java/io/ObjectStreamClass.java:
23675 (isEnum()): New package-private method.
23676 (setFlags(Class)): Added enum support.
23677 * java/io/ObjectStreamConstants.java:
23680 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23682 * javax/swing/text/Segment.java:
23683 (setPosition): Make exception message more verbose.
23684 * javax/swing/text/WrappedPlainView.java:
23685 (insertUpdate): Removed unneeded repaint call.
23686 (changeUpdate): Dito.
23687 (removeUpdate): Dito.
23688 (WrappedLine.determineNumLines): Do not return numLines, break
23689 from loop if no new break point has been calculated.
23690 (WrappedLine.updateDamage): Rewritten.
23691 (WrappedLine.insertUpdate): Removed unneeded update code.
23692 (WrappedLine.removeUpdate): Removed unneeded update code, added
23695 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23697 * configure.ac (with-glibj-zip): Added new option.
23699 * examples/Makefile.am,
23701 tools/Makefile.am: Adapted build classpath to use glibj.zip,
23702 in addition to classes in lib directory.
23704 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23706 * tools/gnu/classpath/tools/giop/GRMIC.java,
23707 tools/gnu/classpath/tools/giop/IorParser.java,
23708 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23709 tools/gnu/classpath/tools/giop/grmic/Generator.java,
23710 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23711 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23712 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23713 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23714 tools/gnu/classpath/tools/rmi/RMIC.java,
23715 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23716 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23717 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23718 linking exception from the licensing header.
23719 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23720 Added licensing header.
23722 2006-04-02 Mark Wielaard <mark@klomp.org>
23724 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23725 (jarsigner): Removed.
23727 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23729 * configure.ac: don't check for isnan function.
23730 * native/fdlibm/fdlibm.h: Always use the isnan macro.
23732 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23734 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23735 * tools/Makefile.am: Generate jarsigner shell script.
23736 * tools/jarsigner.sh.in: New template.
23737 * tools/.cvsignore: Added jarsigner.sh.
23739 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23741 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23742 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23743 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23744 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23745 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23746 Re-organised imports.
23748 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
23750 PR classpath/25924:
23751 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23752 Handle case where alpha==0.
23754 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23757 * javax/swing/text/Utilities.java:
23758 (getTabbedTextOffset): Added check to decrement pos not below zero,
23759 changed '>' comparison to '>='.
23760 * javax/swing/text/WrappedPlainView.java:
23761 (lineHeight): New field.
23762 (calculateBreakPosition): Throw InternalError in catch block, removed
23763 unneeded brackets, use specific version of
23764 Utilities.getTabbedTextOffset.
23765 (paint): Set various properties neccessary for drawing.
23766 (WrappedLine.paint): Removed code to set field of outer class.
23767 (WrappedLine.modelToView): Removed unneeded expression from
23769 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23770 -1 from return statement, copy only a subset into the Segment, removed
23771 special handling of mark value - just return it, simplified
23772 incrementation of currLineStart.
23773 (WrappedLine.insertUpdate): Recalculate numLines, report preference
23774 change to parent view.
23775 (WrappedLine.removeUpdate): Dito.
23777 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23779 * javax/swing/text/Segment.java:
23780 (toString): Return empty string when array is null.
23782 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23784 * javax/swing/plaf/basic/BasicTextUI.java:
23785 (damageRange): Use SwingUtilities.computeUnion to avoid
23786 unneccessary Rectangle instantiation.
23788 2006-04-01 Tom Tromey <tromey@redhat.com>
23790 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23792 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23794 * javax/swing/text/CompositeView.java: Fixed copyright header.
23795 * javax/swing/text/BoxView.java: Fixed copyright header.
23796 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23797 * javax/swing/text/Utilities.java: Fixed copyright header.
23799 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23801 * javax/swing/text/CompositeView.java:
23802 (modelToView): Throw BadLocationException when no child
23803 view can be found, restructed to throw exception as early
23805 (viewToModel): Use mutable allocation as argument for viewToModel
23806 call on child view.
23807 * javax/swing/text/BoxView.java:
23808 (getViewAtPoint): Call setBounds() r before method returns with
23809 suitable child view.
23810 * javax/swing/text/Utilities.java:
23811 (getPositionBelow): Added try-catch-block around modelToView call,
23812 added method return when BadLocationException was thrown.
23813 * javax/swing/text/WrappedPlainView.java:
23814 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23815 added note about meaning of rect.x and rect.width, removed unneeded
23816 checks, added code to not return the last possible document offset.
23818 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23820 * javax/swing/text/WrappedPlainView.java:
23821 (WrappedLine.viewToModel): Change < to <= in if-statement,
23822 removed addition of currLineStart to return value.
23823 * javax/swing/text/BoxView.java:
23824 (getViewAtPoint): Use copy instead of r for method call
23825 which modifies the second argument.
23827 2006-04-01 Mark Wielaard <mark@klomp.org>
23830 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23832 2006-03-31 Tom Tromey <tromey@redhat.com>
23834 * lib/split-for-gcj.sh: Updated for multi-field format.
23835 * lib/Makefile.am (CLEANFILES): Added classes.2.
23836 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
23837 classes.2 using multiple fields.
23839 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23841 * javax/swing/JTable.java (columnSelectionChanged):
23842 Removed print statement.
23843 * javax/swing/DefaultListSelectionModel.java
23844 (addSelectionInterval, removeSelectionInterval):
23845 Fire the difference between selection. (setLeadSelectionIndex):
23846 Fire the difference and mark current and previous lead
23847 selection indexes for repaint.
23849 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
23851 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23852 unnecessary copying.
23853 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23855 2006-03-31 Lillian Angel <langel@redhat.com>
23857 * java/awt/Component.java
23858 (translateEvent): oldKey should be the value of the
23861 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23863 * javax/swing/JTable.java (columnSelectionChanged):
23864 Treat second repaint parameter as width.
23866 2006-03-31 Lillian Angel <langel@redhat.com>
23869 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23870 (realize): New native function.
23871 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23872 Added new function declaration.
23873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23874 (realize): New function.
23876 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
23878 * javax/swing/text/GapContent.java:
23879 (replace): Move all Position instances from gap's end to
23880 it's start before increasing the gap start.
23881 * javax/swing/plaf/basic/BasicTextAreaUI.java:
23882 (propertyChanged): Update the view only instead of
23883 indicating a document change.
23885 2006-03-31 Roman Kennke <kennke@aicas.com>
23887 * javax/swing/JTextField.java
23888 (fireActionPerformed): Put the textfields text in the action
23889 instead of the action name.
23891 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
23893 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23894 Check for null jar-file argument.
23895 (setupSigningParams): Check for null alias argument.
23897 2006-03-31 Roman Kennke <kennke@aicas.com>
23899 * javax/swing/JComponent.java
23900 (paintChildren): Split up in two cases, depending on the
23901 optimizedDrawingEnabled flag.
23902 (paintChildrenWithOverlap): New method. Paints children when
23903 not optimizedDrawingEnabled. This implements better painting
23904 algorithm for overlapping components, so that the painted
23905 regions are minimized.
23906 (paintChildrenOptimized): New method. Paints children when
23907 when optimizedDrawingEnabled. This implements a painting
23908 algorithm that is optimized for the case when all children
23909 are guaranteed to be tiled.
23911 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
23913 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23914 Attributes.putValue(String,String).
23915 (finishSigning): Likewise.
23916 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23917 (SIGNATURE_VERSION): Likewise.
23918 (readSFManifest): Use local string constant.
23919 (readMainSection): Likewise.
23920 (readVersionInfo): Likewise.
23921 * java/util/jar/Attributes.java (MANIFEST_VERSION):
23922 Redefined using JarUtils constant.
23923 (SIGNATURE_VERSION): Likewise.
23924 (putValue(Name,String)): Made it private.
23926 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23928 * javax/swing/DefaultListSelectionModel.java (fireDifference):
23929 New method. (clearSelection): Rewritten. (setSelectionInterval):
23930 Fire the difference between current and new selection.
23931 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
23932 Only repaint the region, where selection has been changed.
23933 * javax/swing/plaf/basic/BasicTableUI.java
23934 (TableAction.actionPerformed): Do not change the column selection
23935 when only row selection change is wanted (and in reverse) and
23936 do not call the repaint() here.
23938 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
23941 * javax/swing/DefaultComboBoxModel.java
23942 (DefaultComboBoxModel(Vector)): Call getSize() instead of
23944 (addElement): Call list.addElement() rather than list.add(), and only
23945 update selected item if it is currently null,
23946 (removeElementAt): Update selected item, then remove the element.
23948 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
23951 * java/awt/geom/Point2D.java
23952 (distanceSq(double, double)): Fixed order of arguments,
23953 (distanceSq(Point2D)): Likewise,
23954 (distance(double, double)): Likewise,
23955 (distance(Point2D)): Likewise.
23957 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
23959 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
23960 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
23961 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
23962 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
23963 DCLuminanceLengths, DCLuminanceValues): Remove fields.
23965 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23967 * javax.swing.JTable (constructor): Initialize column
23968 model column margin and table row margin before setting the
23969 table column model. (initialiseLocalVars): Do not call
23970 setIntercellSpacing.
23972 2006-03-30 Chris Burdess <dog@gnu.org>
23974 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
23976 * javax/xml/validation/SchemaFactoryLoader.java: New file.
23978 2006-03-30 Mark Wielaard <mark@klomp.org>
23981 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
23982 adjust bounds. On resize invalidate and validate container.
23983 Always pass on ComponentEvents to Container super class.
23984 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
23985 menuBar and pass to GtkWindowPeer super class.
23986 (postConfigureEvent): Adjust menu bar width. Adjust y and height
23987 bounds and pass to GtkWindowPeer super class.
23988 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
23989 New fields for local bounds.
23990 (getX, getY): New methods.
23991 (getWidth): Don't call into awtComponent.
23992 (getHeight): Likewise.
23993 (create): Cache local bounds.
23994 (setLocation): Documented, made protected and just call
23996 (setLocationUnlocked): Removed unused method.
23997 (setBoundsUnlocked): Likewise.
23998 (setBounds): Check whether bounds actually changed and cache local
24000 (setSize): Documented and made protected.
24001 (setResizable): Documented and cache local bounds.
24002 (postConfigureEvent): Update local bounds. Don't call awtComponent
24003 directly but post ComponentEvents.
24004 (show): Cache local bounds.
24005 (getBounds): Override to return cached bounds.
24007 2006-03-30 Lillian Angel <langel@redhat.com>
24009 * gnu/java/awt/peer/gtk/GdkGraphics.java
24010 (drawImage): Added check to prevent NPE.
24011 (drawImage): Likewise.
24012 (drawImage): Likewise.
24013 * java/awt/Choice.java
24014 (dispatchEventImpl): New function. selectedIndex was
24015 not being updated properly otherwise.
24017 2006-03-30 Roman Kennke <kennke@aicas.com>
24019 * javax/swing/JTabbedPane.java
24020 (removeTabAt): Removed debug code.
24022 2006-03-30 Roman Kennke <kennke@aicas.com>
24025 * javax/swing/plaf/basic/BasicTextUI.java
24026 (installKeyboardActions): Simply call getKeymap() and install this.
24027 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24029 2006-03-30 Roman Kennke <kennke@aicas.com>
24031 * javax/swing/JTabbedPane.java
24032 (removeTabAt): Adjust selection correctly when removing a tab
24033 before the selected tab. Also remove the component from the
24034 container, not only the tab object. Repaint and revalidate the
24035 component after the removal.
24036 (removeAll): Set selection to -1 before removing the tabs.
24038 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24040 * java/io/ObjectInputStream.java:
24041 (parseContent(byte)): Added enum support.
24042 * java/io/ObjectStreamConstants.java:
24044 (TC_MAX): Changed to new maximum, TC_ENUM.
24046 2006-03-29 Lillian Angel <langel@redhat.com>
24048 Partial fix for bug #26929
24049 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24050 (updateComponent): Removed. We want to clear the panel
24052 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24053 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24054 Should set the background to the saved background color.
24056 2006-03-29 Mark Wielaard <mark@klomp.org>
24058 Partial fix for bug #26848 (pack).
24059 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24060 Always show instances of Window.
24062 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24064 * javax/swing/JSlider.java
24065 (setPaintLabels): Only create standard labels if labelTable is null,
24066 * javax/swing/plaf/basic/BasicSliderUI.java
24067 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24068 "paintTicks" property change,
24069 (calculateThumbSize): Updated API docs,
24070 (calculateContentRect): Likewise,
24071 (calculateTrackBuffer): Take into account the lowest and highest
24072 labels when calculating buffer space,
24073 (calculateTrackRect): Include labels, if visible, in the calculation of
24074 the trackRect position,
24075 (calculateTickRect): Height is zero if ticks are not painted,
24076 (calculateLabelRect): Use max dimensions of actual labels,
24077 (getWidthOfHighValueLabel): Use preferred size,
24078 (getWidthOfLowValueLabel): Likewise,
24079 (getHeightOfHighValueLabel): Likewise,
24080 (getHeightOfLowValueLabel): Likewise,
24081 (drawInverted): Just return slider setting,
24082 (getHighestValueLabel): Updated API docs,
24083 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24084 to xPositionForValue() and yPositionForValue(),
24085 (paintHorizontalLabel): Removed full qualification of class name,
24086 (paintVerticalLabel): Likewise,
24087 (xPositionForValue): Reimplemented,
24088 (yPositionForValue): Reimplemented,
24089 * javax/swing/plaf/metal/MetalSliderUI.java
24090 (paintTrack): Made track one pixel longer.
24092 2006-03-29 Tom Tromey <tromey@redhat.com>
24095 * tools/Makefile.am (JCOMPILER): Added encoding options.
24096 * examples/Makefile.am (JCOMPILER): Added encoding options.
24098 2006-03-29 Gary Benson <gbenson@redhat.com>
24100 Partial fix for PR classpath/24895
24101 * java/io/FilePermission.java (implies): Canonicalize paths.
24103 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24106 * javax/swing/text/GapContent.java:
24107 (replace): Added call to resetMarksAtZero.
24109 2006-03-29 Roman Kennke <kennke@aicas.com>
24112 * javax/swing/plaf/basic/BasicMenuItemUI.java
24113 (cachedRect): New field.
24114 (BasicMenuItemUI): Initialize cachedRect field.
24115 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24116 to determine layout. Store maximum accelerator and text width
24117 in client properties of parent to allow correct alignment
24118 of accelerators among menu items of one menu.
24119 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24120 method. Align accelerators according to the values calculated
24121 in getPreferredMenuItemSize.
24122 (getAcceleratorString) New helper method.
24123 (layoutMenuItem): New helper method.
24125 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24127 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24128 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24129 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24131 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24132 readExternal, writeExternal): New methods.
24133 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24134 two stages, invokeCommon(Remote, ...) and
24135 invokeCommen(UnicastConnection, ...).
24136 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24137 also the ActivatableRef. toString(): Documented.
24138 * gnu/java/rmi/server/ActivatableRef.java,
24139 tools/gnu/classpath/tools/rmi/Persistent.java,
24140 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24141 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24142 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24143 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24144 tools/gnu/classpath/tools/rmi/RMID.java,
24145 tools/gnu/classpath/tools/rmi/RMID.txt,
24146 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24147 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24148 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24149 tools/gnu/classpath/tools/rmi/registry/package.html,
24150 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24151 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24153 * tools/README: Documented.
24154 * NEWS: Added entry about the activation.
24156 2006-03-29 Roman Kennke <kennke@aicas.com>
24159 * javax/swing/plaf/basic/BasicMenuItemUI.java
24160 (viewRect): New field.
24161 (textRect): New field.
24162 (accelRect): New field.
24163 (iconRect): New field.
24164 (arrowIconRect): New field.
24165 (checkIconRect): New field.
24166 (BasicMenuItemUI): Initialize new fields.
24167 (paintMenuItem): Rewritten to correctly layout and paint
24168 the menu item in a more straightforward way. Use cached rectangle
24169 objects for layout.
24170 (paintAccelerator): Pulled inside the paintMenuItem method.
24172 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24174 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24175 Do not use initCause with UnexpectedException.
24176 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24179 2006-03-29 Mark Wielaard <mark@klomp.org>
24181 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24182 (setCursorID): Removed unused static variable.
24184 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24186 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24188 2006-03-29 Mark Wielaard <mark@klomp.org>
24191 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24192 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24194 2006-03-28 Roman Kennke <kennke@aicas.com>
24196 * javax/swing/UIManager.java
24197 (installLookAndFeel): Implemented.
24198 (setInstalledLookAndFeels): Implemented.
24200 2006-03-28 Roman Kennke <kennke@aicas.com>
24202 * javax/swing/plaf/metal/MetalButtonUI.java
24203 (update): Paint gradient only when the background color
24204 is not a UIResource and if the button is neither armed nor
24205 pressed and if the button is contentAreaFilled.
24207 2006-03-28 Roman Kennke <kennke@aicas.com>
24209 * javax/swing/JLayeredPane.java
24210 (addImpl): Repaint added component.
24212 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24214 * java/util/regex/Matcher.java: Reverted.
24216 2006-03-28 Roman Kennke <kennke@aicas.com>
24218 * javax/swing/text/AsyncBoxView.java
24219 (setEstimatedMajorSpan): Made method protected.
24220 (getEstimatedMajorSpan): Made method protected.
24221 * javax/swing/text/BoxView.java
24222 (flipEastAndWestAtEnds): Fixed typo.
24223 * javax/swing/text/InternationalFormatter.java
24224 (getActions): Made method protected.
24225 * javax/swing/text/Position.java
24226 (Bias): Made class final.
24227 * javax/swing/text/html/HTML.java
24228 (MEDIA): Made field package private. Not specified.
24229 (NOBR): Made field package private. Not specified.
24230 * javax/swing/text/html/NullView.java
24231 Made class package private.
24232 * javax/swing/text/html/parser/Entity.java
24233 Made class non-serializable as specified.
24235 2006-03-28 Roman Kennke <kennke@aicas.com>
24237 * javax/swing/plaf/metal/MetalButtonUI.java
24238 (update): Don't paint gradient if the background color is
24239 no UIResource. Removed double getModel() call. Don't check for
24242 2006-03-28 Roman Kennke <kennke@aicas.com>
24244 * javax/swing/plaf/basic/BasicMenuItemUI.java
24245 (paint): Call paintMenuItem with the selectionBackground as
24247 (paintBackground): Fixed the condition and color for the background
24250 2006-03-28 Roman Kennke <kennke@aicas.com>
24252 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24253 (tabsOpaque): New field.
24254 (paintLeftTabBorder): Paint some parts only when the tabs are
24255 opaque. Determine the tab background using the paintLeftTabBorder()
24257 (paintRightTabBorder): Likewise.
24258 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24260 2006-03-27 Tom Tromey <tromey@redhat.com>
24262 PR classpath/25189:
24263 * java/lang/Enum.java (valueOf): Ensure that the named field
24264 is an enum constant.
24265 (compareTo): Check class of enum.
24267 2006-03-27 Tom Tromey <tromey@redhat.com>
24269 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24271 2006-03-27 Tom Tromey <tromey@redhat.com>
24273 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24275 (getModifiersInternal): Renamed from getModifiers.
24276 (getModifiers): New method.
24277 (isBridge): Likewise.
24278 (isSynthetic): Likewise.
24279 (isVarArgs): Likewise.
24280 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24282 (getModifiersInternal): Renamed from getModifiers.
24283 (getModifiers): New method.
24284 (isSynthetic): Likewise.
24285 (isEnumConstant): Likewise.
24286 * vm/reference/java/lang/reflect/Constructor.java
24287 (getModifiersInternal): Renamed from getModifiers.
24288 (getModifiers): New method
24289 (CONSTRUCTOR_MODIFIERS): New constant.
24290 (isSynthetic): New method.
24291 (isVarArgs): Likewise.
24292 * java/lang/reflect/Member.java (isSynthetic): New method.
24294 2006-03-28 Tom Tromey <tromey@redhat.com>
24296 * java/net/Proxy.java (TYPE): Added missing ";".
24298 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24300 * java/math/RoundingMode.java:
24301 Fixed serialization UID.
24302 * java/net/Proxy.java:
24305 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24307 * java/io/CharArrayWriter.java:
24308 (append(char)): Documented.
24309 (append(CharSequence)): Likewise.
24310 (append(CharSequence,int,int)): Likewise.
24312 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24314 * vm/reference/java/lang/reflect/Constructor.java
24315 (getTypeParameters): Check return value of getSignature for null.
24316 * vm/reference/java/lang/reflect/Method.java
24317 (getTypeParameters): Check return value of getSignature for null.
24319 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24321 * java/rmi/activation/ActivationGroup_Stub.java:
24324 2006-03-27 Tom Tromey <tromey@redhat.com>
24326 * java/io/CharArrayWriter.java (append): New overloads.
24328 2006-03-27 Lillian Angel <langel@redhat.com>
24330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24331 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24332 Added check for colormap. Prevents assertion error.
24333 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24335 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24337 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24339 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24341 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24344 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24346 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24347 AC_MSG_ERROR instead of echoing the error message
24348 that no compiler has been found manually.
24350 2006-03-27 Roman Kennke <kennke@aicas.com>
24352 * javax/swing/RepaintManager.java
24353 (commitBuffer): Use simple drawImage() method instead of the
24356 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24358 * javax/swing/text/PlainView.java:
24359 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24360 for painting the selected line.
24362 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24364 * javax/swing/plaf/basic/BasicSliderUI.java
24365 (getThumbSize): Removed TODO and updated API docs.
24367 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24369 * javax/swing/text/DefaultCaret.java:
24370 (mouseClicked): Word selection rewritten.
24371 (paint): Draw line inside the bounding rectangle.
24372 (damage): Retrieve caret height from line height.
24374 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24376 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24378 Check for -help option.
24379 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24381 2006-03-27 Roman Kennke <kennke@aicas.com>
24383 * javax/swing/text/FieldView.java
24384 (getPreferredSpan): Don't include trailing newline in
24386 * javax/swing/text/PlainView.java
24387 (drawLine): Don't include trailing newline.
24388 (determineMaxLineLength): Don't include trailing newline.
24389 (getLineBuffer): Made method final.
24391 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24393 * javax/swing/JSlider.java
24394 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24395 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24396 NotImplementedException,
24397 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24399 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24401 * java/lang/ProcessBuilder.java:
24404 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24406 * gnu/java/net/protocol/http/Headers.java:
24407 Match layout of file on HEAD.
24408 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24410 * java/awt/datatransfer/DataFlavor.java
24413 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24415 * gnu/java/security/jce/hash/HavalSpi.java,
24416 * gnu/java/security/jce/hash/MD2Spi.java,
24417 * gnu/java/security/jce/hash/MD4Spi.java,
24418 * gnu/java/security/jce/hash/MD5Spi.java,
24419 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24420 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24421 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24422 * gnu/java/security/jce/hash/Sha160Spi.java,
24423 * gnu/java/security/jce/hash/Sha256Spi.java,
24424 * gnu/java/security/jce/hash/Sha384Spi.java,
24425 * gnu/java/security/jce/hash/Sha512Spi.java,
24426 * gnu/java/security/jce/hash/TigerSpi.java,
24427 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24428 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24429 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24430 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24431 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24432 * gnu/java/security/jce/sig/SignatureAdapter.java,
24433 * gnu/java/security/key/IKeyPairCodec.java,
24434 * gnu/java/security/key/IKeyPairGenerator.java,
24435 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24436 * gnu/java/security/key/dss/DSSKey.java,
24437 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24438 * gnu/java/security/key/dss/DSSPrivateKey.java,
24439 * gnu/java/security/key/dss/DSSPublicKey.java,
24440 * gnu/java/security/key/dss/FIPS186.java,
24441 * gnu/java/security/key/rsa/GnuRSAKey.java,
24442 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24443 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24444 * gnu/java/security/sig/ISignature.java,
24445 * gnu/java/security/sig/ISignatureCodec.java,
24446 * gnu/java/security/sig/dss/DSSSignature.java,
24447 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24448 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24449 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24450 * gnu/java/security/util/Util.java:
24451 Remove CVS revision tags.
24453 2006-03-26 Tom Tromey <tromey@redhat.com>
24455 * java/io/InputStream.java (InputStream): Implements Closeable.
24457 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24459 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24461 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24462 getAnchor): New methods.
24463 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24464 getAnchor): New methods.
24465 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24466 getAnchor): New methods.
24467 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24468 getAnchor): New methods.
24469 * gnu/regexp/REMatch.java(start1): New field.
24470 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24471 (match): set the starting position to start1[] instead of start[],
24472 (getMatchImpl): Set the found REMatch to the input,
24473 (makeCharIndexed): Made public.
24474 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24475 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24476 set the value of start[] copying from start1[].
24477 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24479 * java/util/regex/Matcher.java(inputCharIndexed): New field
24480 to be used as a parameter of the RE#getMatch.
24482 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24484 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24485 Documented the default jre spawning strategy (none).
24486 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24487 getSystem): Obtain the acticivation system from the
24488 DefaultActivationSystem.
24490 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24492 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24493 Ask user for keystore password if one was not provided.
24495 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24497 * tools/README: Added Security tools section.
24498 Documented the jarsigner tool.
24500 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24502 * javax/swing/JScrollBar.java
24503 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24504 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24505 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24506 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24507 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24508 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24509 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24510 (getAccessibleContext): Updated API docs.
24512 2006-03-25 Tom Tromey <tromey@redhat.com>
24514 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24515 change or if generator script changes.
24517 2006-03-25 Tom Tromey <tromey@redhat.com>
24519 * javax/naming/ldap/StartTlsRequest.java: New file.
24520 * javax/naming/ldap/StartTlsResponse.java: New file.
24522 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24524 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24525 to validate all components of a resource path.
24526 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24527 allowed to walk through every component of a resource path.
24529 2006-03-25 Michael Koch <konqueror@gmx.de>
24531 * NEWS: Added item for CLDR 1.3 update.
24533 2006-03-25 Michael Koch <konqueror@gmx.de>
24535 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24536 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24537 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24538 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24539 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24540 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24543 2006-03-25 Michael Koch <konqueror@gmx.de>
24545 * resource/gnu/java/locale/LocaleInformation_az.properties,
24546 resource/gnu/java/locale/LocaleInformation_bs.properties,
24547 resource/gnu/java/locale/LocaleInformation_byn.properties,
24548 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24549 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24550 resource/gnu/java/locale/LocaleInformation_gez.properties,
24551 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24552 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24553 resource/gnu/java/locale/LocaleInformation_haw.properties,
24554 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24555 resource/gnu/java/locale/LocaleInformation_kok.properties,
24556 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24557 resource/gnu/java/locale/LocaleInformation_sid.properties,
24558 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24559 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24560 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24561 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24562 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24563 resource/gnu/java/locale/LocaleInformation_syr.properties,
24564 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24565 resource/gnu/java/locale/LocaleInformation_tig.properties,
24566 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24567 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24568 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24569 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24570 resource/gnu/java/locale/LocaleInformation_wal.properties,
24571 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24574 2006-03-25 Michael Koch <konqueror@gmx.de>
24576 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24577 resource/gnu/java/locale/LocaleInformation_kn.properties,
24578 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24579 resource/gnu/java/locale/LocaleInformation_ko.properties,
24580 resource/gnu/java/locale/LocaleInformation_sl.properties,
24581 resource/gnu/java/locale/LocaleInformation_so.properties,
24582 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24583 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24584 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24585 resource/gnu/java/locale/LocaleInformation_sr.properties:
24586 Random fixes I forgot to commit before.
24588 2006-03-25 Michael Koch <konqueror@gmx.de>
24590 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24591 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24592 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24593 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24594 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24595 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24596 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24597 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24598 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24599 resource/gnu/java/locale/LocaleInformation_en.properties,
24600 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24601 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24602 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24603 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24604 resource/gnu/java/locale/LocaleInformation_fa.properties,
24605 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24606 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24607 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24608 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24609 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24610 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24611 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24612 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24613 resource/gnu/java/locale/LocaleInformation_pa.properties,
24614 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24615 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24616 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24617 resource/gnu/java/locale/LocaleInformation_sa.properties,
24618 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24619 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24620 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24621 Updated currency formats.
24623 2006-03-25 Roman Kennke <kennke@aicas.com>
24625 * javax/swing/text/AbstractDocument.java
24626 (getAttributeContext): Made method final.
24627 (getCurrentWriter): Likewise.
24628 (getEndPosition): Likewise.
24629 (getProperty): Likewise.
24630 (getStartPosition): Likewise.
24631 (putProperty): Likewise.
24632 (readLock): Likewise.
24633 (readUnlock): Likewise.
24634 (writeLock): Likewise.
24635 (writeUnlock): Likewise.
24637 2006-03-25 Roman Kennke <kennke@aicas.com>
24639 * javax/swing/InputMap.java
24640 (allKeys): Check if parent keys is null.
24641 * javax/swing/KeyboardManager.java
24642 (registerEntireMap): Also register map's parent keys.
24643 * javax/swing/plaf/metal/MetalRootPaneUI.java
24644 (propertyChange): Also call super.propertyChange().
24646 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24648 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24649 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24650 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24651 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24652 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24653 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24655 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24657 * gnu/java/util/jar/JarUtils.java: New file.
24658 * java/util/jar/Manifest.java (CRLF): Removed.
24659 (read_main_section): Likewise.
24660 (read_version_info): Likewise.
24661 (expect_header(String,BufferedReader)): Likewise.
24662 (expect_header(String,BufferedReader,String)): Likewise.
24663 (read_header_value): Likewise.
24664 (read_attributes): Likewise.
24665 (read_attribute): Likewise.
24666 (read_individual_sections): Likewise.
24667 (read_section_name): Likewise.
24668 (write_main_section): Likewise.
24669 (write_version_info): Likewise.
24670 (write_header): Likewise.
24671 (write_main_attributes): Likewise.
24672 (write_attribute_entry): Likewise.
24673 (write_individual_sections): Likewise.
24674 (write_entry_attributes): Likewise.
24675 (read): use JarUtils.
24678 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24680 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24683 (SignerInfo(BERReader)): Updated javadoc.
24685 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24687 (encode): New method.
24688 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24689 (PKCS7_DATA): Removed.
24692 (PKCS7SignedData(BERReader)): Updated javadoc.
24694 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24696 (encode): New method.
24697 * gnu/java/security/pkcs/PKCS7Data.java: New file.
24698 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24699 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24700 (decodePrivateKey): Decode x from an OCTET STRING.
24701 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24702 (toString): New method.
24703 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24705 (toString): New method.
24706 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24707 (toString): New method.
24708 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24710 2006-03-25 Roman Kennke <kennke@aicas.com>
24712 * java/util/GregorianCalender.java
24713 (computeTime): Fix comparison to correctly calculate the
24716 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
24719 * java/awt/Window.java:
24720 (setFocusCycleRoot): New overriden method.
24721 (isFocusCycleRoot): Likewise.
24722 (getFocusCycleRootAncestor): Likewise.
24723 * java/awt/Container.java:
24724 (getFocusTraversalPolicy): Check also for anchestor == null.
24726 2006-03-25 Mark Wielaard <mark@klomp.org>
24728 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24729 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24732 2006-03-24 Tom Tromey <tromey@redhat.com>
24734 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24736 (writeChar): Removed useless cast.
24737 (writeChars(String)): Implemented.
24738 (writeDouble): Rewrote.
24739 (writeFloat): Likewise.
24740 (writeUTF): Implemented.
24741 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24744 2006-03-24 Roman Kennke <kennke@aicas.com>
24746 * javax/swing/JButton.java
24747 (def): Replaced field with defaultCapable field.
24748 (is_def): Removed field.
24749 (JButton): Initialize defaultCapable with true.
24750 (isDefaultButton): Documented and implemented method by querying
24751 the button's root pane if present.
24752 (isDefaultCapable): Changed def field to defaultCapable.
24753 Added documentation.
24754 (paramString): Call isDefaultButton() instead of accessing field,
24756 (setDefaultCapable): Changed def field to defaultCapable.
24757 Added documentation.
24758 * javax/swing/JRootPane.java
24759 (setDefaultButton): Only change the default button if the
24760 new button is defaultCapable.
24761 * javax/swing/plaf/basic/BasicRootPaneUI.java
24762 (DefaultPressAction): New class.
24763 (DefaultReleaseAction): New class.
24764 (installKeyboardActions): Implemented.
24765 (uninstallKeyboardActions): Implemented.
24766 (propertyChange): Implemented.
24767 * javax/swing/plaf/metal/MetalBorders.java
24768 (ButtonBorder.paintBorder): 'Outsourced' default theme
24769 painting to paintDefaultButtonBorder().
24770 (ButtonBorder.paintDefaultButtonBorder): New helper method
24771 to paint the border in the default theme. This also fixes
24772 painting of the border for default buttons.
24773 (ButtonBorder.paintOceanButtonBorder): Added support for
24774 default button painting. Fixed border for pressed/default state.
24775 * javax/swing/plaf/metal/MetalButtonUI.java
24776 (update): Only paint gradient when in OceanTheme and when the
24777 button is not armed.
24779 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24781 * gnu/java/rmi/activation/ActivationSystemTransient.java:
24782 Inherit from Activator.
24784 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24786 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24787 Print debug message if debug flag is set.
24788 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24789 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24790 detail, do not call iniCause(). (exportClass): New method.
24791 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24792 Ignore null (bootstrap) class loader.
24793 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24794 buildMethodHash, findStubSkelClass, getHelperClass): Changed
24795 visibility to protected.
24796 * java/rmi/activation/Activatable.java (export, register): Rewritten.
24797 (toStub): New method.
24798 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24799 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
24800 Explained property java.rmi.activation.port.
24802 2006-03-24 Tom Tromey <tromey@redhat.com>
24804 * .externalToolBuilders/CreateLocaleData.launch: Updated.
24805 * gnu/java/locale/.cvsignore: New file.
24806 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24807 * java/util/Locale.java (getAvailableLocales): Clone result.
24808 (getISOCountries): Likewise.
24809 (getISOLanguages): Likewise.
24810 * scripts/generate-locale-list.sh: Make class public. Added new
24812 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24813 (getLocaleCount): Likewise.
24814 * java/text/Collator.java (getInstance): Javadoc typo fix.
24815 (getAvailableLocales): Wrote.
24817 2006-03-24 Roman Kennke <kennke@aicas.com>
24819 * javax/swing/JTabbedPane.java
24820 (getSelectedComponent): Return null when no component is
24823 2006-03-24 Mark Wielaard <mark@klomp.org>
24825 * NEWS: Add cursor and selection improvements.
24827 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24829 * java/awt/Component.java
24830 (getAccessibleName): Just return accessibleName,
24831 * javax/swing/AbstractButton.java
24832 (getAccessibleStateSet): Mark as stub,
24833 (getAccessibleName): Implemented,
24834 (getAcessibleIcon): Mark as stub,
24835 (getAccessibleRelationSet): Likewise,
24836 (getAccessibleAction): Likewise,
24837 (getAccessibleValue): Likewise,
24838 (getAccessibleActionCount): Likewise,
24839 (getAccessibleActionDescription): Likewise,
24840 (doAccessibleAction): Likewise,
24841 (getCurrentAccessibleValue): Likewise,
24842 (setCurrentAccessibleValue): Likewise,
24843 (getMinimumAccessibleValue): Likewise,
24844 (getMaximumAccessibleValue): Likewise,
24845 (getAccessibleText): Likewise,
24846 (getIndexAtPoint): Likewise,
24847 (getCharacterBounds): Likewise,
24848 (getCharCount): Likewise,
24849 (getCaretPosition): Likewise,
24850 (getAtIndex): Likewise,
24851 (getAfterIndex): Likewise,
24852 (getBeforeIndex): Likewise,
24853 (getCharacterAttribute): Likewise,
24854 (getSelectionStart): Likewise,
24855 (getSelectionEnd): Likewise,
24856 (getSelectedText): Likewise,
24857 (getTextRectangle): Likewise,
24858 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24859 (getIconTextGap): Added @since 1.4,
24860 (setContentAreaFilled): Reordered code to make event sequence match
24861 reference implementation,
24862 * javax/swing/JButton.java
24863 (getSelectedObjects): Removed,
24864 *javax/swing/JComponent.java
24865 (getAccessibleName): Call super.
24867 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24869 * javax/swing/JProgressBar.java
24870 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24871 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24872 (AccessibleJProgressBar.getAccessibleValue): Implemented,
24873 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24874 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24875 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24876 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24877 (getAccessibleContext): Added API docs.
24879 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24881 * javax/swing/plaf/basic/BasicTextUI.java:
24882 (FocusListener.focusLost): Put current selection into the system
24885 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24887 * java/awt/Component.java:
24888 (processMouseEvent): Remove call to consume event.
24889 (dispatchEventImpl): Handle specific events first, do focus request
24890 only when mouse event was not yet consumed.
24891 * javax/swing/text/DefaultCaret.java:
24892 (mousePressed): Rewritten.
24893 (setDot): Changed order of operations.
24896 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24898 * javax/swing/JComponent.java
24899 (AccessibleJComponent.changeSupport): Removed field,
24900 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24901 (AccessibleJComponent.addPropertyChangeListener): Call super,
24902 (AccessibleJComponent.removePropertyChangeListener): Likewise,
24903 * javax/swing/JSlider.java
24904 (AccessibleJSlider.getAccessibleStateSet): Implemented,
24905 (AccessibleJSlider.getAccessibleRole): Likewise,
24906 (AccessibleJSlider.getAccessibleValue): Likewise,
24907 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24908 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24909 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24910 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24911 (getAccessibleContext): Added API docs.
24913 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24915 * gnu/java/rmi/activation/ActivationSystemTransient.java
24916 (debug): Made public. (constructor): Made protected.
24917 (activate, getActivationDesc): Throw more informative exceptions.
24918 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24920 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
24922 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24924 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24926 * java/rmi/activation/Activatable.java (obtainId): Use the activation
24927 system, passed in the activation descriptor field.
24928 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24929 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24930 to package private final. (equals): Compare uid, not the system.
24931 (hashCode): Forward to uid.hashCode(). toString(): New method.
24932 * java/rmi/activation/ActivationID.java (readObject, writeObject):
24933 Rewritten. (equals): Compare UID only. toString(): New method.
24934 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
24935 UID (space). (hashCode, toString): Rewritten.
24936 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
24937 New method. (invoke): Treat null as an empty array for parameters.
24938 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
24939 Include count, do not include the static machineId.
24941 2006-03-23 Tom Tromey <tromey@redhat.com>
24943 * java/net/URLConnection.java (getContent(Class[])): Implemented.
24945 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24947 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
24948 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
24949 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
24950 (force): New field. (setForce): New method. (compile): Handle -force.
24951 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
24952 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
24954 2006-03-23 Roman Kennke <kennke@aicas.com>
24956 * javax/swing/JTabbedPane.java
24957 (Page.getBackground): Return the JTabbedPane's background,
24958 rather than the page's component background.
24959 (Page.getForeground): Return the JTabbedPane's foreground,
24960 rather than the page's component foreground.
24961 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
24962 (uninstallUI): Don't set colors to null.
24963 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24964 (paintTabBackground): Correctly determine the tab background.
24965 (getUnselectedBackground): New helper method to
24966 handle the UI property 'TabbedPane.unselectedBackground'
24969 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24971 * javax/swing/plaf/basic/BasicInternalFrameUI.java
24972 (BorderListener.showingResizeCursor): New field.
24973 (BorderListener.mouseMoved, BorderListner.mouseExited):
24976 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24978 * javax/swing/JComboBox.java
24979 (selectWithKeyChar): Mark as stub,
24980 * javax/swing/JFileChooser.java
24981 (setDragEnabled): Mark as stub,
24982 (getDragEnabled): Likewise,
24983 * javax/swing/JSlider.java
24984 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
24985 (AccessibleJSlider.getAccessibleRole): Likewise,
24986 (AccessibleJSlider.getAccessibleValue): Likewise,
24987 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24988 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24989 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24990 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24991 * javax/swing/UIManager.java
24992 (installLookAndFeel): Mark as stub,
24993 (setInstalledLookAndFeels): Likewise.
24995 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24997 * javax/swing/filechooser/UnixFileSystemView.java
24998 (getSystemDisplayName): Mark as stub,
24999 (getSystemIcon): Likewise,
25000 (getSystemTypeDescription): Likewise.
25002 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
25004 * javax/swing/tree/AbstractLayoutCache.java
25005 (getNodeDimensions): Mark as stub,
25006 (getPreferredHeight): Likewise,
25007 (getPreferredWidth): Likewise,
25008 (getRowsForPaths): Likewise,
25009 (isFixedRowHeight): Likewise,
25010 * javax/swing/tree/DefaultTreeModel.java
25011 (reload()): Mark as stub,
25012 (reload(TreeNode)): Likewise,
25013 (nodeStructureChanged): Likewise,
25014 * javax/swing/tree/DefaultTreeSelectionModel.java
25015 (clone): Mark as stub,
25016 (setRowMapper): Likewise,
25017 (setSelectionPaths): Likewise,
25018 (isRowSelected): Likewise,
25019 (resetRowSelection): Likewise,
25020 (insureRowContinuity): Likewise,
25021 (arePathsContiguous): Likewise,
25022 (canPathsBeAdded): Likewise,
25023 (canPathsBeRemoved): Likewise,
25024 (notifyPathChange): Likewise,
25025 (updateLeadIndex): Likewise,
25026 (insureUniqueness): Likewise,
25027 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25029 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25031 2006-03-22 Tom Tromey <tromey@redhat.com>
25033 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25035 (getStaticAttributeKey): Likewise.
25036 (readAttributeSet): Likewise.
25037 (writeAttributeSet): Likewise.
25038 (readAttributes): Likewise.
25039 (writeAttributes): Likewise.
25040 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25042 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25044 (fireChangedUpdate): Likewise.
25047 (handleEndOfLineString): Likewise.
25048 (textAreaContent): Likewise.
25049 (preContent): Likewise.
25050 (addSpecialElement): Likewise.
25051 (setInnerHTML): Likewise.
25052 (setOuterHTML): Likewise.
25053 (insertBeforeStart): Likewise.
25054 (insertBeforeEnd): Likewise.
25055 (insertAfterEnd): Likewise.
25056 (insertAfterStart): Likewise.
25057 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25058 Mark all methods as stub.s
25059 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25061 (paintHorizontalSeparators): Likewise.
25062 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25064 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25066 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25068 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25071 2006-03-22 Mark Wielaard <mark@klomp.org>
25073 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25075 2006-03-22 Mark Wielaard <mark@klomp.org>
25078 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25079 Takes GtkImage, x and y coordinates.
25080 (gtkWidgetSetCursorUnlocked): Likewise.
25081 (GtkComponentPeer): Set cursor when set.
25082 (setCursor): Handle GtkCursor.
25083 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25085 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25086 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25087 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25088 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25090 2006-03-23 Roman Kennke <kennke@aicas.com>
25093 * gnu/java/security/Registry.java
25094 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25095 * gnu/javax/crypto/pad/PadFactory.java
25096 (getInstance): For PKCS#5, also return PKCS#7 pad
25098 (getNames): Added PKCS#5.
25099 * javax/crypto/KeyGenerator.java
25100 (getInstance): Initialize key generator before returning
25103 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25105 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25106 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25107 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25108 if COMMENTS is set.
25110 2006-03-22 Tom Tromey <tromey@redhat.com>
25112 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25113 (getBoolean): Likewise.
25114 (getString): Likewise.
25115 (getIcon): Likewise.
25117 2006-03-22 Mark Wielaard <mark@klomp.org>
25120 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25121 (GLightweightPeer(Component)): Install MouseListener.
25122 (setCursor): Implement.
25123 (mouseEntered): New method.
25125 2006-03-22 Tom Tromey <tromey@redhat.com>
25127 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25129 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25131 (getFontForState): Likewise.
25132 (getInsets): Added 'result' argument.
25133 (getPainter): Renamed.
25135 2006-03-22 Tom Tromey <tromey@redhat.com>
25137 * javax/swing/plaf/synth/SynthPainter.java
25138 (paintScrollBarThumbBackground): Added 'orientation' argument.
25139 (paintScrollBarThumbBorder): Likewise.
25140 (paintSliderThumbBackground): Likewise.
25141 (paintSliderThumbBorder): Likewise.
25142 (paintTabbedPaneTabBackground): Added 'index' argument.
25143 (paintTabbedPaneTabBorder): Likewise.
25145 2006-03-22 Tom Tromey <tromey@redhat.com>
25147 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25148 (toString): New method.
25150 2006-03-22 Tom Tromey <tromey@redhat.com>
25152 * doc/hacking.texinfo (Source Code Style Guide): Mention
25153 NotImplementedException.
25154 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25155 (flushBefore): Mark as stub.
25157 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25159 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25162 (writeBit): Likewise.
25163 (writeChars): Likewise.
25164 (writeUTF): Likewise.
25165 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25168 * java/net/URLConnection.java (getContent): Mark as stub.
25169 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25170 * java/awt/TexturePaint.java (createContext): Mark as stub.
25171 (getTransparency): Mark as stub.
25172 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25173 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25174 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25176 (getImageCapabilities): Likewise.
25177 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25178 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25179 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25181 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25182 (getAdvanceBetween): Likewise.
25183 (getLayout): Likewise.
25184 (insertChar): Likewise.
25185 (getLineBreakIndex): Likewise.
25186 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25187 (getAdvance): Likewise.
25188 (getAscent): Likewise.
25189 (getDescent): Likewise.
25190 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25191 (insertChar): Likewise.
25192 (nextLayout): Likewise.
25193 (nextLayout): Likewise.
25194 (nextOffset): Likewise.
25195 (nextOffset): Likewise.
25196 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25197 (equals): Likewise.
25198 (getAdvance): Likewise.
25199 (getAscent): Likewise.
25200 (getBounds): Likewise.
25201 (getDescent): Likewise.
25202 (hashCode): Likewise.
25203 (ImageGraphicAttribute): Likewise.
25204 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25205 (getJustificationInfo): Likewise.
25206 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25207 (getGlyphCharIndices): Likewise.
25208 (getGlyphOutline): Likewise.
25209 (getGlyphPixelBounds): Likewise.
25210 (getLayoutFlags): Likewise.
25211 (getPixelBounds): Likewise.
25212 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25213 (getRSB): Likewise.
25214 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25215 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25216 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25218 (resetRecognizer): Likewise.
25219 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25221 (getNativesForFlavor): Likewise.
25222 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25223 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25225 (getRegion): Likewise.
25226 (createUI): Likewise.
25227 (initialize): Likewise.
25228 (uninitialize): Likewise.
25229 (getDefaults): Likewise.
25231 (shouldUpdateStyleOnAncestorChanged): Likewise.
25232 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25234 (getPreferredSize): Likewise.
25235 (getMaximumSize): Likewise.
25236 (paintText): Likewise.
25237 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25239 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25241 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25243 * java/io/ObjectStreamConstants.java: Added since tag.
25244 (PROTOCOL_VERSION_1): Added javadoc.
25245 (PROTOCOL_VERSION_2): Likewise.
25246 * java/io/ObjectOutputStream.java:
25247 (setDefaultProtocolVersion): Removed.
25248 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25250 2006-03-21 Lillian Angel <langel@redhat.com>
25252 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25253 (BMPInfoHeader): Removed debug lines.
25254 * gnu/javax/imageio/bmp/EncodeRLE4.java
25255 (encode): Implemented.
25256 (uncompress): New function implemented to
25257 uncompress the image before encoding.
25258 * gnu/javax/imageio/bmp/EncodeRLE8.java
25259 (encode): Implemented.
25260 (uncompress): New function implemented to
25261 uncompress the image before encoding.
25263 2006-03-21 Roman Kennke <kennke@aicas.com>
25265 * javax/swing/text/html/FormView.java
25266 (getImageData): New helper method.
25268 2006-03-21 Tom Tromey <tromey@redhat.com>
25270 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25272 (Unsafe): Now final.
25274 2006-03-21 Roman Kennke <kennke@aicas.com>
25276 * javax/swing/text/html/FormView.java
25277 (MouseEventListener): New inner class.
25279 2006-03-21 Roman Kennke <kennke@aicas.com>
25281 * javax/swing/text/html/ListView.java: New file.
25283 2006-03-21 Tom Tromey <tromey@redhat.com>
25285 * java/text/Bidi.java: Completed.
25287 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25289 * javax/swing/JTable.java:
25290 (columnAtPoint): Removed the null check, this method should throw a NPE
25291 if the argument is null.
25293 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25295 * javax/swing/text/DefaultHighlighter.java:
25296 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25298 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25300 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25301 the textcomponent having a selection.
25302 (clearSelection): Clear 'componentWithSelection' variable.
25303 (handleSelection): Clear selection of current component having a
25304 selection before setting a new selection in another component.
25305 (mouseDragged): Only react on left mouse button.
25306 (mouseClicked): Only react on left mouse button.
25308 2006-03-21 Roman Kennke <kennke@aicas.com>
25310 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25311 (paintContentBorderTopEdge): Implemented.
25312 (paintContentBorderBottomEdge): Implemented.
25313 (paintContentBorderLeftEdge): Implemented.
25314 (paintContentBorderRightEdge): Implemented.
25315 (isLastTabInRun): New helper method.
25317 2006-03-21 Roman Kennke <kennke@aicas.com>
25319 * javax/swing/JTabbedPane.java
25320 (Page.getForeground): Fall back to returning the tabbed pane's
25321 foreground if no foreground has been exclicitly set.
25323 2006-03-21 Roman Kennke <kennke@aicas.com>
25325 * javax/swing/plaf/metal/MetalComboBoxButton.java
25326 (setEnabled): Update colors of button correctly.
25327 * javax/swing/plaf/metal/MetalComboBoxUI.java
25328 (MetalPropertyChangeListener.propertyChange): Update the colors
25329 of the list and the button when any of the color properties
25330 of the ComboBox change.
25332 2006-03-21 Roman Kennke <kennke@aicas.com>
25334 * javax/swing/plaf/basic/BasicButtonUI.java
25335 (uninstallDefaults): Only nullify button colors if they are
25336 not UIResource instances.
25338 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25340 * javax/swing/JComponent.java
25341 (AccessibleJComponent.getAccessibleDescription): Call super,
25342 * javax/swing/JToolTip.java: API doc updates all over, plus
25343 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25344 (AccessibleJToolTip.getAccessibleRole): Implemented,
25345 (getAccessibleContext): Implemented,
25346 (paramString): Reimplemented,
25347 (setComponent): Fire PropertyChangeEvent,
25348 (setTipText): Likewise.
25350 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25352 * java/util/Formatter.java:
25353 Make the class final.
25355 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25357 * java/lang/System.java:
25358 (nanoTime()): Documented.
25359 * java/lang/Thread.java:
25360 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25361 Added docs and security check.
25362 (getUncaughtExceptionHandler()): Documented.
25363 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25364 Added docs and security check.
25365 (getDefaultUncaughtExceptionHandler()): Documented.
25366 (getId()): Documented.
25367 (Thread.State): Documented.
25368 * vm/reference/gnu/classpath/Unsafe.java:
25370 (getUnsafe()): Updated to handle security.
25372 2006-03-20 Tom Tromey <tromey@redhat.com>
25374 * java/lang/System.java:
25375 (nanoTime()): Implemented.
25376 * java/lang/Thread.java:
25377 (getId()): Implemented.
25378 * java/util/AbstractMap.java:
25379 (SimpleImmutableEntry): New 1.6 class.
25380 (BasicMapEntry): Modified to be SimpleEntry.
25381 * java/util/Collections.java:
25382 Modified to use SimpleEntry.
25383 * java/util/EnumMap.java: Likewise.
25384 * java/util/HashMap.java: Likewise.
25385 * java/util/Hashtable.java: Likewise.
25386 * java/util/TreeMap.java: Likewise.
25387 * vm/reference/gnu/classpath/Unsafe.java:
25388 New class to handle low-level facilities for concurrency.
25389 * vm/reference/java/lang/VMSystem.java:
25390 (nanoTime()): Implemented.
25392 2006-03-20 Tom Tromey <tromey@redhat.com>
25394 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25395 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25396 (CertStoreSpi): Updated throws clause.
25397 * java/security/cert/CertPathValidatorSpi.java: Added import for
25399 (engineValidate): Updated 'throws' clause.
25400 * java/security/cert/PKIXParameters.java: Javadoc fix.
25401 * java/security/cert/X509CertSelector.java
25402 (setAuthorityKeyIdentifier): Javadoc fix.
25404 2006-03-20 Tom Tromey <tromey@redhat.com>
25406 * .classpath: Build gnu.javax.swing.plaf.
25408 2006-03-20 Lillian Angel <langel@redhat.com>
25410 * gnu/javax/imageio/bmp/BMPDecoder.java:
25411 Removed unneeded import.
25412 * gnu/javax/imageio/bmp/BMPEncoder.java:
25414 * gnu/javax/imageio/bmp/BMPFileHeader.java
25415 (BMPFileHeader): New constructor used to create info header
25416 for an output stream.
25417 (write): Fixed indexes.
25418 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25419 Initialized writerSpiNames field.
25420 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25422 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25424 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25425 Change visibility for fields.
25426 (BMPInfoHeader): New constructor used to create
25427 file header for an output stream.
25428 (intToDWord): New method. Converts an int to a
25430 (intToWord): New method. Converts an int to a word.
25431 * gnu/javax/imageio/bmp/DecodeBF32.java:
25432 Removed unneeded imports.
25433 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25435 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25437 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25439 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25441 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25443 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25445 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25447 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25449 * javax/imageio/ImageIO.java:
25452 2006-03-20 Roman Kennke <kennke@aicas.com>
25454 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25455 (TabbedPaneLayout.normalizeTabRuns): New method.
25456 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25457 (paintTabBorder): Replaced if-else chain with switch.
25458 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25460 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25462 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25464 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25466 (paintTabBackground): Fetch background color from the TabbedPane.
25467 Fixed painting and improved by not using fillPolygon, and instead
25468 using fillRectangle. Replaced if-else chain with switch.
25469 (calculateMaxTabHeight): Added overridden method with FIXME.
25470 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25472 (paintContentBorderTopEdge): Added stub with FIXME.
25473 (paintContentBorderBottomEdge): Added stub with FIXME.
25474 (paintContentBorderLeftEdge): Added stub with FIXME.
25475 (paintContentBorderRightEdge): Added stub with FIXME.
25477 2006-03-20 Roman Kennke <kennke@aicas.com>
25479 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25480 (tabsOpaque): New field.
25481 (installDefaults): Fetch tabsOpaque property from UIManager.
25482 (paintTab): Fill tab background when tabsOpaque property is true.
25483 * javax/swing/plaf/basic/BasicLookAndFeel.java
25484 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25486 2006-03-20 Roman Kennke <kennke@aicas.com>
25488 * javax/swing/JTabbedPane.java
25489 (Pane.getBackground): When no background was explicitly set, return
25490 the JTabbedPane's background.
25492 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25494 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25495 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25496 * org/omg/CORBA/BAD_INV_ORDER.java,
25497 * org/omg/CORBA/BAD_CONTEXT.java,
25498 * org/omg/CORBA/BAD_OPERATION.java,
25499 * org/omg/CORBA/BAD_PARAM.java,
25500 * org/omg/CORBA/BAD_QOS.java,
25501 * org/omg/CORBA/BAD_TYPECODE.java,
25502 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25503 * org/omg/CORBA/COMM_FAILURE.java,
25504 * org/omg/CORBA/CurrentHolder.java,
25505 * org/omg/CORBA/DATA_CONVERSION.java,
25506 * org/omg/CORBA/FREE_MEM.java,
25507 * org/omg/CORBA/IMP_LIMIT.java,
25508 * org/omg/CORBA/INITIALIZE.java,
25509 * org/omg/CORBA/INTERNAL.java,
25510 * org/omg/CORBA/INTF_REPOS.java,
25511 * org/omg/CORBA/INVALID_ACTIVITY.java,
25512 * org/omg/CORBA/INVALID_TRANSACTION.java,
25513 * org/omg/CORBA/INV_FLAG.java,
25514 * org/omg/CORBA/INV_IDENT.java,
25515 * org/omg/CORBA/INV_OBJREF.java,
25516 * org/omg/CORBA/INV_POLICY.java,
25517 * org/omg/CORBA/MARSHAL.java,
25518 * org/omg/CORBA/NO_RESOURCES.java,
25519 * org/omg/CORBA/NO_MEMORY.java,
25520 * org/omg/CORBA/NO_IMPLEMENT.java,
25521 * org/omg/CORBA/NO_PERMISSION.java,
25522 * org/omg/CORBA/NO_RESPONSE.java,
25523 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25524 * org/omg/CORBA/OBJ_ADAPTER.java,
25525 * org/omg/CORBA/ParameterModeHolder.java,
25526 * org/omg/CORBA/PolicyError.java,
25527 * org/omg/CORBA/PolicyErrorHolder.java,
25528 * org/omg/CORBA/PolicyHolder.java,
25529 * org/omg/CORBA/PolicyListHolder.java,
25530 * org/omg/CORBA/REBIND.java,
25531 * org/omg/CORBA/TIMEOUT.java,
25532 * org/omg/CORBA/TRANSACTION_MODE.java,
25533 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25534 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25535 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25536 * org/omg/CORBA/TRANSIENT.java,
25537 * org/omg/CORBA/TypeCodeHolder.java,
25538 * org/omg/CORBA/UNKNOWN.java,
25539 * org/omg/CORBA/UnionMember.java,
25540 * org/omg/CORBA/UnknownUserException.java,
25541 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25542 * org/omg/CORBA/WrongTransactionHolder.java,
25543 * org/omg/IOP/IOR.java,
25544 * org/omg/IOP/IORHolder.java,
25545 * org/omg/IOP/MultipleComponentProfileHolder.java,
25546 * org/omg/IOP/ServiceContextHolder.java,
25547 * org/omg/IOP/ServiceContextListHolder.java,
25548 * org/omg/IOP/TaggedComponentHolder.java,
25549 * org/omg/IOP/TaggedProfileHolder.java,
25550 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25551 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25552 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25553 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25554 Made class final, various javadoc fixlets.
25555 * org/omg/CORBA/CompletionStatus.java,
25556 * org/omg/CORBA/PERSIST_STORE.java,
25557 * org/omg/CORBA/ValueMember.java,
25558 * org/omg/PortableInterceptor/ForwardRequest.java,
25559 * org/omg/PortableInterceptor/InvalidSlot.java,
25560 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25561 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25562 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25563 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25564 * org/omg/IOP/Encoding.java,
25565 * org/omg/IOP/TaggedComponent.java,
25566 * org/omg/IOP/TaggedProfile.java: Made class final.
25567 * org/omg/CORBA/SystemException.java: Made class abstract.
25568 * org/omg/CORBA/UserException.java: Made class abstract.
25569 (UserException): Now protected.
25570 (UserException(String)): Likewise.
25571 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25572 (typecode): Removed unused private variable.
25574 2006-03-20 Chris Burdess <dog@gnu.org>
25577 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25579 2006-03-20 Roman Kennke <kennke@aicas.com>
25581 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25582 (paintTabArea): Look up tab run indices in tabRuns array instead
25583 of using the index directly.
25585 2006-03-20 Roman Kennke <kennke@aicas.com>
25587 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25588 (paintTab): Fixed painting.
25589 (paintText): Fixed text painting.
25590 (paintFocusIndicator): Fixed painting of the focus rectangle.
25591 (paintContentBorder): Fixed painting of the content area.
25593 2006-03-20 Mark Wielaard <mark@klomp.org>
25595 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25596 static lock Object field.
25597 (produce): Synchronize on pixbufLock when calling initState(),
25598 pumpBytes() and pumpDone().
25599 (finalize): Likewise when calling finish().
25600 (GdkPixbufWriter.write): Likewise when calling streamImage().
25601 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25602 when calling loadPixbuf. Chain exception.
25603 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25604 (GtkImage(URL)): Likewise.
25605 (GtkImage(int,int)): Likewise when calling createPixmap().
25606 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25607 createScaledPixmap().
25608 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25609 (setImage): Likewise when calling createPixmap() and setPixels().
25610 (getSource): Likewise when calling getPixels().
25611 (flush): Likewise when calling freePixmap().
25612 (finalize): Likewise.
25613 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25614 drawPixelsScaledFlipped().
25615 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25616 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25617 gdk_threads_enter/leave().
25618 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25619 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25620 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25621 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25623 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25624 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25625 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25626 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25627 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25628 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25629 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25630 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25632 2006-03-20 Roman Kennke <kennke@aicas.com>
25634 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25635 (calculateTabHeight): Not need to use SwingUtilities here.
25636 (getTabInsets): Do not rotate insets.
25638 2006-03-20 Roman Kennke <kennke@aicas.com>
25640 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25641 (paint): Make sure the layout is valid before painting.
25642 (paintTabArea): Made tab painting more straightforward and efficient.
25644 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25646 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25647 (getScrollableUnitIncrement): Rewritten.
25648 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25649 (getScrollableUnitIncrement): Rewritten.
25650 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25651 (ROWS_PER_WHEEL_CLICK): New field.
25652 (MouseWheelHandler.mouseWheelMoved): Rewritten.
25654 2006-03-20 Roman Kennke <kennke@aicas.com>
25656 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25657 (paint): Make sure the layout is valid before painting.
25658 (paintTabArea): Made tab painting more straightforward and efficient.
25660 2006-03-20 Roman Kennke <kennke@aicas.com>
25662 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25663 (MouseHandler.mousePressed): Rewritten for clearer and simpler
25665 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25666 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25667 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25668 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25669 bounds here. That is moved into layoutContainer().
25670 (calculateSize): Correctly respect insets. Made code slightly more
25671 clear and efficient.
25672 (calculateTabRects): Rewritten completely. The old code was
25673 not quite right and unstable in some situations.
25674 (layoutContainer): Moved layout of tabbed pane's subcomponents
25676 (tabRunsDirty): New field.
25677 (rolloverTab): New field.
25678 (tabForCoordinate): Rewritten for simplicity and correctness.
25679 (setRolloverTab): New method.
25680 (getRolloverTab): New method.
25682 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25684 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25685 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25686 (getScrollableUnitIncrement
25687 * javax/swing/Scrollable.java: Documented.
25688 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25689 (MouseWheelHandler):Rewritten.
25691 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25693 * doc/vmintegration.texinfo:
25694 Updated with gnu.classpath.Unsafe
25696 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25699 Updated with VMArray and Unsafe changes.
25701 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25703 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25704 (getScrollableUnitIncrement): Rewritten.
25705 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25706 (getScrollableUnitIncrement): Rewritten.
25707 (getScrollableBlockIncrement): Rewritten.
25708 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25709 (MouseWheelHandler): Implemented. (ViewportContainerListener):
25710 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
25711 New field. (installListeners): Install wheel listeners.
25712 (uninstallListeners): Uninstall wheel listeners.
25713 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25714 of the MouseWheelListener. (installListeners): Do not install wheel
25715 listener. (ROWS_PER_WHEEL_CLICK): Removed.
25717 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25719 * vm/reference/gnu/classpath/Unsafe.java:
25721 (getUnsafe()): Updated to handle security.
25723 2006-03-19 Tom Tromey <tromey@redhat.com>
25725 * vm/reference/gnu/classpath/Unsafe.java:
25726 New class to handle low-level facilities for concurrency.
25728 2006-03-19 Mark Wielaard <mark@klomp.org>
25730 * include/Makefile.am: Rename PlainDatagramSocketImpl to
25731 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25732 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25733 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25735 2006-03-19 Mark Wielaard <mark@klomp.org>
25737 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25739 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25741 2006-03-19 Michael Koch <konqueror@gmx.de>
25743 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25744 resource/gnu/java/locale/LocaleInformation_am.properties,
25745 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25746 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25747 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25748 resource/gnu/java/locale/LocaleInformation_bg.properties,
25749 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25750 resource/gnu/java/locale/LocaleInformation_ca.properties,
25751 resource/gnu/java/locale/LocaleInformation_cs.properties,
25752 resource/gnu/java/locale/LocaleInformation_cy.properties,
25753 resource/gnu/java/locale/LocaleInformation_da.properties,
25754 resource/gnu/java/locale/LocaleInformation_de.properties,
25755 resource/gnu/java/locale/LocaleInformation_dv.properties,
25756 resource/gnu/java/locale/LocaleInformation_el.properties,
25757 resource/gnu/java/locale/LocaleInformation_en.properties,
25758 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25759 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25760 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25761 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25762 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25763 resource/gnu/java/locale/LocaleInformation_es.properties,
25764 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25765 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25766 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25767 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25768 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25769 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25770 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25771 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25772 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25773 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25774 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25775 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25776 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25777 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25778 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25779 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25780 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25781 resource/gnu/java/locale/LocaleInformation_es_US.properties,
25782 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25783 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25784 resource/gnu/java/locale/LocaleInformation_fa.properties,
25785 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25786 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25787 resource/gnu/java/locale/LocaleInformation_fi.properties,
25788 resource/gnu/java/locale/LocaleInformation_fr.properties,
25789 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25790 resource/gnu/java/locale/LocaleInformation_ga.properties,
25791 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25792 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25793 resource/gnu/java/locale/LocaleInformation_hr.properties,
25794 resource/gnu/java/locale/LocaleInformation_hu.properties,
25795 resource/gnu/java/locale/LocaleInformation_id.properties,
25796 resource/gnu/java/locale/LocaleInformation_is.properties,
25797 resource/gnu/java/locale/LocaleInformation_it.properties,
25798 resource/gnu/java/locale/LocaleInformation_ja.properties,
25799 resource/gnu/java/locale/LocaleInformation_kk.properties,
25800 resource/gnu/java/locale/LocaleInformation_kl.properties,
25801 resource/gnu/java/locale/LocaleInformation_km.properties,
25802 resource/gnu/java/locale/LocaleInformation_ky.properties,
25803 resource/gnu/java/locale/LocaleInformation_lo.properties,
25804 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25805 resource/gnu/java/locale/LocaleInformation_lt.properties,
25806 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25807 resource/gnu/java/locale/LocaleInformation_lv.properties,
25808 resource/gnu/java/locale/LocaleInformation_mk.properties,
25809 resource/gnu/java/locale/LocaleInformation_mn.properties,
25810 resource/gnu/java/locale/LocaleInformation_mr.properties,
25811 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25812 resource/gnu/java/locale/LocaleInformation_ms.properties,
25813 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25814 resource/gnu/java/locale/LocaleInformation_mt.properties,
25815 resource/gnu/java/locale/LocaleInformation_nb.properties,
25816 resource/gnu/java/locale/LocaleInformation_nl.properties,
25817 resource/gnu/java/locale/LocaleInformation_nn.properties,
25818 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25819 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25820 resource/gnu/java/locale/LocaleInformation_pa.properties,
25821 resource/gnu/java/locale/LocaleInformation_pl.properties,
25822 resource/gnu/java/locale/LocaleInformation_pt.properties,
25823 resource/gnu/java/locale/LocaleInformation_ru.properties,
25824 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25825 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25826 resource/gnu/java/locale/LocaleInformation_sa.properties,
25827 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25828 resource/gnu/java/locale/LocaleInformation_sk.properties,
25829 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25830 resource/gnu/java/locale/LocaleInformation_sv.properties,
25831 resource/gnu/java/locale/LocaleInformation_sw.properties,
25832 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25833 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25834 resource/gnu/java/locale/LocaleInformation_te.properties,
25835 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25836 resource/gnu/java/locale/LocaleInformation_th.properties,
25837 resource/gnu/java/locale/LocaleInformation_ti.properties,
25838 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25839 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25840 resource/gnu/java/locale/LocaleInformation_tr.properties,
25841 resource/gnu/java/locale/LocaleInformation_tt.properties,
25842 resource/gnu/java/locale/LocaleInformation_uk.properties,
25843 resource/gnu/java/locale/LocaleInformation_ur.properties,
25844 resource/gnu/java/locale/LocaleInformation_uz.properties,
25845 resource/gnu/java/locale/LocaleInformation_zh.properties,
25846 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25847 More updates for CLDR 1.3.
25849 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25851 * doc/vmintegration.texinfo:
25852 Updated to include VMArray.
25853 * include/Makefile.am:
25854 Replace java_lang_reflect_Array.h with
25855 java_lang_reflect_VMArray.h
25856 * include/java_lang_reflect_VMArray.h:
25857 New autogenerated header.
25858 * include/java_lang_reflect_Array.h:
25860 * java/lang/reflect/Array.java:
25861 (newInstance(Class,int)): Calls VMArray.
25862 (createMultiArray(Class,int[],int)): Likewise.
25863 (createObjectArray(Class,int)): Removed.
25864 * native/jni/java-lang/Makefile.am:
25865 Replaced java_lang_reflect_Array.c with
25866 java_lang_reflect_VMArray.c
25867 * native/jni/java-lang/java_lang_reflect_VMArray.c:
25868 Renamed from java_lang_reflect_Array.c.
25869 * vm/reference/java/lang/reflect/VMArray.java:
25870 (createObjectArray(Class,int)): Native method moved
25871 from java.lang.reflect.Array.
25873 2006-03-19 Roman Kennke <kennke@aicas.com>
25875 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25876 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25878 * examples/gnu/classpath/examples/swing/Demo.java
25879 (mkButtonBar): Hook up theme editor.
25880 (mkMenuBar): Hook up theme editor.
25882 2006-03-19 Roman Kennke <kennke@aicas.com>
25884 * javax/swing/plaf/basic/BasicFileChooserUI.java
25885 (ApproveSelectionAction.actionPerformed): Added case for when
25886 nothing has been selected but the user has typed a filename
25887 into the textfield.
25888 (getFileName): Return the value of the text field.
25890 2006-03-19 Roman Kennke <kennke@aicas.com>
25892 * javax/swing/JColorChooser.java
25893 (createDialog): Create JDialog instead of ModalDialog. Make this
25894 dialog modal by calling setModal(true).
25895 (ModalDialog): Removed unnecessary inner class.
25897 2006-03-19 Tom Tromey <tromey@redhat.com>
25899 * java/awt/font/NumericShaper.java: Rewrote.
25901 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25903 * javax/swing/plaf/basic/BasicTableUI.java:
25904 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25905 New field. MouseInputHandler.mouseWheelMoved): New method.
25906 (installListeners): Register MouseInputHandler as
25907 wheel listener also.
25909 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25912 * javax/swing/ViewportLayout.java (layoutContainer):
25913 If Scrollable tracks dimension, set view size to the port size.
25914 If port is larger than the view, move the view to the top/left.
25916 2006-03-19 Roman Kennke <kennke@aicas.com>
25918 * javax/swing/MenuSelectionManager.java
25919 (isComponentPartOfCurrentMenu): Also consider the first element
25920 in a menu selection list. Make a isDescendentFrom check instead
25921 of simple equals to also catch sub components.
25923 2006-03-19 Roman Kennke <kennke@aicas.com>
25925 * javax/swing/JComboBox.java
25926 (actionPerformed): Fetch selected item directly from the editor
25927 instead of trying to get it from the event.
25929 2006-03-19 Roman Kennke <kennke@aicas.com>
25931 * javax/swing/plaf/basic/BasicComboBoxEditor.java
25932 (listener): Removed field.
25933 (BasicComboBoxEditor): Removed initialization of listener field.
25934 (addActionListener): Add listener directly to editor.
25935 (removeActionListener): Remove listener directly from editor.
25936 (ComboBoxEditorListener): Removed class.
25937 * javax/swing/plaf/basic/BasicComboBoxUI.java
25938 (getPreferredSize): Fixed to return the minimumSize.
25939 (getMinimumSize): Improved code for more clearness.
25940 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
25941 (rectangleForCurrentValue): Correctly respect insets.
25942 (getDefaultSize): Return preferredSize here. Dont override height
25944 (getDisplaySize): Moved around code for more clearness. Added
25945 handling of prototype renderer.
25946 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
25947 arrowButton bounds since the former depends on the latter.
25948 * javax/swing/plaf/metal/MetalComboBoxButton.java:
25949 (MetalComboBoxButton): Make button rollover disabled.
25950 (isFocusTraversable): Return false unconditionally.
25951 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
25952 (EditorTextField): New class. Fixes the size properties.
25953 (MetalComboBoxEditor): Create instance of EditorTextField.
25954 * javax/swing/plaf/metal/MetalComboBoxUI.java:
25955 (getMinimumSize): Fixed editable size.
25957 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25959 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
25961 2006-03-18 Roman Kennke <kennke@aicas.com>
25963 * javax/swing/plaf/metal/MetalToolBarUI.java
25964 (update): Added overridden method to support OceanTheme.
25966 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25968 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
25969 Activate the cell editing on character keystroke.
25971 2006-03-18 Mark Wielaard <mark@klomp.org>
25973 * java/awt/Component.java (eventTypeEnabled): Handle
25974 MouseEvent.MOUSE_WHEEL.
25975 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
25976 New callback method.
25977 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25978 (AWT_MOUSE_WHEEL): New constant.
25979 (AWT_WHEEL_UNIT_SCROLL): Likewise.
25980 (postMouseWheelEventID): New static variable.
25981 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
25982 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
25983 (button_number): Renamed to ...
25984 (button_number_direction): variable to hold button number or scroll
25986 (component_button_press_cb): Use button_number_direction.
25987 (component_scroll_cb): New static callback function.
25989 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25991 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
25992 Return without action.
25994 2006-03-18 Mark Wielaard <mark@klomp.org>
25996 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
25997 Don't cast graphics object to GdkGraphics.
25998 (updateComponent): Likewise.
26000 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26002 * examples/gnu/classpath/examples/swing/TableDemo.java
26003 (TModel.getColumnClass): Set second column to Icon.
26004 (TModel.isCellEditable): Say icons are not editable.
26005 (createContent): Fill the in second column with some icons from
26008 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26010 * examples/gnu/classpath/examples/swing/Demo.java
26011 (mkButtonBar): Set maximal button bar height to the preferred height.
26013 2006-03-18 Roman Kennke <kennke@aicas.com>
26015 * javax/swing/plaf/basic/BasicComboPopup.java
26016 (show): Substract insets from scroller width.
26017 (getPopupHeightForRowCount): If height==0, return a default of 100
26018 instead for empty ComboBoxes.
26020 2006-03-18 Roman Kennke <kennke@aicas.com>
26022 * javax/swing/plaf/basic/BasicLookAndFeel.java
26023 (PopupHelper.autoClosePopups): Removed field.
26024 (PopupHelper.mousePressed): Removed processing of registered
26026 (registerForAutoClose): Removed unneeded method.
26027 (autoClosePopups): Removed unneeded method.
26028 (registerForAutoClose): Removed unneeded method.
26030 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26032 * javax.swing.JTable.java (TableTextField): Set border.
26033 (moveToCellBeingEdited): Do not adjust the editor boundaries
26035 2006-03-18 Michael Koch <konqueror@gmx.de>
26037 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26038 resource/gnu/java/locale/LocaleInformation_af.properties,
26039 resource/gnu/java/locale/LocaleInformation_am.properties,
26040 resource/gnu/java/locale/LocaleInformation_ar.properties,
26041 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26042 resource/gnu/java/locale/LocaleInformation_be.properties,
26043 resource/gnu/java/locale/LocaleInformation_bg.properties,
26044 resource/gnu/java/locale/LocaleInformation_bn.properties,
26045 resource/gnu/java/locale/LocaleInformation_ca.properties,
26046 resource/gnu/java/locale/LocaleInformation_cs.properties,
26047 resource/gnu/java/locale/LocaleInformation_cy.properties,
26048 resource/gnu/java/locale/LocaleInformation_da.properties,
26049 resource/gnu/java/locale/LocaleInformation_de.properties,
26050 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26051 resource/gnu/java/locale/LocaleInformation_dz.properties,
26052 resource/gnu/java/locale/LocaleInformation_en.properties,
26053 resource/gnu/java/locale/LocaleInformation_eo.properties,
26054 resource/gnu/java/locale/LocaleInformation_es.properties,
26055 resource/gnu/java/locale/LocaleInformation_et.properties,
26056 resource/gnu/java/locale/LocaleInformation_eu.properties,
26057 resource/gnu/java/locale/LocaleInformation_fa.properties,
26058 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26059 resource/gnu/java/locale/LocaleInformation_fi.properties,
26060 resource/gnu/java/locale/LocaleInformation_fo.properties,
26061 resource/gnu/java/locale/LocaleInformation_fr.properties,
26062 resource/gnu/java/locale/LocaleInformation_ga.properties,
26063 resource/gnu/java/locale/LocaleInformation_gl.properties,
26064 resource/gnu/java/locale/LocaleInformation_gu.properties,
26065 resource/gnu/java/locale/LocaleInformation_he.properties,
26066 resource/gnu/java/locale/LocaleInformation_hi.properties,
26067 resource/gnu/java/locale/LocaleInformation_hr.properties,
26068 resource/gnu/java/locale/LocaleInformation_hu.properties,
26069 resource/gnu/java/locale/LocaleInformation_hy.properties,
26070 resource/gnu/java/locale/LocaleInformation_id.properties,
26071 resource/gnu/java/locale/LocaleInformation_is.properties,
26072 resource/gnu/java/locale/LocaleInformation_it.properties,
26073 resource/gnu/java/locale/LocaleInformation_ja.properties,
26074 resource/gnu/java/locale/LocaleInformation_ka.properties,
26075 resource/gnu/java/locale/LocaleInformation_km.properties,
26076 resource/gnu/java/locale/LocaleInformation_ko.properties,
26077 resource/gnu/java/locale/LocaleInformation_lo.properties,
26078 resource/gnu/java/locale/LocaleInformation_lt.properties,
26079 resource/gnu/java/locale/LocaleInformation_lv.properties,
26080 resource/gnu/java/locale/LocaleInformation_mk.properties,
26081 resource/gnu/java/locale/LocaleInformation_mr.properties,
26082 resource/gnu/java/locale/LocaleInformation_ms.properties,
26083 resource/gnu/java/locale/LocaleInformation_mt.properties,
26084 resource/gnu/java/locale/LocaleInformation_nb.properties,
26085 resource/gnu/java/locale/LocaleInformation_nl.properties,
26086 resource/gnu/java/locale/LocaleInformation_nn.properties,
26087 resource/gnu/java/locale/LocaleInformation_om.properties,
26088 resource/gnu/java/locale/LocaleInformation_pl.properties,
26089 resource/gnu/java/locale/LocaleInformation_ps.properties,
26090 resource/gnu/java/locale/LocaleInformation_pt.properties,
26091 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26092 resource/gnu/java/locale/LocaleInformation_ro.properties,
26093 resource/gnu/java/locale/LocaleInformation_ru.properties,
26094 resource/gnu/java/locale/LocaleInformation_sk.properties,
26095 resource/gnu/java/locale/LocaleInformation_sl.properties,
26096 resource/gnu/java/locale/LocaleInformation_so.properties,
26097 resource/gnu/java/locale/LocaleInformation_sq.properties,
26098 resource/gnu/java/locale/LocaleInformation_sr.properties,
26099 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26100 resource/gnu/java/locale/LocaleInformation_sv.properties,
26101 resource/gnu/java/locale/LocaleInformation_sw.properties,
26102 resource/gnu/java/locale/LocaleInformation_ta.properties,
26103 resource/gnu/java/locale/LocaleInformation_te.properties,
26104 resource/gnu/java/locale/LocaleInformation_th.properties,
26105 resource/gnu/java/locale/LocaleInformation_tr.properties,
26106 resource/gnu/java/locale/LocaleInformation_uk.properties,
26107 resource/gnu/java/locale/LocaleInformation_uz.properties,
26108 resource/gnu/java/locale/LocaleInformation_vi.properties,
26109 resource/gnu/java/locale/LocaleInformation_zh.properties,
26110 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26111 Updated to use the new localized strings for currencies, languages,
26112 variants, territories, etc.
26114 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26116 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26117 (start, end): Added comment about the negative values of them,
26118 (finish): Saves the input text in matchedCharIndexed,
26119 (toString): If the start or end index is out of bounds of the
26120 matched text, get the substring from matchedCharIndexed.
26121 Added special handlings in case start/end index < -1,
26122 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26123 Added special handlings in case start/end index < -1,
26124 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26125 found match, but keep the index as the original match.
26126 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26127 found match, but keep the index as the original match.
26128 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26129 in case start/end index < -1.
26131 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26133 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26136 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26138 * javax/swing/text/DefaultCaret.java:
26139 (mouseClicked) Use setDot() and moveDot() instead of
26140 JTextComponent.select().
26142 2006-03-17 Roman Kennke <kennke@aicas.com>
26144 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26145 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26146 border painting for the Ocean theme.
26147 (MetalComboBoxEditor): Create editor directly instead of going
26150 2006-03-17 Roman Kennke <kennke@aicas.com>
26152 * javax/swing/text/JTextComponent.java
26153 (JTextComponent): Make text components opaque.
26155 2006-03-17 Roman Kennke <kennke@aicas.com>
26157 * javax/swing/plaf/metal/MetalComboBoxUI.java
26158 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26160 (MetalPropertyChangeListener.propertyChange): Update focusable
26161 flag according to the enable and editable state.
26162 (editablePropertyChanged): Removed unnecessary code.
26163 (getMinimumSize): Rewritten to correctly compute the
26164 size, respecting the insets of the components and the icon,
26165 the visual properties of the combobox, etc.
26166 (configureEditor): Update listeners correctly.
26167 (unconfigureEditor): Update listeners correctly.
26168 (layoutComboBox): Implemented.
26170 2006-03-17 Roman Kennke <kennke@aicas.com>
26172 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26173 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26174 instead of Flush3DBorder.
26175 (paintBorder): Fixed border painting.
26176 (editorBorderInsets): Fixed border's insets.
26178 2006-03-17 Roman Kennke <kennke@aicas.com>
26180 * javax/swing/plaf/metal/MetalComboBoxButton.java
26181 (rendererPane): Documented.
26182 (MetalComboBoxButton): Set enabled flag from ComboBox.
26183 Set focusable flag from ComboBox's enabled flag.
26184 (isFocusTraversable): Make button focus traversable if
26185 ComboBox is not editable but enable.
26186 (paintComponent): Fixed painting to correctly adjust
26187 the boxes of the renderer and button.
26189 2006-03-17 Roman Kennke <kennke@aicas.com>
26191 * javax/swing/plaf/basic/BasicButtonUI.java
26192 (installDefaults): Only install UI margin if installed margin.
26193 is null or a UIResource.
26194 (uninstallDefaults): Only uninstall margin if it's
26197 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26199 * javax/swing/text/DefaultCaret.java:
26200 (mouseClicked) Use setDot() and moveDot() instead of
26201 JTextComponent.select().
26203 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26205 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26206 inner classes into package-private inner classes, added actions
26207 for caret movement and selection to the next and previous word
26208 and an action which selects the whole text.
26210 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26212 * javax/swing/Spring.java: Uncomment springdebug methods and
26213 rename them toString.
26214 * javax/swing/SpringLayout.java: Likewise.
26216 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26218 * javax/swing/text/FieldView.java:
26219 (viewToModel): Added call to adjust allocation area.
26221 2006-03-17 Roman Kennke <kennke@aicas.com>
26223 * javax/swing/plaf/basic/BasicComboBoxUI.java
26224 (mouseListener): Removed field.
26225 (buttonBackground): Removed field.
26226 (buttonShadow): Removed field.
26227 (buttonDarkShadow): Removed field.
26228 (buttonHighlight): Removed field.
26229 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26230 (installUI): Initialize and configure renderer and editor here.
26231 (uninstallUI): Close popup before uninitializing.
26232 Message popup that we are uninitializing. Clear layout.
26233 (installDefaults): Install UI border. Don't install colors.
26234 (installListeners): Install listeners fetched from the popup.
26235 Remove handling of mouseListener.
26236 (uninstallDefaults): Uninstall border. Don't handle colors.
26237 (uninstallListeners): Don't handle mouseListener. Uninstall
26238 listener from the popup.
26239 (createMouseListener): Removed method.
26240 (createRenderer): Create UIResource.
26241 (installComponents): Cleaned up.
26242 (uninstallComponents): Only remove renderer when it is
26244 (addEditor): Remove editor before adding new one.
26245 Fetch editor from comboBox.
26246 (removeEditor): Only do something when editor != null. Unconfigure
26247 editor before removing.
26248 (configureEditor): Add key listener. Call comboBox.configureEditor.
26249 (unconfigureEditor): Removed key listener.
26250 (configureArrowButton): Only handle when arrowButton != null.
26251 Add mouse listeners to arrow button.
26252 (unconfigureArrowButton): Remove listeners.
26253 (createArrowButton): Don't handle colors here.
26254 (setPopupVisible): Don't handle focus here.
26255 (paint): Only paint when comboBox is not editable. Update
26257 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26258 (getMinimumSize): Respect insets here.
26259 (getMaximumSize): Return preferredSize with width of 32767.
26260 (getInsets): Return ComboBox insets.
26261 (paintCurrentValue): Paint using currentValuePane.
26262 Install correct colors. Don't revalidate.
26263 (paintCurrentValueBackground): Implemented.
26264 (getDefaultSize): Reimplemented using a default renderer.
26265 (getDisplaySize): Reimplemented to use renderer.
26266 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26267 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26268 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26269 (FocusHandler.focusGained): Don't invalidate minimumSize.
26270 (FocusHandler.focusLost): Don't invalidate minimumSize.
26271 Only close popup if focus change is not temporary.
26272 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26273 Reconfigure editor if not null.
26274 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26275 editor if necessary.
26276 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26277 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26278 (MouseHandler): Removed unnecessary class.
26280 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26282 * examples/gnu/classpath/examples/swing/Demo.java:
26283 (Demo): Set default closing operation to shutdown the runtime.
26285 2006-03-17 Roman Kennke <kennke@aicas.com>
26287 * javax/swing/plaf/basic/BasicComboPopup.java
26288 (BasicComboPopup): Create listeners here.
26289 Configure components here.
26290 (show): Correctly calculate bounds using computePopupBounds().
26291 Make scroller fixed-size. Removed special autocloser handling.
26292 (hide): Rewritten to use MenuSelectionHandler.
26293 (createList): Don't set selection mode here.
26294 (configureList): Correctly install colors and fonts and selectionMode.
26295 (createScroller): Set scrollpane policies.
26296 (configureScroller): Make scroller and scrollbar not-focusable.
26297 (configurePopup): Make popup opaque and borderPainted.
26298 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26299 (delegateFocus): Implemented.
26300 (convertMouseEvent): Implemented.
26301 (updateListBoxSelectionForEvent): Implemented to also handle
26303 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26304 Only open popup on left mouse-click.
26305 (InvocationMouseHandler.mouseReleased): Rewritten.
26306 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26307 support autoscrolling.
26308 (ItemHandler.itemStateChanged): Implemented to sync selection with
26310 (ListMouseHandler.mouseReleased): Fetch selected index directly
26312 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26314 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26315 When model changes, then update listeners correctly.
26316 (uninstallListeners): Don't uninstall list listeners.
26317 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26319 (syncSelection): New helper method.
26321 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26323 * javax/swing/text/PlainView.java:
26324 (drawLine): Rewritten.
26325 (drawSelectedText): Corrected last argument for
26326 Utilities.drawTabbedText() call.
26327 (paint): Store start and end of selection in object variables,
26328 store constant values of for-loop in local variables.
26329 * javax/swing/text/Utilities.java:
26330 (drawTabbedText): Add 'pixelWidth' to the return value, store
26331 constant value of for-loop in local variable.
26333 2006-03-17 Roman Kennke <kennke@aicas.com>
26335 * javax/swing/plaf/basic/BasicComboPopup.java
26336 (BasicComboPopup): Create listeners here.
26337 Configure components here.
26338 (show): Correctly calculate bounds using computePopupBounds().
26339 Make scroller fixed-size. Removed special autocloser handling.
26340 (hide): Rewritten to use MenuSelectionHandler.
26341 (createList): Don't set selection mode here.
26342 (configureList): Correctly install colors and fonts and selectionMode.
26343 (createScroller): Set scrollpane policies.
26344 (configureScroller): Make scroller and scrollbar not-focusable.
26345 (configurePopup): Make popup opaque and borderPainted.
26346 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26347 (delegateFocus): Implemented.
26348 (convertMouseEvent): Implemented.
26349 (updateListBoxSelectionForEvent): Implemented to also handle
26351 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26352 Only open popup on left mouse-click.
26353 (InvocationMouseHandler.mouseReleased): Rewritten.
26354 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26355 support autoscrolling.
26356 (ItemHandler.itemStateChanged): Implemented to sync selection with
26358 (ListMouseHandler.mouseReleased): Fetch selected index directly
26360 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26362 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26363 When model changes, then update listeners correctly.
26364 (uninstallListeners): Don't uninstall list listeners.
26365 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26367 (syncSelection): New helper method.
26369 2006-03-17 Roman Kennke <kennke@aicas.com>
26371 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26372 (noFocusBorder): Make border with insets of (1,1,1,1).
26373 (BasicComboBoxRenderer): Make renderer opaque.
26374 No need to explicitly set alignment.
26375 (getListCellRendererComponent): Rewritten to correctly initialize
26378 2006-03-17 Roman Kennke <kennke@aicas.com>
26380 * javax/swing/JPopupMenu.java
26381 (setVisible): Handle JPopupMenu opening and closing via
26382 the MenuSelectionHandler.
26384 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26386 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26387 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26388 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26390 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26391 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26392 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26393 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26394 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26395 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26396 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26397 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26398 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26399 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26401 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26403 * java/rmi/activation/Activatable.java: Implemented.
26404 java/rmi/activation/ActivationDesc.java: Implemented.
26405 java/rmi/activation/ActivationGroup.java: Implemented.
26406 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26407 java/rmi/activation/ActivationID.java: Implemented.
26408 java/rmi/activation/ActivationSystem.java: Implemented.
26409 * gnu/java/rmi/server/UnicastServerRef.java
26410 (exportObject, incommingMessageCall): Documented.
26411 * java/rmi/activation/package.html: Documented.
26412 * java/rmi/server/ObjID.java (objNum, space): Made package
26414 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26415 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26417 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26418 gnu/java/rmi/activation/BidiTable.java: New file.
26419 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26420 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26421 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26423 2006-03-17 Mark Wielaard <mark@klomp.org>
26425 * java/security/BasicPermission.java (BasicPermission): Check
26426 name equals empty string to force NullPointerException.
26428 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26431 Commit patch by Caolan McNamara <caolanm@redhat.com>
26432 * javax/swing/Spring.java: Complete implementation
26433 * javax/swing/SpringLayout.java: Likewise.
26435 2006-03-16 Keith Seitz <keiths@redhat.com>
26437 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26439 (run): Remove catch clause for InterruptedException. It is no
26442 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26445 (getFontMetrics): Handle monospaced fonts specially.
26447 2006-03-16 Keith Seitz <keiths@redhat.com>
26449 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26450 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26451 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26452 Don't suspend the current thread unless it is not part of the JDWP
26455 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26457 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26459 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26460 font metrics through toolkit.
26461 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26464 (getFontMetrics): To calculate Java logical ascent and descent
26465 values, average Pango ink and logical values.
26467 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26469 * java/lang/Character.java: Updated header comment.
26471 2006-03-16 Tom Tromey <tromey@redhat.com>
26473 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26475 * javax/sound/sampled/FloatControl.java: Now abstract.
26476 * javax/sound/sampled/EnumControl.java: Now abstract.
26477 * javax/sound/sampled/CompoundControl.java: Now abstract.
26478 * javax/sound/sampled/BooleanControl.java: Now abstract.
26480 2006-03-16 Tom Tromey <tromey@redhat.com>
26482 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26484 2006-03-16 Roman Kennke <kennke@aicas.com>
26486 * java/util/zip/ZipFile.java
26487 (openFile): New helper method.
26488 (ZipFile): Use new openFile method to ensure the proper
26489 exception is thrown. This applies for all overloaded constructors.
26491 2006-03-16 Roman Kennke <kennke@aicas.com>
26493 * java/text/DateFormatSymbols.java
26494 (setAmPmStrings): Added null check and throw NPE.
26495 (setEras): Likewise.
26496 (setLocalPatternChars): Likewise.
26497 (setMonths): Likewise.
26498 (setShortMonths): Likewise.
26499 (setShortWeekdays): Likewise.
26500 (setWeekdays): Likewise.
26501 (setZoneStrings): Likewise.
26503 2006-03-16 Roman Kennke <kennke@aicas.com>
26505 * javax/swing/DefaultDesktopManager.java
26506 (iconifyFrame): Repaint after removing the frame.
26507 (removeIconFor): Repaint after removing the icon.
26509 2006-03-16 Roman Kennke <kennke@aicas.com>
26511 * javax/swing/JInternalFrame.java
26512 (remove): Respect the rootPaneCheckingEnabled flag here.
26514 2006-03-16 Roman Kennke <kennke@aicas.com>
26516 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26517 Moved from examples into gnu.javax.swing.. namespace.
26518 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26519 Moved to gnu.javax.swing.. namespace.
26520 * examples/gnu/classpath/examples/swing/Demo.java:
26521 (themesMenu): New field. Used to disable theme switch in
26523 (mkMenuBar): Added L&F menu.
26524 (ChangeThemeAction.actionPerformed): Only switch theme when
26526 (ChangeLAFAction): New class used for changing themes.
26527 * javax/swing/UIManager.java
26528 (installed): Added GNU L&F as installed L&F.
26530 2006-03-16 Mark Wielaard <mark@klomp.org>
26532 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26533 * examples/gnu/classpath/examples/icons/badge.png: Added.
26534 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26535 from icon directory.
26537 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26539 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26541 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26542 * examples/gnu/classpath/examples/awt/Demo.java: Add
26543 AnimationApplet demo.
26544 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26547 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26550 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26552 (handleEvent): Likewise.
26553 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26555 (beginNativeRepaint): Remove method.
26556 (endNativeRepaint): Likewise.
26557 (handleEvent): Call paintComponent and updateComponent.
26558 (paintComponent): New method.
26559 (updateComponent): Likewise.
26560 (repaint): Return early if width or height is less than one.
26561 (postExposeEvent): Remove isInRepaint reference.
26562 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26564 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26565 from GtkWindowPeer.
26566 (postMouseEvent): Likewise.
26567 (postExposeEvent): Likewise.
26568 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26569 Override to do nothing.
26570 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26571 from GtkWindowPeer.
26572 (postMouseEvent): Likewise.
26573 (postExposeEvent): Likewise.
26574 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26575 paint and update handling from GtkComponentPeer.
26576 (updateComponent): Override to call paintComponent.
26577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26578 gdk_flush calls with schedule_flush calls.
26579 (flush): New function.
26580 (schedule_flush): Likewise.
26582 2006-03-15 Tom Tromey <tromey@redhat.com>
26584 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26586 (BCSIterator): Likewise.
26587 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26589 (BCSSProxyServiceProvider): Likewise.
26590 (BCSSServiceProvider): Likewise.
26592 2006-03-15 Tom Tromey <tromey@redhat.com>
26594 * javax/sound/midi/Track.java (Track): New constructor.
26595 (events): Now package-private.
26596 * javax/sound/midi/MidiUnavailableException.java
26597 (MidiUnavailableException): Removed invalid constructors.
26598 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26599 * javax/sound/midi/InvalidMidiDataException.java
26600 (InvalidMidiDataException): Removed invalid constructors.
26601 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26602 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26603 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26604 (SYSTEM_EXCLUSIVE): Removed.
26605 (getDataLength): Updated.
26606 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26607 (equals): Now final
26608 (getName): Now final.
26609 (getVendor): Now final.
26610 (getDescription): Likewise.
26611 (hashCode): Likewise.
26612 (getVersion): Likewise.
26613 (toString): Likewise.
26614 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26615 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26616 (getEarlyReflectionDelay): Likewise.
26617 (getEarlyReflectionIntensity): Likewise.
26618 (getLateReflectionDelay): Likewise.
26619 (getLateReflectionIntensity): Likewise.
26620 (toString): Likewise.
26621 * javax/sound/sampled/Port.java (toString): Now final.
26622 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26623 (getLine): Likewise.
26624 (getType): Likewise.
26625 * javax/sound/sampled/Mixer.java (Info): Now protected.
26626 (getDescription): Now final.
26627 (getName): Likewise.
26628 (getVendor): Likewise.
26629 (getVersion): Likewise.
26630 (toString): Likewise.
26631 * javax/sound/sampled/Control.java: Now abstract.
26632 (Type.toString): Now final.
26634 2006-03-15 Keith Seitz <keiths@redhat.com>
26636 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26637 of this redundant variable.
26638 (LineTable): Assert that the number of line numbers and the number of
26639 code indicies is the same.
26641 2006-03-15 Tom Tromey <tromey@redhat.com>
26643 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26645 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26647 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26648 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26649 * java/util/zip/Inflater.java (end): Not deprecated.
26650 * java/util/zip/Deflater.java (end): Not deprecated.
26651 * java/text/Bidi.java (Bidi): Now final.
26652 * java/nio/MappedByteBuffer.java (finalize): Now protected.
26654 2006-03-15 Keith Seitz <keiths@redhat.com>
26656 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26657 (Location): Index is a long, not an int.
26658 (getMethod): New method.
26659 (getIndex): New method.
26660 (toString): New method.
26662 2006-03-15 Tom Tromey <tromey@redhat.com>
26664 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26665 * java/awt/image/LookupOp.java (filter): Now final.
26666 (getBounds2D): Likewise.
26667 (getPoint2D): Likewise.
26668 (getTable): Likewise.
26669 (getRenderingHints): Likewise.
26670 * java/awt/image/ConvolveOp.java (filter): Now final.
26671 (getBounds2D): Likewise.
26672 (getKernel): Likewise.
26673 (getPoint2D): Likewise.
26674 (getRenderingHints): Likewise.
26675 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26676 (getMatrix): Likewise.
26677 (getBounds2D): Likewise.
26678 (getRenderingHints): Likewise.
26679 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26680 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26682 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26684 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26686 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26688 2006-03-15 Keith Seitz <keiths@redhat.com>
26690 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26692 (matches): Implement.
26694 2006-03-15 Keith Seitz <keiths@redhat.com>
26696 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26698 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26700 2006-03-15 Tom Tromey <tromey@redhat.com>
26702 * java/lang/StrictMath.java (signum): New methods.
26704 2006-03-15 Tom Tromey <tromey@redhat.com>
26706 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26708 2006-03-15 Lillian Angel <langel@redhat.com>
26711 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26712 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26713 Added check to avoid segmentation fault.
26715 2006-03-15 Lillian Angel <langel@redhat.com>
26717 * java/awt/Container.java
26718 (getComponentAt): Fixed documentation.
26719 (getComponentAt): Likewise.
26721 2006-03-15 Roman Kennke <kennke@aicas.com>
26723 * javax/swing/JComponent.java
26724 (dragBuffer): New field.
26725 (dragBufferInitialized): New field.
26726 (paint): Added facility for buffered dragging of components.
26727 (initializeDragBuffer): New method.
26728 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26730 * javax/swing/plaf/basic/BasicInternalFrameUI.java
26731 (BorderListener.mouseDragged): Turn on buffered dragging.
26732 (BorderListener.mouseReleased): Turn off buffered dragging.
26734 2006-03-15 Lillian Angel <langel@redhat.com>
26736 * java/awt/Container.java
26737 (getComponentAt): Fixed documentation.
26738 (getComponentAt): Likewise.
26739 (findComponentAt): Likewise.
26740 (findComponentAt): Likewise.
26742 2006-03-15 Roman Kennke <kennke@aicas.com>
26744 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26745 (PropertyChangeHandler.propertyChange): Call enableActions().
26746 Fixed 'iconable' property name.
26748 2006-03-15 Chris Burdess <dog@gnu.org>
26751 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26753 2006-03-15 Roman Kennke <kennke@aicas.com>
26755 * examples/gnu/classpath/examples/swing/Demo.java:
26756 (desktop): New field.
26757 (mkMenuBar): Added new subdemos.
26758 (mkButtonWorld): Removed.
26759 (CheckCellRenderer): Moved to ListDemo.
26760 (LabelCellRenderer): Moved to ListDemo.
26761 (mkTreeWorld): Moved to TreeDemo.
26762 (mkDesktopWorld): Removed.
26763 (mkTabWorld): Moved to TabbedPaneDemo.
26764 (mkTabbedPane): Removed.
26765 (Demo): Replaced 'worlds' tabbed pane with desktop.
26766 (PopupAction): Made class non-static.
26767 (PopupAction.actionPerformed): Bring up subdemos in internal
26769 (mkButtonBar): Added new demos.
26770 (createDesktop): New method.
26771 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26772 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26773 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26774 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26775 * examples/gnu/classpath/examples/swing/badge.png: New image file.
26777 2006-03-15 Lillian Angel <langel@redhat.com>
26779 * java/awt/Container.java
26780 (getComponentAt): Fixed mistake in comments.
26781 (getComponentAt): Likewise.
26782 (locate): Likewise. Also, handled lightweight components.
26783 Heavyweights take precedence over lightweights, so we should
26784 iterate through the heavyweights first.
26786 2006-03-15 Lillian Angel <langel@redhat.com>
26788 * java/awt/Container.java
26789 (getComponentAt): Added API documentation.
26790 (getComponentAt): Likewise.
26791 (locate): Likewise. Also, removed lines to ignore
26792 invisible components.
26793 (findComponentAt): Added API documentation.
26794 (findComponentAt): Added API documentation.
26795 (findComponentForMouseEvent): Removed, never used.
26797 2006-03-15 Roman Kennke <kennke@aicas.com>
26799 * javax/swing/Popup.java
26800 (LightweightPopup.show): Repaint the panel after showing it.
26802 2006-03-15 Lillian Angel <langel@redhat.com>
26804 * java/awt/Component.java
26805 (show): repaint should only be called if the component
26806 isShowing and isLightweight.
26808 2006-03-15 Roman Kennke <kennke@aicas.com>
26810 * javax/swing/JInternalFrame.java
26811 (setClosable): Made this property bound.
26812 (setResizable): Made this property bound.
26813 (setIconifiable): Made this property bound.
26814 (setMaximizable): Made this property bound.
26816 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26818 * javax/swing/table/TableColumn.java
26819 (sizeWidthToFit): Implemented.
26821 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26823 * javax/swing/table/TableColumn.java: API docs updated all over, plus
26824 (setIdentifier): Fire required PropertyChangeEvent,
26825 (setCellEditor): Likewise.
26827 2006-03-15 Roman Kennke <kennke@aicas.com>
26829 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26830 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26831 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26832 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26833 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26834 * examples/gnu/classpath/examples/swing/SliderDemo.java,
26835 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26836 * examples/gnu/classpath/examples/swing/TableDemo.java,
26837 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26838 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26839 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26840 * examples/gnu/classpath/examples/swing/Demo.java:
26841 Cleaned up. Reworked handling of Sub-demos to load lazily.
26842 * examples/gnu/classpath/examples/swing/DemoFactory.java:
26843 New interface. Used for loading the subdemos lazily.
26845 2006-03-15 Roman Kennke <kennke@aicas.com>
26847 * javax/swing/plaf/basic/BasicToolBarUI.java
26848 (PropertyListener.propertyChange): Added null check to avoid NPE.
26850 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26852 * javax/swing/table/TableColumn.java
26853 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26855 (minWidth): Likewise,
26856 (preferredWidth): Likewise,
26857 (maxWidth): Likewise,
26858 (headerRenderer): Likewise,
26859 (cellRenderer): Likewise,
26860 (cellEditor): Likewise,
26861 (changeSupport): Likewise,
26862 (firePropertyChange(String, Object, Object)): Removed,
26863 (firePropertyChange(String, int. int)): Likewise,
26864 (firePropertyChange(String, boolean, boolean)): Likewise,
26865 (setModelIndex): Fire property change,
26866 (setHeaderValue): Call changeSupport directly to generate event,
26867 (setHeaderRenderer): Likewise,
26868 (setCellRenderer): Likewise,
26869 (setWidth): Likewise,
26870 (setPreferredWidth): Likewise,
26871 (setMinWidth): Likewise,
26872 (setMaxWidth): Likewise,
26873 (createDefaultHeaderRenderer): Added API docs.
26875 2006-03-14 Roman Kennke <kennke@aicas.com>
26877 * examples/gnu/classpath/examples/swing/Demo.java
26878 Removed static initializer.
26879 (mkMenuBar): Made method non-static. Added themes menu.
26880 (ChangeThemeAction): New inner class, used to change themes.
26882 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26884 * javax/swing/table/TableColumn.java
26885 (setMaxWidth): Updated width and preferredWidth if necessary,
26886 (getMaxWidth): Updated API docs.
26888 2006-03-14 Roman Kennke <kennke@aicas.com>
26890 * javax/swing/plaf/basic/BasicSliderUI.java
26891 (TrackListener.mouseDragged): Only process event when slider is
26893 (TrackListener.mouseReleased): Only process event when slider is
26895 (TrackListener.mousePressed): Only process event when slider is
26898 2006-03-14 Roman Kennke <kennke@aicas.com>
26900 * NEWS: Added note about OceanTheme support.
26902 2006-03-14 Roman Kennke <kennke@aicas.com>
26904 * javax/swing/plaf/metal/MetalIconFactory.java
26905 (HorizontalSliderThumbIcon.gradientMask): New field
26906 (HorizontalSliderThumbIcon.paintIcon): Added support for the
26908 (VerticalSliderThumbIcon.gradientMask): New field
26909 (VerticalSliderThumbIcon.paintIcon): Added support for the
26911 * javax/swing/plaf/metal/MetalUtils.java
26912 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26913 (paintVerticalGradient): Fixed painting of 'masked' gradients.
26915 2006-03-14 Mark Wielaard <mark@klomp.org>
26918 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26919 of handleMouseEvent.
26920 (handleMouseEvent): Return boolean to indicate whether we handled the
26921 event by passing it to a lightweight.
26923 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26925 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26926 * org/omg/PortableServer/ServantActivatorPOA.java,
26927 * org/omg/PortableServer/ServantLocatorPOA.java:
26928 Make class abstract and minor api docs fixlets.
26929 * org/omg/PortableServer/ForwardRequest.java,
26930 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
26931 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
26932 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
26933 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
26934 * org/omg/PortableServer/POAPackage/NoServant.java,
26935 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
26936 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
26937 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
26938 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
26939 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
26940 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
26941 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
26942 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
26943 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
26944 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
26946 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26948 * NEWS: Added entry about printing support.
26950 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26952 * javax/swing/table/TableColumn.java
26953 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26954 (isResizable): Likewise,
26955 (setWidth): Likewise,
26956 (getWidth): Likewise,
26957 (setPreferredWidth): Likewise,
26958 (getPreferredWidth): Likewise,
26959 (setMinWidth): Check for negative argument and update width and
26960 preferredWidth if necessary,
26961 (getMinWidth): Updated API docs.
26963 2006-03-14 Lillian Angel <langel@redhat.com>
26965 * java/awt/Container.java
26966 (addImpl): Removed call to repaint. No need to repaint here.
26968 2006-03-14 Roman Kennke <kennke@aicas.com>
26970 * javax/swing/plaf/metal/MetalSliderUI.java
26971 (paintTrack): Added OceanTheme support.
26973 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26975 * javax/swing/table/TableColumn.java
26976 (setResizable): Fire PropertyChangeEvent if the flag value changes,
26977 (isResizable): Updated API docs.
26979 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26981 * javax/swing/LookAndFeel.java: Updated API docs.
26983 2006-03-14 Roman Kennke <kennke@aicas.com>
26985 * javax/swing/plaf/metal/MetalUtils.java
26986 (paintGradient): Added support for 'masked' gradients.
26987 (paintHorizontalGradient): Likewise.
26988 (paintVerticalGradient): Likewise.
26989 * javax/swing/plaf/metal/MetalIconFactory.java
26990 (RadioButtonIcon.gradientMask): New field.
26991 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
26993 2006-03-14 Mark Wielaard <mark@klomp.org>
26996 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
26998 (removeActionListener): Add listener to ComboBoxEditorListener.
26999 (removeActionListener): Remove listener from ComboBoxEditorListener.
27000 (ComboBoxEditorListener): New static helper class.
27002 2006-03-14 Roman Kennke <kennke@aicas.com>
27004 * javax/swing/plaf/metal/MetalBorders.java
27005 (getToolBarButtonBorder): Don't create a UIResource border
27007 * javax/swing/plaf/metal/MetalToolBarUI.java
27008 (installUI): New overridden method. Installs the rollover property.
27009 (uninstallUI): New overridden method. Resets the rollover property.
27010 * javax/swing/plaf/metal/MetalUtils.java
27011 (paintGradient): Fetch Float values from the UIManager. Adjusted
27012 method signatures accordingly.
27013 (paintHorizontalGradient): Adjusted signature to accept float
27015 (paintVerticalGradient): Adjusted signature to accept float
27017 * javax/swing/plaf/metal/OceanTheme.java
27018 (addCustomEntriesToTable): Added missing UIDefaults entries,
27019 except of Icons. Fixed gradient entries to use Float instead
27022 2006-03-14 Roman Kennke <kennke@aicas.com>
27024 * javax/swing/JInternalFrame.java
27025 (JInternalFrame): Make JInternalFrame opaque.
27026 * javax/swing/JToolBarFrame.java
27027 (JToolBar): Make JToolBar opaque.
27029 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27031 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27032 * javax/swing/tree/TreePath.java: Likewise.
27034 2006-03-13 Tom Tromey <tromey@redhat.com>
27036 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27038 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27039 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27041 2006-03-13 Keith Seitz <keiths@redhat.com>
27043 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27044 (executeMethods): Output number of methods.
27046 2006-03-13 Roman Kennke <kennke@aicas.com>
27048 * javax/swing/plaf/basic/BasicButtonUI.java
27049 (uninstallDefaults): Only uninstall border if it's a UIResource.
27050 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27051 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27052 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27053 (installUI): Don't touch the opaque flag of the glassPane and
27054 the frame. Don't invalidate.
27055 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27056 (installUI): Don't touch the opaque flag of the glassPane.
27057 * javax/swing/plaf/basic/BasicMenuBarUI.java
27058 (properyChangeListener): Made field private.
27059 (ChangeHandler): Made class private.
27060 (ContainerHandler): Made class private.
27061 (PropertyChangeHandler): Made class private.
27062 * javax/swing/plaf/basic/BasicMenuUI.java
27063 (MenuHandler): Made class private.
27064 (PropertyChangeHandler): Removed unneeded class.
27065 (MenuDragMouseHandler): Made class private.
27066 (MenuKeyHandler): Made class private.
27067 * javax/swing/plaf/basic/BasicPanelUI.java
27068 (installDefaults): Made method protected. Don't set opaque
27070 * javax/swing/plaf/basic/BasicScrollBarUI.java
27071 (TrackListener.shouldScroll): Made method private.
27072 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27073 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27074 Made constructor package private.
27075 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27076 (cellBorder): Made field private.
27077 * javax/swing/plaf/basic/BasicTextUI.java
27078 (installDefaults): Don't make component opaque.
27079 * javax/swing/plaf/basic/BasicToolBarUI.java
27080 (createNonRollOverBorder): Don't create UIResource border.
27081 (createRollOverBorder): Don't create UIResource border.
27082 (installComponents): Moved setRolloverBorders call here.
27083 (installDefaults): Moved setRolloverBorders call from here.
27084 (installUI): Don't make toolbar opaque.
27085 (setBorderToNonRollover): Handle AbstractButton instead of
27087 (uninstallComponents): Don't nullify class fields here.
27089 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27091 * javax/swing/SwingUtilities.java
27092 (calculateInnerArea): handle null component, and replace
27093 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27096 2006-03-13 Roman Kennke <kennke@aicas.com>
27098 * javax/swing/JColorChooser.java
27099 (updateUI): Don't call revalidate().
27100 * javax/swing/JComboBox.java
27101 (updateUI): Don't call invalidate().
27102 * javax/swing/JDesktopPane.java
27103 (updateUI): Don't call invalidate().
27104 * javax/swing/JFileChooser.java
27105 (updateUI): Don't call revalidate().
27106 * javax/swing/JMenu.java
27107 (updateUI): Don't call invalidate().
27108 * javax/swing/JMenuBar.java
27109 (updateUI): Don't call invalidate().
27110 * javax/swing/JMenuItem.java
27111 (updateUI): Don't call invalidate().
27112 * javax/swing/JOptionPane.java
27113 (updateUI): Don't call invalidate().
27114 * javax/swing/JPopupMenu.java
27115 (updateUI): Don't call invalidate().
27116 * javax/swing/JProgressBar.java
27117 (updateUI): Don't call invalidate().
27118 * javax/swing/JScrollBar.java
27119 (updateUI): Don't call invalidate() and repaint().
27120 * javax/swing/JScrollPane.java
27121 (updateUI): Rewritten to be like the other updateUI()
27123 * javax/swing/JSlider.java
27124 (updateUI): Don't call invalidate() and repaint().
27125 * javax/swing/JSplitPane.java
27126 (updateUI): Don't call invalidate() and repaint().
27127 * javax/swing/JTabbedPane.java
27128 (updateUI): Don't call invalidate().
27129 * javax/swing/JTable.java
27130 (updateUI): Don't call revalidate() and repaint().
27131 * javax/swing/JToolBar.java
27132 (updateUI): Don't call revalidate() and repaint().
27133 * javax/swing/JToolTip.java
27134 (updateUI): Don't call revalidate() and repaint().
27136 2006-03-13 Roman Kennke <kennke@aicas.com>
27138 * javax/swing/SwingUtilities.java
27139 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27140 menus and non-Swing components is improved.
27141 (updateComponentTreeUIImpl): New helper method.
27142 (replaceUIActionMap): Added check for uiActionMap==parent to
27144 (replaceUIInputMap): Added check for uiInputMap==parent to
27147 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27149 * gnu/classpath/debug/Component.java:
27150 (IPP) New component for IPP debugging.
27151 (EVERYTHING): Adapted to include IPP.
27152 * javax/print/PrintServiceLookup.java:
27153 (registerServiceProvider): New method.
27154 (registerService): Likewise.
27155 (lookupPrintServices): Likewise.
27156 (lookupMultiDocPrintServices): Likewise.
27157 (lookupDefaultPrintService): Likewise.
27158 (static_initializer): Likewise.
27159 (printServiceLookups): New field for found service providers.
27160 (printServices): New field for application registered providers.
27161 (systemProvider): New field for the system provider.
27162 * javax/print/ServiceUI.java: New file.
27163 * javax/print/package.html: Added more usage content.
27164 * javax/print/event/package.html: Likewise.
27165 * javax/print/attribute/package.html: Likewise.
27166 * javax/print/attribute/standard/package.html: Likewise.
27167 * gnu/javax/print/PrintUriException.java,
27168 gnu/javax/print/PrintFlavorException.java,
27169 gnu/javax/print/PrinterDialog.java,
27170 gnu/javax/print/PrintAttributeException.java,
27171 gnu/javax/print/CupsPrintServiceLookup.java,
27172 gnu/javax/print/CupsServer.java,
27173 gnu/javax/print/CupsPrintService.java,
27174 gnu/javax/print/CupsMediaMapping.java,
27175 gnu/javax/print/CupsIppOperation.java:
27176 New implementation files of the Java Print Service API.
27177 * gnu/javax/print/ipp/IppValueTag.java,
27178 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27179 gnu/javax/print/ipp/IppStatusCode.java,
27180 gnu/javax/print/ipp/IppUtilities.java,
27181 gnu/javax/print/ipp/IppResponse.java,
27182 gnu/javax/print/ipp/IppException.java,
27183 gnu/javax/print/ipp/IppPrintService.java,
27184 gnu/javax/print/ipp/IppRequest.java,
27185 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27186 gnu/javax/print/ipp/IppDelimiterTag.java,
27187 gnu/javax/print/ipp/DocPrintJobImpl.java:
27188 New files of the IPP client implementation.
27189 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27190 gnu/javax/print/ipp/attribute/StatusMessage.java,
27191 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27192 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27193 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27194 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27195 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27196 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27197 New attribute syntax/role files of the printing implementation.
27198 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27199 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27200 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27201 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27202 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27203 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27204 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27205 gnu/javax/print/ipp/attribute/supported/
27206 OrientationRequestedSupported.java,
27207 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27208 gnu/javax/print/ipp/attribute/supported/
27209 MultipleDocumentHandlingSupported.java,
27210 gnu/javax/print/ipp/attribute/supported/
27211 MultipleDocumentJobsSupported.java,
27212 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27213 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27214 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27215 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27216 gnu/javax/print/ipp/attribute/supported/
27217 GeneratedNaturalLanguageSupported.java,
27218 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27219 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27220 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27221 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27222 New supported attribute files.
27223 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27224 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27225 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27226 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27227 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27228 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27229 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27230 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27231 New printer description attribute files.
27232 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27233 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27234 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27235 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27236 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27237 gnu/javax/print/ipp/attribute/job/JobId.java,
27238 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27239 gnu/javax/print/ipp/attribute/job/JobUri.java,
27240 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27241 New job description attribute files.
27242 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27243 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27244 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27245 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27246 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27247 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27248 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27249 gnu/javax/print/ipp/attribute/defaults/
27250 MultipleDocumentHandlingDefault.java,
27251 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27252 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27253 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27254 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27255 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27256 New default printing attribute files.
27257 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27258 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27259 * examples/gnu/classpath/examples/print/Demo.java:
27260 New demo application of the current implemented functionality.
27262 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27264 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27265 java/rmi/activation/ActivationDesc.java.java,
27266 java/rmi/activation/ActivationGroup.java,
27267 java/rmi/activation/ActivationID.java,
27268 java/rmi/activation/ActivationMonitor.java,
27269 java/rmi/activation/ActivationSystem.java,
27270 java/rmi/activation/package.html: Documenting.
27272 2006-03-13 Roman Kennke <kennke@aicas.com>
27274 * javax/swing/JInternalFrame.java
27275 (setSelected): Repaint frame when it is showing and the selection
27278 2006-03-13 Roman Kennke <kennke@aicas.com>
27280 * javax/swing/AbstractButton.java
27281 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27284 2006-03-13 Roman Kennke <kennke@aicas.com>
27286 * javax/accessibility/AccessibleContext.java
27287 (getAccessibleRelationSet): Return empty set instead of null.
27289 2006-03-13 Roman Kennke <kennke@aicas.com>
27291 * javax/swing/ImageIcon.java
27292 (loadImage): Remove completed images from the MediaTracker. This
27293 avoids a potential memory leak.
27295 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27297 * javax/print/MultiDocPrintService.java,
27298 * javax/print/MultiDocPrintJob.java,
27299 * javax/print/MultiDoc.java: Added and enhanced documentation.
27301 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27303 * java/rmi/activation/ActivationID.java (uid): New field.
27304 (writeExternal, readExternal): New methods.
27305 (equals, hashCode): Rewritten.
27306 * java/rmi/activation/ActivationInstantiator.java,
27307 * java/rmi/activation/ActivationSystem.java,
27308 * java/rmi/activation/Activator.java,
27309 * java/rmi/activation/Activatable.java,
27310 * java/rmi/activation/ActivationGroup.java,
27311 * java/rmi/activation/ActivationGroupDesc.java:
27312 Documented and autoformatted.
27313 * java/rmi/activation/package.html: Added content.
27315 2006-03-12 Chris Burdess <dog@gnu.org>
27318 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27319 encoding are specified.
27321 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27323 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27324 (changeEvent): Initialise in fireStateChange(),
27325 (setSelectedIndex): Check if change is made before firing event,
27326 (clearSelection): Delegate to setSelectedIndex(),
27327 (fireStateChanged): Initialise changeEvent if necessary,
27328 * javax/swing/SingleSelectionModel.java: API docs all over.
27330 2006-03-11 Tom Tromey <tromey@redhat.com>
27332 * java/util/zip/InflaterInputStream.java: Reverted previous
27335 2006-03-11 Mark Wielaard <mark@klomp.org>
27337 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27340 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27342 * javax/swing/event/TreeSelectionEvent.java
27343 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27344 not one of the added/removed paths,
27345 (cloneWithSource): Reformatted.
27347 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27349 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27350 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27352 2006-03-10 Casey Marshall <csm@gnu.org>
27355 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27357 (doFinal, update): new methods.
27358 (init, init, init, init): initialize `state' after trying the
27359 implementation, which can throw an exception.
27360 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27363 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27365 * gnu/regexp/BacktrackStack.java: New file.
27366 * gnu/regexp/RE.java(findMatch): New method.
27367 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27368 REMatchList): Removed. (backtrackStack): New field.
27369 * gnu/regexp/REToken.java(match): Changed from an abstract
27370 method to an ordinary method defined with the new method
27371 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27372 findFixedLengthMatches, backtrack, toString): New methods.
27373 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27374 * gnu/regexp/RETokenBackRef.java: Likewise.
27375 * gnu/regexp/RETokenChar.java: Likewise.
27376 * gnu/regexp/RETokenEnd.java: Likewise.
27377 * gnu/regexp/RETokenEndSub.java: Likewise.
27378 * gnu/regexp/RETokenIndependent.java: Likewise.
27379 * gnu/regexp/RETokenLookAhead.java: Likewise.
27380 * gnu/regexp/RETokenLookBehind.java: Likewise.
27381 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27382 * gnu/regexp/RETokenPOSIX.java: Likewise.
27383 * gnu/regexp/RETokenRange.java: Likewise.
27384 * gnu/regexp/RETokenStart.java: Likewise.
27385 * gnu/regexp/RETokenWordBoundary.java: Likewise
27386 * gnu/regexp/RETokenOneOf.java: Rewriten.
27387 * gnu/regexp/RETokenRepeated.java: Rewriten.
27389 2006-03-10 Roman Kennke <kennke@aicas.com>
27391 * javax/swing/plaf/metal/MetalBorders.java
27392 (RolloverButtonBorder.paintBorder): Only call super here.
27393 * javax/swing/plaf/metal/MetalButtonListener.java
27394 (propertyChange): Only call super here.
27395 * javax/swing/plaf/metal/MetalButtonUI.java
27396 (update): Changed condition from isOpaque() to isContentAreaFilled()
27397 for the gradient fill.
27398 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27399 (paintText): API doc fix. Makes paintText not deprecated as specified
27400 but adds comment that this is obsolete.
27401 * javax/swing/plaf/metal/MetalUtils.java
27402 (fillMetalPattern): Fixed condition so that the Java2D is not
27403 used when the noGraphics2D property is set.
27405 2006-03-10 Roman Kennke <kennke@aicas.com>
27407 * javax/swing/plaf/metal/MetalLookAndFeel.java
27408 (createDefaultTheme): Set OceanTheme as default metal theme.
27410 2006-03-10 Roman Kennke <kennke@aicas.com>
27412 * javax/swing/text/WrappedPlainView.java
27413 (metrics): Made field package private to avoid accessor method.
27414 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27415 The drawLine (righly) interprets the y parameter as the baseline.
27416 * javax/swing/text/Utilities.java
27417 (getBreakLocation): Don't consider the offset. The returned value
27418 for getTabbedTextOffset is already relative to the offset.
27420 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27422 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27423 (dateFormat): Made private.
27424 (put): Replace only the last occurance and the value.
27425 (putAll): Save one iteration. Clarified documentation.
27427 2006-03-10 Tom Tromey <tromey@redhat.com>
27429 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27431 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27434 2006-03-10 Lillian Angel <langel@redhat.com>
27436 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27437 (comboboxgroup_get_widget): New function.
27438 (removed): Fixed to use new function to get the correct widget.
27439 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27440 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27443 2006-03-10 Lillian Angel <langel@redhat.com>
27445 * java/awt/GridBagLayout.java
27446 (ArrangeGrid): Added checks to determine if component
27447 is placed last in a row or column. If so, the location
27448 of the last component should be used to get the location
27449 of the current component.
27451 2006-03-10 Lillian Angel <langel@redhat.com>
27453 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27454 (nativeSetCheckboxGroup): No need to use new function here.
27455 Should just pass in pointer.
27457 2006-03-10 Lillian Angel <langel@redhat.com>
27459 * java/awt/GridBagLayout.java
27460 (distributeSizeAndWeight): Change else if to else. This
27461 allows for components to be added to a new row when
27462 their gridheight is REMAINDER.
27464 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27466 * java/rmi/activation/ActivationDesc.java,
27467 java/rmi/activation/ActivationGroupID.java,
27468 java/rmi/activation/Activator.java,
27469 java/rmi/server/Operation.java,
27470 java/rmi/server/RemoteServer.java: Documented and formatted.
27472 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27474 * javax/swing/JToggleButton.java: Fixed API doc tags,
27475 * javax/swing/OverlayLayout.java: Likewise.
27477 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27479 * javax/swing/DefaultCellEditor.java
27480 (cancelCellEditing): Removed spurious API doc tag.
27482 2006-03-10 Lillian Angel <langel@redhat.com>
27484 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27485 (create): Put checkbox widget into an event box so it paints properly.
27486 (connectSignals): Fixed to use new function.
27487 (nativeSetCheckboxGroup): Likewise.
27488 (gtkToggleButtonSetActive): Likewise.
27489 (gtkWidgetModifyFont): Likewise.
27490 (gtkButtonSetLabel): Likewise.
27491 (combobox_get_widget): New function.
27493 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27495 * javax/swing/text/rtf/package.html: New file.
27497 2006-03-10 Roman Kennke <kennke@aicas.com>
27499 * javax/swing/plaf/metal/OceanTheme.java
27500 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27501 * javax/swing/plaf/metal/MetalScrollBarUI.java
27502 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27503 (paintThumbHorizontal): Added handling of OceanTheme.
27504 (paintThumbVertical): Added handling of OceanTheme.
27506 2006-03-10 Roman Kennke <kennke@aicas.com>
27508 Reported by Fridjof Siebert <siebert@aicas.com>
27509 * java/awt/MediaTracker.java
27510 (removeImage): Only set prev to e when the the images of the
27511 entries are not the same. This avoids a potentially corrupt list.
27513 2006-03-10 Chris Burdess <dog@gnu.org>
27516 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27517 checking while reindenting.
27519 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27521 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27523 2006-03-09 Tom Tromey <tromey@redhat.com>
27525 PR classpath/26585:
27526 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27527 subdir. Added README.
27528 (install-data-local): Removed.
27529 (uninstall-local): Likewise.
27530 (EXTRA_DIST): Removed.
27532 2006-03-09 Tom Tromey <tromey@redhat.com>
27534 PR classpath/26623:
27535 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27537 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27539 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27541 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27543 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27545 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27547 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27549 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27551 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27553 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27555 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27556 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27558 2006-03-09 Keith Seitz <keiths@redhat.com>
27560 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27561 (executeVariableTable): Use VMMethod instead of reflection.
27562 (executeLineTable): Likewise.
27563 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27564 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27565 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27566 (getLineTable): Removed. Now resides in VMMethod.
27567 (getVarTable): Likewise.
27568 (getAllClassMethods): New method.
27570 2006-03-09 Keith Seitz <keiths@redhat.com>
27572 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27573 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27574 (ThreadStartEvent): Likewise.
27575 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27576 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27577 (ConditionalFilter): Likewise.
27578 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27579 (ExceptionOnlyFilter): Likewise.
27580 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27581 (FieldOnlyFilter): Likewise.
27582 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27583 (getSize): Likewise.
27584 (StepFilter): Likewise.
27585 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27586 * gnu/classpath/jdwp/transport/JdwpPacket.java
27587 (JdwpPacket): Likewise.
27588 (fromBytes): Likewise.
27589 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27590 (JdwpReplyPacket): Likewise.
27591 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27592 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27593 (getReferenceType): Likewise.
27594 (newObjectId): Likewise.
27595 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27596 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27597 (getFrames): Fix typo in parameter name and update javadoc.
27598 (getClassMethod): Update javadoc.
27600 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27602 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27603 * javax/swing/event/TreeSelectionListener.java: Likewise.
27605 2006-03-09 Lillian Angel <langel@redhat.com>
27607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27608 (getHScrollbarHeight): Fixed property name.
27609 (getVScrollbarHeight): Likewise.
27611 2006-03-09 Lillian Angel <langel@redhat.com>
27613 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27614 (get_widget): New function.
27615 (gtkWidgetSetParent): Changed to use new function.
27616 (gtkWidgetSetCursorUnlocked): Likewise.
27617 (gtkWidgetSetSensitive): Likewise.
27618 (gtkWidgetRequestFocus): Likewise.
27619 (gtkWindowGetLocationOnScreen): Likewise.
27620 (gtkWidgetGetDimensions): Likewise.
27621 (gtkWidgetGetPreferredDimensions): Likewise.
27622 (setNativeBounds): Likewise.
27623 (gtkWidgetGetBackground): Likewise.
27624 (gtkWidgetGetForeground): Likewise.
27625 (gtkWidgetSetBackground): Likewise.
27626 (gtkWidgetSetForeground): Likewise.
27627 (setVisibleNativeUnlocked): Likewise.
27628 (isEnabled): Likewise.
27629 (isRealized): Likewise.
27630 (setNativeEventMask): Likewise.
27632 2006-03-09 Lillian Angel <langel@redhat.com>
27635 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27636 (create): Added combobox widget to an event box.
27637 (connectSignals): Added call to choice_get_widget to get the
27638 combobox out of the event box.
27639 (append): Likewise.
27640 (nativeRemoveAll): Likewise.
27641 (nativeRemove): Likwise.
27642 (nativeAdd): Likewise.
27643 (selectNative): Likewise.
27644 (choice_get_widget): New function.
27645 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27646 (create): Added list scroll window widget to an event box.
27647 (connectSignals): Changed call to use new function to get the
27648 correct widget out of the event box.
27649 (getWidgetModifyFont): Likewise.
27650 (getWidgetRequestFocus): Likewise.
27651 (append): Likewise.
27653 (delItems): Likewise.
27654 (select): Likewise.
27655 (deselect): Likewise.
27656 (getSize): Likewise.
27657 (getSelectedIndexes): Likewise.
27658 (makeVisible): Likewise.
27659 (setMultipleMode): Likewise.
27660 (list_get_widget): New function.
27661 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27662 (create): Added scrollpane to an eventbox.
27663 (setScrollPosition): Changed call to use new function to get the
27664 correct widget out of the event box.
27665 (gtkScrolledWindowSetHScrollIncrement): Likewise.
27666 (gtkScrolledWindowSetVScrollIncrement): Likewise.
27667 (getHScrollbarHeight): Likewise.
27668 (getVScrollbarWidth): Likewise.
27669 (setPolicy): Likewise.
27670 (scrollpane_get_widget): New function.
27671 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27672 (connectSignals): Changed call to use new function to get the
27673 correct widget out of the event box.
27674 (create): Added scrollbar to an eventbox.
27675 (setLineIncrement): Changed call to use new function to get the
27676 correct widget out of the event box.
27677 (setPageIncrement): Likewise.
27678 (setBarValues): Likewise.
27679 (scrollbar_get_widget): New function.
27680 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27681 (create): Added text area scroll window widget to an event box.
27682 (connectSignals): Changed call to use new function to get the
27683 correct widget out of the event box.
27684 (insert): Likewise.
27685 (replaceRange): Likewise.
27686 (gtkWidgetModifyFont): Likewise.
27687 (gtkWidgetRequestFocus): Likewise.
27688 (getHScrollbarHeight): Likewise.
27689 (getVScrollbarWidth): Likewise.
27690 (getCaretPosition): Likewise.
27691 (setCaretPosition):Likewise.
27692 (getSelectionStart): Likewise.
27693 (getSelectionEnd): Likewise.
27694 (select): Likewise.
27695 (setEditable): Likewise.
27696 (getText): Likewise.
27697 (setText): Likewise.
27698 (textarea_get_widget): New function.
27700 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27702 * java/rmi/dgc/VMID.java:
27703 (equals, hashCode, static initializer): Rewritten.
27704 * java/rmi/dgc/package.html: Documented.
27706 2006-03-09 Mark Wielaard <mark@klomp.org>
27708 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27710 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27711 (canCache): Likewise.
27712 (GtkClipboard): Take String argument.
27713 (getInstance): Removed.
27714 (getClipboardInstance, getSelectionInstance): New static methods.
27715 (setSystemContents): Make synchronized. Takes boolean argument.
27716 (initNativeState): Add clipboard and selection.
27717 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27718 (announceClipboardChange, announcePrimaryChange): New static field.
27719 (announce): Take GtkClipboard as argument.
27720 (run): Check which clipboard to announce change for.
27721 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27723 (GtkSelection): Take GtkClipboard as argument.
27724 (requestText, requestImage, requestURIs, requestBytes): Add boolean
27725 clipboard argument.
27726 (requestMimeTypes): Likewise.
27727 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27729 * java/awt/Toolkit.java (getSystemSelection): Document.
27730 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27731 (cp_gtk_selection_instance): New var.
27732 (current_selection, owner): Removed.
27733 (clipboard_owner_change_cb): Use clipboard argument.
27734 (initNativeState): Store clipboard and selection instances. Cache
27735 setSystemContentsID, provideContentID, provideTextID, provideImageID,
27737 (clipboard_get_func): Use clipboard argument.
27738 (clipboard_clear_func): Likewise. Always call method.
27739 (advertiseContent): Don't cache method ids here. Check whether to
27740 use clpboard or selection. Don't set owner or current_selection.
27741 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27742 (requestText, requestImage, requestURIs, requestBytes): Use extra
27743 boolean argument to select clipboard.
27744 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27745 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27746 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27747 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27749 2006-03-09 Keith Seitz <keiths@redhat.com>
27751 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27752 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27753 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27754 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27755 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27756 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27757 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27758 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27759 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27761 2006-03-09 Mark Wielaard <mark@klomp.org>
27763 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27764 bounds for index is valid.
27765 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27767 (getCellBounds): Update documentation.
27769 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
27771 * .classpath: added exclude pattern on source folders
27772 (Makefiles, README and .cvsignore)
27774 2006-03-08 Michael Koch <konqueror@gmx.de>
27776 * java/net/Proxy.java (NO_PROXY): Made final.
27777 (equals): Likewise.
27778 (hashCode): Likewise.
27780 2006-03-08 Keith Seitz <keiths@redhat.com>
27782 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27783 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27784 (getClassMethod): New method.
27786 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27788 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27790 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27792 * java/rmi/server/ObjID.java: Documented and autoformatted.
27794 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27797 * tools/Makefile.am (install-data-local,
27798 uninstall-local): Install/uninstall the tools/README only.
27799 * tools/gnu/classpath/tools/giop/README: Updated.
27800 * tools/README: New file.
27802 2006-03-08 Lillian Angel <langel@redhat.com>
27804 * java/awt/GridBagLayout.java
27805 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27806 then the next item should be set to current_y (not 0).
27808 2006-03-08 Lillian Angel <langel@redhat.com>
27810 * java/awt/GridBagLayout.java
27811 (GetLayoutInfo): If gridy is RELATIVE and there is no component
27812 in the bottom-most spot of the column, we need to place that component
27813 at the y-location of the other components in that row. If there are
27814 no other components in that row, then place it at y = 0.
27816 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
27818 * javax/swing/ProgressMonitor.java: Updated API docs,
27819 * javax/swing/ProgressMonitorInputStream.java: Likewise.
27821 2006-03-08 Michael Koch <konqueror@gmx.de>
27823 * java/net/InetSocketAddress.java
27824 (InetSocketAddress(String,int,resolve)): New private contructor.
27825 (InetSocketAddress(String,int)): Use new private constructor.
27826 (createUnresolved): New method.
27828 2006-03-07 Michael Koch <konqueror@gmx.de>
27830 * gnu/java/net/DefaultProxySelector.java,
27831 java/net/Proxy.java, java/net/ProxySelector.java:
27834 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27836 * java/rmi/server/UID.java (constructor): Assign last and time fields
27839 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27841 * java/rmi/server/UID.java: New file (replacing).
27843 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
27845 * java/util/jar/Manifest.java: Removed unused imports.
27846 (CRLF): New constant.
27847 (read): Added method documentation.
27848 Use UTF-8 encoding instead of 8859_1.
27849 (write): Added method documentation.
27850 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27851 (write_main_section): Replace PrintWriter arg with OutputStream.
27852 Replace JarException with IOException.
27853 (write_version_info): Likewise.
27854 (write_main_attributes): Likewise.
27855 (write_attribute_entry): Likewise.
27856 (write_individual_sections): Likewise.
27857 (write_entry_attributes): Likewise.
27858 (write_header): Replace PrintWriter arg with OutputStream.
27861 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27863 * javax/swing/tree/DefaultMutableTreeNode.java
27864 (getFirstChild): Updated API docs,
27865 (getLastChild): Likewise,
27866 (getChildAfter): Likewise,
27867 (getChildBefore): Likewise,
27868 (isNodeSibling): Return true if node == this,
27869 (getSiblingCount): Updated API docs,
27870 (getNextSibling): Likewise,
27871 (getPreviousSibling): Likewise,
27872 (isLeaf): Likewise,
27873 (getFirstLeaf): Likewise,
27874 (getLastLeaf): Likewise,
27875 (getNextLeaf): Implemented,
27876 (getPreviousLeaf): Implemented.
27878 2006-03-07 Tom Tromey <tromey@redhat.com>
27880 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27881 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27882 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27883 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27886 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27888 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27889 (clone): Reimplemented,
27890 (add): Throw IllegalArgumentException if child is an ancestor,
27891 (remove(int)): Set child's parent to null,
27892 (remove(MutableTreeNode)): Check arguments and set child's parent to
27894 (insert): Check allowsChildren flag, check for null argument, and
27895 check for a node that is an ancestor,
27896 (getIndex): Throw IllegalArgumentException for null argument,
27897 (setAllowsChildren): If setting to false, remove existing children,
27898 (removeAllChildren): Set parent to null for removed children.
27900 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27902 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27905 2006-03-06 Tom Tromey <tromey@redhat.com>
27907 * java/lang/StrictMath.java (ulp): New methods.
27908 * java/lang/Math.java (ulp): New methods.
27910 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27912 * gnu/java/rmi/server/UnicastRef.java,
27913 * gnu/java/rmi/server/UnicastServer.java: Formatted.
27915 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27917 * gnu/java/rmi/server/CombinedClassLoader.java
27918 (findClass, findLibrary, findResouce, findResources): check
27919 all loaders in array.
27921 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27924 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27925 (RefProtector): new inner class. (dirty): Rewritten.
27926 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27927 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27928 new methods. (readExternal): Create LeaseRenewingTask if non local.
27929 * gnu/java/rmi/server/UnicastServer.java (objects):
27930 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
27931 (getExported): New method.
27932 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
27934 2006-03-06 Mark Wielaard <mark@klomp.org>
27936 * doc/www.gnu.org/announce/20060306.wml: New file.
27937 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
27938 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
27940 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
27942 * javax/swing/plaf/metal/MetalLookAndFeel.java
27943 (initComponentDefaults): Use Boolean.TRUE for
27944 'CheckBoxMenuItem.borderPainted'.
27946 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
27948 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27949 (dateFormat): Made private.
27950 (put): Replace only the last occurance and the value.
27951 (putAll): Reimplemented with the put method.
27953 2006-03-06 Lillian Angel <langel@redhat.com>
27956 * java/awt/List.java
27957 (preferredSize): Return the size of the list if the peer is
27959 * gnu/java/awt/peer/gtk/GtkListPeer.java
27960 (preferredSize): Code was returning the minimum size of the
27961 list. Added adjustment to the width of the list so it is a
27964 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
27966 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
27967 (getRequestProperty): Remove duplicated null check.
27968 * java/net/URLConnection.java:
27969 (URLConnection): Javadoc fix.
27970 (addRequestProperty): Likewise.
27971 (getDefaultRequestProperty): Likewise.
27972 (getHeaderField): Likewise.
27973 (getHeaderFieldDate): Likewise.
27974 (getHeaderFieldKey): Likewise.
27975 (getHeaderFields): Likewise.
27976 (getRequestProperties): Likewise.
27977 (getRequestProperty): Likewise.
27978 (setDefaultRequestProperty): Likewise.
27979 (setRequestProperty): Likewise.
27981 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
27983 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
27984 * examples/gnu/classpath/examples/swing/Demo.java:
27985 (mkButtonBar): Changed layout manager to GridLayout, added entry for
27987 (mkMenuBar): Added entry for text area example.
27989 2006-03-06 Tom Tromey <tromey@redhat.com>
27991 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
27992 (FORMATTED_TEXT_FIELD): Likewise.
27994 2006-03-06 Tom Tromey <tromey@redhat.com>
27996 * javax/swing/plaf/synth/SynthPainter.java: Finished.
27998 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28000 * examples/gnu/classpath/examples/swing/Demo.java:
28001 (mkMenuBar): Added menu entry that will display the VM's name,
28002 version and distributor.
28004 2006-03-06 Tom Tromey <tromey@redhat.com>
28006 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
28008 (getName): Likewise.
28010 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28012 * java/util/jar/Manifest.java: Removed unused imports.
28013 (CRLF): New constant.
28014 (read): Added method documentation.
28015 Use UTF-8 encoding instead of 8859_1.
28016 (write): Added method documentation.
28017 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28018 (write_main_section): Replace PrintWriter arg with OutputStream.
28019 Replace JarException with IOException.
28020 (write_version_info): Likewise.
28021 (write_main_attributes): Likewise.
28022 (write_attribute_entry): Likewise.
28023 (write_individual_sections): Likewise.
28024 (write_entry_attributes): Likewise.
28025 (write_header): Replace PrintWriter arg with OutputStream.
28028 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28031 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28032 API doc tag warnings,
28033 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28035 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28037 * gnu/java/net/protocol/file/Connection.java (unquote):
28038 Update position in buffer after decoding a unicode character
28039 outside of the basic plane.
28041 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28043 * java/net/URI.java
28044 (quote): Pass Unicode characters outside the basic plane through.
28046 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28048 * javax/swing/plaf/basic/BasicTextUI.java:
28049 (damageRange): Rewritten if-expressions to correctly identify the
28052 2006-03-06 Mark Wielaard <mark@klomp.org>
28054 * configure.ac: Set version to 0.90-generics.
28057 2006-03-06 Mark Wielaard <mark@klomp.org>
28059 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28060 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28061 (isnan): Define explicitly isnan if it is not a macro.
28063 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28065 * javax/swing/text/GapContent.java:
28066 (insertString): Throw exception when argument is below
28069 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28071 * javax/swing/text/PlainDocument.java:
28072 (insertUpdate): Extended if-expression, added
28073 code to generate another Element when newly inserted characters
28074 and old ones will be on the same line.
28076 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28078 * javax/swing/text/DefaultCaret.java:
28079 (mouseDragged): Do selection when shift is pressed.
28080 (mouseClicked): Implemented.
28082 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28084 * javax/swing/text/PlainDocument.java: Fix copyright header,
28086 (insertUpdate): Do not copy the whole document any more, added some
28087 more variables to prevent needless method calls.
28089 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28091 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28092 is required on Darwin.
28093 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28094 (AM_CFLAGS): Likewise.
28096 2006-03-06 Mark Wielaard <mark@klomp.org>
28098 * NEWS: Add updates for 0.90 release.
28100 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28102 * javax/swing/text/GapContent.java:
28103 (insertString): Throw exception when argument is below
28106 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28109 * javax/swing/filechooser/FileFilter.java:
28110 (accept): Fixed API doc tag,
28111 (getDescription): Likewise,
28112 * javax/swing/filechooser/FileView.java:
28113 (isTraversable): Fixed API doc tag.
28115 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28117 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28118 added API docs all over.
28120 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28122 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28123 and corrected a bad API doc tag.
28125 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28127 * javax/swing/undo/StateEditable.java
28128 (restoreState): Fixed bad API doc tag,
28129 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28130 AbstractUndoableEdit.java,
28131 * javax/swing/undo/UndoableEditSupport.java
28132 (createCompoundEdit): Fixed bad API doc tag,
28133 * javax/swing/undo/UndoManager.java
28134 (editToBeUndone): Fixed bad API doc tag,
28135 (editToBeRedone): Likewise.
28137 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28139 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28140 * javax/swing/FocusManager.java: Likewise.
28143 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28146 * javax/swing/plaf/metal/MetalComboBoxButton.java
28147 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28148 JList)): Fixed API doc tag,
28149 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28150 (createLayout): Fixed API doc warning.
28152 2006-03-05 Tom Tromey <tromey@redhat.com>
28154 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28155 ClassHelper.getUserName.
28156 * vm/reference/java/lang/reflect/Method.java (toString): Use
28157 ClassHelper.getUserName.
28158 (getUserTypeName): Removed.
28159 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28160 * vm/reference/java/lang/reflect/Field.java (toString): Use
28161 ClassHelper.getUserName.
28163 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28166 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28167 Allows directories as valid resources.
28169 2006-03-05 Mark Wielaard <mark@klomp.org>
28171 * configure.ac (VERSION): Set to 0.90-pre-generics.
28172 * Merge with CVS trunk from classpath-0_90-branch-point.
28174 2006-03-04 Tom Tromey <tromey@redhat.com>
28176 * javax/swing/SpringLayout.java (Constraints): New constructor.
28177 * javax/swing/Spring.java (width): New method.
28178 (height): Likewise.
28181 2006-03-04 Mark Wielaard <mark@klomp.org>
28183 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28184 existing connection from pool before returning.
28186 2006-03-04 Mark Wielaard <mark@klomp.org>
28188 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28189 exceptions thrown by handlers while cleaning up and rethrow original
28192 2006-03-04 Tom Tromey <tromey@redhat.com>
28194 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28196 (findConstructor): Likewise.
28197 (instantiateClass): Likewise.
28199 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28201 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28202 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28203 lease value and not always the default one.
28204 (LeaseRecord): Remember the array of objects, marked as dirty.
28205 java/rmi/dgc/Lease.java: Boilerplate fix.
28207 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28209 * java/util/jar/Attributes.java (putValue): Made it public and updated
28210 method documentation.
28212 2006-03-04 Mark Wielaard <mark@klomp.org>
28214 * java/awt/Container.java (remove(int)): Always call removeNotify()
28215 on removed Component.
28217 2006-03-04 Mark Wielaard <mark@klomp.org>
28219 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28220 * javax/swing/JEditorPane.java (setText): Check for empty String
28221 with equals(), not equality (==).
28223 2006-03-04 Mark Wielaard <mark@klomp.org>
28225 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28226 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28228 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28230 * javax/swing/text/GapContent.java
28231 (getArray): Mark as final.
28233 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28235 * javax/swing/text/StyleConstants.java
28236 (CharacterConstants.Background): Marked final,
28237 (CharacterConstants.BidiLevel): Likewise,
28238 (CharacterConstants.Bold): Likewise,
28239 (CharacterConstants.ComponentAttribute): Likewise,
28240 (CharacterConstants.Family): Likewise,
28241 (CharacterConstants.Size): Likewise,
28242 (CharacterConstants.Foreground): Likewise,
28243 (CharacterConstants.IconAttribute): Likewise,
28244 (CharacterConstants.Italic): Likewise,
28245 (CharacterConstants.StrikeThrough): Likewise,
28246 (CharacterConstants.Subscript): Likewise,
28247 (CharacterConstants.Superscript): Likewise,
28248 (CharacterConstants.Underline): Likewise,
28249 (ColorConstants.Foreground): Likewise,
28250 (ColorConstants.Background): Likewise,
28251 (FontConstants.Bold): Likewise,
28252 (FontConstants.Family): Likewise,
28253 (FontConstants.Italic): Likewise,
28254 (FontConstants.Size): Likewise,
28255 (ParagraphConstants.Alignment): Likewise,
28256 (ParagraphConstants.FirstLineIndent): Likewise,
28257 (ParagraphConstants.LeftIndent): Likewise,
28258 (ParagraphConstants.LineSpacing): Likewise,
28259 (ParagraphConstants.Orientation): Likewise,
28260 (ParagraphConstants.RightIndent): Likewise,
28261 (ParagraphConstants.SpaceAbove): Likewise,
28262 (ParagraphConstants.SpaceBelow): Likewise,
28263 (ParagraphConstants.TabSet): Likewise.
28265 2006-03-03 Tom Tromey <tromey@redhat.com>
28267 * javax/net/ssl/SSLException.java: Added missing @since.
28270 2006-03-03 Tom Tromey <tromey@redhat.com>
28272 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28273 (serialVersionUID): New field.
28275 2006-03-03 Tom Tromey <tromey@redhat.com>
28277 * java/security/spec/InvalidKeySpecException.java
28278 (InvalidKeySpecException): New constructors.
28279 * java/security/cert/CertificateParsingException.java
28280 (CertificateParsingException): New constructors.
28281 * java/security/cert/CertificateEncodingException.java
28282 (CertificateEncodingException): New constructors.
28283 * java/security/cert/CertificateException.java (CertificateException):
28285 * java/security/cert/CRLException.java (CRLException): New
28288 2006-03-03 Tom Tromey <tromey@redhat.com>
28290 * java/security/SignatureException.java (SignatureException): New
28292 * java/security/ProviderException.java (ProviderException): New
28294 * java/security/NoSuchAlgorithmException.java
28295 (NoSuchAlgorithmException): New constructors.
28296 * java/security/KeyStoreException.java (KeyStoreException): New
28298 * java/security/KeyManagementException.java (KeyManagementException):
28300 * java/security/InvalidKeyException.java (InvalidKeyException): New
28302 * java/security/KeyException.java (KeyException): New constructors.
28303 * java/security/InvalidAlgorithmParameterException.java
28304 (InvalidAlgorithmParameterException): New constructors.
28305 * java/security/DigestException.java (DigestException): New
28307 * java/security/GeneralSecurityException.java
28308 (GeneralSecurityException): New constructors.
28310 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28312 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28314 * javax/swing/event/DocumentEvent.java: Likewise,
28315 * javax/swing/event/EventListenerList.java: Likewise,
28316 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28317 * javax/swing/event/MenuKeyEvent.java: Likewise,
28318 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28319 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28320 * javax/swing/event/TreeModelEvent.java: Likewise,
28321 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28322 * javax/swing/event/UndoableEditEvent.java: Likewise.
28324 2006-03-03 Tom Tromey <tromey@redhat.com>
28326 * java/awt/Insets.java (set): New method.
28327 (equals): Added @since.
28329 2006-03-03 David Daney <ddaney@avtrex.com>
28331 * gnu/java/net/protocol/http/HTTPURLConnection.java
28332 (getRequestProperties): Rewrote.
28333 (addRequestProperty): Rewrote.
28334 (getHeaderFields): Rewrote.
28335 (getHeaderField): Rewrote.
28336 (getHeaderFieldKey): Rewrote.
28337 (getHeaderField): Removed useless cast.
28338 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28339 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28341 (notifyHeaderHandlers): Use new Headers interface.
28343 2006-03-03 Tom Tromey <tromey@redhat.com>
28345 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28346 * javax/naming/spi/ResolveResult.java,
28347 javax/naming/event/NamingExceptionEvent.java,
28348 javax/naming/event/NamingEvent.java,
28349 javax/naming/directory/SearchResult.java,
28350 javax/naming/directory/SearchControls.java,
28351 javax/naming/directory/SchemaViolationException.java,
28352 javax/naming/directory/NoSuchAttributeException.java,
28353 javax/naming/directory/ModificationItem.java,
28354 javax/naming/directory/InvalidSearchFilterException.java,
28355 javax/naming/directory/InvalidSearchControlsException.java,
28356 javax/naming/directory/InvalidAttributesException.java,
28357 javax/naming/directory/InvalidAttributeIdentifierException.java,
28358 javax/naming/directory/AttributeModificationException.java,
28359 javax/naming/directory/AttributeInUseException.java,
28360 javax/naming/TimeLimitExceededException.java,
28361 javax/naming/SizeLimitExceededException.java,
28362 javax/naming/PartialResultException.java,
28363 javax/naming/Reference.java,
28364 javax/naming/ServiceUnavailableException.java,
28365 javax/naming/OperationNotSupportedException.java,
28366 javax/naming/NotContextException.java,
28367 javax/naming/NoPermissionException.java,
28368 javax/naming/NoInitialContextException.java,
28369 javax/naming/NameNotFoundException.java,
28370 javax/naming/NameAlreadyBoundException.java,
28371 javax/naming/NameClassPair.java,
28372 javax/naming/MalformedLinkException.java,
28373 javax/naming/LinkLoopException.java,
28374 javax/naming/LinkException.java,
28375 javax/naming/LimitExceededException.java,
28376 javax/naming/InvalidNameException.java,
28377 javax/naming/InterruptedNamingException.java,
28378 javax/naming/InsufficientResourcesException.java,
28379 javax/naming/ContextNotEmptyException.java,
28380 javax/naming/ConfigurationException.java,
28381 javax/naming/CannotProceedException.java,
28382 javax/naming/CommunicationException.java,
28383 javax/naming/Binding.java,
28384 javax/naming/AuthenticationNotSupportedException.java,
28385 javax/naming/AuthenticationException.java: Added serialVersionUID.
28387 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28389 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28391 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28393 * javax/swing/event/TableModelListener.java: Updated API docs.
28395 2006-03-03 Mark Wielaard <mark@klomp.org>
28397 * java/awt/Component.java (addNotify): Expand documentation.
28399 2006-03-03 Mark Wielaard <mark@klomp.org>
28401 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28402 Always call setParentAndBounds().
28403 (setComponentBounds): Always call setBounds().
28404 (setBounds): Call setVisible().
28405 (setVisible): If no pixels are showing then don't make it visible.
28406 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28407 to call setParentAndBounds() anymore.
28409 2006-03-03 Roman Kennke <kennke@aicas.com>
28411 * javax/swing/JInternalFrame.java
28412 (JInternalFrame): Set frame invisible.
28413 (show): Reformatted.
28414 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28415 (installDefaults): Do not set invisible here.
28417 2006-03-03 Roman Kennke <kennke@aicas.com>
28419 * java/awt/Toolkit.java
28420 (getScreenInsets): Return (0,0,0,0) here.
28422 2006-03-03 Roman Kennke <kennke@aicas.com>
28424 * javax/swing/text/FlowView.java
28425 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28426 (FlowStrategy.getLogicalView): Made method protected.
28428 2006-03-03 Chris Burdess <dog@gnu.org>
28430 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28431 gnu/xml/validation/relaxng/AttributePattern.java,
28432 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28433 gnu/xml/validation/relaxng/ChoicePattern.java,
28434 gnu/xml/validation/relaxng/DataPattern.java,
28435 gnu/xml/validation/relaxng/Define.java,
28436 gnu/xml/validation/relaxng/ElementPattern.java,
28437 gnu/xml/validation/relaxng/EmptyPattern.java,
28438 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28439 gnu/xml/validation/relaxng/Grammar.java,
28440 gnu/xml/validation/relaxng/GrammarException.java,
28441 gnu/xml/validation/relaxng/GrammarValidator.java,
28442 gnu/xml/validation/relaxng/GroupPattern.java,
28443 gnu/xml/validation/relaxng/InterleavePattern.java,
28444 gnu/xml/validation/relaxng/ListPattern.java,
28445 gnu/xml/validation/relaxng/NSNameNameClass.java,
28446 gnu/xml/validation/relaxng/NameClass.java,
28447 gnu/xml/validation/relaxng/NameNameClass.java,
28448 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28449 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28450 gnu/xml/validation/relaxng/Param.java,
28451 gnu/xml/validation/relaxng/Pattern.java,
28452 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28453 gnu/xml/validation/relaxng/RefPattern.java,
28454 gnu/xml/validation/relaxng/TextPattern.java,
28455 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28456 builder and data model.
28457 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28458 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28459 gnu/xml/validation/xmlschema/AttributeUse.java,
28460 gnu/xml/validation/xmlschema/ComplexType.java,
28461 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28462 gnu/xml/validation/xmlschema/Particle.java,
28463 gnu/xml/validation/xmlschema/ValidationException.java,
28464 gnu/xml/validation/xmlschema/XMLSchema.java,
28465 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28466 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28467 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28468 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28469 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28470 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28471 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28472 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28473 W3C XML Schema builder and schema components.
28474 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28475 XML Schema namespace URIs.
28477 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28479 * NEWS: Add entry for --enable-collections.
28480 * configure.ac: Add --enable-collections option.
28481 * lib/Makefile.am (collections.jar): New target.
28482 (glibj_DATA): Add $(COLLECTIONS).
28483 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28484 configure substitution.
28485 (classpath): Read from command line.
28486 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28488 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28490 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28492 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28494 * javax/swing/event/ListSelectionEvent.java
28495 (toString): Implemented,
28496 plus updated API docs all over.
28498 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28500 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28502 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28504 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28506 * gnu/java/rmi/dgc/DGCImpl.java,
28507 java/rmi/dgc/DGC.java,
28508 java/rmi/dgc/Lease.java: Formatted and commented.
28510 2006-03-03 Roman Kennke <kennke@aicas.com>
28512 * NEWS: Added comment about text highlighting and copy+paste
28515 2006-03-03 Roman Kennke <kennke@aicas.com>
28517 * javax/swing/JTabbedPane.java
28518 (remove(int)): Call super.remove(int) instead of remove(Component).
28519 Avoids a stack overflow.
28521 2006-03-03 Roman Kennke <kennke@aicas.com>
28523 * javax/swing/JTable.java
28524 (distributeSpillResizing): Avoid ArithmeticException by checking
28527 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28529 * javax/swing/text/package.html: Added package description.
28531 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28533 * javax/swing/CellRendererPane.java: Minor API doc fix,
28534 * javax/swing/ComboBoxModel.java: Updated API docs.
28536 2006-03-03 Chris Burdess <dog@gnu.org>
28539 * gnu/xml/stream/EntityReferenceImpl.java,
28540 gnu/xml/stream/FilteredEventReader.java,
28541 gnu/xml/stream/SAXParser.java,
28542 gnu/xml/stream/XIncludeFilter.java,
28543 gnu/xml/stream/XMLEventAllocatorImpl.java,
28544 gnu/xml/stream/XMLEventFactoryImpl.java,
28545 gnu/xml/stream/XMLEventImpl.java,
28546 gnu/xml/stream/XMLEventReaderImpl.java,
28547 gnu/xml/stream/XMLEventWriterImpl.java,
28548 gnu/xml/stream/XMLInputFactoryImpl.java,
28549 gnu/xml/stream/XMLOutputFactoryImpl.java,
28550 gnu/xml/stream/XMLParser.java,
28551 javax/xml/stream/EventFilter.java,
28552 javax/xml/stream/Location.java,
28553 javax/xml/stream/StreamFilter.java,
28554 javax/xml/stream/XMLEventFactory.java,
28555 javax/xml/stream/XMLEventReader.java,
28556 javax/xml/stream/XMLEventWriter.java,
28557 javax/xml/stream/XMLInputFactory.java,
28558 javax/xml/stream/XMLOutputFactory.java,
28559 javax/xml/stream/XMLReporter.java,
28560 javax/xml/stream/XMLResolver.java,
28561 javax/xml/stream/XMLStreamConstants.java,
28562 javax/xml/stream/XMLStreamReader.java,
28563 javax/xml/stream/events/EntityDeclaration.java,
28564 javax/xml/stream/events/EntityReference.java,
28565 javax/xml/stream/events/XMLEvent.java,
28566 javax/xml/stream/util/EventReaderDelegate.java,
28567 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28568 StAX API as specified in JWSDP 2.0.
28569 * gnu/xml/stream/EndEntityImpl.java,
28570 gnu/xml/stream/LocationImpl.java,
28571 gnu/xml/stream/StartEntityImpl.java,
28572 gnu/xml/stream/XMLStreamReaderImpl.java,
28573 javax/xml/stream/XMLFilter.java,
28574 javax/xml/stream/XMLIterator.java,
28575 javax/xml/stream/events/EndEntity.java,
28576 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28578 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28580 * javax/swing/CellEditor.java: API doc updates,
28581 * javax/swing/DefaultCellEditor.java: Likewise.
28583 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28585 * javax/swing/AbstractListModel.java:
28586 (AbstractListModel): Added API docs,
28587 (fireContentsChanged): Minor API doc correction,
28588 (fireIntervalAdded): Likewise,
28589 (fireIntervalRemoved): Likewise.
28591 2006-03-03 Roman Kennke <kennke@aicas.com>
28593 * NEWS: Added paragraph about Swing improvements.
28595 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28597 * javax/swing/AbstractAction.java: Updated API docs all over,
28598 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28599 (stopCellEditing): Minor API doc correction,
28600 * javax/swing/UnsupportedLookAndFeelException.java
28601 (UnsupportedLookAndFeelException): Changed argument name, updated API
28604 2006-03-03 Roman Kennke <kennke@aicas.com>
28606 * javax/swing/plaf/metal/MetalUtils.java
28607 (fillMetalPattern): Added switch to not use Graphics2D methods,
28608 even if they are available.
28610 2006-03-03 Roman Kennke <kennke@aicas.com>
28612 * javax/swing/plaf/basic/BasicHTML.java
28613 (isHTMLString): Check for string beeing null.
28614 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28615 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28616 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28617 (InternalFrameLayout): Don't touch the glass pane here.
28618 (installUI): Fix handling of glass pane.
28619 * javax/swing/plaf/basic/BasicLabelUI.java
28623 (BasicLabelUI): Initialize new fields.
28624 (getPreferredSize): Avoid creating new Rectangles by using
28625 SwingUtilities method.
28626 (paint): Avoid creating new Rectangles by reusing
28627 new fields. Added some preliminary handling of HTML inside the
28629 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28630 (uninstallComponents): Clear HTML renderer.
28631 (propertyChange): Check for HTML text and install renderer if
28633 * javax/swing/plaf/basic/BasicListUI.java
28634 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28636 * javax/swing/plaf/basic/BasicTextUI.java
28637 (RootView.getStartOffset): Implemented.
28638 (RootView.getEndOffset): Implemented.
28639 (RootView.getDocument): Implemented.
28641 2006-03-03 Roman Kennke <kennke@aicas.com>
28643 * javax/swing/text/DefaultStyledDocument.java
28644 (ElementBuffer.inserUpdate): Added check for zero-length
28646 * javax/swing/text/DefaultStyledDocument.java
28647 (setIndex): Improved exception message.
28648 * javax/swing/text/TableView.java
28649 Made class abstract.
28650 (TableRow.replace): Probably extend columnRequirements
28652 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28653 of super.layoutMajorAxis.
28654 (columnRequirements): Made field package private.
28655 (TableView): Do not load any child views here.
28656 (layoutColumns): Implemented this method.
28657 (updateColumnRequirements): New helper method.
28658 * javax/swing/text/Utilities.java
28659 (getBreakLocation): Also take offset into account when
28660 finding end location.
28661 * javax/swing/text/html/HTMLDocument.java
28662 (HTMLReader.parseStack): New field.
28663 (HTMLReader.blockOpen): Properly handle p-implied tags.
28664 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28665 (HTMLReader.addContent): Insert p-implied when adding content to
28667 * javax/swing/text/html/HTMLEditorKit.java
28668 (HTMLFactory.create): Create HTMLTableView for <table> tags and
28669 ParagraphView for TD tags. Print out warning for tags that don't have
28670 matching view yet and create NullView for them.
28671 (read): Only set document base when document != null.
28672 * javax/swing/text/html/HTMLTableView.java:
28675 2006-03-03 Roman Kennke <kennke@aicas.com>
28677 * javax/swing/plaf/basic/BasicHTML.java
28678 (HTMLRootView): New inner class.
28679 (createHTMLView): Embed view inside a HTMLRootView.
28681 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
28683 * gnu/java/net/protocol/jar/Connection.java:
28684 (connect): Throw FileNotFoundException.
28685 (getInputStream): Remove duplicated code.
28687 2006-03-03 Roman Kennke <kennke@aicas.com>
28689 * javax/swing/RepaintManager.java
28690 (commitBuffer): Added null check for clip.
28692 2006-03-02 Lillian Angel <langel@redhat.com>
28694 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28695 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28696 to use GtkWidget instead of GTKMenu.
28698 2006-03-02 Lillian Angel <langel@redhat.com>
28700 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28701 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
28702 use the submenu to get the list of children. This now works
28703 in the same way as addItem.
28705 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
28707 * java/lang/StringBuilder.java:
28708 (codePointAt): New method.
28709 (codePointBefore): Likewise.
28710 (codePointCount): Likewise.
28711 (trimToSize): Likewise.
28713 2006-03-02 Tom Tromey <tromey@redhat.com>
28715 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28717 2006-03-02 Tom Tromey <tromey@redhat.com>
28719 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28720 (getProviderInstance):
28722 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
28724 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28725 Fix regression caused by move to VM variant.
28726 PR classpath/22926.
28728 2006-03-01 Tom Tromey <tromey@redhat.com>
28730 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28731 * vm/reference/java/net/VMInetAddress.java: Organized imports.
28732 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28733 imports for javadoc.
28734 (getProxyClass): Javadoc fixes.
28735 (getProxyData): Likewise.
28736 (generateProxyClass): Likewise.
28737 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28738 (setOut): Likewise.
28739 (setErr): Likewise.
28740 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28741 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28743 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28745 (getModifiers): Likewise.
28746 (getDeclaredClasses): Javadoc fix.
28747 (getDeclaredFields): Likewise.
28748 (getDeclaredMethods): Likewise.
28749 (getDeclaredConstructors): Likewise.
28750 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28753 2006-03-01 Tom Tromey <tromey@redhat.com>
28755 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28756 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28757 (getVersion): Javadoc fix.
28759 * gnu/java/net/protocol/http/Headers.java: Organized imports.
28760 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28762 2006-03-01 David Daney <ddaney@avtrex.com>
28764 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28765 as relative if it contains a colon but no protocol handler can be
28768 2006-03-01 Roman Kennke <kennke@aicas.com>
28770 * javax/swing/text/AbstractDocument.java
28771 (LeafElement.LeafElement): Handle delta with respect to content
28772 length not document length.
28773 * javax/swing/text/CompositeView.java
28774 (getViewIndex): Handle bias correctly.
28775 * javax/swing/text/DefaultCaret.java
28776 (paint): Align caret position to document bounds to avoid trouble
28777 when removing large portions of content.
28778 * javax/swing/text/DefaultStyledDocument.java
28779 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28780 (ElementBuffer.createFracture): Copy old childs attribute. The
28781 ElementSpec usually doesn't carry attribute information.
28782 Use pos instead of offset.
28783 (ElementBuffer.insertFracture): Use pos instead of offset.
28784 (createDefaultRootElement): Don't use create* and instead directly
28785 instantiate the elements.
28786 (handleInsertAfterNewline): Compare the paragraphs startOffset
28787 rather than previous paragraphs endOffset.
28788 * javax/swing/text/JTextComponent.java
28789 (getScrollableTracksViewportWidth): Remove unnecessary cast to
28791 (getScrollableTracksViewportHeight): Remove unnecessary cast to
28793 * javax/swing/text/PlainView.java
28794 (damageLineRange): Avoid creating new Rectangle by using
28796 * javax/swing/text/View.java
28797 (forwardUpdate): Correct the use of bias.
28798 (modelToView): Avoid new Rectangles by using SwingUtilities.
28799 (dump): Made (temprorarily) protected for use in BasicTextUI.
28800 (dump(int)): Dump out the element of the view.
28802 2006-03-01 Lillian Angel <langel@redhat.com>
28804 * NEWS: javax.imageio.plugins.bmp implementation.
28806 2006-03-01 Lillian Angel <langel@redhat.com>
28808 * javax/imageio/ImageWriteParam.java:
28809 Added documentation for fields.
28810 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28811 New class implemented.
28813 2006-03-01 Tom Tromey <tromey@redhat.com>
28815 * NEWS: Mention java.util.prefs update.
28817 2006-03-01 Tom Tromey <tromey@redhat.com>
28819 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28820 * java/nio/charset/UnmappableCharacterException.java:
28821 (serialVersionUID): New field.
28822 * java/nio/charset/MalformedInputException.java:
28823 (serialVersionUID): New field.
28824 * java/nio/charset/CoderMalfunctionError.java:
28825 (serialVersionUID): New field.
28826 * java/nio/charset/CharacterCodingException.java:
28827 (serialVersionUID): New field.
28828 * java/nio/channels/UnsupportedAddressTypeException.java:
28829 (serialVersionUID): New field.
28830 * java/nio/channels/UnresolvedAddressException.java:
28831 (serialVersionUID): New field.
28832 * java/nio/channels/OverlappingFileLockException.java:
28833 (serialVersionUID): New field.
28834 * java/nio/channels/NotYetConnectedException.java:
28835 (serialVersionUID): New field.
28836 * java/nio/channels/NotYetBoundException.java
28837 (serialVersionUID): New field.
28838 * java/nio/channels/NonWritableChannelException.java
28839 (serialVersionUID): New field.
28840 * java/nio/channels/NonReadableChannelException.java
28841 (serialVersionUID): New field.
28842 * java/nio/channels/NoConnectionPendingException.java
28843 (serialVersionUID): New field.
28844 * java/nio/channels/IllegalSelectorException.java
28845 (serialVersionUID): New field.
28846 * java/nio/channels/IllegalBlockingModeException.java
28847 (serialVersionUID): New field.
28848 * java/nio/channels/FileLockInterruptionException.java
28849 (serialVersionUID): New field.
28850 * java/nio/channels/ConnectionPendingException.java
28851 (serialVersionUID): New field.
28852 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28854 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28856 * java/nio/channels/ClosedByInterruptException.java
28857 (serialVersionUID): New field.
28858 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
28860 * java/nio/channels/AsynchronousCloseException.java
28861 (serialVersionUID): New field.
28862 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28864 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28865 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28866 * java/nio/BufferUnderflowException.java (serialVersionUID): New
28868 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28869 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28870 Javadoc fix. Added import.
28871 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28872 (validOps): Likewise.
28873 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28874 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28875 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28876 * java/nio/channels/Channels.java: Added import.
28877 * java/nio/channels/FileChannel.java (lock): Typo fix.
28878 (tryLock): Likewise.
28880 2006-03-01 Tom Tromey <tromey@redhat.com>
28882 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28884 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28885 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28887 (putSpi): Likewise.
28888 (newNode): Likewise.
28890 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28891 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28893 (systemRoot): Use it.
28894 (userPreferences): New field.
28895 (userRoot): Use it.
28897 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
28899 * java/util/ResourceBundle.java
28900 (tryBundle): Catch and ignore all Exceptions.
28902 2006-02-28 Roman Kennke <kennke@aicas.com>
28904 * javax/swing/plaf/basic/BasicScrollBarUI.java
28905 (getPreferredSize): Fixed add a fixed space between the buttons
28906 instead of something related to min/max.
28907 (installComponents): Create and install buttons here.
28908 (installDefaults): Don't create buttons here.
28909 * javax/swing/plaf/metal/MetalScrollBarUI.java
28910 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28911 (getPreferredSize): New method.
28913 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
28915 * examples/gnu/classpath/examples/swing/Demo.java
28916 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28917 connected 'Spinner' action to SpinnerDemo,
28918 (mkCheckbox): Removed,
28919 (mkRadio): Likewise,
28920 (mkSpinner): Likewise,
28921 (mkToggle): Likewise,
28922 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28923 connected 'Spinner' action to SpinnerDemo.
28925 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
28927 * javax/print/ServiceUIFactory.java: Added documentation to class.
28929 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
28932 * javax/swing/DefaultListSelectionModel.java:
28933 (addSelectionInterval): Return early if either of the arguments is -1.
28934 (removeSelectionInterval): Likewise.
28935 (setSelectionInterval): Likewise.
28937 2006-02-28 Lillian Angel <langel@redhat.com>
28939 * javax/swing/text/DefaultFormatter.java
28940 (stringToValue): Added NPE check.
28942 2006-02-28 Roman Kennke <kennke@aicas.com>
28945 * javax/swing/JList.java
28946 (getPreferredScrollableViewportSize): Restored specified behaviour.
28947 * javax/swing/plaf/metal/MetalFileChooserUI.java
28948 (createList): Set filelist panel's preferredSize, so that it doesn't
28949 get size into infinity for big lists.
28951 2006-02-28 Lillian Angel <langel@redhat.com>
28953 * javax/swing/ViewportLayout.java
28954 (layoutContainer): Should not extend container to be
28955 minimum size. Mauve test shows that the preferred size
28956 and the size of the viewport can be set smaller than
28959 2006-02-28 Lillian Angel <langel@redhat.com>
28962 * javax/swing/JList.java
28963 (getPreferredScrollableViewportSize): Added a check to determine
28964 if orientation is VERTICAL_WRAP. If it is, we should only
28967 2006-02-28 Lillian Angel <langel@redhat.com>
28970 * javax/swing/ViewportLayout.java:
28971 Patch submitted by Audrius Meskauskas
28972 (addLayoutComponent): Added documentation.
28973 (removeLayoutComponent): Likewise.
28974 (preferredLayoutSize): Likewise.
28975 (minimumLayoutSize): Likewise.
28976 (layoutContainer): Fixed code, so view is set
28977 to the right position when inside a scrollpane.
28979 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
28981 * java/math/BigInteger.java:
28982 Committed patch by Rafael:
28983 developer.classpath.org/pipermail/classpath-patches/
28984 2006-February/000473.html
28985 (signum): Return early 0 if words == null and ival == 0.
28986 (readObject): Handle special case of magnitude.length or signum being
28988 (writeObject): If signum is zero return a zero-sized byte[].
28990 2006-02-28 Lillian Angel <langel@redhat.com>
28992 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
28993 (create): Initially set the directory to the current working directory.
28994 (setDirectory): Removed else-if. No need for this check.
28996 2006-02-28 Tom Tromey <tromey@redhat.com>
28998 * .project: Run java builder before header generation.
29000 2006-02-28 Tom Tromey <tromey@redhat.com>
29002 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29004 * gnu/java/util/prefs/EventDispatcher.java: New file.
29005 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29006 (NodeWriter): Specify UTF-8.
29007 (writeHeader): Emit DOCTYPE.
29008 * java/util/prefs/Preferences.java (getFactory): Add cause to
29010 (exportNode): Documented.
29011 (exportSubtree): Likewise.
29012 (importPreferences): Likewise.
29013 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29014 (writeObject): Likewise.
29015 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29016 (writeObject): Likewise.
29017 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29018 (nodeListeners): New field.
29019 (preferenceListeners): Likewise.
29020 (addNodeChangeListener): Implemented.
29021 (addPreferenceChangeListener): Likewise.
29022 (removeNodeChangeListener): Likewise.
29023 (removePreferenceChangeListener): Likewise.
29024 (fire): New methods.
29026 (remove): Likewise.
29027 (purge): Likewise. Fixed synchronization.
29028 (removeNode): Fixed synchronization.
29029 (getNode): Fire event.
29030 (flushNode): Fixed synchronization.
29032 2006-02-28 Roman Kennke <kennke@aicas.com>
29034 * javax/swing/text/BranchElement.java
29035 (startOffset): New field.
29036 (endOffset): New field.
29037 (BranchElement): Initialize new fields.
29038 (getEndOffset): Rewritten to possibly return cached values
29039 if element has no children.
29040 (getStartOffset): Rewritten to possibly return cached values
29041 if element has no children.
29042 * javax/swing/text/LeafElement.java
29043 (startDelta): New field.
29044 (endDelta): New field.
29045 (LeafElement): Handle possible delta of start/endOffset when
29046 these parameters lie outside the document range.
29047 (getStartOffset): Handle possible startDelta.
29048 (getEndOffset): Handle possible startDelta.
29050 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29052 * NEWS: Added line about Unicode 4.0.0 support.
29054 2006-02-28 Roman Kennke <kennke@aicas.com>
29056 * javax/swing/SwingUtilities.java
29057 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29059 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29061 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29063 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29065 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29066 Amended class documentation.
29067 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29069 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29070 a BIT STRING construct.
29071 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29073 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29075 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29076 a BIT STRING construct.
29077 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29078 (engineVerify): Added logging.
29080 2006-02-28 Roman Kennke <kennke@aicas.com>
29082 * java/awt/Component.java
29083 (dispatchEventImpl): Let the Toolkit dispatch global events.
29084 * java/awt/Container.java
29085 (dispatchEventImpl): Let the LightweightDispatcher handle events
29087 * java/awt/EventQueue.java
29088 (dispatchEvent): Don't do the global event dispatching here. This
29089 is moved to the Component.
29090 (globalDispatchEvent): Moved this method to Toolkit.
29091 * java/awt/LightweightDispatcher.java
29092 (instances): New field.
29093 (getInstance): New method. Delivers an instance of
29094 LightweightDispatcher.
29095 (LightweightDispatcher): Made default constructor private.
29096 (dispatchEvent): New method. Replaces the eventDispatched method.
29097 This now returns true when the event was actually dispatched.
29098 (eventDispatched): Replaced by dispatchEvent.
29099 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29100 received the last MOUSE_RELEASED.
29101 * java/awt/Toolkit.java
29102 (Toolkit): Don't register LightweightDispatcher as global event
29104 (globalDispatchEvent): Moved here from EventQueue.
29106 2006-02-27 David Daney <ddaney@avtrex.com>
29109 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29111 (getRequestProperties): Rewrote.
29113 2006-02-27 David Daney <ddaney@avtrex.com>
29116 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29118 (ChunkedInputStream): Extend InputStream.
29120 (headers): Moved to top of class.
29121 (constructor): Save referenct to in.
29122 (read(byte[])): Removed method.
29123 (read(byte[], int, int)): Made synchronized and throw IOException
29124 on error parsing chunk header.
29125 (available): New method.
29126 (close): New method.
29128 2006-02-27 David Daney <ddaney@avtrex.com>
29130 * gnu/java/net/protocol/http/HTTPURLConnection.java
29131 (imports): Cleaned up.
29132 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29133 (constructor): ... Here, using SystemProperties instead of System.
29135 2006-02-27 Lillian Angel <langel@redhat.com>
29137 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29138 (setDirectory): GtkFileChooser requires an absolute directory
29139 name. Added a check to make the directory passed to nativeSetDirectory
29142 2006-02-27 Roman Kennke <kennke@aicas.com>
29144 * javax/swing/SwingUtilities.java
29145 (computeIntersection): Changed to store result in rect, instead of
29146 creating new Rectangle instances. Fixed API docs accordingly.
29147 (computeUnion): Changed to store result in rect, instead of
29148 creating new Rectangle instances. Fixed API docs accordingly.
29150 2006-02-27 Roman Kennke <kennke@aicas.com>
29152 * javax/swing/JViewport.java
29153 (static_init): Changed default scrollmode to BLIT.
29154 (paintSimple): Added some clipping to avoid painting problems.
29155 (paintBlit): Added some clipping to avoid painting problems.
29157 2006-02-27 Roman Kennke <kennke@aicas.com>
29159 * javax/swing/JComponent.java
29160 (rectCache): Made field static to save memory.
29161 (getVisibleRect): Don't use rectCache and create new Rectangle
29163 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29164 (repaint(long,int,int,int,int)): Directly call
29165 RepaintManager.addDirtyRegion(). The visibleRect check is now
29166 performed in the RepaintManager.
29168 2006-02-27 Roman Kennke <kennke@aicas.com>
29170 * javax/swing/RepaintManager.java
29171 (currentRepaintManagers): Made field private.
29172 (rectCache): New field.
29173 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29174 component. Changed Rectangle handling to avoid unnecessary new
29175 Rectangle instances.
29176 (getOffscreenBuffer): Create buffer with size of the root window.
29177 Respect the maximum buffer size here.
29178 (commitBuffer): Align the regions so that they are inside the buffer
29179 image and inside the clip. This avoids problems with a bug in GTKImage.
29180 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29182 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29184 * native/fdlibm/e_acos.c,
29185 * native/fdlibm/e_asin.c,
29186 * native/fdlibm/e_atan2.c,
29187 * native/fdlibm/e_cosh.c,
29188 * native/fdlibm/e_exp.c,
29189 * native/fdlibm/e_fmod.c,
29190 * native/fdlibm/e_hypot.c,
29191 * native/fdlibm/e_log.c,
29192 * native/fdlibm/e_log10.c,
29193 * native/fdlibm/e_rem_pio2.c,
29194 * native/fdlibm/e_remainder.c,
29195 * native/fdlibm/e_sinh.c,
29196 * native/fdlibm/e_sqrt.c,
29197 * native/fdlibm/k_cos.c,
29198 * native/fdlibm/k_sin.c,
29199 * native/fdlibm/k_tan.c,
29200 * native/fdlibm/s_atan.c,
29201 * native/fdlibm/s_cbrt.c,
29202 * native/fdlibm/s_ceil.c,
29203 * native/fdlibm/s_copysign.c,
29204 * native/fdlibm/s_cos.c,
29205 * native/fdlibm/s_expm1.c,
29206 * native/fdlibm/s_fabs.c,
29207 * native/fdlibm/s_finite.c,
29208 * native/fdlibm/s_floor.c,
29209 * native/fdlibm/s_log1p.c,
29210 * native/fdlibm/s_rint.c,
29211 * native/fdlibm/s_scalbn.c,
29212 * native/fdlibm/s_sin.c,
29213 * native/fdlibm/s_tan.c,
29214 * native/fdlibm/s_tanh.c:
29215 Fixed to call our macros rather than __HI and __LO.
29216 * native/fdlibm/fdlibm.h:
29217 Reintroduced previous extraction code.
29218 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29219 (GET_HIGH_WORD(i,d)): Readded.
29220 (GET_LOW_WORD(i,d)): Readded.
29221 (INSERT_WORDS(d,ix0,ix1)): Readded.
29222 (SET_HIGH_WORD(d,i)): Readded.
29223 (SET_LOW_WORD(d,i)): Readded.
29224 * native/jni/gtk-peer/gthread-jni.c:
29225 Use Glib macros to convert integers/pointers portably.
29227 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29229 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29230 as the fallback SPI.
29231 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29232 ones referencing GNU-CRYPTO classes.
29233 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29234 (engineValidate): Use GNU-CRYPTO class.
29235 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29236 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29237 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29238 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29239 * gnu/java/security/provider/DSAParameters: Likewise.
29240 * gnu/java/security/provider/DSASignature: Likewise.
29241 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29242 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29243 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29244 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29245 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29246 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29247 * gnu/java/security/provider/MD2withRSA: Likewise.
29248 * gnu/java/security/provider/MD4withRSA: Likewise.
29249 * gnu/java/security/provider/MD5: Likewise.
29250 * gnu/java/security/provider/MD5withRSA: Likewise.
29251 * gnu/java/security/provider/RSA: Likewise.
29252 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29253 * gnu/java/security/provider/SHA: Likewise.
29254 * gnu/java/security/provider/SHA1PRNG: Likewise.
29255 * gnu/java/security/provider/SHA1withRSA: Likewise.
29256 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29258 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29260 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29261 (engineGeneratePublic): Added logging.
29262 (engineGeneratePrivate): Likewise.
29263 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29264 (encodePublicKey): Added logging.
29265 Clarified in method documentation that params is optional, but is
29266 always NULL if present.
29267 (decodePublicKey): Added logging.
29268 Handle optional NULL element.
29270 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29272 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29274 2006-03-03 Tom Tromey <tromey@redhat.com>
29276 * java/awt/MenuBar.java (shortcuts): Genericized.
29278 2006-03-03 Tom Tromey <tromey@redhat.com>
29280 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29282 (getListenerType): Likewise.
29283 * java/beans/Introspector.java (getBeanInfo): Genericized.
29284 * java/beans/DefaultPersistenceDelegate.java (initialize):
29287 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29289 * java/math/BigDecimal.java:
29290 (precision): Fixed overflow problem with large numbers.
29291 (longValueExact): New method.
29292 (intValueExact): Likewise.
29293 (byteValueExact): Likewise.
29294 (shortValueExact): Likewise.
29296 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29298 * java/math/BigDecimal.java:
29299 (remainder(BigDecimal)): New method.
29300 (divideAndRemainder(BigDecimal)): Likewise.
29301 (divideToIntegralValue(BigDecimal)): Likewise.
29302 (floor): New implementation method.
29304 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29306 * java/math/BigDecimal.java:
29307 (divide(BigDecimal, int, RoundingMode)): New method.
29308 (divide(BigDecimal, RoundingMode)): Likewise.
29309 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29310 when the new scale is < 0.
29311 (setScale(int, RoundingMode)): New method.
29314 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29316 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29317 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29318 (add(BigDecimal, MathContext)): New method.
29319 (subtract(BigDecimal, MathContext)): Likewise.
29320 (precision): Fixed to correctly handle BigIntegers with more than 19
29322 (pow(int, MathContext)): New method.
29324 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29326 * java/math/BigDecimal.java: Added @throws clause to constructors.
29327 (mathContext): Removed this unneeded field.
29328 (BigDecimal(int, MathContext)): New constructor.
29329 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29330 (multiply(BigDecimal, MathContext)): New method.
29331 (negate(MathContext)): Likewise.
29332 (plus(MathContext)): Likewise.
29333 (numDigitsInLong): Fixed to properly handle negatives.
29335 2006-02-25 Chris Burdess <dog@gnu.org>
29337 * gnu/java/net/CRLFInputStream.java,
29338 gnu/java/net/LineInputStream.java: Streams that use mark
29339 capabilities on the underlying stream do not expose mark
29340 functionality themselves.
29341 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29344 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29346 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29347 option flags passed to match methods.
29348 (MF_FIND_ALL): New flag.
29349 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29350 do not try other possibilties once a match is found.
29351 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29352 so that all possibilities can be found.
29353 (match): Rewritten using new methods matchMinimum and _match.
29354 (_match): New method which performs a depth-first recursive search.
29355 (matchMinimum): New method.
29356 (initVisited), (visitedContains), (addVisited): New methods for
29357 manipulating an array of icharacter positions which _match has
29360 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29362 * java/math/BigDecimal.java:
29363 (BigDecimal(long, MathContext)): New constructor.
29364 (BigDecimal(BigInteger, MathContext)): Likewise.
29365 (BigDecimal(String, MathContext)): Likewise.
29366 (BigDecimal(double, MathContext)): Likewise.
29367 (round): Fixed a typo where the precision field was used instead of a
29368 call to the precision method, and also store the new precision in the
29369 returned BigDecimal.
29370 (abs(MathContext)): New method.
29372 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29374 * java/math/BigDecimal.java
29375 (toBigInteger): Fixed problem where this method couldn't handle
29376 negative values for scale.
29377 (toBigIntegerExact): New method.
29378 (stripTrailingZeros): Likewise.
29380 2006-02-24 David Daney <ddaney@avtrex.com>
29383 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29385 (Pool): New inner class.
29386 (timeLastUsed): New field.
29387 (setPool): Changed parameter type to Pool.
29388 (release): Moved pool management logic to new class Pool.
29389 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29391 (maxConnections) : Removed.
29392 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29393 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29395 2006-02-24 Lillian Angel <langel@redhat.com>
29397 * java/awt/Container.java:
29398 Added new field. True if Container has been cleared and
29399 heavyweights need to be repainted.
29400 (paint): Fixed comment. Fixed to use backCleared and
29402 (update): Set backCleared to true after the background
29403 of the container has been cleared.
29405 2006-02-24 Lillian Angel <langel@redhat.com>
29407 * java/awt/TextField.java
29408 (addNotify): Added call to super.
29410 2006-02-24 Lillian Angel <langel@redhat.com>
29412 * java/awt/Component.java
29413 (reshape): Reverted last patch. Should have check here.
29414 (addNotify): Added check. If parent is lightweight, then
29415 initialize listener on the parent.
29416 (HeavyweightInLightweightListener): New class.
29418 2006-02-24 Roman Kennke <kennke@aicas.com>
29420 * javax/swing/plaf/basic/BasicComboPopup.java
29421 (show): Register the popup with the autocloser after it has been
29422 opened completely, by putting the registration on the eventqueue.
29424 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29426 * gnu/java/security/prng/BasePRNG.java:
29427 (clone()): Added cast of buffer to byte[].
29428 * gnu/javax/crypto/mac/TMMH16.java:
29429 (clone()): Fixed casting of cloned arrays.
29430 * native/fdlibm/fdlibm.h:
29431 Added missing defines from old fdlibm.h needed by Darwin.
29432 (GET_FLOAT_WORD(i,d)): Re-added.
29433 (SET_FLOAT_WORD(d,i)): Re-added.
29435 2006-02-24 Roman Kennke <kennke@aicas.com>
29437 * java/awt/Container.java:
29438 (dispatcher): Removed field.
29439 (dispatchEventImpl): Removed lightweight dispatching.
29440 (addNotifyContainerChildren): Removed LightweightDispatcher
29442 (LightweightDispatcher): Removed class.
29443 * java/awt/LightweightDispatcher.java: New class.
29444 * java/awt/Toolkit.java
29445 (Toolkit): Install LightweightDispatcher in global listener
29448 2006-02-24 Chris Burdess <dog@gnu.org>
29451 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29454 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29456 * NEWS: Mentions the VMMath runtime changes.
29457 * doc/vmintegration.texinfo: Updated to include
29460 2006-02-24 Roman Kennke <kennke@aicas.com>
29462 * javax/swing/plaf/basic/BasicLookAndFeel.java
29463 (PopupHelper.autoClosePopups): New field.
29464 (PopupHelper.mousePressed): Also autoclose any registered popups.
29465 (PopupHelper.registerForAutoClose): New method.
29466 (PopupHelper.autoClosePopups): New method.
29467 (popupHelper): Changed type of field to PopupHelper.
29468 (registerForAutoClose): New method.
29469 * javax/swing/plaf/basic/BasicComboPopup.java
29470 (show): Register this popup for autoclosing.
29472 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29474 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29475 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29476 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29478 2006-02-24 Roman Kennke <kennke@aicas.com>
29480 Reported by Ingo Proetel <proetel@aicas.com>
29481 * java/util/logging/LogManager.java
29482 (addLogger): Search the parent loggers for log level
29483 configuration and inherit that.
29484 (readConfiguration): Provide minimal default configuration
29485 if no configuration can be found otherwise.
29487 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29489 * java/math/BigDecimal.java:
29490 (toString): Fixed a problem where the negative sign was being displayed
29491 twice in the exponent.
29492 (toEngineeringString): New method.
29493 (toPlainString): Likewise.
29496 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29498 * java/math/BigDecimal.java:
29499 (toString): Rewrote this method to behave as specified. Added API
29500 comments to explain behaviour.
29501 (scaleByPowerOfTen): New method.
29503 2006-02-23 Roman Kennke <kennke@aicas.com>
29505 * javax/swing/JRootPane.java
29506 (isOptimizedDrawingEnabled): Implemented to return true
29507 when the glassPane is not visible.
29509 2006-02-23 Roman Kennke <kennke@aicas.com>
29511 * javax/swing/plaf/basic/BasicLookAndFeel.java
29512 (PopupHelper): New inner class.
29513 (popupHelper): New field.
29514 (initialize): New method.
29515 (uninitialize): New method.
29516 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29517 (mouseInputListener): Removed field.
29518 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29519 handling of GlassPane.
29520 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29521 handling of GlassPane.
29522 (MouseInputHandler): Removed class.
29524 2006-02-23 Roman Kennke <kennke@aicas.com>
29526 * java/awt/AWTEvent.java
29527 (eventIdToMask): New utility method.
29528 * java/awt/EventQueue.java
29529 (dispatchEvent): Also globally dispatch events via the toolkit.
29530 (globalDispatchEvent): New method.
29531 * java/awt/Toolkit.java
29532 (awtEventListeners): New field.
29533 (Toolkit()): Initialize new field.
29534 (createComponent): Create GLightweightPeer here.
29535 (addAWTEventListener): Implemented and documented.
29536 (removeAWTEventListener): Implemented and documented.
29537 (getAWTEventListeners): Implemented and documented both method
29539 * java/awt/event/AWTEventListenerProxy.java
29540 (eventDispatched): Don't filter events here.
29542 2006-02-23 Chris Burdess <dog@gnu.org>
29545 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29546 gnu/xml/dom/JAXPFactory.java,
29547 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29548 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29549 implement DocumentBuilderFactory.get/setFeature methods.
29551 2006-02-23 Lillian Angel <langel@redhat.com>
29553 * gnu/java/awt/peer/GLightweightPeer.java
29554 (repaint): Scott's proposed fix. Send repaint to the
29555 component's parent.
29556 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29557 (setBounds): Removed next_parent, not needed. Removed
29558 lightweightChild, we always need to compensate for the
29560 * java/awt/Component.java
29561 (setBounds): Removed check. Caused lots of problems, because some
29562 components were not being invalidated. Components should be
29563 invalidated when they are resized or moved, and in some cases,
29564 when a parent is resized/moved, the components do not know
29565 about it and do not adjust.
29566 * java/awt/Graphics.java
29567 (hitClip): Scott's proposed fix. Added check to handle a
29570 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29572 * javax/print/attribute/standard/MediaSize.java:
29573 (media): Field renamed to mediaName for serialization.
29574 (MediaSize): Adapted to new fieldname.
29575 (getMediaSizeName): Likewise.
29576 * javax/print/attribute/HashAttributeSet.java:
29577 (interfaceName): Field renamed to myInterface for serialization.
29578 (HashAttributeSet): Adapted to the new fieldname.
29580 (addAll): Likewise.
29581 (addInternal): Likewise.
29582 (attributeMap): Made transient.
29583 (readObject): New serialization method.
29584 (writeObject): Likewise.
29585 * javax/print/attribute/AttributeSetUtilities.java:
29586 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29587 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29588 (SynchronizedAttributeSet.addAll): Likewise.
29589 (SynchronizedAttributeSet.clear): Likewise.
29590 (SynchronizedAttributeSet.containsKey): Likewise.
29591 (SynchronizedAttributeSet.containsValue): Likewise.
29592 (SynchronizedAttributeSet.equals): Likewise.
29593 (SynchronizedAttributeSet.get): Likewise.
29594 (SynchronizedAttributeSet.hashCode): Likewise.
29595 (SynchronizedAttributeSet.isEmpty): Likewise.
29596 (SynchronizedAttributeSet.remove): Likewise.
29597 (SynchronizedAttributeSet.size): Likewise.
29598 (SynchronizedAttributeSet.toArray): Likewise.
29599 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29600 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29601 (UnmodifiableAttributeSet.addAll): Likewise.
29602 (UnmodifiableAttributeSet.clear): Likewise.
29603 (UnmodifiableAttributeSet.containsKey): Likewise.
29604 (UnmodifiableAttributeSet.containsValue): Likewise.
29605 (UnmodifiableAttributeSet.equals): Likewise.
29606 (UnmodifiableAttributeSet.get): Likewise.
29607 (UnmodifiableAttributeSet.hashCode): Likewise.
29608 (UnmodifiableAttributeSet.isEmpty): Likewise.
29609 (UnmodifiableAttributeSet.remove): Likewise.
29610 (UnmodifiableAttributeSet.size): Likewise.
29611 (UnmodifiableAttributeSet.toArray): Likewise.
29612 * javax/print/attribute/standard/MediaPrintableArea.java:
29613 (width): Field renamed to w for serialization.
29614 (height): Field renamed to h for serialization.
29615 (MediaPrintableArea): Adapted to the new fieldnames.
29616 (MediaPrintableArea): Likewise.
29617 (equals): Likewise.
29618 (hashCode): Likewise.
29619 (getHeight): Likewise.
29620 (getWidth): Likewise.
29622 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29624 * include/java_lang_VMMath.h:
29625 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29626 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29627 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29628 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29629 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29630 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29631 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29632 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29633 * java/lang/Math.java:
29634 (cbrt(double)): Implemented.
29635 (cosh(double)): Implemented.
29636 (expm1(double)): Implemented.
29637 (hypot(double,double)): Implemented.
29638 (log10(double)): Implemented.
29639 (log1p(double)): Implemented.
29640 (signum(double)): Implemented.
29641 (signum(float)): Implemented.
29642 (sinh(double)): Implemented.
29643 (tanh(double)): Implemented.
29644 * native/fdlibm/Makefile.am:
29645 Added new files from fdlibm 5.3.
29646 * native/fdlibm/e_acos.c,
29647 * native/fdlibm/e_asin.c,
29648 * native/fdlibm/e_atan2.c,
29649 * native/fdlibm/e_exp.c,
29650 * native/fdlibm/e_fmod.c,
29651 * native/fdlibm/e_log.c,
29652 * native/fdlibm/e_rem_pio2.c,
29653 * native/fdlibm/e_remainder.c,
29654 * native/fdlibm/e_scalb.c,
29655 * native/fdlibm/e_sqrt.c,
29656 * native/fdlibm/k_cos.c,
29657 * native/fdlibm/k_rem_pio2.c,
29658 * native/fdlibm/k_sin.c,
29659 * native/fdlibm/k_tan.c,
29660 * native/fdlibm/s_atan.c,
29661 * native/fdlibm/s_ceil.c,
29662 * native/fdlibm/s_copysign.c,
29663 * native/fdlibm/s_cos.c,
29664 * native/fdlibm/s_fabs.c,
29665 * native/fdlibm/s_finite.c,
29666 * native/fdlibm/s_floor.c,
29667 * native/fdlibm/s_rint.c,
29668 * native/fdlibm/s_scalbn.c,
29669 * native/fdlibm/s_sin.c,
29670 * native/fdlibm/s_tan.c,
29671 * native/fdlibm/w_acos.c,
29672 * native/fdlibm/w_asin.c,
29673 * native/fdlibm/w_atan2.c,
29674 * native/fdlibm/w_acos.c,
29675 * native/fdlibm/w_exp.c,
29676 * native/fdlibm/w_fmod.c,
29677 * native/fdlibm/w_log.c,
29678 * native/fdlibm/w_pow.c,
29679 * native/fdlibm/w_remainder.c,
29680 * native/fdlibm/w_sqrt.c:
29681 Updated to fdlibm 5.3.
29682 * native/fdlibm/e_cosh.c,
29683 * native/fdlibm/e_hypot.c,
29684 * native/fdlibm/e_log10.c,
29685 * native/fdlibm/e_sinh.c,
29686 * native/fdlibm/s_cbrt.c,
29687 * native/fdlibm/s_expm1.c,
29688 * native/fdlibm/s_log1p.c,
29689 * native/fdlibm/s_tanh.c,
29690 * native/fdlibm/w_cosh.c,
29691 * native/fdlibm/w_hypot.c,
29692 * native/fdlibm/w_log10.c,
29693 * native/fdlibm/w_sinh.c:
29694 Imported from fdlibm 5.3.
29695 * native/fdlibm/fdlibm.h:
29696 Imported from fdlibm 5.3 with Classpath additions.
29697 * native/fdlibm/namespace.h:
29698 Updated from new math_symbols file.
29699 * native/jni/java-lang/java_lang_VMMath.c:
29700 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29701 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29702 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29703 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29705 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29706 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29707 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29708 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29709 * scripts/math_symbols:
29710 Added tanh, expm1, log10 and log1p.
29711 * vm/reference/java/lang/VMMath.java:
29712 (cbrt(double)): Implemented.
29713 (cosh(double)): Implemented.
29714 (expm1(double)): Implemented.
29715 (hypot(double,double)): Implemented.
29716 (log10(double)): Implemented.
29717 (log1p(double)): Implemented.
29718 (sinh(double)): Implemented.
29719 (tanh(double)): Implemented.
29721 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29723 * javax/print/DocFlavor.java: Added documentation all over.
29724 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29725 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29726 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29727 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29728 (URL.TEXT_HTML_HOST): Likewise.
29729 (URL.TEXT_PLAIN_HOST): Likewise.
29730 (hostEncoding): Initialize with host default charset encoding.
29731 (mediaSubtype): Made transient.
29732 (mediaType): Likewise.
29733 (params): Made transient. Changed type to TreeMap.
29734 (className): Removed, changed to myClassName.
29735 (myClassName): New field as defined in serialized form.
29736 (DocFlavor): Adapted to new variable types, names.
29737 (parseMimeType): Reimplemented.
29738 (getParameter): Search with lowercase name.
29739 (getRepresentationClassName): Adapted to changed variable name.
29740 (hashCode): Likewise.
29741 (toString): Reimplemented.
29742 (readObject): New method for serialization.
29743 (writeObject): Likewise.
29745 2006-02-23 Roman Kennke <kennke@aicas.com>
29747 * javax/swing/RepaintManager.java
29748 (commitBuffer): Clip the repaint area with the current clip.
29750 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
29752 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29753 (DEFAULT_PRIME_SIZE): Made public.
29754 (DEFAULT_EXPONENT_SIZE): Likewise.
29755 (setup): Handle DHParameterSpec as well.
29756 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29757 defaultFormat instead of Raw.
29758 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29759 (checkIsConstructed): Removed.
29760 (checkIsBigInteger): Likewise.
29761 (decodePublicKey): Use DerUtil.
29762 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29763 (checkIsConstructed): Removed.
29764 (checkIsBigInteger): Likewise.
29765 (decodePrivateKey): Use DerUtil.
29766 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29768 Added mappings for AlgorithmParameters.DH and
29769 AlgorithmParameterGenerator.DH.
29770 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29771 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29772 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29773 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29775 (engineGeneratePublic): Likewise.
29776 * gnu/java/security/util/DerUtil.java: New file.
29777 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29778 Include only valid RSA PKCS1 (v1.5) signature names.
29779 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29780 (RSAPKCS1V1_5SignatureX509Codec): Removed.
29781 (checkIsConstructed): Likewise.
29782 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29783 (checkIsConstructed): Removed.
29784 (checkIsBigInteger): Likewise.
29785 (decodeSignature): Use DerUtil.
29786 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29787 (checkIsConstructed): Removed.
29788 (checkIsBigInteger): Likewise.
29789 (decodePublicKey): Use DerUtil.
29790 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29791 (checkIsConstructed): Removed.
29792 (checkIsBigInteger): Likewise.
29793 (decodePrivateKey): Use DerUtil.
29794 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29795 (checkIsConstructed): Removed.
29796 (checkIsBigInteger): Likewise.
29797 (decodePublicKey): Use DerUtil.
29798 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29799 (checkIsConstructed): Removed.
29800 (checkIsBigInteger): Likewise.
29801 (decodePrivateKey): Use DerUtil.
29802 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29803 (DEFAULT_MODULUS_LENGTH): Made it public.
29804 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29805 defaultFormat instead of Raw.
29806 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29807 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29808 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29810 (engineGeneratePublic): Likewise.
29811 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29813 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
29815 * java/math/BigDecimal.java:
29816 (BigDecimal(char[], int, int, MathContext)): New constructor.
29817 (BigDecimal(char[], MathContext)): Likewise.
29818 (BigDecimal(char[])): Likewise.
29819 (BigDecimal(char[], int, int)): Likewise.
29820 (BigDecimal(String)): Fixed handling of exponent and scale.
29822 2006-02-22 Mark Wielaard <mark@klomp.org>
29824 * java/awt/Checkbox.java (setState): Check that state actually changed
29825 before calling peer.
29826 (dispatchEventImpl): Set new state if ItemEvent.
29827 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29828 (create): Set currentState.
29829 (setState): Make synchronized, check and set currentState before
29830 calling gtkToggleButtonSetActive.
29831 (postItemEvent): Make synchronized, check and set currentState before
29833 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29834 (postItemEventID): Method now takes boolean.
29835 (item_toggled_cb): Likewise.
29837 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29839 * javax/swing/text/DefaultHighlighter.java:
29840 (changeHighlight): Added code to minimize the damaged area.
29842 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29844 * javax/swing/text/PlainView.java:
29845 (getPreferredSpan): Added missing 'break'.
29846 statement which corrects an unwanted fall through.
29847 (updateDamage): Update maxLineLength correctly when text is
29848 removed, call preferenceChanged accordingly.
29849 (viewToModel): Restrict line number to be within 0 and the
29850 number of elements-1.
29852 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29854 * javax/swing/text/Utilities.java:
29855 (getPositionAbove): Prefer first value by changing comparison
29857 (getPositionBelow): Dito.
29859 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29861 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29862 behavior when magic caret position is null.
29864 2006-02-22 Roman Kennke <kennke@aicas.com>
29866 * javax/swing/JTextField.java
29867 (isValidateRoot): New method.
29869 2006-02-22 Roman Kennke <kennke@aicas.com>
29871 * javax/swing/JEditorPane.java
29872 (getPreferredSize): Rewritten to behave like the reference impl.
29873 (getScrollableTracksViewportWidth): Likewise.
29874 (getScrollableTracksViewportHeight): Likewise.
29876 2006-02-22 Roman Kennke <kennke@aicas.com>
29878 * javax/swing/RepaintManager.java
29879 (addInvalidComponent): Also consider the component itself.
29881 2006-02-22 Mark Wielaard <mark@klomp.org>
29883 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29884 qualify AbstractDocument.AttributeContext.
29885 (blockOpen): Likewise.
29887 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29889 * java/math/BigDecimal.java:
29890 (mathContext): New field.
29891 (precision): Likewise.
29892 (BigDecimal(int)): New constructor.
29893 (BigDecimal(long)): Likewise.
29894 (BigDecimal(BigInteger)): Added API docs.
29895 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29896 and added API docs.
29897 (plus): New method.
29899 (precision): Likewise.
29900 (valueOf): Likewise.
29901 (numDigitsInLong): New implementation method.
29903 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29905 * java/math/MathContext.java: New class.
29906 * java/math/RoundingMode: New Enum.
29908 2006-02-21 Mark Wielaard <mark@klomp.org>
29910 * java/awt/Component.java (translateEvent): Translate
29911 AdjustmentEvents to 1.0 Events.
29912 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29913 Call setValue() before processing event.
29914 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29915 whether we are currently changing and being called back from the
29916 Scrollbar component.
29917 (setBarValues): New native method.
29918 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29919 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29920 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29921 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29922 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29924 2006-02-21 Roman Kennke <kennke@aicas.com>
29926 * javax/swing/text/View.java
29927 (setParent): Set child parent to null when disconnecting
29928 the view from the View hierarchy.
29930 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
29932 * javax/print/StreamPrintService.java: Added and enhanced documentation.
29934 2006-02-21 Roman Kennke <kennke@aicas.com>
29936 * javax/swing/text/WrappedPlainView.java
29937 (calculateBreakPosition): Changed to use the view's allocation instead
29938 of the container's preferredSize.
29940 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
29942 * java/awt/CardLayout.java:
29943 (first): Updated api documentation.
29946 (previous): Likewise.
29947 (show): Clarified api docs. Return if name is null. Throw
29948 IllegalArgumentException if layout of container is not this.
29949 (gotoComponent): Updated api documentation. Throw
29950 IllegalArgumentException if layout of container is not this.
29952 2006-02-21 Roman Kennke <kennke@aicas.com>
29954 * javax/swing/text/NavigationFilter.java
29955 (getNextVisualPositionFrom): New method.
29957 2006-02-21 Roman Kennke <kennke@aicas.com>
29959 * javax/swing/plaf/basic/BasicTextUI.java
29960 (RootView.setView): Call setParent() on the view with this as
29961 argument instead of null.
29962 (setView): Don't set root view's parent here.
29964 2006-02-21 Roman Kennke <kennke@aicas.com>
29966 * javax/swing/text/AbstractDocument.java
29967 (AbstractElement.getAttribute): Use getResolveParent() to fetch
29968 the resolving parent.
29969 (AbstractElement.getResolveParent): Fixed to handle possible null
29971 * javax/swing/text/BoxView.java
29972 (childReqs): New field.
29973 (paint): Added debugging code (commented out).
29974 (getPreferredSpan): Rewritten to use new update* methods.
29975 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
29976 for the minor axis and preferredSpan for the major axis.
29977 (getMinimumSpan): Rewritten to use new update* methods.
29978 (baselineRequirements): Rewritten to avoid creation of
29979 unnecessary SizeRequirements objects.
29980 (baselineLayout): Rewritten to use new update* methods.
29981 (calculateMajorAxisRequirements): Rewritten to avoid creation of
29982 unnecessary SizeRequirements objects.
29983 (calculateMinorAxisRequirements): Rewritten to avoid creation of
29984 unnecessary SizeRequirements objects.
29985 (layout): Some robustness fixes for the layout. Turned AssertionErrors
29987 (layoutMajorAxis): Rewritten to use new update* methods.
29988 (layoutMinorAxis): Rewritten to use new update* methods.
29989 (getChildRequirements): Replaced by the update* methods.
29990 (getAlignment): Use update* methods.
29991 (updateChildRequirements): New methods. Updates the child requirements
29993 (updateRequirements): New methods. Updates the BoxView requirements
29995 * javax/swing/text/DefaultStyledDocument.java
29996 (ElementBuffer.insert): Added warning for illegal replacement operation.
29997 * javax/swing/text/FlowView.java
29998 (layoutRow): When offset doesn't change, return -1.
29999 (LogicalView): Now subclasses BoxView.
30000 (loadChildren): Let the CompositeView.setParent() load the children
30001 of the logicalView.
30002 (calculateMinorRequirements): New overridden method.
30003 * javax/swing/text/GlyphView.java
30004 (DefaultGlyphPainter.paint): Fixed typo.
30005 (startOffset): Made field private.
30006 (endOffset): Made field private.
30007 (paint): Call getStartOffset() and getEndOffset() instead of the
30009 (isStrikeThrough): Fixed typo.
30010 (breakView): Use Utilities.getBreakLocation() to determine best
30012 (changedUpdate): Call preferencedChange on this instead of parent.
30013 (removeUpdate): Call preferencedChange on this instead of parent.
30014 * javax/swing/text/ParagraphView.java
30015 (Row.getAlignment): For Y_AXIS, call super.
30016 (getAlignment): Likewise.
30017 * javax/swing/text/Utilities.java
30018 (getBreakLocation): Set Segment object directly on the BreakIterator.
30019 * javax/swing/text/html/HTML.java
30020 (Attribute): Made class non-serializable and final as specified.
30021 (Attribute(String)): Made constructor private.
30022 (Attribute.compareTo): Removed.
30023 (Attribute.equals): Removed.
30024 (Attribute.hashCode): Removed.
30025 (Tag): Made class non-comparable and non-serializable as specified.
30026 (Tag.compareTo): Removed.
30027 (Tag.equals): Removed.
30028 (Tag.hashCode): Removed.
30029 * javax/swing/text/html/HTMLDocument.java
30030 (HTMLReader.blockOpen): Add tag as name attribute to element.
30031 * javax/swing/text/html/HTMLEditorKit.java
30032 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30034 * javax/swing/text/html/InlineView.java
30035 (setPropertiesFromAttributes): Call super.
30036 * javax/swing/text/html/NullView.java: New class.
30038 2006-02-21 Roman Kennke <kennke@aicas.com>
30041 * javax/swing/text/GapContent.java
30042 (GapContentPosition): Made class private.
30043 (InsertUndo): Made class private.
30044 (UndoRemove): Made class private.
30045 (WeakPositionComparator): New inner class.
30046 (positions): Made field private.
30047 (createPosition): Clear up GC'ed positions before creating
30048 a new one. Store position as WeakReference.
30049 (getPositionsInRange): Changed to handle WeakReference
30051 (setPositionsInRange): Changed to handle WeakReference
30053 (adjustPositionsInRange): Changed to handle WeakReference
30055 (dumpPositions): Handle WeakReference positions.
30056 (clearPositionReferences): New method.
30058 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30060 * javax/swing/plaf/basic/BasicTextUI.java:
30061 (paint): Remove unneccessary part of the if-expression.
30062 (damageRange): Added case where the range spans multiple lines.
30063 * javax/swing/text/DefaultCaret.java:
30064 (clearHighlight): New method.
30065 (handleHighlight): Removed unneccessary part of the if-expression.
30066 (setDot): Use clearHighlight method.
30067 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30069 (paint): Prevented calling size() on every loop iteration, fixed
30070 calculation of allocation area bounds.
30071 (getHighlights): Implemented.
30072 (removeHighlight): Mark damaged area in textcomponent.
30073 (addHighlight): Mark damaged area in textcomponent.
30074 (changeHighlight): Mark damaged area in textcomponent.
30075 (DefaultHighlighter.HighlightEntry): Made it a real
30076 Highlighter.Highlight implementation.
30077 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30080 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30082 * java/util/zip/ZipConstants.java
30083 (LOCSIG): Change type to long.
30084 (EXTSIG): Likewise.
30085 (CENSIG): Likewise.
30086 (ENDSIG): Likewise.
30087 * java/util/zip/ZipOutputStream.java
30088 (writeLeInt(long)): New method.
30090 2006-02-21 Michael Koch <konqueror@gmx.de>
30092 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30094 2006-02-20 Mark Wielaard <mark@klomp.org>
30096 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30097 (begin_drawing_operation): Output stacktrace and return on bad cairo
30099 (end_drawing_operation): Likewise. And reset cairo_t.
30101 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30103 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30104 in backward selection action.
30106 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30108 * java/lang/reflect/Proxy.java:
30109 (ProxyData.getProxyData): Skipped overriding of core methods.
30110 (ProxyData.isCoreObjectMethod): New method.
30112 2006-02-20 Mark Wielaard <mark@klomp.org>
30114 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30116 2006-02-20 Roman Kennke <kennke@aicas.com>
30118 * javax/swing/text/html/Option.java: New class.
30120 2006-02-20 Lillian Angel <langel@redhat.com>
30122 * java/swt/Window.java
30123 (show): Calling show() on the owned windows caused problems.
30124 Changed back to get the peer and call setVisible.
30126 2006-02-20 Roman Kennke <kennke@aicas.com>
30128 * javax/swing/plaf/basic/BasicTextUI.java
30129 (damageRange): Implemented this method.
30131 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30133 * javax/swing/text/GapContent.java:
30134 (shiftGapEndUp): Corrected new mark value.
30135 * javax/swing/text/AbstractDocument.java:
30136 (remove): Changed order of operations.
30138 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30140 * javax/swing/text/GapContent.java:
30141 (shiftGapEndUp): Reverted.
30142 * javax/swing/text/AbstractDocument.java:
30143 (remove): Reverted.
30145 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30147 * javax/swing/text/GapContent.java:
30148 (shiftGapEndUp): Corrected new mark value.
30149 * javax/swing/text/AbstractDocument.java:
30150 (remove): Changed order of operations.
30152 2006-02-20 Mark Wielaard <mark@klomp.org>
30154 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30156 (insert): Likewise.
30157 (addNotify): Add the item after addNotifying it.
30158 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30159 there is a peer. Use getParent() and setParent() to manipulate parent
30161 (add(Menu)): Use getParent() and setParent() to manipulate parent
30162 field. Call addNotify() and addMenu() when there is a peer.
30163 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30164 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30165 when there is a peer.
30166 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30167 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30168 (setFont): Call setFont(Font).
30169 (setFont(Font)): Document. Only set font when not null.
30170 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30172 (connectSignals): Likewise.
30173 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30175 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30177 (postMenuActionEvent): Document.
30178 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30180 (addItem): Document. Made private.
30181 (addTearOff): Made private.
30182 (connectSignals): New protected overridden method.
30183 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30184 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30185 (create): Document.
30186 (addMenu): Made private, take GtkMenuPeer as argument and document.
30187 (GtkMenuBarPeer): Document.
30188 (nativeSetHelpMenu): Removed.
30189 (addHelpMenu): Implement.
30190 (delMenu): Document.
30191 (addMenu): Implement.
30192 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30193 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30194 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30195 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30198 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30200 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30201 Expect that proxy interfaces may have different class loaders.
30202 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30203 * java/rmi/registry/Registry.java,
30204 * java/rmi/server/UnicastRemoteObject.java:
30205 Documented about proxy stubs.
30206 * gnu/java/rmi/server/CombinedClassLoader.java,
30207 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30208 * NEWS: Added entry.
30210 2006-02-19 Mark Wielaard <mark@klomp.org>
30212 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30213 Parent and Bounds of our children if either or parent is showing, or
30214 we are a Window and are showing ourselves now.
30216 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30218 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30220 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30221 Another stub name fix.
30223 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30225 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30226 Call convertStubName. (convertStubName): New method.
30227 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30228 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30229 (convertStubName): New method.
30230 (getMethodHashCode):
30231 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30232 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30234 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30236 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30238 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30240 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30242 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30244 * javax/swing/JViewport.java (paintBackingStore): If the component has
30245 not been scrolled, only repaint the buffer part, indicated by
30246 the parameter graphics clip.
30248 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30250 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30252 (writePrivateKey): Likewise.
30253 (writeKey): New method.
30254 (getKeyType): Likewise.
30255 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30257 (readPrivateKey): Likewise.
30258 (getKeyPairCodec): New method.
30259 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30260 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30261 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30262 (RSA_PSS_ENCODING): Likewise..
30263 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30264 (RSA_PSS_SIG): Redefined using other constants.
30265 (RSA_PKCS1_V1_5_SIG): Likewise.
30266 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30267 * gnu/java/security/util/FormatUtil.java: New file.
30268 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30269 (getInstance): Let RSASignatureFactory handle RSA signature names.
30270 (getNames): Handle new RSA signature (with format) names.
30271 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30272 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30274 (name): Include hash algorithm name.
30275 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30276 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30277 (RSAPSSSignature): Call constructor with IMessageDigest.
30278 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30279 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30281 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30283 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30284 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30285 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30286 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30287 hash algorithm name to exception.
30288 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30289 * gnu/java/security/key/KeyPairCodecFactory.java
30290 (names): New class field.
30291 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30292 (getInstance(String,String)): New method.
30293 (getInstance(String,int)): New method.
30294 (getInstance(byte[])): Removed.
30295 (getInstance(Key)): Handle new formats.
30296 (getNames): Likewise.
30297 (getEncodingName(int)): Moved to FormatUtil.
30298 (getEncodingShortName(int)): Likewise.
30299 (getRawCodec(String)): New method.
30300 (getX509Codec(String)): Likewise.
30301 (getPKCS8Codec(String)): Likewise.
30302 (getRawCodec(Key)): Likewise.
30303 (getX509Codec(Key)): Likewise.
30304 (getPKCS8Codec(Key)): Likewise.
30305 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30306 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30307 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30308 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30309 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30310 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30311 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30312 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30313 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30315 2006-02-18 Mark Wielaard <mark@klomp.org>
30317 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30319 (NoDragGestureRecognizer): New static class.
30320 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30321 Toolkit doesn't support drag and drop.
30323 2006-02-18 Mark Wielaard <mark@klomp.org>
30325 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30326 (AbstractAction(String)): Just call putValue() for NAME.
30327 (putValue): Nothing to do is old and new value are both null.
30329 2006-02-18 Mark Wielaard <mark@klomp.org>
30331 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30332 through getContentPane().
30333 (preferredLayoutSize): Likewise.
30335 2006-02-18 Mark Wielaard <mark@klomp.org>
30337 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30338 actually set before painting.
30340 2006-02-18 Mark Wielaard <mark@klomp.org>
30342 * javax/swing/text/html/HTMLDocument.java (addContent):
30343 Fully qualify AbstractDocument.AttributeContext and
30344 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30346 2006-02-18 Mark Wielaard <mark@klomp.org>
30348 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30349 (getRepresentationClassFromMime): Add exception cause to
30350 IllegalArgumentException.
30352 2006-02-17 Lillian Angel <langel@redhat.com>
30354 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30355 Removed unneeded import.
30356 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30357 Removed unneeded imports.
30358 * java/awt/BorderLayout.java:
30359 Fixed comment, this is not yet handled in the JDK 1.5.
30360 * java/awt/Container.java:
30361 Removed unneeded import.
30363 2006-02-17 Lillian Angel <langel@redhat.com>
30365 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30366 (setBounds): Removed check. Coordinates should always be changed
30367 to incorporate the parent's coordinates.
30368 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30369 (setMenuBar): Added checks. Don't validate component if it has
30370 not been validated yet, it will be validated later. Only validate
30371 if it has already been validated, in that case it needs to be
30373 * java/awt/Window.java
30374 (show): Added check. If the window is visible, then bring it to the
30375 front. Otherwise, iterate through all its children windows and show them.
30376 No need to do both.
30378 2006-02-17 Roman Kennke <kennke@aicas.com>
30380 * javax/swing/text/html/ParagraphView.java: New file.
30382 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30384 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30385 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30386 same location where was the initial text.
30387 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30389 2006-02-17 Chris Burdess <dog@gnu.org>
30391 Fixes PRs 26319, 26320, 26321, 26322, 26325
30392 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30393 rethrowing exception.
30394 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30395 1.1-style prefix unbinding in 1.0 document" error for xmlns
30396 prefixes, not xmlns attributes. Fix a problem with empty namespace
30397 stack at the end of a document. Permit parameter entity references
30398 in element and attribute-list definition name area. Corrected
30399 normalisation of whitespace character entity references in CDATA
30400 attribute values. Fixed number of characters read following a
30401 reset when detecting end of character data with characters after a
30402 Unicode surrogate pair.
30404 2006-02-17 Roman Kennke <kennke@aicas.com>
30406 * javax/swing/text/html/HTMLEditorKit.java
30407 (HTMLFactory.create): Create InlineView for content tags.
30408 * javax/swing/text/html/HTMLDocument.java
30409 (HTMLReader.flush): Call create() on first flush and insert
30410 on subsequent flushes.
30412 2006-02-17 Roman Kennke <kennke@aicas.com>
30414 * javax/swing/text/AbstractDocument.java
30415 (BranchElement.getStartOffset): Implemented workaround for wrong
30417 (BranchElement.getEndOffset): Implemented workaround for wrong
30419 (ElementBuffer.split): Use createBranchElement() instead of
30420 new BranchElement().
30421 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30422 new BranchElement().
30423 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30424 instead of new BranchElement().
30425 (createDefaultRoot): Use createBranchElement() and createLeafElement
30426 instead of the constructors.
30427 (create): Rewritten.
30429 2006-02-17 Keith Seitz <keiths@redhat.com>
30431 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30432 (SIZE): New constant.
30433 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30434 (executeIDsizes): Use SIZE constant.
30435 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30436 (SIZE): New constant.
30438 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30440 * javax/swing/JTable.java (IconCellRenderer): Set the component
30441 text to empty string. (createDefaultRenderers): Register
30442 IconCellRenderer also for ImageIcon.
30443 (getCellEditor(int, int), getCellRenderer(int, int)):
30444 Use model index for data model and column index for column model.
30445 (getColumnClass): Convert to model index before requesting class
30448 2006-02-17 Roman Kennke <kennke@aicas.com>
30450 * javax/swing/text/html/HTMLDocument.java
30451 (createDefaultRoot): Implemented.
30452 (createLeafElement): Implemented.
30453 (createBranchElement): Implemented.
30454 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30455 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30456 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30457 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30458 (HTMLReader.blockOpen): Add name attribute with the current tag.
30459 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30461 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30463 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30465 * javax/swing/table/JTableHeader.java: Documenting related methods.
30467 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30470 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30471 (connect): Changed to use SystemProperties.
30472 (getInputStream): Try changeWorkingDirectory to figure out if
30473 url is a directory, if not use retrieve.
30474 (getOutputStream): Don't worry about directories, simply always
30477 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30479 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30480 (ActiveModeDTP): Mark accept thread as daemon.
30482 2006-02-17 Michael Koch <konqueror@gmx.de>
30484 * tools/.cvsignore: Ignore tools.zip.
30486 2006-02-16 Keith Seitz <keiths@redhat.com>
30488 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30489 Set the ID's reference.
30490 (<clinit>): Remove comments for field, method, and frame ID types,
30491 which will not be handled by VMIdManager.
30493 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30495 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30496 Use model index, not the column number.
30497 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30498 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30499 movement by painting draggingHeaderRect.
30500 * NEWS: Added entry about JTable columns.
30502 2006-02-16 Keith Seitz <keiths@redhat.com>
30504 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30505 default size of eight bytes.
30506 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30507 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30508 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30509 (executeIDsizes): Use new static methods.
30510 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30513 2006-02-16 David Daney <ddaney@avtrex.com>
30516 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30517 return value with 0xff.
30519 2006-02-16 Keith Seitz <keiths@redhat.com>
30521 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30522 (matches): Use Iterator instead of ListIterator.
30524 2006-02-16 Keith Seitz <keiths@redhat.com>
30526 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30527 processor thread for easier debugging.
30528 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30531 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30533 * javax/swing/JTable.java
30534 (TableColumnPropertyChangeHandler.propertyChange): Return without
30535 action if table header resizing column in not null. (doLayout):
30536 Only repaint the header if it is not null.
30537 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30538 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30539 Rewritten. (MouseInputHandler.endResizing): New method.
30541 2006-02-16 Roman Kennke <kennke@aicas.com>
30543 * javax/swing/text/html/InlineView.java: New file.
30545 2006-02-16 Roman Kennke <kennke@aicas.com>
30547 * javax/swing/JTabbedPane.java
30548 (AccessibleJTable.getAccessibleChild): Implemented to return
30549 the Page instance for the specified index.
30550 (Page): Changed to implement Accessible and extend
30552 (Page.getAccessibleContext): New method.
30553 (Page.getAccessibleRole): New method.
30554 (Page.getAccessibleStateSet): New method.
30555 (Page.getAccessibleIndexInParent): New method.
30556 (Page.getAccessibleChildrenCount): New method.
30557 (Page.getAccessibleChild): New methdod.
30558 (Page.getLocale): New method.
30560 2006-02-16 Roman Kennke <kennke@aicas.com>
30562 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30563 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30564 tabCount gets greater than tabRuns.length.
30565 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30566 when tabCount gets greater than tabRuns.length.
30567 (paintTabArea): Don't set tabCount == runCount.
30569 2006-02-16 Roman Kennke <kennke@aicas.com>
30571 * javax/swing/plaf/basic/BasicTextUI.java
30572 (installUI): Moved installation of PropertyChangeListener
30573 to installListeners(). Call modelChanged() after everything is
30575 (installListeners): Install PropertyChangeListener here.
30576 (uninstallUI): Moved uninstallation of PropertyChangeListener
30577 to uninstallListeners.
30578 (uninstallListeners): Uninstall PropertyChangeListener here.
30580 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30582 * javax/swing/JTable.java (doLayout):
30583 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30585 javax/swing/plaf/basic/BasicTableHeaderUI.java
30586 (MouseInputHandler.mouseDragged): Do not repaint the header.
30588 2006-02-16 Roman Kennke <kennke@aicas.com>
30590 * javax/swing/JViewport.java
30591 (static_initializer): Set default scrollMode to backingstore.
30593 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30595 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30596 returned by getCellRect. To not translate the component.
30598 2006-02-16 Roman Kennke <kennke@aicas.com>
30600 * javax/swing/JComponent.java
30601 (rectCache): Made field non-static to avoid nasty interferences.
30602 (computeVisibleRect): Avoid creation of new Rectangles and double
30603 calculations on ints by using Swing.computeIntersection() instead
30604 of Rectangle2D.intersect().
30605 (repaint): Interect the dirty region with the visible rectangle
30606 of this component to avoid unnecessary painting.
30608 2006-02-16 Gary Benson <gbenson@redhat.com>
30610 * java/lang/Thread.java (stop): Add a missing access check.
30612 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30614 * javax/swing/text/JTextComponent.java:
30615 (replaceSelection): Added code to update the magic caret position.
30616 * javax/swing/text/DefaultEditorKit.java: Added code to update
30617 the magic caret position of the text component in all relevant
30618 movement actions, make use of the magic caret position in up
30619 and down movements and selections, simplified some actions
30622 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30624 * gnu/java/lang/CharData.java: Regenerated from
30625 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30626 and scripts/unicode-muncher.pl.
30627 * java/lang/Character.java:
30628 (PrivateUseCharacters): New private static class.
30629 (UnassignedCharacters): Likewise.
30630 (blocks): Changed from char[] to char[][] to reflect the changes in
30631 gnu/java/lang/CharData. There is now one char[] per Unicode code
30634 (numValue): Likewise.
30637 (direction): Likewise.
30638 (readChar): Replaced this method with new method readCodePoint.
30639 (readCodePoint): New method.
30640 (isLowerCase(char)): Redirected to new isLowerCase(int).
30641 (isLowerCase(int)): New method.
30642 (isUpperCase(char)): Redirected to new isUpperCase(int).
30643 (isUpperCase(int)): New method.
30644 (isTitleCase(char)): Redirected to new isTitleCase(int).
30645 (isTitleCase(int)): New method.
30646 (isDigit(char)): Redirected to new isDigit(int).
30647 (isDigit(int)): New method.
30648 (isDefined(char)): Redirected to new isDefined(int).
30649 (isDefined(int)): New method.
30650 (isLetter(char)): Redirected to new isLetter(int).
30651 (isLetter(int)): New method.
30652 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30653 (isLetterOrDigit(int)): New method.
30654 (isJavaIdentifierStart(char)): Redirected to new
30655 isJavaIdentifierStart(int).
30656 (isJavaIdentifierStart(int)): New method.
30657 (isJavaIdentifierPart(char)): Redirected to new
30658 isJavaIdentifierPart(int).
30659 (isJavaIdentifierPart(int)): New method.
30660 (isUnicodeIdentifierStart(char)): Redirected to new
30661 isUnicodeIdentifierStart(int).
30662 (isUnicodeIdentifierStart(int)): New method.
30663 (isUnicodeIdentifierPart(char)): Redirected to new
30664 isUnicodeIdentifierPart(int).
30665 (isUnicodeIdentifierPart(int)): New method.
30666 (isIdentifierIgnorable(char)): Redirected to new
30667 isIdentifierIgnorable(int).
30668 (isIdentifierIgnorable(int)): New method.
30669 (toLowerCase(char)): Changed access to lower to correspond with new
30670 char[][] type of lower.
30671 (toLowerCase(int)) New method.
30672 (toUpperCase(char)): Changed access to upper to correspond with new
30673 char[][] type of upper.
30674 (toUpperCase(int)): New method.
30675 (toTitleCase(int)): New method.
30676 (digit(char, int)): Replaced call to readChar with call to
30677 readCodePoint and changed access to numValue to reflect new char[][]
30679 (digit(int, int)): New method.
30680 (getNumericValue(char)): Changed access to numValue to reflect new
30681 char[][] type of numValue.
30682 (getNumericValue(int)): New method.
30683 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30684 (isSpaceChar(int)): New method.
30685 (isWhitespace(char)): Redirected to new isWhitespace(int).
30686 (isWhitespace(int)): New method.
30687 (isISOControl(char)): Redirected to new isISOControl(int).
30688 (isISOControl(int)): New method.
30689 (getType(char)): Redirected to new getType(int).
30690 (getType(int)): New method.
30691 (getDirectionality(char)): Redirected to new getDirectionality(int).
30692 (getDirectionality(int)): New method.
30693 (isMirrored(char)): Changed call to readChar to readCodePoint.
30694 (isMirrored(int)): New method.
30695 * java/lang/String.java:
30696 (upperCaseExpansion): Changed access to Character.direction to reflect
30697 new char[][] type of direction.
30698 (offsetByCodePoints): New method.
30699 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
30700 4.0.0 which introduced supplementary character assignments.
30702 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30704 * javax/swing/JTable.java,
30705 javax/swing/plaf/basic/BasicTableHeaderUI.java,
30706 javax/swing/table/DefaultTableModel.java: Documented.
30708 2006-02-15 Lillian Angel <langel@redhat.com>
30710 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30711 Removed duplicate methods.
30713 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30715 * javax/swing/JTable.java (distributeSpillResizing): New method.
30716 (doLayout): Use distributeSpillResizing when resizing.
30717 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30718 Rewritten. (installListeners): Add mouse motion listener.
30719 (uninstallListeners): Remove mouse motion listener.
30721 2006-02-15 Lillian Angel <langel@redhat.com>
30723 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30724 (setVisible): Removed method.
30725 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30726 (setLocation): New method.
30727 (setLocationUnlocked): New method.
30728 (show): Changed to use setLocation instead of setBounds.
30729 * java/awt/Component.java
30730 (show): Should call peer.show(), not peer.setVisible(), so the
30731 location of the component is correctly set.
30732 (preferredSize): Added curly braces so else statements are
30733 properly associated with if's.
30734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30735 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
30737 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30738 LocationUnlocked): New function.
30739 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30740 Added declarations for Java_gnu_java_awt_peer_gtk_
30741 GtkWindowPeer_nativeSetLocation and
30742 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30743 _nativeSetLocationUnlocked.
30745 2006-02-15 Mark Wielaard <mark@klomp.org>
30747 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30748 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30749 Downcast gtk_plug_new result when used.
30751 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
30753 * java/io/ObjectOutputStream.java (writeClassDescriptor):
30754 Call assignNewHandle() after writing Proxy class.
30756 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
30759 * java/io/ObjectInputStream.java (readClassDescriptor):
30760 Class doesn't have to be abstract for first_nonserial.
30762 2006-02-15 Roman Kennke <kennke@aicas.com>
30764 * javax/swing/JInternalFrame.java
30765 (setClosed): Call dispose to actually make the frame invisible
30768 2006-02-15 Roman Kennke <kennke@aicas.com>
30770 * javax/swing/JInternalFrame.java
30771 (dispose): Call setVisible(false) instead of hide.
30772 (doDefaultCloseOperation): Likewise.
30774 2006-02-15 Roman Kennke <kennke@aicas.com>
30776 * javax/swing/JComponent.java
30777 (paintChildren): Also check for the visibility of a child component
30778 to avoid artifacts.
30779 (repaint): Simply add this component to the RepaintManager rather than
30780 trying to do useless optimization here.
30782 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30784 * javax/swing/JSpinner.java
30785 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
30786 PropertyChangeListener,
30787 (DefaultEditor.getSpinner): Updated API docs,
30788 (DefaultEditor.dismiss): Likewise,
30789 (DefaultEditor.getTextField): Likewise,
30790 (DefaultEditor.layoutContainer): Likewise,
30791 (DefaultEditor.minimumLayoutSize): Likewise,
30792 (DefaultEditor.preferredLayoutSize): Likewise,
30793 (DefaultEditor.propertyChange): Implemented,
30794 (DefaultEditor.stateChanged): Implemented,
30795 (DefaultEditor.removeLayoutComponent): Updated API docs,
30796 (DefaultEditor.addLayoutComponent): Likewise,
30797 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30798 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30799 (NumberEditor.getFormat): Implemented,
30800 (NumberEditor.getModel): Updated API docs,
30801 (NumberEditorFormatter): New static inner class,
30802 (ListEditor.getModel): Updated API docs,
30803 (DateEditor.dateFormat): Removed,
30804 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30805 (DateEditor.DateEditor(JSpinner, String)): Likewise,
30806 (DateEditor.init): Removed,
30807 (DateEditor.getFormat): Reimplemented,
30808 (DateEditorFormatter): New static inner class,
30809 (ModelListener): New inner class,
30810 (model): Updated API docs,
30811 (editor): Likewise,
30812 (listener): Removed,
30813 (JSpinner()): Updated API docs,
30814 (JSpinner(SpinnerModel)): Set up ModelListener,
30815 (setEditor): Fire property change,
30816 (getModel): Updated API docs,
30817 (setModel): Removed check for null editor,
30818 (setValue): Updated API docs,
30819 (getUIClassID): Updated API docs,
30820 (createEditor): Handle SpinnerListModel case,
30821 * javax/swing/plaf/basic/BasicSpinnerUI.java
30822 (createUI): Updated API docs,
30823 (createPropertyChangeListener): Added FIXME,
30824 (installDefaults): Set text field border to null,
30825 (DefaultLayoutManager): Updated API docs,
30826 (DefaultLayoutManager.layoutContainer): Modified layout,
30827 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30828 (DefaultLayoutManager.preferredLayoutSize): Likewise,
30829 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30830 (DefaultLayoutManager.addLayoutComponent): Likewise,
30831 (DefaultLayoutManager.minSize): Renamed prefSize,
30832 (DefaultLayoutManager.setBounds): Reformatted,
30833 (DefaultLayoutManager.editor): Added API docs,
30834 (DefaultLayoutManager.next): Likewise,
30835 (DefaultLayoutManager.previous): Likewise,
30836 * javax/swing/plaf/metal/MetalLookAndFeel.java
30837 (initComponentDefaults): Added entry for 'Spinner.border',
30838 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30840 2006-02-15 Chris Burdess <dog@gnu.org>
30842 * gnu/xml/validation/datatype/BooleanType.java,
30843 gnu/xml/validation/datatype/ByteType.java,
30844 gnu/xml/validation/datatype/DateTimeType.java,
30845 gnu/xml/validation/datatype/DateType.java,
30846 gnu/xml/validation/datatype/DecimalType.java,
30847 gnu/xml/validation/datatype/DoubleType.java,
30848 gnu/xml/validation/datatype/DurationType.java,
30849 gnu/xml/validation/datatype/FloatType.java,
30850 gnu/xml/validation/datatype/GDayType.java,
30851 gnu/xml/validation/datatype/GMonthDayType.java,
30852 gnu/xml/validation/datatype/GMonthType.java,
30853 gnu/xml/validation/datatype/GYearMonthType.java,
30854 gnu/xml/validation/datatype/GYearType.java,
30855 gnu/xml/validation/datatype/IntType.java,
30856 gnu/xml/validation/datatype/IntegerType.java,
30857 gnu/xml/validation/datatype/LongType.java,
30858 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30859 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30860 gnu/xml/validation/datatype/MinExclusiveFacet.java,
30861 gnu/xml/validation/datatype/MinInclusiveFacet.java,
30862 gnu/xml/validation/datatype/NegativeIntegerType.java,
30863 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30864 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30865 gnu/xml/validation/datatype/PositiveIntegerType.java,
30866 gnu/xml/validation/datatype/ShortType.java,
30867 gnu/xml/validation/datatype/SimpleType.java,
30868 gnu/xml/validation/datatype/TimeType.java,
30869 gnu/xml/validation/datatype/TypeBuilder.java,
30870 gnu/xml/validation/datatype/UnsignedByteType.java,
30871 gnu/xml/validation/datatype/UnsignedIntType.java,
30872 gnu/xml/validation/datatype/UnsignedLongType.java,
30873 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30874 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30875 minInclusive facets use the value space of the base type, and
30878 2006-02-15 Mark Wielaard <mark@klomp.org>
30880 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30881 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30882 gtk_plug_new() returns a GtkWindow.
30884 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30886 * javax/swing/SpinnerNumberModel.java
30887 (getNextValue): Check for null maximum,
30888 (getPreviousValue): Check for null minimum.
30890 2006-02-15 Roman Kennke <kennke@aicas.com>
30892 * javax/swing/plaf/basic/BasicTableUI.java
30893 (paint): Paint vertical and horizontal lines one pixel shifted
30896 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
30898 * java/util/zip/ZipFile.java
30899 (checkZipFile): Inlined readLeInt and rewritten for robustness.
30900 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30901 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30902 (readEntries): Rewritten to use PartialInputStream.
30903 (locBuf, checkLocalHeader): Removed.
30904 (getInputStream): Rewritten to use new PartialInputStream.
30905 (PartialInputStream): Rewritten to do buffering.
30907 2006-02-15 Michael Koch <konqueror@gmx.de>
30909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30910 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30911 Make sure the embedded window gets no decorations.
30912 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30913 (window_get_frame_extents): Return early of the window has no
30916 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30918 * examples/gnu/classpath/examples/swing/TableDemo.java
30919 (TModel, createContent): Explain which value appears in the header.
30920 * javax/swing/JTable.java (setColumnModel): Only set the
30921 column header value if the getHeaderValue() returns null.
30923 2006-02-14 Mark Wielaard <mark@klomp.org>
30926 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30927 (getErrorImage): New static method.
30928 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30929 (bufferedImageOrError): Renamed to ...
30930 (imageOrError): Renamed from bufferedImageOrError, takes Image.
30931 Returns GtkImage.getErrorImage() when argument null.
30932 (createImage(String)): Always use imageOrError.
30933 (createImage(URL)): Likewise.
30934 (createImage(ImageProducer)): Likewise.
30935 (createImage(byte[],int,int)): Likewise.
30937 2006-02-14 Roman Kennke <kennke@aicas.com>
30939 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
30941 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
30942 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
30943 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
30944 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
30945 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
30947 2006-02-14 Roman Kennke <kennke@aicas.com>
30949 * javax/swing/text/AsyncBoxView.java
30950 (ChildState.locator): Removed wrong field.
30951 (ChildState): Removed initialization of removed field.
30952 (locator): Changed access modifier to be protected as specified.
30954 2006-02-14 Roman Kennke <kennke@aicas.com>
30956 * javax/swing/ToolTipManager.java: Removed unneeded imports.
30957 * javax/swing/Timer.java: Some small reindention.
30958 (task): Made package private to avoid synthetic accessor method.
30960 2006-02-14 Roman Kennke <kennke@aicas.com>
30962 * javax/swing/SwingUtilities.java
30963 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
30966 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30968 * examples/gnu/classpath/examples/swing/TableDemo.java:
30969 Making the columns variable width.
30970 * javax/swing/JTable.java (distributeSpill, doLayout):
30971 Call getPreferredSize and not getSize().
30973 2006-02-14 Roman Kennke <kennke@aicas.com>
30975 * javax/swing/DefaultCellEditor.java
30976 (DefaultCellEditor): API doc fixlet.
30978 2006-02-14 Roman Kennke <kennke@aicas.com>
30980 * javax/swing/JViewport.java
30981 (isPaintRoot): New field.
30982 (repaint): Only call super here. Also added a comment regarding
30983 the diversion from the JDK.
30984 (paintBlit): Implemented real blitting.
30985 (paintImmediately2): New method. Overrides the same package private
30986 method in JComponent.
30988 2006-02-14 Roman Kennke <kennke@aicas.com>
30990 * javax/swing/plaf/basic/BasicTableUI.java
30991 (paint): Check for boundary cases when determining the painting
30994 2006-02-14 Mark Wielaard <mark@klomp.org>
30996 * java/awt/Menu.java (add): Always set parent of item to this. Call
30997 addNotify() on item when we have a MenuPeer already.
30998 (insert): Always adjust parent for item. Call addNotify() on item if
30999 we already have a peer.
31000 (remove(int)): Always clear item parent. Call removeNotify() on item
31003 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31005 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
31006 row == getRowCount().
31008 2006-02-14 Lillian Angel <langel@redhat.com>
31010 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31011 (setVisible): New method to override super. Need to set the
31012 native bounds of the component, so it appears at the
31015 2006-02-14 Mark Wielaard <mark@klomp.org>
31017 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31018 (remove): If menu component is the current MenuBar remove it,
31019 otherwise call super.remove().
31020 * java/awt/MenuBar.java (frame): Remove field.
31021 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31023 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31025 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31026 to NameServicePersistent.
31027 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31028 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31030 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31032 * NEWS: Updated tool status.
31033 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31034 (constructor, bind, rebind): Rewritten.
31035 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31036 * tools/gnu/classpath/tools/giop/README: Updated.
31037 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31038 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31039 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31040 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31041 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31044 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31046 * javax/swing/JComponent.java
31047 (getListeners): Check for PropertyChangeListener.class and delegate to
31048 getPropertyChangeListeners() for that case.
31050 2006-02-13 Roman Kennke <kennke@aicas.com>
31052 * javax/swing/plaf/basic/BasicTableUI.java
31053 (paint): Determine the cells that need painting based on the
31054 current clip. Use getCellRect() for calculating the cell
31057 2006-02-13 Roman Kennke <kennke@aicas.com>
31059 * javax/swing/JTable.java
31060 (rectCache): New field.
31061 (getCellRect): Returns cached Rectangle instance.
31063 2006-02-13 Roman Kennke <kennke@aicas.com>
31065 * javax/swing/JLayeredPane.java
31066 (removeAll): New method. Avoid potential memory leak.
31067 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31070 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31072 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31073 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31075 2006-02-13 Tom Tromey <tromey@redhat.com>
31077 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31078 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31080 2006-02-13 Roman Kennke <kennke@aicas.com>
31082 * javax/swing/RepaintManager.java
31083 (offscreenBuffers): New field.
31084 (doubleBuffer): Removed field.
31085 (repaintUnderway): New field.
31086 (commitRequests): New field.
31087 (RepaintManager): Initialize new fields.
31088 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31090 (getOffscreenBuffer): Returns the offscreen buffer for the
31091 corresponding root component.
31092 (commitBuffer): New method.
31093 (commitRemainingBuffers): New method.
31094 * javax/swing/JComponent.java
31095 (paint): Call paintDoubleBuffered with the current clip.
31096 (paintImmediately2): Don't paint on screen here.
31097 (paintDoubleBuffered): Rewritten for real double buffering.
31098 (paintSimple): Draw to screen in this method.
31100 2006-02-13 Roman Kennke <kennke@aicas.com>
31102 * javax/swing/JRootPane.java
31103 (JRootPane): Set opaque property to true.
31105 2006-02-13 Tom Tromey <tromey@redhat.com>
31107 * .classpath: Updated for external/relaxngDatatype.
31109 2006-02-13 Chris Burdess <dog@gnu.org>
31111 * gnu/xml/stream/UnicodeReader.java,
31112 gnu/xml/validation/datatype/Annotation.java,
31113 gnu/xml/validation/datatype/AnySimpleType.java,
31114 gnu/xml/validation/datatype/AnyType.java,
31115 gnu/xml/validation/datatype/AnyURIType.java,
31116 gnu/xml/validation/datatype/AtomicSimpleType.java,
31117 gnu/xml/validation/datatype/Base64BinaryType.java,
31118 gnu/xml/validation/datatype/BooleanType.java,
31119 gnu/xml/validation/datatype/ByteType.java,
31120 gnu/xml/validation/datatype/DateTimeType.java,
31121 gnu/xml/validation/datatype/DateType.java,
31122 gnu/xml/validation/datatype/DecimalType.java,
31123 gnu/xml/validation/datatype/DoubleType.java,
31124 gnu/xml/validation/datatype/DurationType.java,
31125 gnu/xml/validation/datatype/EntitiesType.java,
31126 gnu/xml/validation/datatype/EntityType.java,
31127 gnu/xml/validation/datatype/EnumerationFacet.java,
31128 gnu/xml/validation/datatype/Facet.java,
31129 gnu/xml/validation/datatype/FloatType.java,
31130 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31131 gnu/xml/validation/datatype/GDayType.java,
31132 gnu/xml/validation/datatype/GMonthDayType.java,
31133 gnu/xml/validation/datatype/GMonthType.java,
31134 gnu/xml/validation/datatype/GYearMonthType.java,
31135 gnu/xml/validation/datatype/GYearType.java,
31136 gnu/xml/validation/datatype/HexBinaryType.java,
31137 gnu/xml/validation/datatype/IDRefType.java,
31138 gnu/xml/validation/datatype/IDRefsType.java,
31139 gnu/xml/validation/datatype/IDType.java,
31140 gnu/xml/validation/datatype/IntType.java,
31141 gnu/xml/validation/datatype/IntegerType.java,
31142 gnu/xml/validation/datatype/LanguageType.java,
31143 gnu/xml/validation/datatype/LengthFacet.java,
31144 gnu/xml/validation/datatype/ListSimpleType.java,
31145 gnu/xml/validation/datatype/LongType.java,
31146 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31147 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31148 gnu/xml/validation/datatype/MaxLengthFacet.java,
31149 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31150 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31151 gnu/xml/validation/datatype/MinLengthFacet.java,
31152 gnu/xml/validation/datatype/NCNameType.java,
31153 gnu/xml/validation/datatype/NMTokenType.java,
31154 gnu/xml/validation/datatype/NMTokensType.java,
31155 gnu/xml/validation/datatype/NameType.java,
31156 gnu/xml/validation/datatype/NegativeIntegerType.java,
31157 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31158 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31159 gnu/xml/validation/datatype/NormalizedStringType.java,
31160 gnu/xml/validation/datatype/NotationType.java,
31161 gnu/xml/validation/datatype/PatternFacet.java,
31162 gnu/xml/validation/datatype/PositiveIntegerType.java,
31163 gnu/xml/validation/datatype/QNameType.java,
31164 gnu/xml/validation/datatype/ShortType.java,
31165 gnu/xml/validation/datatype/SimpleType.java,
31166 gnu/xml/validation/datatype/StringType.java,
31167 gnu/xml/validation/datatype/TimeType.java,
31168 gnu/xml/validation/datatype/TokenType.java,
31169 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31170 gnu/xml/validation/datatype/Type.java,
31171 gnu/xml/validation/datatype/TypeBuilder.java,
31172 gnu/xml/validation/datatype/TypeLibrary.java,
31173 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31174 gnu/xml/validation/datatype/UnionSimpleType.java,
31175 gnu/xml/validation/datatype/UnsignedByteType.java,
31176 gnu/xml/validation/datatype/UnsignedIntType.java,
31177 gnu/xml/validation/datatype/UnsignedLongType.java,
31178 gnu/xml/validation/datatype/UnsignedShortType.java,
31179 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31180 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31181 RELAX NG datatype library implementation for XML Schema Datatypes.
31183 2006-02-13 Chris Burdess <dog@gnu.org>
31189 external/Makefile.am,
31190 external/relaxngDatatype/.cvsignore,
31191 external/relaxngDatatype/Makefile.am,
31192 external/relaxngDatatype/README.txt,
31193 external/relaxngDatatype/copying.txt,
31194 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31195 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31196 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31197 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31198 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31199 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31200 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31201 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31202 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31203 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31205 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31206 datatypes library API.
31208 2006-02-13 Mark Wielaard <mark@klomp.org>
31210 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31212 (gtkWidgetModifyFont(Font)): New protected helper method.
31213 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31214 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31215 protected and document.
31216 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31218 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31220 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31222 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31223 (setFont): Removed method. Done in GtkMenuComponent.
31224 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31225 abstract and protected.
31226 (setFont): Made private, add implementation.
31227 (setFont(Font)): Implemented.
31228 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31229 Made protected and document.
31230 (create): Made protected.
31231 (setFont): Removed method. Done in GtkMenuComponent.
31232 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31233 (gtkWidgetModifyFont): Made protected and document.
31234 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31235 Removed, similar to GtkGenericPeer super class implementation.
31236 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31237 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31238 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31241 2006-02-13 Mark Wielaard <mark@klomp.org>
31243 * java/lang/Math.java (static): Explicitly call
31244 System.loadLibrary("javalang").
31246 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31248 * javax/print/StreamPrintServiceFactory.java: New file.
31250 2006-02-13 Tom Tromey <tromey@redhat.com>
31252 * tools/.cvsignore: Added Makefile.
31254 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31256 * java/awt/print/PrinterGraphics.java: Reformatted.
31257 * java/awt/print/Paper.java: Likewise.
31258 * java/awt/print/PageFormat.java: Likewise.
31259 * java/awt/print/Pageable.java: Likewise.
31261 2006-02-13 Lillian Angel <langel@redhat.com>
31263 * java/awt/BorderLayout.java
31264 (layoutContainer): Rewrote part of this function to
31265 properly set the bounds of the components.
31266 (setBounds): Removed method, not needed.
31268 2006-02-13 Roman Kennke <kennke@aicas.com>
31270 * javax/swing/text/DefaultStyledDocument.java
31271 (ElementBuffer.clone): Fixed replace call.
31272 (clone): Removed method.
31274 2006-02-13 Roman Kennke <kennke@aicas.com>
31276 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31278 2006-02-13 Roman Kennke <kennke@aicas.com>
31280 * java/rmi/server/UnicastRemoteObject.java
31281 (exportObject(Remote)): Forward method call to export(Remote,int).
31283 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31285 * include/Makefile.am:
31286 Swapped Math.h for VMMath.h
31287 * include/java_lang_Math.h:
31289 * include/java_lang_VMMath.h:
31290 New autogenerated header for the new class.
31291 * java/lang/Math.java:
31292 (sin(double)): Changed to link to VMMath.
31293 (cos(double)): Changed to link to VMMath.
31294 (tan(double)): Changed to link to VMMath.
31295 (asin(double)): Changed to link to VMMath.
31296 (acos(double)): Changed to link to VMMath.
31297 (atan(double)): Changed to link to VMMath.
31298 (atan2(double)): Changed to link to VMMath.
31299 (exp(double)): Changed to link to VMMath.
31300 (log(double)): Changed to link to VMMath.
31301 (sqrt(double)): Changed to link to VMMath.
31302 (pow(double,double)): Changed to link to VMMath.
31303 (IEEEremainder(double,double)): Changed to link to VMMath.
31304 (ceil(double)): Changed to link to VMMath.
31305 (floor(double)): Changed to link to VMMath.
31306 (rint(double)): Changed to link to VMMath.
31307 * native/jni/java-lang/Makefile.am:
31308 Replaced java_lang_Math.c with java_lang_VMMath.c
31309 * native/jni/java-lang/java_lang_Math.c:
31311 * native/jni/java-lang/java_lang_VMMath.c:
31312 Renamed from java_lang_Math.c.
31313 * vm/reference/java/lang/VMMath.java:
31315 (sin(double)): New native method.
31316 (cos(double)): New native method.
31317 (tan(double)): New native method.
31318 (asin(double)): New native method.
31319 (acos(double)): New native method.
31320 (atan(double)): New native method.
31321 (atan2(double)): New native method.
31322 (exp(double)): New native method.
31323 (log(double)): New native method.
31324 (sqrt(double)): New native method.
31325 (pow(double,double)): New native method.
31326 (IEEEremainder(double,double)): New native method.
31327 (ceil(double)): New native method.
31328 (floor(double)): New native method.
31329 (rint(double)): New native method.
31331 2006-02-13 Lillian Angel <langel@redhat.com>
31333 * java/awt/Component.java
31334 (repaint): No need to call isShowing, it is done in the other repaint call.
31335 (repaint): Likewise.
31336 (repaint): Likewise.
31338 2006-02-13 Lillian Angel <langel@redhat.com>
31340 * java/awt/Component.java
31341 (repaint): Reverted last change.
31342 (repaint): Likewise.
31343 (repaint): Likewise.
31345 2006-02-13 Lillian Angel <langel@redhat.com>
31347 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31348 (handleEvent): Made more efficent by handling paint event and
31349 setting the clip for the graphics.
31350 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31351 (handleEvent): Likewise.
31352 * java/awt/Component.java
31353 (repaint): No need to call isShowing, it is done in the other repaint call.
31354 (repaint): Likewise.
31355 (repaint): Likewise.
31357 2006-02-13 Roman Kennke <kennke@aicas.com>
31359 * javax/swing/text/AbstractDocument.java
31360 (setParent): Added API docs. Call setParent(null) on children before
31361 disconnecting this view from the View hierarchy.
31363 2006-02-13 Roman Kennke <kennke@aicas.com>
31365 * javax/swing/text/AbstractDocument.java
31366 (readUnlock): Don't attempt to unlock when the current threads also
31367 holds a write lock.
31369 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31371 * javax/swing/plaf/metal/MetalBorders.java
31372 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31373 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31375 (Flush3DBorder.borderInsets): New field,
31376 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31377 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31378 null insets argument, and populate result from borderInsets,
31379 (PaletteBorder.borderInsets): New field,
31380 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31381 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31382 null insets argument, and populate result from borderInsets,
31383 (InternalFrameBorder.borderInsets): New field,
31384 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31386 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31387 for null insets argument, and populate result from borderInsets,
31388 (MenuItemBorder.borderInsets): Initialise to correct value.
31390 2006-02-13 Roman Kennke <kennke@aicas.com>
31392 * javax/swing/text/AsyncBoxView.java: New file.
31394 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31397 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31398 was moved to a new method parseCharClass.
31399 (parseCharClass): New method originally in initialize. Added parsing
31400 of nested character classes.
31401 (ParseCharClassResult): New inner class used as a return value of
31403 (getCharExpression),(getNamedProperty): Made static.
31404 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31405 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31406 nested character classes.
31407 (RETokenOneOf): New constructor accepting the Vector addition.
31408 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31409 stands for only one character.
31410 (match): Added the processing of the Vector addition.
31411 (matchN), (matchP): Do not check next token if addition is used.
31413 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31415 * AUTHORS: add self.
31417 2006-02-12 Tom Tromey <tromey@redhat.com>
31419 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31420 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31421 (securityContext): Likewise.
31424 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31428 * gnu/java/net/protocol/file/Connection.java (unquote):
31429 Convert Unicode characters outside basic plane to UTF-8,
31430 rather than throwing an exception.
31432 2006-02-12 Tom Tromey <tromey@redhat.com>
31434 * javax/sound/sampled/LineEvent.java (readObject): New method.
31435 (writeObject): Likewise.
31436 (serialVersionUID): New field.
31438 2006-02-12 Mark Wielaard <mark@klomp.org>
31440 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31441 Silently ignores null listener.
31442 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31443 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31444 array for null propertyName.
31446 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31448 * java/rmi/MarshalledObject.java: Added api docs to the class.
31449 * java/rmi/Remote.java: Added interface api docs.
31450 * java/rmi/package.html: Added package description.
31451 * java/rmi/AccessException.java: Minor api doc fixes.
31452 * java/rmi/NoSuchObjectException.java: Likewise.
31453 * java/rmi/AlreadyBoundException.java: Likewise.
31454 * java/rmi/RemoteException.java: Likewise.
31455 * java/rmi/NotBoundException.java: Likewise.
31456 * java/rmi/RMISecurityException.java: Likewise.
31457 * java/rmi/StubNotFoundException.java: Likewise.
31459 2006-02-12 Mark Wielaard <mark@klomp.org>
31461 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31462 q() to get EventQueue.
31463 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31464 (enableQueue): Remove static method.
31465 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31466 Don't call GtkGenericPeer.enableQueue().
31468 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31470 * java/rmi/MarshalledObject.java: Reformatted.
31471 * java/rmi/Naming.java: Likewise.
31473 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31475 * java/io/InputStream.java
31476 (read(byte[],int,int)): Changed argument validation to prevent
31477 integer overflow. Remove redundant check.
31479 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31482 * java/io/InputStreamReader.java
31483 (InputStreamReader(InputStream)): Use SystemProperties.
31484 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31485 Throw NullPointerException if in is null.
31486 Added maxBytesPerChar initialisation.
31487 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31488 Throw NullPointerException if in is null.
31490 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31492 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31493 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31494 (GnuDHPublicKey): New constructor.
31495 (getEncoded): Removed.
31496 (valueOf): Added support for ASN.1 encoding.
31497 (getEncoded(int)): Likewise.
31498 (equals): New method.
31499 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31500 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31501 (GnuDHPrivateKey(5)): New constructor.
31502 (getEncoded): Removed.
31503 (valueOf): Added support for ASN.1 encoding.
31504 (getEncoded(int)): Likewise.
31505 (equals): New method.
31506 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31507 (PREFERRED_ENCODING_FORMAT): New constant.
31508 (DEFAULT_ENCODING_FORMAT): Likewise.
31509 (preferredFormat): New field.
31510 (setup): Handle preferred encoding format identifier.
31511 (generate): Call constructors with format identifier.
31512 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31513 (GnuDHKey): Added an int argument.
31514 (getEncoded): New method.
31515 (getFormat): New implementation.
31516 (getEncoded(int)): New abstract method.
31517 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31518 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31519 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31520 key-pair generator and key-factory.
31521 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31522 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31523 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31524 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31525 (invokeConstructor): New method.
31526 (getConcreteClass): Likewise.
31527 (getConcreteCtor): Likewise.
31528 (invokeValueOf): Likewise.
31529 (getValueOfMethod): Likewise.
31530 (engineGeneratePublic): Add support for DH keys.
31531 (engineGeneratePrivate): Likewise.
31532 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31533 (decodeDHPublicKey(byte[])): Likewise.
31534 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31535 (decodeDHPrivateKey(byte[])): Likewise.
31537 2006-02-11 Mark Wielaard <mark@klomp.org>
31539 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31541 (repaint): Immediately post to queue when tm <= 0, otherwise call
31542 RepaintTimerTask.schedule().
31543 (RepaintTimerTask): Make static.
31544 (RepaintTimerTask.repaintTimer): New static final field.
31545 (RepaintTimerTask.awtComponent): New field.
31546 (schedule): New static method.
31548 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31550 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31551 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31552 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31553 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31554 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31556 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31558 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31560 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31561 (engineGeneratePublic): Added support for raw key-specifications.
31562 (engineGeneratePrivate): Likewise.
31563 (decodeDSSPublicKey): New method.
31564 (decodeRSAPublicKey): Likewise.
31565 (decodeDSSPrivateKey): Likewise.
31566 (decodeRSAPrivateKey): Likewise.
31567 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31568 (encodePrivateKey): Throw InvalidParameterException.
31569 (decodePublicKey): Likewise.
31570 (decodePrivateKey): Likewise.
31571 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31572 (encodePublicKey): Likewise.
31573 (encodePrivateKey): Likewise.
31574 (decodePublicKey): Likewise.
31575 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31576 (encodePrivateKey): Likewise.
31577 (decodePublicKey): Likewise.
31578 (decodePrivateKey): Likewise.
31579 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31580 (encodePublicKey): Likewise.
31581 (encodePrivateKey): Likewise.
31582 (decodePublicKey): Likewise.
31584 2006-02-10 Roman Kennke <kennke@aicas.com>
31586 * javax/swing/text/StyleContext.java
31587 (registerStaticAttributeKey): New static method.
31589 2006-02-10 Roman Kennke <kennke@aicas.com>
31591 * javax/swing/text/DefaultStyledDocument.java
31592 (ElementBuffer.clone): New method.
31594 2006-02-10 Roman Kennke <kennke@aicas.com>
31596 * javax/swing/text/ParagraphView.java
31597 (findOffsetToCharactersInString): New method.
31598 (getClosestPositionTo): New method.
31599 (getPartialSize): New method.
31600 (getTabBase): New method.
31601 (adjustRow): New method.
31602 (breakView): New method.
31603 (getBreakWeight): New method.
31605 2006-02-10 Roman Kennke <kennke@aicas.com>
31607 * javax/swing/text/GapContent.java
31608 (updateUndoPositions): New method.
31609 * javax/swing/text/StringContent.java
31610 (updateUndoPositions): New method.
31612 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31614 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31616 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31617 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31618 Added support for encoded key specifications.
31619 (engineGeneratePrivate): Likewise.
31620 (engineGetKeySpec): Likewise.
31621 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31623 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31625 * javax/swing/text/Utilities.java:
31626 (getTabbedTextOffset): Fixed usage of variable p0.
31627 (getPositionAbove): Rewritten.
31628 (getPositionBelow): Rewritten.
31630 2006-02-09 Roman Kennke <kennke@aicas.com>
31632 * javax/swing/text/BoxView.java
31633 (getAxis): Added @since tag.
31634 (setAxis): Added @since tag.
31635 (layoutChanged): Added @since tag.
31636 (isLayoutValid): Added @since tag.
31637 (paint): Don't call setSize here. This is done in RootView already.
31638 (getMaximumSpan): Reimplemented to return the requirements'
31639 maximum size. Added API docs.
31640 (getMinimumSpan): New method.
31641 (layout): Fixed layout order.
31642 (modelToView): Call layout instead of setSize here.
31643 (getResizeWeight): New method.
31644 (getChildAllocation): New method.
31645 (forwardUpdate): New method.
31646 (viewToModel): New method.
31647 (flipEastEndWestEnds): New method.
31648 * javax/swing/text/CompositeView.java
31649 (modelToView): Made this method more robust by returning a default
31650 location if it's not possible to calculate one via the children.
31651 This default location returns the left or right edge of this
31653 (createDefaultLocation): New helper method.
31654 * javax/swing/text/IconView.java
31655 (modelToView): Don't throw BadLocationException. This should
31656 really only be thrown if the position is outside the document
31657 model, not if it's outside the view's boundary.
31659 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31661 * tools/Makefile.am: Handle rmi and giop folders separately.
31663 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31665 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31666 * javax/swing/SpinnerNumberModel.java: Likewise.
31668 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31670 * javax/swing/SpinnerDateModel.java: Removed tabs,
31671 * javax/swing/SpinnerNumberModel.java: Likewise.
31673 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
31675 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31676 * doc/unicode/UnicodeData-4.0.0.txt: New file.
31678 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31681 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31682 (isRedirect): Removed, moved to Response.java.
31683 (connect): If error condition redirect responseSink to errorSink.
31684 (getInputStream): If error condition throw IOException, for the error
31685 codes 404 and 410 throw a FileNotFoundException.
31686 * gnu/java/net/protocol/http/Response.java (isError): New method.
31687 (isRedirect): New method, moved from HTTPURLConnection.java.
31689 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31691 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31692 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31693 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
31695 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31697 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31698 AbstractMethodGenerator.
31699 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31700 tools/gnu/classpath/tools/rmi/RMIC.java,
31701 tools/gnu/classpath/tools/rmi/RMIC.txt,
31702 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31703 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31704 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31705 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31706 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31707 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
31709 * NEWS: Corrected entry about the tools.
31711 2006-02-09 Lillian Angel <langel@redhat.com>
31713 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31714 (handleEvent): Added more to check to prevent assertion errors.
31715 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31716 (handleEvent): Likewise.
31717 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31718 (handleEvent): Likewise.
31720 2006-02-09 Mark Wielaard <mark@klomp.org>
31722 * javax/swing/JTable.java (tableChanged): Interpret null event as
31723 "everything changed".
31725 2006-02-09 Roman Kennke <kennke@aicas.com>
31727 * javax/swing/text/DefaultCaret.java
31728 (DocumentHandler.removeUpdate): When update policy is
31729 'on eventqueue', and the update doesn't come from the
31730 event queue, check if the current dot location is still
31732 (moveDot): Make sure the new dot location is valid.
31733 (setDot): Set the mark the same as the dot.
31735 2006-02-09 Roman Kennke <kennke@aicas.com>
31737 * javax/swing/text/AbstractDocument.java
31738 (remove): Perform all operations within a write lock and in the
31741 2006-02-09 Mark Wielaard <mark@klomp.org>
31743 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31744 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31745 creater than min, adjusting page_size if necessary.
31746 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31748 2006-02-09 Lillian Angel <langel@redhat.com>
31750 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31751 (handleEvent): Added code to handle PaintEvent.UPDATE.
31752 Sun does not call update(Graphics g) on Panels.
31753 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31754 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31755 Sun does not call update(Graphics g) on Panels.
31757 2006-02-09 Roman Kennke <kennke@aicas.com>
31759 * javax/swing/text/BoxView.java
31760 (myAxis): Made field private.
31761 (xLayoutValid): Replaced by layoutValid array.
31762 (yLayoutValid): Replaced by layoutValid array.
31763 (layoutValid): New field.
31764 (spansX): Replaced by spans array.
31765 (spansY): Replaced by spans array.
31766 (spans): New field.
31767 (offsetsX): Replaced by offsets array.
31768 (offsetsY): Replaced by offsets array.
31769 (offsets): New field.
31770 (requirements): New field.
31771 (BoxView): Initialize new fields.
31772 (layoutChanged): Rewritten to use the layoutValid array.
31773 (isLayoutValid): Rewritten to use the layoutValid array.
31774 (replace): Use the new arrays.
31775 (getPreferredSpan): Rewritten to call calculateXXXRequirements
31776 instead of baselineRequirements.
31777 (baselineRequirements): Rewritten to calculate baseline requirements.
31778 (baselineLayout): Rewritten to calculate baseline layout.
31779 (childAllocation): Use new arrays.
31780 (layout): Rewritten. Only update the layout if necessary.
31781 (layoutMajorAxis): Directly set layoutValid.
31782 (layoutMinorAxis): Directly set layoutValid. Use cached size
31784 (getWidth): Use new span array.
31785 (getHeight): Likewise.
31786 (setSize): Rewritten to simply call layout().
31787 (validateLayout): Removed unneeded method.
31788 (getSpan): Use new arrays.
31789 (getOffset): Use new arrays.
31790 (getAlignment): Use cached requirements if possible.
31791 (preferenceChanged): Use new arrays.
31792 * javax/swing/text/FlowView.java
31793 (FlowStrategy.insertUpdate): Do nothing here.
31794 (FlowStrategy.removeUpdate): Do nothing here.
31795 (FlowStrategy.changedUpdate): Do nothing here.
31796 (FlowStrategy.layoutRow): Rewritten.
31797 (FlowStrategy.createView): Rewritten.
31798 (FlowStrategy.adjustRow): New method.
31799 (LogicalView.getViewIndex): Fixed condition for finding child
31801 (layoutDirty): New field indicating the state of the layout.
31802 (FlowView): Initialize new field.
31803 (loadChildren): Set parent on logical view so that preferenceChanges
31804 get propagated upwards.
31805 (layout): Rewritten to match the specs.
31806 (insertUpdate): Set layout to dirty.
31807 (removeUpdate): Set layout to dirty.
31808 (changedUpdate): Set layout to dirty.
31809 * javax/swing/text/GlyphView.java
31810 (getBreakWeight): Rewritten to use the Utilities class. Commented
31811 out though because that is broken.
31812 (insertUpdate): Call preferenceChanged on this object instead of
31814 * javax/swing/text/ParagraphView.java
31815 (Row.loadChildren): Overridden to be a noop to prevent initial
31816 creation of child views. This is carried out by the flow layout.
31817 * javax/swing/text/View.java
31818 (getPreferredSpan): Added API docs.
31819 (getResizeWeight): Added API docs.
31820 (getMaximumSpan): Added API docs. Rewritten to only have one exit
31822 (getMinimumSpan): Added API docs. Rewritten to return 0 when
31823 resizable instead of Integer.MAX_VALUE.
31824 (getAlignment): Added API docs.
31825 (replace): Added API docs.
31826 (forwardUpdate): Rewritten to only notify child views that need to
31829 2006-02-09 Roman Kennke <kennke@aicas.com>
31831 * javax/swing/plaf/basic/BasicTextUI.java
31832 (RootView.paint): Call setSize() before painting the view.
31834 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
31837 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31838 flag which enables backslash escape in a replacement.
31839 (getReplacement): New public static method.
31840 (substituteImpl),(substituteAllImpl): Use getReplacement.
31841 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31842 * java/util/regex/Matcher.java(appendReplacement)
31843 Use RE#getReplacement.
31844 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31846 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
31848 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31849 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31850 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31851 (PREFERRED_ENCODING_FORMAT): New constant.
31852 (DEFAULT_ENCODING_FORMAT): Likewise.
31853 (preferredFormat): New field.
31854 (setup): Add support for preferred encoding format.
31855 (generate): Call key constructors with explicit format identifier.
31856 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
31857 Call constructor with 3 arguments..
31858 (GnuRSAPublicKey(3)): New constructor.
31859 (valueOf): Added support for ASN.1 format.
31860 (getEncoded): Likewise.
31861 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31862 Call constructor with 5 arguments.
31863 (GnuRSAPrivateKey(5)): New constructor.
31864 (GnuRSAPrivateKey(9)): New constructor.
31865 (valueOf): Added support for ASN.1 format.
31866 (getEncoded): Likewise.
31867 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31868 (GnuRSAKey): Modified constructor.
31869 (getFormat): Return preferred format identifier.
31870 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31871 (decodePrivateKey): Fixed documentation.
31872 Check Version field.
31873 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31874 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31876 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31877 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31878 (engineGeneratePublic): Added support for RSA.
31879 (engineGeneratePrivate): Likewise.
31881 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31883 * java/net/URLConnection.java:
31884 (setAllowUserInteraction): Throw IllegalStateException if connected.
31885 (getRequestProperty): Document return value if key is null.
31886 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31887 (getRequestProperty): Return null if key is null.
31888 (getRequestProperties): Throw IllegalStateException if connected.
31889 (setRequestProperty): Call super method for exception tests.
31890 (addRequestProperty): Likewise.
31892 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31894 * gnu/java/net/protocol/http/Request.java:
31895 (Request): Remove initialization of removed field.
31896 (requestBodyNegotiationThreshold): Removed now unused field.
31897 (setRequestBodyNegotiationThreshold): Remove now unused method.
31898 (dispatch): Do not use 'Expect 100-continue' header if content-length
31899 is over a treshold. If user specified 'Expect 100-continue' still
31900 initialize the expectingContinue variable.
31902 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31904 * javax/swing/SpinnerNumberModel.java
31905 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
31906 maximum and minimum to take null values,
31907 (setValue): Only fire ChangeEvent if new value is different to old
31909 (setMinimum): Fixed test for updating value,
31910 (setMaximum): Likewise,
31911 (setStepSize): Likewise.
31913 2006-02-08 Tom Tromey <tromey@redhat.com>
31915 * tools/.cvsignore: Added Makefile.in.
31917 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31919 * java/rmi/server/RemoteRef.java,
31920 java/rmi/server/RemoteStub.java: Commented.
31922 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31924 * javax/swing/SpinnerDateModel.java
31925 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31927 (getPreviousValue): Check result against start, not end,
31928 (setValue): Check that value actually changes before firing
31931 2006-02-08 Lillian Angel <langel@redhat.com>
31933 * java/awt/Choice.java
31934 (select): Fixed up code, added some checks to prevent errors.
31935 (dispatchEventImpl): Removed. This function is not needed. It
31936 causes several assertion errors.
31938 2006-02-08 Roman Kennke <kennke@aicas.com>
31940 * javax/swing/text/PlainView.java
31941 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
31942 drawing unnecessary characters.
31944 2006-02-08 Lillian Angel <langel@redhat.com>
31946 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31947 (handleEvent): Fixed check to determine if height or
31948 width is less than 1.
31950 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31952 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
31954 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31956 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
31957 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
31958 Documenting the code generator.
31959 * gnu/CORBA/IOR.java (toStringFormatted,
31960 CodeSet_component.toStringFormatted): New methods.
31961 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
31962 * tools/gnu/classpath/tools/giop/README: Rewritten.
31963 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
31964 (printHelpAndExit): Removed.
31965 *tools/gnu/classpath/tools/giop/IorParser.java,
31966 tools/gnu/classpath/tools/giop/IorParser.txt,
31967 tools/gnu/classpath/tools/giop/NameService.java,
31968 tools/gnu/classpath/tools/giop/NamingService.txt,
31969 tools/gnu/classpath/tools/HelpPrinter.java: New files.
31970 NEWS: Added note about GIOP tools.
31972 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31974 * .classpath: New source patch (tools).
31975 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
31976 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
31977 * tools/gnu/classpath/tools/Makefile.am,
31978 tools/gnu/classpath/tools/giop/GRMIC.java
31979 tools/gnu/classpath/tools/giop/GRMIC.txt,
31980 tools/gnu/classpath/tools/giop/README,
31981 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
31982 tools/gnu/classpath/tools/giop/grmic/Generator.java,
31983 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
31984 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
31985 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
31986 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
31987 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
31988 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
31989 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
31990 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31991 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31992 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
31994 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
31996 * java/awt/BasicStroke.java: Updated API docs all over,
31997 * java/awt/doc-files/capjoin.png: New file.
31999 2006-02-07 Lillian Angel <langel@redhat.com>
32001 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32002 (handleEvent): Added check. Should not paint or update the
32003 component if it's width and height are both 0.
32005 2006-02-07 Roman Kennke <kennke@aicas.com>
32007 * javax/swing/text/AbstractDocument.java
32008 (insertString): Enclose locking/unlocking in try-finally block
32009 and also keep locked while notifying the listeners.
32011 2006-02-07 Roman Kennke <kennke@aicas.com>
32013 * javax/swing/text/GlyphView.java
32014 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32016 (getStartOffset): Return element boundary if startOffset < 0.
32017 (getEndOffset): Return element boundary if endOffset < 0.
32018 (createFragment): Set startOffset and endOffset fields of fragment
32019 if one of p0 or p1 is not at the element boundary.
32021 2006-02-07 Roman Kennke <kennke@aicas.com>
32023 * javax/swing/CellRendererPane.java
32024 (paintComponent): Enclosed painting in try finally to properly
32025 clean up even when throwing an exception.
32027 2006-02-07 Roman Kennke <kennke@aicas.com>
32029 * javax/swing/UIManager.java
32030 (listeners): Made this an instance of
32031 java.beans.PropertyChangeSupport instead of the obsoleted
32032 SwingPropertyChangeSupport.
32034 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32036 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32037 of actions "delete-next" and "delete-previous", added new TextAction
32038 implementations for "selection-begin", "selection-begin-line",
32039 "selection-end" and "selection-end-line".
32041 2006-02-07 Roman Kennke <kennke@aicas.com>
32043 * javax/swing/plaf/basic/BasicTextUI.java
32044 (paint): Acquire read lock on the document before calling
32046 (paintSafely): Added comment about what this method does.
32047 (paintBackground): Implemented to actually paint the background.
32048 (update): Overridden to _not_ paint the background. This is done
32049 in paintBackground in this UI.
32051 2006-02-07 Roman Kennke <kennke@aicas.com>
32053 * javax/swing/text/View.java
32054 (forwardUpdate): Don't notify newly added child views as specified.
32056 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32058 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32060 2006-02-07 Roman Kennke <kennke@aicas.com>
32062 * javax/swing/text/DefaultStyledDocument.java
32063 (ElementBuffer.insert): Only register change when the element
32066 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32068 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32070 (getEncodingShortName): Likewise.
32071 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32072 (PKCS8_FORMAT): Likewise.
32073 (ASN1_FORMAT): Likewise.
32074 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32075 constructor with 5 arguments.
32076 (DSSPublicKey(5)): New constructor.
32077 (valueOf): Handle ASN.1 encoding.
32078 (getEncoded): Likewise.
32079 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32080 constructor with 5 arguments.
32081 (DSSPrivateKey(5)): New constructor.
32082 (valueOf): Handle ASN.1 encoding.
32083 (getEncoded): Likewise.
32084 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32085 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32086 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32087 (PREFERRED_ENCODING_FORMAT): New constant.
32088 (DEFAULT_ENCODING_FORMAT): Likewise.
32089 (preferredFormat): New field.
32090 (setup): Handle preferred format ID.
32091 (generate): Use new ctors with 5 arguments.
32092 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32093 ID as an additional argument.
32094 (defaultFormat): new field.
32095 (getFormat): Returns the preferred format as a short string.
32096 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32097 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32099 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32100 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32102 (initialize(int,boolean,SecureRandom)): Likewise.
32103 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32104 writeLength() instead of write().
32105 return buf.length + 1 instead of buf.length.
32107 2006-02-07 Roman Kennke <kennke@aicas.com>
32109 * javax/swing/plaf/basic/BasicTextUI.java
32110 (RootView.preferenceChange): Changed view parameter to view so
32111 that it doesn't hide a field of that class.
32112 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32113 (RootView.modelToView): Removed unnecessary cast from View to View.
32114 (PropertyChangeHandler): Made inner class private.
32115 (updateHandler): Made field private.
32116 (getVisibleEditorRect): Removed unneeded local variable that
32117 shadowed a field with the same name and purpose.
32119 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32121 * javax/swing/text/JTextComponent.java:
32122 (getSelectedText): Calculate offset and use that as
32125 2006-02-07 Roman Kennke <kennke@aicas.com>
32127 * javax/swing/JTextPane.java
32128 (setCharacterAttributes): Replace input attributes when
32131 2006-02-07 Roman Kennke <kennke@aicas.com>
32133 * java/awt/Component.java
32134 (firePropertyChange(String,byte,byte)): Made method public.
32135 (firePropertyChange(String,char,char)): Made method public.
32136 (firePropertyChange(String,short,short)): Made method public.
32137 (firePropertyChange(String,long,long)): Made method public.
32138 (firePropertyChange(String,float,float)): Made method public.
32139 (firePropertyChange(String,double,double)): Made method public.
32141 2006-02-06 Tom Tromey <tromey@redhat.com>
32143 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32145 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32147 2006-02-06 Anthony Green <green@redhat.com>
32149 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32151 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32153 * .settings/org.eclipse.jdt.core.prefs:
32154 Force a line split on extends and implements.
32155 Force a white-space after unary operators.
32156 Don't force a new-line after @params.
32157 Add new-line at end-of-file.
32158 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32160 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32162 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32164 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32166 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32168 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32170 * gnu/java/security/provider/EncodedKeyFactory.java
32171 (ID_DSA): Redefined in terms of Registry constant.
32172 (ID_DSA): Redefined in terms of Registry constant.
32173 (ID_DH): Redefined in terms of Registry constant.
32174 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32175 (PKCS8_ENCODING): Likewise.
32176 (ASN1_ENCODING): Likewise.
32177 (RAW_ENCODING_SHORT_NAME): Likewise.
32178 (X509_ENCODING_SORT_NAME): Likewise.
32179 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32180 (ASN1_ENCODING_SHORT_NAME): Likewise.
32181 (X509_ENCODING_ID): Likewise.
32182 (PKCS8_ENCODING_ID): Likewise.
32183 (ASN1_ENCODING_ID): Likewise.
32184 (DSA_OID_STRING): Likewise.
32185 (RSA_OID_STRING): Likewise.
32186 (DH_OID_STRING): Likewise.
32188 2006-02-06 Roman Kennke <kennke@aicas.com>
32190 * javax/swing/text/GlyphView.java:
32191 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32192 Only fill background if there is a background set on the view.
32193 Call Utilities.drawTabbedText with the baseline height, rather than
32194 the upper left corner of the view rectangle.
32195 (getBackground): Return null if no background is set.
32196 * javax/swing/text/GlyphView.java:
32197 (setPropertiesFromAttributes): Use null for background when no
32198 background is set. StyleConstants.getBackground() doesn't work
32199 for this, because it returns Color.BLACK in that case.
32201 2006-02-06 Roman Kennke <kennke@aicas.com>
32203 * java/awt/Container.java
32204 (changeSupport): Removed duplicate (from Component) field.
32205 (addPropertyChangeListener): Call super.
32207 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32209 * java/util/regex/Matcher.java(matches):
32210 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32212 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32215 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32216 * gnu/regexp/CharIndexedCharArray.java
32217 (lookBehind),(length): Implemented.
32218 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32219 * gnu/regexp/CharIndexedString.java: Likewise.
32220 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32221 * gnu/regexp/REToken.java(getMaximumLength): New method.
32222 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32224 (initialize): Parse (?<=X), (?<!X), (?>X).
32225 (getMaximumLength): Implemented.
32226 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32227 * gnu/regexp/RETokenChar.java: Likewise.
32228 * gnu/regexp/RETokenEnd.java: Likewise.
32229 * gnu/regexp/RETokenEndSub.java: Likewise.
32230 * gnu/regexp/RETokenLookAhead.java: Likewise.
32231 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32232 * gnu/regexp/RETokenOneOf.java: Likewise.
32233 * gnu/regexp/RETokenPOSIX.java: Likewise.
32234 * gnu/regexp/RETokenRange.java: Likewise.
32235 * gnu/regexp/RETokenRepeated.java: Likewise.
32236 * gnu/regexp/RETokenStart.java: Likewise.
32237 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32238 * gnu/regexp/RETokenIndependent.java: New file.
32239 * gnu/regexp/RETokenLookBehind.java: New file.
32241 2006-02-06 Roman Kennke <kennke@aicas.com>
32243 * java/awt/Component.java
32244 (firePropertyChange(String,byte,byte)): New method.
32245 (firePropertyChange(String,char,char)): New method.
32246 (firePropertyChange(String,short,short)): New method.
32247 (firePropertyChange(String,long,long)): New method.
32248 (firePropertyChange(String,float,float)): New method.
32249 (firePropertyChange(String,double,double)): New method.
32251 2006-02-06 Roman Kennke <kennke@aicas.com>
32253 * javax/swing/JComponent.java
32254 (AccessibleJComponent.changeSupport): Changed to be a
32255 java.beans.PropertyChangeSupport rather than
32256 SwingPropertyChangeSupport.
32257 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32259 (changeSupport): Removed unneeded field.
32260 (removePropertyChangeListener): Removed unneeded methods.
32261 (addPropertyChangeListener): Removed unneeded methods.
32262 (getPropertyChangeListeners): Removed unneeded methods.
32263 (firePropertyChange(String,boolean,boolean)): Changed to simply
32264 call super. Added specnote.
32265 (firePropertyChange(String,char,char)): Changed to simply
32266 call super. Added specnote.
32267 (firePropertyChange(String,int,int)): Changed to simply
32268 call super. Added specnote.
32269 (firePropertyChange(String,byte,byte)): Removed.
32270 (firePropertyChange(String,Object,Object)): Removed.
32271 (firePropertyChange(String,double,double)): Removed.
32272 (firePropertyChange(String,float,float)): Removed.
32273 (firePropertyChange(String,long,long)): Removed.
32274 (firePropertyChange(String,short,short)): Removed.
32276 2006-02-06 Roman Kennke <kennke@aicas.com>
32278 * javax/swing/event/SwingPropertyChangeSupport.java
32279 (listeners): Removed field.
32280 (propertyListeners): Removed field.
32281 (source): Removed field.
32282 (SwingPropertyChangeSupport()): Removed initialization of removed
32284 (addPropertyChangeListener): Removed methods.
32285 (removePropertyChangeListener): Removed methods.
32286 (getPropertyChangeListeners): Removed methods.
32287 (firePropertyChange): Removed methods.
32288 (hasListeners): Removed methods.
32290 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32293 * java/net/InetAddress.java
32294 (readResolve): Implemented.
32296 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32299 * java/io/ObjectInputStream.java
32300 (readNextBlock()): Handle TC_RESET.
32302 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32304 * javax/print/attribute/standard/Compression.java,
32305 * javax/print/attribute/standard/Finishings.java,
32306 * javax/print/attribute/standard/JobMediaSheets.java,
32307 * javax/print/attribute/standard/JobSheets.java,
32308 * javax/print/attribute/standard/JobState.java,
32309 * javax/print/attribute/standard/JobStateReason.java,
32310 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32311 * javax/print/attribute/standard/PrintQuality.java,
32312 * javax/print/attribute/standard/Media.java,
32313 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32314 * javax/print/attribute/standard/PrinterStateReason.java,
32315 * javax/print/attribute/standard/PDLOverrideSupported.java:
32316 (getName): Make method final.
32317 (getCategory): Likewise.
32318 * javax/print/attribute/standard/MediaSize.java:
32319 (getName): Make method final.
32320 (getCategory): Likewise.
32321 (ISO): Added private default constructor.
32325 (Engineering): Likewise.
32327 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32329 * native/jni/java-net/javanet.c (_javanet_connect):
32330 Throw ConnectException instead of IOException if connection failed.
32331 * native/jni/java-net/javanet.h:
32332 Add a define for java.net.ConnectException
32334 2006-02-05 Mark Wielaard <mark@klomp.org>
32337 reported by Egon Willighagen <egon.willighagen@gmail.com>
32338 * javax/swing/DefaultListCellRenderer.java
32339 (getListCellRendererComponent): Turn null value into empty string.
32341 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32343 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32344 a Unicode block if the name starts with "In".
32345 (UnicodeBlockHandler): New inner class.
32347 2006-02-04 Roman Kennke <kennke@aicas.com>
32349 * java/awt/Container.java
32350 (getComponentZOrder): New method.
32351 (setComponentZOrder): New method.
32352 * javax/swing/JLayeredPane.java
32353 (setPosition): Reimplemented to use setComponentZOrder().
32354 (getIndexOf): Reimplemented to use getComponentZOrder().
32355 (addImpl): Pass layerContraint to super call. Important for possibly
32356 installed layout managers.
32357 (swapComponents): Remove unneeded method.
32359 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32361 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32362 DSAKeyPairGenerator.
32363 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32364 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32366 Surround call to adaptee in a try/catch.
32367 (initialize((DSAParams,SecureRandom)): New method.
32368 (initialize(int,boolean,SecureRandom)): New method.
32369 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32370 KeyPairGenerator rather than KeyPairGeneratorSpi.
32371 (KeyPairGeneratorAdapter): Call super with algorithm name.
32373 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32375 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32376 (getDefaultPRNG): New method.
32377 (parseO): Use method above.
32378 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32379 (getDefaultPRNG): New method.
32380 (createO): Use method above.
32381 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32382 (nextByte): Use above field.
32383 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32384 * gnu/java/security/sig/rsa/RSA.java: New class field.
32385 (newR): Use above field
32386 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32387 (encode): Use field.above.
32388 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32389 (getDefaultPRNG): new method.
32390 (nextRandomBytes): Use above method.
32391 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32392 * gnu/java/security/sig/BaseSignature.java: Likewise.
32393 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32394 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32395 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32396 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32397 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32398 (getDefaultPRNG): new method.
32399 (nextRandomBytes): Use above method.
32400 (STRICT_DEFAULTS): new class field.
32401 (USE_DEFAULTS): more documentation to clarify behavior.
32402 (setup): amended to handle new attribute.
32403 * gnu/java/security/util/PRNG.java: New file.
32405 2006-02-03 Lillian Angel <langel@redhat.com>
32407 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32408 chooser field should be protected, not package-private.
32410 2006-02-03 Lillian Angel <langel@redhat.com>
32412 * javax/swing/text/DefaultStyledDocument.java
32413 (changeUpdate): Cleaned up code.
32415 (insertUpdate): Set offset to be equal to pos after
32416 insertContentTag call.
32417 (insertContentTag): If paragraph has no children, should use
32418 replace instead of Edit.
32419 (insertFracture): Moved around code to prevent any exception. Also,
32420 left side of tree should not be recreated if it has already been
32421 edited. In that case, we should only be creating a new right branch
32423 (getEditForParagraphAndIndex): No need to check index. We should
32424 use the same edit for each paragraph.
32426 2006-02-03 Mark Wielaard <mark@klomp.org>
32428 * javax/swing/event/SwingPropertyChangeSupport.java
32429 (propertyListeners): Change type to HashMap.
32430 (SwingPropertyChangeSupport): Allocate HashMap.
32432 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32434 * java/security/KeyPairGenerator.java (getInstance): Test for
32435 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32437 2006-02-02 Roman Kennke <kennke@aicas.com>
32439 * javax/swing/RepaintManager.java
32440 Made fields private.
32441 (RepaintWorker.run): Enclosed work stuff in try finally block in
32442 order to clean up correctly if invalidation or painting fails,
32443 otherwise we would get no more RepaintWorkers onto the EventQueue.
32444 Also, now the RepaintWorker is marked 'dead' only after it has
32445 finished its work, avoid more than one RepaintWorker on the queue.
32446 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32447 instead of hierarchy depths.
32448 (workDirtyComponents): Removed unused field.
32449 (repaintOrder): Removed unused field.
32450 (workRepaintOrder): Removed unused field.
32451 (workInvalidComponents): Removed unused field.
32452 (RepaintManager()): Removed initialization of removed fields.
32453 (addInvalidComponent): Fine tuned synchronization.
32454 (removeInvalidComponent): Fine tune synchronization.
32455 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32456 synchronization. Don't manager repaintOrder here.
32457 (insertRepaintOrder): Removed method.
32458 (markCompletelyClean): Fine tuned synchronization.
32459 (validateInvalidComponents): Dont use a working copy of the
32460 invalidComponents list, instead fine tuned synchronization on this
32461 list. Also, don't search validateRoot, this is already done in
32462 addInvalidComponent().
32463 (paintDirtyRegions): Compute repaint order here, based on size of
32464 damaged regions. Fine tuned synchronization. Avoid use of working
32465 copies of dirtyComponent.
32467 2006-02-02 Lillian Angel <langel@redhat.com>
32469 * javax/swing/text/DefaultStyledDocument.java
32470 (insertUpdate): JoinNextDirection should push the
32471 'next' paragraph on the stack.
32473 2006-02-02 Lillian Angel <langel@redhat.com>
32475 * javax/swing/text/DefaultStyledDocument.java
32476 (insertUpdate): Rewrote code for Originate. This prevents
32477 leaves being created multiple times. If it is on the last
32478 ElementSpec, the leaves need to be created right then;
32479 otherwise, only a branch is created.
32480 (insertContentTag): Rewrote to add new leaf directly if
32481 this is a branch with no children. Otherwise, it
32482 recreates the remainder of the tree as before.
32484 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32486 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32487 for making a list of REMatch instances.
32488 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32489 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32490 (match): Rewritten using REMatchList.
32491 (matchRest): Rewritten using REMatchList.
32493 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32495 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32496 (friendsMove): Call repaint() only after endOfGame is assigned.
32498 2006-02-02 Mark Wielaard <mark@klomp.org>
32500 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32501 * java/util/AbstractCollection.java (toString): Only use Iterator,
32502 check whether collection contains itself.
32504 2006-02-01 Casey Marshall <csm@gnu.org>
32506 Partial fix for PR classpath/25143.
32507 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32508 (<init>): fill in `algName,' derive `algOid' from `algName.'
32509 (getOid): new method.
32510 (encode): embed NULL value for parameters if `params' is `null.'
32512 2006-02-01 Casey Marshall <csm@gnu.org>
32514 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32515 <monoman@gmail.com>.
32516 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32517 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32519 2006-02-01 Casey Marshall <csm@gnu.org>
32521 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32522 * gnu/java/security/der/DERValue.java
32523 (getLength, getEncoded, getEncodedLength): throw an exception,
32524 don't initialize `encoded' to a bogus value.
32525 (toString): return a more helpful string.
32527 Partial fix for PR classpath/25144.
32528 * gnu/java/security/der/DERWriter.java (write): if the value is
32529 the pseudo-value used for CONSTRUCTED, write the encoded value
32532 2006-02-01 Tom Tromey <tromey@redhat.com>
32534 * java/security/Security.java (loadProviders): Use system class
32537 2006-02-01 Mark Wielaard <mark@klomp.org>
32539 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32540 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32541 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32542 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32543 (UnicodeCategoriesHandler): New private static class.
32545 2006-02-01 Lillian Angel <langel@redhat.com>
32547 * javax/swing/text/DefaultStyledDocument.java:
32548 Removed unneeded fields.
32549 (insertUpdate): Removed field initialization.
32550 (insertContentTag): Rewrote part of function. Still
32553 2006-02-01 Lillian Angel <langel@redhat.com>
32555 * javax/swing/text/DefaultStyledDocument.java
32556 (insertParagraph): Cleaned up code.
32557 (insertFirstContentTag): Fixed call to recreateLeaves.
32558 (insertContentTag): Added check to code to determine where
32559 content should be inserted with respect to next element.
32560 (createFracture): Removed check, recreateLeaves is called in
32561 other places when needed.
32562 (recreateLeaves): Added new parameter for paragraph instead
32563 of checking the stack. Removed editing for newBranch, replaced
32564 with a replace call.
32566 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32568 * doc/unicode/Blocks-4.0.0.txt: New file.
32569 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32570 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32571 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32572 but replaced some 1.5-only features (such as enum).
32574 2006-01-31 Roman Kennke <kennke@aicas.com>
32576 * javax/swing/text/PasswordView.java
32577 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32579 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32582 2006-01-31 Roman Kennke <kennke@aicas.com>
32584 * javax/swing/JTextField.java
32585 (getPreferredSize): Also include textfield's insets in width
32588 2006-01-31 Roman Kennke <kennke@aicas.com>
32590 * javax/swing/plaf/basic/BasicTextUI.java
32591 (getPreferredSize): Include the textcomponent's insets in
32594 2006-01-31 Roman Kennke <kennke@aicas.com>
32596 * javax/swing/table/DefaultTableCellRenderer.java
32597 (getTableCellRendererComponent): Moved setting of the value into
32598 setValue(). Removed (bogus) special handling of JTextField values.
32599 (setValue): Made ?: statement more clear by rewriting it
32602 2006-01-31 Roman Kennke <kennke@aicas.com>
32604 * javax/swing/JLayeredPane.java
32605 (insertIndexForLayer): Fixed algorithm to correctly determine
32606 inser index for positions >= 0.
32607 (addImpl): Fixed API docs for the index parameter.
32609 2006-01-31 Mark Wielaard <mark@klomp.org>
32611 * java/net/URI.java (getURIGroup): Check for null to see whether
32612 group actually exists.
32614 2006-01-31 Lillian Angel <langel@redhat.com>
32616 * javax/swing/text/DefaultStyledDocument.java
32617 (changeUpdate): Fixed calls to split to incorporate
32619 (insertParagraph): Likewise. Uses 0 as editIndex
32620 because inserting into a new paragraph.
32621 (insertContentTag): Fixed check to use
32622 recreateLeaves. Added a FIXME comment.
32623 (split): Added a new parameter for edits.
32625 2006-01-31 Roman Kennke <kennke@aicas.com>
32627 * javax/swing/plaf/basic/BasicRootPaneUI.java
32628 (installDefaults): Don't install a background color here.
32630 2006-01-31 Lillian Angel <langel@redhat.com>
32632 * javax/swing/text/DefaultStyledDocument.java
32633 (insert): Removed comment.
32634 (insertUpdate): Added comment.
32635 (recreateLeaves): Removed call to push newBranch onto the
32636 stack. This does not need to be done here.
32638 2006-01-31 Chris Burdess <dog@gnu.org>
32640 * gnu/xml/stream/SAXParser.java,
32641 gnu/xml/stream/UnicodeReader.java,
32642 gnu/xml/stream/XIncludeFilter.java,
32643 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32644 only resolved the system ID not the stream. Make some utility methods
32645 public and static for use by other private XML APIs.
32646 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32647 called without throwing IllegalStateException.
32648 * java/util/logging/SimpleFormatter.java: Write thrown exception if
32651 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32654 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32655 for an invalid index and return null for a skipped group.
32657 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32660 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32661 (NamedProperty): New inner class.
32662 (getNamedProperty): New method.
32663 (getRETokenNamedProperty): New Method.
32664 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32665 * gnu/regexp/RETokenNamedProperty.java: New file.
32667 2006-01-31 Roman Kennke <kennke@aicas.com>
32669 * javax/swing/plaf/PlainView.java
32670 (paint): Call drawLine with baseline coordinates.
32671 (drawLine): Documented and indented this method.
32672 (drawUnselecetedText): Documented and indented this method.
32673 * javax/swing/plaf/text/Utilites.java
32674 (drawTabbedText): The coordinates denote the baseline of the text
32675 not the upper left corner.
32677 2006-01-31 Roman Kennke <kennke@aicas.com>
32679 * javax/swing/plaf/basic/BasicTextUI.java
32680 (createKeymap): Don't store KeyBindings[] as focusInputMap in
32681 UIManager. Added FIXME regarding the implementation of this method.
32683 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32685 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32686 (ButtonDemo): Move content initialisation to new method,
32687 (initFrameContent): New method,
32688 (main): Call initFrameContent(),
32689 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32690 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32691 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32692 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32693 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32695 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32697 * examples/gnu/classpath/examples/swing/Demo.java
32698 (Demo): Set frame size,
32699 (mkButtonBar): Removed stacked sub-panels.
32701 2006-01-30 Lillian Angel <langel@redhat.com>
32703 * javax/swing/text/DefaultStyledDocument.java:
32705 (insert): Initialized fields. Removed call to addEdit,
32706 and created ElementEdit instead.
32707 (insertUpdate): Added check for fracturing. If the
32708 fracturing was not successful, we should push the
32709 last element back on the stack.
32710 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32711 Also, changed replace calls to use Edit.
32712 (insertFirstContentTag): Removed unneeded check and fixed call
32714 (insertContent): Fixed check to use new fields. Added code in
32715 to check if leaves overlap.
32716 (createFracture): Fixed call to recreateLeaves.
32717 (recreateLeaves): Fixed code and cleaned it up a bit.
32718 (insertFracture): Set fracNotCreated field.
32719 (addEdit): Removed, this method is not needed.
32721 2006-01-30 Roman Kennke <kennke@aicas.com>
32723 * javax/swing/JRootPane.java
32724 (RootLayout.prefSize): Removed caching for preferredSize.
32725 (RootLayout.invalidateLayout): Likewise.
32726 (RootLayout.preferredLayoutSize): Likewise.
32728 2006-01-30 Roman Kennke <kennke@aicas.com>
32731 * javax/swing/JFrame.java
32732 (frameInit): Handle the defaultLookAndFeelDecorated flag.
32733 * javax/swing/plaf/metal/MetalRootPaneUI.java
32734 (MetalFrameBorder): New inner class, provides the border for
32735 top level containers with L&F decorations.
32736 (MetalTitlePane): New inner class, provides the title pane for
32737 top level containers with L&F decorations.
32738 (MetalRootLayout): New inner class. Used to layout the root pane
32739 when L&F window decorations are enabled.
32740 (installUI): New method. Handles window decorations.
32741 (uninstallUI): New method. Handles window decorations.
32742 (propertyChange): Handles window decorations.
32743 (installWindowDecorations): New method. Handles window
32745 (uninstallWindowDecorations): New method. Handles window
32747 * javax/swing/plaf/metal/MetalLookAndFeel.java
32748 (getSupportsWindowDecorations): Overridden to return true.
32750 2006-01-30 Mark Wielaard <mark@klomp.org>
32752 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32753 IllegalArgumentException when orientation is illegal.
32754 (JProgressBar(int, int, int)): Likewise and throw exception.
32755 (setOrientation): Likewise.
32757 2006-01-30 Roman Kennke <kennke@aicas.com>
32759 * javax/swing/ViewportLayout.java
32760 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32762 2006-01-30 Mark Wielaard <mark@klomp.org>
32764 * javax/swing/JProgressBar.java (orientation): Always set by
32766 (JProgressBar(int)): Document default on 'illegal' value.
32767 (JProgressBar(int, int, int)): Likewise and set orientation to
32768 HORIZONTAL when 'illegal'.
32769 (setOrientation): Likewise.
32771 2006-01-30 Roman Kennke <kennke@aicas.com>
32773 * javax/swing/plaf/basic/BasicListUI.java
32774 (ListDataHandler.contentsChanged): Update the
32775 updateLayoutStateNeeded flag.
32776 (ListDataHandler.intervalAdded): Update the
32777 updateLayoutStateNeeded flag.
32778 (ListDataHandler.intervalRemoved): Update the
32779 updateLayoutStateNeeded flag.
32780 (PropertyChangeHandler.propertyChange): Correctly update the
32781 listeners on new list model.
32782 (maybeUpdateLayoutState): Don't consider the validation state
32785 2006-01-30 Mark Wielaard <mark@klomp.org>
32787 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32790 2006-01-30 Roman Kennke <kennke@aicas.com>
32792 * javax/swing/JLayeredPane.java
32793 (insertIndexForLayer): Fixed algorithm to correctly insert
32794 components within different layers and -1 position.
32796 2006-01-30 Mark Wielaard <mark@klomp.org>
32798 * doc/api/Makefile.am (create_html): Add -validhtml.
32800 2006-01-30 Roman Kennke <kennke@aicas.com>
32802 * javax/swing/JLayeredPane.java
32803 (insertIndexForLayer): Fixed algorithm to correctly insert
32804 components within same layer and -1 position.
32806 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
32809 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32810 New execution flag.
32811 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32812 implicit RETokenEnd at the end of the regexp chain.
32813 Do not select the longest match, but select the first match.
32814 (match): Do not take care of REMatch.empty.
32815 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32816 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32817 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32818 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32819 Do not take care of REMatch.empty. Set and check REMatch.empty
32820 when trying to match the single token.
32822 2006-01-30 Mark Wielaard <mark@klomp.org>
32824 * java/awt/Cursor.java (toString): Include name and type.
32826 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
32828 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32830 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32832 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32835 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
32836 Consider the validation state of the list.
32838 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
32840 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32842 * java/beans/XMLDecoder.java:
32843 (setExceptionListener): Use shared DefaultExceptionListener
32845 * java/beans/Encoder.java:
32846 (setExceptionListener): Use shared DefaultExceptionListener
32849 2006-01-29 Roman Kennke <kennke@aicas.com>
32851 * javax/swing/ScrollPaneLayout.java
32852 (minimumLayoutSize): Rewritten to match JDKs behaviour.
32854 2006-01-29 Mark Wielaard <mark@klomp.org>
32856 * java/net/SocketPermission.java (setActions): Trim and lower case
32859 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
32861 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32862 incorrectly failing primality test for some known primes. Fixed.
32863 (passFermatLittleTheorem): Removed.
32864 (passMillerRabin): Removed.
32865 (isProbablePrime): Cache primes that pass the primality tests.
32866 Use BigInteger.isProbablePrime(int) for primality tests.
32867 (debugBI): New static debugging method.
32869 2006-01-28 Roman Kennke <kennke@aicas.com>
32871 * javax/swing/plaf/basic/BasicListUI.java
32872 (updateLayoutState): Removed unneeded special case for VERTICAL.
32874 2006-01-28 Roman Kennke <kennke@aicas.com>
32876 * javax/swing/plaf/basic/BasicListUI.java
32877 (getCellBounds): Determine correct list width when having a
32878 layoutOrientation of VERTICAL.
32879 (maybeUpdateLayoutState): Don't consider the validation state of
32882 2006-01-28 Mark Wielaard <mark@klomp.org>
32884 Reported by Dimitri Fontaine <dimitri@dalibo.com>
32885 * java/awt/print/NoPrinterJob.java: New (fake) class.
32886 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32888 2006-01-28 Mark Wielaard <mark@klomp.org>
32890 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32892 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32894 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32895 (addChildren): New method.
32897 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
32899 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32900 constructor for cloning purposes.
32901 (clone): New implementation that ensures cloning.
32902 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32903 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32906 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32908 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32909 Call updateCurrentVisiblePath.
32911 2006-01-27 Roman Kennke <kennke@aicas.com>
32913 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32915 2006-01-27 Roman Kennke <kennke@aicas.com>
32917 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32918 (createContent): Only create new content if we don't have one
32920 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32921 (createContent): Only create new content if we don't have one
32923 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32924 (createContent): Only create new content if we don't have one
32926 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32927 (createContent): Only create new content if we don't have one
32929 * examples/gnu/classpath/examples/swing/SliderDemo.java
32930 (createContent): Only create new content if we don't have one
32932 * examples/gnu/classpath/examples/swing/TableDemo.java
32933 (createContent): Only create new content if we don't have one
32935 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
32936 (createContent): Only create new content if we don't have one
32939 2006-01-27 Lillian Angel <langel@redhat.com>
32941 * javax/swing/text/DefaultStyledDocument.java
32942 (insertFirstContentTag): Removed check, not needed. This
32943 still needs to be fixed for some cases. Added call to
32945 (createFracture): Added call to recreateLeaves.
32946 (recreateLeaves): New method used to recreate all the
32947 leaves after the initial insertion. This still needs
32949 (handleInsertAfterNewline): Removed else, not needed.
32951 2006-01-27 Roman Kennke <kennke@aicas.com>
32953 * javax/swing/JLayeredPane.java
32954 (inserIndexForLayer): Fixed direction of search.
32956 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32958 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
32959 node into nodeStates.
32961 2006-01-27 Roman Kennke <kennke@aicas.com>
32963 * javax/swing/JLayeredPane.java
32964 (FRAME_CONTENT_LAYER): Made field final.
32965 (componentToLayer): Made field private.
32966 (rectCache): Removed field.
32967 (layers): Removed field.
32968 (JLayeredPane()): Removed initialization of removed fields.
32969 (getLayer): Rewritten to make use of client properties in
32970 JComponents and to be more straighforward.
32971 (static getLayer): Rewritten to make use of client properties in
32973 (layerToRange): Removed method.
32974 (incrLayer): Removed method.
32975 (decrLayer): Removed method.
32976 (highestLayer): Rewritten to be more straightforward.
32977 (lowestLayer): Rewritten to be more straightforward.
32978 (getPosition): Rewritten to be more straightforward.
32979 (getComponentsInLayer): Rewritten to be more straightforward.
32980 (getComponentCountInLayer): Rewritten to be more straightforward.
32981 (getIndexOf): Rewritten to be more straightforward.
32982 (inserIndexForLayer): Rewritten to be more straightforward.
32983 (remove): Rewritten to be more straightforward.
32984 (setLayer): Rewritten to be more straightforward.
32985 (addImpl): Rewritten to be more straightforward.
32986 (putLayer): Rewritten to be more straightforward.
32988 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
32990 * java/lang/Character.java:
32991 (offsetByCodePoints(CharSequence, int, int)): New API method.
32992 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
32993 (toChars): Throw the Exception that the docs say we throw.
32994 (codePointAt): Fixed an off-by-one error in the bounds of the if
32996 * java/lang/String.java:
32997 (String(int[], int, int)): New API constructor.
32999 2006-01-27 Lillian Angel <langel@redhat.com>
33001 * javax/swing/text/DefaultStyledDocument.java
33002 (insert): Moved this loop to insertUpdate.
33003 (insertUpdate): Likewise. Fixed variable
33004 names. Incremented pos if new paragraph
33006 (split): Changed edits to use replace instead. Prevents
33008 (insertFirstContentTag): Removed else.
33009 (insertContentTag): Implemented else for JoinNextDirection.
33010 (createFracture): Fixed up code, still not fully complete.
33011 (insertFracture): Fixed to use return value from
33012 recreateAfterFracture.
33013 (recreateAfterFracture): Changed to return an array of the
33014 elements to be added. This prevents an assertion error.
33015 (contains): New function checks if an element is already in
33016 the Vector. Vector's contain function was not enough to use.
33017 (addAddedElement): Changed to use new contains function.
33018 (addAddedElements): Likewise.
33019 (addRemovedElement): Likewise.
33020 (addRemovedElements): Likewise.
33022 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33025 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33026 If no user class loaders found on the stack, return the thread
33027 context class loader. (currentClassLoader): Explained.
33029 2006-01-27 Roman Kennke <kennke@aicas.com>
33031 * java/awt/Container.java
33032 (swapComponents): Removed unspecified method.
33033 * javax/swing/JLayeredPane.java
33034 (setPosition): Reimplemented correctly.
33035 (swapComponents): New helper method.
33037 2006-01-27 Mark Wielaard <mark@klomp.org>
33039 * configure.ac: Set version to 0.21-pre.
33041 2006-01-27 Roman Kennke <kennke@aicas.com>
33044 * javax/swing/JComponent.java
33045 (findOverlapFreeParent): Improved the algorithm to make better use
33046 of the optimizedDrawingEnabled flag.
33047 * javax/swing/JLayeredPane.java
33048 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33049 * javax/swing/JViewport.java
33050 (computeBlit): Fixed check to decide if blitting is possible or not,
33051 so that it doesn't blit if nothing was scrolled (in order to
33052 update the buffer when the view updates itself).
33054 2006-01-27 Roman Kennke <kennke@aicas.com>
33056 * javax/swing/plaf/metal/MetalFileChooserUI.java
33057 (createList): Don't set scrollbar policy.
33059 2006-01-27 Roman Kennke <kennke@aicas.com>
33061 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33062 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33063 Fixed to also handle non-Swing toplevel containers.
33064 (PopupMenuHandler.popupMenuWillBecomeVisible):
33065 Fixed to also handle non-Swing toplevel containers.
33066 * javax/swing/Popup.java
33067 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33070 2006-01-27 Roman Kennke <kennke@aicas.com>
33072 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33073 (InternalFramePropertyChangeListener): Don't implement
33074 VetoableChangeListener.
33075 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33076 (internalFrameVetoableChangeListener): Removed unneeded field.
33077 (installListeners): Don't install vetoableChangeListener.
33078 * javax/swing/event/DocumentEvent.java
33079 (EventType): Made class final.
33081 2006-01-27 Roman Kennke <kennke@aicas.com>
33083 * javax/swing/SwingUtilities.java
33084 (calculateInsetArea): Removed unneeded method. The method
33085 calculateInnerArea has the same purpose and is actually specified.
33086 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33087 * javax/swing/plaf/basic/BasicMenuItemUI.java
33088 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33089 of SwingUtilities.calculateInsetArea().
33091 2006-01-27 Roman Kennke <kennke@aicas.com>
33093 * javax/swing/plaf/basic/BasicTreeUI.java
33094 (installDefaults): Removed requestFocusInWindow() call.
33095 * javax/swing/JComponent.java
33096 (requestFocusInWindow(boolean)): Made method protected.
33097 (printComponent): Made method protected.
33098 (printChildren): Made method protected.
33099 (printComponent): Made method protected.
33100 (printBorder): Made method protected.
33102 2006-01-27 Roman Kennke <kennke@aicas.com>
33104 * javax/swing/AbstractButton.java
33105 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33107 * javax/swing/ImageIcon.java
33108 (component): Made field final.
33109 (tracker): Made field final.
33110 * javax/swing/JApplet.java
33111 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33112 * javax/swing/JCheckBox.java
33113 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33115 * javax/swing/JDialog.java
33116 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33117 * javax/swing/JFrame.java
33118 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33119 * javax/swing/JLayeredPane.java
33120 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33122 (DEFAULT_LAYER): Made field final.
33123 (PALETTE_LAYER): Made field final.
33124 (MODAL_LAYER): Made field final.
33125 (POPUP_LAYER): Made field final.
33126 (DRAG_LAYER): Made field final.
33127 * javax/swing/JMenu.java
33128 (ActionChangeListener): Made class private.
33129 * javax/swing/JOptionPane.java
33130 (UNITITIALIZED_VALUE): Made field final.
33131 * javax/swing/JPanel.java
33132 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33133 * javax/swing/JPopupMenu.java
33134 (ActionChangeListener): Made class private.
33135 * javax/swing/JTree.java
33136 (paramString): Made method protected.
33137 * javax/swing/JViewport.java
33138 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33139 * javax/swing/JWindow.java
33140 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33141 * javax/swing/RepaintManager.java
33142 (RepaintWorker): Made class private.
33144 2006-01-27 Roman Kennke <kennke@aicas.com>
33146 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33147 (handleEvent): Removed debug statement.
33149 2006-01-27 Roman Kennke <kennke@aicas.com>
33151 * java/awt/Component.java
33152 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33153 more than it helps.
33155 2006-01-26 Lillian Angel <langel@redhat.com>
33157 * javax/swing/text/DefaultStyledDocument.java
33158 (createFracture): Commented out a known problem,
33161 2006-01-26 Lillian Angel <langel@redhat.com>
33163 * javax/swing/text/DefaultStyledDocument.java
33164 (ElementBuffer): Added fields.
33165 (remove): Initialized pos.
33166 (change): Likewise.
33167 (insert): Likewise.
33168 (insertUpdate): Incremented pos. Fixed check, createFracture should
33169 be called on first tag if it is not ContentType.
33170 (insertFirstContentTag): Reworked to use proper offsets and
33171 set offset accordingly. This might need more work in the future.
33172 (insertContentTag): Likewise. Fixed to use pos, instead of
33174 (createFracture): Fixed to recreate other leaves. Still needs
33176 (insertFracture): Reimplemented.
33177 (recreateAfterFracture): New method.
33178 (getParagraphElement): Reimplemented, more efficent.
33180 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33182 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33183 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33184 ordering for little-endian arms without VFP.
33186 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33189 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33191 2006-01-26 Mark Wielaard <mark@klomp.org>
33193 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33194 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33195 Add trailing zeros to the fraction of the decimal with the smallest
33198 2006-01-26 Roman Kennke <kennke@aicas.com>
33200 * javax/swing/text/html/ObjectView.java: New file.
33202 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33204 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33205 Call startEditing when appropriate.
33206 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33207 (startEditing): Always edit if directly ordered from
33208 MouseHandler.mousePressed.
33209 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33210 New field. (createTreeCellEditor): Set click count to start.
33211 (getTreeCellEditorComponent): Assing realEditor directly.
33213 2006-01-25 Casey Marshall <csm@gnu.org>
33215 Merging GNU Crypto and Jessie.
33217 * NEWS: mention the merge in the 0.21 notes.
33218 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33219 (SSL_RECORD_LAYER): new constants.
33220 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33222 * resource/java/security/classpath.security: add new providers.
33223 * gnu/javax/crypto/assembly/Assembly.java,
33224 gnu/javax/crypto/assembly/Cascade.java,
33225 gnu/javax/crypto/assembly/CascadeStage.java,
33226 gnu/javax/crypto/assembly/CascadeTransformer.java,
33227 gnu/javax/crypto/assembly/DeflateTransformer.java,
33228 gnu/javax/crypto/assembly/Direction.java,
33229 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33230 gnu/javax/crypto/assembly/ModeStage.java,
33231 gnu/javax/crypto/assembly/Operation.java,
33232 gnu/javax/crypto/assembly/PaddingTransformer.java,
33233 gnu/javax/crypto/assembly/Stage.java,
33234 gnu/javax/crypto/assembly/Transformer.java,
33235 gnu/javax/crypto/assembly/TransformerException.java,
33236 gnu/javax/crypto/cipher/Anubis.java,
33237 gnu/javax/crypto/cipher/BaseCipher.java,
33238 gnu/javax/crypto/cipher/Blowfish.java,
33239 gnu/javax/crypto/cipher/Cast5.java,
33240 gnu/javax/crypto/cipher/CipherFactory.java,
33241 gnu/javax/crypto/cipher/DES.java,
33242 gnu/javax/crypto/cipher/IBlockCipher.java,
33243 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33244 gnu/javax/crypto/cipher/Khazad.java,
33245 gnu/javax/crypto/cipher/NullCipher.java,
33246 gnu/javax/crypto/cipher/Rijndael.java,
33247 gnu/javax/crypto/cipher/Serpent.java,
33248 gnu/javax/crypto/cipher/Square.java,
33249 gnu/javax/crypto/cipher/TripleDES.java,
33250 gnu/javax/crypto/cipher/Twofish.java,
33251 gnu/javax/crypto/cipher/WeakKeyException.java,
33252 gnu/javax/crypto/jce/GnuCrypto.java,
33253 gnu/javax/crypto/jce/GnuSasl.java,
33254 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33255 gnu/javax/crypto/jce/cipher/AESSpi.java,
33256 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33257 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33258 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33259 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33260 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33261 gnu/javax/crypto/jce/cipher/DESSpi.java,
33262 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33263 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33264 gnu/javax/crypto/jce/cipher/PBES2.java,
33265 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33266 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33267 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33268 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33269 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33270 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33271 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33272 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33273 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33274 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33275 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33276 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33277 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33278 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33279 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33280 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33281 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33282 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33283 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33284 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33285 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33286 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33287 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33288 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33289 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33290 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33291 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33292 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33293 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33294 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33295 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33296 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33297 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33298 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33299 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33300 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33301 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33302 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33303 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33304 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33305 gnu/javax/crypto/jce/mac/MacAdapter.java,
33306 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33307 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33308 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33309 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33310 gnu/javax/crypto/jce/mac/OMacImpl.java,
33311 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33312 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33313 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33314 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33315 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33316 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33317 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33318 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33319 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33320 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33321 gnu/javax/crypto/jce/params/DEREncodingException.java,
33322 gnu/javax/crypto/jce/params/DERReader.java,
33323 gnu/javax/crypto/jce/params/DERWriter.java,
33324 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33325 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33326 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33327 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33328 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33329 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33330 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33331 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33332 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33333 gnu/javax/crypto/key/GnuSecretKey.java,
33334 gnu/javax/crypto/key/IKeyAgreementParty.java,
33335 gnu/javax/crypto/key/IncomingMessage.java,
33336 gnu/javax/crypto/key/KeyAgreementException.java,
33337 gnu/javax/crypto/key/KeyAgreementFactory.java,
33338 gnu/javax/crypto/key/OutgoingMessage.java,
33339 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33340 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33341 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33342 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33343 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33344 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33345 gnu/javax/crypto/key/dh/ElGamalSender.java,
33346 gnu/javax/crypto/key/dh/GnuDHKey.java,
33347 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33348 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33349 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33350 gnu/javax/crypto/key/dh/RFC2631.java,
33351 gnu/javax/crypto/key/srp6/SRP6Host.java,
33352 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33353 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33354 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33355 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33356 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33357 gnu/javax/crypto/key/srp6/SRP6User.java,
33358 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33359 gnu/javax/crypto/key/srp6/SRPKey.java,
33360 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33361 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33362 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33363 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33364 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33365 gnu/javax/crypto/keyring/BaseKeyring.java,
33366 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33367 gnu/javax/crypto/keyring/CertPathEntry.java,
33368 gnu/javax/crypto/keyring/CertificateEntry.java,
33369 gnu/javax/crypto/keyring/CompressedEntry.java,
33370 gnu/javax/crypto/keyring/EncryptedEntry.java,
33371 gnu/javax/crypto/keyring/Entry.java,
33372 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33373 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33374 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33375 gnu/javax/crypto/keyring/IKeyring.java,
33376 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33377 gnu/javax/crypto/keyring/IPublicKeyring.java,
33378 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33379 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33380 gnu/javax/crypto/keyring/MeteredInputStream.java,
33381 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33382 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33383 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33384 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33385 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33386 gnu/javax/crypto/keyring/Properties.java,
33387 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33388 gnu/javax/crypto/mac/BaseMac.java,
33389 gnu/javax/crypto/mac/HMac.java,
33390 gnu/javax/crypto/mac/HMacFactory.java,
33391 gnu/javax/crypto/mac/IMac.java,
33392 gnu/javax/crypto/mac/MacFactory.java,
33393 gnu/javax/crypto/mac/MacInputStream.java,
33394 gnu/javax/crypto/mac/MacOutputStream.java,
33395 gnu/javax/crypto/mac/OMAC.java,
33396 gnu/javax/crypto/mac/TMMH16.java,
33397 gnu/javax/crypto/mac/UHash32.java,
33398 gnu/javax/crypto/mac/UMac32.java,
33399 gnu/javax/crypto/mode/BaseMode.java,
33400 gnu/javax/crypto/mode/CBC.java,
33401 gnu/javax/crypto/mode/CFB.java,
33402 gnu/javax/crypto/mode/CTR.java,
33403 gnu/javax/crypto/mode/EAX.java,
33404 gnu/javax/crypto/mode/ECB.java,
33405 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33406 gnu/javax/crypto/mode/ICM.java,
33407 gnu/javax/crypto/mode/IMode.java,
33408 gnu/javax/crypto/mode/ModeFactory.java,
33409 gnu/javax/crypto/mode/OFB.java,
33410 gnu/javax/crypto/pad/BasePad.java,
33411 gnu/javax/crypto/pad/IPad.java,
33412 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33413 gnu/javax/crypto/pad/PKCS7.java,
33414 gnu/javax/crypto/pad/PadFactory.java,
33415 gnu/javax/crypto/pad/SSL3.java,
33416 gnu/javax/crypto/pad/TBC.java,
33417 gnu/javax/crypto/pad/TLS1.java,
33418 gnu/javax/crypto/pad/WrongPaddingException.java,
33419 gnu/javax/crypto/prng/ARCFour.java,
33420 gnu/javax/crypto/prng/CSPRNG.java,
33421 gnu/javax/crypto/prng/Fortuna.java,
33422 gnu/javax/crypto/prng/ICMGenerator.java,
33423 gnu/javax/crypto/prng/IPBE.java,
33424 gnu/javax/crypto/prng/PBKDF2.java,
33425 gnu/javax/crypto/prng/PRNGFactory.java,
33426 gnu/javax/crypto/prng/UMacGenerator.java,
33427 gnu/javax/crypto/sasl/AuthInfo.java,
33428 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33429 gnu/javax/crypto/sasl/ClientFactory.java,
33430 gnu/javax/crypto/sasl/ClientMechanism.java,
33431 gnu/javax/crypto/sasl/ConfidentialityException.java,
33432 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33433 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33434 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33435 gnu/javax/crypto/sasl/InputBuffer.java,
33436 gnu/javax/crypto/sasl/IntegrityException.java,
33437 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33438 gnu/javax/crypto/sasl/NoSuchUserException.java,
33439 gnu/javax/crypto/sasl/OutputBuffer.java,
33440 gnu/javax/crypto/sasl/SaslEncodingException.java,
33441 gnu/javax/crypto/sasl/SaslInputStream.java,
33442 gnu/javax/crypto/sasl/SaslOutputStream.java,
33443 gnu/javax/crypto/sasl/SaslUtil.java,
33444 gnu/javax/crypto/sasl/ServerFactory.java,
33445 gnu/javax/crypto/sasl/ServerMechanism.java,
33446 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33447 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33448 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33449 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33450 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33451 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33452 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33453 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33454 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33455 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33456 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33457 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33458 gnu/javax/crypto/sasl/plain/PlainClient.java,
33459 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33460 gnu/javax/crypto/sasl/plain/PlainServer.java,
33461 gnu/javax/crypto/sasl/srp/CALG.java,
33462 gnu/javax/crypto/sasl/srp/ClientStore.java,
33463 gnu/javax/crypto/sasl/srp/IALG.java,
33464 gnu/javax/crypto/sasl/srp/KDF.java,
33465 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33466 gnu/javax/crypto/sasl/srp/SRP.java,
33467 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33468 gnu/javax/crypto/sasl/srp/SRPClient.java,
33469 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33470 gnu/javax/crypto/sasl/srp/SRPServer.java,
33471 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33472 gnu/javax/crypto/sasl/srp/ServerStore.java,
33473 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33474 gnu/javax/net/ssl/Base64.java,
33475 gnu/javax/net/ssl/EntropySource.java,
33476 gnu/javax/net/ssl/NullManagerParameters.java,
33477 gnu/javax/net/ssl/PrivateCredentials.java,
33478 gnu/javax/net/ssl/SRPManagerParameters.java,
33479 gnu/javax/net/ssl/SRPTrustManager.java,
33480 gnu/javax/net/ssl/StaticTrustAnchors.java,
33481 gnu/javax/net/ssl/provider/Alert.java,
33482 gnu/javax/net/ssl/provider/AlertException.java,
33483 gnu/javax/net/ssl/provider/Certificate.java,
33484 gnu/javax/net/ssl/provider/CertificateRequest.java,
33485 gnu/javax/net/ssl/provider/CertificateType.java,
33486 gnu/javax/net/ssl/provider/CertificateVerify.java,
33487 gnu/javax/net/ssl/provider/CipherSuite.java,
33488 gnu/javax/net/ssl/provider/ClientHello.java,
33489 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33490 gnu/javax/net/ssl/provider/CompressionMethod.java,
33491 gnu/javax/net/ssl/provider/Constructed.java,
33492 gnu/javax/net/ssl/provider/ContentType.java,
33493 gnu/javax/net/ssl/provider/Context.java,
33494 gnu/javax/net/ssl/provider/DiffieHellman.java,
33495 gnu/javax/net/ssl/provider/DigestInputStream.java,
33496 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33497 gnu/javax/net/ssl/provider/Enumerated.java,
33498 gnu/javax/net/ssl/provider/Extension.java,
33499 gnu/javax/net/ssl/provider/Extensions.java,
33500 gnu/javax/net/ssl/provider/Finished.java,
33501 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33502 gnu/javax/net/ssl/provider/Handshake.java,
33503 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33504 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33505 gnu/javax/net/ssl/provider/Jessie.java,
33506 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33507 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33508 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33509 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33510 gnu/javax/net/ssl/provider/KeyPool.java,
33511 gnu/javax/net/ssl/provider/MacException.java,
33512 gnu/javax/net/ssl/provider/OverflowException.java,
33513 gnu/javax/net/ssl/provider/PRNG.java,
33514 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33515 gnu/javax/net/ssl/provider/Random.java,
33516 gnu/javax/net/ssl/provider/RecordInput.java,
33517 gnu/javax/net/ssl/provider/RecordInputStream.java,
33518 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33519 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33520 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33521 gnu/javax/net/ssl/provider/SSLHMac.java,
33522 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33523 gnu/javax/net/ssl/provider/SSLRandom.java,
33524 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33525 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33526 gnu/javax/net/ssl/provider/SSLSocket.java,
33527 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33528 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33529 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33530 gnu/javax/net/ssl/provider/SecurityParameters.java,
33531 gnu/javax/net/ssl/provider/ServerHello.java,
33532 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33533 gnu/javax/net/ssl/provider/Session.java,
33534 gnu/javax/net/ssl/provider/SessionContext.java,
33535 gnu/javax/net/ssl/provider/Signature.java,
33536 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33537 gnu/javax/net/ssl/provider/TLSHMac.java,
33538 gnu/javax/net/ssl/provider/TLSRandom.java,
33539 gnu/javax/net/ssl/provider/Util.java,
33540 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33541 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33542 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33543 gnu/javax/security/auth/Password.java,
33544 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33545 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33546 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33547 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33548 gnu/javax/security/auth/callback/GnuCallbacks.java,
33549 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33550 gnu/java/security/Registry.java,
33551 gnu/java/security/Properties.java,
33552 gnu/java/security/hash/BaseHash.java,
33553 gnu/java/security/hash/HashFactory.java,
33554 gnu/java/security/hash/Haval.java,
33555 gnu/java/security/hash/IMessageDigest.java,
33556 gnu/java/security/hash/MD2.java,
33557 gnu/java/security/hash/MD4.java,
33558 gnu/java/security/hash/MD5.java,
33559 gnu/java/security/hash/RipeMD128.java,
33560 gnu/java/security/hash/RipeMD160.java,
33561 gnu/java/security/hash/Sha160.java,
33562 gnu/java/security/hash/Sha256.java,
33563 gnu/java/security/hash/Sha384.java,
33564 gnu/java/security/hash/Sha512.java,
33565 gnu/java/security/hash/Tiger.java,
33566 gnu/java/security/hash/Whirlpool.java,
33567 gnu/java/security/jce/hash/HavalSpi.java,
33568 gnu/java/security/jce/hash/MD2Spi.java,
33569 gnu/java/security/jce/hash/MD4Spi.java,
33570 gnu/java/security/jce/hash/MD5Spi.java,
33571 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33572 gnu/java/security/jce/hash/RipeMD128Spi.java,
33573 gnu/java/security/jce/hash/RipeMD160Spi.java,
33574 gnu/java/security/jce/hash/Sha160Spi.java,
33575 gnu/java/security/jce/hash/Sha256Spi.java,
33576 gnu/java/security/jce/hash/Sha384Spi.java,
33577 gnu/java/security/jce/hash/Sha512Spi.java,
33578 gnu/java/security/jce/hash/TigerSpi.java,
33579 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33580 gnu/java/security/jce/prng/HavalRandomSpi.java,
33581 gnu/java/security/jce/prng/MD2RandomSpi.java,
33582 gnu/java/security/jce/prng/MD4RandomSpi.java,
33583 gnu/java/security/jce/prng/MD5RandomSpi.java,
33584 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33585 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33586 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33587 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33588 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33589 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33590 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33591 gnu/java/security/jce/prng/TigerRandomSpi.java,
33592 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33593 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33594 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33595 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33596 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33597 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33598 gnu/java/security/jce/sig/SignatureAdapter.java,
33599 gnu/java/security/key/IKeyPairCodec.java,
33600 gnu/java/security/key/IKeyPairGenerator.java,
33601 gnu/java/security/key/KeyPairCodecFactory.java,
33602 gnu/java/security/key/KeyPairGeneratorFactory.java,
33603 gnu/java/security/key/dss/DSSKey.java,
33604 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33605 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33606 gnu/java/security/key/dss/DSSPrivateKey.java,
33607 gnu/java/security/key/dss/DSSPublicKey.java,
33608 gnu/java/security/key/dss/FIPS186.java,
33609 gnu/java/security/key/rsa/GnuRSAKey.java,
33610 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33611 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33612 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33613 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33614 gnu/java/security/prng/BasePRNG.java,
33615 gnu/java/security/prng/EntropySource.java,
33616 gnu/java/security/prng/IRandom.java,
33617 gnu/java/security/prng/LimitReachedException.java,
33618 gnu/java/security/prng/MDGenerator.java,
33619 gnu/java/security/prng/PRNGFactory.java,
33620 gnu/java/security/prng/RandomEvent.java,
33621 gnu/java/security/prng/RandomEventListener.java,
33622 gnu/java/security/sig/BaseSignature.java,
33623 gnu/java/security/sig/ISignature.java,
33624 gnu/java/security/sig/ISignatureCodec.java,
33625 gnu/java/security/sig/SignatureFactory.java,
33626 gnu/java/security/sig/dss/DSSSignature.java,
33627 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33628 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33629 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33630 gnu/java/security/sig/rsa/EMSA_PSS.java,
33631 gnu/java/security/sig/rsa/RSA.java,
33632 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33633 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33634 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33635 gnu/java/security/util/Base64.java,
33636 gnu/java/security/util/ExpirableObject.java,
33637 gnu/java/security/util/Prime2.java,
33638 gnu/java/security/util/Sequence.java,
33639 gnu/java/security/util/SimpleList.java,
33640 gnu/java/security/util/Util.java,
33641 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33642 new files imported from GNU Crypto and Jessie.
33644 2006-01-25 Tom Tromey <tromey@redhat.com>
33646 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33647 Fixed calculation of number of bytes to read.
33648 (size, count, meta, eof): Document.
33650 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
33652 * java/lang/Character.java:
33653 (codePointCount(char[], int, int)): New API method.
33654 (codePointCount(CharSequence, int, int)): Likewise.
33656 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33659 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
33661 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
33662 action if not editing.
33663 * javax/swing/plaf/basic/BasicTreeUI.java
33664 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33665 (CellEditorHandler.editingStopped): Delegate to stopEditing.
33666 (EditorUpdateTimer): Removed.
33667 (TreeAction.actionPerformed): Stop and not cancel the current editing
33668 when starting editing another node.
33669 (editorTimer, newVal): Removed.
33670 (cancelEditing): Do not send the cancel message.
33671 (completeEditing): Obtain the edited value from the editor.
33672 (finish): New method.
33673 (paintRow): Do not paint the editing component here.
33674 (startEditing, stopEditing): Rewritten.
33675 * javax/swing/tree/DefaultTreeCellEditor.java
33676 (DefaultTextField): Added SVUID.
33677 (EditorContainer): Rewritten.
33678 (RealEditorListener): New inner class.
33679 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33680 (constructor): Add cell editor listener. Do not instantiate timer.
33681 (actionPerformed): Return without action.
33682 (cancelCellEditing): Rewritten.
33683 (createTreeCellEditor): Add cell editor listener to the editor.
33684 (getCellEditorValue): Request the value from the realEditor.
33685 (isCellEditable): Removed timer management.
33686 (prepareForEditing): Remove all components befor adding the
33688 (startEditingTimer): Start only if it is not null.
33689 (stopCellEditing): Rewritten.
33690 (stopEditingTimer): New method.
33691 (valueChanged): Do not configure editing component here.
33693 2006-01-25 Roman Kennke <kennke@aicas.com>
33695 * javax/swing/text/html/FormView.java: New file.
33697 2006-01-25 Roman Kennke <kennke@aicas.com>
33699 * javax/swing/JSplitPane.java
33700 (addImpl): Call resetToPreferredSizes() when no dividerLocation
33701 has been set in order to set an initial layout.
33702 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33703 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33704 layout of the right component.
33705 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33706 dividerLocation to the size of the left component.
33707 (createDefaultNonContinuousLayoutDivider): Fetch the color from
33709 (setDividerLocation): Don't validate the location here. Sometimes
33710 the divider needs to be set to an invalid location.
33711 (startDragging): Don't revalidate and repaint here.
33712 (finishDraggingTo): Don't repaint here. Also, don't call
33713 dragDividerTo() here.
33714 * javax/swing/plaf/basic/BasicLookAndFeel.java
33715 (initComponentDefaults): Added SplitPaneDivider.draggingColor
33718 2006-01-25 Roman Kennke <kennke@aicas.com>
33720 * javax/swing/JSplitPane.java
33721 (addImpl): Removed invalidate() and layout() call.
33722 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33723 (PropertyHandler.propertyChange): Remove layoutContainer() and
33726 2006-01-25 Roman Kennke <kennke@aicas.com>
33729 * native/Makefile.am
33730 * native/jni/classpath/Makefile.am
33731 * native/jni/classpath/jcl.c
33732 * native/jni/classpath/jcl.h
33733 * native/jni/classpath/native_state.c
33734 * native/jni/gtk-peer/Makefile.am
33735 * native/jni/java-io/Makefile.am
33736 * native/jni/java-io/java_io_VMFile.c
33737 * native/jni/java-io/java_io_VMObjectStreamClass.c
33738 * native/jni/java-lang/Makefile.am
33739 * native/jni/java-net/Makefile.am
33740 * native/jni/java-net/java_net_VMInetAddress.c
33741 * native/jni/java-net/javanet.c
33742 * native/jni/java-net/javanet.h
33743 * native/jni/java-nio/Makefile.am
33744 * native/jni/java-nio/gnu_java_nio_VMPipe.c
33745 * native/jni/java-nio/gnu_java_nio_VMSelector.c
33746 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33747 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33748 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33749 * native/jni/java-util/Makefile.am
33750 * native/jni/java-util/java_util_VMTimeZone.c
33751 * native/jni/midi-dssi/Makefile.am
33752 * native/jni/xmlj/Makefile.am
33753 * native/target/Makefile.am
33754 * native/target/Linux/target_native_math.h
33755 * native/target/Linux/target_native_memory.h
33756 * native/target/Linux/Makefile.am
33757 * native/target/Linux/target_native_io.h
33758 * native/target/Linux/target_native_math_float.h
33759 * native/target/Linux/target_native_math_int.h
33760 * native/target/generic/target_generic.c
33761 * native/target/generic/target_generic_io.c
33762 * native/target/generic/target_generic_math.h
33763 * native/target/generic/target_generic_memory.h
33764 * native/target/generic/target_generic_misc.c
33765 * native/target/generic/target_generic_network.c
33766 * native/target/generic/Makefile.am
33767 * native/target/generic/target_generic.h
33768 * native/target/generic/target_generic_file.h
33769 * native/target/generic/target_generic_io.h
33770 * native/target/generic/target_generic_math_float.h
33771 * native/target/generic/target_generic_math_int.h
33772 * native/target/generic/target_generic_misc.h
33773 * native/target/generic/target_generic_network.h:
33774 Reverted target native related changes back to the state of the
33776 * native/target/MinGW/.cvsignore
33777 * native/target/MinGW/Makefile.am
33778 * native/target/MinGW/target_native.h
33779 * native/target/MinGW/target_native_file.h
33780 * native/target/MinGW/target_native_io.h
33781 * native/target/MinGW/target_native_math.h
33782 * native/target/MinGW/target_native_memory.h
33783 * native/target/MinGW/target_native_misc.h
33784 * native/target/MinGW/target_native_network.h
33785 * native/target/RTEMS/.cvsignore
33786 * native/target/RTEMS/Makefile.am
33787 * native/target/RTEMS/target_native.h
33788 * native/target/RTEMS/target_native_file.h
33789 * native/target/RTEMS/target_native_io.h
33790 * native/target/RTEMS/target_native_math.h
33791 * native/target/RTEMS/target_native_memory.h
33792 * native/target/RTEMS/target_native_misc.h
33793 * native/target/RTEMS/target_native_network.h
33794 * native/target/SunOS/.cvsignore
33795 * native/target/SunOS/Makefile.am
33796 * native/target/SunOS/target_native.h
33797 * native/target/SunOS/target_native_file.h
33798 * native/target/SunOS/target_native_io.h
33799 * native/target/SunOS/target_native_math.h
33800 * native/target/SunOS/target_native_memory.h
33801 * native/target/SunOS/target_native_misc.h
33802 * native/target/SunOS/target_native_network.h
33803 * native/target/embOS/.cvsignore
33804 * native/target/embOS/Makefile.am
33805 * native/target/embOS/target_native.h
33806 * native/target/embOS/target_native_file.h
33807 * native/target/embOS/target_native_io.c
33808 * native/target/embOS/target_native_io.h
33809 * native/target/embOS/target_native_math.h
33810 * native/target/embOS/target_native_memory.h
33811 * native/target/embOS/target_native_misc.h
33812 * native/target/embOS/target_native_network.h
33813 * native/target/posix/.cvsignore
33814 * native/target/posix/Makefile.am
33815 * native/target/posix/target_posix.c
33816 * native/target/posix/target_posix.h
33817 * native/target/posix/target_posix_file.c
33818 * native/target/posix/target_posix_file.h
33819 * native/target/posix/target_posix_io.c
33820 * native/target/posix/target_posix_io.h
33821 * native/target/posix/target_posix_math.c
33822 * native/target/posix/target_posix_math.h
33823 * native/target/posix/target_posix_memory.c
33824 * native/target/posix/target_posix_memory.h
33825 * native/target/posix/target_posix_misc.c
33826 * native/target/posix/target_posix_misc.h
33827 * native/target/posix/target_posix_network.c
33828 * native/target/posix/target_posix_network.h:
33831 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33833 * javax/print/PrintService.java,
33834 * javax/print/DocPrintJob.java,
33835 * javax/print/CancelablePrintJob.java:
33836 Added and enhanced api documentation for class and methods.
33838 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33840 * javax/print/SimpleDoc.java: Make class final.
33841 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33842 * javax/print/attribute/DateTimeSyntax.java:
33843 (toString): New overridden method.
33844 * javax/print/attribute/standard/JobStateReasons.java:
33845 (add): Use the super.add method to avoid recursion.
33846 * javax/print/attribute/standard/PrinterStateReasons.java:
33847 (put): Use the super.put method to avoid recursion.
33849 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
33851 * java/beans/XMLEncoder.java:
33852 (writeExpression): Added early return (fixes PR #25941).
33853 (setExceptionListener, anonymous Class): Removed printStackTrace
33855 * java/beans/Encoder: Removed unused imports.
33856 (setupDefaultPersistenceDelegates): Removed unneccessary
33857 PersistenceDelegates for subclasses.
33858 * java/beans/PersistenceDelegate:
33859 (initialize): Use local variable as first argument as it was
33861 * java/beans/DefaultPersistenceDelegate:
33862 (initialize): Added call to superclass' implementation, added
33865 2006-01-24 Tom Tromey <tromey@redhat.com>
33867 * java/util/regex/PatternSyntaxException.java: Added @since.
33868 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33869 * java/util/regex/MatchResult.java: New file.
33871 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33873 * javax/swing/text/StringContent.java: Added API docs all over, plus
33874 minor reformatting.
33876 2006-01-24 Gary Benson <gbenson@redhat.com>
33878 * java/net/SocketPermission.java: Implemented serialization.
33880 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33882 * javax/swing/text/StringContent.java
33883 (remove): Modified argument check to prevent removal of last character,
33884 (getChars): Removed null argument check to allow NullPointerException,
33886 (checkLocation): Added API docs and white space.
33888 2006-01-23 Lillian Angel <langel@redhat.com>
33890 * javax/swing/text/DefaultStyledDocument.java
33891 (insertUpdate): Should only call createFracture with
33892 StartTagType. Added check.
33893 (insertContentTag): Should use the tags length for splitting.
33894 Also, added a check to determine if current's start and end offset are
33895 equal to the offset and endOffset. If so, only one leaf element
33897 (createFracture): Removed FIXME. This function is complete.
33898 (split): Added calls to replace. Changed so the child is
33899 added immediately to the paragraph. Prevents NPEs.
33901 2006-01-23 Mark Wielaard <mark@klomp.org>
33903 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33905 2006-01-23 Tom Tromey <tromey@redhat.com>
33907 * gnu/java/security/x509/X509Certificate.java (parse):
33908 Unconditionally read value; for version==1 case when reading
33911 2006-01-23 Roman Kennke <kennke@aicas.com>
33913 * javax/swing/plaf/synth/ColorType.java,
33914 * javax/swing/plaf/synth/Region.java,
33915 * javax/swing/plaf/synth/SynthConstants.java,
33916 * javax/swing/plaf/synth/SynthContext.java
33917 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33918 * javax/swing/plaf/synth/SynthLookAndFeel.java,
33919 * javax/swing/plaf/synth/SynthPainter.java,
33920 * javax/swing/plaf/synth/SynthStyle.java,
33921 * javax/swing/plaf/synth/SynthStyleFactory.java,
33922 * javax/swing/plaf/synth/package.html:
33923 New files. Added the public API and framework classes for the
33924 Synth look and feel.
33926 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
33928 * javax/swing/text/Segment.java: API docs all over.
33930 2006-01-23 Lillian Angel <langel@redhat.com>
33932 * javax/swing/text/DefaultStyledDocument.java
33933 (split): Should not use createLeafElement and createBranchElement here.
33934 We should just instaniate the LeafElements and BranchElements instead
33935 to avoid the case where create*Element is overridden.
33937 2006-01-23 Lillian Angel <langel@redhat.com>
33939 * javax/swing/text/DefaultStyledDocument.java
33940 (insertFirstContentTag): Moved check outside of if-statement.
33941 This should be checked before creating the new leaf element.
33942 (insertFracture): Fixed check to prevent an NPE. The previous
33943 leaf should only be recreated if it has been created by
33944 insertFirstContentTag. Also, fixed up code: if the endOffset is
33945 greater than the offset, then we need to create a temp leaf
33946 as a place holder. Otherwise, the leaf elements should be
33949 2006-01-23 Gary Benson <gbenson@redhat.com>
33951 * java/net/SocketPermission.java: Almost completely rewritten.
33953 2006-01-23 Lillian Angel <langel@redhat.com>
33955 * javax/swing/text/DefaultStyledDocument.java
33956 (insertFracture): Set temp leaf's attributes to prevent an NPE.
33958 2006-01-23 Lillian Angel <langel@redhat.com>
33960 * javax/swing/text/DefaultStyledDocument.java:
33961 Formatted ElementBuffer and added new fields.
33962 (remove): Added check to determine if length is 0.
33963 (insertFirstContentTag): Initialized firstCreated to the element that is created
33964 by the first tag encountered. Removed check in JoinPreviousDirection case, no
33965 longer needed. In OriginateDirection case, added a loop to remove all old leafs
33966 that have been recreated.
33967 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
33968 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
33969 FIXME tags to the lines that need to be rewritten.
33971 2006-01-23 Mark Wielaard <mark@klomp.org>
33973 * examples/Makefile.am: Add support for fastjar.
33975 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
33977 * gnu/regexp/REToken.java(empty): Made Cloneable.
33978 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
33979 Use separate methods matchN and matchP depending on the
33981 (matchN): New method used when negative. Done as before.
33982 (matchP): New method used when not negative. Each token is
33983 tried not by itself but by a clone of it.
33985 2006-01-23 Chris Burdess <dog@gnu.org>
33988 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
33989 class to avoid getLength method contention.
33990 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
33992 2006-01-23 Chris Burdess <dog@gnu.org>
33994 * native/jni/java-util/Makefile.am: Include library required
33995 explicitly by BSD systems.
33996 * native/target/generic/target_generic_misc.h: Remove old commented
33998 * native/target/generic/target_generic_network.h: Fallbacks (to
33999 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34001 2006-01-22 Tom Tromey <tromey@redhat.com>
34003 * native/target/posix/.cvsignore: Added .deps.
34005 2006-01-22 Mark Wielaard <mark@klomp.org>
34008 reported by James Damour <James.Damour@corp.request.com>
34009 * java/awt/Container.java (addImpl): Use empty string as name when
34010 null constraints for LayoutManager.addLayoutComponent().
34012 2006-01-22 Chris Burdess <dog@gnu.org>
34015 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34016 representing current directory as base for relative URLs.
34018 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34021 * gnu/regexp/REMatch.java(empty): New boolean indicating
34022 an empty string matched.
34023 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34025 (initialize): Support back reference \10, \11, and so on.
34026 (parseInt): renamed from getEscapedChar and returns int.
34027 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34028 when an empty string matched. Fixed a bug of the case where
34029 an empty string matched. Added special handling of {0}.
34030 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34031 when an empty string matched. Fixed the case insensitive matching.
34033 2006-01-21 Roman Kennke <kennke@aicas.com>
34035 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34036 (paint): Added painting of border if one is installed.
34038 2006-01-21 Roman Kennke <kennke@aicas.com>
34040 PR classpath/25843:
34041 * javax/swing/plaf/basic/BasicBorders.java
34042 (getSplitPaneDividerBorder): Use new border constructor
34044 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34045 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34046 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34047 colors are fetched dynamically in the paintBorder method.
34048 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34050 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34052 * javax/swing/plaf/basic/BasicLookAndFeel.java
34053 (initComponentDefaults): Added default for SplitPaneDivider.border.
34054 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34055 (tmpBorder): Removed unneeded inner class.
34056 (BasicSplitPaneDivider): Removed setting of border.
34057 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34059 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34060 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34061 to get behaviour right.
34062 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34063 implementation. This must be rewritten since the layout now works
34064 slightly different (basically, it shouldn't modify the sizes[]
34065 here but instead the dividerLocation.
34066 (dividerLocation): New field.
34067 (installDefaults): Initialize border on divider.
34068 (uninstallDefaults): Only remove background color and border from
34069 splitPane if they are instances of UIDefaults (== not set by
34071 (setDividerLocation): Set the dividerLocation field instead of
34072 doing stunt acts here.
34073 (getDividerLocation): Return dividerLocation field.
34074 (getMinimumDividerLocation): Fixed calculation of minimum location.
34076 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34079 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34081 * lib/Makefile.am: Likewise.
34083 2006-01-21 Roman Kennke <kennke@aicas.com>
34085 * javax/swing/PopupFactory.java
34086 (getPopup): If there is no Swing root found in any way, use a
34087 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34088 for the Swing AWT peers.
34090 2006-01-20 Tom Tromey <tromey@redhat.com>
34092 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34093 Read response body for redirect.
34095 2006-01-20 Chris Burdess <dog@gnu.org>
34097 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34100 2006-01-20 Lillian Angel <langel@redhat.com>
34102 * javax/swing/text/DefaultStyledDocument.java
34103 (pad): Removed, not needed.
34104 (printElements): Likewise.
34105 (printEdit): Likewise.
34107 2006-01-20 Roman Kennke <kennke@aicas.com>
34109 * javax/swing/text/DefaultFormatter.java
34110 (DefaultFormatter): Don't set a value class.
34112 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34114 * javax/swing/DefaultCellEditor.java: Commented.
34116 2006-01-19 Roman Kennke <kennke@aicas.com>
34118 * javax/swing/JOptionPane.java
34119 Added cast to Frame for JDialog constructor.
34121 2006-01-19 Roman Kennke <kennke@aicas.com>
34123 * javax/swing/JWindow.java
34124 (JWindow(Window)): Fixed to accept null owner argument.
34125 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34127 * javax/swing/SwingUtilities.java
34128 (getOwnerFrame): Owner parameter and return value are fixed to
34129 be of type Window for compatibity with the above JWindow
34131 * javax/swing/JDialog.java
34132 (JDialog): Added cast to Frame to make sure the correct constructor
34134 * javax/swing/JFileChooser.java
34135 (createDialog): Added cast to Frame for JDialog constructor.
34137 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34139 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34141 2006-01-19 Roman Kennke <kennke@aicas.com>
34143 * javax/swing/JWindow.java: Added API docs to the constructors.
34145 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34147 * javax/swing/JTable.java: Commenting method headers.
34148 (EditorUpdateTimer): Removed.
34150 2006-01-19 Roman Kennke <kennke@aicas.com>
34152 * javax/swing/JDialog.java
34153 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34154 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34155 SwingUtilities.getOwnerFrame() with the owner argument.
34156 * javax/swing/JFileChooser.java
34157 (showOpenDialog(Component)): Call pack() on the dialog instead of
34158 setting a fixed height.
34159 (showSaveDialog()): Likewise.
34160 (showDialog()): Likewise.
34161 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34162 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34164 * javax/swing/JWindow.java
34165 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34166 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34168 * javax/swing/SwingUtilities.java
34169 (getOwnerFrame): Changed to take a owner parameter that is returned
34170 as owner frame when not null.
34172 2006-01-19 Roman Kennke <kennke@aicas.com>
34174 * gnu/java/awt/peer/swing/SwingFramePeer.java
34175 (handleMouseEvent): Fixed handling of mouse events.
34176 (handleMouseMotionEvent): Fixed handling of mouse events.
34178 2006-01-19 Roman Kennke <kennke@aicas.com>
34180 * native/target/generic/target_generic_misc.c:
34181 (targetGenericMisc_formatString): Added missing method.
34183 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34185 * m4/acinclude.m4: Test also for ecj found before exiting configure
34186 with no javac found error message.
34188 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34191 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34192 \0123, \x1B, \u1234.
34193 (getEscapedChar): New method.
34194 (CharExpression): New inner class.
34195 (getCharExpression): New Method.
34196 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34197 RE_UNICODE_CHAR): New syntax bits.
34199 2006-01-19 Roman Kennke <kennke@aicas.com>
34201 * native/target/Makefile.am: Fixed so that posix stuff is really
34202 only built when requested.
34204 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34206 * javax/swing/JTable.java (editingStopped, editingCancelled):
34207 Repaint the edited cell.
34208 (setValueAt): Do not add the value object to this container.
34209 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34210 (editingStopped): Use editingRow, editingColumn and not
34211 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34212 (doLayout): Move the editor component, if present, into the new
34213 location and call repaint(). (moveToCellBeingEdited): new method.
34214 (TableTextField): new inner class.
34215 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34216 (setValueAt): Repaint the changed segment.
34217 (createDefaultEditors): Implemented.
34218 (BooleanCellRenderer): Center the checkbox and use the default foreground
34219 and background colors.
34220 * javax/swing/plaf/basic/BasicTableUI.java
34221 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34222 (paint): No need to allocate rectangle for each cell.
34223 * javax/swing/DefaultCellEditor.java: Rewritten.
34224 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34225 Use TableDemo.java table example.
34226 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34228 2006-01-19 Roman Kennke <kennke@aicas.com>
34230 * configure.ac: Added/fixed --enable-posix-layer option to enable
34231 build of posix layer.
34232 * native/target/Makefile.am: Added build for posix layer.
34234 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34236 * configure.ac: Set TARGET to Linux per default.
34237 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34239 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34240 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34243 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34245 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34246 what looked like proprietary documentation with original or new one.
34247 * java/security/spec/PSSParameterSpec.java: Likewise.
34248 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34249 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34250 * java/security/AlgorithmParameterGenerator.java: Likewise.
34251 * java/security/AlgorithmParameters.java: Likewise.
34252 * java/security/Identity.java: Likewise.
34253 * java/security/IdentityScope.java: Likewise.
34254 * java/security/KeyFactory.java: Likewise.
34255 * java/security/KeyPairGenerator.java: Likewise.
34256 * java/security/MessageDigest.java: Likewise.
34257 * java/security/Policy.java: Likewise.
34258 * java/security/ProtectionDomain.java: Likewise.
34259 * java/security/Security.java: Likewise.
34260 * java/security/Signature.java: Likewise.
34261 * java/security/SignatureSpi.java: Likewise.
34262 * java/security/SignedObject.java: Likewise.
34263 * java/security/Signer.java: Likewise.
34265 2006-01-18 Roman Kennke <kennke@aicas.com>
34267 * configure.ac: Added --enable-posix-layer option to enable
34268 build of the posix target layer.
34270 2006-01-18 Roman Kennke <kennke@aicas.com>
34272 * native/jni/java-net/java_net_VMInetAddress.c
34273 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34276 2006-01-18 Roman Kennke <kennke@aicas.com>
34278 * native/jni/java-util/java_util_VMTimeZone.c:
34279 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34280 to use target native layer.
34281 (jint_to_charbuf): Removed unneeded helper function.
34283 2006-01-18 Roman Kennke <kennke@aicas.com>
34285 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34286 Removed unnecessary include.
34287 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34288 Reorganized includes to only include sys/* headers when available.
34289 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34290 (get_pagesize): Return 0 when nothing else works.
34291 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34292 Replaced munmap() and strerror() with corresponding target macros.
34293 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34294 Replaced strerror() with corresponding target macro.
34295 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34296 Replaced strerror() with corresponding target macro.
34297 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34298 (Java_java_nio_VMDirectByteBuffer_allocate):
34299 Replaced malloc() with the corresponding target macro.
34300 (Java_java_nio_VMDirectByteBuffer_free):
34301 Replaced free() with the corresponding target macro.
34302 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34303 Add index to pointer when assigning the value.
34304 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34305 Replaced memcpy with corresponding target macro. Add index when
34306 doing the memcpy, not when fetching the pointer.
34307 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34308 Replaced memcpy with corresponding target macro.
34309 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34310 Replaced memmove with the corresponding target macro.
34312 2006-01-17 Tom Tromey <tromey@redhat.com>
34314 PR classpath/20198:
34315 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34316 (JarURLLoader): Likewise.
34317 (addURLImpl): Canonicalize file URLs.
34319 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34321 * configure.ac: Set TARGET.
34322 * native/Makefile.am, native/jni/classpath/Makefile.am,
34323 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34324 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34325 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34326 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34327 native/target/Linux/Makefile.am,
34328 native/target/generic/Makefile.am,
34329 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34330 and target stuff linked in and link it against lib*.so libraries.
34332 2006-01-17 Roman Kennke <kennke@aicas.com>
34334 * native/jni/java-net/javanet.c:
34335 (_javanet_connect): Changed type of some local variables to jint.
34336 Fixed error handling to throw a SocketTimeoutException if the
34337 connection attempt times out.
34338 (_javanet_bind): Changed type of some local variables to jint.
34339 (_javanet_accept): Likewise.
34340 (_javanet_recvfrom): Likewise.
34341 (_javanet_sendto): Fixed error handling to throw a
34342 PortUnreachableException when connection is refused.
34343 (_javanet_get_option): Changed type of some local variables to jint.
34344 Implemented SOCKOPT_SO_BROADCAST.
34345 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34346 target native macro.
34347 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34348 target native macro.
34349 * native/jni/java-net/javanet.h:
34350 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34351 SOCKOPT_SO_BROADCAST.
34353 2006-01-17 Lillian Angel <langel@redhat.com>
34355 * javax/swing/text/DefaultStyledDocument.java
34356 (insert): Cleaned up loop. No need to make so many calls
34357 to getAddedElements and getRemovedElements.
34358 (insertFracture): Removed unneeded array.
34360 2006-01-17 Lillian Angel <langel@redhat.com>
34362 * javax/swing/text/JTextComponent.java
34363 (AccessibleJTextComponent): Implemented.
34364 (getCaretPosition): Implemented.
34365 (getSelectedText): Implemented.
34366 (getSelectionStart): Implemented.
34367 (getSelectionEnd): Implemented.
34368 (getSelectionEnd): Implemented.
34369 (getCharCount): Implemented.
34370 (insertTextAtIndex): Implemented.
34371 (getTextRange): Implemented.
34372 (delete): Implemented.
34373 (cut): Implemented.
34374 (paste): Implemented.
34375 (replaceText): Implemented.
34376 (selectText): Implemented.
34378 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34380 * javax/swing/text/DefaultStyledDocument.java:
34381 (pad): New debugging method.
34382 (printElements): Likewise.
34383 (printPendingEdits): Likewise.
34384 (printElement): Likewise.
34385 (Edit): Improved docs, moved this class to be an inner class of
34386 ElementBuffer since it only applies within that scope. Changed added
34387 and removed to be Vectors instead of arrays because we need to be able
34388 to add to them after construction.
34389 (ElementBuffer): Updated docs with link to article that helped in this
34390 classes implementation.
34391 (ElementBuffer.Edit.getRemovedElements): New method.
34392 (ElementBuffer.Edit.getAddedElements): Likewise.
34393 (ElementBuffer.Edit.addRemovedElement): Likewise.
34394 (ElementBuffer.Edit.addRemovedElements): Likewise.
34395 (ElementBuffer.Edit.addAddedElement): Likewise.
34396 (ElementBuffer.Edit.addAddedElements): Likewise.
34397 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34399 (ElementBuffer.getEditForParagraphAndIndex): New method.
34400 (ElementBuffer.removeUpdate): Changed type of paragraph to
34401 BranchElement. Corrected style of adding the edit to use the new Edit
34403 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34404 the new Edit facilities.
34405 (ElementBuffer.split): Likewise.
34406 (ElementBuffer.insertParagraph): Likewise.
34407 (ElementBuffer.insertContentTag): Likewise.
34408 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34409 not just the root and the first one. Apply the structural changes to
34410 the tree at the same time as updating the DocumentEvent.
34411 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34412 handling of EndTags as the first ElementSpec. Instead have to handle
34413 ContentTags as a special case if they are the first ElementSpec and if
34414 not have to fracture the tree.
34415 (ElementBuffer.createFracture): New method. May not be complete yet.
34416 Added FIXME indicating what may remain to be done.
34417 (ElementBuffer.insertFirstContentTag): New method.
34418 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34419 be done. Changed the adding of edits to use the new Edit facilities.
34420 Removed the adding of edits for Elements that weren't in the tree prior
34422 (insertUpdate): Removed incorrect condition for setting a StartTag's
34423 direction to JoinNextDirection.
34424 * javax/swing/text/StyleContent.java:
34425 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34426 that was causing an ArrayOutOfBoundsException.
34428 2006-01-17 Roman Kennke <kennke@aicas.com>
34430 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34431 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34432 exception messages a little.
34433 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34434 alternative implementation for systems without filesystems.
34435 Replaced snprintf with the corresponding target native macro.
34436 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34437 Only do something when we have a filesystem.
34438 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34439 alternative implementation for systems without filesystems.
34440 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34441 alternative implementation for systems without filesystems.
34442 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34443 alternative implementation for systems without filesystems.
34444 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34445 Only do something when we have a filesystem.
34446 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34447 Only do something when we have a filesystem.
34448 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34449 alternative implementation for systems without filesystems.
34450 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34451 Replaced ssize_t variables with jint. Provided
34452 alternative implementation for systems without filesystems.
34453 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34454 Replaced ssize_t variables with jint. Provided
34455 alternative implementation for systems without filesystems.
34456 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34457 Replaced ssize_t variables with jint. Provided
34458 alternative implementation for systems without filesystems.
34459 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34460 Only do something when we have a filesystem.
34461 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34462 Replaced ssize_t variables with jint. Provided
34463 alternative implementation for systems without filesystems.
34464 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34465 to use the corresponding target native macro.
34466 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34467 to use the corresponding target native macro.
34469 2006-01-17 Lillian Angel <langel@redhat.com>
34471 * javax/swing/text/DefaultTextUI.java:
34472 Added deprecated tag.
34473 * javax/swing/text/JTextComponent.java
34474 (AccessibleJTextComponent): Fixed API doc and
34475 partiall9 implemented.
34476 (getCaretPosition): Fixed API doc and implemented.
34477 (getSelectedText): Fixed API doc.
34478 (getSelectionStart): Likewise.
34479 (getSelectionEnd): Likewise.
34480 (caretUpdate): Fixed API doc and
34481 partially implemented.
34482 (getAccessibleStateSet): Likewise.
34483 (getAccessibleRole): Fixed API doc and implemented.
34484 (getAccessibleEditableText): Implemented.
34485 (getAccessibleText): Fixed API doc and implemented.
34486 (insertUpdate): Fixed API doc.
34487 (changedUpdate): Likewise.
34488 (getIndexAtPoint): Likewise.
34489 (getRootEditorRect): Removed.
34490 (getCharacterBounds): Fixed API doc.
34491 (getCharCount): Likewise.
34492 (getCharacterAttribute): Likewise.
34493 (getAtIndex): Likewise.
34494 (getAfterIndex): Likewise.
34495 (getBeforeIndex): Likewise.
34496 (getAccessibleActionCount): Added function stub.
34497 (getAccessibleActionDescription): Added function,
34498 partially implemented.
34499 (doAccessibleAction): Added function stub.
34500 (setTextContents): Likewise.
34501 (insertTextAtIndex): Likewise.
34502 (delete): Likewise.
34505 (replaceText): Likewise.
34506 (selectText): Likewise.
34507 (setAttributes): Likewise.
34508 (getAccessibleContext): Implemented.
34510 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34513 * gnu/regexp/RETokenRange.java(constructor):
34514 Keep lo and hi as they are.
34515 (match): Changed the case insensitive comparison.
34517 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34519 * gnu/regexp/RETokenChar.java(chain):
34520 Do not concatenate tokens whose insens flags are diffent.
34522 2006-01-17 Roman Kennke <kennke@aicas.com>
34524 * native/target/generic/target_generic_network.c:
34525 (targetGenericNetwork_receive): Fixed signature to match the
34526 corresponding .h file.
34527 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34528 to match the corresponding .h file.
34530 2006-01-17 Roman Kennke <kennke@aicas.com>
34532 * native/jni/classpath/jcl.c:
34533 (JCL_malloc): Replaced calls to malloc with the corresponding
34534 target layer macro.
34535 (JCL_free): Replaced calls to free with the corresponding
34536 target layer macro.
34537 * native/jni/classpath/native_state.c:
34538 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34539 calloc with the corresponding target layer macro.
34540 (remove_node): Replaced calls to free with the corresponding
34541 target layer macro.
34542 (add_node): Replaced calls to malloc with the corresponding
34543 target layer macro.
34545 2006-01-17 Roman Kennke <kennke@aicas.com>
34547 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34548 (getFieldReference): Use MALLOC/FREE macros for portability instead
34549 of direct call to malloc() and free().
34551 2006-01-17 Roman Kennke <kennke@aicas.com>
34553 * native/jni/classpath/jcl.c: Added missing imports.
34554 (JCL_realloc): Fixed signature to include oldsize. This is needed
34555 for some targets. Make this function use the MEMORY_REALLOC macro
34557 * native/jni/classpath/jcl.h
34558 (JCL_realloc): Adjusted signature.
34559 * native/jni/java-io/java_io_VMFile.c:
34560 (Java_java_io_VMFile_create): Use target layer macro for handling
34561 errno, for portability.
34562 (Java_java_io_VMFile_length): Release filename string in error cases
34564 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34565 version of JCL_realloc.
34566 * native/jni/java-net/java_net_VMInetAddress.c:
34567 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34568 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34569 * native/jni/java-net/javanet.c:
34570 (_javanet_bind): Make errorstr variable const to avoid compiler
34572 (_javanet_set_option): Fixed typo.
34573 (_javanet_get_option): Fixed typo.
34574 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34575 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34576 error_string variable const to avoid compiler warning.
34577 * native/target/generic/target_generic_file.h:
34578 Replaced // comments with /* */ comments to avoid compiler warnings.
34579 Added some spaces to make code better readable.
34580 * native/target/generic/target_generic_memory.h:
34581 Replaced // comments with /* */ comments to avoid compiler warnings.
34582 * native/target/generic/target_generic_misc.c:
34583 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34584 compiler warnings due to use of varargs.
34585 * native/target/generic/target_generic_misc.h:
34586 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34587 compiler warnings due to use of varargs.
34588 * native/target/generic/target_generic_network.h:
34589 Replaced // comments with /* */ comments to avoid compiler warnings.
34590 (targetGenericNetwork_receive): Fixed signature to use signed chars
34591 for buffer parameter to avoid warning when passing a jbyte to the
34594 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34596 * javax/swing/text/StyleConstants.java
34597 (getAlignment): Removed isDefined() check, so that resolving parent is
34599 (getBackground): Likewise, plus changed default value to Color.BLACK,
34600 (getBidiLevel): Removed isDefined() check,
34601 (getComponent): Likewise,
34602 (getFirstLineIndent): Likewise,
34603 (getFontFamily): Likewise,
34604 (getFontSize): Likewise,
34605 (getForeground): Likewise,
34606 (getIcon): Likewise,
34607 (getLeftIndent): Likewise,
34608 (getLineSpacing): Likewise,
34609 (getRightIndent): Likewise,
34610 (getSpaceAbove): Likewise,
34611 (getSpaceBelow): Likewise,
34612 (getTabSet): Likewise,
34613 (isBold): Likewise,
34614 (isItalic): Likewise,
34615 (isStrikeThrough): Likewise,
34616 (isSubscript): Likewise,
34617 (isSuperscript): Likewise,
34618 (isUnderline): Likewise.
34620 2006-01-17 Gary Benson <gbenson@redhat.com>
34622 * java/lang/System.java (setSecurityManager): Catch
34623 ClassNotFoundException not Throwable.
34625 2006-01-16 Anthony Green <green@redhat.com>
34628 * gnu/java/net/protocol/http/Request.java
34629 (createResponseBodyStream): Remove Content-Encoding for
34630 compressed streams.
34632 2006-01-16 Chris Burdess <dog@gnu.org>
34634 * gnu/xml/stream/XMLParser.java,
34635 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34636 XMLStreamWriter arguments for conformance to the XML specifications.
34637 * gnu/xml/transform/Stylesheet.java,
34638 gnu/xml/transform/Template.java,
34639 gnu/xml/transform/TransformerImpl.java,
34640 gnu/xml/xpath/LangFunction.java,
34641 gnu/xml/xpath/Selector.java: better handling of template priorities;
34642 fix indents when pretty-printing; recursive tests for xml:lang.
34643 * gnu/xml/util/XHTMLWriter.java,
34644 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34646 2006-01-16 Roman Kennke <kennke@aicas.com>
34648 * native/target/MinGW/.cvsignore: New file.
34649 * native/target/RTEMS/.cvsignore: New file.
34650 * native/target/SunOS/.cvsignore: New file.
34651 * native/target/embOS/.cvsignore: New file.
34652 * native/target/posix/.cvsignore: New file.
34654 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34656 * javax/swing/text/StyleConstants.java: Updated API docs all over.
34658 2006-01-16 Roman Kennke <kennke@aicas.com>
34660 * configure.ac: Include new target native directories in build.
34662 2006-01-16 Roman Kennke <kennke@aicas.com>
34664 * native/target/generic/target_generic_file.h: Added missing
34666 * native/target/generic/target_generic_network.c: Fixed several
34667 typos and includes.
34668 * native/target/generic/target_generic_network.h: Likewise.
34670 2006-01-16 Roman Kennke <kennke@aicas.com>
34672 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34673 to include the new targets.
34674 * native/target/posix/Makefile.am: Fixed filenames.
34676 2006-01-16 Roman Kennke <kennke@aicas.com>
34678 * native/target/Makefile.am: Include new targets.
34679 * native/target/Linux/Makefile.am: Include new memory layer.
34680 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34681 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34682 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34683 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34684 * native/target/generic/Makefile.am: Include new memory and math
34686 * native/target/posix/Makefile.am: New file. Includes posix in dist.
34688 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
34691 * gnu/regexp/RE.java(initialize): Parse embedded flags.
34692 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34694 2006-01-16 Roman Kennke <kennke@aicas.com>
34696 * native/target/generic/target_generic_network.c: Fixed typo.
34697 * native/target/generic/target_generic_network.h: Fixed typo.
34699 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
34701 * doc/vmintegration.texinfo: Updated subsection of the
34702 java.lang.InstrumentationImpl documentation.
34704 2006-01-16 Roman Kennke <kennke@aicas.com>
34706 * native/target/RTEMS/target_native.h,
34707 * native/target/RTEMS/target_native_file.h,
34708 * native/target/RTEMS/target_native_io.h,
34709 * native/target/RTEMS/target_native_math.h,
34710 * native/target/RTEMS/target_native_memory.h,
34711 * native/target/RTEMS/target_native_misc.h,
34712 * native/target/RTEMS/target_native_network.h:
34713 New files. Implement the target native layer for the RTEMS platform.
34715 2006-01-16 Roman Kennke <kennke@aicas.com>
34717 * native/target/SunOS/target_native.h,
34718 * native/target/SunOS/target_native_file.h,
34719 * native/target/SunOS/target_native_io.h,
34720 * native/target/SunOS/target_native_math.h,
34721 * native/target/SunOS/target_native_memory.h,
34722 * native/target/SunOS/target_native_misc.h,
34723 * native/target/SunOS/target_native_network.h:
34724 New files. Implement the target native layer for the SunOS platform.
34726 2006-01-16 Roman Kennke <kennke@aicas.com>
34728 * native/target/MinGW/target_native.h,
34729 * native/target/MinGW/target_native_file.h,
34730 * native/target/MinGW/target_native_io.h,
34731 * native/target/MinGW/target_native_math.h,
34732 * native/target/MinGW/target_native_memory.h,
34733 * native/target/MinGW/target_native_misc.h,
34734 * native/target/MinGW/target_native_network.h:
34735 New files. Implement the target native layer for the MinGW
34738 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34741 * javax/swing/DefaultCellEditor.java
34742 (delegate): Assign new instance immediately.
34743 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34744 (getTableCellEditorComponent): Rewritten.
34745 (prepareAsJTextField):New method (add listener only once).
34746 * javax/swing/JTable.java
34747 (editingCanceled): Rewritten.
34748 (editingStopped ): Rewritten.
34749 (rowAtPoint): Mind row margin.
34750 (getCellRect): Mind row margin.
34751 (getDefaultEditor): Removing JTextComponent border.
34752 (editCellAt): Rewritten.
34753 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34754 Activate editing mode by the mouse clicks.
34755 (getMaximumSize): Mind row margin.
34756 (getPreferredSize): Mind row margin.
34757 (TableAction): Added 'stop editing' command.
34759 2006-01-16 Roman Kennke <kennke@aicas.com>
34761 * jni/java-io/java_io_VMFile.c
34762 (Java_java_io_VMFile_list): Use new 4 argument version of
34763 TARGET_NATIVE_FILE_READ_DIR macro.
34764 * target/Linux/target_native_io.h: Fixed comment at #endif.
34765 * target/Linux/target_native_memory.h: New file. Contains
34766 portability macros for memory operations.
34767 * target/generic/target_generic.c: New file. Contains some functions
34769 * target/generic/target_generic.h: Use posix target and shorter macro
34770 names if CP_NEW is set.
34771 * target/generic/target_generic_file.h: Use posix target and shorter
34772 macro names if CP_NEW is set.
34773 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34774 * target/generic/target_generic_io.c: New file. Contains some
34775 functions for IO portability.
34776 * target/generic/target_generic_io.h: Use posix target and shorter
34777 macro names if CP_NEW is set.
34778 * target/generic/target_generic_misc.c: New file. Contains some
34779 functions for miscallaneaous portability issues.
34780 * target/generic/target_generic_misc.h: Use posix target and shorter
34781 macro names if CP_NEW is set.
34782 * target/generic/target_generic_network.c: New file. Contains some
34783 functions for networking portability.
34784 * target/generic/target_generic_network.h: Use posix target and
34785 shorter macro names if CP_NEW is set.
34786 * target/posix/Makefile.am,
34787 * target/posix/target_posix.c,
34788 * target/posix/target_posix.h,
34789 * target/posix/target_posix_file.c,
34790 * target/posix/target_posix_file.h,
34791 * target/posix/target_posix_io.c,
34792 * target/posix/target_posix_io.h,
34793 * target/posix/target_posix_math.c,
34794 * target/posix/target_posix_math.h,
34795 * target/posix/target_posix_memory.c,
34796 * target/posix/target_posix_memory.h,
34797 * target/posix/target_posix_misc.c,
34798 * target/posix/target_posix_misc.h,
34799 * target/posix/target_posix_network.c,
34800 * target/posix/target_posix_network.h:
34801 New files. This implements the target native layer macros for
34802 Posix-like systems.
34804 2006-01-16 Gary Benson <gbenson@redhat.com>
34806 * java/net/SocketPermission.java (implies): Fix action checks.
34808 2006-01-16 Roman Kennke <kennke@aicas.com>
34810 * native/target/generic/target_generic_math_float.h: Removed. This
34811 file has been replaced by target_generic_math.h.
34812 * native/target/generic/target_generic_math_int.h: Removed. This
34813 file has been replaced by target_generic_math.h.
34814 * native/target/generic/target_generic_math.h: New file. Replaces
34815 the old _int and _float versions.
34816 * native/target/Linux/target_native_math_float.h: Removed. This
34817 file has been replaced by target_native_math.h.
34818 * native/target/Linux/target_native_math_int.h: Removed. This
34819 file has been replaced by target_native_math.h.
34820 * native/target/Linux/target_native_math.h: New file. Replaces
34821 the old _int and _float versions.
34822 * native/target/Linux/Makefile.am: Adjusted for the changed
34824 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34825 instead of target_native_math_int.h.
34826 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34828 * native/target/generic/target_generic_file.h: Likewise.
34830 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34832 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34834 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34836 * javax/swing/text/SimpleAttributeSet.java
34837 (SimpleAttributeSet()): Initialise storage directly,
34838 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34839 NullPointerException,
34840 (containsAttribute): If key is found locally, don't check resolving
34841 parent if the value doesn't match,
34842 (getAttribute): Removed redundant instanceof and cast.
34844 2006-01-16 Gary Benson <gbenson@redhat.com>
34846 * java/lang/System.java (setSecurityManager): Ensure policy
34847 files are loaded before a security manager is put in place.
34849 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34851 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34853 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
34855 * javax/print/attribute/standard/MediaSize.java:
34856 (static_initializer): Added comment.
34857 (MediaSize): Added javadoc to mention cache registration.
34858 (MediaSize): Likewise.
34859 (MediaSize): Likewise.
34860 (MediaSize): Likewise.
34862 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
34865 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34866 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34867 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34868 * javax/security/auth/login/AppConfigurationEntry.java: Updated
34870 (toString): Added method implementation.
34871 (LoginModuleControlFlag.toString): Removed class name from result.
34872 * javax/security/auth/login/Configuration.java: Updated copyright year.
34873 (getConfig(): replaced calls to NullConfiguration with
34876 2006-01-15 Tom Tromey <tromey@redhat.com>
34878 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34879 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34880 * java/beans/PersistenceDelegate.java (initialize): Genericized.
34881 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34882 (setPersistenceDelegate): Likewise.
34884 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
34886 * javax/print/attribute/standard/PrinterStateReasons.java:
34887 (printerStateReasonSet): Genericize the return type.
34889 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34891 * javax/swing/table/DefaultTableCellRenderer.java
34892 (getTableCellRendererComponent): Render null as the empty cell.
34894 2006-01-14 Anthony Green <green@redhat.com>
34896 * java/net/ServerSocket.java (accept): Remove bogus
34898 (implAccept): Add FIXME comment.
34900 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34903 * javax/print/Doc.java: Added and enhanced documentation.
34904 * javax/print/SimpleDoc.java: New file.
34906 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34908 * javax/print/attribute/standard/MediaSize.java:
34909 (Other.TABLOID): New MediaSize added in 1.5
34911 2006-01-14 Chris Burdess <dog@gnu.org>
34913 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34914 correctly when I/O and runtime exceptions occur during parsing.
34916 2006-01-13 Roman Kennke <kennke@aicas.com>
34918 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34919 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34920 * gnu/java/awt/peer/swing/SwingComponent.java,
34921 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34922 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34923 * gnu/java/awt/peer/swing/SwingFramePeer.java,
34924 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34925 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34926 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34927 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34928 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34929 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34930 * gnu/java/awt/peer/swing/SwingToolkit.java,
34931 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
34932 * gnu/java/awt/peer/swing/package.html:
34933 New files. Implemented some basic AWT peers based on Swing.
34935 2006-01-13 Roman Kennke <kennke@aicas.com>
34937 * java/awt/peer/ComponentPeer.java: Added API docs all over.
34939 2006-01-13 Roman Kennke <kennke@aicas.com>
34941 * java/awt/MenuComponent.java: Reformatted to better match our
34944 2006-01-13 Roman Kennke <kennke@aicas.com>
34946 * java/awt/Frame.java: Reformatted to better match our
34949 2006-01-13 Roman Kennke <kennke@aicas.com>
34951 * java/awt/MenuBar.java
34952 (accessibleContext): Removed unnecessary field. This is already
34953 defined in MenuComponent.
34954 (setHelpMenu): Renamed the peer variable to myPeer because it was
34955 hiding a field of MenuComponent.
34956 (addNotify): Removed unnecessary cast.
34958 2006-01-13 Roman Kennke <kennke@aicas.com>
34960 * java/awt/MenuBar.java: Reformatted to better match our
34963 2006-01-13 Roman Kennke <kennke@aicas.com>
34965 * java/awt/MenuBar.java
34966 (frame): New field.
34967 (removeNotify): Clear frame field when beeing removed from the
34969 * java/awt/Frame.java
34970 (setMenuBar): Store a reference of the frame in the MenuBar.
34971 * java/awt/MenuComponent.java
34972 (postEvent): Implemented to forward the call to the parent until
34973 a parent can handle the event.
34974 (dispatchEvent): Moved handling of old style events from
34975 dispatchEventImpl() to here.
34976 (dispatchEventImpl): Moved handling of old style events to
34979 2006-01-13 Roman Kennke <kennke@aicas.com>
34981 * java/awt/Component.java
34982 (dispatchEvent): Moved handling of old style events from
34983 dispatchEventImpl() to this method.
34984 (translateEvent): Removed unnecessary cast.
34985 (dispatchEventImpl): Moved handling of old style events to
34988 2006-01-13 Lillian Angel <langel@redhat.com>
34990 * javax/swing/text/DefaultStyledDocument.java
34991 (createDefaultRoot): Removed FIXME.
34992 (setLogicalStyle): Added fireUndoableEditUpdate call and
34995 2006-01-13 Lillian Angel <langel@redhat.com>
34997 * javax/swing/text/DefaultStyledDocument.java
34998 (Edit): New inner class.
34999 (changeUpdate): Changed addEdit call to add a new
35000 instance of Edit to the edits Vector, so addEdits can
35003 (insertParagraph): Likewise.
35004 (insertFracture): Likewise.
35005 (insertContentTag): Likewise.
35006 (insert): Added loop to go through edits Vector and perform
35007 addEdit on each object.
35009 2006-01-13 Chris Burdess <dog@gnu.org>
35011 * gnu/xml/transform/AbstractNumberNode.java,
35012 gnu/xml/transform/ApplyImportsNode.java,
35013 gnu/xml/transform/ApplyTemplatesNode.java,
35014 gnu/xml/transform/AttributeNode.java,
35015 gnu/xml/transform/CallTemplateNode.java,
35016 gnu/xml/transform/ChooseNode.java,
35017 gnu/xml/transform/CommentNode.java,
35018 gnu/xml/transform/CopyNode.java,
35019 gnu/xml/transform/CopyOfNode.java,
35020 gnu/xml/transform/DocumentFunction.java,
35021 gnu/xml/transform/ElementNode.java,
35022 gnu/xml/transform/ForEachNode.java,
35023 gnu/xml/transform/IfNode.java,
35024 gnu/xml/transform/LiteralNode.java,
35025 gnu/xml/transform/MessageNode.java,
35026 gnu/xml/transform/OtherwiseNode.java,
35027 gnu/xml/transform/ParameterNode.java,
35028 gnu/xml/transform/ProcessingInstructionNode.java,
35029 gnu/xml/transform/Stylesheet.java,
35030 gnu/xml/transform/Template.java,
35031 gnu/xml/transform/TemplateNode.java,
35032 gnu/xml/transform/TextNode.java,
35033 gnu/xml/transform/TransformerImpl.java,
35034 gnu/xml/transform/ValueOfNode.java,
35035 gnu/xml/transform/WhenNode.java,
35036 gnu/xml/xpath/NodeTypeTest.java,
35037 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35038 with-param parameters when template does not define parameters; apply
35039 conflict resolution for templates; strip whitespace on documents
35040 retrieved via document() function; allow node() to match document
35043 2006-01-13 Mark Wielaard <mark@klomp.org>
35045 * doc/www.gnu.org/announce/20060113.wml: New file.
35046 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35047 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35049 2006-01-13 Lillian Angel <langel@redhat.com>
35051 * javax/swing/text/DefaultStyledDocument.java:
35052 Removed unused fields.
35053 (insert): Removed unused fields.
35054 (endEdit): Removed, not needed.
35055 (insertUpdate): Removed call to endEdit.
35056 (prepareContentInsertion): Removed, not needed.
35057 (insertContentTag): Removed call to prepareContentInsertion.
35058 (printElements): Removed, not needed.
35059 (attributeSetsAreSame): Removed, not needed.
35061 2005-01-13 Mark Wielaard <mark@klomp.org>
35063 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35064 Duplicate of toString(int, StringBuilder).
35066 2005-01-13 Mark Wielaard <mark@klomp.org>
35068 * configure.ac: Set version to 0.20.
35069 * NEWS: Add entries for all the new work done.
35071 2005-01-13 Mark Wielaard <mark@klomp.org>
35073 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35075 2005-01-13 Mark Wielaard <mark@klomp.org>
35077 * java/util/regex/Pattern.java (Pattern): Chain REException.
35079 2006-01-13 Chris Burdess <dog@gnu.org>
35081 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35083 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35085 * java/security/Security.java
35086 (getProperty): Added hack to skip security check when trusted
35087 code is direct caller.
35089 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35091 * java/io/PrintStream.java
35092 (line_separator, PrintStream(OutputStream,boolean)): Use
35095 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35097 * gnu/java/nio/charset/Provider.java: Added comment about its
35098 special relation with CharsetProvider.
35100 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35101 its special relation with CharsetProvider.
35103 * java/nio/charset/spi/CharsetProvider.java
35104 (CharsetProvider): Add special case to skip security check for
35105 built in providers.
35107 2005-01-13 Mark Wielaard <mark@klomp.org>
35109 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35110 name, accel, mnemonic and command are defined before setting.
35112 2005-01-12 Mark Wielaard <mark@klomp.org>
35114 * javax/swing/plaf/metal/MetalFileChooserUI.java
35115 (FileRenderer.getListCellRendererComponent): Set empty name and null
35116 icon when File is null.
35118 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35120 * gnu/java/rmi/server/UnicastRef.java (newCall):
35121 Throw ConnectException after catching IOException.
35123 2006-01-12 Lillian Angel <langel@redhat.com>
35125 * javax/swing/text/DefaultStyledDocument.java
35126 (insertUpdate): Removed unneeded check.
35128 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35130 * javax/swing/text/DefaultStyledDocument.java:
35131 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35132 and we haven't come immediately after a fracture, adjust the Element
35133 offsets. Added comment explaining the situation.
35134 (insert): Return early if no ElementSpecs passed in. Removed redundant
35135 call to insertUpdate. Fired the UndoableEditUpdate.
35137 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35140 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35141 character classes within a subexpression.
35143 2006-12-12 Lillian Angel <langel@redhat.com>
35145 * javax/swing/text/DefaultStyledDocument.java
35146 (insertUpdate): Added check to check if attribute set is
35148 (insertUpdate): Added check to determine if last character
35149 is a newline. If it is, we should not be fracturing.
35150 (insert): Added check to determine if attribute set is empty.
35151 If it is, insertUpdate should not be called.
35153 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35155 * configure.ac: Check for isnan.
35157 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35160 2006-01-12 Chris Burdess <dog@gnu.org>
35162 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35163 1.1 character ranges.
35165 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35167 * javax/swing/TransferHandler.java:
35168 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35169 gnu/testlet/javax/swing/JTextField/CopyPaste.
35171 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35173 * resource/Makefile.am: Install
35174 logging.properties into $(prefix)/lib.
35175 * resource/Makefile.am (securitydir): Changed to
35176 $(prefix)/lib/security.
35178 2006-01-12 Roman Kennke <kennke@aicas.com>
35180 * javax/swing/JTextField.java
35181 (createDefaultModel): Moved installation of the filterNewlines
35182 property to setDocument().
35183 (setDocument): New method. Installs the filterNewlines property
35186 2006-01-12 Chris Burdess <dog@gnu.org>
35188 * gnu/xml/dom/DomNode.java,
35189 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35191 * gnu/xml/xpath/NameTest.java,
35192 gnu/xml/xpath/NamespaceTest.java,
35193 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35195 * gnu/xml/transform/MessageNode.java: Use standard logging system
35196 for outputting messages.
35198 2006-01-12 Tom Tromey <tromey@redhat.com>
35200 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35201 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35202 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35203 (static initializer): Removed cache code.
35204 (checkCacheFor, addToCache): Removed.
35205 (getAllByName): Removed cache code.
35206 (lookup_time): Removed.
35207 (InetAddress): Updated.
35209 2006-01-12 Chris Burdess <dog@gnu.org>
35211 * gnu/xml/dom/DomDocument.java,
35212 gnu/xml/dom/DomElement.java,
35213 gnu/xml/dom/DomNode.java,
35214 gnu/xml/stream/XMLParser.java,
35215 gnu/xml/transform/Bindings.java,
35216 gnu/xml/transform/ElementAvailableFunction.java,
35217 gnu/xml/transform/ElementNode.java,
35218 gnu/xml/transform/FunctionAvailableFunction.java,
35219 gnu/xml/transform/NamespaceProxy.java,
35220 gnu/xml/transform/StreamSerializer.java,
35221 gnu/xml/transform/Stylesheet.java,
35222 gnu/xml/transform/TransformerImpl.java,
35223 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35224 document and element nodes; correct coalescing semantics when parsing;
35225 attribute-sets can only refer to top-level variables and parameters;
35226 fix namespace retrieval during element-available and
35227 function-available functions; implement xsl:fallback for extension
35228 elements; tokenize whitespace correctly during whitespace stripping;
35229 correct following and previous node axes selectors.
35231 2006-01-12 Roman Kennke <kennke@aicas.com>
35233 * java/util/Hashtable.java
35234 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35235 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35237 2006-01-12 Lillian Angel <langel@redhat.com>
35239 * javax/swing/text/GapContent.java
35240 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35242 2006-01-12 Mark Wielaard <mark@klomp.org>
35244 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35245 Throw UnknowHostException when name could not be resolved.
35247 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35249 * java/net/URL.java
35250 (static, getURLStreamHandler): Use SystemProperties.
35252 2006-01-12 Mark Wielaard <mark@klomp.org>
35254 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35255 Use packet.getLength().
35256 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35257 (nativeReceive): Check whether the receiver wants zero bytes.
35259 2006-01-12 Mark Wielaard <mark@klomp.org>
35261 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35262 other side orderly closed connection.
35263 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35264 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35265 when end of stream reached.
35267 2006-01-12 Mark Wielaard <mark@klomp.org>
35269 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35271 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35272 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35273 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35274 * native/jni/java-net/javanet.c: Likewise.
35276 2006-01-12 Mark Wielaard <mark@klomp.org>
35278 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35279 PR classpath/23863.
35281 2006-01-11 Chris Burdess <dog@gnu.org>
35283 * gnu/xml/transform/AttributeNode.java,
35284 gnu/xml/transform/ElementNode.java,
35285 gnu/xml/transform/LiteralNode.java,
35286 gnu/xml/transform/StreamSerializer.java,
35287 gnu/xml/transform/StrippingInstruction.java,
35288 gnu/xml/transform/Stylesheet.java,
35289 gnu/xml/transform/TransformerImpl.java,
35290 gnu/xml/transform/ValueOfNode.java,
35291 gnu/xml/xpath/Expr.java,
35292 gnu/xml/xpath/LocalNameFunction.java,
35293 gnu/xml/xpath/NameFunction.java,
35294 gnu/xml/xpath/NameTest.java,
35295 gnu/xml/xpath/NamespaceUriFunction.java,
35296 gnu/xml/xpath/NodeTypeTest.java,
35297 gnu/xml/xpath/SubstringFunction.java,
35298 javax/xml/namespace/QName.java: don't determine element namespace
35299 from namespace aliases when specified; better namespace handling
35300 when serializing elements; don't create HTML meta element unless
35301 head element exists; correct encoding of CDATA sections containing
35302 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35303 default encoding for HTML output; rewrite of XSLT
35304 strip-space/preserve-space handling; correct doctype-public and
35305 doctype-system output attributes; insert generated doctype before
35306 document element; fixed result tree whitespace stripping
35307 algorithm; fixed semantics of XPath name, local-name, and
35308 namespace-uri functions; name tests handle XML/XMLNS namespaces
35309 correctly; fixed semantics of processing-instruction node test.
35310 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35313 2006-01-11 Lillian Angel <langel@redhat.com>
35315 * javax/swing/text/DefaultStyledDocument.java
35316 (insertFracture): Added calls to addEdit for each time a structure
35317 is changed. addEdit is called on the newBranch, previous, and parent
35320 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35322 * javax/swing/text/DefaultStyledDocument.java:
35323 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35324 This will have been taken care of in insertFracture. Added a comment
35325 explaining that we need to add edits to the DocumentEvent and that
35326 this may be the place to do it.
35328 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35330 * javax/swing/text/DefaultStyledDocument.java:
35331 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35332 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35333 elementStack when there is a start tag with JoinNextDirection.
35335 2006-01-11 Roman Kennke <kennke@aicas.com>
35337 Reported by: Fridjof Siebert <siebert@aicas.com>
35338 * java/util/Hashtable.java
35339 (KEYS): Removed unneeded field.
35340 (VALUES): Removed unneeded field.
35341 (ENTRIES): Removed unneeded field.
35342 (keys): Return a KeyEnumerator instance.
35343 (elements): Returns a ValueEnumerator instance.
35344 (toString): Use an EntryIterator instance.
35345 (keySet): Return a KeyIterator instance.
35346 (values): Return a ValueIterator instance.
35347 (entrySet): Return an EntryIterator instance.
35348 (hashCode): Use EntryIterator instance.
35349 (rehash): Changed this loop to avoid redundant reads and make
35350 it obvious that null checking is not needed.
35351 (writeObject): Use EntryIterator instance.
35352 (HashIterator): Removed class.
35353 (Enumerator): Removed class.
35354 (EntryIterator): New class.
35355 (KeyIterator): New class.
35356 (ValueIterator): New class.
35357 (EntryEnumerator): New class.
35358 (KeyEnumerator): New class.
35359 (ValueEnumerator): New class.
35361 2006-01-11 Lillian Angel <langel@redhat.com>
35363 * javax/swing/text/DefaultStyledDocument.java
35364 (toString): Shouldn't append the '>' character here.
35365 (createDefaultRoot): Should not set the resolve parent. This
35366 causes problems when comparing attribute sets.
35368 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35370 * javax/swing/text/DefaultStyledDocument.java:
35371 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35373 (ElementBuffer.insertFracture): New method.
35374 (ElementBuffer.insertContentTag): Removed unnecessary case for
35375 JoinFractureDirection - this only applies to start tags, not content
35377 (insertUpdate): Corrected conditions for setting direction to
35380 2006-01-10 Roman Kennke <kennke@aicas.com>
35382 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35383 * ChangeLog-2005: New File.
35385 2006-01-10 Roman Kennke <kennke@aicas.com>
35387 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35388 (get): Release the array with the correct pointer.
35389 (put): Release the array with the correct pointer. Copy the array
35390 around _before_ releasing it.
35392 2006-01-10 Roman Kennke <kennke@aicas.com>
35394 * javax/swing/ViewportLayout.java
35395 (layoutContainer): Fixed condition, to avoid ClasscastException.
35397 2006-01-10 Roman Kennke <kennke@aicas.com>
35399 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35400 (MouseHandler.mousePressed): Fixed indendation.
35401 (MouseHandler.mouseDragged): Fixed indendation.
35403 2006-01-10 Roman Kennke <kennke@aicas.com>
35405 * javax/swing/plaf/basic/BasicLookAndFeel.java
35406 (playSound): Added @since 1.4 to the API docs.
35408 2006-01-10 Roman Kennke <kennke@aicas.com>
35410 * javax/swing/plaf/basic/BasicListUI.java
35411 (maybeUpdateLayoutState): Also update the layout state, if the
35412 list has been invalidated since the last update.
35414 2006-01-10 Roman Kennke <kennke@aicas.com>
35416 * javax/swing/plaf/ComponentUI.java
35417 (update): Fixed indendation.
35419 2006-01-10 Roman Kennke <kennke@aicas.com>
35421 * javax/swing/ViewportLayout.java
35422 (layoutContainer): Fixed condition, so that Scrollable components
35423 are always forced to have to Viewport size, when they
35424 return true for getScrollableTracksViewportHeight() and ..Width().
35426 2006-01-10 Roman Kennke <kennke@aicas.com>
35428 * javax/swing/RepaintManager.java
35429 (validateInvalidComponents): Fixed condition to avoid NPE.
35431 2006-01-10 Roman Kennke <kennke@aicas.com>
35433 * javax/swing/JViewport.java:
35434 (static_initializer): Removed unused variable myScrollMode.
35436 2006-01-10 Roman Kennke <kennke@aicas.com>
35438 * javax/swing/JTabbedPane.java:
35439 Cleared API docs a little.
35441 2006-01-10 Roman Kennke <kennke@aicas.com>
35443 * java/util/StringTokenizer.java
35444 (StringTokenizer(String, String, boolean)):
35445 Don't trigger NPE here for conformance with the spec.
35447 2006-01-10 Roman Kennke <kennke@aicas.com>
35449 * java/util/ArrayList.java
35450 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35452 2006-01-10 Roman Kennke <kennke@aicas.com>
35454 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35455 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35456 field to avoid NPE.
35458 2006-01-10 Roman Kennke <kennke@aicas.com>
35460 * native/jni/java-net/javanet.c
35461 (_javanet_shutdownOutput): Replaced strerror() with
35462 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35463 (_javanet_shutdownInput): Replaced strerror() with
35464 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35466 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35468 * java/beans/EventSetDescriptor.java: Reformatted and
35471 2006-01-10 Roman Kennke <kennke@aicas.com>
35473 * java/lang/SecurityManager.java
35474 Fully qualified AWT class references in API docs.
35476 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35478 * java/beans/EventSetDescriptor.java:
35479 (getGetListenerMethod): New method.
35481 2006-01-10 Mark Wielaard <mark@klomp.org>
35483 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35485 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35488 * java/util/Hashtable.java
35489 (contains): Call equals on existing value.
35490 (containsKey, get, put, remove): Call equals on existing key.
35491 (getEntry): Call equals on existing entry.
35493 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35496 * java/util/AbstractMap.java
35497 (equals(Object,Object)): Test for identity first.
35498 * java/util/WeakHashMap.java
35499 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35500 (WeakBucket.WeakEntry.toString): Fixed string representation of
35502 (internalGet): Use helper method to determine equality.
35504 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35506 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35509 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35511 * javax/swing/text/PlainDocument.java:
35512 (insertUpdate): Handle special case of an insertion immediately
35513 following a newline character.
35515 2006-01-09 Roman Kennke <kennke@aicas.com>
35517 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35518 (connect): Added stream parameter to _connect() call.
35519 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35520 (connect): Added stream parameter to _connect() call.
35521 * native/jni/java-net/javanet.c
35522 (_javanet_create_localfd): Added stream parameter. Look up
35523 fd field based on the stream parameter either in SocketImpl or
35524 in DatagramSocketImpl.
35525 (_javanet_connect): Added stream parameter. Call create_localfd
35526 using this stream parameter. Set localPort field either in
35527 SocketImpl or in DatagramSocketImpl, depending on the stream
35529 * native/jni/java-net/javanet.c
35530 (_javanet_connect): Added stream parameter.
35532 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35534 * javax.management.Attribute.java: Grammar and
35537 2006-01-09 Mark Wielaard <mark@klomp.org>
35539 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35540 exception when channel is not readable or writable.
35541 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35542 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35543 there is enough space to mmap().
35545 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35547 * java/beans/Introspector.java:
35548 (getBeanInfo(Class, int)): New method.
35549 (getBeanInfo(Class, Class): Moved common code in a new method.
35550 (merge): New method.
35552 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35554 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35556 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35558 * javax/swing/text/DefaultStyledDocument.java:
35559 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35560 inlined this method because it needs to change the value of the
35561 finalStartTag and finalStartDirection variables.
35562 (checkForInsertAfterNewline): Removed this method.
35563 (handleInsertAfterNewline): Added case for making the start tag's
35564 direction JoinNextDirection.
35566 2006-01-09 Lillian Angel <langel@redhat.com>
35568 * javax/swing/plaf/basic/BasicTreeUI.java:
35570 (setRowHeight): Row height is set to the max height of
35571 all the nodes, or 20 as a default value.
35572 (getPathBounds): Cleaned up code.
35573 (getMaxHeight): New helper function that gets the max
35574 height of all the rows.
35575 (getClosestPathForLocation): Fixed to use getMaxHeight.
35576 (updateCachedPreferredSize): Likewise.
35577 (installUI): Shouldn't expand tree on startup.
35578 (getNodeDimensions): Fixed to use getMaxHeight.
35580 2006-01-09 Mark Wielaard <mark@klomp.org>
35582 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35583 argument is negative.
35585 2006-01-08 Mark Wielaard <mark@klomp.org>
35587 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35589 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35591 * javax.management.Attribute.java: New file.
35593 2006-01-09 Roman Kennke <kennke@aicas.com>
35595 * java/net/DatagramSocketImpl.java
35596 (localPort): Renamed to localport for correct access from native
35599 2006-01-09 Roman Kennke <kennke@aicas.com>
35601 * javax/swing/Popup.java
35602 (LightweightPopup.hide): Repaint the layered pane when popup is
35605 2006-01-09 Roman Kennke <kennke@aicas.com>
35607 * java/awt/Container.java
35608 (remove): Don't repaint the container here.
35610 2006-01-08 Tom Tromey <tromey@redhat.com>
35612 * java/lang/InheritableThreadLocal.java: Organized imports.
35614 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35617 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35618 when an empty string matched an empty token.
35620 2006-01-08 Chris Burdess <dog@gnu.org>
35622 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35623 content models from external entities.
35624 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35625 attempting to continue with unpaired surrogates.
35626 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35627 resolving entities with character entity references; better
35628 checking of valid character ranges; don't report an error for URI
35629 fragments in notation declarations; check unbound namespace
35630 prefixes for elements and attributes, including XML 1.1 unbinding
35631 syntax; namespace-aware checking of attribute duplicates.
35633 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35635 * java/beans/Statement.java: Doc fixes.
35636 (doExecute): Workaround for Class.forName call.
35637 (toString): Made output look more like on the JDK.
35638 * java/beans/Expression.java: Doc fixes.
35639 (toString): Made output look more like on the JDK.
35640 * java/beans/PersistenceDelegate.java,
35641 java/beans/DefaultPersistenceDelegate.java,
35642 java/beans/Encoder.java,
35643 java/beans/XMLEncoder.java: New file.
35644 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35645 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35646 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35647 gnu/java/beans/encoder/Context.java,
35648 gnu/java/beans/encoder/GenericScannerState.java,
35649 gnu/java/beans/encoder/IgnoringScannerState.java,
35650 gnu/java/beans/encoder/MapPersistenceDelegate.java,
35651 gnu/java/beans/encoder/ObjectId.java,
35652 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35653 gnu/java/beans/encoder/ReportingScannerState.java,
35654 gnu/java/beans/encoder/Root.java,
35655 gnu/java/beans/encoder/ScanEngine.java,
35656 gnu/java/beans/encoder/ScannerState.java,
35657 gnu/java/beans/encoder/StAXWriter.java,
35658 gnu/java/beans/encoder/Writer.java: New file.
35659 * gnu/java/beans/encoder/elements/Array_Get.java,
35660 gnu/java/beans/encoder/elements/Element.java,
35661 gnu/java/beans/encoder/elements/List_Set.java,
35662 gnu/java/beans/encoder/elements/Array_Set.java,
35663 gnu/java/beans/encoder/elements/NullObject.java,
35664 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35665 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35666 gnu/java/beans/encoder/elements/StringReference.java,
35667 gnu/java/beans/encoder/elements/ClassResolution.java,
35668 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35669 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35670 gnu/java/beans/encoder/elements/ObjectReference.java,
35671 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35672 gnu/java/beans/encoder/elements/List_Get.java,
35673 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35675 2006-01-08 Chris Burdess <dog@gnu.org>
35677 * java/lang/Character.java (toChars,toCodePoint): Correct these
35678 methods to use algorithms from Unicode specification.
35680 2006-01-08 Mark Wielaard <mark@klomp.org>
35682 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35684 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
35687 * examples/Makefile.am: Corrected DESTDIR install paths.
35689 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35691 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
35692 ASCII character (line 46).
35694 2006-01-07 Roman Kennke <kennke@aicas.com>
35696 * javax/swing/text/TableView.java: New file.
35698 2006-01-07 Chris Burdess <dog@gnu.org>
35700 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35701 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35702 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35703 available; correct handling of unparsed entity references;
35704 absolutize all base URIs; remove commented out code.
35706 2006-01-07 Chris Burdess <dog@gnu.org>
35708 * gnu/xml/stream/SAXParser.java,
35709 gnu/xml/stream/XMLParser.java: Add SAX property to return base
35710 URI of the current event.
35712 2006-01-07 Chris Burdess <dog@gnu.org>
35714 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35717 2006-01-07 Chris Burdess <dog@gnu.org>
35719 * gnu/xml/stream/SAXParser.java,
35720 gnu/xml/stream/XIncludeFilter.java,
35721 gnu/xml/stream/XMLParser.java: Updated documentation.
35723 2006-01-07 Chris Burdess <dog@gnu.org>
35725 * AUTHORS: add self.
35727 2006-01-06 Casey Marshall <csm@gnu.org>
35729 * AUTHORS: add myself.
35731 2006-01-06 Casey Marshall <csm@gnu.org>
35734 * javax/crypto/CipherInputStream.java (logger): new constant.
35735 (cipher): make final.
35736 (outLength, inBuffer, inLength): removed.
35737 (isStream): make final.
35738 (VIRGIN, LIVING, DYING, DEAD, state): removed.
35740 (<init>): call `super,' not `this;' remove `inBuffer' and
35741 `outBuffer' initialization; init `eof;' add debug logging.
35742 (<init>): call `this' with a new null cipher.
35743 (available): fix javadoc to reflect the real semantics; if we
35744 don't have a buffer, call `nextBlock.'
35745 (close): synchronize.
35746 (read): synchronize; fix testing for buffered data.
35747 (read): synchronize; add `skip' semantics if first argument is
35748 `null;' decrypt stream cipher data only if there is any; fix tests
35750 (skip): stop using `available' to see how many data are buffered.
35751 (nextBlock): simplify to use cipher-allocated output buffers
35752 instead of internally allocated ones.
35754 2006-01-06 Tom Tromey <tromey@redhat.com>
35756 * java/lang/String.java (codePointCount): Fixed javadoc.
35758 2006-01-06 Tom Tromey <tromey@redhat.com>
35760 * java/lang/String.java (contains): Added @since.
35762 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
35765 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35766 * gnu/regexp/RETokenRepeated.java(match): Break the loop
35767 when an empty string matched an empty token.
35769 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
35772 * gnu/java/util/WeakIdentityHashMap.java: New file.
35773 * java/lang/InheritableThreadLocal.java
35774 (newChildThread): Modified to remove key indirection.
35775 * java/lang/Thread.java
35776 (locals): Changed type to WeakIdentityHashMap.
35777 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35779 * java/lang/ThreadLocal.java
35780 (key, Key): Removed.
35781 (get, set): Changed to use "this" instead of "key".
35783 2006-01-06 Dalibor Topic <robilad@kaffe.org>
35785 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35787 * native/fdlibm/java-assert.h: Removed file.
35789 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35790 Replaced use of JvAssert by assert.
35792 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35794 * javax/swing/text/DefaultCaret.java:
35795 (setDot): Fixed paramater to Math.max to be this.dot and not the
35798 2006-01-05 Roman Kennke <kennke@aicas.com>
35800 * javax/swing/plaf/basic/BasicListUI.java
35801 (getCellHeight): New helper method.
35802 (getCellBounds): Use new helper method for determining the cell
35804 (paint): Don't call list.indexToLocation() but instead call
35805 directly into the same UI method.
35806 (locationToIndex): Fixed calculation of # visible rows and handling
35808 (indexToLocation): Fixed calculation of # visible rows and handling
35811 2006-01-05 Roman Kennke <kennke@aicas.com>
35813 * javax/swing/plaf/metal/MetalFileChooserUI.java
35814 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35815 in the file chooser.
35817 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35819 * javax/swing/JTextPane.java:
35820 (replaceSelection): If the document is an AbstractDocument, use replace
35821 rather than remove and insert.
35822 * javax/swing/event/EventListenerList.java:
35823 (getListeners): Reversed the order of the listeners to match the
35824 reference implementation.
35825 * javax/swing/text/AbstractDocument.java:
35826 (insertString): Add the UndoableEdit from the content.insertString call
35827 to the DocumentEvent.
35828 (DefaultDocumentEvent.toString): Implemented.
35829 * javax/swing/text/DefaultCaret.java:
35830 (setDot): Make sure dot is > 0 and less than the length of the
35832 * javax/swing/text/DefaultStyledDocument.java:
35833 (ElementBuffer.insertUpdate): Set the modified tag of the document
35834 event when we get start and end tags. This ensures that we create the
35835 proper BranchElements in endEdit().
35836 (ElementBuffer.insertUpdate): Added FIXME to handle
35837 JoinFractureDirection case.
35838 (insertUpdate): Added code to check if we're inserting immediately
35839 after a newline and to handle this case (create start and end tags).
35840 Only change the direction of the first and last tags if they are of
35842 (checkForInsertAfterNewline): New helper method.
35843 (handleInsertAfterNewline): Likewise.
35844 * javax/swing/text/View.java:
35845 (updateLayout): Avoid NPE by checking if shape is null. Repaint
35848 2006-01-05 Mark Wielaard <mark@klomp.org>
35850 * newsitems.txt: Add fosdem meeting.
35851 * events/events.wml: Likewise.
35852 * events/fosdem06.wml: New file.
35854 2006-01-05 Lillian Angel <langel@redhat.com>
35856 * javax/swing/text/GapContent.java
35857 (createPosition): No positions should be created inside the
35858 gap. Fixed check to ensure this does not happen.
35860 2006-01-05 Roman Kennke <kennke@aicas.com>
35862 * javax/swing/RepaintManager.java
35863 (validateInvalidComponents): Search for the validate root
35864 and start validating there.
35866 2006-01-05 Roman Kennke <kennke@aicas.com>
35868 * javax/swing/plaf/basic/BasicListUI.java
35869 (ComponentHandler): Removed unneeded class.
35870 (ListDataHandler.contentsChanged): Revalidate instead of calling
35872 (ListDataHandler.intervalAdded): Revalidate instead of calling
35874 (ListDataHandler.intervalRemoved): Revalidate instead of calling
35876 (PropertyChangeHandler.propertyChange): Or flags together instead
35877 of adding them. Don't call damageLayout().
35878 (componentListener): Removed unnecessary field.
35879 (damageLayout): Removed unnecessary method.
35880 (installListeners): Don't install unnecessary listeners.
35881 (uninstallListeners): Dito.
35882 (getPreferredSize): Don't ask for the real list height and
35883 calculate with the previously calculated list height.
35884 (locationToIndex): Renamed list parameter to l so that it doesn't
35885 shadow the field with the same name.
35886 (indexToLocation): Renamed list parameter to l so that it doesn't
35887 shadow the field with the same name.
35889 2006-01-04 Tom Tromey <tromey@redhat.com>
35891 * include/.cvsignore: Ignore config-int.h.
35893 2006-01-04 Roman Kennke <kennke@aicas.com>
35895 * javax/swing/plaf/basic/BasicListUI.java
35896 (getPreferredSize): Rewritten to match the specs.
35898 2006-01-04 Roman Kennke <kennke@aicas.com>
35900 * javax/swing/JFileChooser.java
35901 (showOpenDialog): Set fixed width on the dialog.
35902 (showSaveDialog): Set fixed width on the dialog.
35903 (showDialog): Set fixed width on the dialog.
35905 2006-01-04 Roman Kennke <kennke@aicas.com>
35907 * javax/swing/plaf/basic/BasicListUI.java
35908 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35909 Adjusted iteration to not use visibleRowCount and instead iterate
35910 over the real number of elements in cellHeights.
35911 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35912 Adjusted iteration to not use visibleRowCount and instead iterate
35913 over the real number of elements in cellHeights.
35915 2006-01-04 Roman Kennke <kennke@aicas.com>
35917 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35918 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35919 Added __attribute__((__unused__)) macros to avoid gcc warnings.
35921 2006-01-04 Roman Kennke <kennke@aicas.com>
35923 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35924 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35926 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35927 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35929 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
35931 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
35932 * native/jni/java-net/Makefile.am: Adjusted for new source files.
35933 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
35934 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
35935 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
35936 * include/gnu_java_net_PlainSocketImpl.h: Removed.
35937 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
35938 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
35940 2006-01-04 Lillian Angel <langel@redhat.com>
35942 * javax/swing/plaf/metal/MetalFileChooserUI.java
35943 (propertyChange): Fixed to change the combo box label
35944 appropriately. Also, fixed to set the textfield's text
35946 (editFile): Fixed size of editing field.
35947 (installComponents): Correctly aligned all panels.
35948 (installStrings): Fixed to set the label's text
35949 appropriately depending on the dialog type.
35951 2006-01-04 Lillian Angel <langel@redhat.com>
35955 * javax/swing/JTree.java
35956 (JTree): Because some L&F defaults have been updated,
35957 the selectionMode for the tree needed to be set to SINGLE.
35958 * javax/swing/plaf/basic/BasicFileChooserUI.java:
35959 Initialized accessoryPanel.
35960 * javax/swing/plaf/metal/MetalFileChooserUI.java
35961 (installComponents): Added accessoryPanel to the filechooser.
35963 2006-01-04 Dalibor Topic <robilad@kaffe.org>
35965 * configure.ac: Added AX_CREATE_STDINT_H
35967 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
35969 * m4/ax_create_stdint_h.m4: New file.
35971 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
35972 typedefs. Removed stdint.h and inttypes.h includes.
35974 2006-01-03 Mark Wielaard <mark@klomp.org>
35976 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
35977 register keyboard action when accelerator is not null.
35978 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
35979 re-register accelerator if not null.
35980 (installKeyboardActions): Only put accelerator in map when not null.
35982 2006-01-04 Lillian Angel <langel@redhat.com>
35984 * javax/swing/plaf/basic/BasicLookAndFeel.java
35985 (initComponentDefaults): Removed unneeded default.
35986 * javax/swing/plaf/metal/MetalLookAndFeel.java
35987 (initComponentDefaults): Added and fixed several defaults.
35989 2006-01-04 Roman Kennke <kennke@aicas.com>
35991 * javax/swing/plaf/basic/BasicHTML.java: New class.
35993 2006-01-03 Tom Tromey <tromey@redhat.com>
35995 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
35996 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
35998 2006-01-03 Mark Wielaard <mark@klomp.org>
36000 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36002 2006-01-03 Mark Wielaard <mark@klomp.org>
36004 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36005 Always call createDefaultTheme().
36006 (createDefaultTheme): Check whether theme is still null.
36008 2006-01-03 Mark Wielaard <mark@klomp.org>
36010 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36011 Color.WHITE if null.
36013 2006-01-03 Lillian Angel <langel@redhat.com>
36015 * javax/swing/plaf/metal/MetalLookAndFeel.java
36016 (getDescription): Fixed to return the correct string.
36018 (getName): Likewise.
36019 (getDefaults): Added check to avoid NPE.
36020 (getAcceleratorForeground): Likewise.
36021 (getAcceleratorSelectedForeground): Likewise.
36022 (getBlack): Likewise.
36023 (getControl): Likewise.
36024 (getControlDarkShadow): Likewise.
36025 (getControlDisabled): Likewise.
36026 (getControlHighlight): Likewise.
36027 (getControlInfo): Likewise.
36028 (getControlShadow): Likewise.
36029 (getControlTextColor): Likewise.
36030 (getControlTextFont): Likewise.
36031 (getDesktopColor): Likewise.
36032 (getFocusColor): Likewise.
36033 (getHighlightedTextColor): Likewise.
36034 (getInactiveControlTextColor): Likewise.
36035 (getInactiveSystemTextColor): Likewise.
36036 (getMenuBackground): Likewise.
36037 (getMenuDisabledForeground): Likewise.
36038 (getMenuForeground): Likewise.
36039 (getMenuSelectedBackground): Likewise.
36040 (getMenuSelectedForeground): Likewise.
36041 (getMenuTextFont): Likewise.
36042 (getPrimaryControl): Likewise.
36043 (getPrimaryControlDarkShadow): Likewise.
36044 (getPrimaryControlHighlight): Likewise.
36045 (getPrimaryControlInfo): Likewise.
36046 (getPrimaryControlShadow): Likewise.
36047 (getSeparatorBackground): Likewise.
36048 (getSeparatorForeground): Likewise.
36049 (getSubTextFont): Likewise.
36050 (getSystemTextColor): Likewise.
36051 (getSystemTextFont): Likewise.
36052 (getTextHighlightColor): Likewise.
36053 (getUserTextColor): Likewise.
36054 (getUserTextFont): Likewise.
36055 (getWhite): Likewise.
36056 (getWindowBackground): Likewise.
36057 (getWindowTitleBackground): Likewise.
36058 (getWindowTitleFont): Likewise.
36059 (getWindowTitleForeground): Likewise.
36060 (getWindowTitleInactiveBackground): Likewise.
36061 (getWindowTitleInactiveForeground): Likewise.
36063 2006-01-03 Mark Wielaard <mark@klomp.org>
36065 * javax/swing/JTextArea.java
36066 (JTextArea(Document,text,int,int)): Only call setText() when text is
36069 2006-01-03 Lillian Angel <langel@redhat.com>
36071 * javax/swing/plaf/basic/BasicFileChooserUI.java
36072 (installStrings): Fixed installation of defaults that
36073 were changed in BasicLookAndFeel.
36074 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36075 (installDefaults): Fixed installation of defaults that
36076 were changed in BasicLookAndFeel.
36078 2006-01-03 Lillian Angel <langel@redhat.com>
36080 * javax/swing/plaf/basic/BasicLookAndFeel.java
36081 (initComponentDefaults): Fixed several defaults that differed
36084 2006-01-03 Lillian Angel <langel@redhat.com>
36086 * javax/swing/tree/DefaultTreeSelectionModel.java
36087 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36089 2006-01-03 Lillian Angel <langel@redhat.com>
36091 * javax/swing/AbstractAction.java
36092 (AbstractAction): Fixed to pass in null. Should not be
36093 an empty string. Removed TODO comment.
36094 (AbstractAction): Removed TODO comment.
36095 * javax/swing/JList.java
36096 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36097 * javax/swing/JMenuItem.java
36098 (JMenuItem): Set all defaults if the action passed in is not null.
36099 * javax/swing/JProgressBar.java
36100 (JProgressBar): Added check to prevent NPE.
36102 2006-01-03 Lillian Angel <langel@redhat.com>
36104 * javax/swing/plaf/basic/BasicListUI.java
36105 (getPreferredSize): The JDK adds some extra space to
36106 the list, so we should as well.
36107 * javax/swing/plaf/metal/MetalFileChooserUI.java
36108 (getPreferredSize): Should only take the fileListPanel's
36109 width into account when getting the size. Also, the buttonPanel's
36110 size should not be checked, since it is in the bottomPanel already.
36111 (getMinimumSize): Likewise.
36113 2006-01-03 Lillian Angel <langel@redhat.com>
36115 * javax/swing/JList.java
36116 (init): visibleRowCount should be 7, like the JDK.
36117 * javax/swing/plaf/metal/MetalFileChooserUI.java
36118 (installComponents): No need to add the fileFilterCombo
36119 to a panel. It can be added to the row directly.
36121 2006-01-03 Lillian Angel <langel@redhat.com>
36123 PR classpath/25480 PR classpath/25478
36124 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36125 (updateViewport): Made changes suggested by
36127 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36128 Removed unneeded import.
36129 (createList): Removed comment, JList wrapping
36131 (getPreferredSize): Made changes suggested by
36132 Chris Lansdown. Uses fileListPanel, instead
36134 (getMinimumSize): Uses fileListPanel, instead
36136 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36137 (paintFocus): Fixed height.
36139 2006-01-03 Roman Kennke <kennke@aicas.com>
36141 * javax/swing/plaf/basic/BasicListUI.java
36142 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36144 2006-01-03 Roman Kennke <kennke@aicas.com>
36146 * javax/swing/plaf/basic/BasicListUI.java
36147 (locationToIndex): Special case for when variable cell heights
36148 are possible. (cellHeights is used instead of cellHeight).
36149 (indexToLocation): Special case for when variable cell heights
36150 are possible. (cellHeights is used instead of cellHeight).
36152 2006-01-03 Roman Kennke <kennke@aicas.com>
36154 * javax/swing/text/DefaultStyledDocument.java
36155 (ElementBuffer.remove): New method.
36156 (ElementBuffer.removeUpdate): New method.
36157 (removeUpdate): New method.
36159 2006-01-03 Roman Kennke <kennke@aicas.com>
36162 (dist-hook): Preserve attributes of Java sources when copying to
36165 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36167 * AUTHORS: Added self.
36168 * java/security/Security.java (getProvider): Ensures provider's name is
36169 not null, not an empty string, and is trimmed before usage.
36171 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36173 * gnu/CORBA/Poa/AOM.java (add):
36174 Changed parameter Object into gnuServantObject.
36175 (Obj.object): Changed type to gnuServantObject.
36176 (findObject): Rewritten.
36178 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36180 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36181 buffering. Ability has gone in Qt-4.1.x.
36183 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36184 to have the right include flags.
36186 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36188 * java/security/MessageDigest.java (getInstance(String,String)):
36189 Use trimmed copy of provider name.
36190 * gnu/java/security/Engine.java
36191 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36192 service and algorithm names.
36194 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36196 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36197 localhost is null or is an empty string. Trim hostname before