1 2007-01-17 Tom Tromey <tromey@redhat.com>
3 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
4 (PathOptionGroup): Set default boot class path.
6 2006-12-14 Andrew Haley <aph@redhat.com>
8 * tools/gnu/classpath/tools/jar/Creator.java: Close the
11 2006-10-12 Andrew Haley <aph@redhat.com>
13 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
14 * java/lang/ThreadLocal.java: Likewise.
16 2006-09-13 Andrew Haley <aph@redhat.com>
18 * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
19 Revert previous gcj-specific disabling of checks.
20 * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
22 * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
25 2006-09-13 Andrew Haley <aph@redhat.com>
27 * java/util/PriorityQueue.java: Throw IllegalArgumentException for
29 (Iterator.remove()): Decrement index after removing element.
31 2006-12-11 Jeroen Frijters <jeroen@frijters.net>
33 * javax/net/ssl/SSLSocketFactory.java (getDefault):
34 Chain exception cause.
36 2006-12-11 Roman Kennke <kennke@aicas.com>
38 * .classpath: Include ASM in Eclipse classpath.
40 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
42 * gnu/java/lang/management/BeanImpl.java:
43 (translate(String)): Trim strings of whitespace.
44 * javax/management/MBeanAttributeInfo.java:
45 (MBeanAttributeInfo(String,String,Method,Method)):
46 Use Class.getName() for normal (non-parameterized) cases.
47 * javax/management/MBeanConstructorInfo.java:
48 (MBeanConstructorInfo(String, Constructor)):
50 * javax/management/MBeanOperationInfo.java:
51 (MBeanOperationInfo(String, Method)):
54 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
56 * java/lang/Class.java:
57 (getClasses()): Return Class<?>[].
58 (internalGetClasses()): Likewise.
59 (getConstructor(Class<?>...)): Add type parameter
61 (getDeclaredConstructor(Class<?>...)): Likewise.
62 (getDeclaredClasses()): Return Class<?>[].
63 (getDeclaredClasses(boolean)): Likewise.
64 (getDeclaredConstructors()): Return Constructor<?>[].
65 (getDeclaredConstructors(boolean)): Likewise.
66 (getDeclaredMethod(String,Class<?>...)): Add type
67 parameter to parameters.
68 (getInterfaces()): Return Class<?>[].
69 (getMethods(String,Class<?>...)): Add type
70 parameter to parameters.
71 * java/text/CollationKey.java:
73 * java/text/DecimalFormatSymbols.java:
76 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
78 * gnu/java/lang/management/BeanImpl.java:
79 (translate(String)): Handle Map and List as
80 Strings of the form "java.util.Map<K,V>" and
82 * javax/management/MBeanAttributeInfo.java:
83 (MBeanAttributeInfo(String,String,Method,Method)):
84 Use generic parameter and return types.
85 * javax/management/MBeanConstructorInfo.java:
86 (MBeanConstructorInfo(String, Constructor)):
87 Use generic parameter types.
88 * javax/management/MBeanOperationInfo.java:
89 (MBeanOperationInfo(String, Method)):
90 Use generic parameter and return types.
92 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
94 * gnu/java/lang/management/BeanImpl.java:
95 (translate(String)): Comment out code for using type
96 variables for Map and List.
97 * java/lang/Thread.java:
98 (Thread(ThreadGroup,Runnable,String,long)): Fix
99 incrementation of totalThreadsCreated to be prior to use.
101 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
103 * javax/management/MBeanServerFactory.java:
104 (createMBeanServer(String)): Added security check.
105 (findMBeanServer(String)): Likewise.
106 (newMBeanServer(String)): Likewise.
107 (releaseMBeanServer(String)): Likewise.
108 * javax/management/MBeanServerPermission.java:
111 2006-12-08 David Daney <ddaney@avtrex.com>
113 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
116 2006-12-08 David Daney <ddaney@avtrex.com>
118 * NEWS: Mention URLConnection.[get|set]ReadTimeout.
120 2006-12-08 David Daney <ddaney@avtrex.com>
122 * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
124 (HTTPConnection): Handle NumberFormatException in properties parsing.
125 (Pool.get): Set timeout on reused sockets.
126 * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
128 (HTTPURLConnection): Cleanup properties handling.
129 (getConnection): Use both connection and read timeouts.
130 (setConnectTimeout): Removed.
131 (setReadTimeout): New method.
132 * java/net/URLConnection.java (timeout): Renamed to...
133 (connectTimeout): ... connectTimeout throughout.
134 (readTimeout): New field.
135 (getReadTimeout): New method.
136 (setReadTimeout): New method.
138 2006-12-08 Tania Bento <tbento@redhat.com>
140 * java/awt/ScrollPane.java
141 (doLayout): Change the location of the scrollpane's child
144 2006-12-08 David Daney <ddaney@avtrex.com>
146 * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
148 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
149 SocketTimeoutException if a blocking socket timesout.
150 (Java_gnu_java_nio_VMChannel_readScattering): Same.
151 (Java_gnu_java_nio_VMChannel_read__I): Same.
152 (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
153 (Java_gnu_java_nio_VMChannel_connect6): Same.
155 2006-12-08 Mark Wielaard <mark@klomp.org>
157 * configure.ac (VERSION): Set to 0.93-generics.
158 * NEWS: Add release date.
160 2006-12-08 Tania Bento <tbento@redhat.com>
162 * java/awt/ScrollPane.java
163 (getScrollPosition): Throw NullPointerException if scrollpane
165 (setScrollPosition(int, int)): Throw NullPointerException if
166 scrollpane does have a child. Check that both ints are within
167 the allowed bounds; If they are not, scroll to the closest allowed
170 2006-12-07 Roman Kennke <kennke@aicas.com>
172 * javax/swing/JEditorPane.java
173 (EditorKitMapping): New inner helper class.
174 (editorKits): New static field for caching editor kit instances.
175 (static_initiazer): Initialize static mappings here.
176 (createEditorKitForContentType): Try to use cached instance.
177 Use correct classloader for loading.
178 (getEditorKitClassNameForContentType): Make use of EditorKitMapping
180 (getEditorKitForContentType): Store the fetched editor kit.
181 Fallback to createDefaultEditorKit().
182 (init): Don't clean the static registry here.
183 (registerEditorKitForContentType(String,String,ClassLoader)):
185 (registerEditorKitForContentType(String,String)): Delegate to
186 the other version of this method with the thread's context
189 2006-12-07 Mark Wielaard <mark@klomp.org>
191 * examples/gnu/classpath/examples/swing/HtmlDemo.java
192 (setPage): Don't convert URL to String for setPage().
194 2006-12-07 Mark Wielaard <mark@klomp.org>
196 * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
198 2006-12-07 Mark Wielaard <mark@klomp.org>
200 * tools/Makefile.am: Explicitly define and use bootclasspath as
203 2006-12-07 Mark Wielaard <mark@klomp.org>
205 * javax/swing/JEditorPane.java (createEditorKitForContentType):
206 Always load from system class loader.
208 2006-12-07 Mark Wielaard <mark@klomp.org>
210 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
212 (URL(URL,String,URLStreamHandler)): Call new constructor.
213 (URL(URL,String)): Likewise.
214 (URL(String)): Likewise.
216 2006-12-07 Tom Tromey <tromey@redhat.com>
219 * INSTALL: Don't mention --with-asm.
220 * tools/external/README: New file.
221 * tools/toolwrapper.c (main): Don't use ASM_JAR.
222 * tools/gjavah.in: Don't use PATH_TO_ASM.
223 * tools/grmic.in: Likewise.
224 * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
226 (javah, rmic): Removed variables.
227 (bin_PROGRAMS): Updated.
228 (gappletviewer_CFLAGS): Don't define ASM_JAR.
229 (gjarsigner_CFLAGS): Likewise.
230 (gkeytool_CFLAGS): Likewise.
231 (gjar_CFLAGS): Likewise.
232 (gnative2ascii_CFLAGS): Likewise.
233 (gserialver_CFLAGS): Likewise.
234 (grmiregistry_CFLAGS): Likewise.
235 (gtnameserv_CFLAGS): Likewise.
236 (gorbd_CFLAGS): Likewise.
237 (grmid_CFLAGS): Likewise.
238 (gjavah_CFLAGS): Likewise.
239 (grmic_CFLAGS): Likewise.
240 (bin_SCRIPTS): Updated.
241 (TOOLS_JAVA_FILES): Updated.
242 ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
243 * configure.ac: Removed --with-asm. Always build gjavah.
245 2006-12-06 Roman Kennke <kennke@aicas.com>
247 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
249 * examples/gnu/classpath/examples/swing/HtmlDemo.java
250 (LoadActionListener): Call setPage() helper method.
251 (createContent): Register tweaked editor kit. For FormSubmitEvents
252 call submitForm(), otherwise setPage().
253 (postData): Helper method for posting form data.
254 (setPage): Helper method for navigating to a new URL.
255 (submitForm): Helper method for submitting a form.
256 * examples/gnu/classpath/examples/swing/forms.html:
257 Added text/password fields and select boxes.
258 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
260 2006-12-06 Roman Kennke <kennke@aicas.com>
262 * javax/swing/text/html/FormView.java
263 (SubmitThread.postData): Implemented.
264 (SubmitThread.run): Pass data to postData().
265 (actionPerformed): Reset form when reset button is activated.
266 (createComponent): Add support for select lists and comboboxes.
267 Don't set value of text and password fields here, this is done
268 now in HTMLDocument for consistency.
269 (getElementFormData): Add support for fetching form data from
270 select lists and comboboxes as well as textareas.
271 (getSelectData): New helper method. Fetches form data from
273 (getTextAreaData): New helper method. Fetches form data from
275 (resetForm): New helper method. Resets the entire form.
276 * javax/swing/text/html/HTMLDocument.java
277 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
278 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
279 (HTMLReader.FormAction.setModel): Initialize text and password
280 values here. Also, use the resetable special models.
281 Group radio buttons into ButtonGroup for exclusive selection.
282 (HTMLReader.FormTagAction): New class. Handles FORM tags.
283 (HTMLReader.buttonGroups): New field.
284 (HTMLReader.numOptions): New field.
285 (HTMLReader.option): New field.
286 (HTMLReader.selectModel): New field.
287 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
288 (HTMLReader.handleText): Handle OPTION text.
289 (HTMLReader.initTags): Map FORM tags to FormTagAction.
290 (HTMLReader.textAreaContent): Set initial content.
291 * javax/swing/text/html/Option.java
292 (Option): Make copy of attribute set. Initialize selected state.
293 (getValue): Fetch value from attribute set.
294 * javax/swing/text/html/ResetableModel.java: New interface.
295 * javax/swing/text/html/ResetablePlainDocument.java: New class.
296 Supports resetting the state.
297 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
298 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
299 * javax/swing/text/html/SelectListModel.java: Likewise.
301 2006-12-06 Roman Kennke <kennke@aicas.com>
303 * javax/swing/text/DefaultCaret.java
304 (appear): Adjust visibility here.
305 (setDotImpl): Don't adjust visibility here.
306 (moveDotImpl): Don't adjust visibility here.
308 2006-12-06 Roman Kennke <kennke@aicas.com>
310 * gnu/java/awt/peer/gtk/AsyncImage.java
311 (Loader.run): Synchronize on the AsyncImage to avoid threading
313 (addObservers): Check for obs==null outside and synchronize on
314 this inside to avoid locking issues.
315 (checkImage): New helper method.
316 (notifyObservers): Check that the correct lock is held and
317 remove actual locking.
318 * gnu/java/awt/peer/gtk/GtkToolkit.java
319 (checkImage): Added special handling for AsyncImages.
321 2006-12-06 Roman Kennke <kennke@aicas.com>
323 * examples/gnu/classpath/examples/swing/Demo.java
324 (getIcon): Made package private.
325 * examples/gnu/classpath/examples/swing/HtmlDemo.java
326 (hyperlinkUpdate): Convert URL to string.
328 2006-12-06 Mark Wielaard <mark@klomp.org>
330 * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
333 2006-12-06 Roman Kennke <kennke@aicas.com>
335 * examples/gnu/classpath/examples/icons/back.png,
336 * examples/gnu/classpath/examples/icons/reload.png:
337 New icons for the HTML browser.
338 * examples/gnu/classpath/examples/swing/HtmlDemo.java
339 (history): New field. Manages the browsing history.
340 (HtmlDemo): Initialize history.
341 (createContent): Set location and add history. Add toolbar.
342 (createToolBar): New helper method.
343 (main): Make default size bigger.
344 * examples/gnu/classpath/examples/swing/frame1.html,
345 * examples/gnu/classpath/examples/swing/frame2.html,
346 * examples/gnu/classpath/examples/swing/frame3.html,
347 * examples/gnu/classpath/examples/swing/frame4.html,
348 * examples/gnu/classpath/examples/swing/frames.html,
349 * examples/gnu/classpath/examples/swing/tables.html:
351 * examples/gnu/classpath/examples/swing/welcome.html
352 Add a couple of links and new test pages.
354 2006-12-06 Roman Kennke <kennke@aicas.com>
356 * javax/swing/JEditorPane.java
357 (getStream): Buffer the stream for efficiency.
358 (setPage): Don't scroll the view at this point.
359 * javax/swing/plaf/basic/BasicTextUI.java
360 (RootView.paint): Call RootView's setSize to get synchronization.
361 (RootView.setSize): Synchronize to prevent race in layout code.
362 * javax/swing/text/AbstractDocument.java
363 (notifyListeners): New field.
364 (fireChangedUpdate): Track notifyListener field.
365 (fireRemoveUpdate): Track notifyListener field.
366 (fireIndertUpdate): Track notifyListener field.
367 (writeLock): Check notifyListener and throw IllegalStateException.
368 * javax/swing/text/View.java
369 (preferenceChanged): Create local var for better thread safety and
372 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
374 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
375 lightweight component, not just for non-Panel components.
376 (addImpl): Do not call doLayout.
377 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
378 (setNativeBounds): Ensure widget parent is a GtkFixed before
379 calling gtk_fixed_move.
380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
381 (setNativeBounds): Likewise.
382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
383 (setNativeBounds): Likewise.
385 2006-12-06 Roman Kennke <kennke@aicas.com>
387 * javax/swing/text/html/TableView.java
388 (RowView.layoutMajorAxis): Check column index for invalid value.
389 (updateGrid): Check column index for invalid value.
391 2006-12-06 Roman Kennke <kennke@aicas.com>
393 * javax/swing/text/html/BlockView.java
394 (getAlignment): Align blocks horizontally by the superclass.
395 * javax/swing/text/html/HTMLEditorKit.java
396 (HTMLFactory.create): Replace equals comparison by == for efficiency.
397 Add mapping for misplaced tr, td and th tags. Include object mapping.
398 * javax/swing/text/html/TableView.java
399 (RowView.replace): Invalidate grid early.
400 (gridValid): Initialize with false.
401 (create): Only create RowView and CellView for correctly placed
402 tags. Avoid unnecessary casts.
403 (getAlignment): Removed.
404 (replace): Invalidate grid early.
406 2006-12-06 Francis Kung <fkung@redhat.com>
408 * java/awt/geom/RectangularShape.java
409 (getBounds): Remove empty rectangle check.
411 2006-12-06 Ben Konrath <bkonrath@redhat.com>
414 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
415 newValue are the same.
416 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
418 2006-12-06 Tania Bento <tbento@redhat.com>
420 * javax/swing/border/CompoundBorder.java:
421 (isBorderOpaque): If inside border is null, return true if outside
422 border is opaque, false otherwise; if outside border is null, return
423 true if inside border is opaque, false otherwise; if inside or
424 outside border are both not null, then return true only if both the
425 inside and outside border are opaque, false otherwise.
427 2006-12-06 Tania Bento <tbento@redhat.com>
429 * javax/swing/border/CompoundBorder.java:
430 (isBorderOpaque): If inside and outside border both have a null
433 2006-12-06 Chris Burdess <dog@gnu.org>
436 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
437 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
439 2006-12-06 Chris Burdess <dog@gnu.org>
442 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
445 2006-12-06 Chris Burdess <dog@gnu.org>
448 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
449 discover schema factory implementation class.
451 2006-12-05 Francis Kung <fkung@redhat.com>
453 * java/awt/BasicStroke.java
454 (capEnd): Prevent division by zero.
455 * java/awt/geom/Arc2D.java
456 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
457 (ArcIterator.currentSegment): Handle a negative extent.
459 2006-12-05 Francis Kung <fkung@redhat.com>
461 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
462 (constructor): Handle translated subimages properly, ie, if the image's
463 0,0 position is not the data buffer's first element.
465 2006-12-05 Roman Kennke <kennke@aicas.com>
467 * gnu/java/awt/peer/gtk/AsyncImage.java
468 (Loader.run): Nullify observers after loading.
469 (observers): Made package private.
470 (addObserver): Check for null observers field. Create local
471 variable for thread safety.
472 (getHeight): Use addObserver() for checking state of field
473 and notifying observer when necessary.
474 (getWidth): Use addObserver() for checking state of field
475 and notifying observer when necessary.
476 (getProperty): Use addObserver() for checking state of field
477 and notifying observer when necessary.
478 (notifyObservers): Check for null observers field. Create local
479 variable for thread safety.
481 2006-12-05 Roman Kennke <kennke@aicas.com>
483 * javax/swing/text/html/HTMLEditorKit.java
484 (HTMLFactory.create): Removed debug output.
485 * javax/swing/text/html/InlineView.java
486 (getBreakWeight): Likewise.
487 * javax/swing/text/html/StyleSheet.java
489 (ListPainter.paint): Removed debug output.
491 2006-12-05 Roman Kennke <kennke@aicas.com>
493 * javax/swing/text/html/BlockView.java
494 (painter): Made package visible.
495 * javax/swing/text/html/StyleSheet.java
496 (translateBorder): New helper method.
497 (translateHTMLToCSS): Add mappings for border attributes.
498 * javax/swing/text/html/TableView.java
499 Made class subclass of BlockView to get CSS goodness.
500 (CellView.rowSpan): New field.
501 (CellView.setPropertiesFromAttributes): Fetch rowspan.
502 (RowView.overlap): New field.
503 (RowView.rowIndex): New field.
504 (RowView.layoutMajorAxis): Skip overlapping cells.
505 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
506 (numColumns): New field.
507 (tmpRect): New field.
508 (TableView): Initialize tmpRect.
509 (calculateColumnRequirements): Adjusted and fixed for multirows.
510 (getAlignment): Overridden to center tables.
511 (paint): Overridden to fix clipping.
512 (getStyleSheet): Made protected.
513 (layoutMajorAxis): Invalidate rows.
514 (setPropertiesFromAttributes): Made protected and call super.
515 (updateGrid): Update the overlapping information for multirows.
517 2006-12-05 Roman Kennke <kennke@aicas.com>
519 * gnu/java/awt/peer/gtk/AsyncImage.java
520 (addObserver): Check for null and ignore null observers.
521 (getWidth): Check for null and ignore null observers.
522 (getHeight): Check for null and ignore null observers.
523 (getProperty): Check for null and ignore null observers.
525 2006-12-05 Francis Kung <fkung@redhat.com>
527 * java/awt/BasicStroke.java
528 (capEnd): Prevent division by zero.
529 * java/awt/geom/Arc2D.java
530 (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
531 (ArcIterator.currentSegment): Handle a negative extent.
533 2006-12-05 Francis Kung <fkung@redhat.com>
535 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
536 (constructor): Handle translated subimages properly, ie, if the image's
537 0,0 position is not the data buffer's first element.
539 2006-12-05 Roman Kennke <kennke@aicas.com>
541 * javax/swing/text/html/ImageView.java
542 (imageUpdate): Use spans field to determine if the CSS width/height
543 are set. Call safePreferenceChanged to protect view structure
544 from threading issues.
545 (spans): Made package private.
546 (ImageView): Initialize loadOnDemand with false.
547 (loadImage): Call Toolkit.prepareImage() to make sure we have
548 our Observer registered.
549 (safePreferenceChanged): New helper method. Calls preferenceChanged
550 in a thread safe environment.
552 2006-12-05 Roman Kennke <kennke@aicas.com>
554 * NEWS: Add entry about improved HTML support.
556 2006-12-05 Roman Kennke <kennke@aicas.com>
558 * javax/swing/text/html/ImageView.java
559 (ImageView): Initialize spans array here.
560 (setPropertiesFromAttributes): Moved init of spans array to
563 2006-12-05 Roman Kennke <kennke@aicas.com>
565 * javax/swing/text/html/BlockView.java
566 (painter): Made package visible.
567 * javax/swing/text/html/StyleSheet.java
568 (translateBorder): New helper method.
569 (translateHTMLToCSS): Add mappings for border attributes.
570 * javax/swing/text/html/TableView.java
571 Made class subclass of BlockView to get CSS goodness.
572 (CellView.rowSpan): New field.
573 (CellView.setPropertiesFromAttributes): Fetch rowspan.
574 (RowView.overlap): New field.
575 (RowView.rowIndex): New field.
576 (RowView.layoutMajorAxis): Skip overlapping cells.
577 (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
578 (numColumns): New field.
579 (tmpRect): New field.
580 (TableView): Initialize tmpRect.
581 (calculateColumnRequirements): Adjusted and fixed for multirows.
582 (getAlignment): Overridden to center tables.
583 (paint): Overridden to fix clipping.
584 (getStyleSheet): Made protected.
585 (layoutMajorAxis): Invalidate rows.
586 (setPropertiesFromAttributes): Made protected and call super.
587 (updateGrid): Update the overlapping information for multirows.
589 2006-12-05 Roman Kennke <kennke@aicas.com>
591 * javax/swing/text/html/HTMLEditorKit.java
592 (HTMLFactory.create): Removed debug output.
593 * javax/swing/text/html/InlineView.java
594 (getBreakWeight): Likewise.
595 * javax/swing/text/html/StyleSheet.java
597 (ListPainter.paint): Removed debug output.
599 2006-12-06 Roman Kennke <kennke@aicas.com>
601 * javax/swing/text/html/BlockView.java
602 (getAlignment): Align blocks horizontally by the superclass.
603 * javax/swing/text/html/HTMLEditorKit.java
604 (HTMLFactory.create): Replace equals comparison by == for efficiency.
605 Add mapping for misplaced tr, td and th tags. Include object mapping.
606 * javax/swing/text/html/TableView.java
607 (RowView.replace): Invalidate grid early.
608 (gridValid): Initialize with false.
609 (create): Only create RowView and CellView for correctly placed
610 tags. Avoid unnecessary casts.
611 (getAlignment): Removed.
612 (replace): Invalidate grid early.
615 2006-12-06 Roman Kennke <kennke@aicas.com>
617 * javax/swing/text/html/TableView.java
618 (RowView.layoutMajorAxis): Check column index for invalid value.
619 (updateGrid): Check column index for invalid value.
621 2006-12-06 Roman Kennke <kennke@aicas.com>
623 * javax/swing/JEditorPane.java
624 (getStream): Buffer the stream for efficiency.
625 (setPage): Don't scroll the view at this point.
626 * javax/swing/plaf/basic/BasicTextUI.java
627 (RootView.paint): Call RootView's setSize to get synchronization.
628 (RootView.setSize): Synchronize to prevent race in layout code.
629 * javax/swing/text/AbstractDocument.java
630 (notifyListeners): New field.
631 (fireChangedUpdate): Track notifyListener field.
632 (fireRemoveUpdate): Track notifyListener field.
633 (fireIndertUpdate): Track notifyListener field.
634 (writeLock): Check notifyListener and throw IllegalStateException.
635 * javax/swing/text/View.java
636 (preferenceChanged): Create local var for better thread safety and
639 2006-12-06 Roman Kennke <kennke@aicas.com>
641 * examples/gnu/classpath/examples/icons/back.png,
642 * examples/gnu/classpath/examples/icons/reload.png:
643 New icons for the HTML browser.
644 * examples/gnu/classpath/examples/swing/HtmlDemo.java
645 (history): New field. Manages the browsing history.
646 (HtmlDemo): Initialize history.
647 (createContent): Set location and add history. Add toolbar.
648 (createToolBar): New helper method.
649 (main): Make default size bigger.
650 * examples/gnu/classpath/examples/swing/frame1.html,
651 * examples/gnu/classpath/examples/swing/frame2.html,
652 * examples/gnu/classpath/examples/swing/frame3.html,
653 * examples/gnu/classpath/examples/swing/frame4.html,
654 * examples/gnu/classpath/examples/swing/frames.html,
655 * examples/gnu/classpath/examples/swing/tables.html:
657 * examples/gnu/classpath/examples/swing/welcome.html
658 Add a couple of links and new test pages.
660 2006-12-06 Roman Kennke <kennke@aicas.com>
662 * examples/gnu/classpath/examples/swing/Demo.java
663 (getIcon): Made package private.
664 * examples/gnu/classpath/examples/swing/HtmlDemo.java
665 (hyperlinkUpdate): Convert URL to string.
667 2006-12-06 Roman Kennke <kennke@aicas.com>
669 * javax/swing/text/DefaultCaret.java
670 (appear): Adjust visibility here.
671 (setDotImpl): Don't adjust visibility here.
672 (moveDotImpl): Don't adjust visibility here.
674 2006-12-06 Roman Kennke <kennke@aicas.com>
676 * javax/swing/text/html/FormView.java
677 (SubmitThread.postData): Implemented.
678 (SubmitThread.run): Pass data to postData().
679 (actionPerformed): Reset form when reset button is activated.
680 (createComponent): Add support for select lists and comboboxes.
681 Don't set value of text and password fields here, this is done
682 now in HTMLDocument for consistency.
683 (getElementFormData): Add support for fetching form data from
684 select lists and comboboxes as well as textareas.
685 (getSelectData): New helper method. Fetches form data from
687 (getTextAreaData): New helper method. Fetches form data from
689 (resetForm): New helper method. Resets the entire form.
690 * javax/swing/text/html/HTMLDocument.java
691 (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
692 (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
693 (HTMLReader.FormAction.setModel): Initialize text and password
694 values here. Also, use the resetable special models.
695 Group radio buttons into ButtonGroup for exclusive selection.
696 (HTMLReader.FormTagAction): New class. Handles FORM tags.
697 (HTMLReader.buttonGroups): New field.
698 (HTMLReader.numOptions): New field.
699 (HTMLReader.option): New field.
700 (HTMLReader.selectModel): New field.
701 (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
702 (HTMLReader.handleText): Handle OPTION text.
703 (HTMLReader.initTags): Map FORM tags to FormTagAction.
704 (HTMLReader.textAreaContent): Set initial content.
705 * javax/swing/text/html/Option.java
706 (Option): Make copy of attribute set. Initialize selected state.
707 (getValue): Fetch value from attribute set.
708 * javax/swing/text/html/ResetableModel.java: New interface.
709 * javax/swing/text/html/ResetablePlainDocument.java: New class.
710 Supports resetting the state.
711 * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
712 * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
713 * javax/swing/text/html/SelectListModel.java: Likewise.
715 2006-12-06 Roman Kennke <kennke@aicas.com>
717 * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
719 * examples/gnu/classpath/examples/swing/HtmlDemo.java
720 (LoadActionListener): Call setPage() helper method.
721 (createContent): Register tweaked editor kit. For FormSubmitEvents
722 call submitForm(), otherwise setPage().
723 (postData): Helper method for posting form data.
724 (setPage): Helper method for navigating to a new URL.
725 (submitForm): Helper method for submitting a form.
726 * examples/gnu/classpath/examples/swing/forms.html:
727 Added text/password fields and select boxes.
728 * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
730 2006-12-07 Mark Wielaard <mark@klomp.org>
732 * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
734 (URL(URL,String,URLStreamHandler)): Call new constructor.
735 (URL(URL,String)): Likewise.
736 (URL(String)): Likewise.
738 2006-12-07 Mark Wielaard <mark@klomp.org>
740 * javax/swing/JEditorPane.java (createEditorKitForContentType):
741 Always load from system class loader.
743 2006-12-06 Ben Konrath <bkonrath@redhat.com>
746 * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
747 newValue are the same.
748 * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
750 2006-12-06 Chris Burdess <dog@gnu.org>
753 * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
754 * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
756 2006-12-06 Chris Burdess <dog@gnu.org>
759 * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
762 2006-12-056 Chris Burdess <dog@gnu.org>
765 * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
766 discover schema factory implementation class.
768 2006-12-05 Roman Kennke <kennke@aicas.com>
770 * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
771 asynchronous loading of images.
772 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
773 (drawImage): Fetch real image from possibly AsyncImage.
774 * gnu/java/awt/peer/gtk/ComponentGraphics.java
775 (drawImage): Fetch real image from possibly AsyncImage.
776 * gnu/java/awt/peer/gtk/GtkToolkit.java
777 (createImage(URL)): Create async image.
778 (imageOrError): Made method static for easy access from AsyncImage.
779 (prepareImage): For async images, register the observer to the
782 2006-12-05 Roman Kennke <kennke@aicas.com>
784 (paintComponent): Include paint area from event.
785 (updateComponent): Include paint area from event.
787 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
789 * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
790 lightweight component, not just for non-Panel components.
791 (addImpl): Do not call doLayout.
792 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
793 (setNativeBounds): Ensure widget parent is a GtkFixed before
794 calling gtk_fixed_move.
795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
796 (setNativeBounds): Likewise.
797 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
798 (setNativeBounds): Likewise.
800 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
802 * java/awt/Component.java (getFontImpl): Return a default font if
803 topmost parent's font is null.
805 2006-12-04 Mark Wielaard <mark@klomp.org>
807 * javax/swing/text/html/CSS.java (parseMarginShorthand):
810 2006-12-04 Roman Kennke <kennke@aicas.com>
812 * java/awt/font/TextLayout.java
813 (hitTestChar): Fixed conditions for inclusion of range.
814 Use layout information in the run for more efficiency.
816 2006-12-04 Roman Kennke <kennke@aicas.com>
818 * javax/swing/text/GlyphView.java
819 (J2DGlyphPainter): New inner class.
820 (checkPainter): For Java2D capable environments create
823 2006-12-04 Roman Kennke <kennke@aicas.com>
825 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
826 (FreeTypeGlyphVector): Don't filter control chars here.
827 (getGlyphs): Filter control chars and replace them by
830 2006-12-04 Roman Kennke <kennke@aicas.com>
832 * native/jni/java-nio/gnu_java_nio_VMChannel.c
833 (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
835 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
837 * gnu/java/lang/management/BeanImpl.java:
838 (translate(String)): Don't assume the list uses "E",
839 just use the first and only type variable.
840 * java/lang/management/ManagementFactory.java:
841 (getPlatformMBeanServer()): Register logging bean.
842 * javax/management/openmbean/OpenType.java:
843 (OpenType(String,String,String)): Actually use
844 the string created to handle arrays.
846 2006-12-04 Mark Wielaard <mark@klomp.org>
848 * native/jni/java-nio/gnu_java_nio_VMChannel.c
849 (JCL_thread_interrupted): Use CallStaticBooleanMethod.
851 2006-12-04 Mark Wielaard <mark@klomp.org>
853 * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
855 * native/jni/java-nio/gnu_java_nio_VMChannel.c
856 (JCL_thread_interrupted): Only take JNIEnv.
857 (vm_channel_class): New static variable.
858 (initID): Set vm_channel_class.
859 Wrap all reads() and writes() in do-while blocks that check
862 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
864 * gnu/javax/management/Server.java:
865 Make map final and initialise it.
866 (unregisterMBean(ObjectName)): Match against
867 delegate's object name and not the instance.
868 * java/lang/management/ManagementFactory.java:
869 Added constant fields.
870 (getPlatformMBeanServer()): Implemented.
871 * javax/management/MBeanServerFactory.java: New file.
873 2006-12-04 Roman Kennke <kennke@aicas.com>
875 * javax/swing/text/BoxView.java
876 (paint): Replaced painting algorithm with more simple and more
877 reliable painting of the box.
878 * javax/swing/text/html/BlockView.java
879 (PositionInfo): New inner class. Stores additional CSS
880 positioning information.
881 (positionInfo): New field.
882 (BlockView): Initialize positionInfo field.
883 (fetchLayoutInfo): New helper method. Fetches additional
884 CSS positioning information.
885 (layoutMajorAxis): Perform additional CSS layout.
886 (layoutMinorAxis): Perform additional CSS layout.
887 (positionView): New helper method.
888 (replace): Overridden to fetch additional layout information.
889 * javax/swing/text/html/CSS.java
890 (Attribute.POSITION): New field.
891 (Attribute.LEFT): New field.
892 (Attribute.RIGHT): New field.
893 (Attribute.TOP): New field.
894 (Attribute.BOTTOM): New field.
895 (getValue): Create Length for left, right, top and bottom
898 2006-12-04 Roman Kennke <kennke@aicas.com>
900 * gnu/javax/swing/text/html/parser/support/Parser.java
901 (Sgml): Consume any whitespace that immediately follows
903 (parseDocument): Consume any initial whitespace.
905 2006-12-03 Mark Wielaard <mark@klomp.org>
907 * gnu/javax/management/Server.java (beans): Initialize.
908 (registerMBean): Don't initialize beans.
910 2006-12-03 Mark Wielaard <mark@klomp.org>
912 * java/util/logging/LogManager.java (getLevelProperty): Check
913 whether value is null before passing to Level.parse().
915 2006-12-04 Robert Lougher <rob.lougher@gmail.com>
917 * java/lang/management/ThreadInfo.java (ThreadInfo): Check
918 whether given a null lock and lockOwner.
920 2006-12-03 Mark Wielaard <mark@klomp.org>
922 * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
923 (PageLoader.page): Made package local.
924 (PageLoader.run): Don't reset loader.
925 (PageLoader.cancel): New method.
926 (loading): Renamed to loader.
927 (getPage): Return loader.page.
928 (setPage): Always set loader. Never reset to null.
930 2006-12-03 Mark Wielaard <mark@klomp.org>
932 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
934 (isLastChild): Return false when path is null.
936 2006-12-03 Mark Wielaard <mark@klomp.org>
938 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
940 (paintComponent): Work with local reference to currentPaintArea.
941 (updateComponent): Likewise.
942 (coalescePaintEvent): Set currentPaintArea.
944 2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
946 * javax/management/MBeanServerBuilder.java: New file.
948 2006-12-01 Mark Wielaard <mark@klomp.org>
950 * java/text/DecimalFormat.java (parse): Always increment parsing
951 index and adjust pos result.
953 2006-12-01 Roman Kennke <kennke@aicas.com>
955 * javax/swing/text/html/HTML.java
956 (Attribute.DYNAMIC_CLASS): New field.
957 (Attribute.PSEUDO_CLASS): New field.
958 * javax/swing/text/html/HTMLDocument.java
959 (HTMLReader.CharacterAction.start): Initialize anchor with link
961 (updateSpecialClass): New helper method. Updates the dynamic
962 or pseudo class for anchor tags.
963 * javax/swing/text/html/HTMLEditorKit.java
964 (LinkController.lastAnchorElement): New field. For tracking
965 enter/exit of anchors.
966 (LinkController.activateLink): Set pseudo class to 'visited'.
967 (LinkController.mouseMoved): Added support for tracking
968 the 'hover' dynamic class.
969 * javax/swing/text/html/InlineView.java
970 (changedUpdate): Fetch new properties.
971 * javax/swing/text/html/StyleSheet.java
972 (attributeSetToMap): New helper method.
973 (getRule): Also append dynamic and pseudo class to key.
974 (resolveStyle): Resolve style based generally on all attributes.
975 * javax/swing/text/html/TableView.java
976 (RowView.layoutMajorAxis): Make sure the grid is valid.
977 (updateGrid): Made package private.
978 * gnu/javax/swing/text/html/css/Selector.java
979 (calculateSpecificity): Added support for dynamic and pseudo classes.
980 (matches): Changed to operate on general attributes.
981 Added support for dynamic and pseudo classes.
983 2006-12-01 Mario Torre <neugens@limasoftware.net>
985 * java/text/DecimalFormat.java (formatInternal): move the formatting of
986 fractional portion in a separate method.
987 Also fixes the handling of decimal separator and its associated field.
988 (handleFractionalPart): new method, needed to relax a bit
991 2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
993 * java/beans/beancontext/BeanContextServicesSupport.java:
994 (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
995 Class)): Implemented.
996 (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
997 Class, Object)): Implemented.
998 (BCSSProxyServiceProvider.releaseService(BeanContextServices,
999 Object, Object)): Implemented.
1000 (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1002 (initialiseBeanContextResources()): Implemented.
1003 (releaseBeanContextResoures()): Implemented.
1005 2006-12-01 Mark Wielaard <mark@klomp.org>
1007 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1009 2006-12-01 Roman Kennke <kennke@aicas.com>
1011 * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1012 handling border styles.
1013 * gnu/javax/swing/text/html/css/BorderWidth.java
1014 (isValid): New method.
1015 * gnu/javax/swing/text/html/css/Length.java
1016 (isValid): New method.
1017 * javax/swing/text/html/CSS.java
1018 (addInternal): Added shorthand parsing for border, padding and
1020 (parseBackgroundShorthand): Added API docs.
1021 (parsePaddingShorthand): New method. Handles padding shorthand
1023 (parseMarginShorthand): New method. Handles margin shorthand
1025 (parseBorderShorthand): New method. Handles border shorthand
1027 * javax/swing/text/html/StyleSheet.java
1028 (translateHTMLToCSS): Set specific padding attributes.
1029 (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1030 These shorthands are now handled in CSS.
1031 (BoxPainter.paint): Exclude the outer margin.
1033 2006-12-01 Roman Kennke <kennke@aicas.com>
1035 * gnu/javax/swing/text/html/css/Length.java
1036 (emBase): New field.
1037 (exBase): New field.
1038 (isFontEMRelative): New field.
1039 (isFontEXRelative): New field.
1040 (Length): Recognize and setup EM and EX relative values.
1041 (getValue): Handle EM and EX relative values.
1042 (isEMRelative): New method.
1043 (isEXRelative): New method.
1044 (setEMBase): New method.
1045 (setEXBase): New method.
1046 (setFontBases): New method.
1047 * gnu/javax/swing/text/html/parser/support/Parser.java
1048 (_handleEmptyTag): Use new isBlock() helper method.
1049 (_handleEndTag_remaining): Use new isBlock() helper method.
1050 (_handleStartTag): Consume whitespace after block start tag.
1051 (Comment): Consume whitespace after a comment.
1052 (isBlock): New helper method.
1053 (readAttributes): Consider all characters in unquoted attribute
1055 * javax/swing/text/html/BlockView.java
1056 (layoutMinorAxis): Use cached span value.
1057 (paint): Added debug code (commented out).
1058 (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1059 * javax/swing/text/html/CSSBorder.java
1060 (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1062 (getBorderWidth): Set the EM and EX base on the length values.
1063 * javax/swing/text/html/HTMLDocument.java
1064 (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1065 (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1066 (HTMLReader.inImpliedParagraph): Removed.
1067 (HTMLReader.inParagraph): Removed.
1068 (HTMLReader.parseStack): New field.
1069 (HTMLReader.addContent): Use new paragraph handling.
1070 (HTMLReader.addSpecialElement): Use new paragraph handling.
1071 (HTMLReader.blockClose): Use new paragraph handling.
1072 (HTMLReader.blockOpen): Use new paragraph handling.
1073 (HTMLReader.inImpliedParagraph): New helper method.
1074 (HTMLReader.inParagraph): New helper method.
1075 * javax/swing/text/html/ImageView.java
1076 (attributes): New field. Caches view attributes.
1077 (spans): New field. Caches CSS spans.
1078 (getAttributes): Correctly setup CSS view attributes.
1079 (getPreferredSpan): Use caches spans.
1080 (getStyleSheet): Use the view's getDocument() method.
1081 (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1082 (updateSize): Use cached spans.
1083 * javax/swing/text/html/ParagraphView.java
1084 (setPropertiesFromAttributes): Setup EM and EX.
1085 * javax/swing/text/html/StyleSheet.java
1086 (BoxPainter.BoxPainter): Setup EM and EX correctly.
1087 (getEMBase): New helper method.
1088 (getEXBase): New helper method.
1089 * javax/swing/text/html/TableView.java
1090 (width): New field. Caches the table width.
1091 (calculateMinorAxisRequirements): Use caches span.
1092 (setPropertiesFromAttributes): Cache span and setup EM/EX.
1093 (updateGrid): Correctly setup EM/EX.
1095 2006-11-30 Roman Kennke <kennke@aicas.com>
1097 * javax/swing/text/html/FormSubmitEvent.java: New class.
1098 * javax/swing/text/html/FormView.java
1099 (SubmitThread): New class for submitting data in a separate thread.
1100 (actionPerformed): Fetch the actual for data.
1101 (addData): New helper method.
1102 (getElementFormData): New helper method.
1103 (getFormData): New helper method.
1104 (getInputFormData): New helper method.
1105 (submitData): Implemented.
1106 * javax/swing/text/html/FrameView.java
1107 (createComponent): Add this as hyperlink listener.
1108 Set the target document as frame document.
1109 (getTopEditorPane): New helper method.
1110 (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1111 (handleHyperlinkEvent): New helper method.
1112 (handleFormSubmitEvent): New helper method.
1113 * javax/swing/text/html/HTMLDocument.java
1114 (HTMLReader.BaseAction.start): Track the base target.
1115 (HTMLReader.BaseAction.end): Removed.
1116 (baseTarget): New field.
1117 (frameDocument): New field.
1118 (getBaseTarget): New property accessor.
1119 (isFrameDocument): New property accessor.
1120 (processHTMLFrameHyperlinkEvent): Implemented.
1121 (setFrameDocument): New property accessor.
1122 (updateFrame): New helper method.
1123 (updateFrameSet): New helper method.
1124 * javax/swing/text/html/HTMLEditorKit.java
1125 (LinkController.createHyperlinkEvent): Handle frame documents.
1126 (autoFormSubmission): New field.
1127 (HTMLEditorKit): Set autoFormSubmission to true.
1128 (isAutoFormSubmission): New property accessor.
1129 (setAutoFormSubmission): New property accessor.
1131 2006-11-30 Roman Kennke <kennke@aicas.com>
1133 * javax/swing/text/ElementIterator.java
1134 (ElementRef): New inner class.
1135 (currentDepth): Removed.
1136 (currentElement): Removed.
1137 (previousItem): Removed.
1138 (stack): New field. Holds the iteration stack.
1140 (ElementIterator(Document)): Removed init of removed fields.
1141 (ElementIterator(Element)): Removed init of removed fields.
1142 (current): Changed to stack based algorithm.
1143 (deepestLeaf): New helper method.
1144 (depth): Changed to stack based algorithm.
1145 (first): Changed to stack based algorithm.
1146 (next): Changed to stack based algorithm.
1147 (previous): Changed to stack based algorithm.
1149 2006-11-30 Francis Kung <fkung@redhat.com>
1151 * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1152 * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1154 2006-11-30 Francis Kung <fkung@redhat.com>
1156 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1157 (draw): Set transform in buffered composite.
1158 (drawComposite): Do not transform bounds; round bounds.
1159 (drawGlyphVector): Set transform in buffered composite.
1160 (drawRenderedImage): Set transform in buffered composite.
1161 (fill): Set transform in buffered composite.
1162 (updateBufferedImage): Fix scanline & height calculations.
1163 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1164 (createPath): Simplify width & height calculation.
1165 (drawImage): Also transform width & height.
1167 2006-11-30 Roman Kennke <kennke@aicas.com>
1169 * javax/swing/text/html/FrameSetView.java: New class. Implements
1171 * javax/swing/text/html/FrameView.java: New class. Implements
1173 * javax/swing/text/html/HTMLDocument.java:
1174 (HTMLReader.addSpecialElement): Only add one artificial space.
1175 * javax/swing/text/html/HTMLEditorKit.java
1176 (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1177 * gnu/javax/swing/text/html/parser/support/Parser.java
1178 (_handleEmptyTag): Also consume whitespace after frame tags.
1180 2006-11-30 Gary Benson <gbenson@redhat.com>
1182 * java/lang/Thread.java: Javadoc fixes.
1184 2006-11-29 Tom Tromey <tromey@redhat.com>
1187 * java/lang/Class.java (getAnnotations): Rewrote.
1189 2006-11-29 Tania Bento <tbento@redhat.com>
1191 * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1192 (parseParams): Unescape 'val' before putting it into the Map.
1193 (unescapeString): New private method.
1195 2006-11-29 Tom Tromey <tromey@redhat.com>
1197 * tools/gnu/classpath/tools/getopt/package.html: New file.
1199 2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
1201 * javax/swing/plaf/metal/MetalIconFactory.java
1202 (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1203 (VerticalSliderThumbIcon.paintIcon()): Likewise.
1205 2006-11-29 Mario Torre <neugens@limasoftware.net>
1207 * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1208 with the default international currency sign \u00A4.
1209 * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1210 table for string formatting.
1211 (formatInternal): likewise.
1212 (scanNegativePattern): likewise.
1213 (applyPattern): likewise.
1214 * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1215 Locale is immutable and does not need clone.
1217 2006-11-29 Francis Kung <fkung@redhat.com>
1219 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1220 (drawLine): Remove hard-coded pixel shifting.
1222 2006-11-29 Roman Kennke <kennke@aicas.com>
1224 * java/awt/Component.java
1225 (isShowing): Simplified condition code and avoid unnecessary
1227 (coalesceEvents): Always coalesce paint events and let the peer
1228 figure out the expanding of the repaint area.
1229 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1230 (currentPaintEvents): Removed. Replaced by paintArea.
1231 (paintArea): New field. Tracks the dirty area.
1232 (SwingComponentPeer): Removed init of currentPaintEvents.
1233 (coalescePaintEvent): Simplified to only union the dirty regions.
1234 (handleEvent): Paint dirty region that was tracked in paintArea.
1235 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1236 (paintArea): New field. Tracks the dirty region.
1237 (coalescePaintEvent): Implemented to track the dirty region.
1238 (paintComponent): Use the dirty region in paintArea. Protect
1239 state by putting the paint and dispose code in a try-finally.
1240 (updateComponent): Use the dirty region in paintArea. Protect
1241 state by putting the paint and dispose code in a try-finally.
1243 2006-11-29 Roman Kennke <kennke@aicas.com>
1245 * java/awt/font/TextLayout.java
1246 (getVisualHighlightShape): Removed debug output.
1248 2006-11-28 Andrew Haley <aph@redhat.com>
1250 * vm/reference/sun/reflect/misc/ReflectUtil.java
1251 (checkPackageAccess): Implement.
1253 2006-11-28 Dalibor Topic <robilad@kaffe.org>
1255 * native/jni/java-lang/java_lang_VMDouble.c:
1256 (parseDoubleFromChars) New function. Factored out from ...
1257 (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1258 (dtoa_toString): New function. Factored out from ...
1259 (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1260 Changed conversion mode to 2, as modes 0 and 1 don't round
1261 as the API spec demands. Invoke conversion function as often
1262 as necessary with growing precision until a reversible
1263 representation of the double in form of a string is reached.
1265 2006-11-28 Roman Kennke <kennke@aicas.com>
1267 * javax/swing/JComponent.java
1268 (putClientProperty): Do not fire event when both old and new
1271 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1273 * java/lang/Enum.java:
1274 Make name and ordinal final.
1276 2006-11-27 Casey Marshall <csm@gnu.org>
1278 * java/util/jar/JarEntry.java (certs): removed.
1279 (jarfile): new field.
1280 (getCertificates): read the certificates from the containing JarFile.
1281 * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1282 fill in 'certs,' fill in 'jarfile' for the entry.
1283 (getEntry): likewise.
1285 2006-11-27 Francis Kung <fkung@redhat.com>
1287 * java/awt/image/WritableRaster.java
1288 (createChild): Implemented.
1290 2006-11-27 Roman Kennke <kennke@aicas.com>
1292 * java/awt/font/TextLayout.java
1293 (TextLayout(TextLayout,int,int)): Also layout the new runs.
1294 (getVisualHighlightShape): Implemented.
1295 (layoutRuns): Fixed boundary so that the last run is also laid out.
1296 (left): New helper method.
1297 (right): New helper method.
1299 2006-11-27 Roman Kennke <kennke@aicas.com>
1301 * java/awt/font/TextLayout.java
1302 (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1303 (getCaretShape(TextHitInfo)): Use natural bounds.
1304 (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1305 (getCaretShapes(int,Rectangle2D)): Delegate to new method
1306 above with DEFAULT_CARET_POLICY.
1307 (getCaretShapes(int)): Use natural bounds.
1309 2006-11-27 Roman Kennke <kennke@aicas.com>
1311 * java/awt/font/TextLayout.java
1312 (Run.font): New field.
1313 (Run.location): New field.
1314 (Run.Run): Initialize font.
1315 (font): Removed field. This is moved into Run as the actual font
1316 is something run-specific.
1317 (TextLayout(String,Font,FontRenderContext)): Set font on the
1318 single runs. Layout the runs here.
1319 (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1320 (findRunAtIndex): New helper method.
1321 (getCaretInfo): Implemented.
1322 (layoutRuns): New helper method.
1323 (toString): Don't put font in output string.
1325 2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
1327 * AUTHORS: Added Jeroen Fritjers.
1329 2006-11-27 neugens <neugens@nirvana.limasoftware.net>
1331 * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1332 for FieldPosition to be null.
1333 Check if the factional part is just 0 and can be omitted from the
1335 (scanNegativePattern): Fixed index out of bound exception when searching
1336 for international currency symbol in negative pattern.
1338 2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
1340 * java/beans/beancontext/BeanContextSupport.java:
1341 (readObject(ObjectInputStream)): Implemented.
1342 (writeObject(ObjectOutputStream)): Likewise.
1343 (BCSChild.getTargetChild()): Added.
1344 (bcsPreDeserializationHook()): Implemented.
1345 (bcsPreSerializationHook()): Likewise.
1346 (childDeserializedHook(Object,BCSChild)): Likewise.
1347 (isSerializing()): Likewise.
1348 (readChildren(ObjectInputStream)): Likewise.
1349 (writeChildren(ObjectOutputStream)): Likewise.
1351 2006-11-26 Roger Sayle <roger <at> eyesopen.com>
1352 Ian Lance Taylor <ian <at> airs.com>
1353 Paolo Bonzini <bonzini <at> gnu.org>
1357 * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
1358 increased portability. Likewise, use -f instead of -e.
1360 2006-11-26 Mark Wielaard <mark@klomp.org>
1362 * lib/Makefile.am (propertydirs): Removed.
1363 (resources): Explicitly create all dirs.
1365 2006-11-26 Mark Wielaard <mark@klomp.org>
1367 * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1369 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1371 * native/target/.cvsignore,
1372 native/target/generic/.cvsignore,
1373 native/target/Linux/.cvsignore:
1374 Removed no longer used files.
1376 * native/target: Removed no longer used directory.
1378 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1382 * libraries/clib/nio/gnu_java_nio_VMSelector.c
1383 (Java_gnu_java_nio_VMSelector_select):
1384 Use strerror if strerror_r is not available.
1386 Reported by: Michael Franz <mvfranz@gmail.com>,
1387 Riccardo Mottola <zuse@libero.it>
1389 2006-11-26 Dalibor Topic <robilad@kaffe.org>
1393 * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
1394 STRICT_WARNING_CFLAGS since it caused the build to fail
1397 2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
1399 * doc/vmintegration.texinfo: Update VM Threading Model section.
1401 2006-11-26 Tom Tromey <tromey@redhat.com>
1403 * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1405 (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1407 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1408 Conditionally include ifaddrs.h.
1409 (getif_address): Updated conditional.
1410 (getif_index): Likewise.
1411 * configure.ac: Check for ifaddrs.h.
1413 2006-11-25 Mark Wielaard <mark@klomp.org>
1415 * java/io/File.java (list): Return empty list for unreadable dirs.
1417 2006-11-25 Mark Wielaard <mark@klomp.org>
1419 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1420 Synchronize on font peer.
1421 (setFont): Likewise.
1422 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1424 (getTextMetrics): Likewise.
1426 2006-11-25 Roman Kennke <kennke@aicas.com>
1428 * javax/swing/text/GapContent.java
1429 (getPositionsInRange): Rewritten to use the more efficient
1430 binary search searchFirst() and avoid an NPE that was caused
1433 2006-11-25 Mark Wielaard <mark@klomp.org>
1435 * javax/swing/text/CompositeView.java (modelToView): Never return
1438 2006-11-25 Mark Wielaard <mark@klomp.org>
1440 * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1441 Check whether rowView instanceof RowView.
1442 (updateGrid): Likewise.
1444 2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
1447 * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1448 * java/text/NumberFormat.java (format): all format methods, fixed
1449 FieldPosition argument should never be null.
1450 (format(Object, StringBuffer, FieldPosition)): fixed signature,
1451 method is not final.
1452 * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1454 * AUTHORS: added my name to the file.
1456 2006-11-25 Mark Wielaard <mark@klomp.org>
1458 * javax/swing/text/html/StyleSheet.java (paint): Guard against
1459 getChildAllocation() returning null.
1461 2006-11-25 Mark Wielaard <mark@klomp.org>
1463 * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1464 Use clazzIndex for id substring.
1466 2006-11-25 Mark Wielaard <mark@klomp.org>
1468 * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1469 it is still running.
1471 2006-11-25 Mark Wielaard <mark@klomp.org>
1474 * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1477 2006-11-24 Tania Bento <tbento@redhat.com>
1479 * java/awt/font/TextHitInfo.java
1480 (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1481 (beforeOffset): Decreased first parameter by 1.
1483 2006-11-24 Francis Kung <fkung@redhat.com>
1485 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1486 (constructor): Check sample model when setting fastCM flag.
1487 (updateBufferedImage): Check scanline and sample model offsets before
1488 copying data directly into the image data buffer.
1490 2006-11-24 Francis Kung <fkung@redhat.com>
1492 * gnu/java/awt/java2d/QuadSegment.java
1493 (offsetSubdivided): Handle special straight-line cases.
1495 2006-11-24 Roman Kennke <kennke@aicas.com>
1497 * java/awt/dnd/DropTarget.java
1498 (DropTargetAutoScroller.HYSTERESIS): New constant.
1499 (DropTargetAutoScroller.DELAY): New constant.
1500 (DropTargetAutoScroller.inner): New field. A cached
1502 (DropTargetAutoScroller.outer): New field. A cached
1504 (DropTargetAutoScroller.timer): New field. The actual timer.
1505 (DropTargetAutoScroller.DropTargetAutoScroller):
1507 (DropTargetAutoScroller.actionPerformed): Implemented.
1508 (DropTargetAutoScroller.stop): Implemented.
1509 (DropTargetAutoScroller.updateLocation): Implemented.
1510 (clearAutoscroll): Stop the autoscroller before nullifying it.
1511 (createDropTargetAutoScroller): Don't set the field here,
1512 only return a new instance.
1513 (dragEnter): Only do something when active. Initialize
1515 (dragExit): Only do something when active. Stop auto scrolling.
1516 (dragOver): Only do something when active. Update auto scrolling.
1517 (drop): Only do something when active. Update auto scrolling.
1518 (dropActionChanged): Only do something when active. Update
1520 (initializeAutoScrolling): Check if component is an instance
1521 of Autoscroll, otherwise do nothing.
1522 (setActive): Disable autoscrolling when deactivating.
1523 (setComponent): When component is set to null, disable autoscrolling.
1525 2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
1527 * java/beans/beancontext/BeanContextServicesSupport.java
1528 (getChildBeanContextServicesListener): Implemented.
1530 2006-11-23 Roman Kennke <kennke@aicas.com>
1532 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1533 (createGraphics): Use constructor to create new instance of
1534 BufferedImageGraphics.
1535 * java/awt/Toolkit.java
1536 (getDefaultToolkit): Really try to get a real toolkit. Only
1537 use HeadlessToolkit if no other is available.
1538 * gnu/java/awt/peer/gtk/GtkToolkit.java
1539 (checkHeadless): New helper method. Checks for headless environment
1540 and throws HeadlessException if appropriate.
1541 (createButton): Check for headless.
1542 (createCanvas): Check for headless.
1543 (createCheckbox): Check for headless.
1544 (createCheckboxMenuItem): Check for headless.
1545 (createChoice): Check for headless.
1546 (createDialog): Check for headless.
1547 (createDragGestureRecognizer): Check for headless.
1548 (createDragSourceContextPeer): Check for headless.
1549 (createEmbeddedWindow): Check for headless.
1550 (createFileDialog): Check for headless.
1551 (createFrame): Check for headless.
1552 (createCheckbox): Check for headless.
1553 (createLabel): Check for headless.
1554 (createList): Check for headless.
1555 (createMenu): Check for headless.
1556 (createMenuBar): Check for headless.
1557 (createMenuItem): Check for headless.
1558 (createPanel): Check for headless.
1559 (createPopupMenu): Check for headless.
1560 (createScrollbar): Check for headless.
1561 (createScrollPane): Check for headless.
1562 (createTextArea): Check for headless.
1563 (createTextField): Check for headless.
1564 (createWindow): Check for headless.
1566 2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
1568 * java/beans/beancontext/BeanContextSupport.java
1569 (deserialize): Implemented,
1570 (serialize): Implemented.
1572 2006-11-23 Roman Kennke <kennke@aicas.com>
1574 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1575 (createGraphics): Try to use Cairo graphics if available.
1577 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1579 * java/beans/beancontext/BeanContextSupport.java
1580 (toArray): Added API docs,
1581 (toArray(Object[])): Added API docs, removed NotImplementedException.
1583 2006-11-22 Tania Bento <tbento@redhat.com>
1585 * javax/swing/JRootPane.java
1586 (setLayeredPane): Added documentation; throw
1587 IllegalComponentStateException if layered pane parameter is null.
1589 2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
1591 * java/beans/beancontext/BeanContextSupport.java
1592 (avoidingGui): Removed NotImplementedException.
1594 2006-11-22 Francis Kung <fkung@redhat.com>
1596 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1597 (drawGlyphVector): Clip updated area to glyph bounds.
1598 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1599 (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1600 x-coordinate and y-coordinate pixel shifting.
1601 (shifted): Removed method.
1602 (shiftX): New method, recognising scaling transforms.
1603 (shiftY): New method, recognising scaling transforms.
1604 (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1606 2006-11-22 Roman Kennke <kennke@aicas.com>
1608 * java/awt/font/TextLayout.java
1609 (hash): New field. Caches the hash code.
1610 (hashCode): Implemented.
1612 2006-11-22 Roman Kennke <kennke@aicas.com>
1614 * java/awt/image/ImageFilter.java
1615 Reformat whole class.
1616 (getFilterInstance): Don't touch the consumer field. Don't check
1618 (imageComplete): Don't check consumer.
1619 (setColorModel): Don't check consumer.
1620 (setDimensions): Don't check consumer.
1621 (setHints): Don't check consumer.
1622 (setPixels): Don't check consumer.
1623 (setProperties): Pass the original property too.
1624 * java/awt/image/IndexColorModel.java
1625 (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1626 transparent pixel by calling the new helper method.
1627 (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1628 transparent pixel by calling the new helper method.
1629 (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1630 transparent pixel by calling the new helper method.
1631 (coerceData): Removed. This is not needed.
1632 (getAlpha): Simply return value from color map. The transparent
1633 pixel has to be there.
1634 (setTransparentPixel): New helper method. Inserts the transparent
1636 * java/awt/image/RGBImageFilter.java
1637 Reformat whole class.
1638 (convertColorModelToDefault): Removed. No longer needed.
1639 (filterIndexColorModel): Don't handle transparent pixels
1641 (filterRGBPixels): Set pixels on consumer already.
1642 (makeColor): Removed. No longer needed.
1643 * java/awt/image/ReplicateScaleFilter.java
1644 (replicatePixels): Removed.
1645 (setDimension): Correctly compute destination size, avoid double
1647 (setPixels): Avoid double calculations. Fixed some boundary cases.
1648 (setupSources): New helper method.
1649 * java/awt/image/SampleModel.java
1650 (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1652 * java/awt/image/SinglePixelPackedSampleModel.java
1653 (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1654 This is not needed as the superclass already copies line
1656 (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1657 removed some checks that the RI also doesn't perform. Call
1658 DataBuffer.setElem().
1660 2006-11-22 Roman Kennke <kennke@aicas.com>
1662 * java/awt/text/TextLayout.java
1663 (getLogicalRangesForVisualSelection): Implemented.
1665 2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1667 * sun/reflect/annotation/AnnotationParser.java,
1668 * sun/reflect/annotation/AnnotationType.java,
1669 * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1670 * sun/reflect/annotation/ExceptionProxy.java:
1672 * sun/misc/ServiceConfigurationError.java,
1673 * sun/misc/Service.java:
1676 2006-11-21 Roman Kennke <kennke@aicas.com>
1678 * java/awt/text/TextLayout.java
1679 (Run.isLeftToRight): New helper method.
1680 (logicalToVisual): New field. Maps logical indices to visual
1682 (visualToLogical): New field. Maps visual indices to logical
1684 (TextLayout): Setup mappings.
1685 (setupMappings): New method for setting up the mappings.
1686 (getCharacterLevel): Reorganized code.
1687 (getNextLeftHit(int)): Implemented.
1688 (getNextLeftHit(int,CaretPolicy)): New method.
1689 (getNextLeftHit(TextHitInfo)): Implemented.
1690 (getNextRightHit(int)): Implemented.
1691 (getNextRightHit(int,CaretPolicy)): New method.
1692 (getNextRightHit(TextHitInfo)): New method.
1693 (getVisualOtherHit): Implemented.
1694 (checkHitInfo): New helper methods for checking parameters.
1695 (hitToCaret): New helper method. Maps hit infos to caret locations.
1696 (caretToHit): New helper method. Maps caret locations to hit infos.
1697 (isCharacterLTR): New helper method.
1698 (CaretPolicy.getStrongCaret): Implemented.
1700 2006-11-21 Francis Kung <fkung@redhat.com>
1702 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1703 (draw): Include stroke width when calculating bounds.
1704 (updateBufferedImage): Round bounds more generously, handle negative
1705 height/width values, and clip more intelligently.
1706 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1707 (createPath): Add shortcut optimization for lines.
1708 (draw): Include stroke width when calculating bounds.
1709 (drawLine): Delegate to main draw() method.
1710 (drawRect): Likewise.
1711 (fillRect): Delegate to main fill() method.
1712 (findStrokedBounds): New method.
1713 (setCustomPaint): Round bounds more generously.
1714 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1715 (drawLine): Removed.
1716 (drawRect): Removed.
1717 (fillRect): Removed.
1719 2006-11-21 Francis Kung <fkung@redhat.com>
1721 * gnu/java/awt/java2d/TexturePaintContext.java
1722 (getRaster): Handle negative coordinate values.
1723 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1724 (setPaint): Moved custom paint processing to a new method.
1725 (setPaintPixels): Added x, y parameters.
1726 (getRealBounds): Added documentation.
1727 (copy): Copy clipping information.
1728 (drawLine): Process custom paints.
1729 (setCustomPaint): New method.
1730 (fill): Process custom paints.
1731 (drawGlyphVector): Process custom paints.
1732 (drawRect): Process custom paints.
1733 (draw): Process custom paints.
1734 * gnu/java/awt/peer/gtk/CairoSurface.java
1735 (cairoCM_opaque): New constant.
1736 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1737 (argb32): Removed constant.
1738 (rgb32): Removed constant.
1739 (BufferedImageGraphics(BufferedImage)): Updated constant names.
1740 (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1741 (updateBufferedImage): Transform to device-space before updating.
1742 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1743 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1745 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1746 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1747 source at designated x, y origin.
1749 2006-11-21 Roman Kennke <kennke@aicas.com>
1751 * java/awt/text/TextLayout.java
1752 (Run): New inner helper class.
1753 (length): New field.
1754 (naturalBounds): New field.
1755 (offset): New field.
1756 (runIndices): Removed. This is now encapsulate in a Run object.
1757 (runs): Changed to Run[].
1758 (string): Changed to char[].
1759 (totalAdvance): New field. Caches advance value.
1760 (TextLayout(String,Font,FontRenderContext)): Change to store
1761 string as char[] and run layout as Run[]. Clean out empty
1763 (TextLayout(TextLayout,int,int)): Change to store
1764 string as char[] and run layout as Run[].
1765 (clone): Call private constructor for maximum efficiency.
1766 (determineWhitespace): Adapted to use char[] data.
1767 (draw): Adapted to use Run objects.
1768 (getAdvance): Cache computed total advance.
1769 (getBlackBoxBounds): Adapted to use Run objects.
1770 (getCaretInfo): Use natural layout bounds.
1771 (getCharacterCount): Return length field.
1772 (getLogicalHighlightShape): Adapted to use Run objects.
1773 (getNaturalBounds): New helper method. Calculates and returns the
1774 natural bounds of this text layout.
1775 (getOutline): Adapted to use Run objects.
1776 (getStringProperties): Adapted to use char[] data.
1777 (getVisibleAdvance): Adapted to use char[] and Run data.
1778 (handleJustify): Adapted to use char[] and Run data.
1779 (hitTestChar(float,float,Rectangle2D)): Implemented.
1780 (hitTestChar(float,float)): Use natural bounds.
1781 (setCharIndices): Adapted to use char[] and Run data.
1782 (toString): Adapted to use char[] and Run data.
1783 * java/text/Bidi.java
1784 (requiresBidi): Exclude paragraph separators from bidi-triggers.
1786 2006-11-21 Roman Kennke <kennke@aicas.com>
1788 * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1789 Removed. This is now an inner class in GdkFontPeer.
1790 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1791 (drawString(float,float)): Use text layout cache from
1793 (getFontMetrics): Delegate to GdkFontPeer.
1794 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1795 (getGlyphCodes): Also check array size.
1796 (getGlyphPositions): Also check array size.
1797 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1798 (GdkFontLineMetrics.fm): Removed.
1799 (GdkFontLineMetrics.strikeThroughOffset): Removed.
1800 (GdkFontLineMetrics.strikeThroughThickness): Removed.
1801 (GdkFontLineMetrics.underlineOffset): Removed.
1802 (GdkFontLineMetrics.underlineThickness): Removed.
1803 (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1804 FontMetrics argument. Don't init removed fields.
1805 (GdkFontLineMetrics.getAscent): Return font peer's field.
1806 (GdkFontLineMetrics.getDescent): Return font peer's field.
1807 (GdkFontLineMetrics.getHeight): Return font peer's field.
1808 (GdkFontLineMetrics.getLeading): Return font peer's field.
1809 (GdkFontLineMetrics.getNumChars): Reformat.
1810 (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1811 (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1812 (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1813 (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1814 (GdkFontMetrics): Moved class in here as inner class.
1815 Make it use the font peer's fields and for the char(s) width
1816 and string width method, use TextLayout to measure the actual widths.
1817 (ascent): New field.
1819 (DEFAULT_CTX): New constant field.
1820 (descent): New field.
1821 (FONT_METRICS_ASCENT): New constant.
1822 (FONT_METRICS_DESCENT): New constant.
1823 (FONT_METRICS_HEIGHT): New constant.
1824 (FONT_METRICS_MAX_ADVANCE): New constant.
1825 (FONT_METRICS_MAX_ASCENT): New constant.
1826 (FONT_METRICS_MAX_DESCENT): New constant.
1827 (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1828 (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1829 (height): New field.
1830 (maxAdvance): New field.
1831 (maxAscent): New field.
1832 (maxDescent): New field.
1833 (metrics): New field. Stores a FontMetrics for this font.
1834 (textLayoutCache): New field. Caches TextLayout instances.
1835 (underlineOffset): New field.
1836 (underlineThickness): New field.
1837 (cinit): Don't initialize resource bundle.
1838 (GdkFontPeer): Setup the metrics.
1839 (getFontMetrics): Return stored metrics if possible.
1840 (getLineMetrics): Adapt to new constructor.
1841 (initFont): New helper method.
1842 (setupMetrics): New helper method.
1843 * gnu/java/awt/peer/gtk/GtkToolkit.java
1844 (LRUCache): Made class a static class.
1845 (getFontMetrics): Delegate to GdkFontPeer.
1846 * native/jni/gtk-peer/gdkfont.h
1847 Added new constant defines.
1848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1849 (getFontMetrics): Rewritten to fetch the font metrics from
1852 2006-11-20 Tania Bento <tbento@redhat.com>
1854 * javax/swing/ButtonGroup.java:
1855 (setSelected): Select the ButtonModel if all conditions
1858 2006-11-20 Tania Bento <tbento@redhat.com>
1860 * javax/swing/JSlider.java:
1861 (updateLabelUIs): Removed casting.
1863 2006-11-20 Mark Wielaard <mark@klomp.org>
1865 * gnu/java/util/regex/RE.java (messages): Don't initialize.
1866 (bundle): New static final String field.
1867 (getLocalizedMessage): Initialize messages when still null.
1868 * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1869 (set): Use RE.getLocalizedMessage().
1871 (setLineSeparator): Likewise.
1873 2006-11-20 Roman Kennke <kennke@aicas.com>
1875 * javax/swing/text/html/StyleSheet.java
1876 (linked): New field.
1877 (styleSheet): Replaced by linked.
1878 (addStyleSheet): Use an arraylist for simplicity.
1879 (getRule): Removed useless instantiation.
1880 (getStyleSheets): Convert array list to array.
1881 (removeStyleSheet): Use an arraylist for simplicity.
1882 (resolveStyle): Include styles from linked lists.
1884 2006-11-20 Roman Kennke <kennke@aicas.com>
1886 * javax/swing/text/BoxView.java
1887 (BoxView): Initialize with invalid req's.
1888 (forwardUpdate): Trigger repaint when children changed the
1890 (getResizeWeight): Return resizable when the pref differs from
1891 the min or the pref differs from the max size.
1892 (layoutMajorAxis): Actually sum up the preferred sizes.
1893 (paint): Made binary search more robust.
1894 (replace): Let arrays shrink when needed.
1895 (replaceLayoutArray): Let arrays shrink when needed.
1896 (setAxis): Trigger preferenceChanged.
1897 * javax/swing/text/CompositeView.java
1898 (getInsideAllocation): Call insets method to take account
1899 of overriding subclasses.
1900 * javax/swing/text/DefaultStyledDocument.java
1901 (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1902 (ElementBuffer.insertUpdate): Only remove the found element, not
1904 * javax/swing/text/GlyphView.java
1905 (insertUpdate): Pass null in preferenceChanged.
1906 (removeUpdate): Pass null in preferenceChanged.
1907 (changedUpdate): Pass null in preferenceChanged.
1908 * javax/swing/text/Utilities.java
1909 (drawTabbedText): Avoid single calls to charWidth() and instead
1910 call charsWidth() on whole chunks.
1911 * javax/swing/text/html/HTMLDocument.java
1912 (BlockElement.getName): Fall back to super when necessary.
1913 (RunElement.getName): Fall back to super when necessary.
1914 (HTMLReader.MAX_THRESHOLD): New constant field.
1915 (HTMLReader.GROW_THRESHOLD): New constant field.
1916 (HTMLReader.theshold): New field.
1917 (HTMLReader.HTMLReader): Fetch threshold from document.
1918 (HTMLReader.addContent): Sucessivly grow the threshold.
1919 (createLeafElement): Don't create two elemens and don't set
1921 * javax/swing/text/html/TableView.java
1922 (RowView.replace): Invalidate grid.
1923 (gridValid): Made package private.
1924 (layoutMinorAxis): Mark all rows as invalid.
1925 (replace): Invalidate grid.
1927 2006-11-20 Roman Kennke <kennke@aicas.com>
1929 * javax/swing/text/AbstractDocument.java
1930 (DefaultDocumentEvent.changes): Changed to be a HashMap.
1931 (DefaultDocumentEvent.modified): Made private.
1932 (DefaultDocumentEvent.THRESHOLD): New constant field.
1933 (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
1935 (DefaultDocumentEvent.addEdit): Switch to hashmap only when
1936 exceeding threshold.
1937 (DefaultDocumentEvent.getChange): Use iterative approach
1938 when we have no hashmap yet.
1939 (documentCV): Removed.
1940 (numWriters): Renamed from numWritersWaiting.
1941 (createPosition): Reformat.
1942 (getCurrentWriter): Synchronized.
1943 (readLock): Implement more straightforward.
1944 (readUnlock): Implement more straightforward.
1945 (writeLock): Implement more straightforward.
1946 (writeUnlock): Implement more straightforward.
1947 (remove): Write-lock here.
1948 (removeImpl): Don't write-lock here.
1950 2006-11-20 Roman Kennke <kennke@aicas.com>
1952 * javax/swing/JEditorPane.java
1953 (setPage): Set priority on loading thread.
1955 2006-11-20 Roman Kennke <kennke@aicas.com>
1957 * javax/swing/plaf/basic/BasicTextUI.java
1958 (RootView.paint): Avoid allocation.
1959 (cachedInsets): New field. Caches an Insets instance.
1960 (getNextVisualPositionFrom): Read-lock the document to avoid
1961 thread nastiness. Push allocation.
1962 (getPreferredSize): Push fake allocation when not yet laid out.
1963 (getVisibleEditorRect): Use cached insets.
1964 (viewToModel): Read-lock the document to avoid
1965 thread nastiness. Push allocation.
1967 2006-11-20 Roman Kennke <kennke@aicas.com>
1969 * javax/swing/text/StyleContext.java
1970 (attributeSetPool): Synchronize this map.
1971 (addAttribute): Synchronize this method.
1972 (addAttributes: Synchronize this method.
1973 (readObject): Install synchronized map on target object.
1974 (removeAttribute): Synchronize this method.
1975 (removeAttributes): Synchronize this method.
1976 (removeAttributes): Synchronize this method.
1978 2006-11-20 Roman Kennke <kennke@aicas.com>
1980 * javax/swing/text/GapContent.java
1981 (GapContentPosition.GapContentPosition): Removed constructor.
1982 (Mark): Made subclass of WeakReference to refer directly to
1983 the associated position.
1984 (Mark.refCount): Removed.
1985 (Mark.Mark(int,GapContentPosition,ReferenceQueue):
1986 New constructor. Used to reference a position and register the
1988 (Mark.Mark(index)): Call super and don't adjust mark offset.
1989 (Mark.compareTo): Removed.
1990 (Mark.equals): Removed.
1991 (Mark.getOffset): Return at least null. Removed assert.
1992 (Mark.getPosition): New helper method.
1993 (garbageMarks): New field.
1994 (positions): Removed.
1995 (searchMark): New field.
1996 (GapContent): Removed init of positions map.
1997 (addImpl): New helper method.
1998 (adjustPositionsInRange): Removed.
1999 (compare): New helper method.
2000 (createPosition): Rewritten for new datastructures. This now
2001 performs a much more efficient binary search for finding
2002 a position at the requested offste.
2003 (garbageCollect): Rewritten to collect unused marks.
2004 (getPositionsInRange): Adjusted for new data structures.
2005 (removeImpl): New helper method.
2006 (replace): Use new addImpl() and removeImpl() helper method for
2007 correctly adjusting the positions and gap.
2008 (search): Rewritten. Implements a more suitable binary search.
2009 (searchFirst): New helper method.
2010 (setPositionsInRange): Removed.
2011 (shiftEnd): Update the marks here.
2012 (shiftGap): Update the marks here.
2013 (shiftGapEndUp): Update the marks here.
2014 (shiftGapStartDown): Update the marks here.
2016 2006-11-20 Marco Trudel <mtrudel@gmx.ch>
2018 * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2019 digest algorithm implementations.
2020 (readSignatures): Parse the manifest once and reuse that data.
2021 Add support for line breaks.
2022 (verifyHashes): Use the parsed manifest entry.
2023 (readManifestEntry): Removed.
2025 2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
2027 * java/beans/beancontext/BeanContextServicesSupport.java:
2028 Added more documentation.
2029 (addService(Class,BeanContextServiceProvider,boolean)):
2030 Synchronized over global hierarchy lock.
2031 (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2032 (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2033 (childJustRemovedHook(Object,BCSChild)): Implemented.
2034 (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2036 (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2037 Added revocation-only listeners.
2038 (getBeanContextServicesPeer()): Implemented.
2039 (getCurrentServiceClasses(Class)): Synchronized over global
2041 (getCurrentServiceSelectors(Class)): Synchronized over global
2042 hierarchy lock, and fixed FIXME.
2043 (getService(BeanContextChild,Object,Class,Object,
2044 BeanContextServiceRevokedListener)): Implemented.
2045 (hasService(Class)): Synchronized over global hierarchy lock.
2046 (releaseService(BeanContextChild,Object,Object)): Implemented.
2047 (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2048 * java/beans/beancontext/BeanContextSupport.java:
2049 (remove(Object, boolean)): Documentation correction.
2051 2006-11-19 Roman Kennke <kennke@aicas.com>
2053 * javax/swing/JEditorPane.java
2054 (PageStream): New inner class.
2055 (PageLoader): New inner class.
2056 (loading): New field.
2057 (setPage): Implemented asynchronous loading.
2058 * javax/swing/text/DefaultStyledDocument.java
2059 (ElementBuffer.create): New helper method.
2060 (create): Use new ElementBuffer method instead of hack.
2061 * javax/swing/text/html/HTMLDocument.java
2062 (HTMLReader.flushImpl): New helper method.
2063 (HTMLReader.addContent): Use flushImpl().
2064 (HTMLReader.blockClose): Added null check.
2065 (HTMLReader.flush): Use flushImpl().
2066 * javax/swing/text/html/HTMLEditorKit.java
2067 (createDefaultDocument): Set load priority to 4 and token threshold
2069 * javax/swing/text/html/TableView.java
2070 (insertUpdate): Overridden to provide correct view factory.
2071 (removeUpdate): Overridden to provide correct view factory.
2072 (changedUpdate): Overridden to provide correct view factory.
2074 2006-11-19 Roman Kennke <kennke@aicas.com>
2076 * javax/swing/text/BoxView.java
2077 (clipRect): New field.
2078 (tmpRect): New field.
2079 (layout): Reorganized code. Now uses layoutAxis() helper method.
2080 (layoutAxis): New helper method.
2081 (paint): Optimized by using cached Rectangle objects and
2082 a binary search for child views inside the clip.
2083 * javax/swing/text/CompositeView.java
2084 (insideAllocation): Made private and initialized in constructor.
2085 (getInsideAllocation): Removed initialization block for
2086 insideAllocation field. Avoid unnecessary allocations.
2087 * javax/swing/text/GlyphView.java
2088 (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2089 The remaining stuff (background, underline and striking) is
2090 done in the GlpyhView itself. Avoid unnecessary allocations.
2091 (cached): A cached Segment instance.
2092 (getText): Return cached segment.
2093 (paint): Paint underline, strike and background here. Avoid
2096 2006-11-19 Roman Kennke <kennke@aicas.com>
2098 * javax/swing/text/html/StyleSheet.java
2099 (getFontSize): Removed debug output.
2100 (ListPainter.tmpRect): New field.
2101 (ListPainter.paint): Align bullet vertically centered to
2102 the first line of the paragraph.
2104 2006-11-17 Roman Kennke <kennke@aicas.com>
2106 * gnu/javax/swing/text/html/css/CSSParser.java
2107 (parseDeclaration): Trim string before reporting.
2108 * gnu/javax/swing/text/html/css/FontSize.java
2110 (isRelative): New field.
2111 (sizeIndex): New field.
2112 (FontSize): Initialize new fields.
2113 (getValue): Changed to call getValue(int).
2114 (getValue(int)): New method. Implements relative font sizes.
2115 (isRelative): New method.
2116 (mapAbsolute): Store index.
2117 (mapEM): New helper method.
2118 (mapLarger): New helper method.
2119 (mapPercent): New helper method.
2120 (mapRelative): New helper method.
2121 (mapSmaller): New helper method.
2122 (mapValue): New helper method.
2123 * javax/swing/text/html/CSS.java
2124 (parseBackgroundShorthand): Create CSSColor directly.
2125 * javax/swing/text/html/StyleSheet.java
2126 (addRule): Invalidate resolved styles.
2127 (getFont): Call new getFontSize() method to resolve relative
2129 (getFontSize): New helper method. Resolves relative font sizes.
2130 (translateHTMLToCSS): Create CSS objects directly.
2132 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2134 * gnu/java/util/regex/RETokenNamedProperty.java:
2135 (getHandler(String)): Add support for 'all'.
2137 2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
2139 * gnu/javax/management/Server.java:
2140 Initial implementation of a GNU management server.
2141 * javax/management/MBeanPermission.java,
2142 * javax/management/MBeanRegistration.java,
2143 * javax/management/MBeanTrustPermission.java:
2146 2006-11-17 Mark Wielaard <mark@klomp.org>
2148 * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2150 2006-11-17 Gary Benson <gbenson@redhat.com>
2152 * java/net/DatagramSocket.java (getLocalAddress, connect,
2153 receive): Perform security check on address not hostname.
2155 2006-11-16 Roman Kennke <kennke@aicas.com>
2157 * gnu/javax/swing/text/html/parser/support/Parser.java
2158 (_handleText): Fixed condition for consuming whitespace.
2159 Removed validator check, this is superfluous now.
2161 2006-11-16 Roman Kennke <kennke@aicas.com>
2163 * gnu/javax/swing/text/html/css/CSSParser.java
2164 (parseRuleset): Support 'combined' selectors.
2165 (main): Adapt callback for combined selectors support.
2166 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2167 (startStatement): Take selector array as argument, to
2168 support combined selectors.
2169 * javax/swing/text/html/BlockView.java
2170 (calculateMinorAxisRequirements): Fetch and apply alignment.
2171 * javax/swing/text/html/StyleSheet.java
2172 (CSSStyle): Inverted the constants for correct precedence.
2173 (CSSStyleSheetParserCallback.styles): New field. Stores the current
2175 (CSSStyleSheetParserCallback.style): Removed.
2176 (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2177 (CSSStyleSheetParserCallback.end): Push multiple styles.
2178 (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2180 2006-11-16 Roman Kennke <kennke@aicas.com>
2182 * javax/swing/text/FlowView.java
2183 (LogicalView.getPreferredSpan): Calculate maximum correctly.
2184 * javax/swing/text/GlyphView.java
2185 (tabExpander): New field.
2187 (breakView): Set tabX on broken view.
2188 (getPartialSpan): Let the painter fetch the span.
2189 (getTabbedSpan): Update the tab expander field. Maybe trigger
2191 (getTabExpander): Simply return the stored expander.
2192 * javax/swing/text/Utilities.java
2193 (getTabbedTextOffset): Made algoritm a little smarter and more
2195 (getTabbedTextWidth): Don't add single char widths, instead add
2196 chunks of characters.
2197 * javax/swing/text/html/ParagraphView.java
2198 (calculateMinorAxisRequirements): Adjust margin only when the
2199 CSS span is not fixed.
2201 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2203 * java/beans/beancontext/BeanContextSupport.java
2204 (getChildBeanContextMembershipListener): Implemented,
2205 (getChildPropertyChangeListener): Implemented,
2206 (getChildSerializable): Implemented,
2207 (getChildVetoableChangeListener): Implemented,
2208 (getChildVisibility): Implemented,
2209 (setDesignTime): Use same property name as Sun's implementation.
2211 2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
2213 * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2214 * java/beans/Statement.java
2215 (toString): Updated to match reference implementation.
2217 2006-11-15 Roman Kennke <kennke@aicas.com>
2219 * javax/swing/text/html/HTMLEditorKit.java
2220 (InsertHTMLTextAction.actionPerformed): Also try inserting
2221 the alternate tag. Adjust the selection accordingly.
2222 (InsertHTMLTextAction.adjustSelection): New helper method.
2223 Adjusts the selection after an insertion.
2224 (insertAtBoundary): Delegate to deprecated method.
2225 (insertAtBoundry): Implemented missing method.
2226 (tryInsert): New helper method.
2227 (defaultActions): Implemented to fill the array with
2228 a couple of InsertHTMLTextActions.
2230 2006-11-15 Roman Kennke <kennke@aicas.com>
2232 * javax/swing/text/html/ImageView.java
2233 (Observer): New class. Observes image loading.
2234 (haveHeight): New field.
2235 (haveWidth): New field.
2236 (height): New field.
2239 (imageIcon): New field.
2240 (loading): New field.
2241 (observer): New field.
2242 (reloadImage): New field.
2243 (reloadProperties): New field.
2244 (ImageView): Initialize observer and some flags.
2245 (getImage): Update the image state and return the image.
2246 (loadImage): New helper method. Actually starts loading.
2247 (paint): Rewritten to paint the image directly, not via Icon.
2248 (reloadImage): Rewritten. Loads the image and its properties.
2249 (renderIcon): Removed. No more necessary.
2250 (setPropertiesFromAttributes): Don't nullify image here.
2251 Added comment about missing impl.
2252 (setSize): Added comment about missing impl.
2253 (updateSize): New helper method. Updates the size attributes.
2254 (updateState): New helper method. Makes sure the image
2255 and its properties are valid.
2257 2006-11-15 Roman Kennke <kennke@aicas.com>
2259 * gnu/javax/swing/text/html/parser/support/Parser.java
2260 (_handleEndTag_remaining): Consume whitespace after a closing
2263 2006-11-15 Roman Kennke <kennke@aicas.com>
2265 * javax/swing/text/html/HTMLDocument.java
2266 (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2268 (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2270 (HTMLReader.parseStack): Removed.
2271 (HTMLReader.blockClose): Simply call addContent() with ' '
2272 instead of doing more complicated stuff. Removed parseStack
2274 (HTMLReader.blockOpen): Removed parseStack handling.
2275 (getInsertingReader): Removed parseStack init.
2276 * gnu/javax/swing/text/html/parser/htmlValidator.java
2277 (closeTag): Return true only when the tag actually should be
2279 * gnu/javax/swing/text/html/parser/support/Parser.java
2280 (_handleEndTag): Only actually close the tag when the validator
2283 2006-11-15 Roman Kennke <kennke@aicas.com>
2285 * javax/swing/text/html/CSS.java
2286 (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2288 * javax/swing/text/html/StyleSheet.java
2289 (BoxPainter.bottomPadding): New field.
2290 (BoxPainter.leftPadding): New field.
2291 (BoxPainter.rightPadding): New field.
2292 (BoxPainter.topPadding): New field.
2293 (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2295 (BoxPainter.getInset): Recognize and include the padding.
2296 (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2297 javax/swing/text/html/TableView.java
2298 (RowView.calculateMajorAxisRequirements): Adjust req's for
2300 (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2301 (cellSpacing): New field.
2302 (columnRequirements): Made package private to avoid accessor method.
2303 (calculateMinorAxisRequirements): Include cellSpacing.
2304 (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2305 (layoutMajorAxis): Likewise.
2306 (layoutColumns): Respect cellSpacing.
2307 (setParent): Overridden to fetch the CSS attributes when view gets
2309 (setPropertiesFromAttributes): New method. Fetches the cell
2310 spacing from the CSS attributes.
2312 2006-11-15 Roman Kennke <kennke@aicas.com>
2314 * gnu/javax/swing/text/html/parser/support/Parser.java
2315 (_handleText): Consume whitespace directly before a closing tag.
2316 (restOfTag): Consume whitespace directly after opening.
2317 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2318 (preprocess): Don't perform array boundary checking by
2319 catch AIOOBE, instead check the boundary in loop condition.
2320 * gnu/javax/swing/text/html/parser/support/low/Constants.java
2321 (TAG_CLOSE): New constants. Describes the token pattern for
2324 2006-11-14 Roman Kennke <kennke@aicas.com>
2326 * javax/swing/text/html/ImageView.java
2327 (getPreferredSpan): Use CSS length values.
2328 * javax/swing/text/html/TableView.java
2329 (CellView.calculateMajorAxisRequirements): Overridden to
2330 set the maximum reqs to maximum.
2331 (RowView.getMaximumSize): For the X_AXIS, set the maximum
2333 (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2334 the total column reqs.
2335 (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2336 the total column reqs.
2337 * gnu/javax/swing/text/html/css/CSSColor.java
2338 (convertValue): Catch NumberFormatExceptions for more robustness.
2339 * gnu/javax/swing/text/html/css/FontSize.java
2340 (mapPixels): Actually map px values. Catch NFE for more robustness.
2342 2006-11-14 Roman Kennke <kennke@aicas.com>
2344 * gnu/java/awt/font/autofit/AxisHints.java,
2345 * gnu/java/awt/font/autofit/Constants.java,
2346 * gnu/java/awt/font/autofit/GlyphHints.java,
2347 * nu/java/awt/font/autofit/Latin.java,
2348 * nu/java/awt/font/autofit/LatinAxis.java,
2349 * gnu/java/awt/font/autofit/LatinMetrics.java,
2350 * gnu/java/awt/font/autofit/Scaler.java,
2351 * gnu/java/awt/font/autofit/Script.java,
2352 * gnu/java/awt/font/autofit/ScriptMetrics.java,
2353 * gnu/java/awt/font/autofit/Segment.java,
2354 * gnu/java/awt/font/autofit/Width.java:
2355 New classes. This is some skeleton stuff for the FreeType-alike
2357 * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2358 * gnu/java/awt/font/opentype/OpenTypeFont.java
2359 (unitsPerEm): Made field public.
2360 (getRawGlyphOutline): New method. Fetches the raw outline.
2361 * gnu/java/awt/font/opentype/Scaler.java
2362 (getRawGlyphOutline): New method. Fetches the raw outline.
2363 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2364 (loadGlyph): New method. This is used to load raw outlines.
2365 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2366 (getRawOutline): New method. Fetches the raw outline.
2367 * gnu/java/awt/font/opentype/truetype/Zone.java:
2370 2006-11-14 Roman Kennke <kennke@aicas.com>
2372 * javax/swing/RepaintManager.java
2373 (RepaintManager): Fetch the default state for the double buffering
2374 from a system property gnu.swing.doublebuffering.
2376 2006-11-14 Roman Kennke <kennke@aicas.com>
2378 * javax/swing/plaf/basic/BasicLabelUI.java
2379 (cachedInsets): New field.
2380 (getFontMetrics): New helper method. Fetches the font metrics
2381 from the component or the toolkit.
2382 (getPreferredSize): Use getFontMetrics() helper method for
2383 fetching the font metrics.
2384 (paint): Use getFontMetrics() helper method for
2385 fetching the font metrics. Only paint if icon or text
2386 are != null. Use cached insets.
2387 (paintDisabledText): Don't store/restore color object. The
2388 JComponent painting mechanism takes care of this by calling
2390 (paintEnabledText): Don't store/restore color object. The
2391 JComponent painting mechanism takes care of this by calling
2394 2006-11-14 Roman Kennke <kennke@aicas.com>
2396 * gnu/java/awt/peer/GLightweightPeer.java
2397 (handleEvent): Try to do something reasonable and trigger painting
2398 for the lightweight component.
2399 (getFontMetrics): Fetch and return a font metrics object from
2402 2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
2404 * gnu/java/util/regex/RETokenNamedProperty.java:
2405 (getHandler(String)): Add support for 'all'.
2407 2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
2409 * AUTHORS: Add myself.
2411 2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2413 * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2414 Dalibor Topic. Re-order 'K' section. Remove trailing space from
2415 Roman Kennke's entry.
2417 2006-11-13 Roman Kennke <kennke@aicas.com>
2419 * java/awt/image/IndexColorModel.java
2420 (createCompatibleSampleModel): Implemented missing method.
2422 2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
2424 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2425 from big endian systems correctly.
2427 2006-11-11 Roman Kennke <kennke@aicas.com>
2429 * gnu/javax/swing/text/html/css/CSSColor.java
2430 (isValidColor): New helper method. Checks strings if they
2431 form a valid color value.
2432 * gnu/javax/swing/text/html/css/Length.java
2433 (Length): Catch number format exceptions.
2434 * javax/swing/text/html/CSS.java
2435 (addInternal): New method. Checks for shorthand CSS attributes
2437 (parseBackgroundShorthand): New method. Parses the background
2438 shorthand attribute.
2439 * javax/swing/text/html/HTMLDocument.java
2440 (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2441 (HTMLReader.LinkAction.start): Implemented to load the linked
2443 (HTMLReader.LinkAction.end): Removed. This is not needed.
2444 * javax/swing/text/html/StyleSheet.java
2445 (CSSStyleSheetParserCallback.declaration): Push declaration
2446 through CSS.addInternal() to parse shorthand attributes.
2447 (addCSSAttribute): Push declaration through CSS.addInternal()
2448 to parse shorthand attributes.
2449 (importStyleSheet): Implemented. This adds a stylesheet from
2451 * javax/swing/text/html/TableView.java
2452 (calculateColumnRequirements): Increase column index for
2453 non CellView children to avoid endless loop.
2454 * javax/swing/text/CompositeView.java
2455 (setParent): Comparen with numChildren not with real arraylength.
2457 2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
2459 * java/beans/beancontext/BeanContextSupport.java
2460 (getChildBeanContextChild): Implemented.
2462 2006-11-10 Roman Kennke <kennke@aicas.com>
2464 * javax/swing/text/View.java
2465 (updateLayout): Only repaint when needed.
2467 2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
2469 * java/util/Collections.java
2470 (sort(List)): Minor API doc addition,
2471 (sort(List, Comparator)): Likewise.
2473 2006-11-10 David Fu <fchoong@netbeans.jp>
2475 * javax/swing/text/html/HTMLWriter.java
2476 (traverse): Removed Classpath specific handling of implied
2478 (traverseHtmlFragment): Removed Classpath specific handling of
2481 2006-11-10 Roman Kennke <kennke@aicas.com>
2483 * javax/swing/text/ParagraphView.java
2484 (Row.getMaximumSize): Removed. This method is not necessary.
2485 * javax/swing/text/html/TableView.java
2486 (CellView): Moved attribute init to setPropertiesFromAttributes().
2487 (setPropertiesFromAttributes): Fetch attributes here.
2488 (RowView.RowView): Documented.
2489 (RowView.getMaximumSpan): Overridden to restrict the max span
2491 (RowView.layoutMajorAxis): Correctly layout the spans.
2492 (columnWidths): New field. Stores the width attributes of
2494 (calculateColumnRequirements): Added support for relative
2495 (== percent) width attributes.
2496 (calculateMajorAxisRequirements): Removed.
2497 (calculateMinorAxisRequirements): Removed unnecessary code.
2498 (getMaximumSpan): Overridden to restrict the table's width.
2499 (layoutColumns): Documented. Implement more clever table layout,
2500 i.e. for relative columns etc.
2501 (layoutMinorAxis): Don't mark rows invalid.
2502 (updateGrid): Added docs. Initialize column widths.
2504 2006-11-09 Roman Kennke <kennke@aicas.com>
2506 * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2507 * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2508 Implement basic headless toolkit.
2509 * java/awt/Toolkit.java
2510 (getDefaultToolkit): Check headless property and create
2511 headless toolkit when true.
2513 2006-11-09 Ingo Proetel <proetel@aicas.com>
2514 2006-11-09 Roman Kennke <kennke@aicas.com>
2516 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2517 (SwingButton.button): New field.
2518 (SwingButton.SwingButton): Added constructor.
2519 (SwingButton.isShowing): Access button field instead of
2520 the surrounding class.
2521 (SwingButton.getParent): Access button field instead of
2522 the surrounding class.
2523 (SwingButtonPeer): Call new SwingButton constructor.
2524 * gnu/java/awt/peer/swing/SwingComponent.java:
2525 Several documentation updates.
2526 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2527 (currentPaintEvents): New field.
2528 (peerFont): New field.
2529 (SwingComponentPeer): Initialize currentPaintEvents fields.
2530 (coalescePaintEvents): Implemented.
2531 (dispose): Unregister peer from heavyweight list of its container.
2532 (getGraphics): Fetch graphics from parent component.
2533 (handleEvent): Discard paint event if its coalesced.
2534 (init): Register component with its container for proper painting.
2535 (paint): Call peerPaint().
2536 (peerPaint): Added argument that indicates if we should update.
2537 Call paint or update on the actual AWT component.
2538 (peerPaintComponent): New method. Paints the peer (Swing) component.
2539 (setFont): Set peerFont field.
2540 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2541 (backbuffer): New field.
2542 (focusOwner): New field.
2543 (heavyweightDescendents): New field.
2544 (SwingContainerPeer): Take Container as argument. Don't call init
2546 (addHeavyweightDescendent): New method.
2547 (getFocusOwner): New helper method.
2548 (getInsets): Delegate to insets().
2549 (handleKeyEvent): Dispatch event to focus owner.
2550 (handleMouseEvent): Dispatch to child component.
2551 (isDoubleBuffering): New helper method.
2552 (peerPaint): Overridden to implement container painting with
2554 (peerPaintChildren): New method. Paints the descendents of this
2556 (removeHeavyweightDescendent): New helper method.
2557 * gnu/java/awt/peer/swing/SwingFramePeer.java
2558 (peerPaint): Removed.
2559 (peerPaintComponent): Overridden to paint the menu bar.
2560 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2561 (SwingLabel.label): New field.
2562 (SwingLabel.SwingLabel): Added constructor with Label argument.
2563 (SwingLabel.getGraphics): Implemented to fetch the graphics from
2564 the actual AWT component.
2565 (SwingLabel.getParent): Implemented to fetch the parent from
2567 (SwingLabel.isShowing): Access the label field.
2568 (SwingLabelPeer): Set alignment from label.
2569 * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2570 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2572 * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2573 Don't be a lighweight peer.
2574 (SwingPanelPeer): Call init.
2575 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2576 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2577 (SwingTextField.textField): New field.
2578 (SwingTextField.SwingTextField): New constructor.
2579 (SwingTextField.isShowing): Access field not enclosing class.
2580 (SwingTextField.getGraphics): New method.
2581 (SwingTextField.getParent): New method.
2582 (SwingTextFieldPeer): Call new constructor.
2583 (select): Renamed arguments.
2584 * gnu/java/awt/peer/swing/SwingWindowPeer.java
2585 (SwingWindowPeer): Call init.
2587 2006-11-09 Tania Bento <tbento@redhat.com>
2589 * javax/swing/JLabel.java
2590 (JLabel(Icon)): Changed documentation; Changed text to null.
2591 (JLabel(Icon,int)): Likewise.
2592 (JLabel(text)): Changed documenation.
2593 (JLabel(text,int)): Likewise.
2594 (JLabel(text,Icon,int)): Changed documentation; Throw
2595 IllegalArgumentException if int is not one of LEFT, RIGHT,
2596 CENTER, LEADING or TRAILING.
2598 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2600 * java/beans/beancontext/BeanContextSupport.java
2601 (BeanContextSupport): Use correct dtime default,
2602 (BeanContextSupport(BeanContext)): Likewise,
2603 (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2605 (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2606 (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2608 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2610 * java/beans/beancontext/BeanContextSupport.java
2611 (getBeanContextPeer): Implemented.
2613 2006-11-09 Roman Kennke <kennke@aicas.com>
2615 * javax/swing/text/html/BlockView.java
2616 (cssHeight): Removed.
2617 (cssWidth): Removed.
2618 (cssSpans): New field. Replaces the two fields above.
2619 (BlockView): Allocate cssSpans array.
2620 (layoutMinorAxis): Fetch and use child span, not this view's span.
2621 (setCSSSpan): Adjusted to use cssSpans array.
2622 (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2624 2006-11-09 Roman Kennke <kennke@aicas.com>
2626 * javax/swing/text/html/InlineView.java
2627 (nowrap): New field.
2628 (getBreakWeight): Add support for nowrap.
2629 (setPropertiesFromAttributes): Fetch the nowrap setting.
2631 2006-11-09 Roman Kennke <kennke@aicas.com>
2633 * gnu/javax/swing/text/html/css/CSSParser.java
2634 (parseRuleset): Use new Selector class.
2635 (parseValue): Parse multiple anys, not only one.
2636 (main): Allow stylesheet be specified on the command line.
2637 Use new Selector class.
2638 * gnu/javax/swing/text/html/css/CSSParserCallback.java
2639 (startStatement): Use Selector class.
2640 * gnu/javax/swing/text/html/css/CSSScanner.java
2641 (readName): Actually read a character in the loop to avoid
2643 * gnu/javax/swing/text/html/css/Length.java
2644 (getValue): Only multiply when we have a percentage value.
2645 * gnu/javax/swing/text/html/css/Selector.java:
2646 New class. Provides handling of CSS selectors.
2647 * javax/swing/text/html/StyleSheet.java
2648 (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2649 (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2650 (CSSStyle.PREC_NORM): New constant field.
2651 (CSSStyle.PREC_UA): New constant field.
2652 (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2653 (CSSStyle.precedence): New field.
2654 (CSSStyle.priority): Removed.
2655 (CSSStyle.selector): New field.
2656 (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2658 (CSSStyle.compareTo): Adjusted to use the precedence and
2659 specificity of the selector.
2660 (CSSStyleSheetParserCallback.precedence): New field.
2661 (CSSStyleSheetParserCallback.selector): Removed.
2662 (CSSStyleSheetParserCallback.style): New field.
2663 (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2664 Initialize with precedence.
2665 (CSSStyleSheetParserCallback.declaration): Don't look up
2666 existing rule, simply create new one.
2667 (CSSStyleSheetParserCallback.endStatement): Append style
2669 (CSSStyleSheetParserCallback.startStatement): Use new Selector
2671 (css): Changed to be ArrayList.
2672 (addRule): Create parser with author-normal precendence.
2673 (getRule): Fixed implementation.
2674 (loadRules): Create parser with UA precendence.
2675 (resolveStyle): Use Selector class for resolving and matching
2677 (translateHTMLToCSS): Added mappings for a couple of HTML
2680 2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
2683 * java/beans/SimpleBeanInfo.java
2684 (loadImage): Check for nulls.
2686 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2688 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2689 (getpeername): Added 16 byte offset to memcpy operation.
2691 2006-11-09 Robert Schuster <robertschuster@fsfe.org>
2693 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2694 (getsockname): Added 16 byte offset to memcpy operation.
2696 2006-11-08 Mark Wielaard <mark@klomp.org>
2699 * java/io/OutputStreamWriter.java
2700 (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2701 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2703 2006-11-08 Roman Kennke <kennke@aicas.com>
2705 * javax/swing/text/html/HTMLEditorKit.java
2706 (getParser): Use plain HTML_401F DTD.
2707 * javax/swing/text/html/HTMLDocument.java
2708 (HTMLReader.print): Removed method and all calls to it.
2709 (HTMLReader.printBuffer): Removed method and all calls to it.
2710 (HTMLReader.inImpliedParagraph): New field.
2711 (HTMLReader.inParagraph): New field.
2712 (HTMLReader.addContent): Create implied p-tag if necessary.
2713 (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2714 (HTMLReader.blockClose): Close implied p-tag if necessary.
2715 (HTMLReader.blockOpen): Close implied p-tag if necessary.
2716 * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2718 2006-11-08 Roman Kennke <kennke@aicas.com>
2720 * javax/swing/text/html/HTMLEditorKit.java
2721 (HTMLFactory.create): Removed mapping for TD tag. This
2722 is done in TableView.
2723 * javax/swing/text/html/TableView.java:
2724 Implemented from scratch.
2726 2006-11-07 Roman Kennke <kennke@aicas.com>
2728 * gnu/javax/swing/text/html/parser/support/Parser.java
2729 (_handleText): Check if text content is actually allowed before
2730 passing empty text fragments on to the parser callbacks.
2732 2006-11-07 Mark Wielaard <mark@klomp.org>
2734 * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2738 2006-11-07 Tania Bento <tbento@redhat.com>
2740 * java/awt/FlowLayout.java
2741 (getSize): If parent does not have a component, then a
2742 different formula is used to calcuate the width.
2744 2006-11-07 Roman Kennke <kennke@aicas.com>
2746 * javax/swing/text/html/HTMLEditorKit.java
2747 (HTMLFactory.create): Include ListView.
2748 * javax/swing/text/html/ListView.java
2749 (paint): Removed comment.
2750 * javax/swing/text/html/StyleSheet.java
2751 (CSSStyle.priority): New field.
2752 (CSSStyle.CSSStyle(int)): New constructor with priority.
2753 (CSSStyle.compareTo): New method. Used for sorting the styles.
2754 (CSSStyleSheetParserCallback.declaration): Store the style
2755 with the complete selector.
2756 (ListPainter.attributes): Renamed as field.
2757 (ListPainter.styleSheet): New field.
2758 (ListPainter.type): New field.
2759 (ListPainter.ListPainter): Pass StyleSheet to constructor.
2760 (ListPainter.paint): Provide simplistic implementation.
2761 (getListPainter): Pass StyleSheet to constructor.
2762 (resolveStyle): Fixed CSS style resolving.
2764 2006-11-07 Roman Kennke <kennke@aicas.com>
2766 * gnu/javax/swing/text/html/css/BorderWidth.java:
2767 New class. Handles CSS border width values.
2768 * gnu/javax/swing/text/html/css/Length.java
2769 (floatValue): Made protected so that BorderWidth can access it.
2770 * javax/swing/text/html/CSS.java
2771 (Attribute.BORDER_BOTTOM_COLOR): New static field.
2772 (Attribute.BORDER_BOTTOM_STYLE): New static field.
2773 (Attribute.BORDER_LEFT_COLOR): New static field.
2774 (Attribute.BORDER_LEFT_STYLE): New static field.
2775 (Attribute.BORDER_RIGHT_COLOR): New static field.
2776 (Attribute.BORDER_RIGHT_STYLE): New static field.
2777 (Attribute.BORDER_TOP_COLOR): New static field.
2778 (Attribute.BORDER_TOP_STYLE): New static field.
2779 (getValue): Added some mappings for the border color and
2780 border width values.
2781 * javax/swing/text/html/CSSBorder.java: New class. Implements
2783 * javax/swing/text/html/StyleSheet.java
2784 (BoxPainter.background): New field.
2785 (BoxPainter.border): New field.
2786 (BoxPainter.bottomInset): Documented.
2787 (BoxPainter.leftInset): Documented.
2788 (BoxPainter.rightInset): Documented.
2789 (BoxPainter.topInset): Documented.
2790 (BoxPainter.BoxPainter): Added support for borders and background.
2791 (BoxPainter.getInset): Add border insets.
2792 (BoxPainter.paint): Implemented. Paints the background and the
2794 (addRule): Be less picky about parse and IO exceptions.
2795 (getBoxPainter): Adjust to new BoxPainter constructor.
2797 2006-11-07 Andreas <a.tobler@schweiz.org>
2799 * examples/Makefile.am: Add rule to install the *.html files we use
2802 2006-11-06 Francis Kung <fkung@redhat.com>
2804 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2805 (fillRect): Handle custom composites.
2806 (drawRenderedImage): Handle custom composites.
2807 (drawImage): Handle custom composites.
2808 (createBuffer): New method.
2809 (drawLine): Handle custom composites.
2810 (drawComposite): New method.
2811 (fill): Handle custom composites.
2812 (getNativeCM): New method.
2813 (drawGlyphVector): Handle custom composites.
2814 (drawRect): Handle custom composites.
2815 (draw): Handle custom composites.
2816 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2817 (drawComposite): Unset composite during draw call, to prevent parent
2818 from handling composite again.
2819 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2820 (getBufferCM): Added comments.
2821 (getNativeCM): Made abstract.
2822 (setComposite): Removed comments.
2824 2006-11-06 Roman Kennke <kennke@aicas.com>
2826 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2827 Fixed initial window size and start document.
2829 2006-11-06 Roman Kennke <kennke@aicas.com>
2831 * javax/swing/text/html/HTMLDocument.java
2832 (HTMLReader.addSpecialElement): Removed comment about
2834 (HTMLReader.handleComment): Create SimpleAttributeSet instead
2835 of htmlAttributeSet.
2836 * javax/swing/text/html/parser/DocumentParser.java
2837 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2838 of htmlAttributeSet.
2839 * javax/swing/text/html/parser/ParserDelegator.java
2840 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2841 of htmlAttributeSet.
2842 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2843 (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2844 of htmlAttributeSet.
2845 * gnu/javax/swing/text/html/parser/support/Parser.java
2846 (getAttributes): Return a SimpleAttributeSet.
2847 (restOfTag): Don't set resolving parent here.
2849 2006-11-06 Tania Bento <tbento@redhat.com>
2851 * java/awt/TextComponent.java
2852 (setSelectionStart): Added check.
2854 2006-11-06 Tania Bento <tbento@redhat.com>
2856 * java/awt/TextField.java
2857 (minimumSize(int)): Check if minimum size has been previously
2858 set and changed values of Dimension returned if peer == null.
2859 (preferredSize(int)): Check if preferred size has been previously
2860 set and changed values of Dimension returned if peer == null.
2862 2006-11-06 Roman Kennke <kennke@aicas.com>
2864 * javax/swing/JTree.java
2865 (TreeModelHandler.treeNodesRemoved): Implemented.
2866 (TreeModelHandler.treeStructureChanged): Implemented.
2867 (nodeStates): Made package private.
2869 2006-11-06 Francis Kung <fkung@redhat.com>
2872 * javax/swing/JTree.java
2873 (clearSelectionPathStates): New private method to clean up nodeStates.
2874 (removeSelectionPath): Call clearSelectionPathStates().
2875 (removeSelectionPaths): Call clearSelectionPathStates().
2876 (removeSelectionRow): Call clearSelectionPathStates().
2877 (setSelectionPath): Call clearSelectionPathStates().
2878 (setSelectionPaths): Call clearSelectionPathStates().
2879 (setSelectionRow): Call clearSelectionPathStates().
2881 2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
2884 * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2886 2006-11-06 Roman Kennke <kennke@aicas.com>
2888 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2889 Changed to implement a minimalistic browser.
2890 * examples/gnu/classpath/examples/swing/forms.html,
2891 * examples/gnu/classpath/examples/swing/textstyles.html,
2892 * examples/gnu/classpath/examples/swing/welcome.html:
2893 Some example content.
2895 2006-11-06 Roman Kennke <kennke@aicas.com>
2897 * javax/swing/text/ComponentView.java
2898 (setParent): Lock the document and repaint the hosting
2900 * javax/swing/text/FlowView.java
2901 (FlowStrategy.createView): Removed comment.
2902 (FlowView): Initialize span with Short.MAX_VALUE.
2903 (getFlowStart): Return 0 unconditionally.
2904 (layout): Moved code around to make it more readable.
2905 (loadChildren): Always set the parent.
2906 * javax/swing/text/GlyphView.java
2907 (DefaultGlyphPainter.fontMetrics): New field.
2908 (DefaultGlyphPainter.getAscent): Use new helper method to
2909 synchronize the font metrics.
2910 (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2911 to synchronize the font metrics.
2912 (DefaultGlyphPainter.getDescent): Use new helper method to
2913 synchronize the font metrics.
2914 (DefaultGlyphPainter.getHeight): Use new helper method to
2915 synchronize the font metrics.
2916 (DefaultGlyphPainter.getSpan): Use new helper method to
2917 synchronize the font metrics.
2918 (DefaultGlyphPainter.modelToView): Use new helper method to
2919 synchronize the font metrics.
2920 (DefaultGlyphPainter.updateFontMetrics): New helper method for
2921 font metrics caching.
2922 (DefaultGlyphPainter.viewToModel): Use new helper method to
2923 synchronize the font metrics. Fixed view to model mapping.
2924 * javax/swing/text/View.java
2925 (removeAll): Pass null to replace().
2926 (setParent): Only reparent children that have this view as parent.
2928 2006-11-05 Mark Wielaard <mark@klomp.org>
2930 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
2931 * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
2932 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
2934 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
2936 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
2937 Remove gnu_java_nio_channels_FileChannelImpl.c.
2939 2006-11-03 Roman Kennke <kennke@aicas.com>
2941 * javax/swing/text/html/BlockView.java
2942 (attributes): New field.
2943 (cssHeight): New field.
2944 (cssWidth): New field.
2945 (painter): New field.
2946 (calculateMajorAxisRequirements): Overridden to account for
2948 (calculateMinorAxisRequirements): Overridden to account for
2950 (layoutMinorAxis): Overridden to account for CSS settings.
2951 (changedUpdate): Formatting fixlet.
2952 (constrainSize): New helper method.
2953 (getAlignment): Fix alignment.
2954 (getAttributes): Cache attributes for better performance.
2955 (getStyleSheet): Fetch stylesheet from document rather than creating
2957 (paint): Remove comment.
2958 (setCSSSpan): New helper method.
2959 (setPropertiesFromAttributes): Implemented to fetch the
2960 recognized properties.
2961 * javax/swing/text/html/CSS.java
2962 (getValue): Added mapping for width and height attributes.
2963 * javax/swing/text/html/InlineView.java
2964 (longestWord): New field.
2965 (getLongestWord): New helper method.
2966 (calculateLongestWord): New helper method.
2967 (getMinimumSpan): Overridden to constrain the minimum span by the
2969 * javax/swing/text/html/ParagraphView.java
2970 (cssHeight): New field.
2971 (cssWidth): New field.
2972 (calculateMinorAxisRequirements): Overridden to account for
2974 (setCSSSpan): New helper method.
2975 (setPropertiesFromAttributes): Fetch CSS width and height. Added
2977 * gnu/javax/swing/text/html/css/Length.java
2978 (percentage): New field.
2979 (Length): Determine percentage values.
2980 (getValue(float)): New method for handling percentage values.
2981 (isPercentage): New method.
2983 2006-11-03 Tania Bento <tbento@redhat.com>
2985 * java/awt/TextArea.java
2986 (getMinimumSize): Changed documentation.
2987 (getPreferredSize): Changed documentation.
2988 (getMinimumSize(int,int)): Changed documenation.
2989 (getPreferredSize(int,int)): Changed documenation.
2990 (minimumSize): Changed documentation.
2991 (preferredSize): Changed documenation.
2992 (minimumSize(int,int)): Changed documentation. Checked if
2993 minimum size had been previously set and changed values of
2994 Dimension returned if peer == null.
2995 (preferredSize(int, int)): Checked if preferred size had been
2996 previously set and changed values of Dimension returned if
2999 2006-11-03 Tania Bento <tbento@redhat.com>
3001 * java/awt/event/ComponentEvent.java
3002 (paramString): Changed format of string representation returned.
3004 2006-11-03 Roman Kennke <kennke@aicas.com>
3006 * javax/swing/text/html/HTMLDocument.java
3007 (HTMLReader.FormAction.start): Added support for textarea.
3008 (HTMLReader.FormAction.end): Added support for textarea.
3009 (HTMLReader.HeadAction.end): Call super to actually close the
3011 (HTMLReader.inTextArea): New field.
3012 (HTMLReader.textAreaDocument): New field.
3013 (HTMLReader.handleText): Call textAreaContent when inside
3015 (HTMLReader.textAreaContent): Implemented to initialize
3016 the text area's model.
3017 * javax/swing/text/html/FormView.java
3018 (createComponent): Added support for textarea tag.
3020 2006-11-03 Roman Kennke <kennke@aicas.com>
3022 * javax/swing/text/html/HTMLDocument.java
3023 (HTMLReader.IsindexAction.start): Implemented.
3025 2006-11-03 Roman Kennke <kennke@aicas.com>
3027 * javax/swing/text/html/StyleSheet.java
3028 (addRule): Implemented.
3029 * javax/swing/text/html/HTMLDocument.java
3030 (HTMLReader.inStyleTag): New field.
3031 (HTMLReader.styles): New field.
3032 (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3034 (HTMLReader.StyleAction.start): Set inStyleTag flag.
3035 (HTMLReader.StyleAction.end): Set inStyleTag flag.
3036 (HTMLReader.handleText): When inside a style tag, add
3037 content to the styles array.
3039 2006-11-02 Roman Kennke <kennke@aicas.com>
3041 * javax/swing/text/html/FormView.java
3042 (maxIsPreferred): New field.
3043 (createComponent): Initialize components correctly.
3044 (getMaximumSpan): Return the preferred span for components
3045 that need this. The maxIsPreferred flag is set accordingly
3047 * javax/swing/text/html/HTMLDocument.java
3048 (HTMLReader.FormAction.start): Implemented to set the
3049 correct model as attribute.
3050 (HTMLReader.FormAction.setModel): New helper method.
3051 (HTMLReader.FormAction.end): Call super to finish the element.
3052 Added TODO about things left to do.
3053 (HTMLReader.handleComment): Use SimpleAttributeSet rather
3054 than htmlAttributeSet.
3055 * javax/swing/text/html/HTMLEditorKit.java
3056 (HTMLFactory.create): Create BlockView for FORM tags.
3057 Create FormView for INPUT, TEXTAREA and SELECT tags.
3059 2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
3061 * java/awt/geom/GeneralPath.java: API doc fixes.
3063 2006-11-02 Roman Kennke <kennke@aicas.com>
3065 * javax/swing/text/html/ImageView.java
3066 (getImageURL): Fetch attribute from element. Consider the
3067 base URL for relative image locations.
3069 2006-11-02 Roman Kennke <kennke@aicas.com>
3071 * javax/swing/JEditorPane.java
3072 (setContentType): Strip off attributes.
3073 * javax/swing/text/html/HTMLEditorKit.java
3074 (LinkController.activateLink(int,JEditorPane,int,int): New
3075 method. Implements activation of a hyperlink.
3076 (LinkController.activateLinke(int,JEditorPane)): Delegate
3077 to the other activateLink() method.
3078 (LinkController.createHyperlinkEvent): New helper method.
3079 (LinkController.mouseClicked): Implemented to activate the link.
3080 (LinkController.mouseDragged): Added comment that this
3081 method does nothing.
3082 (LinkController.mouseMoved): Update cursor for hyperlinks.
3083 (mouseHandler): Renamed field to linkController.
3084 (HTMLEditorKit): Create a link controller.
3085 (clone): Give the clone a new link controller.
3086 (deinstall): De-install link controller as mouseMotionListener too.
3087 (install): Install link controller as mouseMotionListener too.
3089 2006-11-02 Roman Kennke <kennke@aicas.com>
3092 * javax/swing/text/FlowView.java
3093 (FlowStrategy.changedUpdate): Reversed condition. This caused
3094 wrong layout and bad performance.
3095 (FlowStrategy.insertUpdate): Reversed condition. This caused
3096 wrong layout and bad performance.
3097 (FlowStrategy.removeUpdate): Reversed condition. This caused
3098 wrong layout and bad performance.
3099 (LogicalView): Changed to be a subclass of CompositeView.
3100 (LogicalView()): Only take one Element argument.
3101 (LogicalView.childAllocation): New method for implementing
3102 the abstract CompositeView method.
3103 (LogicalView.forwardUpdateToView): Overridden for correct
3105 (getMinimumSpan): Overridden to handle line breaking correctly.
3106 (getPreferredSpan): Implemented to handle line breaking correctly.
3107 (getViewAtPoint): New method for implementing
3108 the abstract CompositeView method.
3109 (getViewIndexAtPosition): Overridden to handle leaf elements
3111 (isAfter): New method for implementing
3112 the abstract CompositeView method.
3113 (isBefore): New method for implementing
3114 the abstract CompositeView method.
3115 (loadChildren): Overridden to handle leaf elements
3117 (paint): New method for implementing
3118 the abstract CompositeView method.
3119 (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3120 (loadChildren): Initialize flow layout by sending a synthetic
3121 insertUpdate() to the layout strategy.
3122 * javax/swing/text/GlyphView.java
3123 (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3124 font metrics if component is not available. Add initial offset
3126 (breakView): Be more clever when breaking the view.
3127 (getBreakLocation): New helper method to determine a good
3129 (getBreakWeight): Be more clever when breaking the view.
3130 (getTabbedSpan): Make sure we have a painter. Use view's
3131 start and end offset rather than the element's.
3132 * javax/swing/text/Utilities.java
3133 (drawTabbedText): Avoid useless add and sub with the y offset.
3135 2006-11-02 Roman Kennke <kennke@aicas.com>
3138 * gnu/java/awt/peer/ClasspathFontPeer.java
3139 (getStringBounds): Removed abstract method. This is replaced
3140 in java.awt.Font to use a TextLayout.
3141 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3142 (GtkWindowPeer): Set a font on the window object.
3143 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3144 (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3145 Changed to take char,int,int instead of String. Filter
3147 (FreetypeGlyphVector(Font,String,FontRenderContext)):
3148 Create char array out of string.
3149 (getLogicalBounds): Don't translate bounds. They already are
3151 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3152 (stringWidth): Filter out control characters.
3153 * gnu/java/awt/peer/gtk/GdkFontPeer.java
3154 (getStringBounds): Removed unneeded method.
3155 (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3157 * gnu/java/awt/peer/qt/QtFontPeer.java
3158 (getStringBounds): Removed unneeded method.
3159 * gnu/java/awt/peer/x/XFontPeer.java
3160 (getStringBounds): Removed unneeded method.
3161 * gnu/java/awt/peer/x/XFontPeer2.java
3162 (getStringBounds): Removed unneeded method.
3163 * java/awt/Font.java
3164 (getStringBounds(char[],int,int,FontRenderContext)):
3165 Use TextLayout to determine the bounds.
3166 (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3167 Delegate to the char[] version of this method.
3168 (getStringBounds(String,FontRenderContext)):
3169 Delegate to the char[] version of this method.
3170 (getStringBounds(String,int,int,FontRenderContext)):
3171 Delegate to the String version of this method.
3173 2006-11-01 Tania Bento <tbento@redhat.com>
3175 * java/awt/ScrollPaneAdjustable.java
3176 (paramString): Changed format of string representation returned.
3177 (paramStringHelper): New private method.
3179 2006-11-01 Tania Bento <tbento@redhat.com>
3181 * java/awt/GridBagLayout.java
3182 (toString): Implemented method.
3184 2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3186 * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3187 initialization to NP_Initialize.
3188 (NP_Initialize): Initialize GLib threading.
3190 2006-10-31 Tania Bento <tbento@redhat.com>
3192 * javax/swing/JTextField.java
3193 (fireActionPerformed): When creating the new event, if
3194 actionCommand == null, then getText() is used.
3196 2006-10-31 Francis Kung <fkung@redhat.com>
3198 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3199 (fillArc): Corrected arc type to Arc2D.PIE.
3201 2006-10-31 Roman Kennke <kennke@aicas.com>
3203 * javax/swing/text/html/HTMLDocument.java
3204 (HTMLReader.PreAction.end): Implemented.
3205 (HTMLReader.PreAction.start): Implemented.
3206 (HTMLReader.inPreTag): New field.
3207 (HTMLReader.handleTag): When inside a pre tag, call preContent().
3208 (HTMLReader.preContent): Implemented.
3210 2006-10-31 Tania Bento <tbento@redhat.com>
3212 * javax/swing/JTextField.java
3213 (fireActionPerformed): When creating the new event,
3214 actionCommand should be used as the command, not
3217 2006-10-31 Roman Kennke <kennke@aicas.com>
3219 * javax/swing/text/html/HTMLEditorKit.java
3220 (write): Use HTMLWriter or MinimalHTMLWriter for writing
3221 HTML or Styled documents.
3223 2006-10-31 David Fu <fchoong@netbeans.jp>
3225 * javax/swing/text/html/HTMLWriter.java: New class.
3227 2006-10-30 Roman Kennke <kennke@aicas.com>
3229 * java/awt/dnd/DragSourceContext.java
3230 (dragExit): Use constant fields instead of 0.
3231 (updateCurrentCursor): Completed implementation.
3233 2006-10-30 Roman Kennke <kennke@aicas.com>
3235 * java/awt/dnd/DragGestureRecognizer.java
3236 (resetRecognizer): Added API docs. Do not replace the events object
3237 but rather clear() it. Removed not implemented tag.
3239 2006-10-30 Roman Kennke <kennke@aicas.com>
3241 * java/awt/datatransfer/DataFlavor.java
3242 (writeExternal): Remove not implemented tag.
3244 2006-10-30 Roman Kennke <kennke@aicas.com>
3246 * java/awt/datatransfer/DataFlavor.java
3247 (javaFileListFlavor): Don't explicitly specify class.
3248 (plainTextFlavor): Don't explicitly specify class.
3249 (mimeType): Changed to type MimeType. Remove final.
3250 (representationClass): Remove final.
3251 (DataFlavor): Don't do anything here.
3252 (DataFlavor(Class,String,String)): Removed.
3253 (DataFlavor(Class,String)): Initialize here.
3254 (DataFlavor(String,String,ClassLoader)): Initialize in init().
3255 (DataFlavor(String,String)): Initialize in init().
3256 (DataFlavor(String)): Initialize in init().
3257 (init): New initialization method.
3258 (getMimeType): Delegate to MimeType.toString().
3259 (getParameter(String,String)): Removed. Is now done in MimeType.
3260 (getParameter(String)): Delegate to MimeType.
3261 (getPrimaryType): Delegate to MimeType.
3262 (getRepresentationClassFromMime): Removed.
3263 (getRepresentationClassFromMimeThrows): Removed.
3264 (getSubType): Delegate to MimeType.
3265 (hashCode): Take MimeType.toString() for the hashCode.
3266 (isFlavorRemoveObjectType): Return true only when representation
3267 class is remove and serializable and the mime type is remote.
3268 (isFlavorSerializedObjectType): Return true only when representation
3269 class is serializable and the mime type is serialized.
3270 (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3271 (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3272 (readExternal): Implemented stub method.
3273 (writeExternal): Implemented stub method.
3274 * java/awt/datatransfer/MimeType.java: New helper class.
3276 2006-10-28 Roman Kennke <kennke@aicas.com>
3278 * javax/swing/TransferHandler.java
3279 (importData): Implemented stub method. Added API docs.
3281 2006-10-26 Christian Elias Naur <elias@oddlabs.com>
3283 * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3285 * native/jni/classpath/classpath_jawt.h: Likewise.
3286 * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3287 initializer for surface_info_x11->depth.
3289 2006-10-26 Tania Bento <tbento@redhat.com>
3291 * java/awt/FileDialog.java:
3292 (setFile): Changed if-clause condition.
3294 2006-10-25 Francis Kung <fkung@redhat.com>
3296 * include/gnu_java_nio_VMChannel.h,
3297 * include/java_net_VMNetworkInterface.h,
3298 * include/gnu_java_nio_EpollSelectorImpl.h,
3299 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3300 * include/gnu_java_nio_FileChannelImpl.h,
3301 * include/gnu_java_nio_KqueueSelectorImpl.h,
3302 * include/gnu_java_nio_VMPipe.h,
3303 * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3305 2006-10-25 Tania Bento <tbento@redhat.com>
3307 * java/awt/Dialog.java: Created new private variable
3309 (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3310 Set cursor to default cursor.
3311 (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3313 (generateName): New method.
3314 (getUniqueLong): New private method.
3315 * java/awt/FileDialog.java: Created new private variable
3316 next_file_dialog_number.
3317 (setFile): If file == "", set it to null.
3318 (generateName): New method.
3319 (getUniqueLong): New private method.
3321 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3323 * java/net/MulticastSocket.java:
3324 (setNetworkInterface): Rewritten.
3326 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3328 * native/jni/java-net/javanet.h: Added declaration for
3329 _javanet_create_inetaddress.
3330 * native/jni/java-net/javanet.c:
3331 (_javanet_create_inetaddress): Removed static keyword.
3333 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3335 * gnu/java/net/PlainDatagramSocketImpl.java:
3336 (connect): Use VMChannel instance for connect call.
3337 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3338 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3339 (setOption): Handle multicast options.
3340 (getOption): Handle multicast options.
3341 * gnu/java/net/PlainSocketImpl.java:
3342 (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3343 (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3344 (setOption): Filter unappropriate options.
3345 (getOption): Filter unappropriate options.
3346 (connect): Use given SocketAddress.
3347 (close): Reset address and port.
3349 * include/Makefile.am: Removed all occurences of
3350 gnu_java_net_VMPlainDatagramSocketImpl.h.
3351 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3352 * native/jni/java-net/Makefile.am: Removed
3353 gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3354 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3356 as SocketException, declare to throw SocketException.
3357 * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3358 for SocketException and ConnectException.
3359 (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3361 (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3363 (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3364 (JCL_thread_interrupted): New function.
3365 (initIDs): Added initialisation for isThreadInterrupted method id.
3366 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3367 CPNET_IP_TTL to java_sockopt enum.
3368 (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3369 case, handle SO_LINGER case properly.
3370 (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3371 case, handle SO_LINGER case properly.
3372 (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3374 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3376 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3378 (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3380 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3381 * vm/reference/gnu/java/nio/VMChannel.java:
3382 (connect(int, byte[], int, int)): Declare to throw SocketException.
3383 (connect6): Declare to throw SocketException.
3384 (connect(InetSocketAddress, int)): Catch IOException and rethrow
3385 (isThreadInterrupted): New method.
3386 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3388 (setTimeToLive): New method.
3389 (getTimeToLive): New method.
3390 (setMulticastInterface(int, InetAddress)): New method.
3391 (setMulticastInterface(int, int, Inet4Address): New method.
3392 (setMulticastInterface6(int, int, Inet6Address): New method.
3393 (setOptions): Handle SO_LINGER case.
3394 (getOptions): Add missing SO_REUSEADDR case.
3395 * java/net/Socket.java:
3396 (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3397 when exception was thrown out of connect().
3398 (setSoLinger): Replaced instantiations with valueOf calls, replaced
3399 Boolean.FALSE with Integer.valueOf(-1).
3400 * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3401 * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3402 * NEWS: Documented VM interface changes.
3404 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3406 * java/net/Inet6Address.java:
3407 (isMulticastAddress): Fixed check.
3409 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3412 * java/net/MulticastSocket.java:
3413 (getNetworkInterface): Return a special NetworkInterface instance
3414 if the socket's multicast interface is set to any.
3416 2006-10-25 Robert Schuster <robertschuster@fsfe.org>
3419 * java/net/NetworkInterface.java:
3420 (createAnyInterface): New method.
3421 (equals): Added if-statement to handle case where netif.name is null.
3422 * vm/reference/java/net/VMNetworkInterface.java:
3423 (hashCode): Rewritten.
3424 (VMNetworkInterface): New constructor.
3426 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3428 * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3429 * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3430 Add ASM_JAR to bootclasspath.
3432 2006-10-24 Tania Bento <tbento@redhat.com>
3434 * java/awt/Scrollbar.java:
3435 (setLineIncrement): Removed unnecessary if-clause and if
3436 lineIncrement == 0, then it should be set to 1, not 0.
3437 (setPageIncrement): Removed unnecessary if-clause and if
3438 pageIncrement == 0, then it should be set to 1, not 0.
3439 (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3440 If maximum <= minimum, maximum should be set to mininum + 1. The
3441 actual value of maximum is maximum - visibleAmount, so I made
3442 this change to the appropriate if-check. Remove the two unneccessary
3445 2006-10-23 Francis Kung <fkung@redhat.com>
3447 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3448 (cairoSetFont): New method.
3449 (copy): Set font using setFont method.
3450 (setFont): Call cairoSetFont.
3451 (setup): Set font using setFont method.
3452 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3453 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3454 (install_font_peer): Removed.
3455 (cairoDrawGlyphVector): Removed call to install_font_peer.
3456 (cairoSetFont): New method.
3458 2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3460 * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3461 * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3462 NativeEventLoopRunningEvent after GTK main loop start and stop.
3463 * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3464 (getNextEvent): Set dispatchThread to null.
3465 (postEventImpl): Set nativeLoopRunning.
3466 (pop): Interrupt event dispatch thread.
3467 * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3469 2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
3471 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3473 * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3476 2006-10-23 Marco Trudel <mtrudel@gmx.ch>
3478 * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3479 * javax/crypto/CipherOutputStream.java: Re-implemented.
3480 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3481 (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3482 decryption mode and check if it is a complete block.
3483 (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3484 (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3485 partially processed data into account.
3487 2006-10-21 Tom Tromey <tromey@redhat.com>
3490 * java/util/AbstractCollection.java (toArray): Removed cast.
3492 2006-10-20 Tom Tromey <tromey@redhat.com>
3494 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3495 Don't use mangled class name for .h file.
3496 * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3497 Don't use mangled class name for .c file.
3498 * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3499 Handle classes from the default package.
3501 2006-10-20 Francis Kung <fkung@redhat.com>
3503 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3505 2006-10-19 Francis Kung <fkung@redhat.com>
3508 * java/awt/image/BufferedImage.java
3509 (constructor): Updated some properties of default image types.
3510 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3511 (argb32): Updated field to match default in BufferedImage.
3513 2006-10-18 Roman Kennke <kennke@aicas.com>
3516 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3517 (copyArea): Changed size comparison to return when size == 0
3519 * javax/swing/JViewport.java
3520 (paintBackingStore): Check width and height of blitted area
3521 and only do blit if its > 0.
3522 (paintBlit): Check width and height of blitted area
3523 and only do blit if its > 0.
3525 2006-10-18 Roman Kennke <kennke@aicas.com>
3528 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3529 (maximize): New native method.
3530 (unmaximize): New native method.
3531 (iconify): New native method.
3532 (deiconify): New native method.
3533 (getState): Implemented.
3534 (setState): Implemented.
3535 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3536 (oldState): Rename to windowState and made protected, so that
3537 the FramePeer can access it.
3538 (postWindowEvent): Handle state change events more gently and
3540 * java/awt/Frame.java
3541 (getState): Fetch state from getExtendedState().
3542 (setExtendedState): Update the peer. Check if the state change
3543 is actually supported.
3544 (getExtendedState): Update the state from the peer.
3545 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3546 (maximize): New method.
3547 (unmaximize): New method.
3548 (iconify): New method.
3549 (deiconify): New method.
3550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3551 (AWT_FRAME_NORMAL): New macro.
3552 (AWT_FRAME_ICONIFIED): New macro.
3553 (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3554 (window_window_state_cb): Rewritten to handle window state changes
3555 more gently (mostly on the java side of the world).
3556 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3558 2006-10-18 Tania Bento <tbento@redhat.com>
3560 * java/awt/CardLayout.java:
3561 (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3562 its height and width if Container passed as argument is null.
3563 (gotoComponent): Consider the case where the component is not visible.
3565 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3567 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3569 * resource/gnu/classpath/tools/appletviewer/messages.properties:
3571 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3573 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3575 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3577 * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3578 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3579 Retrieve user-visible strings through Messages.getString.
3580 * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3581 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3583 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3585 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3587 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3589 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3591 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3594 2006-10-18 Roman Kennke <kennke@aicas.com>
3596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3597 (AWT_WINDOW_OPENED): Remove unnecessary macro.
3598 (window_show_cb): Removed unnecessary function.
3599 (connect_signals): Don't connect signal for show. *
3600 gnu/java/awt/peer/gtk/GtkWindowPeer.java
3601 (hasBeenShown): Removed. This is handled in java.awt.Window.
3602 (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3603 in java.awt.Window. * java/awt/Window.java
3604 (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3606 2006-10-18 Francis Kung <fkung@redhat.com>
3608 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3609 (drawRenderedImage): New method.
3610 (drawImage): New method.
3611 (CairoSurfaceGraphics): Set clip.
3612 (createBuffer): New method.
3613 (getBufferCM): New method.
3614 (drawComposite): New method.
3616 (getNativeCM): New method.
3617 (drawGlyphVector): New method.
3619 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3620 (getNativeCM): Reflect renamed field.
3621 * gnu/java/awt/peer/gtk/CairoSurface.java
3622 (cairoCM_pre): Renamed from cairoColorModel.
3623 (cairoColorModel): Set premultiplication to false.
3625 2006-10-18 Roman Kennke <kennke@aicas.com>
3628 * javax/swing/JScrollPane.java
3629 (viewportBorder): Made field private.
3630 (wheelScrollingEnabled): Made field private.
3631 (JScrollPane): Enabled wheel scrolling by default.
3632 * javax/swing/JTree.java
3633 (TreeSelectionRedirector.valueChanged): Don't repaint anything
3635 (getScrollableUnitIncrement): Fixed thinko.
3636 * javax/swing/plaf/basic/BasicScrollBarUI.java
3637 (static scrollByBlock): New static method to avoid code duplication
3638 for the BasicScrollPane wheel scrolling.
3639 (static scrollByUnits): New static method to avoid code duplication
3640 for the BasicScrollPane wheel scrolling.
3641 (scrollByBlock): Delegate to static helper method.
3642 (scrollByUnit): Delegate to static helper method.
3643 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3644 (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3645 static helper methods to avoid code duplication.
3646 (MouseWheelHandler.bounds): Removed.
3647 (MouseWheelHandler.getValue): Removed.
3648 (MouseWheelHandler.scroll): Removed.
3650 2006-10-18 Roman Kennke <kennke@aicas.com>
3653 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3654 (updateComponent): Don't override this here.
3655 * java/awt/Window.java
3656 (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3657 (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3659 (addWindowStateListener): Ignore null listener. Set newEventsOnly
3662 2006-10-18 Roman Kennke <kennke@aicas.com>
3664 * javax/swing/JEditorPane.java
3665 (getStream): Try to detect and set the content type of the
3668 2006-10-18 Roman Kennke <kennke@aicas.com>
3670 * javax/swing/RepaintManager.java
3671 (RepaintWorkerEvent): Pass full set of params to super.
3672 (RepaintWorker.dispatch): Overridden to allow apps to call this
3674 (addDirtyRegion): Synchronize a little more to protect the
3675 dirtyComponents field and avoid NPEs.
3676 (invokeLater): Pass full set of params to RepaintWorkerEvent
3679 2006-10-18 Roman Kennke <kennke@aicas.com>
3681 * javax/swing/JEditorPane.java
3682 (page): Removed field. The page is now stored in the correct
3684 (getPage): Fetch page URL from document property.
3685 (read): Set the document for this JEditorPane. Use a Reader
3686 for reading in the document.
3687 (setPage): Call getStream() to get the stream from which we read.
3688 Fire property change. Store page in document property.
3690 2006-10-18 Roman Kennke <kennke@aicas.com>
3692 * java/awt/datatransfer/DataFlavor.java
3693 (DataFlavor(String)): Removed check for space in mime string.
3695 2006-10-18 Roman Kennke <kennke@aicas.com>
3697 * java/awt/Container.java
3698 (validateTree): Call ContainerPeer.begin|endLayout() rather than
3699 begin|endValidate().
3700 (validate): Call ContainerPeer.begin|endValidate() here.
3701 Added some local vars to avoid NPEs.
3703 2006-10-18 Roman Kennke <kennke@aicas.com>
3705 * native/target/.cvsignore
3706 * native/target/Linux/.cvsignore
3707 * native/target/generic/.cvsignore:
3708 Added to let CVS ignore the generated Makefile and Makefile.in
3711 2006-10-18 Roman Kennke <kennke@aicas.com>
3714 * java/awt/Window.java
3715 (eventTypeEnabled): Overridden to handle WindowEvents.
3716 (processEvent): Switch between processWindowEvent(),
3717 processWindowFocusEvent() and processWindowStateEvent() here,
3718 rather than simply calling processWindowEvent().
3719 (processWindowEvent): Only dispatch event to listener, do not
3720 switch to processWindowFocusEvent() or processWindowStateEvent()
3722 * javax/swing/JFrame.java
3723 (frameInit): Explicitly enable window and key events here.
3724 (processWindowEvent): Throw out some unnecessary code.
3725 * javax/swing/JWindow.java
3726 (windowInit): Explicitly enable key events here.
3727 * javax/swing/JDialog.java
3728 (close_action): Renamed to closeAction.
3729 (dialogInit): Explicitly enable window events here.
3730 (getDefaultCloseOperation): Renamed close_action to closeAction.
3731 (processWindowEvent): Throw out some unnecessary code.
3732 Renamed close_action to closeAction.
3733 (setDefaultCloseOperation): Renamed close_action to closeAction.
3735 2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3737 * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3738 to track native GTK event loop status.
3739 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3740 clear running flag when native GTK event loop starts and stops.
3742 2006-10-17 Roman Kennke <kennke@aicas.com>
3744 * javax/swing/TransferHandler.java
3745 (exportToClipboard): Implemented.
3747 2006-10-17 Francis Kung <fkung@redhat.com>
3749 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3750 region to account for pixel-shifting.
3751 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3754 2006-10-17 Francis Kung <fkung@redhat.com>
3757 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3758 (getLogicalBounds): Translate individual glyphs before appending bounds.
3759 (getOutline): Translate individual glyphs before appending outline.
3761 2006-10-17 Cameron McCormack <cam@mcc.id.au>
3764 * java/awt/font/TextLayout.java
3766 (constructor): Store bidi in field.
3767 (getCharacterLevel): Implemented.
3769 2006-10-17 Roman Kennke <kennke@aicas.com>
3771 * javax/swing/TransferHandler.java
3772 (PropertyTransferable): New inner class. Handles transfers
3773 from component properties.
3774 (createTransferable): Implemented.
3776 2006-10-17 Francis Kung <fkung@redhat.com>
3778 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3779 (drawComposite): Ensure composite does not extend beyond buffer
3781 * java/awt/image/Raster.java
3782 (createChild): Ensure child does not extend beyond parent's
3784 * java/awt/image/WritableRaster.java
3785 (createWritableChild): Ensure child does not extend beyond
3788 2006-10-17 Jeroen Frijters <jeroen@frijters.net>
3790 * native/jni/classpath/jcl.c
3791 (JNI_OnLoad): Corrected calling convention.
3793 2006-10-16 Roman Kennke <kennke@aicas.com>
3795 * javax/swing/TransferHandler.java
3796 (propertyName): New field.
3797 (TransferHandler(String)): Store property name in field.
3798 (canImport): Implemented stub method.
3799 (exportDone): This is a no-op. Removed not-implemented mark.
3800 (getPropertyDataFlavor): New helper method.
3801 (getPropertyDescriptor): New helper method.
3803 2006-10-16 Roman Kennke <kennke@aicas.com>
3805 * javax/swing/AbstractButton.java
3806 (AccessibleJButton.getAfterIndex): Implemented.
3807 (AccessibleJButton.getAtIndex): Implemented.
3808 (AccessibleJButton.getBeforeIndex): Implemented.
3809 (AccessibleJButton.getCharacterAttribute): Completed incomplete
3810 method implementation.
3812 2006-10-16 Roman Kennke <kennke@aicas.com>
3814 * javax/swing/JLabel.java
3815 (AccessibleJLabel.getIndexAtPoint): Implemented.
3816 (AccessibleJLabel.getCharacterBounds): Implemented.
3817 (AccessibleJLabel.getTextRectangle): New helper method.
3819 2006-10-16 Roman Kennke <kennke@aicas.com>
3821 * javax/swing/filechooser/FileSystemView.java
3822 (getFileSystemView): Mark as implemented.
3824 2006-10-14 Roman Kennke <kennke@aicas.com>
3827 * javax/swing/JComponent.java
3828 (toolTipText): Removed field.
3829 (createToolTip): Don't set tooltip text here. This is done
3830 in the ToolTipManager.
3831 (setToolTipText): Set tooltip text as client property.
3832 (getToolTipText): Get tooltip text from client property.
3833 * javax/swing/ToolTipManager.java
3834 (currentComponent): Made field non-static and of type JComponent.
3835 (currentPoint): Made field non-static.
3836 (currentTip): Made field non-static.
3837 (popup): Made field non-static.
3838 (toolTipText): New field. Stores the current tooltip text.
3839 (checkTipUpdate): New helper method. Checks for updates of
3840 the tooltip text and triggers the appropriate actions.
3841 (getContentPaneDeepestComponent): Removed unneeded casts.
3842 (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3843 text from component.
3844 (mouseMoved): Check for tooltip text updates.
3845 (showTip): Set tooltip text from current setting.
3847 2006-10-14 Roman Kennke <kennke@aicas.com>
3850 * javax/swing/JSlider.java
3851 (setPaintLabels): Call setLabelTable() instead of setting
3852 the field directly. This also updates the label's size.
3854 2006-10-13 Tom Tromey <tromey@redhat.com>
3856 * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3859 2006-10-13 Tania Bento <tbento@redhat.com>
3861 * java/awt/ScrollPane.java
3862 (setLayout): Should throw AWTError whenever called.
3864 2006-10-13 Roman Kennke <kennke@aicas.com>
3867 * java/awt/Component.java
3868 (dispatchEventImpl): Special handle ComponentReshapeEvents to
3869 update the AWT's knowledge about a component's size.
3870 * gnu/java/awt/ComponentReshapeEvent.java: New class.
3871 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3872 (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3873 to update the AWT's knowledge about the component bounds.
3875 2006-10-13 Tania Bento <tbento@redhat.com>
3877 * java/awt/ScrollPaneAdjustable.java
3878 (setMaximum): Should throw AWTError whenever called.
3880 (setVisibleAmount): Same.
3882 2006-10-13 Tania Bento <tbento@redhat.com>
3884 * java/awt/ScrollPane.java
3885 (addImpl): When calling super, index should be value passed,
3887 (getIsValidString): New helper method for paramString().
3888 (getScrollbarDisplayString): New helper method for paramString().
3889 (paramString): Changed format of outputted string.
3891 2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
3893 * javax/swing/tree/DefaultTreeSelectionModel.java
3894 (clone): Added cast to TreePath[].
3896 2006-10-13 Roman Kennke <kennke@aicas.com>
3899 * javax/swing/JMenuItem.java
3900 (isDragging): New field. Indicates if we are inside a mouse
3902 (createMenuDragMouseEvent): Removed unneeded method.
3903 (processMenuDragMouseEvent): Track if we are dragging.
3904 (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3905 * javax/swing/plaf/basic/BasicMenuItemUI.java
3906 (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3907 MenuSelectionManager from event.
3908 (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3909 MenuSelectionManager from event.
3910 (MenuDragMouseHandler.menuDragMouseExited): Fetch
3911 MenuSelectionManager from event.
3912 (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3913 release inside menu item, otherwise clear selection.
3914 (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3915 and getY(). Call doClick() rather than the doClick() of JMenuItem.
3916 (doClick): Perform an immediate click.
3918 2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3920 * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3921 return if object is not in the list.
3923 2006-10-12 Andrew Haley <aph@redhat.com>
3925 * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
3926 * java/lang/ThreadLocal.java: Likewise.
3928 2006-10-12 Roman Kennke <kennke@aicas.com>
3931 * javax/swing/JSlider.java
3932 (LabelUIResource): New inner class. A JLabel as UIResource.
3933 (createStandardLabels): Don't set label bounds here.
3934 Create LabelUIResource instances.
3935 (setInverted): Repaint.
3936 (setLabelTable): Update the label UIs. Revalidate and repaint.
3937 (setMajorTickSpacing): Update the label table. Repaint if
3939 (setMinorTickSpacing): Repaint if necessary.
3940 (setOrientation): Revalidate.
3941 (setPaintLabels): Revalidate and repaint.
3942 (setPaintTicks): Revalidate and repaint.
3943 (setPaintTrack): Repaint.
3944 (updateLabelUIs): Set the label sizes here.
3945 (updateUI): Also update the label UIs.
3946 * javax/swing/plaf/basic/BasicSliderUI.java
3947 (ComponentHandler.componentResized): Don't revalidate.
3948 (FocusHandler.focusGained): Don't set field.
3949 (FocusHandler.focusLost): Don't set field.
3950 (PropertyChangeHandler.propertyChange): Calculate geometry
3951 and repaint for a couple more properties.
3952 (TrackListener.mouseReleased): Repaint.
3953 (hasFocus): Removed unneeded field.
3954 (calculateContentRect): No need to check for content size < 0.
3955 (calculateFocusRect): Use insets from insetCache.
3956 (calculateLabelRect): Fixed calculation of label rectangle.
3957 It is relative to the tick rectangle, rather than the content
3959 (calculateTickRect): Small restructuring to avoid unnecessary
3961 (calculateTrackRect): Fixed calculation of track rectangle.
3962 (getMaximumSize): Fixed. Fetch preferred size and set
3963 the height of width to Short.MAX_VALUE.
3964 (getMinimumHorizontalSize): Fixed to return UIManager value.
3965 (getMinimumVerticalSize): Fixed to return UIManager value.
3966 (getPreferredHorizontalSize): Fixed to return UIManager value.
3967 (getPreferredVerticalSize): Fixed to return UIManager value.
3968 (getMinimumSize): Fixed to return the UIManager value plus
3970 (getPreferredSize): Fixed to return the UIManager value plus
3972 (getWidthOfWidestLabel): Restructured for more cleanness and
3974 (hitClip): New helper method.
3975 (paintHorizontalLabel): Replaced by more efficient and clean
3977 (paintVerticalLabel): Replaced by more efficient and clean
3979 (paintLabels): Replaced by more efficient and clean
3981 (paint): Check if rectangles intersect with clip for maximum
3983 (recalculateIfInsetsChanged): Fixed. This method should
3984 recalculate only when the insets changed.
3985 (setThumbLocation): Repaint with a reasonable clip.
3986 (xPositionForValue): Made more clean and efficient.
3987 (yPositionForValue): Made more clean and efficient.
3988 * javax/swing/plaf/basic/BasicLookAndFeel.java
3989 (initComponenDefaults): Added Slider.horizontalSize,
3990 Slider.verticalSize, Slider.minimumHorizontalSize and
3991 Slider.minimumVerticalSize properties.
3992 * javax/swing/plaf/metal/MetalSliderUI.java
3993 (getTickLength): Add 1 for horizontal sliders and 3 for
3995 (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
3996 (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
3997 (paintMajorTickForVertSlider): Fix colors. Fix line locations.
3998 (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4000 2006-10-12 Roman Kennke <kennke@aicas.com>
4003 * javax/swing/text/FlowView.java
4004 (FlowStrategy.layout): Preserve logical views from getting lost.
4005 (FlowStrategy.layoutRow): Fix line breaking.
4006 (FlowStrategy.adjustRow): Fix line breaking.
4007 (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4008 (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4009 (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4010 (createView): Don't check index.
4011 (contains): New helper method.
4012 (reparent): New helper method.
4013 (layoutDirty): Removed unneeded field.
4014 (FlowView): Removed layoutDirty field init.
4015 (changedUpdate): Removed layoutDirty handling.
4016 (insertUpdate): Removed layoutDirty handling.
4017 (removeUpdate): Removed layoutDirty handling.
4018 (layout): Use isLayoutValid() rather than the layoutDirty field.
4019 * javax/swing/text/GlyphView.java
4020 (startOffset): Removed.
4021 (endOffset): Removed.
4022 (offset): New field.
4023 (length): New field.
4024 (GlyphView): Initialize new fields. Removed old fields.
4025 (createFragment): Create fragment with new relative offsets.
4026 (getEndOffset): Work with new relative offsets.
4027 (getStartOffset): Work with new relative offsets.
4028 * javax/swing/text/ParagraphView.java
4029 (Row.getStartOffset): Overidden to determine the minimum start
4030 offset from the children.
4031 (Row.getEndOffset): Overidden to determine the maximum end
4032 offset from the children.
4033 * javax/swing/text/html/BRView.java
4034 Make subclass of InlineView.
4035 (getBreakWeight): Fall back to super for Y_AXIS.
4037 2006-10-12 Roman Kennke <kennke@aicas.com>
4040 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4041 (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4042 one that avoids faulty state that could cause division by zero
4045 2006-10-12 Roman Kennke <kennke@aicas.com>
4048 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4049 (paint): Determine correct icon. Added support for HTML label.
4050 Added small optimizations.
4051 (getPreferredSize): Only consider the buttons iconTextGap, and
4052 only when the text is not null.
4053 * javax/swing/plaf/basic/BasicLookAndFeel.java
4054 (initComponentDefaults): Fetch border for RadioButton from
4055 BasicButtons.getRadioButtonBorder().
4056 * javax/swing/plaf/metal/MetalRadioButtonUI.java
4057 (paintFocus): Paint focus rectangle one pixel smaller.
4059 2006-10-12 Roman Kennke <kennke@aicas.com>
4062 * javax/swing/tree/AbstractLayoutCache.java
4063 (getNodeDimensions): Don't throw InternalError, but instead
4065 (getRowsForPaths): Check for null here.
4066 (isFixedRowHeight): Returns true when rowHeight > 0.
4067 (setSelectionModel): Set this as the row mapper for the selection
4069 * javax/swing/tree/VariableHeightLayoutCache.java
4070 (NodeRecord.NodeRecord): Initialize bounds field.
4071 (getBounds): Simply return the bounds field.
4072 (row2Node): Changed to be an ArrayList.
4073 (RECT_CACHE): New field. Caches a Rectangle instance.
4074 (countRows): Added y parameter and return value. The method
4075 now takes the current y position as parameter, and returns
4076 the updated y position.
4077 (getBounds): Fixed to return the correct bounds.
4078 (getPathForRow): Replaced by fixed implementation.
4079 (getPreferredHeight): Replaced by more efficient implementation.
4080 This simply fetches the last node record and returns its lower
4082 (getPreferredWidth): Added null check.
4083 (getVisibleChildCount): Added null check.
4084 (getVisiblePathsFrom): Added null check.
4085 (setExpandedState): Also expand the ancestors of the node
4087 (setModel): Set dirty flag rather than updating for real.
4088 (setNodeDimensions): Overridden to set the dirty flag.
4089 (setRowHeight): Overridden to set the dirty flag.
4090 (update): Don't special case the root here, this is done now
4093 2006-10-12 Roman Kennke <kennke@aicas.com>
4095 * javax/swing/JComponent.java
4096 (paintImmediately2): Added support for components which need
4097 to force themselves as paint root.
4098 (isPaintRoot): New method. This should be overridden by components
4099 which need to force themselves as paint root.
4100 * javax/swing/JViewport.java
4101 (isPaintRoot): Overridden to force the viewport as paint root
4102 when running in backingstore mode.
4104 2006-10-12 Roman Kennke <kennke@aicas.com>
4106 * javax/swing/tree/DefaultTreeSelectionModel.java
4107 (PathPlaceHolder): New inner class. Wraps a path and its status
4109 (selectedPaths): New field. A supporting datastructure.
4110 (tmpPaths): New field. A supporting datastructure.
4111 (DefaultTreeSelectionModel): Initialize the list selection model,
4112 the leadIndex and the supporting datastructures.
4113 (addPropertyChangeListener): Create changeSupport object lazily.
4114 (addSelectionPaths): Mostly rewritten to handle the different
4115 selection modes correctly.
4116 (addSelectionPath): Delegate to addSelectionPaths().
4117 (arePathsContiguous): Replaced with more efficient implementation
4119 (canPathBeAdded): Removed unneeded method.
4120 (canPathsBeAdded): Replaced with more efficient implementation.
4121 (clearSelection): Create correct event. Clear the fields correctly,
4122 including the supporting datastructures.
4123 (clone): Also clone the supporting datastructures and nullify
4124 changeSupport field.
4125 (getMaxSelectionRow): Delegate to list selection model.
4126 (getMinSelectionRow): Delegate to list selection model.
4127 (getPath): Removed unneeded method.
4128 (getPropertyChangeListeners): Handle null changeSupport field
4130 (getRow): Handle null rowMapper field correctly.
4131 (getSelectionRows): Handle invisible rows correctly.
4132 (insureRowContinuity): Replaced by more efficient and correct
4134 (isRowSelected): Delegate to list selection model.
4135 (notifyPathChange): Made more efficient by use of PathPlaceHolder
4137 (removePropertyChangeListener): Handle null changeSupport field.
4138 (removeSelectionPaths): Mostly rewritten to handle the different
4139 selection modes correctly.
4140 (removeSelectionPath): Delegate to removeSelectionPaths().
4141 (resetRowSelection): Handle list selection model.
4142 (selectOne): Removed unneeded field.
4143 (setRowMapper): Reset the row selection.
4144 (setSelectionMode): Check for invalid mode and set to
4145 DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4146 (setSelectionPaths): Mostly rewritten to handle the different
4147 selection modes correctly.
4148 (setSelectionPath): Delegate to setSelectionPaths().
4149 (updateLeadIndex): Made more efficient.
4151 2006-10-11 Francis Kung <fkung@redhat.com>
4153 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4154 (buffer, locked): New fields.
4155 (constructors): Initialize new variables.
4156 (createBuffer): New method.
4157 (draw): Implement custom composites.
4158 (drawComposite): New method.
4159 (drawGlyphVector): Implement custom composites.
4160 (drawImage): Implement custom composites.
4161 (drawRenderedImage): Implement custom composites.
4162 (fill): Implement custom composites.
4163 (getBufferCM): New method.
4164 (getNativeCM): New method.
4165 (updateBufferedImage): Fix premultiplication.
4166 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4167 (copy): Copy composite.
4168 (drawImage): Set background properly.
4169 (getBufferCM): New method.
4170 (setComposite): Reset alpha composite when using custom composite.
4171 * gnu/java/awt/peer/gtk/CairoSurface.java
4172 (cairoColorModel): New field.
4173 (nativeColorModel): Renamed.
4174 (constructor): Use renamed createCairoSampleModel method.
4175 (createCairoSampleModel): New method.
4176 (createNativeSampleModel): Renamed.
4177 (getBufferedImage): Use renamed cairoColorModel field.
4178 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4179 (gdkColorModel): New field.
4180 (createGdkSampleModel): New method.
4181 (getPixels): Added comments.
4182 (getSnapshot): Use GDK colour and sample models.
4183 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4184 (createBuffer): Use GDK colour and sample models.
4185 (getNativeCM): Added comments.
4186 * java/awt/image/BufferedImage.java
4187 (constructor): Set premultiplied flag properly.
4189 2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
4191 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4192 (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4194 2006-10-10 Francis Kung <fkung@redhat.com>
4197 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4198 (createPath): Added isDraw parameter.
4199 (draw): Updated createPath call.
4200 (fill): Updated createPath call.
4202 2006-10-10 Tom Tromey <tromey@redhat.com>
4205 * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4206 there is a stylesheet.
4208 2006-10-10 Roman Kennke <kennke@aicas.com>
4210 * java/awt/Toolkit.java
4211 (getDefaultTookit): Make method synchronized to avoid
4212 accidentally creating more than one toolkits from different
4215 2006-10-10 Roman Kennke <kennke@aicas.com>
4217 * java/awt/LightweightDispatcher.java
4218 (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4219 (redispatch): Transfer the button to the redispatched event.
4221 2006-10-10 Francis Kung <fkung@redhat.com>
4223 * java/awt/image/ColorModel.java (coerceData): Implemented.
4225 2006-10-09 Christian Elias Naur <elias@oddlabs.com>
4227 * vm/reference/java/lang/VMClassLoader.java:
4228 (defineClassWithTransformers): Use proper class name format.
4230 2006-10-09 Gary Benson <gbenson@redhat.com>
4232 * java/net/ServerSocket.java
4233 (implAccept): Add security check.
4234 (accept): Close socket if security check fails.
4235 (setSocketFactory): Add security check and already-set check.
4237 2006-10-09 Roman Kennke <kennke@aicas.com>
4240 * javax/swing/JSplitPane.java
4241 (dividerLocation): New field. Stores the divider location.
4242 (JSplitPane): Initialize dividerLocation with -1.
4243 (addImpl): Removed unneeded local variables.
4244 (getDividerLocation): Manage dividerLocation in the JSplitPane
4245 class, not in the UI.
4246 (setDividerLocation): Manage dividerLocation in the JSplitPane
4247 class, not in the UI. Only call the UI method for notification.
4248 * javax/swing/plaf/basic/BasicSplitPaneUI.java
4249 (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4250 location from the JSplitPane. Honour the minimumSize, but only
4251 if the divider location hasn't been set explicitly.
4252 (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4254 (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4256 (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4257 the divider location.
4258 (dividerLocationSet): New field.
4259 (dividerLocation): Removed field.
4260 (createActionMap): Fetch and set divider location on the JSplitPane.
4261 (getDividerLocation): Return the actual real divider location.
4262 (getMaximumSize): Removed unneeded cast.
4263 (getPreferredSize): Removed unneeded cast.
4264 (getMinimumSize): Removed unneeded cast.
4265 (installUI): Initialize dividerLocationSet with false.
4266 (uninstallUI): Initialize dividerLocationSet with false.
4267 (setDividerLocation): Set dividerLocationSet to true.
4269 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4271 * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4272 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4273 convert jstring into char *.
4274 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4275 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4276 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4277 (getif_address): Added const modifier to second argument.
4278 (getif_index): Dito.
4280 2006-10-09 Roman Kennke <kennke@aicas.com>
4282 * javax/swing/JTree.java
4283 (isSelected): Added API docs.
4285 2006-10-09 Roman Kennke <kennke@aicas.com>
4287 * javax/swing/JTree.java
4288 (isSelected): Delegate to the selection model directly.
4290 2006-10-09 Robert Schuster <robertschuster@fsfe.org>
4292 * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4293 sizeof_struct_kevent to _sizeof_struct_kevent.
4295 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
4297 * tools/gnu/classpath/tools/rmic/RMICException.java:
4298 javadoc corrections, reformatted.
4300 2006-10-07 Christian Elias Naur <elias@oddlabs.com>
4302 * gnu/java/lang/InstrumentationImpl.java:
4303 Made constructor package visible.
4305 2006-10-05 Gary Benson <gbenson@redhat.com>
4307 * java/net/Socket.java
4308 (Socket): Perform security check on address not hostname.
4310 2006-10-04 Roman Kennke <kennke@aicas.com>
4312 * javax/swing/tree/VariableHeightLayoutCache.java
4313 (getBounds): When rect is null, create a new Rectangle.
4315 2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
4317 * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4318 (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4319 (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4320 (cpnio_select): Use CPNIO_EXPORT.
4321 * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4322 inline instead of extern inline, as newer GCCs changed their
4325 2006-10-04 Gary Benson <gbenson@redhat.com>
4327 * java/net/InetAddress.java: Updated javadoc.
4328 (<clinit>, getByLiteral): Throw InternalError on failures.
4330 2006-10-03 Francis Kung <fkung@redhat.com>
4332 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4333 (compCtx): New field for composite context.
4334 (copy): Copy composite.
4335 (dispose): Dispose of composite context.
4336 (getNativeCM): New method.
4337 (setComposite): Discard old composite context and set up new context.
4338 (setRenderingHints): Update composite context.
4339 * gnu/java/awt/peer/gtk/CairoSurface.java
4340 (nativeColorModel): New field, renamed from nativeModel.
4341 (nativeModel): Renamed field to nativeColorModel.
4342 (CairoSurface(int, int)): Call new method to create sample model.
4343 (createNativeSampleModel): New method.
4344 (getBufferedImage): Updated variable name.
4345 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4346 (buffer): New field.
4347 (createBuffer): New method.
4349 (drawComposite): New method.
4350 (drawGlyphVector): New method.
4351 (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4352 (drawImage(Image, int, int, ImageObserver)): Check composite.
4353 (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4355 (getNativeCM): New method.
4356 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4357 (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
4358 intermediary pixbuf to grab on-screen pixels.
4360 2006-10-03 Tom Tromey <tromey@redhat.com>
4363 * java/util/IdentityHashMap.java (tombstone): Removed.
4364 (emptyslot): Removed.
4365 (nullslot): New field.
4366 (IdentityHashMap): Don't fill array.
4367 (clear): Fill with null.
4368 (hash): Now final. Use linear probing.
4369 (xform): New method.
4370 (unxform): Likewise.
4371 (removeAtIndex): Likewise.
4372 (clone, containsKey, containsValue, entrySet, get, hashCode,
4373 keySet, put, remove, values): Updated.
4374 (IdentityIterator, IdentityEntry): Likewise.
4375 (writeObject): Likewise.
4377 2006-10-03 Tom Tromey <tromey@redhat.com>
4379 * java/util/Locale.java (hashcode): Updated javadoc.
4380 (hashcodeCache): Removed.
4382 (hashCode): Updated.
4383 (writeObject): New method.
4384 (readObject): Updated.
4386 2006-10-02 Francis Kung <fkung@redhat.com>
4388 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4389 (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4390 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4391 (clearRect): Paint background colour with AlphaComposite.SRC rule.
4392 (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4393 pre-multiply data before drawing.
4394 (fillRect): Draw using regular fill() method.
4395 (setComposite): Handle null case with AlphaComposite.SrcOver default.
4396 * gnu/java/awt/peer/gtk/CairoSurface.java
4397 (nativeModel): Use correct value for alpha premultiplication (true).
4398 * java/awt/image/BufferedImage.java
4399 (coerceData): Update isPremultiplied field.
4401 2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4403 * gnu/classpath/ListenerData.java:
4404 New class for holding listener data.
4405 * gnu/java/lang/management/MemoryMXBeanImpl.java:
4406 ListenerData class moved to its own file.
4407 * javax/management/MBeanServerDelegate.java,
4408 * javax/management/MBeanServerDelegateMBean.java,
4409 * javax/management/MBeanServerNotification.java:
4412 2006-10-02 Tania Bento <tbento@redhat.com>
4414 * java/ast/Rectangle.java:
4415 (Rectangle(Rectangle)): Do not throw NPE.
4416 (Rectangle(Point, Dimension)): Same.
4417 (Rectangle(Point)): Same.
4418 (Rectangle(Dimension)): Same.
4420 2006-09-29 Casey Marshall <csm@gnu.org>
4423 * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4424 `AbstractSelectionKey.'
4425 (cancel, isValid): removed.
4426 * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4427 (events): new field.
4428 (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4430 (<clinit>): initialize those constants.
4431 (<init>): don't initialize `cancelledKeys;' initialize `events.'
4432 (doSelect): deregister cancelled keys; remove keys attached to
4433 closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4434 `events' buffer; reallocate `events' buffer if needed.
4435 (register): reallocate `events' buffer if needed.
4436 (reallocateBuffer): new method.
4439 2006-09-29 Roman Kennke <kennke@aicas.com>
4442 * javax/swing/JViewport.java
4443 (cinit): Renamed system property to gnu.swing.scrollmode
4444 to avoid bloat. Default to BACKINGSTORE, this is much
4446 (repaint): Forward repaint() to parent as is specified.
4448 2006-09-29 Tania Bento <tbento@redhat.com>
4450 * javax/swing/plaf/basic/BasicTableUI.java
4451 (getPreferredSize): The number of iterations for the for-loop should be
4452 the number of columns in the table's column model, not the number of
4453 columns of the table.
4454 * javax/swing/JTable.java
4455 (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4456 lines that are not needed.
4457 (initializeLocalVars): dragEnabled should be set to false, not true.
4458 (getCellRenderer): Added a check to prevent an
4459 ArrayIndexOutOfBoundsException.
4460 (doLayout): The number of iterations for the for-loops should be the
4461 number of columns in the table's column model, not the number of columns
4464 2006-09-29 Roman Kennke <kennke@aicas.com>
4466 * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4468 (isOptimized): Initialize with true.
4469 (paintRaster): Removed unneeded field.
4470 (shapeCache): New static field. Caches certain shapes for reuse.
4471 (computeIntersection): Removed unneeded casts.
4472 (drawArc): Use shape cache.
4473 (drawImage): Removed unneeded statement.
4474 (drawLine): Use shape cache. Pass untranslated coordinates
4476 (drawOval): Use shape cache.
4477 (drawPolygon): Use shape cache.
4478 (drawRect): Overridden to provide accelerated rectangle drawing
4479 if possible and to use the shape cache.
4480 (drawRoundRect): Use shape cache.
4481 (fillArc): Use shape cache.
4482 (fillOval): Use shape cache.
4483 (fillPolygon): Use shape cache.
4484 (fillRect): Pass untranslated coordinates to rawFillRect().
4486 (fillRoundRect): Use shape cache.
4487 (fillScanlineAA): Removed unneeded statement.
4488 (fillScanline): Updated API docs.
4489 (fillShapeAntialias): Removed unnecessary cast.
4490 (fillShapeImpl): Update API docs. Removed unnecessary cast.
4491 (fillShape): Updated API docs.
4492 (getShapeCache): New helper method.
4493 * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4494 certain shapes for reuse in AbstractGraphics2D.
4496 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4498 * javax/management/BadBinaryOpValueExpException.java:
4499 (getExp()): Implemented.
4500 * javax/management/MBeanConnection.java:
4501 Renamed to MBeanServerConnection.
4502 * javax/management/MBeanServer.java:
4503 (setAttribute(Attribute)): Fixed...
4504 (setAttribute(ObjectName,Attribute)): to this.
4505 * javax/management/MBeanServerConnection.java:
4506 Renamed from MBeanConnection.
4507 * javax/management/QueryExp.java:
4508 Extend Serializable.
4509 * javax/management/ValueExp.java:
4511 * javax/management/loading/ClassLoaderRepository.java:
4512 (loadClass(String)): Throw ClassNotFoundException.
4513 (loadClassBefore(ClassLoader,String)): Likewise.
4514 (loadClassWithout(String, ClassLoader): Fixed...
4515 (loadClassWithout(ClassLoader,String)): to this.
4517 2006-09-28 Roman Kennke <kennke@aicas.com>
4519 * javax/swing/tree/DefaultTreeCellRenderer.java
4520 (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4521 property from UIManager.
4522 (paint): Rewritten to use super's implementation and only paint
4523 background and focus indicator before.
4524 (paintFocus): New helper method.
4525 (getXOffset): New helper method.
4527 2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
4529 * javax/management/BadBinaryOpValueExpException.java,
4530 * javax/management/MBeanConnection.java,
4531 * javax/management/MBeanServer.java,
4532 * javax/management/ObjectInstance.java:
4534 * javax/management/ObjectName.java:
4535 (setMBeanServer(MBeanServer)): Implemented.
4536 * javax/management/QueryExp.java,
4537 * javax/management/ValueExp.java,
4538 * javax/management/loading/ClassLoaderRepository.java:
4541 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4543 * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4545 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4547 * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4548 * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4549 * gnu/java/nio/EpollSelectorImpl.java:
4550 (doSelect): Use Integer.valueOf() instead of constructor call.
4551 (register): Use Integer.valueOf() instead of constructor call.
4553 2006-09-27 Roman Kennke <kennke@aicas.com>
4555 * java/awt/Container.java
4556 (addContainerListener): Activate newEventsOnly for the component.
4557 Ignore null listeners.
4559 2006-09-27 Roman Kennke <kennke@aicas.com>
4561 * java/awt/EventQueue.java
4562 (Queue): New inner class. Implements the actual queue.
4563 (LOW_PRIORITY): New constant field.
4564 (NORM_PRIORITY): New constant field.
4565 (queueHead): Removed. Moved into Queue.
4566 (queueTail): Removed. Moved into Queue.
4567 (queues): New field.
4568 (EventQueue): Initialize two internal queues, one for
4569 normal events, one for low priority events.
4570 (getNextEventImpl): New helper method, fetches the next event.
4571 (getNextEvent): Use getNextEventImpl() for fetching the event.
4572 (peekEvent): Use getNextEventImpl() for fetching the event.
4573 (peekEvent(int)): Search for event in all queues.
4574 (postEventImpl(AWTEvent)): Moved actual posting into
4575 postEventImpl(AWTEvent,int). Prioritize events here.
4576 (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4577 event into correct queue. Re-enable event coalescing.
4578 * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4579 * javax/swing/RepaintManager.java
4580 (RepaintWorkerEvent): New internal class. This is a low priority
4581 event for the repaint worker.
4582 (addDirtyRegion): Use new internal invokeLater() for sending
4583 a low priority event.
4584 (addInvalidComponent): Use new internal invokeLater() for sending
4585 a low priority event.
4586 (commitBuffer): Added some null checks.
4587 (invokeLater): New helper method. Sends a low priority
4588 repaint worker event on the event queue.
4590 2006-09-27 Roman Kennke <kennke@aicas.com>
4594 * javax/swing/plaf/basic/BasicButtonUI.java
4595 (cachedInsets): New field.
4596 (installListeners): Fire synthetic property change to initialize
4597 TEXT_LAYOUT_CACHE for the button because the font has been
4599 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4600 (paint): Use cached insets.
4601 (paintText): Let new method forward to old one, not vice versa.
4602 * javax/swing/plaf/basic/BasicMenuItemUI.java
4603 (defaultAcceleratorLabelGap): Removed unused field.
4604 (MenuGap): Removed unused field.
4605 (propertyChangeListener): Made private.
4606 (getAcceleratorRect): Removed unused method.
4607 (getAcceleratorText): Removed unused method.
4608 (getPath): Removed unnecessary cast.
4609 (installListeners): Fire synthetic property change to initialize
4610 TEXT_LAYOUT_CACHE for the button because the font has been
4612 (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4613 (layoutMenuItem): Removed unused statements.
4615 2006-09-27 Roman Kennke <kennke@aicas.com>
4618 * javax/swing/tree/DefaultTreeModel.java
4619 (isLeaf): Check if the node allows children when
4620 asksAllowsChildren is true, otherwise fall back
4621 to return the node's leaf property.
4623 2006-09-27 Mario Torre <neugens@limasoftware.net>
4625 * scripts/check_jni_methods.sh: removed methods from the
4627 Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4628 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4629 Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4630 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4631 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4632 * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4633 to better follow the GNU style.
4634 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4635 regenerated header file for GConfNativePeer.
4637 2006-09-27 Robert Schuster <robertschuster@fsfe.org>
4639 * INSTALL: Added information about grmic being built when ASM
4640 is available, added information about gconf dependency, indented
4641 Qt4 dependency section.
4642 * configure.ac: Added information about grmic being built when ASM
4645 2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
4647 * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4648 DeleteGlobalRef on a local ref.
4650 2006-09-24 Mario Torre <neugens@limasoftware.net>
4652 * scripts/check_jni_methods.sh: added two new methods in the
4654 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4656 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4657 * native/jni/gconf-peer/GConfNativePeer.c:
4658 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4659 refacored method name, renamed from
4660 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4661 Added code to unescape escaped GConf key names.
4662 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4663 refacored method name, renamed from
4664 Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4665 Added code to unescape escaped GConf key names.
4666 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4668 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4670 * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4671 version javadoc tag.
4672 (escapeString): new method.
4673 (unescapeString): likewise.
4674 (gconf_escape_key): new native method.
4675 (gconf_unescape_key): likewise.
4676 (gconf_client_suggest_sync): update native method signature, now
4677 explicity throws BackingStoreException.
4678 (gconf_client_all_nodes): update native method signature, now
4679 explicity throws BackingStoreException. Refactored method name,
4680 renamed from gconf_client_gconf_client_all_nodes.
4681 (gconf_client_all_keys): update native method signature, now
4682 explicity throws BackingStoreException. Refactored method name,
4683 renamed from gconf_client_gconf_client_all_keys.
4684 (getKeys): refactored to use the new method name
4685 gconf_client_all_keys.
4686 (getChildrenNodes): refactored to use the new method name
4687 gconf_client_all_nodes.
4688 * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4689 version javadoc tag.
4690 (GConfBasedPreferences): Added code to escape node names from
4691 invalid characters so that GConf now accept invalid node names.
4692 (GConfBasedPreferences): Moved code to register the current
4693 node to the list of nodes watched by GConf outside the constructor.
4694 (childSpi): Added code to register the current node to the
4695 list of nodes watched by GConf.
4696 (getGConfKey): Added code to escape key names from
4697 invalid characters so that GConf now accept invalid key names.
4699 2006-09-26 Tom Tromey <tromey@redhat.com>
4701 * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4702 call mkdirs in output-directory case.
4703 (getPrintStream): Create output directory.
4704 * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4707 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
4709 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4710 Accept three additional arguments.
4711 (writePreambleImpl): New method.
4712 (getPrintStreamImpl): Likewise.
4713 (printClass): Adapted to use new methods in Printer superclass.
4714 * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4715 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4716 * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4717 * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4719 (getParser): Add support for -o option.
4720 Check that only one of -d or -o is defined.
4721 Add support for -jni option.
4722 Add support for -force option.
4723 (makeOutputFile): New method.
4724 (writeHeaders): Removed File argument from signature.
4725 (run): Take into account newly added fields.
4726 Invoke concrete PrintStream implementations with augmented constructors.
4727 * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4728 (isDirectory): Likewise.
4730 (wrotePreamble): Likewise.
4731 (Printer): Changed ctor to accept three additional arguments.
4732 (printClass): Changed signature to accept one ClassWrapper argument.
4733 (writePreambleImpl): New abstract method.
4734 (getPrintStreamImpl): Likewise.
4735 (getPrintStream): New method.
4736 (writePreamble): Likewise.
4738 2006-09-26 Tania Bento <tbento@redhat.com>
4740 * java/awt/GridLayout.java
4741 (toString): There is no common before hgap.
4742 * java/awt/Rectangle.java
4743 (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4744 (Rectangle(Point, Rectangle)): Throw NPE if either Point or
4746 (Rectangle(Point)): Throw NPE if Point is null.
4747 (Rectangle(Dimension)): Throw NPE if Dimension is null.
4749 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4751 * javax/swing/plaf/metal/MetalIconFactory.java
4752 (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4753 returned by getShift(),
4754 (FileIcon16.getShift): Updated API docs,
4755 (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4756 returned by getShift(),
4757 (FolderIcon16.getShift): Updated API docs,
4758 (TreeFolderIcon.getShift): Likewise,
4759 (TreeLeafIcon.getShift): Likewise.
4761 2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
4763 * javax/swing/plaf/metal/MetalIconFactory.java
4764 (FileIcon16.paintIcon): Fetch colors from look and feel,
4765 (FolderIcon16.paintIcon): Likewise.
4767 2006-09-25 Casey Marshall <csm@gnu.org>
4769 * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4771 (write): revert back to using `writeGathering.'
4772 * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4773 the first buffer that has data remaining, and start at that one.
4775 2006-09-25 Tom Tromey <tromey@redhat.com>
4777 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4780 2006-09-25 Tom Tromey <tromey@redhat.com>
4782 * tools/.cvsignore: Updated.
4784 2006-09-25 Tom Tromey <tromey@redhat.com>
4787 * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4788 (Encoder.canEncode): Likewise.
4789 (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4790 * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4792 (Encoder.canEncode): Likewise.
4793 * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4795 (Encoder.canEncode): Likewise.
4797 2006-09-25 Tom Tromey <tromey@redhat.com>
4799 * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4802 2006-09-25 Francis Kung <fkung@redhat.com>
4804 * java/awt/image/ColorModel.java
4805 (coerceData): Made abstract.
4806 (coerceDataWorker): New protected method.
4807 * java/awt/image/ComponentColorModel.java
4808 (coerceData): Return new instance of proper ColorModel.
4809 * java/awt/image/DirectColorModel.java
4810 (coerceData): Return new instance of proper ColorModel.
4811 * java/awt/image/IndexColorModel.java
4812 (coerceData): New method.
4814 2006-09-24 Casey Marshall <csm@gnu.org>
4816 * gnu/java/nio/FileChannelImpl.java
4817 (read): call `read' in a loop, don't use `readScattering.'
4818 (write): call `write' in a loop, don't use `writeGathering.'
4820 2006-09-24 Mark Wielaard <mark@klomp.org>
4822 * configure.ac: Move -pedantic from WARNING to STRICT flags.
4824 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4826 * java/nio/channels/spi/AbstractSelectableChannel.java
4827 (register): Set interestOps and attachment when the key already
4830 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4832 * java/net/ServerSocket.java
4833 (bind(SocketAddress,int)): Added support for null address.
4834 Throw proper exception if already bound.
4835 Handle unresolved addresses correctly. Ignore exceptions that
4836 happen during close in error path (to prevent losing the original
4839 2006-09-24 Mark Wielaard <mark@klomp.org>
4841 Suggested by Aaron M. Ucko <ucko@debian.org>
4843 * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4845 2006-09-24 Jeroen Frijters <jeroen@frijters.net>
4847 * java/nio/channels/spi/AbstractSelectableChannel.java
4848 (implCloseChannel): Cancel all keys after closing the channel.
4850 2006-09-22 Casey Marshall <csm@gnu.org>
4852 * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4853 after we delete them.
4854 (selectedKeys): return an empty set if nothing's been selected.
4855 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4856 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4857 throw an exception on EBADF.
4858 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4859 throw exception on EINTR, just return 0.
4861 2006-09-22 Casey Marshall <csm@gnu.org>
4863 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4864 remove `const' from `filename.'
4865 * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4867 * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4869 2006-09-22 Casey Marshall <csm@gnu.org>
4871 * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4872 * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4873 allocate `filename,' and handle changes to `cpio_readDir.'
4874 * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4875 available; copy the filename into the destination buffer; return
4876 an error code if readdir returns NULL, but errno is 0.
4877 * native/jni/native-lib/cpio.h (cpio_readDir): change second
4878 parameter to `const char *.'
4880 2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
4882 * javax/management/ObjectName.java:
4885 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4887 * resource/gnu/classpath/tools/orbd: New directory.
4888 * resource/gnu/classpath/tools/rmic: Likewise.
4889 * resource/gnu/classpath/tools/rmid: Likewise.
4890 * resource/gnu/classpath/tools/rmiregistry: Likewise.
4891 * resource/gnu/classpath/tools/tnameserv: Likewise.
4892 * tools/gnu/classpath/tools/giop: Move contents to...
4893 * tools/gnu/classpath/tools/orbd,
4894 tools/gnu/classpath/tools/tnameserv: New directories.
4895 * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4896 * tools/gnu/classpath/tools/rmic: New directory.
4897 * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4898 * tools/gnu/classpath/tools/rmid: New directory.
4899 * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4900 * tools/gnu/classpath/tools/rmiregistry: New directory.
4901 * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4902 * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4903 * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4904 * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4906 * resource/gnu/classpath/tools/tnameserv/messages.properties:
4908 * tools/gnu/classpath/tools/orbd/Main.java,
4909 tools/gnu/classpath/tools/orbd/Messages.java,
4910 tools/gnu/classpath/tools/orbd/PersistentContext.java,
4911 tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4912 tools/gnu/classpath/tools/orbd/PersistentMap.java,
4913 tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4914 tools/gnu/classpath/tools/rmic/CompilationError.java,
4915 tools/gnu/classpath/tools/rmic/Generator.java,
4916 tools/gnu/classpath/tools/rmic/GiopIo.java,
4917 tools/gnu/classpath/tools/rmic/HashFinder.java,
4918 tools/gnu/classpath/tools/rmic/Main.java,
4919 tools/gnu/classpath/tools/rmic/Messages.java,
4920 tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4921 tools/gnu/classpath/tools/rmic/RMICException.java,
4922 tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
4923 tools/gnu/classpath/tools/rmic/RmicBackend.java,
4924 tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
4925 tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
4926 tools/gnu/classpath/tools/rmic/Variables.java,
4927 tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
4928 tools/gnu/classpath/tools/rmic/templates,
4929 tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
4930 tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
4931 tools/gnu/classpath/tools/rmid/Main.java,
4932 tools/gnu/classpath/tools/rmid/Messages.java,
4933 tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
4934 tools/gnu/classpath/tools/rmiregistry/Main.java,
4935 tools/gnu/classpath/tools/rmiregistry/Messages.java,
4936 tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
4937 tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
4938 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
4939 tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
4940 tools/gnu/classpath/tools/tnameserv/Main.java,
4941 tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
4942 * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
4943 RMIC.java from cp-tools.
4944 * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
4945 tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
4946 (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
4948 * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
4949 * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
4951 (start): New method.
4952 * tools/Makefile.am: Add build support for new tool wrappers.
4953 * tools/gorbd.in: New file.
4954 * tools/grmic.in: Likewise.
4955 * tools/grmid.in: Likewise.
4956 * tools/grmiregistry.in: Likewise.
4957 * tools/gtnameserv.in: Likewise.
4958 * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
4959 * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
4961 * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
4962 * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
4963 * tools/gnu/classpath/tools/common/Persistent.java: New file.
4965 2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
4968 * gnu/java/util/regex/RETokenRepeated.java
4969 (findMatch): Rewriten without using recursive calls,
4970 (FindMatchControlStack): New class,
4971 (FindMatchControl): New class,
4972 (TryAnotherResult): New class,
4973 (tryAnother): New method.
4975 2006-09-22 Gary Benson <gbenson@redhat.com>
4977 * java/net/SocketPermission.java
4978 (processHostport): Cope with IPv6 addresses with a
4979 one-digit first component.
4981 2006-09-22 Roman Kennke <kennke@aicas.com>
4983 * java/awt/Component.java
4984 (enableEvents): Set newEventsOnly flag.
4985 * java/awt/Container.java
4986 (dispatchEventImpl): Consume event if lightweight dispatcher
4987 dispatched the event. Don't call processEvent() here, this
4988 is already done in Component.dispatchEventImpl(). For
4989 heavyweights or when the lightweight dispatcher could
4990 not dispatch, fall back to calling super.
4991 (dispatchNoLightweight): New helper method to avoid
4992 recursivly calling the lightweight dispatcher.
4993 * java/awt/LightweightDispatcher.java
4994 (dragButton): Removed field.
4995 (dragTarget): Removed field.
4996 (mouseEventTarget): New field.
4997 (convertPointToChild): Removed method.
4998 (dispatchEvent): Don't depend on component beeing
5000 (findTarget): Improved algorithm for finding a target.
5001 Before we went down to the deepest component and went
5002 up again to find a suitable target. Now we go
5003 down only once, without going up.
5004 (handleMouseEvent): Broke method down into some smaller
5006 (isDragging): New helper method.
5007 (isMouseListening): New helper method.
5008 (redispatch): New helper method.
5009 (trackEnterExit): New helper method.
5011 2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
5013 * javax/swing/SizeSequence.java
5014 (getSize): Return 0 if index is out of bounds.
5016 2006-09-21 Tom Tromey <tromey@redhat.com>
5018 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5019 (PathOptionGroup): Make -I a joined option.
5020 * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5021 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5022 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5023 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5024 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5025 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5026 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5027 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5028 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5029 * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5030 * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5031 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5032 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5033 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5034 * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5035 * tools/gnu/classpath/tools/jar/Main.java: Updated.
5036 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5037 * tools/gnu/classpath/tools/javah/Main.java: Updated.
5038 * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5039 * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5040 * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5042 * resource/gnu/classpath/tools/common/Messages.properties: New file.
5043 * tools/gnu/classpath/tools/common/Messages.java: New file.
5044 * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5045 * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5047 (ClasspathToolParser): Add -J option here.
5048 (ClasspathToolParser): Call other constructor in this class.
5049 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5050 Handle joined options.
5051 (handleShortOptions): Likewise.
5052 (handleShortOption): Removed.
5053 (finalGroup): New field.
5054 (Parser): Initialize new field. Don't add -J option.
5055 (addFinal): New method.
5056 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5058 * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5059 (Option): Check short option for validity.
5060 (Option): New constructors.
5061 (joined): New field.
5063 2006-09-21 csm <csm@pollux.local>
5065 * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5066 `InterruptedIOException;' try again if it gets thrown.
5067 (receive): likewise, but re-throw `SocketTimeoutException.'
5068 * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5069 if we have nothing to select.
5071 2006-09-21 Francis Kung <fkung@redhat.com>
5073 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5074 (getLogicalBounds): Respect glyph transformations.
5075 (getGlyphOutline): Added null pointer check.
5076 (getGlyphTransform): Do not generate identity transform (API permits null).
5077 (setGlyphPosition): Do not invalidate transform.
5078 (setGlyphTransform): Do not modify glyph position.
5080 2006-09-21 Francis Kung <fkung@redhat.com>
5082 * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5084 2006-09-21 Francis Kung <fkung@redhat.com>
5086 * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5087 * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5088 * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5090 2006-09-21 Tania Bento <tbento@redhat.com>
5092 * javax/swing/JTabbedPane.java:
5093 (insertTab): Notify ChangeListeners if the tab inserted is selected.
5094 (setModel): A ChangeListener should be created only if there does not
5095 currently exist one.
5097 2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
5099 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5100 (MaximizeAction.actionPerformed): Change icon on maxButton.
5102 2006-09-21 Roman Kennke <kennke@aicas.com>
5104 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5105 (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5106 Use more efficient getViewPosition() and getViewSize() methods
5107 to avoid creating a rectangle.
5108 (HSBChangeListener.stateChanged): Update the view position
5109 unconditionally. Let the Viewport figure out if something
5111 (VSBChangeListener.stateChanged): Update the view position
5112 unconditionally. Let the Viewport figure out if something
5114 * javax/swing/JViewport.java
5115 (ViewListener.componentResized): Fire state change, because
5116 the extentSize changes.
5117 (extentSize): Removed unneeded field.
5118 (viewSize): Removed unneeded field.
5119 (getExtentSize): Return the viewport's size here.
5120 (getViewRect): Reformatted.
5121 (getViewSize): Reordered for only one return statement.
5122 (paintImmediately2): Fixed up javadoc.
5123 (paint): Removed unneeded statement.
5124 (setExtentSize): Set viewport size and check for actual change
5126 (setViewPosition): Simplified condition. Set scrollUnderway
5127 true and don't set isViewSizeSet. Avoid creating one Point
5129 (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5131 * javax/swing/JScrollBar.java
5132 (ScrollBarListener): New class. Forwards change events from
5133 the model as adjustment events.
5134 (sbChangeListener): New field.
5135 (JScrollBar): Install listener on new model.
5136 (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5138 (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5139 method to allow custom isAdjusting value.
5140 (setMaximum): Only forward to model.
5141 (setMinimum): Only forward to model.
5142 (setValue): Only forward to model.
5143 (setVisibleAmount): Only forward to model.
5144 (setValues): Only forward to model.
5145 (setModel): Update the change listener.
5147 2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
5149 * java/util/Formatter.java (basicIntegralConversion): Removed
5150 check for ZERO && !LEFT_JUSTIFY.
5152 2006-09-20 Roman Kennke <kennke@aicas.com>
5155 * javax/swing/plaf/metal/DefaultMetalTheme.java
5156 (PLAIN_CONTROL_TEXT_FONT): New constant field.
5157 (BOLD_CONTROL_TEXT_FONT): New constant field.
5158 (PLAIN_MENU_TEXT_FONT): New constant field.
5159 (BOLD_MENU_TEXT_FONT): New constant field.
5160 (controlTextFont): Removed.
5161 (menuTextFont): Removed.
5162 (CONTROL_TEXT_FONT): New constant field.
5163 (MENU_TEXT_FONT): New constant field.
5164 (getControlTextFont): Use getFont() helper method for fetching
5166 (getMenuTextFont): Use getFont() helper method for fetching
5168 (getFont): New helper method.
5169 (isBoldMetal): New helper method.
5171 2006-09-20 Casey Marshall <csm@gnu.org>
5173 * NEWS: mention epoll selector along with the kqueue one.
5175 2006-09-20 Casey Marshall <csm@gnu.org>
5177 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5178 (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5180 2006-09-20 Francis Kung <fkung@redhat.com>
5183 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5184 (getGlyphTransform): Use translation instead of scale.
5185 (performDefaultLayout): Increment position values instead of resetting, and
5186 pre-increment instead of post-increment.
5187 (setGlyphTransform): Handle null case with identity transform.
5189 2006-09-20 Casey Marshall <csm@gnu.org>
5191 * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5192 (AC_CHECK_FUNCS): check for `epoll_create.'
5193 * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5194 * gnu/java/nio/EpollSelectorImpl.java: new file.
5195 * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5197 (openSelector): return epoll selector if requested and available.
5198 * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5199 (gnu_java_nio_EpollSelectorImpl.h): new target.
5200 * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5201 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5202 gnu_java_nio_EpollSelectorImpl.c.
5203 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5205 2006-09-20 Casey Marshall <csm@gnu.org>
5207 * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5209 (isConnected): return false if `connectionPending' is true.
5211 2006-09-20 Francis Kung <fkung@redhat.com>
5214 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5215 (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5216 (getGlyphOutline): Call getGylphTransform to generate transform.
5217 (getGylphPosition): Read position directly out of array.
5218 (getGlyphPositions): Read positions directly out of array.
5219 (getGlyphTransform): Generate transform based on gylphPositions array.
5220 (performDefaultLayout): Populate glyphPositions array instead of transforms.
5221 (setGlyphPosition): Set position directly into array.
5222 (setGlyphTransform): Update positions array as well.
5224 2006-09-20 David Daney <ddaney@avtrex.com>
5227 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
5228 default content-type for POST method.
5230 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5232 * javax/swing/plaf/basic/BasicRadioButtonUI.java
5233 (BasicRadioButtonUI): Don't fetch icon here,
5234 (installDefaults): Initialise icon here,
5235 (getDefaultIcon): Just return icon.
5237 2006-09-20 Mark Wielaard <mark@klomp.org>
5239 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5240 Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5241 (EXTRA_DIST): Include javanio.c.
5243 2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
5245 * java/awt/geom/RoundRectangle2D.java:
5246 (getPathIterator): Reimplemented,
5247 and updated various API doc comments.
5249 2006-09-20 Roman Kennke <kennke@aicas.com>
5251 * java/awt/Container.java
5252 (addImpl): Set the new component's parent after it has been
5253 added to the array. Call addNotify() and invalidate()
5254 after the component has been added, so that the peer
5255 gets to know about the component structure when it is created.
5256 * java/awt/Window.java
5257 (dispatchEventImpl): Only revalidate when window is resized,
5258 let the other stuff be processed by the superclass.
5259 (dispose): Post WINDOW_CLOSED event only when some listener
5260 is registered or event is explicitly enabled.
5261 (show): Post WINDOW_OPENED event when appropriate.
5263 2006-09-20 Roman Kennke <kennke@aicas.com>
5265 * java/awt/Component.java
5266 (addNotify): Invalidate here. Fetch peer font.
5267 (getFont): Delegate to helper method, to protect from
5268 overriding client code. Lock the tree while fetching the font.
5269 (getFontImpl): New helper method. Moved code from getFont() in
5271 (removeNotify): Nullify peerFont too.
5272 (setFont): Synchronize on tree and component to avoid threading
5273 issues. Update the peerFont correctly.
5274 (validate): Update the peer font if necessary, before validating.
5275 (getGraphics): Revert to recursive graphics fetching.
5276 Set component font on the Graphics object.
5277 (translateEvent): Removed unnecessary cast.
5278 * java/awt/Container.java
5279 (invalidateTree): Made final and private. Made implementation
5280 slightly more efficient.
5281 (setFont): Get old and new font via getFont() to account for
5282 the real font, and only invalidate the tree when they are not
5283 the same and not equal.
5284 (visitChild): Set the font of the child on the component graphics.
5285 * java/awt/Frame.java
5286 (setMenuBar): Create local reference of peer for thread safety.
5287 Only call simple invalidate, not invalidateTree().
5289 2006-09-19 Cameron McCormack <cam@mcc.id.au>
5292 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5293 (constructor): Copy image field.
5295 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5297 * javax/swing/JMenuBar.java
5298 (getHelpMenu): Implemented to throw an Error, and added API docs,
5299 (getMargin): Added API docs,
5300 (setMargin): Likewise.
5302 2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
5304 * javax/swing/AbstractButton.java
5305 (AbstractButton): Don't call updateUI(),
5306 * javax/swing/JButton.java
5307 (JButton(String, Icon)): Call setModel() before init(),
5308 * javax/swing/JMenuItem.java
5309 (JMenuItem()): Delegate to another constructor,
5310 (JMenuItem(Icon)): Likewise,
5311 (JMenuItem(Action)): Set model,
5312 (JMenuItem(String, Icon)): Likewise,
5313 * javax/swing/JToggleButton.java
5314 (init): Call setModel() before init().
5316 2006-09-19 Mark Wielaard <mark@klomp.org>
5319 * java/util/logging/LogManager.java (addLogger): Always check for
5320 existing children of a new Logger.
5322 2006-09-19 Roman Kennke <kennke@aicas.com>
5324 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5325 (HSBChangeListener.stateChanged): Moved handling of header to
5326 syncScrollPaneWithViewport().
5327 (VSBChangeListener.stateChanged): Moved handling of header to
5328 syncScrollPaneWithViewport().
5329 (ViewportChangedHandler.stateChanged): Removed unused statements.
5330 (syncScrollPaneWithViewport): Added null checks. Use setValues
5331 rather then the single setter methods to avoid multiple
5332 adjustments and side effects. Also snyc the headers here.
5333 (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5334 (uninstallUI): Removed unnecessary cast and this qualifier as well
5335 as the call to super.
5337 2006-09-19 Gary Benson <gbenson@redhat.com>
5339 * java/net/ResolverCache.java: New class (a DNS cache).
5340 * java/net/InetAddress.java
5341 (internalGetCanonicalHostName, getAllByName): Use the above.
5343 2006-09-19 Jeroen Frijters <jeroen@frijters.net>
5345 * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5346 * java/net/ServerSocket.java
5348 (bind): Set port field.
5349 (close): Set impl to null.
5350 (isClosed): Check impl and channel instead of using VMChannel.
5351 (toString): Use port field and getLocalPort() method.
5352 * java/net/Socket.java
5353 (isClosed): Check impl and channel instead of using VMChannel.
5355 2006-09-18 Tom Tromey <tromey@redhat.com>
5357 * java/util/concurrent/CopyOnWriteArrayList.java
5358 (CopyOnWriteArrayList): New constructor.
5360 2006-09-18 Casey Marshall <csm@gnu.org>
5362 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5363 (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5365 2006-09-18 Tom Tromey <tromey@redhat.com>
5367 * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5368 isConnected): Removed old comment.
5369 (getRemoteSocketAddress): Uncommented.
5370 (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5371 setTrafficClass, getTrafficClass, setReuseAddress,
5372 getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5373 isOutputShutdown): Uncommented.
5375 2006-09-18 David Pirkle <dpirkle@symyx.com>
5378 * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5379 input stream during resolution.
5381 2006-09-18 Roman Kennke <kennke@aicas.com>
5383 * java/awt/LightweightDispatcher.java
5384 (findTarget): Correctly translate child coordinates.
5385 Use Component.eventTypeEnabled() for checking if a component
5386 has a certain event enabled.
5387 (handleMouseEvent): Find the correct mouse event target.
5388 Use Component.eventTypeEnabled() for checking if a component
5389 has a certain event enabled.
5391 2006-09-18 Roman Kennke <kennke@aicas.com>
5393 * java/awt/Component.java
5394 (show): Test for the peer beeing lightweight directly.
5395 (paintAll): Validate before painting. Don't paint when not
5396 showing. Call peer.paint() when the component is heavyweight.
5397 (repaint): Delegate to the parent when lightweight, rather
5398 than skipping to the nearest heavyweight.
5399 (createImage): Added null check to prevent NPE.
5400 (dispatchEvent): Moved old event dispatching and toolkit
5401 event dispatching to dispatchEventImpl.
5402 (addComponentListener): Don't enable event. Only add listener
5403 when not null. Switch to new event dispatching only.
5404 (addFocusListener): Likewise.
5405 (addHierarchyListener): Likewise.
5406 (addHierarchyBoundsListener): Likewise.
5407 (addKeyListener): Likewise.
5408 (addMouseListener): Likewise.
5409 (addMouseMotionListener): Likewise.
5410 (addMouseWheelListener): Likewise.
5411 (addInputMethodListener): Likewise.
5412 (coalesceEvents): For mouse events coalesce them only when
5413 their modifiers are equal. For paint events coalesce the events
5414 when one contains the other, without going through complicated
5416 (dispatchEventImpl): Moved old event dispatching and toolkit
5417 event dispatching to dispatchEventImpl.
5418 (coalescePaintEvents): Removed.
5419 (HeavyweightInLightweightListener.componentHidden):
5421 * java/awt/Container.java
5422 (addImpl): Don't enable events on lightweights.
5423 (remove): Reordered operations. Don't remove any listeners.
5424 Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5425 Only removeNotify() when peer is != null. Only invalidate if
5426 not already invalid. Only fire ContainerEvent if there is
5427 an interested listener or the event is enabled. Dispatch this
5428 event directly without the event queue.
5429 (removeAll): Likewise.
5430 (paintComponents): Only paint when showing. Also paint heavyweights.
5431 Don't paint the container itself.
5432 (removeNotify): Create local variables for improved thread safety.
5433 (addNotifyContainerChildren): Don't enable events for lightweights.
5435 2006-09-18 Roman Kennke <kennke@aicas.com>
5437 * java/awt/EventQueue.java
5438 (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5439 (next_in): Removed obsolete field.
5440 (next_out): Removed obsolete field.
5441 (queueHead): New field. Markes the head of the queue.
5442 (queueTail): New field. Markes the tail of the queue.
5443 (queue): Removed obsolete field.
5444 (EventQueue): Documented empty block.
5445 (getNextEvent): Changed array based implementation to single-linked
5446 list based implementation.
5447 (invokeAndWait): Use an Object as synchronization object rather
5448 than the current thread.
5449 (peekEvent(int)): Changed array based implementation to single-linked
5450 list based implementation.
5451 (peekEvent()): Changed array based implementation to single-linked
5452 list based implementation.
5453 (pop()): Changed array based implementation to single-linked
5454 list based implementation.
5455 (postEvent): Foward to postEventImpl.
5456 (postEventImpl): Changed array based implementation to single-linked
5457 list based implementation.
5458 (push): Changed array based implementation to single-linked
5459 list based implementation.
5460 * java/awt/AWTEvent.java
5461 (queueNext): New field. Implements a single-linked list for
5464 2006-09-17 Mark Wielaard <mark@klomp.org>
5466 * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5467 resource from HTMLEditorKit.class.
5469 2006-09-17 Mark Wielaard <mark@klomp.org>
5471 * javax/swing/plaf/basic/BasicToolBarUI.java
5472 (setBorderToNonRollover): Check whether border is null.
5473 (setBorderToRollover): Likewise.
5475 2006-09-17 Mark Wielaard <mark@klomp.org>
5477 * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5479 2006-09-17 Mark Wielaard <mark@klomp.org>
5481 * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5482 * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5483 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5484 (Java_gnu_java_nio_VMChannel_lock): Likewise.
5485 (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5487 2006-09-17 Casey Marshall <csm@gnu.org>
5489 * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5492 2006-09-17 Chris Burdess <dog@gnu.org>
5494 Fixes PR 27610 27687.
5495 * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5496 * gnu/xml/transform/SAXTemplatesHandler.java,
5497 * gnu/xml/transform/SAXTransformerHandler.java: New files.
5498 * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5499 SAXTransformerFactory.
5501 2006-09-16 Casey Marshall <csm@gnu.org>
5504 * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5505 (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5507 (HAVE_INET6): define if IPv6 is supported.
5508 * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5509 (native_fd): removed.
5511 (<init>): throw IOException; initialize fields.
5512 (finalize): removed.
5513 (getNativeFD): removed.
5514 (bind): use `PlainSocketImpl.bind.'
5515 (create): use `PlainSocketImpl.initSocket.'
5516 (disconnect): use `PlainSocketImpl.disconnect.'
5517 (getLocalPort): new method.
5518 (send): use `VMChannel.send.'
5519 (receive): use `VMChannel.receive.'
5520 (setOption): use `PlainSocketImpl.setOption.'
5521 (getOption): use `PlainSocketImpl.getOption.'
5522 (close): use `VMChannel.State.close.'
5523 (join): use `PlainSocketImpl.join.'
5524 (leave): use `PlainSocketImpl.leave.'
5525 (joinGroup, leaveGroup): implemented.
5526 * gnu/java/net/PlainSocketImpl.java: make non-final.
5527 (native_fd): removed.
5529 (channel): new field.
5530 (<init>): initialize `impl.'
5531 (finalize, getNativeFD): removed.
5532 (setOption): use `PlainSocketImpl.setOption.'
5533 (getOption): use `PlainSocketImpl.getOption.'
5534 (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5535 (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5536 (create): create `channel,' initialize `impl's native state.
5537 (connect): use `connect(SocketAddress, int).'
5538 (connect): use `SocketChannelImpl.connect;' initialize `address'
5540 (bind): use `VMPlainSocketImpl.bind.'
5541 (listen): use `VMPlainSocketImpl.listen.'
5542 (accept): use `SocketChannelImpl.accept.'
5543 (available): use `VMChannel.available.'
5544 (close): use `PlainSocketImpl.close.'
5545 (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5546 (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5547 getPort): new methods.
5548 (SocketInputStream.read): use `VMChannel.read.'
5549 (SocketInputStream.read): use `SocketChannel.read.'
5550 (SocketOutputStream.write): use `VMChannel.write.'
5551 (SocketOutputStream.write): use `SocketChannel.write.'
5552 * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5553 (channel): new field.
5554 (<init>): initialize `channel.'
5555 (implCloseSelectableChannel): use `VMChannel.close.'
5556 (implConfigureBlocking): use `VMChannel.setBlocking.'
5557 (connect): use `VMChannel.connect.'
5558 (disconnect): use `VMChannel.disconnect.'
5559 (isConnected): use `VMChannel.getPeerAddress.'
5560 (write): use `VMChannel.write.'
5561 (write): use `VMChannel.writeGathering.'
5562 (read): use `VMChannel.read.'
5563 (read): use `VMChannel.readScattering.'
5564 (receive): use `VMChannel.receive.'
5565 (send): use `VMChannel.send.'
5566 (getVMChannel): new method.
5567 * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5568 access native FD through VMChannel.State.
5569 * gnu/java/nio/FileChannelImpl.java: moved from
5570 gnu/java/nio/channels/FileChannelImpl.java.
5571 * gnu/java/nio/FileLockImpl.java: fix imports.
5572 * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5573 * gnu/java/nio/KqueueSelectorImpl.java: new file.
5574 * gnu/java/nio/NIOSocket.java (impl): removed.
5575 (channel): new field.
5576 (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5577 (getPlainSocketImpl, setChannel): removed.
5578 (isConnected): new method.
5579 * gnu/java/nio/NIOSocketImpl.java: new file.
5580 * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5582 (SourceChannelImpl.native_fd): removed.
5583 (SourceChannelImpl.<init>): init with a `VMChannel.'
5584 (SourceChannelImpl.getNativeFD): removed.
5585 (SourceChannelImpl.getVMChannel): new method.
5586 (SourceChannelImpl.implCloseSelectableChannel): implement.
5587 (SinkChannelImpl): implement `VMChannelOwner.'
5588 (SinkChannelImpl.native_fd): removed.
5589 (SinkChannelImpl.<init>): init with a `VMChannel.'
5590 (SinkChannelImpl.implCloseSelectableChannel): implement.
5591 (SinkChannelImpl.getNativeFD): removed.
5592 (SinkChannelImpl.getVMChannel): new method.
5593 * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5595 * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5596 SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5597 (openSelector): return kqueue selector if available.
5598 * gnu/java/nio/ServerSocketChannelImpl.java: implement
5600 (channel): new field.
5601 (<init>): init `channel.'
5602 (finalizer): check if the `VMChannel.State' is valid.
5603 (implCloseSelectableChannel): use `VMChannel.close.'
5604 (implConfigureBlocking): use `VMChannel.setBlocking.'
5605 (accept): use `VMChannel.accept.'
5606 (getVMChannel): new method.
5607 * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5608 access native FD through `VMChannel.State.'
5609 * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5611 (channel, connected, connectAddress): new field.
5612 (<init>): new constructors.
5613 (getPlainSocketImpl): removed.
5614 (implCloseSelectableChannel): use `VMChannel.close.'
5615 (implConfigureBlocking): use `VMChannel.setBlocking.'
5616 (connect): use `connect(SocketAddress,int).'
5617 (connect): use `VMChannel.connect.'
5618 (finishConnect): don't use a selector.
5619 (isConnected): use `VMChannel.getPeerAddress.'
5620 (read): use `VMChannel.read.'
5621 (read): use `VMChannel.readScattering.'
5622 (write): use `VMChannel.write.'
5623 (write): use `VMChannel.writeGathering.'
5624 (getVMChannel): new method.
5625 * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5626 native FD from `VMChannel.State.'
5627 * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5628 get native FD from `VMChannel.State.'
5629 * gnu/java/nio/VMChannelOwner.java: new file.
5630 * gnu/java/nio/channels/FileChannelImpl.java: removed.
5631 * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5632 and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5633 `gnu_java_nio_channels_FileChannelImpl.h.'
5634 * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5635 * include/gnu_java_nio_FileChannelImpl.h: new file.
5636 * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5637 * include/gnu_java_nio_VMChannel.h: regenerated.
5638 * include/gnu_java_nio_VMPipe.h: regenerated.
5639 * include/java_net_VMNetworkInterface.h: regenerated.
5640 * java/io/FileDescriptor.java: fix imports.
5641 * java/io/FileInputStream.java (<init>): handle exceptions.
5642 (read): wrap the destination arary.
5643 * java/io/FileOutputStream.java (<init>): handle exceptions.
5644 (write): wrap the source array.
5645 * java/io/RandomAccessFile.java (<init>): handle exceptions.
5646 * java/net/DatagramSocket.java (<init>): handle exceptions.
5647 (receive): handle length/port setting.
5648 (connect): bind to any address/port if the argument is null.
5649 * java/net/NetworkInterface.java (name, inetAddress): removed.
5651 (<init>): make private.
5652 (getName): return `netif.name.'
5653 (getInetAddresses): access `netif.addresses.'
5654 (getDisplayName): return `netif.name.'
5655 (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5656 (condense): removed.
5657 (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5658 (equals): compare `netif' fields.
5659 (hashCode): get hash codes from `netif.'
5660 (toString): use a StringBuffer.
5661 * java/net/ServerSocket.java (close): don't set `impl' to null.
5662 (isClosed): use `VMChannel.State.isClosed.'
5663 * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5664 the `SocketImpl' is a `PlainSocketImpl.'
5665 (close): just close the `impl.'
5666 (toString): use `super.toString' in the value we return.
5667 (isConnected): just access `impl,' not `getImpl.'
5668 (isBound): use `PlainSocketImpl' methods if we can.
5669 (isClosed): look at `VMChannel.State.'
5670 * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5671 (JCL_NewRawDataObject): don't initialize cached fields here; throw
5672 an exception if they were not.
5673 (JCL_GetRawData): throw an exception if cached fields weren't
5675 * native/jni/java-lang/java_lang_VMProcess.c: handle
5676 FileChannelImpl move.
5677 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5678 (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5679 THROW_NO_NETWORK): new macros.
5680 (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5681 (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5682 (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5683 (java_sockopt): new enum.
5684 (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5685 (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5686 (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5688 (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5690 (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5692 (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5693 (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5694 (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5695 (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5696 (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5697 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5698 (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5699 (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5700 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5701 (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5702 (getif_address): new function.
5703 (getif_index): new function.
5704 * native/jni/java-net/java_net_VMNetworkInterface.c
5705 (java_net_VMNetworkInterface_init,
5706 java_net_VMNetworkInterface_addAddress): new file-scope globals.
5707 (Java_java_net_VMNetworkInterface_initIds): new function.
5708 (struct netif_entry): new struct.
5709 (free_netif_list): new function.
5710 (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5711 (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5712 * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5713 gnu_java_nio_channels_FileChannelImpl.c, add
5714 gnu_java_nio_KqueueSelectorImpl.c.
5715 * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5716 * native/jni/java-nio/gnu_java_nio_VMChannel.c
5717 (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5718 ALIGN_DOWN): new macros.
5719 (JCL_init_buffer): get the address through GetDirectBufferAddress
5721 (Java_gnu_java_nio_VMChannel_stdin_1fd,
5722 Java_gnu_java_nio_VMChannel_stdout_1fd,
5723 Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5724 (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5726 (Java_gnu_java_nio_VMChannel_read): renamed...
5727 (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5728 this; handle interrupted IO; add HAVE_READ check.
5729 (Java_gnu_java_nio_VMChannel_write): renamed...
5730 (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5731 this; handle zero-length write; add HAVE_WRITE check.
5732 (Java_gnu_java_nio_VMChannel_receive): new function.
5733 (Java_gnu_java_nio_VMChannel_send): new function.
5734 (Java_gnu_java_nio_VMChannel_send6): new function.
5735 (Java_gnu_java_nio_VMChannel_read__I): new function.
5736 (Java_gnu_java_nio_VMChannel_write__II): new function.
5737 (Java_gnu_java_nio_VMChannel_socket): new function.
5738 (Java_gnu_java_nio_VMChannel_connect): new function.
5739 (Java_gnu_java_nio_VMChannel_connect6): new function.
5740 (Java_gnu_java_nio_VMChannel_getsockname): new function.
5741 (Java_gnu_java_nio_VMChannel_getpeername): new function.
5742 (Java_gnu_java_nio_VMChannel_accept): new function.
5743 (Java_gnu_java_nio_VMChannel_disconnect): new function.
5744 (Java_gnu_java_nio_VMChannel_close): new function.
5745 (Java_gnu_java_nio_VMChannel_available): new function.
5746 (FileChannel_mode): new enum.
5747 (Java_gnu_java_nio_VMChannel_open): new function.
5748 (Java_gnu_java_nio_VMChannel_position): new function.
5749 (Java_gnu_java_nio_VMChannel_seek): new function.
5750 (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5751 (Java_gnu_java_nio_VMChannel_lock): new function.
5752 (Java_gnu_java_nio_VMChannel_unlock): new function.
5753 (Java_gnu_java_nio_VMChannel_size): new function.
5754 (Java_gnu_java_nio_VMChannel_map): new function.
5755 (Java_gnu_java_nio_VMChannel_flush): new function.
5756 * native/jni/java-nio/gnu_java_nio_VMPipe.c
5757 (Java_gnu_java_nio_VMPipe_init): removed.
5758 (Java_gnu_java_nio_VMPipe_pipe0): new function.
5759 * native/jni/java-nio/javanio.c: new file.
5760 * native/jni/java-nio/javanio.h: new file.
5761 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5762 systems without `gethostbyname_r.'
5763 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5765 (<init>, <init>): new constructors.
5766 (setOption, getOption): make instance methods; defer to native
5769 (bind): make an instance method; defer to native methods.
5771 (available): removed.
5772 (listen): make an instance method; defer to native method.
5774 (join, leave): new methods.
5776 (joinGroup, leaveGroup): new methods.
5777 (shutdownInput, shutdownOutput): make instance methods.
5778 (sendUrgentData): removed.
5780 * vm/reference/gnu/java/nio/VMChannel.java: make final.
5783 (<init>): new, public constructors.
5784 (getVMChannel): methods removed.
5785 (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5786 stderr_fd): new methods.
5787 (setBlocking): make an instance method.
5788 (available): new method.
5789 (read): get native fd from `nfd.'
5790 (read): new single-byte read method.
5791 (readScattering): get native fd from `nfd.'
5792 (receive): new method.
5793 (write, writeGathering): get native fd from `nfd.'
5795 (write): new single-byte write method.
5796 (initSocket): new method.
5797 (connect): new method.
5798 (disconnect): new method.
5799 (getLocalAddress): new method.
5800 (getPeerAddress): new method.
5801 (accept): new method.
5802 (openFile): new method.
5803 (position): new method.
5805 (truncate): new method.
5807 (unlock): new method.
5810 (flush): new method.
5811 (close): new method.
5814 * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5815 (pipe, pipe0): new method.
5816 * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5818 (<clinit>): call `initIds.'
5819 (initIds): new method.
5820 (getInterfaces): removed.
5821 (getVMInterfaces): new method.
5822 (addAddress): new method.
5823 * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5825 2006-09-16 Chris Burdess <dog@gnu.org>
5828 * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5829 when in text output mode.
5831 2006-09-16 Chris Burdess <dog@gnu.org>
5834 * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5836 2006-09-14 Michael Koch <konqueror@gmx.de>
5838 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5840 2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
5842 * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5843 Added !cl.isArray() to serialVersionUID mismatch check.
5845 2006-09-14 Francis Kung <fkung@redhat.com>
5847 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5848 (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5849 be compatibe with Cairo 1.2.x.
5851 2006-09-14 Francis Kung <fkung@redhat.com>
5853 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5854 (cairoSurfaceSetFilter): Removed method.
5855 (drawImage): Pass interpolation type as argument to drawing methods.
5856 (drawPixels): Added interpolation parameter.
5857 (drawRaster): Pass interpolation type as argument to drawing method.
5858 (getInterpolation): New method.
5859 (setRenderingHint): Store hints, but do not set interpolation in cairo.
5860 (setRenderingHints): Store hints, but do not set interpolation in cairo.
5861 * gnu/java/awt/peer/gtk/CairoSurface.java
5862 (drawSurface): Added interpolation parameter.
5863 (nativeDrawSurface): Added interpolation parameter.
5864 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5865 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5867 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5868 * native/jni/gtk-peer/cairographics2d.h
5869 (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5871 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5873 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5874 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5875 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5876 interpolation parameter.
5878 2006-09-14 Gary Benson <gbenson@redhat.com>
5880 * java/net/InetAddress.java
5881 (internalGetCanonicalHostName): New method.
5882 (getCanonicalHostName): Use internalGetCanonicalHostName.
5883 (getByLiteral): New method.
5884 (getAllByName): Use getByLiteral.
5885 * java/net/SocketPermission.java
5886 (host): Replaced with...
5887 (hostname, address): New fields.
5888 (equals, hashcode): Reflect the above.
5889 (setHostPort): Parse host into hostname or address.
5890 (implies): Rewrite host checks.
5892 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5895 * java/awt/Menu.java
5896 (insert(MenuItem, int)): Fixed loop range,
5897 (insert(String, int)): Updated API docs.
5899 2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
5902 * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5903 architectures (like Arm).
5904 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5905 Reverted SWAP_DOUBLE patch.
5906 (doubleToRawLongBits): Likewise.
5907 (longBitsToDouble): Likewise.
5909 2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
5911 * java/awt/Menu.java: Reformatted source file.
5913 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5915 * gnu/java/rmi/server/ActivatableRef.java
5916 (readExternal, writeExternal): Partial fix for serialization format.
5918 2006-09-14 Jeroen Frijters <jeroen@frijters.net>
5921 * java/io/InputStreamReader.java
5922 (read(char[],int,int)): Fixed bug.
5924 2006-09-13 Francis Kung <fkung@redhat.com>
5926 * java/awt/image/BandCombineOp.java: Updated documentation.
5927 (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
5929 2006-09-13 Tom Tromey <tromey@redhat.com>
5932 * java/io/PipedReader.java (read): Return early if len==0.
5933 * java/io/PipedInputStream.java (read): Return early if len==0.
5935 2006-09-13 Francis Kung <fkung@redhat.com>
5937 * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
5938 Removed hard-coded max sample value.
5939 * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
5940 Fixed finding of max sample value.
5942 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5944 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5945 (setPaint): Check null argument ('p').
5947 2006-09-12 Francis Kung <fkung@redhat.com>
5950 * gnu/java/awt/java2d/TexturePaintContext.java
5951 (constructor): Fixed typo, getMinY instead of getMaxX.
5952 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5953 (setPaint): Implemented support for custom Paint classes.
5954 (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
5955 (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
5956 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
5957 to setPaintPixels, and added repeat parameter.
5958 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
5959 Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
5961 2006-09-12 Gary Benson <gbenson@redhat.com>
5963 * java/net/NetworkInterface.java (getInetAddresses):
5964 Fix port used in security check.
5966 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5968 * javax/swing/plaf/metal/DefaultMetalTheme.java
5969 (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
5970 (MENU_TEXT_FONT): Renamed 'menuTextFont',
5971 (getControlTextFont): Check 'swing.boldMetal' setting before
5973 (getMenuTextFont): Likewise.
5975 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5977 * javax/swing/plaf/metal/OceanTheme.java
5978 (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
5980 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5982 * javax/swing/plaf/metal/MetalIconFactory.java
5983 (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
5985 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5987 * javax/swing/AbstractSpinnerModel.java: API doc updates.
5989 2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
5991 * javax/swing/AbstractButton.java
5992 (AbstractButton): Initialise textIconGap field.
5994 2006-09-11 Tom Tromey <tromey@redhat.com>
5996 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
5997 "volatile" when needed.
5999 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6001 * java/text/AttributedCharacterIterator.java
6002 (LANGUAGE): Initialise with lower case string,
6003 (INPUT_METHOD_SEGMENT): Likewise,
6004 (READING): Likewise,
6005 * java/text/AttributedStringIterator.java
6006 (getRunLimit): Check all attributes for changes.
6008 2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
6010 * java/text/AttributedCharacterIterator.java: Added @since tag,
6011 renamed some variables (no underscores) and removed some spaces to
6012 match the common style,
6013 * java/text/AttributedString.java: Likewise,
6014 * java/text/AttributedStringIterator.java: Likewise.
6016 2006-09-11 Gary Benson <gbenson@redhat.com>
6018 * java/net/Inet4Address.java
6019 (FAMILY): Renamed back to AF_INET.
6020 (<init>, writeReplace): Reflect the above.
6021 * java/net/Inet6Address.java
6022 (FAMILY): Renamed back to AF_INET6.
6023 (<init>): Reflect the above.
6025 2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
6028 * java/text/AttributedString.java
6029 (AttributedString(AttributedCharacterIterator, int, int,
6030 AttributedCharacterIterator.Attribute[])): Fixed check for defined
6033 2006-09-11 Gary Benson <gbenson@redhat.com>
6035 * java/net/Inet4Address.java
6036 (AF_INET): Renamed to FAMILY.
6037 (<init>, writeReplace): Reflect the above.
6038 * java/net/Inet6Address.java
6039 (AF_INET6): Renamed to FAMILY.
6040 (<init>): Reflect the above.
6042 2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
6045 Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
6046 * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6047 * java/net/Socket.java: Avoid creating a redundant file descriptor.
6048 (implCreated): Deleted, (getImpl): Don't check impleCreated,
6049 (bind): Call getImpl().create(true).
6051 2006-09-09 Chris Burdess <dog@gnu.org>
6053 * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6054 an instance of org.w3c.dom.NodeList.
6056 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6058 * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6059 missing security manager when run in standalone mode.
6061 2006-09-08 Francis Kung <fkung@redhat.com>
6063 * java/awt/image/AffineTransformOp.java: Updated documentation.
6064 (createCompatibleDestRaster): Updated formatting.
6065 (filter(BufferedImage, BufferedImage)): Updated formatting.
6066 (filter(Raster, WritableRaster)): Delegated processing to native peers for
6067 if colour model is compatible.
6068 (filterBicubic): Get entire pixel at once, and use appropriate array type.
6069 (filterBilinear): Get entire pixel at once, and use appropriate array type.
6071 2006-09-08 Gary Benson <gbenson@redhat.com>
6073 * java/net/InetAddress.java
6074 (family): Updated javadoc and made private.
6075 (<init>): Add an address family argument.
6076 (readObject): Don't overwrite family.
6077 * java/net/Inet4Address.java
6078 (AF_INET): New constant.
6079 (<init>): Use AF_INET as the family.
6080 (writeReplace): Likewise.
6081 * java/net/Inet6Address.java
6082 (AF_INET6): New constant.
6083 (<init>): Use AF_INET6 as the family.
6085 2006-09-08 Gary Benson <gbenson@redhat.com>
6087 * java/net/InetAddress.java
6088 (getHostName): Move lookup into getCanonicalHostName.
6089 (getCanonicalHostName): Move lookup from getHostName,
6090 Perform security check on canonical name (ie after lookup).
6092 2006-09-08 Gary Benson <gbenson@redhat.com>
6094 * java/net/Inet4Address.java (isMulticastAddress,
6095 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6096 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6097 isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6098 implementations from InetAddress.
6099 * java/net/InetAddress.java (isMulticastAddress,
6100 isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6101 isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6102 isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6103 implementations with UnsupportedOperationExceptions.
6105 2006-09-08 Gary Benson <gbenson@redhat.com>
6107 * java/net/InetAddress.java
6108 (inaddr_any): Removed.
6109 (ANY_IF, LOCALHOST): Create using getByAddress.
6110 (<init>): Updated javadoc.
6111 (getHostName): Cache hostname even if the lookup failed.
6112 (getByAddress): Create Inet4Address objects when passed
6113 IPv4-mapped IPv6 addresses.
6115 (getAllByName): Create address objects using getByAddress.
6116 Do not perform security checks unless actually required.
6117 Do not strip whitespace from the hostname.
6118 (getInaddrAny): Removed.
6119 (getLocalHost): Return the loopback address if getByName
6120 throws a SecurityException.
6121 (readResolve): Updated javadoc.
6122 * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6123 * include/java_net_VMInetAddress.h
6124 (Java_java_net_VMInetAddress_aton): Likewise.
6125 * native/jni/java-net/java_net_VMInetAddress.c
6126 (Java_java_net_VMInetAddress_aton): New method.
6127 * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6128 * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6129 * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6130 * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6131 * NEWS: Added note about updated VM interface.
6133 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6135 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6136 (setNorthPane): Assign component to titlePane.
6138 2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6140 * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6141 Remove unused variable alt_addr.
6142 * gnu/CORBA/NamingService/NameTransformer.java (toName):
6143 Remove unused variables.
6145 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6147 * javax/swing/plaf/metal/MetalScrollBarUI.java
6148 (installDefaults): Initialise scrollBarWidth from UI defaults here,
6149 (createDecreaseButton): Don't fetch scrollBarWidth here,
6150 (createIncreaseButton): Likewise.
6152 2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
6154 * java/awt/image/MemoryImageSource.java: Added API docs.
6156 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6158 * javax/swing/plaf/basic/BasicScrollBarUI.java
6159 (installDefaults): Call configureScrollBarColors().
6161 2006-09-06 Francis Kung <fkung@redhat.com>
6163 * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6164 (constructor): Make copy of arrays.
6165 (createCompatibleDestImage): Changed treatment of null ColorModel.
6166 (filter(BufferedImage, BufferedImage)): Re-implemented.
6167 (filter(Raster, WritableRaster, boolean[])): New method.
6168 (filter(Raster, WritableRaster)): Re-implemented.
6169 (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6170 (getPoint2D): Cleaned up formatting.
6171 (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6173 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6175 * javax/swing/UIManager.java
6176 (getBoolean(Object)): Reimplemented,
6177 (getBoolean(Object, Locale)): Likewise,
6178 (getBorder(Object)): Likewise,
6179 (getBorder(Object, Locale)): Likewise,
6180 (getColor(Object)): Likewise,
6181 (getColor(Object, Locale)): Likewise,
6182 (getDimension(Object)): Likewise,
6183 (getDimension(Object, Locale)): Likewise,
6184 (getFont(Object)): Likewise,
6185 (getFont(Object, Locale)): Likewise,
6186 (getIcon(Object)): Likewise,
6187 (getIcon(Object, Locale)): Likewise,
6188 (getInsets(Object)): Updated API docs,
6189 (getInsets(Object, Locale)): Likewise,
6190 (getInt(Object)): Reimplemented,
6191 (getInt(Object, Locale)): Likewise,
6192 (getString(Object)): Likewise,
6193 (getString(Object, Locale)): Likewise.
6195 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6197 * javax/swing/UIManager.java
6198 (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6199 (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6201 2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
6203 * javax/swing/plaf/metal/MetalLookAndFeel.java
6204 (initComponentDefaults): Corrected various font defaults.
6206 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6208 * java/awt/List.java: Added @since to various methods.
6210 2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
6212 * native/jni/native-lib/cpprocess.c:
6213 (forkAndExec(char*,char*,int,int,pid_t,char*)):
6214 Add redirection of stdout to stderr.
6215 * native/jni/native-lib/cpprocess.h:
6216 Added redirect argument.
6217 * native/jni/java-lang/java_lang_VMProcess.c
6218 (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6219 * vm/reference/java/lang/VMProcess.java: Likewise.
6220 * include/java_lang_VMProcess.h: Regenerated.
6222 2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
6224 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6225 __attribute to __attribute__.
6227 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6230 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6232 * java/awt/List.java: Source code reformatted.
6234 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6236 * gnu/CORBA/CollocatedOrbs.java,
6237 gnu/CORBA/SafeForDirectCalls.java: New files.
6238 * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6239 Implement gnu.CORBA.SafeForDirectCalls.
6240 * gnu/CORBA/NamingService/Ext.java: Likewise.
6241 * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6242 * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6243 of the local host. (ior_to_object): Return the local object
6244 where possible. (run): Register/unregister this ORB.
6245 * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
6246 * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6247 * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6248 (constructors): Initialize noRetain. (_invoke): Drop servant
6249 if noRetain is true. (getHandler): Always seach for the new servant
6250 if noRetain is true.
6251 * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6252 * NEWS: Added note about the new feature.
6254 2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
6256 * java/awt/Choice.java
6257 (addItem): Fixed API doc glitch.
6259 2006-09-05 Francis Kung <fkung@redhat.com>
6261 * java/awt/image/LookupOp.java: Updated documentation & formatting.
6262 (createCompatibleDestImage): Re-implemented.
6263 (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6264 compatibility, and use ColorConvertOp for color conversion if needed.
6265 (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6267 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6269 gnu/CORBA/CDR/Vio.java,
6270 org/omg/CORBA_2_3/ORB.java,
6271 org/omg/CORBA_2_3/portable/InputStream.java,
6272 org/omg/CORBA_2_3/portable/OutputStream.java,
6273 org/omg/CosNaming/BindingIteratorHelper.java,
6274 org/omg/CosNaming/BindingTypeHelper.java,
6275 org/omg/CosNaming/NameComponentHelper.java,
6276 org/omg/CosNaming/NameHelper.java,
6277 org/omg/CosNaming/NamingContextExtHelper.java,
6278 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6279 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6280 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6281 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6282 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6283 org/omg/CosNaming/NamingContextHelper.java,
6284 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6285 org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6286 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6287 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6288 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6289 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6290 org/omg/DynamicAny/AnySeqHelper.java,
6291 org/omg/DynamicAny/DynAnyFactoryHelper.java,
6292 org/omg/DynamicAny/DynAnyFactoryOperations.java,
6293 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6294 org/omg/DynamicAny/DynAnyHelper.java,
6295 org/omg/DynamicAny/DynAnyOperations.java,
6296 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6297 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6298 org/omg/DynamicAny/DynAnySeqHelper.java,
6299 org/omg/DynamicAny/DynArrayHelper.java,
6300 org/omg/DynamicAny/DynEnumHelper.java,
6301 org/omg/DynamicAny/DynFixedHelper.java,
6302 org/omg/DynamicAny/DynSequenceHelper.java,
6303 org/omg/DynamicAny/DynStructHelper.java,
6304 org/omg/DynamicAny/DynStructOperations.java,
6305 org/omg/DynamicAny/DynUnionHelper.java,
6306 org/omg/DynamicAny/DynValueHelper.java,
6307 org/omg/DynamicAny/NameDynAnyPairHelper.java,
6308 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6309 org/omg/IOP/CodecFactoryHelper.java,
6310 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6311 org/omg/IOP/CodecOperations.java,
6312 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6313 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6314 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6315 org/omg/IOP/ComponentIdHelper.java,
6316 org/omg/IOP/ExceptionDetailMessage.java,
6317 org/omg/IOP/MultipleComponentProfileHelper.java,
6318 org/omg/IOP/ProfileIdHelper.java,
6319 org/omg/IOP/ServiceContextListHelper.java,
6320 org/omg/IOP/ServiceIdHelper.java,
6321 org/omg/IOP/TAG_CODE_SETS.java,
6322 org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6323 org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6324 org/omg/PortableInterceptor/CurrentHelper.java,
6325 org/omg/PortableInterceptor/IORInfo.java,
6326 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6327 org/omg/PortableInterceptor/ORBIdHelper.java,
6328 org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6329 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6330 org/omg/PortableInterceptor/ORBInitializerOperations.java,
6331 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6332 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6333 org/omg/PortableInterceptor/RequestInfoOperations.java,
6334 org/omg/PortableInterceptor/ServerIdHelper.java,
6335 org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6336 org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6337 org/omg/PortableServer/AdapterActivatorOperations.java,
6338 org/omg/PortableServer/CurrentHelper.java,
6339 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6340 org/omg/PortableServer/ForwardRequestHelper.java,
6341 org/omg/PortableServer/IdAssignmentPolicyValue.java,
6342 org/omg/PortableServer/IdUniquenessPolicyValue.java,
6343 org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6344 org/omg/PortableServer/LifespanPolicyValue.java,
6345 org/omg/PortableServer/POA.java,
6346 org/omg/PortableServer/POAHelper.java,
6347 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6348 org/omg/PortableServer/POAManagerPackage/State.java,
6349 org/omg/PortableServer/POAOperations.java,
6350 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6351 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6352 org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6353 org/omg/PortableServer/POAPackage/NoServantHelper.java,
6354 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6355 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6356 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6357 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6358 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6359 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6360 org/omg/PortableServer/RequestProcessingPolicyValue.java,
6361 org/omg/PortableServer/ServantActivatorHelper.java,
6362 org/omg/PortableServer/ServantLocatorHelper.java,
6363 org/omg/PortableServer/ServantLocatorOperations.java,
6364 org/omg/PortableServer/ServantRetentionPolicyValue.java,
6365 org/omg/PortableServer/ThreadPolicyValue.java,
6366 org/omg/PortableServer/_ServantActivatorStub.java,
6367 org/omg/PortableServer/_ServantLocatorStub.java,
6368 org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6370 2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6372 * javax/rmi/CORBA/Tie.java,
6373 org/omg/CORBA/AnyHolder.java,
6374 org/omg/CORBA/AnySeqHelper.java,
6375 org/omg/CORBA/AnySeqHolder.java,
6376 org/omg/CORBA/BooleanHolder.java,
6377 org/omg/CORBA/BooleanSeqHelper.java,
6378 org/omg/CORBA/BooleanSeqHolder.java,
6379 org/omg/CORBA/ByteHolder.java,
6380 org/omg/CORBA/CharHolder.java,
6381 org/omg/CORBA/CharSeqHelper.java,
6382 org/omg/CORBA/CharSeqHolder.java,
6383 org/omg/CORBA/Context.java,
6384 org/omg/CORBA/CurrentHelper.java,
6385 org/omg/CORBA/CustomValue.java,
6386 org/omg/CORBA/DataOutputStream.java,
6387 org/omg/CORBA/DefinitionKindHelper.java,
6388 org/omg/CORBA/DomainManagerOperations.java,
6389 org/omg/CORBA/DoubleHolder.java,
6390 org/omg/CORBA/DoubleSeqHelper.java,
6391 org/omg/CORBA/DoubleSeqHolder.java,
6392 org/omg/CORBA/DynAny.java,
6393 org/omg/CORBA/DynSequence.java,
6394 org/omg/CORBA/DynValue.java,
6395 org/omg/CORBA/DynamicImplementation.java,
6396 org/omg/CORBA/FieldNameHelper.java,
6397 org/omg/CORBA/FixedHolder.java,
6398 org/omg/CORBA/FloatHolder.java,
6399 org/omg/CORBA/FloatSeqHelper.java,
6400 org/omg/CORBA/FloatSeqHolder.java,
6401 org/omg/CORBA/IdentifierHelper.java,
6402 org/omg/CORBA/IntHolder.java,
6403 org/omg/CORBA/LocalObject.java,
6404 org/omg/CORBA/LongHolder.java,
6405 org/omg/CORBA/LongLongSeqHelper.java,
6406 org/omg/CORBA/LongLongSeqHolder.java,
6407 org/omg/CORBA/LongSeqHelper.java,
6408 org/omg/CORBA/LongSeqHolder.java,
6409 org/omg/CORBA/ORB.java,
6410 org/omg/CORBA/ObjectHelper.java,
6411 org/omg/CORBA/ObjectHolder.java,
6412 org/omg/CORBA/OctetSeqHelper.java,
6413 org/omg/CORBA/OctetSeqHolder.java,
6414 org/omg/CORBA/PolicyErrorCodeHelper.java,
6415 org/omg/CORBA/PolicyErrorHelper.java,
6416 org/omg/CORBA/PolicyHelper.java,
6417 org/omg/CORBA/PolicyListHelper.java,
6418 org/omg/CORBA/PolicyTypeHelper.java,
6419 org/omg/CORBA/PrincipalHolder.java,
6420 org/omg/CORBA/RepositoryIdHelper.java,
6421 org/omg/CORBA/Request.java,
6422 org/omg/CORBA/ShortHolder.java,
6423 org/omg/CORBA/ShortSeqHelper.java,
6424 org/omg/CORBA/ShortSeqHolder.java,
6425 org/omg/CORBA/StringSeqHelper.java,
6426 org/omg/CORBA/StringSeqHolder.java,
6427 org/omg/CORBA/ULongLongSeqHelper.java,
6428 org/omg/CORBA/ULongLongSeqHolder.java,
6429 org/omg/CORBA/ULongSeqHelper.java,
6430 org/omg/CORBA/ULongSeqHolder.java,
6431 org/omg/CORBA/UShortSeqHelper.java,
6432 org/omg/CORBA/UShortSeqHolder.java,
6433 org/omg/CORBA/ValueBaseHelper.java,
6434 org/omg/CORBA/ValueBaseHolder.java,
6435 org/omg/CORBA/VersionSpecHelper.java,
6436 org/omg/CORBA/WCharSeqHelper.java,
6437 org/omg/CORBA/WCharSeqHolder.java,
6438 org/omg/CORBA/WStringSeqHelper.java,
6439 org/omg/CORBA/WStringSeqHolder.java,
6440 org/omg/CORBA/WrongTransactionHelper.java,
6441 org/omg/CORBA/_IDLTypeStub.java,
6442 org/omg/CORBA/_PolicyStub.java,
6443 org/omg/CORBA/portable/BoxedValueHelper.java,
6444 org/omg/CORBA/portable/Delegate.java,
6445 org/omg/CORBA/portable/ObjectImpl.java,
6446 org/omg/CORBA/portable/ServantObject.java,
6447 org/omg/CORBA/portable/StreamableValue.java,
6448 org/omg/CosNaming/BindingType.java,
6449 org/omg/CosNaming/IstringHelper.java,
6450 org/omg/DynamicAny/FieldNameHelper.java,
6451 org/omg/PortableServer/Servant.java: Documentation fixes.
6453 2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
6455 * java/awt/Rectangle.java
6456 (setRect(double, double, double, double)): Modified rounding of input
6459 2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6461 * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6462 Disallow H1 - H6 in the paragraphs.
6463 * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6464 (preprocess): Leave at most one leading and/or trailing space.
6465 * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6466 Do not add any text after closing the HTML tag.
6468 2006-09-02 Roman Kennke <kennke@aicas.com>
6471 * javax/swing/plaf/basic/BasicTextUI.java
6472 (RootView.getPreferredSpan): Default to 10 when there is no
6474 (RootView.getMinimumSpan): Forward to view and default to 10
6475 when there is no real view.
6476 (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6477 (getMaximumSize): Check for overflow.
6478 * javax/swing/text/FieldView.java
6479 (getResizeWeight): Removed unneeded assignment.
6481 2006-09-01 Francis Kung <fkung@redhat.com>
6482 * java/awt/image/ColorConvertOp.java
6483 (copyImage): Updated javadoc and comments.
6484 (copyRaster): Add javadoc.
6485 (createCompatibleColorModel): Add javadocs and comments.
6486 (createCompatibleDestImage): Use correct transfer type.
6487 (createCompatibleDestRaster): Add new parameter for transfer type.
6488 (filter): Use correct transfer type.
6489 * java/awt/image/ConvolveOp.java: Updated javadocs.
6490 (createCompatibleDestImage): Set new image properties correctly.
6491 (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6492 (filter(WritableRaster, Raster): Clip sample values to [0-255].
6494 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6496 * javax/swing/table/DefaultTableModel.java:
6497 (checkSize): Added null check for dataVector.
6499 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6501 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6502 (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6503 (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6505 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6507 * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6508 (paintIcon): Removed unused import statements, lowered cast requirement
6509 from JCheckBox to AbstractButton.
6511 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6513 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6514 (initComponentDefaults): Added, changed and removed some
6515 tabbed pane properties.
6517 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6519 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6520 (createContent): Changed menu item name and tab naming.
6522 2006-09-01 Roman Kennke <kennke@aicas.com>
6525 * javax/swing/plaf/basic/BasicHTML.java
6526 (HTMLRootView.getAttributes): Overridden to return null.
6527 (HTMLRootView.getElement): Overridden to return the view's
6530 2006-09-01 Robert Schuster <robertschuster@fsfe.org>
6532 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6533 (calculateTabAreaHeight): Use getTabRunOverlay method instead
6534 of accessing variable directly.
6535 (calculateTabAreaWidth): Dito.
6537 2006-08-31 Keith Seitz <keiths@redhat.com>
6539 * include/jvmti.h: Include jvmti_md.h.
6541 2006-08-31 Keith Seitz <keiths@redhat.com>
6543 From Martin Platter <motse@complang.tuwien.ac.at>:
6544 * Makefile.am (include_HEADERS): Include jvmti.h.
6545 * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6546 (jvmtiError): Remove superfluous comma after last entry.
6547 (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6548 (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6549 (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6550 (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6552 (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6553 (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6554 (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6557 2006-08-31 Roman Kennke <kennke@aicas.com>
6559 * javax/swing/text/BoxView.java
6560 (getWidth): Return the width with insets added, not with one
6561 added and one removed.
6562 (getHeight): Return the height with insets added, not with one
6563 added and one removed.
6564 * javax/swing/text/GlyphView.java
6565 (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6566 * javax/swing/text/ParagraphView.java
6567 (Row.getAlignment): Adjust alignment with respect to
6568 the justification attribute.
6569 (Row.getLeftInset): Overridden to adjust for firstLineIndent
6571 * javax/swing/text/html/CSS.java
6572 (getValue): Convert length values.
6573 * javax/swing/text/html/Paragraph.java
6574 (painter): New field.
6575 (paint): Implemented to delegate painting to the BoxPainter too.
6576 (setPropertiesFromAttributes): Implemented to load attributes
6578 * javax/swing/text/html/StyleSheet.java
6579 (BoxPainter.as): Removed field.
6580 (BoxPainter.leftInset): New field.
6581 (BoxPainter.bottomInset): New field.
6582 (BoxPainter.rightInset): New field.
6583 (BoxPainter.topInset): New field.
6584 (BoxPainter.BoxPainter): Implemented to load the insets from
6586 (BoxPainter.getInset): Implemented.
6587 * gnu/javax/swing/text/html/Length.java: New class.
6588 Converts CSS length units to usable values.
6590 2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
6592 * configure.ac: Add check for gethostbyname_r.
6593 Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6594 * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6595 SOCKET_NOSIGNAL according to the configure check.
6596 (cpnet_send): Use SOCKET_NOSIGNAL.
6597 (cpnet_sendTo): Likewise.
6598 (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6600 * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6603 * lib/Makefile.am (cssfiles): Add new rule to install css files.
6605 2006-08-31 Roman Kennke <kennke@aicas.com>
6607 * javax/swing/JEditorPane.java
6608 (getPreferredSize): Replace preferred size with minimum
6609 UI size only if the scrollable does _not_ track the viewport
6610 size and only if the viewport's size is smaller than the
6612 (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6614 * javax/swing/plaf/basic/BasicTextUI.java
6615 (getPreferredSize): Read-lock the document to avoid
6616 concurrency problems.
6617 (getMaximumSize): Return maximum size of the view.
6618 Read-lock the document to avoid concurrency problems.
6619 (getMinimumSize): Return minimum size of the view.
6620 Read-lock the document to avoid concurrency problems.
6622 2006-08-31 Gary Benson <gbenson@redhat.com>
6624 * java/net/SocketPermission.java
6625 (maybeBracketIPv6Address): Renamed to processHostport.
6626 (processHostport): Also translate "" to "localhost".
6627 (setHostPort): Remove special cases for empty hostport and for
6628 extra colons in hostport (processHostport handles these now).
6630 2006-08-31 Mark Wielaard <mark@klomp.org>
6632 * javax/swing/text/ZoneView.java (Zone): Make static class.
6633 Constructor takes axis parameter.
6634 (createZone): Create Zone with getAxis() as major axis.
6636 2006-08-30 Roman Kennke <kennke@aicas.com>
6638 * javax/swing/text/ZoneView.java
6639 (loadChildren): Implemented.
6640 (getViewIndexAtPosition): Implemented.
6641 (checkZoneAt): New helper method.
6642 (splitZone): New helper method.
6643 (getPreferredZoneEnd): New helper method.
6645 2006-08-30 Roman Kennke <kennke@aicas.com>
6647 * javax/swing/text/ZoneView.java: New class.
6649 2006-08-30 Roman Kennke <kennke@aicas.com>
6651 * javax/swing/JMenu.java
6652 (getMenu): Removed unneeded cast.
6653 (getPopupMenuOrigin): Made positioning algorithm better respect
6655 (setMenuLocation): Also set the location on the popup if it's
6657 (setModel): Use menuChangeListener so that we don't override
6658 the changeListener field from AbstractButton.
6659 (setPopupMenuVisible): Use custom location if set, otherwise
6660 fallback to getPopupMenuOrigin().
6662 2006-08-29 Roman Kennke <kennke@aicas.com>
6664 * javax/swing/text/InternationalFormatter.java
6665 (stringToValue): Fixed bounds check.
6666 * javax/swing/text/MaskFormatter.java
6667 (MaskFormatter): Don't explicitly set allosInvalid property.
6668 (convertStringToValue): New helper method.
6669 (convertValueToString): New helper method.
6670 (convertValue): Removed. Replaced by the 2 convert* methods
6672 (getPadCharAt): Removed.
6673 (isCharValid): Removed.
6675 (stringToValue): Fixed stringToValue conversion.
6676 (stripLiterals): Removed.
6677 (valueToString): Fixed valueToString conversion.
6678 * javax/swing/text/DefaultFormatter.java
6679 (DefaultFormatter): Default to commitsOnValidEdit = false.
6681 2006-08-29 Roman Kennke <kennke@aicas.com>
6683 * javax/swing/text/TextAction.java
6684 (getTextComponent): Check event for null and return null in
6686 (augmentList): Augment Actions based on their names.
6687 * javax/swing/text/DefaultEditorKit.java
6688 (BeginAction.actionPerformed): Check target for null.
6689 (BeginLineAction.actionPerformed): Check target for null.
6690 (CopyAction.actionPerformed): Check target for null.
6691 (CutAction.actionPerformed): Check target for null.
6692 (EndAction.actionPerformed): Check target for null.
6693 (EndLineAction.actionPerformed): Check target for null.
6694 (InsertBreakAction.actionPerformed): Check target for null.
6695 (InsertTabAction.actionPerformed): Check target for null.
6696 (PasteAction.actionPerformed): Check target for null.
6697 (SelectAllAction.actionPerformed): Check target for null.
6698 (SelectionBeginAction.actionPerformed): Check target for null.
6699 (SelectionBeginLineAction.actionPerformed): Check target for null.
6700 (SelectionEndAction.actionPerformed): Check target for null.
6701 (SelectionEndLineAction.actionPerformed): Check target for null.
6702 (SelectLineAction.actionPerformed): Check target for null.
6703 (SelectWordAction.actionPerformed): Check target for null.
6705 2006-08-29 Roman Kennke <kennke@aicas.com>
6707 * javax/swing/plaf/basic/BasicTextUI.java
6708 (FocusHandler): New class. This is moved from the anonymous
6709 inner focus listener class to a static member class, and
6710 is now shared between components.
6711 (DocumentHandler): This class is combined with the PropertyHandler
6712 into the Handler class.
6713 (PropertyChangeHandler): This class is combined with the
6714 DocumentHandler into the Handler class.
6715 (Handler): New class. This combines the Property and Document
6716 handler into one class.
6717 (RootView.changedUpdate): Only forward if real view != null.
6718 (RootView.insertUpdate): Only forward if real view != null.
6719 (RootView.removeUpdate): Only forward if real view != null.
6720 (documentHandler): Removed field and replaced by handler.
6721 (focuslistener): Made field static and renamed to focusListener.
6722 (handler): New field.
6723 (kit): Lazily initialize field.
6724 (rootView): Lazily initialize field.
6725 (updateHandler): Removed and replaced by handler.
6726 (getEditorKit): Lazily instantiate field.
6727 (installDefaults): Don't set margin twice. Install correct
6728 property for disabledTextColor. Moved caret and highlighter
6729 initialization to installFixedDefaults.
6730 (installFixedDefaults): New method. Installs defaults that
6731 can't be overridden by subclasses.
6732 (installListeners): Only install focus handler when new
6733 system property gnu.swing.text.no-xlike-clipboard is not set.
6734 Lazily initialize focus handler.
6735 (installUI): Lazily initialize rootView. Install handler
6736 both for property and document changes.
6737 (uninstallDefaults): Uninstall the UI defaults.
6738 (uninstallFixedDefaults): New method. Uninstalls the fixed
6740 (installListeners): Only uninstall focus handler when not null.
6741 (uninstallUI): Uninstall property and document listener here.
6743 2006-08-29 Gary Benson <gbenson@redhat.com>
6745 * java/net/SocketPermission.java
6746 (maybeBracketIPv6Address): New method.
6747 (<init>): Pass the hostport argument through the above.
6749 * java/net/NetworkInterface.java (getInetAddresses):
6750 Don't bracket IPv6 addresses.
6752 2006-08-28 Roman Kennke <kennke@aicas.com>
6754 * javax/swing/text/BoxView.java
6755 (calculateMinorAxisRequirements): Initialize max size
6756 with Integer.MAX_VALUE.
6757 * javax/swing/text/Utilities.java
6758 (getBreakLocation): For simple chars, scan the text directly.
6759 * javax/swing/text/WrappedPlainView.java
6760 (tabBase): New field.
6761 (tabSize): New field.
6762 (calculateBreakPosition): Use Utilities. Fixed for correct
6764 (changedUpdate): Update children directly.
6765 (insertUpdate): Update children directly. Notify children.
6766 (removeUpdate): Update children directly. Notify children.
6767 (updateChildren): New helper method.
6768 (nextTabStop): Fixed to return correct results.
6769 (paint): Update tabBase.
6770 (updateMetrics): Update tab size.
6772 2006-08-28 Roman Kennke <kennke@aicas.com>
6774 * javax/swing/text/Position.java
6775 (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6776 (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6778 2006-08-28 Roman Kennke <kennke@aicas.com>
6780 * javax/swing/text/View.java
6781 (height): Removed unneeded field.
6782 (width): Removed unneeded field.
6783 (getBreakWeight): Return GoodBreakWeight when pos is after
6785 (getToolTipText): Check view index more carefully. Avoid
6787 (insertUpdate): Only execute method body if view count > 0.
6788 When updateChildren returns false, clear the ec variable.
6789 (updateChildren): Added null checks.
6790 (viewToModel): Initialize bias array correctly.
6791 * javax/swing/text/CompositeView.java
6792 (children): Made private.
6793 (numChildren): New field.
6794 (loadChildren): Check factory for null. Don't load children
6795 when factory is null.
6796 (replace): Removed null check. Nullify removed children. Made
6797 growing the array more efficient.
6798 (getViewCount): Return numChildren rather then the real array
6800 * javax/swing/text/BoxView.java
6801 (getViewAtPoint): Fixed algorithm for finding the view.
6802 (replace): Made array growing more efficient.
6803 (replaceLayoutArray): New helper method for growing/patching
6805 (viewToModel): Make sure we have a valid layout.
6807 2006-08-28 Tania Bento <tbento@redhat.com>
6809 * java/awt/MenuShortcut.java
6810 (MenuShortcut (int, boolean)): Set keyName.
6811 (toString): Modified string output.
6812 (setKeyName): New private method.
6814 2006-08-28 Roman Kennke <kennke@aicas.com>
6816 * javax/swing/text/GapContent.java
6817 (Mark.getOffset): Made assert less strict, include boundary.
6818 (search): Made package private to avoid accessor method.
6820 2006-08-28 Roman Kennke <kennke@aicas.com>
6822 * javax/swing/text/StringContent.java
6823 (InsertUndo.positions): New field.
6824 (InsertUndo.redo): Update the undo positions.
6825 (InsertUndo.undo): Fetch the undo positions.
6826 (Mark): New class. Layer of indirection to allow Positions
6827 to be GC'ed while we still hold references to the Mark.
6828 (RemoveUndo.len): New field.
6829 (RemoveUndo.positions): New field.
6830 (RemoveUndo.RemoveUndo): Fetch undo positions.
6831 (RemoveUndo.redo): Re-fetch positions and string.
6832 (RemoveUndo.undo): Update undo positions.
6833 (StickyPosition.mark): New field.
6834 (StickyPosition.offset): Removed field.
6835 (StickyPosition.StickyPosition): Create new Mark. Register
6836 Position in queueOfDeath. Update reference count on mark.
6837 (StickyPosition.getOffset): Return offset stored in mark.
6838 (StickyPosition.setOffset): Removed unneeded method.
6839 (UndoPosRef): New class. Handles undo/redo on positions/marks.
6841 (marks): New field. Stores the marks.
6842 (positions): Removed field.
6843 (queueOfDeath): New field. Used for GCing the positions.
6844 (StringContent): Initialize queueOfDeath.
6845 (createPosition): Lazily create marks vector.
6846 (garbageCollect): New helper method. Collects positions
6847 to be GCed and updates their marks.
6848 (getChars): Fixed bounds check.
6849 (getPositionsInRange): When v == null, create new Vector,
6850 otherwise use v. Store UndoPosRefs in vector.
6851 (getString): Added comment about bug in RI.
6852 (insertString): Use new helper method for replacing the array.
6853 Correctly update positions.
6854 (length): Removed this qualifier.
6855 (remove): Use new helper method for replacing the array.
6856 Correctly update positions.
6857 (replace): New helper method for growing or patching the array.
6858 (updateUndoPositions): Implemented. Updates the positions
6859 for undo/redo operations.
6861 2006-08-27 Roman Kennke <kennke@aicas.com>
6863 * javax/swing/text/StyleContext.java
6864 (NamedStyle.attributes): Made field transient.
6865 (NamedStyle.changeEvent): Made field transient.
6866 (NamedStyle.name): Removed field. The name is stored as
6868 (NamedStyle.NamedStyle(String,Style)): Call setName() for
6869 storing the name and check for null name and resolveParent.
6870 Don't initialize changeEvent.
6871 (NamedStyle.copyAttributes): Return a new NamedStyle,
6872 rather than a plain copy of the attributes field.
6873 (NamedStyle.fireStateChange): Lazily create changeEvent
6875 (NamedStyle.getName): Fetch name from attributes.
6876 (NamedStyle.setName): Store name from attributes.
6877 (NamedStyle.readObject): Implemented for correct
6879 (NamedStyle.writeObject): Implemented for correct
6881 (NamedStyle.setResolveParent): When new parent is null,
6882 remove resolveParent attribute. Use addAttribute() method
6883 rather than StyleContext addAttribute().
6884 (NamedStyle.toString): Fixed to produce output equal to the
6886 (SmallAttributeSet.resolveParent): New field.
6887 (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6888 the resolveParent field correctly.
6889 (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6890 array but store it directly. Update
6891 the resolveParent field correctly.
6892 (SmallAttributeSet.clone): Return this as the object is
6894 (SmallAttributeSet.containsAttributes): Make sure that keys
6895 and values are the same.
6896 (SmallAttributeSet.containsAttribute): Make sure that keys
6897 and values are the same.
6898 (SmallAttributeSet.copyAttributes): Return this as the object is
6900 (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6901 are equal if they have the same number of attributes and
6902 one contains the other.
6903 (SmallAttributeSet.getAttribute): Improved lookup of
6905 (SmallAttributeSet.getResolveParent): Improved lookup of
6907 (SmallAttributeSet.isEqual): When comparing object is a
6908 SmallAttributeSet, consider them equal only if they are the
6910 (SmallAttributeSet.toString): Fixed to produce output equal to the
6912 (attributeSetPool): New field.
6913 (defaultStyleContext): Initialize lazily.
6914 (defaultStyle): Removed field. This is stored in the style context
6916 (listenerList): Removed field. The NamedStyle stores the
6918 (readAttributeKeys): New static field. Used for looking up
6919 the serialization mappings when reading.
6920 (search): New field. Used as search key.
6921 (staticAttributeKeys): Replaced by read/writeAttributeKeys.
6922 (styles): New field. Stores the styles and listeners.
6923 (styleTable): Removed field. Replaced by styles field.
6924 (writeAttributeKeys): New static field. Used for looking up
6925 the serialization mappings when writing.
6926 (static_initializer): Register mappings for all keys in
6928 (StyleContext): Initialize styles correctly.
6929 (addAttributes): Fixed caching of immutable attributes.
6930 (addAttribute): Fixed caching of immutable attributes.
6931 (removeAttributes): Fixed caching of immutable attributes.
6932 (removeAttribute): Fixed caching of immutable attributes.
6933 (addChangeListener): Add listener to styles field.
6934 (removeChangeListener): Remove listener from styles field.
6935 (getChangeListeners): Fetch listeners from styles field.
6936 (addStyle): Add style to styles field.
6937 (cleanupPool): New method.
6938 (getDefaultStyleContext): Lazily create context.
6939 (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
6940 (getMutableAttributeSet): New helper method. Used for
6942 (getStaticAttribute): Fetch key from readAttributeKeys.
6943 (getStyleNames): Return names from styles field.
6944 (getStyle): Lookup style in styles field.
6945 (removeStyle): Remove style from styles field.
6946 (readAttributeSet): Fixed deserialization.
6947 (writeAttributeSet): Fixed serialization.
6948 (readObject): Fixed deserialization.
6949 (writeObject): Fixed serialization.
6950 (reclaim): Simply cleanup the pool.
6951 (registerStaticAttributeKey): Store mapping in both ways.
6952 (searchImmutableSet): New helper method for caching.
6953 (toString): Fixed for output like the RI.
6954 * javax/swing/text/StyleConstants.java
6955 (keys): New field. Stores all known keys.
6956 (StyleConstants): Store created key in keys list.
6957 * javax/swing/event/EventListenerList.java
6958 (readObject): Fixed deserialization.
6959 (writeObject): Fixed serialization.
6961 2006-08-25 Roman Kennke <kennke@aicas.com>
6963 * javax/swing/text/CompositeView.java
6964 (insets): Removed. Replaced by single short fields.
6965 (top): New field. Replaces insets.
6966 (bottom): New field. Replaces insets.
6967 (left): New field. Replaces insets.
6968 (right): New field. Replaces insets.
6969 (CompositeView): Initialize insets fields.
6970 (createDefaultLocation): Removed unneeded method.
6971 (getBottomInset): Return field directly.
6972 (getTopInset): Return field directly.
6973 (getLeftInset): Return field directly.
6974 (getRightInset): Return field directly.
6975 (getInsideAllocation): Adjusted to work on new insets fields.
6976 (getViewIndex): Fixed check.
6977 (loadChildren): Don't replace the old children.
6978 (replace): Make sure that there is an array to operate on.
6979 Only set parent to null, when it is this View.
6980 (setInsets): Adjusted to work with new insets fields.
6981 (setParagraphInsets): Fixed to pull insets directly from
6984 2006-08-25 Roman Kennke <kennke@aicas.com>
6986 * javax/swing/text/ComponentView.java
6987 (Interceptor): New inner helper class. Used to propagate
6988 invalidate requests and cache component layout sizes.
6989 (interceptor): New field.
6990 (getAlignment): Fetch alignment from interceptor container.
6991 (getComponent): Don't create component here. This is done
6993 (getMaximumSpan): Fetch layout info from interceptor. Check
6995 (getMinimumSpan): Fetch layout info from interceptor. Check
6997 (getPreferredSpan): Fetch layout info from interceptor. Check
6999 (modelToView): Fixed model to view mapping.
7000 (viewToModel): Fixed view to model mapping.
7001 (paint): Check for null. Set bounds on interceptor rather
7003 (setParentImpl): Install interceptor between component
7004 and hosting container.
7005 (setParent): Call super.setParent() immediately.
7007 2006-08-25 Roman Kennke <kennke@aicas.com>
7009 * javax/swing/text/LabelView.java
7010 (setPropertiesFromAttributes): Only set background when
7011 the corresponding attribute is actually defined, otherwise
7012 set to null, as the StyleConstants would return black.
7013 * javax/swing/text/DefaultStyledDocument.java
7014 (ElementBuffer.documentEvent): Removed obsolete field.
7015 (ElementBuffer.change): Do prepareEdits() and finishEdits()
7016 to correctly update the element structure.
7017 (ElementBuffer.insertContentTag): Removed unused statement.
7018 (ElementBuffer.recreateAfterFracture): Removed
7019 unused obsolete method.
7020 (setCharacterAttributes): Removed unused statement.
7022 2006-08-25 Roman Kennke <kennke@aicas.com>
7024 * examples/gnu/classpath/examples/swing/Demo.java
7025 (LaterMain.run): Removed unused local variable.
7026 (Demo): Don't put desktop in scrollpane.
7027 (addChildren): Removed unused method.
7028 (mkButtonBar): Added HTML demo.
7029 (mkMenuBar): Added HTML demo.
7030 (mkPanel): Removed unused method.
7031 (mkScrollPane): Removed unused method.
7032 (mkTree): Removed unused method.
7033 (valign2str): Removed unused method.
7034 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7035 Initialize text field with some HTML that already works.
7036 (DEBUG): New field. Set to true for debugging output.
7037 (createContent): Dump element tree after parsing.
7039 2006-08-25 Roman Kennke <kennke@aicas.com>
7041 * javax/swing/text/html/CSS.java
7042 (getValue): Added color value conversion.
7043 * javax/swing/text/html/HTMLDocument.java
7044 (HTMLReader.ConvertAction): New class, converts HTML style tags
7046 (HTMLReader.initTags): Register ConvertAction for <font> tag.
7047 * javax/swing/text/html/InlineView.java
7048 (setPropertiesFromAttributes): Implemented to fetch
7049 CSS character attributes.
7050 * javax/swing/text/html/StyleSheet.java
7051 (addCSSAttribute): Convert value.
7052 (getBackground): Implemented to fetch CSS background color
7054 (getForeground): Implemented to fetch CSS color
7056 (getFont): Adjust font size for superscript and subscript.
7057 (translateHTMLToCSS): Rudimentary implementation that
7058 copies the original attributes, so that any CSS attributes in
7059 there are preserved.
7060 (stringToColor): Use CSSColor for conversion.
7061 * gnu/javax/swing/text/html/css/CSSColor.java:
7062 New class. Converts CSS color values to RGB color values.
7063 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7064 Removed. This is more or less replaced by CSSColor and the
7065 ConvertAction in HTMLReader.
7067 2006-08-25 Roman Kennke <kennke@aicas.com>
7069 * javax/swing/text/BoxView.java
7070 (childReqs): Removed obsolete field.
7071 (baselineLayout): Reimplemented for correct baseline layout.
7072 (baselineRequirements): Reimplemented for correct baseline
7074 (updateChildRequirements): Removed obsolete method.
7075 * javax/swing/text/GlyphView.java
7076 (DefaultGlyphPainter.getSpan): Removed unused statement.
7077 (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7078 specially. The subscript/superscript layout is performed
7079 via the alignment, the font is supplied by the StyleContext.
7080 (breakView): Removed unused statements.
7081 (getAlignment): Adjust alignment according to the
7082 superscript/subscript setting.
7083 (getFont): Reimplemented to fetch the font from the style
7084 context, or from the document if the stylecontext is not
7086 (getPreferredSpan): Adjust span for superscript. Use switch
7088 * javax/swing/text/LabelView.java
7089 (setPropertiesFromAttributes): Fetch background and foreground
7090 from document / style context.
7091 (isSubscript): Resync properties if needed.
7092 * javax/swing/text/ParagraphView.java
7093 (Row.calculateMinorAxisRequirements): Overridden to perform
7095 (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7097 2006-08-24 Roman Kennke <kennke@aicas.com>
7099 * javax/swing/text/Utilities.java
7100 (BUF_LENGTH): Removed unused field.
7101 (drawTabbedText): Removed unneeded cast.
7102 (getBreakLocation): Removed unneeded cast.
7103 Fixed offset to account for Segments not starting at 0.
7105 2006-08-24 Roman Kennke <kennke@aicas.com>
7107 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7108 (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7109 (TabbedPaneScrollLayout.layoutContainer): Likewise.
7110 (ScrollingPane.updateUI): Likewise.
7111 (calculateTabWidth): Rewritten to correctly and efficiently
7112 layout the tab width.
7113 (layoutLabel): Call SwingUtilities method with the tabPane
7115 (paintContentBorderLeftEdge): Removed unused statement.
7116 (paintContentBorderRightEdge): Removed unused statement.
7117 (paintContentBorder): Removed unused statement.
7119 2006-08-24 Roman Kennke <kennke@aicas.com>
7121 * javax/swing/plaf/basic/BasicTextUI.java
7122 (RootView.getAttributes): Overridden to return null,
7123 as the RootView has no parent.
7125 2006-08-24 Roman Kennke <kennke@aicas.com>
7127 * javax/swing/text/html/CSSParser.java: Removed.
7128 * javax/swing/text/html/CSS.java
7129 (getValue): New helper method. Returns special converter
7130 instances for certain kinds of property values.
7131 * javax/swing/text/html/HTMLDocument.java
7132 (HTMLReader.CharacterAction.start): Don't translate tags
7133 here. Instead, store the attributes directly with the tag
7135 (content): Removed field. The Content object is handled
7136 by AbstractDocument.
7137 (styleSheet): Removed field. The styleSheet is the styleContext
7138 of this document and handled by the DefaultStyledDocument already.
7139 (HTMLDocument(Content,StyleSheet): Simply call super here.
7140 The super classes already handle the content and styleContext.
7141 (HTMLDocument()): Call this() with a default GapContent and
7143 (getStyleSheet): Return the styleContext here.
7144 (insertUpdate): New method. Overridden to add the
7145 CONTENT dummy tag to the element's attributes.
7146 (setBase): Set the base on the styleContext.
7147 * javax/swing/text/html/HTMLEditorKit.java
7148 (styleContext): Removed unneeded field.
7149 (styleSheet): Made field private.
7150 (HTMLEditorKit): Do nothing here. The StyleSheet is
7151 created lazily in getStyleSheet(). A styleContext is not
7153 (getStyleSheet): Create StyleSheet correctly.
7154 (insertHTML): Removed unneeded cast.
7155 * javax/swing/text/html/InlineView.java
7156 (attributes): New field.
7157 (changedUpdate): Reload attributes. Trigger preferenceChanged.
7158 (getAttributes): Implemented to fetch the attributes from
7160 * javax/swing/text/html/MultiAttributeSet.java: New class.
7161 Multiplexes between several AttributeSets.
7162 * javax/swing/text/html/MultiStyle.java: New class.
7163 Multiplexes between several Styles.
7164 * javax/swing/text/html/ParagraphView.java
7165 (attributes): New field.
7166 (getAttributes): Implemented to fetch the attributes from
7168 * javax/swing/text/html/StyleSheet.java
7169 (CssParser): Removed inner class.
7170 (CSSStyle): New inner class. Represents a style defined
7172 (CSSStyleSheetParserCallback): New class, for parsing
7174 (css): New field. Stores the CSS rules.
7175 (resolvedStyles): New field. Stores resolved styles.
7176 (StyleSheet): Initialize resolvedStyles map.
7177 (addRule): Removed bogus impl.
7178 (getFont): Implemented to fetch font, based on CSS rules.
7179 (getResolvedStyle): New helper method. Looks up resolved
7180 styles, and resolves a style if necessary.
7181 (resolveStyle): New pair of helper methods. Resolves
7183 (getRule(String)): Provide rudimentary implementation.
7184 (getRule(Tag,Element)): Implemented.
7185 (getViewAttributes): Implemented.
7186 (loadRules): Implemented.
7187 (translateHTMLToCSS): Tagged as not implemented.
7188 * javax/swing/text/html/ViewAttributeSet.java: New class.
7190 2006-08-24 Roman Kennke <kennke@aicas.com>
7192 * javax/swing/text/FlowView.java:
7193 (LogicalView.getAttributes): New method. Overrides super
7194 impl to return the attributes of the FlowView instance.
7195 * javax/swing/text/LabelView.java:
7196 (setPropertiesFromAttributes): Fetch attributes from
7197 View, rather then from the Element. (In the HTML
7198 package the getAttributes() method is overridden to
7199 return different attributes). Fetch font from the StyledDocument.
7201 2006-08-24 Roman Kennke <kennke@aicas.com>
7203 * javax/swing/text/DefaultEditorKit.java:
7204 (DefaultKeyTypedAction.actionPerform): Also filter
7205 ALT and CTRL modifiers.
7207 2006-08-24 Roman Kennke <kennke@aicas.com>
7209 * gnu/javax/swing/text/html/css/FontSize.java,
7210 * gnu/javax/swing/text/html/css/FontStyle.java,
7211 * gnu/javax/swing/text/html/css/FontWeight.java:
7212 New classes. Used to convert CSS font attributes to AWT/Swing
7215 2006-08-24 Francis Kung <fkung@redhat.com>
7216 * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7217 * java/awt/image/ColorConvertOp.java: Updated javadocs.
7218 (srccs, dstcs, rasterValid): Variables removed.
7219 (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7220 (copyRaster): Check for null rendering hints
7221 (createCompatibleColorModel): New private method.
7222 (createCompatibleDestImage): Re-implemented.
7223 (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7224 (createCompatibleDestRaster(Raster)): Re-implemented.
7225 (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7226 (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7227 (getPoint2D): Clean up formatting.
7228 * java/awt/image/ComponentColorModel.java
7229 (constructor): use findBits method instead of passing null.
7230 (findBits): New method.
7232 2006-08-24 Gary Benson <gbenson@redhat.com>
7234 * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7237 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7239 * java/lang/ref/Reference.java
7240 (queue, nextOnQueue): Made volatile.
7241 (enqueue): Made thread safe.
7242 * java/lang/ref/ReferenceQueue.java
7244 (poll): Removed synchronized.
7245 (enqueue): Changed to synchronize on lock object, to update Reference
7246 state and return success status.
7247 (dequeue, remove): Synchronize on lock object.
7249 2006-08-24 Jeroen Frijters <jeroen@frijters.net>
7251 * java/security/SecureClassLoader.java
7252 (protectionDomainCache): Changed to HashMap.
7253 (SecureClassLoader): Removed redundant security check.
7254 (defineClass(String,byte[],int,int,CodeSource): Moved
7255 protection domain lookup/construction to new method.
7256 (defineClass(String,ByteBuffer,CodeSource): New method.
7257 (getProtectionDomain): New method.
7259 2006-08-23 Roman Kennke <kennke@aicas.com>
7261 * javax/swing/JComponent.java
7262 (isRepainting): Made package private.
7263 (paintChild): New field.
7264 (findOpaqueParent): Removed method. This is now in
7266 (findOverlapFreeParent): Removed method. This is now
7267 in paintImmediately2().
7268 (findPaintRoot): Removed method. This is now
7269 in paintImmediately2().
7270 (isCompletelyObscured): Changed to take rectangle as single
7272 (isPaintingDoubleBuffered): Removed method. This is now
7273 in paintImmediately2().
7274 (isPartiallyObscured): New helper method.
7275 (onTop): New helper method for optimization.
7276 (paintChildren): Paint only to specific child when
7277 requested like this from paintImmediately2().
7278 (paintDoubleBuffered): Changed to take rectangle as single int
7280 (paintImmediately2): Changed to take rectangle as single int
7281 arguments. Optimized determination of paint root.
7282 (paintImmediately(Rectangle)): Change to delegate to
7283 paintImmediately(int,int,int,int).
7284 (paintImmediately(int,int,int,int)): Look for opaque ancestor
7285 and start painting there.
7286 (paint): Call paintDoubleBuffered() with int arguments. Only
7287 paint component, when not completely occupied by opaque child.
7288 (processKeyBinding): Removed unnecessary cast.
7289 (isOccupiedByChild): New helper method.
7290 * javax/swing/RepaintManager.java
7291 (repaintUnderway): Removed obsolete field.
7292 (commitRequests): Removed obsolete field.
7293 (RepaintManager): Removed initialization of obsolete fields.
7294 (addDirtyRegion): Removed unused statement.
7295 (commitBuffer): Changed to take plain ints as argument.
7296 (compileRepaintRoots): Optimized to avoid use of Rectangle.
7297 Compute offsets in place, rather than using SwingUtilities.
7298 (paintDirtyRegions): Removed unused field.
7299 * javax/swing/JMenuItem.java
7300 (onTop): Return true when not descendant of JInternalFrame.
7301 * javax/swing/JPopupMenu.java
7302 (onTop): Return true.
7303 * javax/swing/JToolTip.java
7304 (onTop): Return true.
7305 * javax/swing/JViewport.java
7306 (paintImmediately2): Change signature to match the
7307 corresponding JComponent method.
7309 2006-08-23 Tania Bento <tbento@redhat.com>
7311 * java/awt/Color.java
7312 (brighter): Modified algorithm to correctly determine the
7313 new brighter colour.
7315 2006-08-23 Roman Kennke <kennke@aicas.com>
7317 * java/awt/Container.java
7318 (maxSize): Removed field. This is already declared in Component.
7319 (validateTree): Check for ContainerPeer. Don't addNotify here.
7320 Only validate Component instances if they are invalid.
7322 2006-08-22 Roman Kennke <kennke@aicas.com>
7324 * javax/swing/JComponent.java
7325 (preferredSize): Removed field.
7326 (maximumSize): Removed field.
7327 (minimumSize): Removed field.
7328 (getMaximumSize): Adjusted to delegate to Component, rather
7329 then managing the size in JComponent.
7330 (getMinimumSize): Adjusted to delegate to Component, rather
7331 then managing the size in JComponent.
7332 (getPreferredSize): Adjusted to delegate to Component, rather
7333 then managing the size in JComponent.
7334 (isMaximumSizeSet): Removed.
7335 (isMinimumSizeSet): Removed.
7336 (isPreferredSizeSet): Removed.
7337 (setMaximumSize): Removed.
7338 (setMinimumSize): Removed
7339 (setPreferredSize): Removed.
7341 2006-08-22 Roman Kennke <kennke@aicas.com>
7343 * javax/swing/AbstractButton.java
7344 (ButtonChangeListener.stateChanged): Delegate to combined
7346 (EventHandler): New inner class. Handles all three types
7347 of events on the model.
7348 (eventHandler): New field. Stores the combined event
7350 (AbstractButton): Moved listener initialization to
7352 (createActionListener): Return combined handler.
7353 (createChangeListener): Return combined handler.
7354 (createItemListener): Return combined handler.
7355 (getEventHandler): New helper method for creating the combined
7357 (setModel): Initialize listeners here.
7358 * javax/swing/plaf/basic/BasicButtonListener.java
7359 (ButtonAction): New class. Implements the keyboard action
7361 (checkOpacity): Implemented.
7362 (createDefaultActionMap): New helper method.
7363 (installKeyboardActions): Rewritten to install InputMap
7364 and ActionMap according to 'new' keyboard input method.
7365 (mouseClicked): Commented as no-op.
7366 (mouseDragged): Commented as no-op.
7367 (mouseMoved): Commented as no-op.
7368 (propertyChange): Check for contentAreaFilled change and
7369 update opacity. Pull handling of HTLM in font and text handler.
7370 (stateChanged): Repaint button.
7371 (uninstallKeyboardActions): Properly uninstall keyboard actions.
7372 * javax/swing/plaf/basic/BasicButtonUI.java
7373 (listener): Removed.
7374 (sharedListener): New static field. Stores the shared listener.
7375 (sharedUI): New static field. Stores the shared UI.
7376 (createButtonListener): Return shared instance here.
7377 (createUI): Return shared instance here.
7378 (getButtonListener): New helper method. Looks for the
7379 BasicButtonListener installed on a button and returns it.
7380 (installDefaults): Correctly install rollover property here.
7381 Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7382 (installKeyboardActions): Fetch listener with new helper method.
7383 (installListeners): Don't use removed field. Check for null.
7384 (installUI): Added comment about order of method invocations.
7385 (uninstallDefaults): Don't uninstall non-uninstallable properties.
7386 (uninstallKeyboardActions): Fetch listener with new helper method.
7387 (uninstallListeners): Fetch listener with new helper method.
7388 (paintIcon): Paint icon offset when pressed and armed.
7389 * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7390 * javax/swing/plaf/metal/MetalButtonUI.java
7391 (sharedUI): New field. Stores the shared UI.
7392 (MetalButtonUI): Don't initialize fields here.
7393 (createButtonListener): Removed method. Use super impl.
7394 (createUI): Return shared instance.
7395 (getDisabledTextColor): Update field here.
7396 (getFocusColor): Update field here.
7397 (getSelectColor): Update field here.
7398 (installDefaults): Don't handle rollover property here.
7399 (uninstallDefaults): Don't handle rollover property here.
7400 (paintButtonPressed): Use accessor method to update the
7403 2006-08-21 Mark Wielaard <mark@klomp.org>
7405 Merge NATIVE_LAYER branch.
7407 2006-08-20 Mark Wielaard <mark@klomp.org>
7409 * doc/tools.texinfo: Add file from trunk.
7410 * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7411 * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7413 * native/jni/java-lang/java_lang_VMProcess.c
7414 (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7415 * native/jni/java-net/java_net_VMInetAddress.c
7416 (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7417 * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7419 * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7421 * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7423 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7425 * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7427 * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7429 * include/java_lang_VMProcess.h: Regenerated.
7431 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
7433 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7434 (nativeReceive): Fixed the type of the arrays (use java types).
7435 (nativeSendTo): Force throwing an exception if port is 0.
7437 * native/jni/java-net/javanet.c:
7438 (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7440 (_javanet_recvfrom): Likewise.
7441 (_javanet_sendto): Throw a NullPointerException if the socket is
7442 not connected and no address is given.
7444 * native/jni/java-net/javanet.h
7445 (NULL_EXCEPTION): Defined.
7447 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
7449 * native/jni/java-net/java_net_VMInetAddress.c
7450 (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7453 * native/jni/java-net/javanet.c
7454 (_javanet_accept): Fixed bogus call to TARGET.
7455 (_javanet_create_inetaddress): Fixed address generation. Fixed
7457 (_javanet_bind): set "Reuse address" flag.
7459 * native/jni/native-lib/cpio.c
7460 (cpio_getModificationTime): Fixed type.
7461 (cpio_removeFile): Use rmdir too.
7463 * native/jni/native-lib/cpnet.c
7464 (cpnet_getHostByName): Fixed error detection.
7466 * native/jni/native-lib/cpnet.h
7467 (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7469 (cpnet_IPV4AddressToBytes): Fixed types.
7471 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
7473 * native/jni/native-lib/cpio.c
7474 (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7476 * native/jni/native-lib/cpnet.h:
7477 (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7478 messed by signs in jbyte.
7480 * native/jni/native-lib/cpproc.h
7481 (CPIO_EXEC_NUM_PIPES): Compilation fix.
7483 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
7485 * native/jni/native-lib/cpnet.c
7486 (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7487 (waitForWritable, waitForReadable): New functions.
7488 (socketTimeouts): New static global table to hold timeouts for all
7490 (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7491 Added waitForXXXX safeguards to handle socket timeouts.
7493 * native/jni/java-net/javanet.c
7494 (_javanet_accept): Check for the right error value when a timeout
7497 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
7499 * native/jni/java-io/Makefile.am,
7500 native/jni/java-lang/Makefile.am,
7501 native/jni/java-net/Makefile.am,
7502 native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7504 * native/jni/native-lib/Makefile.am: Added cpproc.c
7506 * native/jni/native-lib/cpio.c: Implemented missing functions for
7509 * native/jni/native-lib/cpnet.c
7510 (cpnet_getHostByName): Fixed address array initialization.
7512 * native/jni/native-lib/cpproc.c: Implemented.
7514 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7516 * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7518 * m4/gcc_attribute.m4: New file from ac_archive.
7520 * native/jni/java-net/javanet.c: Adapted to cpnet API
7523 * native/jni/native-lib/cpnet.c: Implemented.
7525 * native/jni/native-lib/cpnet.h
7526 (cpnet_openSocketDatagram,
7527 cpnet_openSocketStream): These calls need an address family now.
7528 (cpnet_IPV4AddressToBytes,
7529 cpnet_bytesToIPV4Address): Convert the address to network order.
7531 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
7533 * native/jni/java-io/java_io_VMFile.c,
7534 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7535 native/jni/midi-dssi/dssi_data.h,
7536 native/jni/native-lib/cpio.c,
7537 native/jni/native-lib/cpmath.h: Removed cpmath
7538 dependency. Fixed coding style.
7540 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7542 * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7543 dependency. Simplified the JNI code by moving some part into the
7546 * native/jni/native-lib/cpproc.h: New interface to handle processes.
7548 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
7550 * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7551 errors. Removed any remaining TARGET invocations.
7553 * native/jni/java-net/javanet.c
7554 (_javanet_create_inetaddress): Removed spurious arr and
7555 octets. Fixed compilation errors.
7557 * native/jni/native-lib/cpnet.h
7558 (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7559 cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7560 cpnet_isIPV4Address): New functions.
7561 (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7564 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7566 * native/jni/java-io/java_io_VMFile.c,
7567 native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7568 native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7569 native/jni/java-net/javanet.c,
7570 native/jni/java-net/javanet.h: Adapted the VM layer code
7571 to the new native layer.
7573 * native/jni/native-lib/cpnet.h
7574 (cpnet_addMembership,
7575 cpnet_dropMembership,
7576 cpnet_getAvailableBytes): Added the declarations of
7578 (cpnet_newIPV6Address,
7579 cpnet_IPV6AddressToBytes,
7580 cpnet_bytesToIPV6Address): Implemented.
7581 (cpnet_newIPV4Address): Initialize the sin_family field.
7583 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
7585 * native/target: Removed.
7587 * configure.ac: Removed target from CLASSPATH_INCLUDES and
7588 Makefile generation.
7590 * native/jni/native-lib/Makefile.am,
7591 native/jni/native-lib/cpnet.h,
7592 native/jni/native-lib/cpnet.c
7593 native/jni/native-lib/cpio.h,
7594 native/jni/native-lib/cpio.c,
7595 native/jni/native-lib/cpmath.h: Imported new native compatibility
7598 2006-08-21 Roman Kennke <kennke@aicas.com>
7600 * gnu/javax/swing/text/html/css/CSSParser.java:
7602 * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7604 * gnu/javax/swing/text/html/css/CSSParserException.java:
7606 * gnu/javax/swing/text/html/css/CSSScanner.java:
7607 Adjusted API comments. Made all constants package private.
7608 (EOF): New constant field.
7609 (parseBuffer): Made package private.
7610 (tokenEnd): Made package private.
7611 (CSSScanner): Initialize lookahead buffer with -1.
7612 (main): Print out to System.out rather then System.err.
7613 (nextToken): Push back character after IDENT.
7615 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7617 * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7619 2006-08-21 Roman Kennke <kennke@aicas.com>
7621 * gnu/javax/swing/text/html/css/CSSScanner.java
7622 (main): Use buffered input stream.
7623 (nextToken): Removed 65536 workaround. Use int value directly
7624 without cast to char.
7625 (readComment): Use int value directly without cast to char.
7626 Cast to char only when putting the character into the buffer.
7627 (readEscape): Likewise.
7628 (readIdent): Likewise.
7629 (readName): Likewise.
7630 (readNum): Likewise.
7631 (readString): Likewise.
7632 (readWhitespace): Likewise.
7634 2006-08-21 Ingo Proetel <proetel@aicas.com>
7636 * java/io/InputStreamReader.java
7637 (bytesCache): New field.
7638 (cacheLock): New field.
7639 (read(byte[],int,int): Avoid allocations of new byte
7640 array on every call and reuse cached byte array if possible.
7642 2006-08-21 Roman Kennke <kennke@aicas.com>
7644 * gnu/java/net/local/LocalSocketImpl.java
7645 Only load native lib if this is supported by runtime.
7646 * native/jni/java-net/local.c
7647 Include config.h unconditionally.
7648 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7649 Include config.h unconditionally.
7651 2006-08-21 Friedjof Siebert <siebert@aicas.com>
7653 * java/io/ObjectInputStream.java
7654 (objectLookupTable): Changed to be a Vector.
7655 (ObjectInputStream): Initialize objectLookupTable as Vector.
7656 (assignNewHandle): Store Object using handle index rather than
7657 Hashtable, using the new rememberHandle() method.
7658 (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7659 with a caching in ObjectStreamClass.
7660 (inputGetObjectStreamClass): Replaced by hierarchy().
7661 (lookupHandle): New method. Looks up an object by it's handle
7663 (parseContent): Avoid creating of Integer objects. Use
7664 hierarchy() method for looking up the class hierarchy.
7665 (processResolution): Use rememberHandle() to store
7666 handle per index, rather than Hashtabling the object.
7668 (rememberHandle): New method.
7669 * java/io/ObjectOutputStream.java
7670 (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7671 Hashtable for improved lookup performance.
7672 (ObjectOutputStream): Initialize OIDLookupTable as
7673 ObjectIdentityMap2Int.
7674 (assignNewHandle): Change to use ObjectIdentityMap2Int.
7675 (findHandle): Change to use ObjectIdentityMap2Int.
7676 (getBooleanField): Removed.
7677 (getByteField): Removed.
7678 (getCharField): Removed.
7679 (getDoubleField): Removed.
7680 (getField): Removed.
7681 (getFloatField): Removed.
7682 (getIntField): Removed.
7683 (getLongField): Removed.
7684 (getObjectField): Removed.
7685 (writeFields(Object,ObjectStreamClass)): Use new helper method.
7686 (writeFields(Object,ObjectStreamField)): New helper method.
7687 Use switch rather then if-else cascade.
7688 (writeObject): Use int handle, rather then Integer.
7689 * java/io/ObjectStreamClass.java
7690 (hierarchy): New field. Caches the class hierarchy.
7691 (methodCache): New field. Caches methods.
7692 (readObjectSignature): New field. Stores the read signature.
7693 (uidCache): New field. Caches UIDs.
7694 (writeObjectSignature): New field. Stores the write signature.
7695 (cacheMethods): Cache methods in methodCache.
7696 (calculateClassID): Outsourced from getClassUID()
7697 for computing the UIDs.
7698 (getClassUIDFromField): Outsourced from getClassUID() for
7699 fetching the UID from the class field.
7700 (getClassUID): Use cached uid if possible. Use new helper
7701 methods for fetching the UID from the field or computing
7703 (getObjectStreamClasses): Removed. Replaced by more
7704 efficient hierarchy() method, that also caches the result.
7705 (hierarchy): Replaces getObjectStreamClasses() for caching
7707 (loadedByBootOrApplicationClassLoader): New helper method.
7708 (setClass): Invalidate hierarchy cache.
7709 (setSuperclass): Invalidate hierarchy cache.
7710 * java/io/ObjectStreamField.java
7711 (field): Made field package private for access from other
7713 * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7714 * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7715 hashtable for mapping objects to ints.
7717 2006-08-21 Roman Kennke <kennke@aicas.com>
7720 (getAbsolutePath): Fetch absolute path from
7721 VMFile.getAbsolutePath(). Moved actual impl to there.
7722 (isAbsolute): Let VMFile determine the absoluteness.
7723 (toURL): Let VMFile convert the filename.
7724 * vm/reference/java/io/VMFile.java
7725 (getAbsolutePath): New method.
7726 (isAbsolute): New method.
7727 (toURL): New method.
7729 2006-08-21 Jeroen Frijters <jeroen@frijters.net>
7731 * NEWS: Added note about updated VM interface.
7733 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7735 * java/lang/management/ManagementFactory.java:
7736 Updated documentation.
7738 2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
7741 * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7743 * gnu/java/util/regex/CharIndexedCharSequence.java,
7744 gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7746 * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7747 (match): call the new method setHitEnd of the input,
7748 (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7749 Some optimization commented out, Use CharIndexed#move1 instead of move.
7750 * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7751 * gnu/java/util/regex/REToken.java(match): The method body has been
7752 moved to an internal private method, (matchFake): New method,
7753 (setHitEnd): New method.
7754 * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7755 if the match is not complete, (matchOneString): Count the number of
7756 characters which matched the pattern.
7757 * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7758 (setFake): New method, (match): Call super.match or super.matchFake.
7759 * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7760 * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7761 setHitEnd of the input,
7762 * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7763 * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7764 RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7766 2006-08-18 Tom Tromey <tromey@redhat.com>
7768 * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7769 the 'int', not the cast char.
7771 2006-08-18 Roger Sayle <roger@eyesopen.com>
7773 * scripts/check_jni_methods.sh: Don't use the "set -C" command
7774 which isn't available in all shells.
7776 2006-08-18 Roger Sayle <roger@eyesopen.com>
7778 * lib/Makefile.am (resources): Fix some shell portability issues.
7780 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7782 * configure.ac (tool-wrappers): Check for ltdl support when tool
7783 wrapper binaries are enabled.
7784 * tools/Makefile.am (LIBJVM): Remove variable.
7785 (AM_CPPFLAGS): Add LIBJVM define.
7786 (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7787 gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7788 gjavah_LDFLAGS): Remove variables.
7789 * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7791 2006-08-18 Tom Tromey <tromey@redhat.com>
7793 * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7795 * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7797 (readEntries): Likewise.
7799 2006-08-17 Roman Kennke <kennke@aicas.com>
7801 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7802 (layoutLabel): Reset the text and icon rectangles.
7804 2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7807 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7808 Transform gappletviewer name using program_transform_name.
7810 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7812 * javax/swing/filechooser/FileSystemView.java
7813 (getFileSystemView): Always return UnixFileSystemView, since
7814 that's the only one we got. Marked with NotImplementedException.
7815 * javax/swing/plaf/basic/BasicFileChooserUI.java
7816 (mouseClicked, installUI): Don't parse path by hand.
7818 2006-08-17 Roman Kennke <kennke@aicas.com>
7820 * javax/swing/JComponent.java
7821 (scrollRectToVisible): Handle intermediate non-JComponents
7824 2006-08-17 Roman Kennke <kennke@aicas.com>
7826 * javax/swing/RepaintManager.java
7827 (blitBuffer): Removed. This is now done in commitBuffer().
7828 (commitBuffer): Always paint on the root window or applet.
7829 No need to look for intermediate heavyweights. Optimized
7830 rectangle translation.
7831 (commitRemainingBuffers): Removed. Not needed anymore.
7832 (getHeavyweightParent): Removed. Not needed anymore.
7833 (getOffscreenBuffer): Fetch offscreen image from the
7834 actual root component.
7835 (paintDirtyRegions): Don't call commitRemainingBuffers().
7837 2006-08-17 Roman Kennke <kennke@aicas.com>
7839 * javax/swing/SwingUtilities.java
7840 (clipString): New helper method for trimming strings.
7841 (layoutCompoundLabelImpl): Fixed algorithm to conform
7842 testsuites. Trim text if it's too long. Avoid creating
7843 new Rectangles. Optimized for performance.
7844 (layoutCompoundLabel): Use switch rather then if-else-chain.
7845 * javax/swing/plaf/basic/BasicButtonUI.java
7849 (paint): Reset and use cached rectangles. Only call paintIcon()
7850 if icon is not null. Don't call paintButtonPressed() when
7851 button is selected, only when it is both armed and pressed.
7852 * javax/swing/plaf/basic/BasicGraphicsUtils.java
7853 (getPreferredButtonSize): Reused cached rectangles rather
7854 then creating new ones. Don't create new Rectangle via
7856 * javax/swing/plaf/basic/BasicLabelUI.java
7857 (getPreferredSize): Correctly reset cached rectangles. Especially
7858 the view rect must have a big size to give it room for layouting.
7859 Short cut layout when text == null.
7860 (paint): Correctly reset cached rectangles.
7861 * javax/swing/plaf/basic/BasicMenuItemUI.java
7862 (resetRectangles): New helper method.
7863 (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7864 (paintMenuItem): Correctly reset the cached rectangles.
7865 * javax/swing/plaf/basic/BasicRadioButtonUI.java
7866 (getPreferredSize): Use cached Rectangle objects and initialize
7868 (paint): Use cached Rectangle objects and initialize
7871 2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
7873 * java/util/Calendar.java: API doc additions.
7875 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7877 * javax/swing/DefaultButtonModel.java:
7878 (setRollover): Simplified statement.
7880 2006-08-17 Jeroen Frijters <jeroen@frijters.net>
7882 * gnu/java/rmi/server/RMIClassLoaderImpl.java
7883 (loadClass): Rewritten to use getClassLoader.
7884 (loadProxyClass): Implemented.
7885 (getClassLoader): Fixed support for null or empty codebase.
7886 * gnu/java/rmi/server/RMIObjectInputStream.java
7887 (resolveClass): Use user class loader as default class loader.
7888 (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7889 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7890 (loadClass): Simplified and use user class loader instead of
7891 context class loader as default.
7892 * java/io/ObjectInputStream.java
7893 (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7894 * vm/reference/gnu/classpath/VMStackWalker.java
7895 (firstNonNullClassLoader): New method.
7896 * vm/reference/java/io/VMObjectInputStream.java
7897 (loaderAction, currentClassLoader): Removed.
7899 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7901 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7902 (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7903 by current scroll offset, added method documention.
7904 (getTabBounds(int, Rectangle)): Added method documentation.
7905 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7906 (paintContentBorderLeftEdge): Changed y to 1.
7908 2006-08-17 Robert Schuster <robertschuster@fsfe.org>
7910 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7911 (MouseHandler.mouseReleased): Implemented.
7912 (MouseHandler.mousePressed): Added delegation to tabbed pane.
7913 (MouseHandler.mouseEntered): Dito.
7914 (MouseHandler.mouseExited): Dito.
7915 (MouseHandler.mouseMoved): Dito.
7916 (MouseHandler.redispatchEvent): New method.
7917 (PropertyChangeHandler.propertyChange): Added extra block level,
7918 added code to handle tab placement changes, added comment.
7919 (updateViewPosition): Set unneeded coordinate to 0, added comment.
7921 2006-08-16 Roman Kennke <kennke@aicas.com>
7923 * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
7924 * gnu/javax/swing/text/html/css/CSSLexicalException.java:
7927 2006-08-16 Mark Wielaard <mark@klomp.org>
7929 * java/awt/Component.java (orientation): Renamed to
7930 componentOrientation.
7931 (setComponentOrientation): Use new field name.
7932 (getComponentOrientation): Likewise.
7934 2006-08-16 Roman Kennke <kennke@aicas.com>
7937 * javax/swing/plaf/basic/BasicTreeUI.java
7938 (CellEditorHandler.editingCancelled): Call completeEditing
7940 (CellEditorHandler.editingStopped): Call completeEditing
7942 (NodeDimensionHandler.getNodeDimensions): Rewritten
7943 to use the preferred sizes of the renderer and editor.
7944 (TreeExpansionHandler.treeCollapsed): Complete editing
7946 (TreeSelectionHandler.valueChanged): Complete editing
7948 (cancelEditing): Call completeEditing with false, false and
7949 false. Don't call finish (removed method).
7950 (completeEditing(boolean,boolean,boolean): Only do something when
7951 stopEditingInCompleteEditing is true. Nullify editingComponent
7952 and editingPath. Remove editingComponent from tree. Update
7953 the layout when necessary and repaint.
7954 (completeEditing): Stop editing when necessary.
7955 (editorRequestFocus): New helper method. Request focus
7956 on the actual editor.
7957 (finish) Removed. This is now done in completeEditing().
7958 (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
7959 (setLargeModel): Complete editing here.
7960 (setRootVisible): Complete editing here.
7961 (setRowHeight): Complete editing here.
7962 (setSelectionModel): Complete editing here.
7963 (startEditing): Correctly initialize and start editing.
7964 (updateExpandedDescendants): Complete editing here.
7965 * javax/swing/tree/DefaultTreeCellEditor.java
7966 (DefaultTextField): Fetch size from super and use renderer's height
7968 (EditorContainer.EditorContainer): Set layout to null, just
7970 (EditorContainer.doLayout): Layout so that the editor
7971 is offset to the right of the icon.
7972 (EditorContainer.getPreferredSize): Implemented to
7973 provide a reasonable preferred size.
7974 (EditorContainer.paint): Position icon in the middle.
7975 Also paint border if appropriate.
7976 (EditorContainer.setBounds): Removed.
7977 (RealEditorListener): Removed.
7978 (DefaultTreeCellEditor): Set correct border.
7979 (cancelCellEditing): Message real editor. Call finish().
7980 (createCellEditor): Don't add listener.
7981 (determineOffset): Correctly determine offset, and update
7983 (finish): New helper method.
7984 (getTreeCellEditorComponent): Set correct font. Call
7985 prepareForEditing() and determineOffset() to correctly initialize
7987 (stopCellEditing): Messsage realEditor to stop editing. Call
7989 (stopEditingTimer): Removed.
7990 (valueChanged): Correctly reset lastPath.
7991 * javax/swing/tree/DefaultTreeCellRenderer.java
7992 (getPreferredSize): Return super plus some extra space for
7995 2006-08-16 Roman Kennke <kennke@aicas.com>
7997 * javax/swing/plaf/metal/MetalTreeUI.java
7998 (LineStyleListener): New property listener, that updates
7999 the line style setting if the corresponding property
8001 (lineStyleListener): New field.
8002 (lineStyle): New field.
8003 (LINE_STYLE_ANGLED): New constant field.
8004 (LINE_STYLE_HORIZONTAL): New constant field.
8005 (LINE_STYLE_NONE): New constant field.
8006 (LINE_STYLE_VALUE_ANGLED): New constant field.
8007 (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8008 (LINE_STYLE_VALUE_NONE): New constant field.
8009 (LINE_STYLE_PROPERTY): New constant field.
8010 (decodeLineStyle): Implemented.
8011 (installUI): Install line style listener. Set initial
8013 (uninstallUI): Uninstall line style listener.
8014 (paintHorizontalPartOfLeg): Only call super for angled
8016 (paintVerticalPartOfLeg): Only call super for angled
8018 (paintHorizontalSeparators): Implemented.
8019 (paint): If lineStyle==HORIZONTAL, call
8020 paintHorizontalSeparators().
8021 * examples/gnu/classpath/examples/swing/TreeDemo.java
8022 (createContent): Add panel for selecting line styles.
8024 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8026 * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8027 (createContent): Rewritten.
8028 (createPlacementChangingMenuItem): New method.
8029 (createLayoutPolicyChangingMenuItem): New method.
8030 (createTabbedPane): New method.
8031 (createTabContent): New method.
8033 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8035 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8036 (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8037 disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8039 2006-08-16 Robert Schuster <robertschuster@fsfe.org>
8041 * javax/swing/text/WrappedPlainView.java:
8042 (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8043 (calculateBreakPosition): Add p0 to return value.
8045 2006-08-15 Roman Kennke <kennke@aicas.com>
8047 * javax/swing/plaf/basic/BasicTreeUI.java
8048 (MouseHandler.selectedOnPress): New field.
8049 (MouseHandler.handleEvent): New helper method for handling
8050 selection and start/stop editing for mouse events.
8051 (MouseHandler.mouseDragged): Commented as no-op method.
8052 (MouseHandler.mouseMoved): Commented as no-op method.
8053 (MouseHandler.mousePressed): Use handleEvent() to handle
8054 selection and editing handling.
8055 (MouseHandler.mouseReleased): Use handleEvent() to handle
8056 selection and editing handling.
8057 (MouseInputHandler.MouseInputHandler): Register itself
8058 as mouse listener on source. Redispatch event to
8060 (MouseInputHandler.dispatch): New helper method.
8061 (MouseInputHandler.mouseClicked): Dispatch event.
8062 (MouseInputHandler.mouseDragged): Dispatch event.
8063 (MouseInputHandler.mouseEntered): Stop dispatching
8064 if dragging stopped.
8065 (MouseInputHandler.mouseExited): Stop dispatching
8066 if dragging stopped.
8067 (MouseInputHandler.mouseMoved): Stop dispatching.
8068 (MouseInputHandler.mousePressed): Marked as no-op.
8069 (MouseInputHandler.mouseReleased): Dispatch and stop
8070 dispatching afterwards.
8071 (MouseInputHandler.removeFromSource): Implemented.
8072 (PropertyChangeHandler.propertyChange): Also handle
8073 editable property changes by calling setEditable().
8074 (SelectionModelPropertyChangeHandler.propertyChange):
8075 Reset row selection.
8076 (startEditTimer): Removed.
8077 (setCellEditor): Call updateEditor().
8078 (setEditable): Call updateEditor().
8079 (startEditingAtPath): Make path fully visible before starting
8081 (startEditing): Maybe cancel previous edit session. Add
8082 editing component itself, not its parent container.
8083 Register MouseInputHandler for correctly redispatching
8085 (stopEditing): Message cellEditor and only completeEditing()
8086 when approved by cell editor.
8087 (updateCellEditor): Complete editing before updating
8088 the cell editor. Get cell editor from JTree if possible,
8089 otherwise create default editor. Update the listeners
8091 * javax/swing/tree/DefaultTreeCellEditor.java
8092 (CLICK_COUNT_TO_START): Removed.
8093 (DefaultTreeCellEditor): Install correct border. Let setTree()
8094 update the listeners. Don't initialize lastPath and font yet.
8095 (actionPerformed): Implemented to start editing.
8096 (createTreeCellEditor): Set click count to start to 1, rather than
8098 (isCellEditable): Prepare editor here. Determine if we can
8099 start immediately, or if we trigger a timer to do so.
8100 (prepareForEditing): Don't removeAll() (not necessary),
8101 check editingComponent to be non-null.
8102 (setTree): Update listeners.
8103 (shouldStartEditingTimer): Check for left mouse button.
8104 (startEditingTimer): Lazily create timer.
8106 2006-08-15 Lillian Angel <langel@redhat.com>
8108 * java/awt/dnd/DropTargetDragEvent.java
8109 (getTransferable): Implemented.
8111 2006-08-15 Roman Kennke <kennke@aicas.com>
8113 * java/util/Vector.java
8114 (removeAll): Added comment about NPE.
8115 (retainAll): Added comment about NPE.
8117 2006-08-15 Roman Kennke <kennke@aicas.com>
8119 * java/util/zip/ZipFile.java
8120 (UTF8DECODER): Removed.
8121 (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8122 (utf8Decoder): New instance field.
8123 (decodeChars): Lazily create UTF8 decoder. Use instance
8124 field rather than a static field to avoid corruption.
8126 2006-08-15 Roman Kennke <kennke@aicas.com>
8128 * java/io/PrintStream.java
8129 (line_separator): Provide default for system property.
8130 * java/io/FileDescriptor.java
8131 (valid): Create local copy of channel field for better
8134 2006-08-15 Ingo Proetel <proetel@aicas.com>
8136 * java/util/zip/ZipFile.java
8137 (PartialInputStream.UTF8DECODER): New constant field, used
8138 for decoding UTF8 strings.
8139 (readLeShort): Access buffer directly if it has enough bytes
8141 (readLeInt): Access buffer directly if it has enough bytes
8143 (decodeChars): New helper method for decoding UTF8 strings.
8144 (readString): Avoid NIO charset decoder if possible.
8146 2006-08-15 Roman Kennke <kennke@aicas.com>
8148 * java/util/Vector.java
8149 (removeAll): Don't explicitly null-check here. The RI allows
8150 null arguments when Vector is empty. In other cases we
8151 implicitly throw an NPE.
8152 (retainAll): Don't explicitly null-check here. The RI allows
8153 null arguments when Vector is empty. In other cases we
8154 implicitly throw an NPE.
8156 2006-08-14 Casey Marshall <csm@gnu.org>
8158 Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8159 of changes made on this branch.
8161 * gnu/classpath/debug/Component.java
8162 * gnu/classpath/debug/SystemLogger.java
8163 * gnu/java/security/action/GetPropertyAction.java
8164 * gnu/java/security/action/GetSecurityPropertyAction.java
8165 * gnu/javax/crypto/RSACipherImpl.java
8166 * gnu/javax/net/ssl/PrivateCredentials.java
8167 * gnu/javax/net/ssl/provider/Alert.java
8168 * gnu/javax/net/ssl/provider/AlertException.java
8169 * gnu/javax/net/ssl/provider/Certificate.java
8170 * gnu/javax/net/ssl/provider/CertificateRequest.java
8171 * gnu/javax/net/ssl/provider/CertificateType.java
8172 * gnu/javax/net/ssl/provider/CertificateVerify.java
8173 * gnu/javax/net/ssl/provider/CipherSuite.java
8174 * gnu/javax/net/ssl/provider/ClientHello.java
8175 * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8176 * gnu/javax/net/ssl/provider/CompressionMethod.java
8177 * gnu/javax/net/ssl/provider/Constructed.java
8178 * gnu/javax/net/ssl/provider/ContentType.java
8179 * gnu/javax/net/ssl/provider/DiffieHellman.java
8180 * gnu/javax/net/ssl/provider/Extension.java
8181 * gnu/javax/net/ssl/provider/Finished.java
8182 * gnu/javax/net/ssl/provider/Handshake.java
8183 * gnu/javax/net/ssl/provider/Jessie.java
8184 * gnu/javax/net/ssl/provider/ProtocolVersion.java
8185 * gnu/javax/net/ssl/provider/Random.java
8186 * gnu/javax/net/ssl/provider/ServerHello.java
8187 * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8188 * gnu/javax/net/ssl/provider/Signature.java
8189 * gnu/javax/net/ssl/provider/Util.java
8190 * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8191 * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8192 * java/security/MessageDigest.java
8193 * java/security/MessageDigestSpi.java
8194 * java/security/Signature.java
8195 * java/security/SignatureSpi.java
8196 * javax/crypto/Mac.java
8197 * javax/crypto/MacSpi.java
8198 * javax/net/ssl/HandshakeCompletedEvent.java
8199 * javax/net/ssl/HttpsURLConnection.java
8200 * javax/net/ssl/SSLContext.java
8201 * javax/net/ssl/SSLContextSpi.java
8202 * javax/net/ssl/SSLSession.java
8204 * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
8205 * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
8206 * gnu/javax/net/ssl/provider/SimpleSessionContext.java
8207 * gnu/javax/net/ssl/provider/ServerRSAParams.java
8208 * gnu/javax/net/ssl/provider/SSLContextImpl.java
8209 * gnu/javax/net/ssl/provider/ServerDHParams.java
8210 * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
8211 * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
8212 * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
8213 * gnu/javax/net/ssl/provider/CipherSuiteList.java
8214 * gnu/javax/net/ssl/provider/ServerNameList.java
8215 * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
8216 * gnu/javax/net/ssl/provider/CompressionMethodList.java
8217 * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
8218 * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
8219 * gnu/javax/net/ssl/provider/TrustedAuthorities.java
8220 * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
8221 * gnu/javax/net/ssl/provider/ServerHelloDone.java
8222 * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
8223 * gnu/javax/net/ssl/provider/SSLSocketImpl.java
8224 * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
8225 * gnu/javax/net/ssl/provider/Record.java
8226 * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
8227 * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
8228 * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
8229 * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
8230 * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
8231 * gnu/javax/net/ssl/provider/CertificateBuilder.java
8232 * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
8233 * gnu/javax/net/ssl/provider/CertificateStatusType.java
8234 * gnu/javax/net/ssl/provider/ExtensionList.java
8235 * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
8236 * gnu/javax/net/ssl/provider/ClientPSKParameters.java
8237 * gnu/javax/net/ssl/provider/X500PrincipalList.java
8238 * gnu/javax/net/ssl/provider/ServerHandshake.java
8239 * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
8240 * gnu/javax/net/ssl/provider/SessionImpl.java
8241 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
8242 * gnu/javax/net/ssl/provider/ServerPSKParameters.java
8243 * gnu/javax/net/ssl/provider/TruncatedHMAC.java
8244 * gnu/javax/net/ssl/provider/MaxFragmentLength.java
8245 * gnu/javax/net/ssl/provider/HelloRequest.java
8246 * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
8247 * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
8248 * gnu/javax/net/ssl/provider/CipherAlgorithm.java
8249 * gnu/javax/net/ssl/provider/ClientHandshake.java
8250 * gnu/javax/net/ssl/provider/ExchangeKeys.java
8251 * gnu/javax/net/ssl/provider/CertificateURL.java
8252 * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
8253 * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
8254 * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
8255 * gnu/javax/net/ssl/provider/Builder.java
8256 * gnu/javax/net/ssl/provider/Debug.java
8257 * gnu/javax/net/ssl/provider/SSLEngineImpl.java
8258 * gnu/javax/net/ssl/provider/MacAlgorithm.java
8259 * gnu/javax/net/ssl/provider/DelegatedTask.java
8260 * gnu/javax/net/ssl/provider/InputSecurityParameters.java
8261 * gnu/javax/net/ssl/provider/ClientHelloV2.java
8262 * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
8263 * gnu/javax/net/ssl/provider/AbstractHandshake.java
8264 * javax/net/ssl/SSLEngine.java
8265 * javax/net/ssl/CertPathTrustManagerParameters.java
8266 * javax/net/ssl/KeyStoreBuilderParameters.java
8267 * javax/net/ssl/X509ExtendedKeyManager.java
8268 * javax/net/ssl/SSLEngineResult.java
8269 * gnu/javax/net/ssl/PreSharedKeyManager.java
8270 * gnu/javax/net/ssl/Session.java
8271 * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
8272 * gnu/javax/net/ssl/SSLCipherSuite.java
8273 * gnu/javax/net/ssl/AbstractSessionContext.java
8274 * gnu/javax/net/ssl/SessionStoreException.java
8275 * gnu/javax/net/ssl/SSLRecordHandler.java
8276 * gnu/javax/net/ssl/SSLProtocolVersion.java
8277 * gnu/javax/crypto/key/GnuPBEKey.java
8278 * gnu/java/security/util/ByteBufferOutputStream.java
8279 * gnu/java/security/Requires.java
8280 * gnu/javax/security/auth/callback/CertificateCallback.java
8282 * gnu/javax/net/ssl/provider/Context.java
8283 * gnu/javax/net/ssl/provider/DigestInputStream.java
8284 * gnu/javax/net/ssl/provider/DigestOutputStream.java
8285 * gnu/javax/net/ssl/provider/Enumerated.java
8286 * gnu/javax/net/ssl/provider/Extensions.java
8287 * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8288 * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8289 * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8290 * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8291 * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8292 * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8293 * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8294 * gnu/javax/net/ssl/provider/KeyPool.java
8295 * gnu/javax/net/ssl/provider/OverflowException.java
8296 * gnu/javax/net/ssl/provider/RecordInput.java
8297 * gnu/javax/net/ssl/provider/RecordInputStream.java
8298 * gnu/javax/net/ssl/provider/RecordOutputStream.java
8299 * gnu/javax/net/ssl/provider/RecordingInputStream.java
8300 * gnu/javax/net/ssl/provider/SSLRSASignature.java
8301 * gnu/javax/net/ssl/provider/SSLServerSocket.java
8302 * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8303 * gnu/javax/net/ssl/provider/SSLSocket.java
8304 * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8305 * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8306 * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8307 * gnu/javax/net/ssl/provider/SecurityParameters.java
8308 * gnu/javax/net/ssl/provider/Session.java
8309 * gnu/javax/net/ssl/provider/SessionContext.java
8310 * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8311 * gnu/javax/net/ssl/provider/XMLSessionContext.java
8313 2006-08-14 Roman Kennke <kennke@aicas.com>
8315 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8316 (DividerLayout.layoutContainer): Removed debug output.
8317 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8318 (BasicHorizontalLayoutManager.axis): New field.
8319 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8321 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8322 Call new axis constructor.
8323 (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8325 (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8327 (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8328 Refactored to handle direction.
8329 (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8330 to handle direction.
8331 (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8333 (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8334 to handle direction.
8335 (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8336 to handle direction.
8337 (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8338 to handle direction.
8339 (BasicHorizontalLayoutManager.updateComponents): Don't reset
8341 (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8342 New explicit constructor. Calls super with vertical axis.
8343 (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8344 to BasicHorizontalLayoutManager.
8345 (BasicVerticalLayoutManager.getInitialLocation): Functionality
8346 moved to BasicHorizontalLayoutManager.
8347 (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8348 Functionality moved to BasicHorizontalLayoutManager.
8349 (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8350 moved to BasicHorizontalLayoutManager.
8351 (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8352 moved to BasicHorizontalLayoutManager.
8353 (BasicVerticalLayoutManager.minimumSizeOfComponent):
8354 Functionality moved to BasicHorizontalLayoutManager.
8355 (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8356 moved to BasicHorizontalLayoutManager.
8357 (BasicVerticalLayoutManager.setComponentToSize): Functionality
8358 moved to BasicHorizontalLayoutManager.
8359 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8360 (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8361 (BUTTON_SPRITE_R): New constant field.
8362 (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8363 L sprite for left buttons.
8365 2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
8367 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8368 (query_formats): g_free 'name' after usage.
8369 g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8370 g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8372 2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8375 * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8378 2006-08-14 Francis Kung <fkung@redhat.com>
8381 * java/awt/image/ColorModel.java
8382 (coerceData): Added check for non-transparent images.
8384 2006-08-14 Francis Kung <fkung@redhat.com>
8386 * java/awt/image/BandCombineOp.java
8387 (BandCombineOp): Perform checks on validity of matrix.
8388 (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8389 (filter): Updated to work with new matrix storage.
8390 (getMatrix): Updated javadoc.
8391 (getPoint2D): Formatting change.
8393 2006-08-14 Francis Kung <fkung@redhat.com>
8395 * java/awt/image/AffineTransformOp.java
8396 (AffineTransformOp): Updated javadoc.
8397 (createCompatibleDestImage): Match behaviour of reference implementation.
8398 (createCompatibleDestRaster): Formatting changes.
8399 (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8400 (filter(Raster, WritableRaster)): Re-implemented.
8401 (filterBicubic): New private method.
8402 (filterBilinear): New private method.
8403 (filterNearest): New private method.
8404 (getBounds2D): No longer fixed around one point for rotations.
8405 (getInterpolationType): Add support for bicubic interpolation.
8407 2006-08-14 Roman Kennke <kennke@aicas.com>
8409 * javax/swing/plaf/metal/MetalLookAndFeel.java
8410 (MetalLookAndFeel): Moved theme initialization to
8412 (createDefaultTheme): Forward to getCurrentTheme().
8413 (getDefaults): Initialize theme before doing anything else.
8414 (getCurrentTheme): Recognize swing.metalTheme property.
8416 2006-08-14 Roman Kennke <kennke@aicas.com>
8418 * javax/swing/JTable
8419 (getScrollableUnitIncrement): Expose partially exposed
8420 row in scrolling direction.
8422 2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8424 * javax/swing/JTable (getScrollableUnitIncrement):
8425 Removing my name as the whole method body have been
8426 recently completely replaced.
8428 2006-08-14 Roman Kennke <kennke@aicas.com>
8431 * javax/swing/text/Utilities.java
8432 (getTabbedTextOffset): Don't add p0 here.
8434 2006-08-14 Roman Kennke <kennke@aicas.com>
8437 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8438 (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8439 when wheel is going up.
8441 2006-08-14 Roman Kennke <kennke@aicas.com>
8444 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8445 (BasicOneTouchButton): New inner class.
8446 (DividerLayout.changeButtonOrientation): Removed.
8447 (DividerLayout.positionButtons): Moved into layoutContainer.
8448 (DividerLayout.layoutContainer): Reworked for correct layout.
8449 (OneTouchAction): New inner class.
8450 (centerOneTouchButtons): New field.
8451 (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8453 (createLeftOneTouchButton): Reimplemented to return
8454 BasicOneTouchButton.
8455 (createRightOneTouchButton): Reimplemented to return
8456 BasicOneTouchButton.
8457 (getPreferredSize): Reimplemented to return fixed preferredSize.
8458 (oneTouchExpandableChanged): Add OneTouchAction action to
8459 buttons. Don't install mouse listeners.
8460 (MouseHandler.mousePressed): Removed handling of one touch buttons.
8461 (paint): Don't trigger extra paint for buttons.
8462 (propertyChange): Revalidate splitPane when orientation is changed.
8463 (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8464 oneTouchExpandable is true.
8465 * javax/swing/plaf/basic/BasicSplitPaneUI.java
8466 (installDefaults): Install dividerSize on the divider too.
8467 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8468 (MetalDividerLayout): Removed. Functionality is already
8469 in BasicSplitPaneDivider.DividerLayout.
8470 (MetalOneTouchButton): New inner class.
8471 (BUTTON_SPRITE): New constant field.
8472 (MetalSplitPaneDivider): Don't change layout.
8473 (createLeftOneTouchButton): Overridden to return custom button
8475 (createRightOneTouchButton): Overridden to return custom button
8477 (paint): Don't trigger button painting. Call super instead.
8479 2006-08-13 Roman Kennke <kennke@aicas.com>
8481 * javax/swing/plaf/basic/BasicTableHeaderUI.java
8482 (installKeyboardAction): Unmarked as stub. Added comment
8483 explaining that the RI seems to do nothing here.
8484 (uninstallKeyboardAction): Unmarked as stub. Added comment
8485 explaining that the RI seems to do nothing here.
8487 2006-08-13 Roman Kennke <kennke@aicas.com>
8490 * javax/swing/ScrollPaneLayout.java
8491 (layoutContainer): Consider the viewportBorder of the
8493 (minimumLayoutSize): Consider the viewportBorder of the
8495 (preferredLayoutSize): Consider the viewportBorder of the
8497 * javax/swing/plaf/basic/BasicScrollPaneUI.java
8498 (installDefaults): Also install viewportBorder if specified.
8499 (paint): Paint viewportBorder if present.
8500 (uninstallDefaults): Uninstall viewportBorder if appropriate.
8501 Don't nullify foreground, background and font. Uninstall
8502 border via LookAndFeel helper method to avoid uninstall
8505 2006-08-13 Roman Kennke <kennke@aicas.com>
8508 * javax/swing/plaf/basic/BasicHTML.java
8509 (HTMLRootView.HTMLRootView): Trigger initial layout.
8510 (HTMLRootView.setSize): Overridden to forward to real view.
8511 * javax/swing/plaf/basic/BasicToolTipUI.java
8512 (PropertyChangeHandler): New inner class. Updates the HTML
8514 (propertyChangeHandler): New field.
8515 (getMaximumSize): Add HTML width delta.
8516 (getMinimumSize): Add HTML width delta.
8517 (getPreferredSize): Reimplemented to use HTML view for size
8518 calculation if appropriate, otherwise use simple stringWidth()
8520 (installListeners): Install propertyChangeHandler.
8521 (uninstallListeners): Uninstall propertyChangeHandler.
8522 (installUI): Update HTML renderer.
8523 (uninstallUI): Update HTML renderer.
8524 (paint): Reimplemented to use HTML view for rendering if
8525 appropriate, simple drawString otherwise.
8526 * javax/swing/plaf/metal/MetalToolTipUI.java
8527 (getPreferredSize): Call super and add accelerator delta.
8528 (paint): Simply call super.
8530 2006-08-13 Roman Kennke <kennke@aicas.com>
8532 * javax/swing/JMenu.java
8533 (changeListener): Renamed to menuChangeListener to avoid
8534 shadowing changeListener field from AbstractButton.
8536 2006-08-13 Roman Kennke <kennke@aicas.com>
8538 * javax/swing/JTree.java
8539 (getScrollableUnitIncrement): Fixed direction.
8540 (getScrollableBlockIncrement): Implemented to scroll one
8542 * javax/swing/tree/VariableHeightLayoutCache.java
8543 (distance): Consider y + height already outside the node.
8545 2006-08-13 Roman Kennke <kennke@aicas.com>
8547 * javax/swing/JTable.java
8548 (getScrollableUnitIncrement): Fixed direction. Make it behave
8550 (getScrollableBlockIncrement): Fixed direction. Make it behave
8553 2006-08-13 Roman Kennke <kennke@aicas.com>
8555 * javax/swing/JList.java
8556 (getScrollableUnitIncrement): Fixed direction. Implemented
8557 horizontal scrolling. Improved usability.
8558 (getScrollableBlockIncrement): Fixed direction. Improved usability.
8560 2006-08-13 Roman Kennke <kennke@aicas.com>
8562 * javax/swing/plaf/basic/BasicScrollBarUI.java
8563 (scrollByUnit): Scroll by -unit when direction is not positive
8564 and +unit otherwise.
8565 (scrollByBlock): Scroll by -unit when direction is not positive
8566 and +unit otherwise.
8568 2006-08-13 Roman Kennke <kennke@aicas.com>
8571 * javax/swing/text/PlainView.java
8572 (paint): Limit painted area to the lines inside the clip
8575 2006-08-13 Roman Kennke <kennke@aicas.com>
8577 * javax/swing/plaf/basic/BasicTextUI.java
8578 (uninstallListeners): Unregister document listener.
8580 2006-08-13 Sven de Marothy <sven@physto.se>
8582 * java/util/Locale.java
8583 (hashcodeCache): New field.
8584 (hashCode): use the above field instead of the serialized one
8585 (writeObject): Removed method.
8586 (readObject): Intern strings.
8587 (equals): Revert to previous method.
8589 2006-08-13 Roman Kennke <kennke@aicas.com>
8591 * javax/swing/JTabbedPane.java
8592 (JTabbedPane): Call setModel() here and let this install the
8593 change listener correctly.
8594 (setModel): Correctly uninstall and reinstall ChangeListener when
8597 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8600 * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8601 (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8602 (lastDefaultLocale): Removed.
8603 (emptyLocale): Likewise.
8604 (BundleKey.defaultLocale): New field.
8605 (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8606 (BundleKey.set): Likewise.
8607 (BundleKey.equals): Take defaultLocal field into consideration.
8608 (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8610 2006-08-13 Roman Kennke <kennke@aicas.com>
8612 * javax/swing/JMenu.java
8613 (MenuChangeListener): New inner class, helps firing menu events.
8614 (changeListener): New field.
8615 (add(text)): Create new JMenuItem here and call add(JMenuItem).
8616 (add(Action)): Create Action using createActionComponent()
8617 and add via add(Component).
8618 (setModel): Install and uninstall MenuChangeListener here.
8620 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8623 * java/math/BigInteger.java: Updated copyright year.
8624 (init): Consume as little bytes as possible.
8625 (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8626 (valueOf(String, int)): Throw NumberFormatException for malformed strings
8627 as per RI's documentation.
8629 2006-08-13 Sven de Marothy <sven@physto.se>
8631 * java/util/Locale.java
8632 (hashcode): Is a serialized field, not transient.
8633 (equals): Should NOT compare strings by reference.
8634 (readObject/writeObject): Use the default methods and handle the hash
8637 2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
8640 * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8641 Updated documentation.
8643 (getInstance(String, String, Provider, Object[])): Likewise.
8644 Separate checks for null and empty string arguments.
8645 Include as much information as possible in the exception's message.
8646 Do not swallow original exception; instead use it as the cause of the
8647 resulting exception.
8648 * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8649 (getInstance(String)): Updated documentation.
8651 Store last exception caught when iterating through all providers.
8652 If no implementation found, raise last exception if one was caught.
8653 (getInstance(String, String)): Updated documentation.
8655 Check for null or empty provider as per RI-5's documentation.
8656 (getInstance(String, Provider)): Updated documentation.
8658 Use as much information as possible in the exception message.
8659 Do not swallow original exception; instead use it as the cause for the
8660 ultimate raised exception(s).
8661 * java/security/cert/CertificateFactory.java: Likewise.
8662 * java/security/cert/CertPathBuilder.java: Likewise.
8663 * java/security/cert/CertPathValidator.java: Likewise.
8664 * java/security/cert/CertStore.java: Likewise.
8665 * java/security/AlgorithmParameterGenerator.java: Likewise.
8666 * java/security/AlgorithmParameters.java: Likewise.
8667 * java/security/KeyFactory.java: Likewise.
8668 * java/security/KeyPairGenerator.java: Likewise.
8669 * java/security/KeyStore.java: Likewise.
8670 * java/security/MessageDigest.java: Likewise.
8671 * java/security/SecureRandom.java: Likewise.
8672 * java/security/Signature.java: Likewise.
8673 * javax/crypto/Cipher.java: Likewise.
8674 * javax/crypto/ExemptionMechanism.java: Likewise.
8675 * javax/crypto/KeyAgreement.java: Likewise.
8676 * javax/crypto/KeyGenerator.java: Likewise.
8677 * javax/crypto/Mac.java: Likewise.
8678 * javax/crypto/SecretKeyFactory.java: Likewise.
8679 * javax/net/ssl/KeyManagerFactory.java: Likewise.
8680 * javax/net/ssl/SSLContext.java: Likewise.
8681 * javax/net/ssl/TrustManagerFactory.java: Likewise.
8683 2006-08-13 Roman Kennke <kennke@aicas.com>
8685 * javax/swing/JEditorPane.java
8686 (getScrollableTracksViewportHeight): Also check maximum size.
8687 * javax/swing/JTextPane.java
8688 (insertIcon): Use input attributes for adding the icon
8690 * javax/swing/plaf/basic/BasicTextUI.java
8691 (RootView.setSize): Overridden to forward to real view.
8692 (getPreferredSize): Trigger setSize() on the view.
8693 (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8694 to viewToModel() call, rather then null.
8695 * javax/swing/text/ParagraphView.java
8696 (changedUpdate): Invalide layout. Call super.
8697 * javax/swing/text/SimpleAttributeSet.java
8698 (clone): Use super's clone method to create clone.
8699 * javax/swing/text/StyleConstants.java
8700 (setIcon): Also set element name attribute.
8701 * javax/swing/text/StyledEditorKit.java
8702 (BoldAction.actionPerformed): Actually set the bold attribute,
8704 (setCharacterAttributes): Replaced with more straightforward
8706 * javax/swing/text/TextAction.java
8707 (getFocusedComponent): Implemented.
8708 * javax/swing/text/Utilities.java
8709 (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8711 * javax/swing/text/View.java
8712 (changedUpdate): Nullify element change when updateChildren
8715 2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
8717 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8718 Fix documentation typos.
8720 2006-08-11 David Daney <ddaney@avtrex.com>
8723 * gnu/java/net/protocol/http/Request.java (readResponse): Call
8724 createResponseBodyStream in more cases and with new parameter.
8725 (createResponseBodyStream): Added new parameter mayHaveBody. Handle
8726 HEAD and !mayHaveBody responses specially.
8728 2006-08-11 Roman Kennke <kennke@aicas.com>
8730 * javax/swing/text/GlyphView.java
8731 (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8732 * javax/swing/text/LabelView.java
8733 (valid): New flag indicating if the text attributes are valid.
8734 (LabelView): Initialize valid field with false.
8735 (setPropertiesFromAttributes): Call setter methods instead
8736 of setting properties directly. Set valid to true.
8737 (changedUpdate): Invalidate attributes. Call super.
8738 (getBackground): Sync attributes if necessary.
8739 (getForeground): Sync attributes if necessary.
8740 (getFont): Sync attributes if necessary.
8741 (isUnderline): Sync attributes if necessary.
8742 (isSuperscript): Sync attributes if necessary.
8743 (isStrikeThrough): Sync attributes if necessary.
8744 (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8745 from toolkit if Container is not available yet.
8747 2006-08-11 Roman Kennke <kennke@aicas.com>
8749 * javax/swing/text/PlainView.java
8750 (tabBase): New field.
8751 (tabSize): New field.
8752 (updateMetrics): Update tabSize.
8753 (lineToRect): Only allocate when really necessary.
8754 (modelToView): Use tabBase for offset calculations.
8755 (paint): Only allocate when really necessary. Update tabBase.
8756 (nextTabStop): Fixed tab calculation.
8757 (viewToModel): Correctly handle multiline text and locations
8758 outside the view's bounds. Set bias.
8759 (getLineLength): Use tabBase.
8760 * javax/swing/text/Utilities.java
8761 (drawTabbedText): Don't special case newlines. The views
8762 must take care of this.
8764 2006-08-11 Roman Kennke <kennke@aicas.com>
8766 * javax/swing/text/GapContent.java
8767 (UndoPosRef): New inner class. Used for resetting positions
8768 after undo/redo operations.
8769 (InsertUndo.positions): New field.
8770 (InsertUndo.undo): Store positions in removed range.
8771 (InsertUndo.redo): Restore positions in re-inserted range.
8772 (UndoRemove.positions): New field.
8773 (UndoRemove.UndoRemove): Store positions in removed range.
8774 (UndoRemove.undo): Restore positions in re-inserted range.
8775 (UndoRemove.redo): Store positions in removed range.
8776 (insertString): Create InsertUndo instance before actually
8777 inserting the string.
8778 (remove): Create UndoRemove instance before actually
8780 (getPositionsInRange): Don't clear the Vector. Return Vector
8782 (updateUndoPositions): Implemented to reset all UndoPosRefs
8785 2006-08-11 Jeroen Frijters <jeroen@frijters.net>
8787 * java/io/ObjectInputStream.java (readClassDescriptor):
8788 Use class's class loader to resolve field types.
8789 * java/io/ObjectStreamField.java
8790 (ObjectStreamField(String,String,ClassLoader)): Removed.
8791 (ObjectStreamField(String,String)): Don't try to resolve typename.
8792 (resolveType): New method.
8794 2006-08-10 Roman Kennke <kennke@aicas.com>
8796 * javax/swing/text/BoxView.java
8797 (calculateMajorAxisRequirements): Sum up the preferred and
8799 (isAfter): Also add in the rectangle's with/height.
8800 (childAllocation): Don't trigger layout here.
8801 (layoutMinorAxis): Removed debug output.
8802 (getWidth): Consider the insets.
8803 (getHeight): Consider the insets.
8804 (setSize): Consider the insets.
8805 (updateRequirements): Check axis and throw
8806 IllegalArgumentException.
8808 2006-08-10 Roman Kennke <kennke@aicas.com>
8810 * javax/swing/text/AbstractDocument.java
8811 (BidiRootName): New constant field, denotes the element name
8812 for bidi root elements.
8813 (AsyncLoadPriority): New constant field, denotes the property
8814 to store the asynchronousLoadPriority.
8815 (I18N): New constant field, denotes the property for
8817 (bidiRoot): Made field type BidiRootElement.
8818 (AbstractDocument): Build initial element structure for
8820 (getAsynchronousLoadPriority): Implemented. Returns the
8821 value stored in the document properties.
8822 (setAsynchronousLoadPriority): Implemented. Sets the
8823 value stored in the document properties.
8824 (getEndPosition): Implemented to use a Position from the
8826 (getStartPosition): Implemented to use a Position from the
8828 (insertStringImpl): Update the I18N setting if necessary.
8829 (insertUpdate): Update the bidi structure if necessary.
8830 (postRemoveUpdate): Update the bidi structure if necessary.
8831 (putProperty): Update the I18N setting and bidi structure
8833 (updateBidi): New helper method for updating the bidi
8835 (getBidis): New helper method. Fetches the Bidi analysers
8836 for the paragraphs of the range to check.
8837 (dump): Also dump the bidi structure.
8838 (AbstractElement.dump): Indent the '>' correctly.
8839 (AbstractElement.children): Check numChildren rather then
8841 (BidiRootElement): New inner class.
8842 (BidiElement): New inner class.
8844 2006-08-10 Roman Kennke <kennke@aicas.com>
8846 * javax/swing/text/GapContent.java
8847 (getChars): Optimized to only copy array when really necessary.
8848 Respect the partialReturn property.
8850 2006-08-10 Lillian Angel <langel@redhat.com>
8852 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8853 (getComponentPeer): Added check to prevent NPE.
8855 2006-08-10 Gary Benson <gbenson@redhat.com>
8857 * java/security/AccessControlContext.java (<init>):
8858 Avoid a duplicated AccessController.getContext() call.
8860 2006-08-09 Mark Wielaard <mark@klomp.org>
8862 * doc/www.gnu.org/newsitems.txt: Add 0.92.
8863 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8864 * doc/www.gnu.org/announce/20060809.wml: New file.
8866 2006-08-09 Mark Wielaard <mark@klomp.org>
8868 * configure.ac (VERSION): Set to 0.92-generics.
8869 * NEWS: Add updates for 0.92 release.
8871 2006-08-09 Tom Tromey <tromey@redhat.com>
8874 * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8875 the pattern match any number of spaces in the text.
8877 2006-08-09 Sven de Marothy <sven@physto.se>
8879 * java/awt/image/BufferedImage.java
8880 (BufferedImage): Reimplement predefined-type constructor.
8881 (observers/tileObservers): Field renamed to tileObservers.
8882 (createDefaultIndexedColorModel): New method.
8884 2006-08-09 Tom Tromey <tromey@redhat.com>
8887 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8888 (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8889 Create a 'short' array.
8891 2006-08-09 Tom Tromey <tromey@redhat.com>
8893 * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8895 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8896 (writeFields): Print "L" after int constant. Don't mangle the field
8897 name. Only print int/long fields.
8899 2006-08-09 Tom Tromey <tromey@redhat.com>
8901 * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8904 2006-08-09 Sven de Marothy <sven@physto.se>
8906 * javax/swing/JTree.java
8907 (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8908 (setSelectionModel): Null parameter should create an EmptySelectionM.
8910 2006-08-09 Roman Kennke <kennke@aicas.com>
8912 * javax/swing/text/AbstractDocument.java
8913 (insertString): Perform modifications inside a write lock.
8914 (insertStringImpl): Don't lock here. This is already done
8916 (replace): Perform modifications inside a write lock.
8917 (AbstractElement.AbstractElement): Call addAttributes() to
8919 (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8920 (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8921 (BranchElement.BranchElement): Set lastIndex to -1.
8922 (BranchElement.getElementIndex): Implemented more efficient
8925 2006-08-09 Roman Kennke <kennke@aicas.com>
8927 * javax/swing/text/DefaultStyledDocument.java
8928 (Edit): Moved this inner class into ElementBuffer where it
8930 (edits): Moved this field into ElementBuffer.
8931 (getEditForParagraphAndIndex): Removed obsolete method.
8932 (insertUpdate): Added some optimizations and fixes. Split
8933 out handling insertion after newlines.
8934 (insertAfterNewline): New helper method. Handles insertions
8936 (ElementBuffer.Edit): New inner class. Moved here from
8937 DefaultStyledDocument.
8938 (ElementBuffer.createdFracture): New field.
8939 (ElementBuffer.documentEvent): Made private.
8940 (ElementBuffer.edits): New field. Moved here from
8941 DefaultStyledDocument.
8942 (ElementBuffer.fracNotCreated): Replaced by createdFracture.
8943 (ElementBuffer.fracturedChild): New field.
8944 (ElementBuffer.fracturedParent): New field.
8945 (ElementBuffer.insertPath): New field.
8946 (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
8948 (ElementBuffer.offsetLastIndex): New field.
8949 (ElementBuffer.offsetLastIndexReplace): New field.
8950 (ElementBuffer.recreateLeafs): New field.
8951 (ElementBuffer.ElementBuffer): Don't initialize stack here.
8952 (ElementBuffer.canJoin): New helper method.
8953 (ElementBuffer.changeUpdate): Changed to use elementStack with
8954 Edits rather than Elements. Let the split method do the work.
8955 (ElementBuffer.cloneAsNecessary): New helper method.
8956 (ElementBuffer.createFracture): Changed to fracture the bottommost
8958 (ElementBuffer.finishEdit): New helper method. Moved out
8959 from insertUpdate to perform the actual changes and update
8961 (fracture): New helper method.
8962 (insertContentTag): Fixed some bugs and changed to use Edit
8963 instances in the stack, rather then Elements.
8964 (insertElement): New helper method. Moved out from insertUpdate()
8965 to process the ElementSpecs.
8966 (insertFirstContentTag): Fixed some problems and changed to use Edit
8967 instances in the stack, rather then Elements.
8968 (insertFracture): Removed. Basically moved into createFracture()
8970 (insertParagraph): Removed.
8971 (insertUpdate): Split out the ElementSpec processing into
8972 insertElement(). Use Edit instances in the stack. Fixed some
8974 (insert): Split out the preparation and finishing code into
8975 prepareEdit() and finishEdit().
8976 (join): New helper method.
8977 (pop): New helper method.
8978 (prepareEdit): New helper method.
8979 (recreateFracturedElement): New helper method.
8980 (recreateLeaves): Removed.
8981 (recreate): New helper method.
8982 (removeElements): New helper method. Split out from removeUpdate().
8983 (removeUpdate): Split out the actual removal. Use the
8984 Edit stack to perform removal and perform the remove actions
8985 and event updates afterwards, just like in insertImpl().
8986 (remove): Use prepareEdit() and finishEdit().
8987 (split): Replaced with more flexible impl.
8989 2006-08-09 Sven de Marothy <sven@physto.se>
8991 * gnu/java/awt/peer/gtk/CairoSurface.java
8992 Change class to extend WritableRaster and not DataBuffer.
8993 (CairoDataBuffer): New inner class.
8994 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
8995 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
8996 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8997 Accomodate the above change.
8999 2006-08-09 Sven de Marothy <sven@physto.se>
9001 * gnu/java/awt/peer/gtk/GtkMainThread.java
9003 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9004 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9005 Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9006 * gnu/java/awt/peer/gtk/GtkToolkit.java
9007 Minor style fixes; removed unused fields,
9008 set fields to private where possible.
9009 (createDialog, createFrame, createWindow, createEmbeddedWindow):
9010 Call GtkMainThread.createWindow().
9011 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9012 (dispose): New method.
9013 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9014 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9015 (gtkQuit): New native method.
9017 2006-08-08 Lillian Angel <langel@redhat.com>
9019 * java/awt/Component.java
9020 (setDropTarget): Added check.
9022 2006-08-08 Lillian Angel <langel@redhat.com>
9024 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9025 (GtkDragSourceContextPeer): Added FIXME. Changed call
9027 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9028 (GtkDropTargetContextPeer): Removed target initialization.
9029 * java/awt/Component.java
9030 (setTarget): Removed commented out code.
9032 2006-08-08 Mark Wielaard <mark@klomp.org>
9034 * javax/swing/text/DefaultHighlighter.java: Qualify
9035 Highlighter.HighlightPainter class name for gcj.
9037 2006-08-05 Roman Kennke <kennke@aicas.com>
9039 * javax/swing/plaf/basic/BasicTableUI.java
9040 (MouseInputHandler.mousePressed): Request focus on list
9043 2006-08-05 Roman Kennke <kennke@aicas.com>
9045 * javax/swing/plaf/basic/BasicListUI.java
9046 (MouseInputHandler.mousePressed): Request focus on list
9049 2006-08-05 Roman Kennke <kennke@aicas.com>
9052 * javax/swing/plaf/basic/BasicMenuBarUI.java
9053 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9054 than Tree.actionMap.
9055 * javax/swing/plaf/basic/BasicTreeUI.java
9056 (action): Removed obsolete field.
9057 (uninstallKeyboardActions): Removed action field handling.
9058 (installKeyboardActions): Removed action field handling.
9059 (createDefaultActions): Don't install removed TreeAction.
9060 (TreeAction): Removed obsolete inner class.
9061 (ActionListenerProxy): Removed obsolete inner class.
9062 (MouseHandler.mousePressed): Request focus on JTree component
9065 2006-08-08 Roman Kennke <kennke@aicas.com>
9067 * javax/swing/plaf/basic/BasicListUI.java
9068 (MouseInputHandler.mousePressed): Request focus on list
9071 2006-08-08 Roman Kennke <kennke@aicas.com>
9073 * javax/swing/plaf/basic/BasicTableUI.java
9074 (MouseInputHandler.mousePressed): Request focus on list
9077 2006-08-08 Roman Kennke <kennke@aicas.com>
9079 * javax/swing/plaf/basic/BasicTextUI.java
9080 (damageRange(JTextComponent,int,int)): Call damageRange() with
9081 correct biases, rather than null.
9082 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9083 to use simpler modelToView() approach without much special
9084 casing. This seems not worth the effort and actually
9085 caused problems. Added locking of the document.
9086 * javax/swing/text/BoxView.java
9087 (requirementsValid): New field.
9088 (calculateMajorAxisRequirements): Rewritten without using
9089 SizeRequirements. The SizeRequirements algorithms are slightly
9090 different and too inefficient.
9091 (calculateMinorAxisRequirements): Rewritten without using
9092 SizeRequirements. The SizeRequirements algorithms are slightly
9093 different and too inefficient.
9094 (getAlignment): Simply return the alignment of the cached
9096 (getMaximumSpan): Add insets.
9097 (getMinimumSpan): Add insets.
9098 (getPreferredSpan): Add insets.
9099 (layoutMajorAxis): Rewritten without using
9100 SizeRequirements. The SizeRequirements algorithms are slightly
9101 different and too inefficient.
9102 (layoutMinorAxis): Rewritten without using
9103 SizeRequirements. The SizeRequirements algorithms are slightly
9104 different and too inefficient.
9105 (modelToView): Call setSize() rather than layout().
9106 (paint): Check clip for more efficient painting.
9107 (preferenceChanged): Invalidate requirements here.
9108 (replace): Invalidate requirements here.
9109 (updateRequirements): Update requirements only when requirements
9111 * javax/swing/text/CompositeView.java
9112 (modelToView): Added some more checks and handling of corner cases.
9113 * javax/swing/text/FlowView.java
9114 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9115 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9116 * javax/swing/text/IconView.java
9117 (getAlignment): Implemented to return 1.0 for vertical alignment.
9118 * javax/swing/text/ParagraphView.java
9119 (Row.getMaximumSpan): Implemented to let Rows span the whole
9121 (getAlignment): Fixed horizontal alignment and vertical alignment
9122 for empty paragraphs to be 0.5.
9124 2006-08-08 Roman Kennke <kennke@aicas.com>
9126 * javax/swing/text/View.java
9127 (modelToView): Added special handling for corner case at the end
9128 of the view and for multiline views.
9130 2006-08-08 Roman Kennke <kennke@aicas.com>
9132 * javax/swing/plaf/basic/BasicTextUI.java
9133 (modelToView): Read-lock the document. Set size of the
9134 root view before fetching the model-to-view mapping.
9135 (getViewIndex): Check of the position is inside the range and
9136 return -1 if this is not the case.
9137 (getViewAtPosition(int,Rectangle): Update child allocation for valid
9139 (getViewIndexAtPosition(int)): Delegate the index search to
9140 the element since we have a 1:1 mapping between elements and
9142 * javax/swing/text/DefaultCaret.java
9143 (appear): Ignore BadLocationException.
9144 (paint): Ignore BadLocationException.
9145 * javax/swing/text/FlowView.java
9146 (changedUpdate): Also notify the layoutPool view.
9147 (removeUpdate): Also notify the layoutPool view.
9148 * javax/swing/text/ParagraphView.java
9149 (Row.getViewIndexAtPosition): Overridden to search linearily
9150 through the view instead of relying on a 1:1 model to view
9152 * javax/swing/text/View.java
9153 (removeUpdate): Clear ElementChange object if updateChildren
9155 (forwardUpdate): Special handle some boundary cases.
9157 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
9159 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9160 (hasInheritedParameters): New method.
9161 (equals): Updated documentation.
9162 Take into consideration the outcome of hasInheritedParameters invocation.
9163 (toString): Call hasInheritedParameters and adjust the result accordingly.
9164 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9165 Updated documentation.
9166 Handle case of public keys with null p, q, and g MPIs.
9167 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9169 2006-08-07 Tom Tromey <tromey@redhat.com>
9172 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9173 (attachment): Likewise.
9174 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9176 (isValid): Likewise.
9177 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9179 (interestOps): Synchronize.
9180 (readyOps): Likewise.
9181 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9184 2006-08-07 C. Scott Marshall <csm@gnu.org>
9187 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9188 the mark has been set.
9189 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9190 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9193 2006-08-07 Sven de Marothy <sven@physto.se>
9195 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9196 (drawGlyphVector): Synchronize against font object when drawing.
9197 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9198 (nativeDrawGlyphVector): Use pango locking when drawing.
9199 (install_font_peer): Use pango locking when creating the cairo face.
9201 2006-08-06 Roman Kennke <kennke@aicas.com>
9204 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9205 (getPreferredSize): Renamed method to preferredSize(). That's
9206 the one that gets called from java.awt.*.
9207 * java/awt/peer/ComponentPeer.java
9208 (getPreferredSize): Added specnote about this method never
9209 beeing called in the RI.
9210 (getMinimumSize): Added specnote about this method never
9211 beeing called in the RI.
9213 2006-08-03 Sven de Marothy <sven@physto.se>
9215 * gnu/java/awt/peer/gtk/ComponentGraphics.java
9216 (grab, nativeGrab): New methods.
9217 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9218 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9219 (nativeGrab): New method.
9220 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9222 * java/awt/Component.java
9223 (printAll): Should call peer print method.
9225 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9227 * java/net/URL.java (getContent(Class[])): Implement.
9229 2006-08-06 Mark Wielaard <mark@klomp.org>
9232 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9233 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9235 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9238 2006-08-06 Roman Kennke <kennke@aicas.com>
9240 * NEWS: Added note about the X peers.
9241 * INSTALL: Added install notes about the X peers.
9243 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9244 Paul Jenner <psj@harker.dyndns.org>
9246 * README: Update bug, patches and cvs instructions plus new URLs of
9247 various external projects.
9249 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9251 * configure.ac (MOZILLA_FOUND): Fall back to
9252 mozilla-firefox-plugin.
9254 2006-08-06 Mario Torre <neugens@limasoftware.net>
9256 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9257 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9258 g_type_init earlier in function to correctly initialize the
9259 type system used by the backend.
9261 2006-08-05 Roman Kennke <kennke@aicas.com>
9263 * javax/swing/text/DefaultHighlight.java
9264 (DefaultHighlightPainter.paintHighlight): Removed method.
9265 (DefaultHighlightPainter.paintLayer): Implemented.
9266 (DefaultHighlightPainter.paint): Implemented more efficient
9267 painting for multiline-highlights.
9268 (HighlightEntry.p0): Changed to be a Position.
9269 (HighlightEntry.p1): Changed to be a Position.
9270 (HighlightEntry.HighlightEntry): Changed to take Position
9272 (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9273 (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9274 (LayerHighlightEntry): New inner class. Extends HighlightEntry
9275 and tracks the painted rectangle for efficient repainting.
9276 (addHighlight): Handle layered highlight.
9277 (changeHighlight): Handle layered highlight.
9278 (paintLayeredHighlights): Implemented.
9279 (paint): Paint only non-layered highlights here.
9280 (removeAllHighlights): Trigger correct repaint.
9281 (removeHighlight): Handle layered highlight here for
9282 more efficient repainting.
9283 * javax/swing/text/GlyphView.java
9284 (paint): Handle layered highlights.
9285 * javax/swing/text/PlainView.java
9286 (paint): Handle layered highlights.
9287 * javax/swing/text/WrappedPlainView.java
9288 (WrappedLine.paint): Handle layered highlights.
9290 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9293 * NEWS: As suggested by Paul Jennier, added note about the fix of
9296 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9298 * NEWS: Added entry about the context factories for JNDI.
9300 2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9303 * gnu/CORBA/Connected_objects.java (size): New method.
9304 * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9306 * javax/naming/spi/NamingManager.java (getURLContext):
9307 Also search for the URL context factories in
9308 gnu/javax/naming/jndi/url.
9309 * gnu/javax/naming/giop/ContextContinuation.java,
9310 gnu/javax/naming/giop/CorbalocParser.java,
9311 gnu/javax/naming/giop/GiopNamingEnumeration.java,
9312 gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9313 gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9314 gnu/javax/naming/giop/ListBindingsEnumeration.java,
9315 gnu/javax/naming/giop/ListEnumeration.java,
9316 gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9317 gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9318 gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9319 gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9320 gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9321 gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9322 gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9323 gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9325 2006-08-06 Sven de Marothy <sven@physto.se>
9327 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9328 (drawGlyphVector): Synchronize against font object when drawing.
9329 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9330 (nativeDrawGlyphVector): Use pango locking when drawing.
9331 (install_font_peer): Use pango locking when creating the cairo face.
9333 2006-08-06 C. Scott Marshall <csm@gnu.org>
9336 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9337 the mark has been set.
9338 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9339 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9342 2006-08-06 Mark Wielaard <mark@klomp.org>
9345 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9346 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9348 * gnu/xml/transform/ForEachNode.java (clone): Check whether
9351 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
9352 Paul Jenner <psj@harker.dyndns.org>
9354 * README: Update bug, patches and cvs instructions plus new URLs of
9355 various external projects.
9357 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9359 * gnu/java/lang/management/BeanImpl.java:
9360 (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9362 (getCachedMBeanInfo()): Return open variant.
9363 (getMBeanInfo()): Likewise.
9364 (getTypeFromClass(Class)): Implemented.
9365 (translateSignature(MBeanParameterInfo)): Likewise.
9366 (translate(String)): Likewise.
9367 * javax/management/StandardMBean.java:
9368 (getMBeanInfo()): Return attribute names with capital letters,
9369 as in docs for java.lang.management.ManagementFactory, and
9370 ensure descriptions are not "".
9371 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9372 * javax/management/openmbean/OpenMBeanInfoSupport.java,
9373 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9374 (toString()): Use Arrays.toString().
9375 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9376 (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9377 Set open type here rather than in other constructors.
9379 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9381 * javax/management/MBeanFeatureInfo.java:
9382 Make string variable package-private.
9383 * javax/management/StandardMBean.java:
9384 (getMBeanInterface()): Made final.
9385 * javax/management/openmbean/SimpleType.java:
9388 2006-08-05 Jeroen Frijters <jeroen@frijters.net>
9390 * java/awt/Component.java (setDropTarget): Commented out GTK specific
9393 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9395 * examples/gnu/classpath/examples/swing/FillRect.java,
9396 * gnu/CORBA/Focused_ORB.java,
9397 * gnu/CORBA/interfaces/gnuSocketFactory.java,
9398 * gnu/classpath/ByteArray.java,
9399 * gnu/classpath/ObjectPool.java,
9400 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9401 * gnu/java/awt/peer/x/fonts.properties,
9402 * gnu/java/security/util/Prime2.java,
9403 * gnu/javax/imageio/gif/GIFStream.java,
9404 * javax/swing/text/html/HTMLTableView.java,
9405 * native/cni/Makefile.am,
9406 * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9407 * org/omg/CORBA/SendingContext/Runtime.java,
9408 * resource/gnu/regexp/MessagesBundle.properties,
9409 * resource/gnu/regexp/MessagesBundle_fr.properties,
9410 * resource/gnu/regexp/MessagesBundle_it.properties,
9411 * tools/appletviewer.in,
9412 * tools/jarsigner.in,
9414 * vm/reference/java/lang/management/VMThreadInfo.java:
9416 * examples/gnu/classpath/examples/awt/aicas.png,
9417 * examples/gnu/classpath/examples/awt/palme.gif,
9418 * examples/gnu/classpath/examples/java2d/aicas.png,
9419 * examples/gnu/classpath/examples/java2d/palme.gif,
9420 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9421 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9422 * java/awt/doc-files/capjoin.png,
9423 * java/awt/geom/doc-files/Area-1.png,
9424 * java/awt/geom/doc-files/Ellipse-1.png,
9425 * java/awt/geom/doc-files/GeneralPath-1.png:
9428 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9433 2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
9435 * gnu/java/lang/management/BeanImpl.java:
9436 (getAttribute(String)): Implemented.
9438 2006-08-05 Roman Kennke <kennke@aicas.com>
9440 * javax/swing/text/JTextComponent.java
9441 (AccessibleJTextComponent.dot): Renamed field into caretDot.
9442 (AccessibleJTextComponent.textComp): Removed field
9443 and replace with JTextComponent.this construct.
9444 (AccessibleJTextComponent.AccessibleJTextComponent):
9445 Fetch caret position.
9446 (caretUpdate): Implemented. Fires property change events and
9447 updates the caretDot field.
9448 (changedUpdate): Implemented. Fires property change events.
9449 (insertUpdate): Implemented. Fires property change events.
9450 (removeUpdate): Implemented. Fires property change events.
9451 (cut): Replaced textComp with JTextComponent.this construct.
9452 (paste): Replaced textComp with JTextComponent.this construct.
9453 (replaceText): Replaced textComp with JTextComponent.this construct.
9454 (selectText): Replaced textComp with JTextComponent.this construct.
9455 (getCaretPosition): Replaced textComp with JTextComponent.this
9457 (getCharCount): Replaced textComp with JTextComponent.this construct.
9458 (getSelectedText): Replaced textComp with JTextComponent.this
9460 (getSelectionEnd): Replaced textComp with JTextComponent.this
9462 (getSelectionStart): Replaced textComp with JTextComponent.this
9464 (getTextRange): Replaced textComp with JTextComponent.this
9466 (doAccessibleAction): Implemented.
9467 (getAccessibleActionCount): Implemented.
9468 (getAccessibleActionDescription): Implemented.
9469 (getAccessibleStateSet): Implemented.
9470 (getAfterIndex): Implemented.
9471 (getBeforeIndex): Implemented.
9472 (getAtIndex): Implemented.
9473 (getAtIndexImpl): New helper method.
9474 (getCharacterAttribute): Implemented.
9475 (getCharacterBounds): Implemented.
9476 (getIndexAtPoint): Implemented.
9477 (insertTextAtIndex): Implemented.
9478 (setAttributes): Implemented.
9479 (setTextContents): Implemented.
9481 2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
9483 * configure.ac: Better handling of default-preferences-peer option.
9485 2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
9487 * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9490 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9492 * javax/management/openmbean/TabularData.java:
9493 Documentation corrections.
9494 * javax/management/openmbean/TabularDataSupport.java:
9497 2006-08-04 Francis Kung <fkung@redhat.com>
9499 * java/awt/BasicStroke.java
9500 (dashedStroke): Implemented.
9502 2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
9504 * javax/management/BadAttributeValueExpException.java,
9505 * javax/management/BadStringOperationException.java,
9506 * javax/management/InstanceAlreadyExistsException.java,
9507 * javax/management/InstanceNotFoundException.java,
9508 * javax/management/InvalidApplicationException.java,
9509 * javax/management/MBeanRegistrationException.java,
9510 * javax/management/MalformedObjectNameException.java,
9511 * javax/management/RuntimeErrorException.java,
9512 * javax/management/RuntimeMBeanException.java,
9513 * javax/management/ServiceNotFoundException.java:
9516 2006-08-04 Roman Kennke <kennke@aicas.com>
9518 * javax/swing/SwingUtilities.java
9519 (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9520 int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9521 layoutCompoundLabelImpl().
9522 (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9523 Rectangle,Rectangle,Rectangle,int)): Delegate to new
9524 layoutCompoundLabelImpl().
9525 (layoutCompoundLabelImpl): New helper method. Moved impl from
9526 layoutCompoundLabel() to here and added handling of HTML.
9527 * javax/swing/plaf/basic/BasicButtonUI.java
9528 (installUI): Update HTML view if appropriate.
9529 (uninstallUI): New method. Do the usual uninstallUI things
9530 and uninstall HTML view.
9531 (getMinimumSize): New method. Adjusts the minimum size
9532 by the HTML view minimum size.
9533 (getMaximumSize): New method. Adjusts the maximum size
9534 by the HTML view maximum size.
9535 (getPreferredSize): Pass the button's iconTextGap to the
9536 BasicGraphicsUtils method.
9537 (paint): Let HTML view paint the text, if present.
9538 * javax/swing/plaf/basic/BasicButtonListener.java
9539 (propertyChange): Update the HTML view when the button's
9542 2006-08-04 Mario Torre <neugens@limasoftware.net>
9544 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9545 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9546 g_type_init earlier in function to correctly initialize the
9547 type system used by the backend.
9549 2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9552 * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9554 * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9556 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9558 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9560 * gnu/xml/dom/DomIterator.java:
9561 (successor): Added if-statement.
9563 2006-08-04 Mark Wielaard <mark@klomp.org>
9565 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9567 2006-08-04 Robert Schuster <robertschuster@fsfe.org>
9569 * javax/swing/plaf/metal/MetalMenuBarUI.java:
9570 (update): Check size and paint smaller gradient.
9571 * javax/swing/plaf/metal/MetalBorders.java:
9572 (MenuBarBorder): Removed borderColor field.
9573 (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9576 2006-08-03 Roman Kennke <kennke@aicas.com>
9579 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9580 (ComponentHandler.componentResized): Reimplemented to handle
9582 (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9583 component listener on changed ancestor.
9584 (installListeners): Install componentListener.
9585 (uninstallListeners): Uninstall componentListener.
9587 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9589 * StrictMath.java (cbrt): Return argument if it is a NaN.
9594 2006-08-03 Carsten Neumann <cn-develop@gmx.net>
9596 * java/lang/StrictMath.java (tanh): New method.
9598 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
9600 * scripts/import-cacerts.sh: Batch CA certificates import script.
9602 2006-08-03 Roman Kennke <kennke@aicas.com>
9605 * javax/swing/plaf/basic/BasicListUI.java
9606 (paintCell): Pass row index to cell renderer.
9607 * javax/swing/plaf/basic/MetalFileChooserUI.java
9608 (DirectoryComboBoxRenderer.indentIcon): New field.
9609 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9610 Initialize indentIcon.
9611 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9612 Fall back to super and removed standard functionality.
9614 (IndentIcon): New class. Wraps and indents another icon.
9616 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9618 * javax/management/MBeanConstructorInfo.java:
9619 (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9620 Copy array rather than directly assigning.
9621 * javax/management/MBeanInfo.java:
9622 (MBeanInfo(String,String,MBeanAttributeInfo[],
9623 MBeanConstructorInfo[], MBeanOperationInfo[],
9624 MBeanNotificationInfo[])): Likewise.
9625 * javax/management/MBeanOperationInfo.java:
9626 (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9628 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9629 * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9631 * javax/management/openmbean/OpenMBeanInfo.java:
9632 Corrected documentation.
9633 * javax/management/openmbean/OpenMBeanInfoSupport.java:
9635 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9636 Corrected documentation.
9637 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9639 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9640 (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9641 Call other constructor rather than reimplementing.
9643 2006-08-02 Lillian Angel <langel@redhat.com>
9645 * java/awt/dnd/DragSource.java
9646 (isDragImageSupported): Implemented.
9647 (getDragThreshold): Changed default value.
9648 * java/awt/dnd/DropTarget.java
9649 (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9650 (DropTarget): Likewise.
9651 (DropTarget): If FlavorMap passed in is null, we should use the system default.
9652 (addDropTargetListener): Added check to determine if new DropTargetListener
9653 is this class. If so, an IllegalArgumentException is thrown. If the
9654 new listener is null, nothing happens.
9656 2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9658 * configure.ac (MOZILLA_FOUND): Fall back to
9659 mozilla-firefox-plugin.
9661 2006-08-02 Sven de Marothy <sven@physto.se>
9663 * java/awt/geom/AffineTransform.java
9664 (hashCode): Tweak impl.
9665 * java/awt/font/FontRenderContext.java
9666 (hashCode): Implement.
9668 2006-08-02 Carsten Neumann <cn-develop@gmx.net>
9670 * java/lang/StrictMath.java (sinh): New method.
9672 2006-08-02 Roman Kennke <kennke@aicas.com>
9675 * javax/swing/JComboBox.java
9676 (setSelectedItem): Fire ActionEvent here.
9677 * javax/swing/plaf/basic/BasicDirectoryModel.java
9678 (directories): Changed to type Vector.
9680 (loadThread): New field.
9681 (DirectoryLoadThread): New inner class. This loads the contents
9682 of directories asynchronously.
9683 (getDirectories): Return cached Vector.
9684 (getFiles): Return cached Vector.
9685 (getSize): Return plain size of contents Vector.
9686 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9687 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9688 (sort): Don't store sorted list in contents. This must be done
9689 asynchronously from the EventThread.
9690 (validateFileCache): Rewritten for asynchronous reading
9691 of directory contents.
9692 * javax/swing/plaf/basic/BasicFileChooserUI.java
9693 (installListeners): Install model as PropertyChangeListener.
9694 (uninstallListeners): Uninstall model as PropertyChangeListener.
9695 (createPropertyChangeListener): Return null just like the
9698 2006-08-02 Sven de Marothy <sven@physto.se>
9700 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9701 (remove): Force event on removing item 0 when it's selected.
9702 (handleEvent): Always call Choice.selected().
9703 * java/awt/Choice.java:
9704 (remove): Simplify and correct.
9706 2006-08-02 Mark Wielaard <mark@klomp.org>
9709 * configure.ac (gconf-peer): Check for gdk-2.0.
9710 * native/jni/gconf-peer/Makefile.am
9711 (AM_LDFLAGS): Use GDK_LIBS.
9712 (AM_CFLAGS): Use GDK_CFLAGS.
9714 2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
9716 * java/net/URL.java (getContent(Class[])): Implement.
9718 2006-08-02 Roman Kennke <kennke@aicas.com>
9721 * javax/swing/JMenu.java
9722 (JMenu()): Removed setting of delay.
9723 (JMenu(String)): Removed setting of delay.
9724 (JMenu(Action)): Removed setting of delay.
9725 (JMenu(String,boolean)): Removed setting of delay.
9726 (setSelectedHelper): Removed unneeded method.
9727 (setSelected): Simply set the model state.
9728 (setPopupMenuVisible): Recognize the popup location
9729 determined by getPopupMenuOrigin().
9730 (getPopupMenuOrigin): Recognize the UI properties for
9732 (menuSelectionChanged): Call setSelected() directly.
9733 * javax/swing/JPopupMenu.java
9734 (menuSelectionChanged): If invoker is a JMenu, then delegate
9735 to that to get the position right.
9736 * javax/swing/Popup.java
9737 (LightweightPopup.show): Insert the popup as first component
9738 in the layer, so that it overlaps it's caller.
9739 * javax/swing/plaf/basic/BasicMenuItemUI.java
9740 (getPath): Don't include the popup.
9741 * javax/swing/plaf/basic/BasicMenuUI.java
9742 (SelectMenuAction): New class. This invokes the popup when
9744 (installDefaults): Install delay of 200 ms.
9745 (setupPostTimer): Implemented.
9746 (MouseInputHandler.mouseClicked): Do nothing here.
9747 (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9748 magic to handle the selection. Open the menu via a timer.
9749 (MouseInputHandler.mousePressed): Use MenuSelectionManager
9750 magic to handle the selection. Open the menu via a timer.
9751 (MenuDragMouseHandler.menuMouseDragged): Probably use
9753 (menuDragMouseEntered): Do nothing here.
9755 2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
9757 * javax/management/openmbean/InvalidOpenTypeException.java,
9758 * javax/management/openmbean/KeyAlreadyExistsException.java:
9761 2006-08-02 Roman Kennke <kennke@aicas.com>
9764 * javax/swing/plaf/basic/BasicChooserUI.java
9765 (BasicFileView.getName): Fetch the real name from the
9766 file chooser's FileSystemView.
9767 * javax/swing/plaf/metal/MetalChooserUI.java
9768 (DirectoryComboBoxRenderer.getListCellRendererComponent):
9769 Set the text fetched from the JFileChooser.getName().
9770 * javax/swing/FileSystemView.java
9771 (createFileObject): When file is a filesystem root,
9772 create a filesystem root object first.
9773 (getSystemDisplayName): Return the filename. Added specnote
9774 about ShellFolder class that is mentioned in the spec.
9775 * javax/swing/UnixFileSystemView.java
9776 (getSystemDisplayName): Implemented to return the real name
9777 of a file, special handling files like '.' or '..'.
9779 2006-08-03 Mark Wielaard <mark@klomp.org>
9781 * examples/gnu/classpath/examples/icons/badge.png: Add file.
9783 2006-08-03 Roman Kennke <kennke@aicas.com>
9786 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9787 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9788 components when visual property chanegs.
9790 2006-08-03 Roman Kennke <kennke@aicas.com>
9793 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9794 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9795 component when visual properties change.
9797 2006-08-03 Roman Kennke <kennke@aicas.com>
9800 * javax/swing/JTree.java
9801 (JTree(TreeModel)): Set cell renderer to null.
9802 * javax/swing/plaf/basic/BasicTreeUI.java
9803 (setCellRenderer): Finish editing before setting the
9804 cell renderer. Refresh the layout. Don't set the
9805 currentCellRenderer field here (that's done in updateRenderer).
9806 (updateRenderer): Handle createdRenderer field here too.
9807 Set renderer to a default handler when the current renderer
9808 in the JTree is null.
9810 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9813 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9815 2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
9818 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9819 Updated documentation to clarify that RFC-2459 states that the parameters
9820 field of the AlgorithmIdentifier element MUST be NULL if present.
9821 Amended the code to reflect the specs.
9822 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9824 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9826 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9827 Call parameter 'defaultValue' not 'defValue'.
9829 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9831 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9834 2006-08-01 Roman Kennke <kennke@aicas.com>
9837 * javax/swing/plaf/basic/BasicOptionPaneUI.java
9838 (PropertyChangeHandler.propertyChange): Cleanly reinstall
9839 components when visual property chanegs.
9841 2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
9843 * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9844 (toString()): Corrected documentation.
9845 * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9846 * javax/management/openmbean/OpenMBeanInfo.java,
9847 * javax/management/openmbean/OpenMBeanOperationInfo.java:
9849 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9850 (toString()): Corrected documentation.
9852 2006-08-01 Tania Bento <tbento@redhat.com>
9854 * java/awt/Choice.java
9855 (remove(int)): Added documentation.
9857 2006-08-01 Tania Bento <tbento@redhat.com>
9859 * java/awt/Choice.java
9860 (remove(int)): An IllegalArgumentException should not be thrown
9861 if int is invalid. Update selectedIndex and peer selection.
9863 2006-08-01 Tania Bento <tbento@redhat.com>
9865 * java/awt/CardLayout.java
9866 (toString): Changed format of string outputted.
9867 (goToComponent): Changed the order of the if-clause.
9869 2006-07-31 Tom Tromey <tromey@redhat.com>
9871 * INSTALL: Updated for ASM.
9873 2006-07-31 Tom Tromey <tromey@redhat.com>
9876 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9877 (attachment): Likewise.
9878 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9880 (isValid): Likewise.
9881 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9883 (interestOps): Synchronize.
9884 (readyOps): Likewise.
9885 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9888 2006-07-31 Roman Kennke <kennke@aicas.com>
9890 * NEWS: Added note about the X peers.
9891 * INSTALL: Added install notes about the X peers.
9893 2006-07-31 Carsten Neumann <cn-develop@gmx.net>
9895 * StrictMath.java (getLowDWord): Return long instead of int.
9896 (getHighDWord): Likewise.
9897 (buildDouble): Take two long arguments.
9898 (cbrt): Adapted to int -> long change.
9902 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
9904 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9907 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
9909 * java/security/Provider.java: Updated copyright year.
9910 Updated documentation.
9912 (put): Updated documentation.
9913 Added security manager check.
9914 Canonicalize the key before adding its mapping.
9915 (get): Override superclass implementation to use canonicalized keys.
9916 (remove): Updated documentation.
9917 Added security manager check.
9918 Canonicalize the key before removing its mapping.
9919 (clear): Updated documentation.
9920 Added security manager check.
9921 (toCanonicalKey): New method.
9923 2006-07-30 Matt Wringe <mwringe@redhat.com>
9925 * gnu/java/security/Engine.java
9926 (getInstance): Ignore self referencing aliases.
9928 2006-07-30 Mark Wielaard <mark@klomp.org>
9930 * javax/swing/JComponent.java (getListeners): Revert
9933 2006-07-30 Mark Wielaard <mark@klomp.org>
9935 * resource/java/security/classpath.security: Add /dev/urandom as
9936 default securerandom.source.
9938 2006-07-30 Mark Wielaard <mark@klomp.org>
9940 * java/util/GregorianCalendar.java (maximums): Months can have up to
9942 (nonLeniencyCheck): weeks is either 5 or 6.
9944 2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
9946 * javax/management/openmbean/OpenMBeanAttributeInfo.java,
9947 * javax/management/openmbean/OpenMBeanParameterInfo.java:
9950 2006-07-30 Matt Wringe <mwringe@redhat.com>
9952 * gnu/java/security/Engine.java
9953 (getInstance): Ignore self referencing aliases.
9955 2006-07-30 Sven de Marothy <sven@physto.se>
9957 * java/awt/Choice.java:
9958 (accessibleAction): Call select() directly.
9959 (add, insert, remove): Reimplement.
9960 (dispatchEventImpl): Always call super.
9961 (processItemEvent): Does not set the index.
9962 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
9963 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9965 (nativeAdd): Name changed to add.
9966 (selection_changed_cb): Simplify callback.
9967 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9968 (selected): New field.
9969 (add): Replaced with native impl.
9970 (handleEvent): New method.
9972 2006-07-30 Sven de Marothy <sven@physto.se>
9974 * java/awt/Choice.java:
9975 Reformat, fix copyright year.
9977 2006-07-29 Mark Wielaard <mark@klomp.org>
9979 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
9980 static field isPaintingDoubleBuffered to not have the same name
9983 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
9985 * examples/gnu/classpath/examples/management/TestBeans.java:
9987 * javax/management/MBeanAttributeInfo.java:
9988 (toString()): Implemented.
9989 * javax/management/MBeanConstructorInfo.java:
9990 (toString()): Implemented.
9991 * javax/management/MBeanFeatureInfo.java:
9992 (toString()): Implemented.
9993 * javax/management/MBeanInfo.java:
9994 (toString()): Implemented.
9995 * javax/management/MBeanNotificationInfo.java:
9996 (toString()): Implemented.
9997 * javax/management/MBeanOperationInfo.java:
9998 (toString()): Implemented.
9999 * javax/management/MBeanParameterInfo.java:
10000 (toString()): Implemented.
10001 * javax/management/StandardMBean.java:
10002 (getMBeanInfo()): Fix attribute naming.
10004 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
10006 * gnu/java/lang/management/BeanImpl.java:
10007 Extended javax.management.StandardMBean.
10008 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10009 * gnu/java/lang/management/CompilationMXBeanImpl.java,
10010 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10011 * gnu/java/lang/management/MemoryMXBeanImpl.java,
10012 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10013 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10014 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10015 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10016 * gnu/java/lang/management/ThreadMXBeanImpl.java:
10017 Call the superclass with the appropriate class.
10018 * java/lang/management/ManagementFactory.java:
10019 (getOperatingSystemMXBean()): Catch exception from
10021 (getRuntimeMXBean()): Likewise.
10022 (getClassLoadingMXBean()): Likewise.
10023 (getThreadMXBean()): Likewise.
10024 (getMemoryMXBean()): Likewise.
10025 (getCompilationMXBean()): Likewise.
10026 (getMemoryPoolMXBeans()): Likewise.
10027 (getMemoryManagerMXBeans()): Likewise.
10028 (getGarbageCollectorMXBeans()): Likewise.
10029 * javax/management/MBeanFeatureInfo.java:
10030 hashCode()): Fixed to check for null values.
10032 2006-07-29 Matt Wringe <mwringe@redhat.com>
10034 * gnu/java/security/Engine.java
10035 (getInstance): Add case insentivity to algorithm names
10036 * java/security/Provider.java
10037 (put): Stop using canonical key naming
10039 (toCanonicalKey): Method removed
10040 (get): Method removed, no longer needs to overwrite
10041 parent implementation
10043 2006-07-29 Mark Wielaard <mark@klomp.org>
10045 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10046 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10047 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10048 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10049 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10053 2006-07-29 Sven de Marothy <sven@physto.se>
10055 * java/math/BigDecimal.java
10056 Adjust copyright date.
10057 (divide(BigDecimal): Implement.
10058 (precision): Reimplement.
10059 (numDigitsInBigInteger, numDigitsInLong): Removed.
10060 (toString): Get exponent from string length,
10061 fix negative values with exponential form.
10062 (toEngineeringString): Same as for toString.
10063 (setScale): Throw ArithmeticException if scale < 0.
10065 2006-07-27 Francis Kung <fkung@redhat.com>
10067 * gnu/java/awt/java2d/CubicSegment.java: Added import.
10068 (cp1): Renamed from first().
10069 (c2): Renamed from last().
10070 (first): Renamed to cp1().
10071 (getDisplacedSegments): Implemented.
10072 (last): Renamed to cp2().
10073 * gnu/java/awt/java2d/LineSegment.java
10074 (cp1): Renamed from first().
10075 (c2): Renamed from last().
10076 (first): Renamed to cp1().
10077 (last): Renamed to cp2().
10078 * gnu/java/awt/java2d/QuadSegment.java
10079 (cp1): Renamed from first().
10080 (c2): Renamed from last().
10081 (first): Renamed to cp1().
10082 (last): Renamed to cp2().
10083 * gnu/java/awt/java2d/Segment.java: Added comments.
10084 (first): New field.
10085 (Segment): Keep track of first element in list.
10086 (add): Update first & last element variables.
10087 (cp1): Renamed from first().
10088 (c2): Renamed from last().
10089 (first()): Renamed to cp1() to reduce ambiguity.
10090 (last()): Renamed to cp2() to reduce ambiguity.
10091 (reverseAll): Update first element variable..
10092 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10093 (draw): Remove flattening path iterator.
10094 * java/awt/BasicStroke.java: Clarified comments.
10095 (addSegments): Refactored some code into joinSegments and
10097 (capEnd): Rename of Segment.first() and Segment.end().
10098 (joinInnerSegments): New method.
10099 (joinOuterSegments): New method.
10100 (joinSegments): Refactored some code into joinOuterSegments.
10101 (solidStroke): Connect segments together properly.
10103 2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10105 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10107 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10109 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10111 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10114 2006-07-28 Tom Tromey <tromey@redhat.com>
10116 * configure.ac: Enable -Werror by default on Linux-with-gcc.
10118 2006-07-28 Lillian Angel <langel@redhat.com>
10120 * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10121 Removed function declarations.
10122 (connect_signals_for_widget): Removed implementation because
10123 stub functions have been removed.
10124 (drag_begin_cb): Removed function.
10125 (drag_motion_cb): Likewise.
10126 (drag_data_get_cb): Likewise.
10127 (drag_data_delete_cb): Likewise.
10128 (drag_drop_cb): Likewise.
10129 (drag_end_cb): Likewise.
10130 (drag_data_received_cb): Likewise.
10132 2006-07-28 Mark Wielaard <mark@klomp.org>
10134 * configure.ac: Set version to 0.93-pre.
10136 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10138 * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10140 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
10142 * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10143 (getCallbackHandler): Fully qualify linked class in javadoc.
10144 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10145 * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10146 * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10148 2006-07-27 Tom Tromey <tromey@redhat.com>
10150 PR classpath/28486:
10151 * java/net/URLStreamHandler.java (equals): Properly handle default
10152 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
10154 2006-07-27 Roman Kennke <kennke@aicas.com>
10156 * javax/swing/text/AbstractDocument.java
10157 (documentCV): Made field private.
10158 (bypass): Made field private.
10159 (bidiRoot): New field.
10160 (AbstractDocument): Initialize bidiRoot.
10161 (getBidiRootElement): Return bidiRoot.
10162 (getRootElements): Adjusted to also return the bidiRoot element.
10163 (BranchElement.startOffset): Removed unneeded field.
10164 (BranchElement.endOffset): Removed unneeded field.
10165 (BranchElement.BranchElement): Removed unneeded fields.
10166 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10167 done automatically when there's no element left in the array.
10168 (BranchElement.getStartOffset): Likewise.
10169 (BranchElement.replace): Reordered calculations to avoid double
10171 (removeImpl): Silently ignore requests with length <= 0.
10172 * javax/swing/text/GapContent.java
10173 (createPosition): Removed explicit check for correct offset.
10174 This class can deal with offsets outside the document.
10175 (shiftEnd): Update all positions, even those outside the
10177 (adjustPositionsInRange): Fixed to also adjust positions outside
10178 the document boundary.
10180 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
10182 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10184 (getParameter): Returns _klass field instead of determining
10185 class from _instance.
10186 (setCatchLoc): New method.
10187 (writeData): Now assumes Location deals with empty locations instead of
10189 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10190 locations and write out accordingly.
10191 (getEmptyLocation): New method.
10193 2006-07-27 Roman Kennke <kennke@aicas.com>
10195 * javax/swing/text/SimpleAttributeSet.java
10196 (EMPTY): Use EmptyAttributeSet for this field rather than
10197 SimpleAttributeSet.
10198 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10199 an empty and immutable AttributeSet.
10201 2006-07-27 Roman Kennke <kennke@aicas.com>
10203 * java/awt/Component.java
10204 (reshape): Invalidate the component itself only when the
10205 size has changed. Invalidate the parent always. Fixed
10206 repainting. Pulled out the notification into
10208 (notifyReshape): New helper method. Notify interested listeners
10210 (update): Simply call paint() without clearing the background.
10211 This is done in Container.update() if appropriate.
10212 (repaint): Delagate the repaint to the nearest heavyweight
10213 parent (for lightweights) and send an UPDATE event, rather than
10214 calling ComponentPeer.repaint().
10215 * java/awt/Container.java
10216 (backCleared): Removed field.
10217 (paint): Removed handling of backCleared flag.
10218 (update): Only paint if the container is actually
10219 showing. Removed handling of backCleared flag.
10221 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
10223 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10225 (NavigateAction): New inner class.
10226 (NavigatePageDownAction): New inner class.
10227 (NavigatePageUpAction): New inner class.
10228 (RequestFocusAction): New inner class.
10229 (RequestFocusForVisibleComponentAction): New inner class.
10230 (FocusHandler.focusGained): Implemented.
10231 (FocusHandler.focusLost): Implemented.
10232 (MouseHandler.mouseReleased): Implemented.
10233 (MouseHandler.mousePressed): Rewritten.
10234 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10235 currentScrollLocation to 0.
10236 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10237 removed local variables, fixed indentation to stay under 80 column
10239 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10240 one, set selectedIndex to 0 if its negative, corrected start values
10241 for normalization, suppressed padding when only one tab run,
10242 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10243 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10244 80 column limit, corrected the starting value for the bounds fixing
10246 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10247 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10248 selectedRun, set start index for loop to 0.
10249 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10250 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10251 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10252 alignment and visibility handling.
10253 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10255 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10256 (currentScrollOffset): New field.
10257 (tabRuns): Rewritten documentation.
10258 (selectedColor): New field.
10259 (tempTextRect): New field.
10260 (tempIconRect): New field.
10261 (scrollTab): New method.
10262 (updateButtons): New method.
10263 (updateViewPosition): New method.
10264 (createLayoutManager): Reordered method calls, predefine new fields,
10265 register proper listeners.
10266 (uninstallComponents): Implemented.
10267 (installDefaults): Corrected property names, fixed indentation,.
10268 (uninstallDefaults): Set new fields to null.
10269 (uninstallListeners): Remove listeners from components neccessary for
10270 scrolling tab layout.
10271 (installKeyboardActions): Implemented.
10272 (uninstallKeyboardActions): Implemented.
10273 (paint): Paint tab area background.
10274 (paintTabArea): Fixed indentation, removed usage of local Rectangle
10276 (getTabLabelShiftX): Rewritten.
10277 (getTabLabelShiftY): Rewritten.
10278 (paintFocusIndicator): Reindented.
10279 (paintTabBorder): Rewritten.
10280 (paintTabBackground): Corrected color usage, rewritten background
10281 rectangle painting.
10282 (paintContentBorderTopEdge): Rewritten.
10283 (paintContentBorderBottomEdge): Rewritten.
10284 (paintContentBorderLeftEdge): Rewritten.
10285 (paintContentBorderRightEdge): Rewritten.
10286 (tabForCoordinate): Return selected index when no tab could be
10287 found, removed FIXME note.
10288 (getRunForTab): Changed return value for first if-statement.
10289 (navigateSelectedTab): Fixed last argument for both
10290 getTabRunOffset() calls.
10291 (selectedNextTabInRun): Added scrolling code.
10292 (selectedPreviousTabInRun): Added scrolling code.
10293 (selectedNextTab): Added scrolling code.
10294 (selectedPreviousTab): Added scrolling code.
10295 (selectAdjacentRunTab): Added scrolling code.
10296 (getTextViewForTab): Added FIXME note.
10297 (calculateTabHeight): Changed FIXME note.
10298 (getTabRunOffset): Fixed indentation.
10299 (getNextTabIndexInRun): Corrected return value.
10300 (rotateInsets): Make TOP case the default in switch-statement.
10301 (getActionMap): New method.
10302 (createActionMap): New method.
10303 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10304 (createLayoutManager): Rewritten.
10305 (paintLeftTabBorder): Do not paint left line when previous tab
10306 is selected but current tab is the first in its run, do not paint
10307 left line when current tab is selected and is first in its run.
10308 (paintRightTabBorder): Added missing setColor() call, fixed color
10309 usage, do not paint right line if previous tab is selected but
10310 current tab is the first in its run.
10311 (paintBottomTabBorder): Do not paint left line if tab is selected
10312 and is the first tab in the last run.
10313 (paintFocusIndicator): New method.
10314 (getLabelShiftX): New method.
10315 (getLabelShiftY): New method.
10317 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
10319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10320 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10321 g_assert from unused obj.
10322 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10323 obj as unused and remove g_assert on it.
10325 2006-07-26 Roman Kennke <kennke@aicas.com>
10327 * javax/swing/RepaintManager.java
10328 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10330 (isCompletelyDirty): Consider a component completely dirty
10331 when it has a dirty region with Integer.MAX_VALUE.
10333 2006-07-26 Roman Kennke <kennke@aicas.com>
10335 * java/awt/KeyboardFocusManager.java
10336 (getGlobalFocusOwner): Explicitly check for thread security.
10337 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10338 (getGlobalFocusedWindow): Explicitly check for thread security.
10339 (getGlobalActiveWindow): Explicitly check for thread security.
10340 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10341 (getGlobalObject): Added new argument for specifying if
10342 a security check should be performed or not.
10343 (setGlobalObject): Don't check for thread security when
10344 calling getGlobalObject.
10346 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
10348 * javax/management/MBeanConstructorInfo.java:
10350 * javax/management/MBeanInfo.java:
10351 (MBeanInfo(String,String,MBeanAttributeInfo[],
10352 MBeanConstructorInfo[], MBeanOperationInfo[],
10353 MBeanNotificationInfo[])): Implemented.
10354 (equals(Object)): Likewise.
10355 (getAttributes()): Likewise.
10356 (getConstructors()): Likewise.
10357 (getOperations()): Likewise.
10358 (hashCode()): Likewise.
10359 * javax/management/MBeanOperationInfo.java,
10360 * javax/management/NotCompliantMBeanException.java,
10361 * javax/management/StandardMBean.java:
10364 2006-07-26 Sven de Marothy <sven@physto.se>
10366 * java/awt/geom/GeneralPath.java: Fix severe typo.
10368 2006-07-26 Sven de Marothy <sven@physto.se>
10370 * include/java_lang_VMSystem.h
10371 * vm/reference/java/lang/VMSystem.java
10372 * native/jni/java-lang/java_lang_VMSystem.c
10373 (nanoTime, currentTimeMillis): Switch the former to native code and
10374 the latter to java.
10376 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
10378 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10379 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10380 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10381 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10382 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10383 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10384 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10385 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10386 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10387 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10388 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10389 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10390 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10391 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10392 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10393 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10394 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10395 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10396 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10397 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10398 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10400 2006-07-26 Roman Kennke <kennke@aicas.com>
10402 * java/awt/KeyboardFocusManager.java
10403 (getFocusOwner): Don't check permanent owner.
10404 (getGlobalFocusOwner): Don't check permanent owner.
10406 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
10408 * StrictMath.java (cosh): New method.
10409 (expm1): New method.
10410 (EXPM1_Q1): New field.
10411 (EXPM1_Q2): Likewise.
10412 (EXPM1_Q3): Likewise.
10413 (EXPM1_Q4): Likewise.
10414 (EXPM1_Q6): Likewise.
10416 2006-07-26 Roman Kennke <kennke@aicas.com>
10418 * javax/swing/plaf/basic/BasicButtonListener.java
10419 (mousePressed): Request focus if appropriate.
10420 * javax/swing/text/DefaultCaret.java
10421 (mousePressed): Also handle the focus of the text component
10422 as specified. Don't consume events.
10424 2006-07-26 Roman Kennke <kennke@aicas.com>
10426 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10427 (focusRequest): Removed field.
10428 (postFocusEvent(int,boolean,Component)): Removed.
10429 (postFocusEvent(int,boolean)): Reverted to post event using
10430 the heavyweight component.
10431 (requestFocus): Post focus event using the heavyweight
10433 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10434 (requestFocus): Post focus event using the heavyweight
10436 * java/awt/AWTEvent.java
10437 (isFocusManagerEvent): New field, indicating if this is
10438 an event that is redispatched by the KeyboardFocusManager.
10439 * java/awt/Component.java
10440 (requestFocusImpl): Register component for
10441 heavyweight->lightweight mapping.
10442 (dispatchEventImpl): Retarget focus events before dispatching
10443 to the KeyboardFocusManager. Use new AWTEvent flag instead
10444 of locking hack. Dispatch all events through the
10445 KeyboardFocusManager. Don't request focus on lightweight
10447 * java/awt/DefaultKeyboardFocusManager.java
10448 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10450 (handleFocusGained): Fixed handling of temporary vs permanent
10451 focus changes. Added some checks.
10452 (handleFocusLost): Fixed handling of temporary vs permanent
10453 focus changes. Added some checks.
10454 * java/awt/EventDispatchThread.java
10455 (run): Don't dispatch to KeyboardFocusManager here. This
10456 is done in Component.dispatchEventImpl().
10457 * java/awt/KeyboardFocusManager.java
10458 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10459 (focusRequests): New field.
10460 (retargetFocusEvent): New method. Retargets focus events
10461 that come from heavyweights to the correct lightweight component.
10462 (addLightweightFocusRequest): New method. Stores a mapping
10463 for later retargetting of heavyweight focus events.
10464 * java/awt/Window.java
10465 (addFocusListener): Removed bogus method. If at all, this
10466 should be performed in the KeyboardFocusManager.
10467 (Window): Don't install a focus listener on the Window.
10469 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10471 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10472 (drawLine): Apply shift to line coordinates.
10474 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10476 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10477 (copyimage): Do not call setRenderingHints() when the respective map
10479 (filter): Removed code to clone the ColorModel instance.
10480 * java/awt/image/ColorModel.java:
10481 (cloneColorModel): Removed.
10483 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
10485 * javax/swing/JTabbedPane.java:
10486 (setSelectedIndex): Removed updating of component visibility status,
10488 (remove(Component)): Use indexOfComponent() to find whether we have
10489 to use super.remove(int) or removeTabAt().
10491 2006-07-26 Roman Kennke <kennke@aicas.com>
10493 * javax/swing/JOptionPane.java
10494 (createDialog): Add property change handler for closing
10495 the dialog when the value property changes.
10496 (ValuePropertyHandler): New inner helper class.
10497 * javax/swing/plaf/basic/BasicOptionPaneUI.java
10498 (OptionPaneCloseAction): New class.
10499 (messageForeground): Removed field.
10500 (messageBorder): Removed field.
10501 (buttonBorder): Removed field.
10502 (addIcon): Configure the new label.
10503 (addMessageComponents): Configure newly created labels.
10504 (burstStringInto): Likewise.
10505 (createButtonArea): Install border here.
10506 (createMessageArea): Install border and foreground here.
10507 (createSeparator): Added comment and removed
10508 NotImplementedException.
10509 (installComponents): Don't install the UI defaults for the
10510 message and button area here. This is moved to the
10511 corresponding create* methods. Adjusted comment about
10513 (installDefaults): Removed initialization of removed fields.
10514 (installKeyboardActions): Implemented.
10515 (getActionMap): New helper method.
10516 (createDefaultActions): New helper method.
10517 (uninstallDefaults): Removed de-initialization of removed fields.
10518 (uninstallKeyboardActions): Implemented.
10519 (configureLabel): New helper method.
10520 * javax/swing/plaf/basic/BasicTableUI.java
10521 (getActionMap): Fixed the UI property names.
10522 * javax/swing/plaf/basic/BasicToolBarUI.java
10523 (getActionMap): Fixed the UI property names.
10525 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10527 * java/awt/image/BandedSampleModel.java
10528 (getDataElements): Check for negative x or y,
10529 (getPixels): Likewise,
10530 (getSamples): Likewise,
10531 (setSamples): Likewise.
10533 2006-07-26 Roman Kennke <kennke@aicas.com>
10535 * javax/swing/plaf/basic/BasicToolBarUI.java
10536 (ToolBarAction): New inner class for handling keyboard
10538 (installKeyboardActions): Implemented.
10539 (getActionMap): New helper method.
10540 (createDefaultActions): New helper method.
10541 (installListeners): Install focus listener on toolbar's
10542 children, rather than the toolbar itself.
10543 (navigateFocusedComp): Implemented.
10544 (uninstallKeyboardActions): Implemented.
10545 (uninstallListeners): Uninstall focus listener from
10546 toolbar's children, rather than the toolbar itself.
10547 (ToolBarContListener.componentAdded): Install focus
10548 listener on added child.
10549 (ToolBarContListener.componentRemoved): Uninstall focus
10550 listener from removed child.
10551 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10552 (ToolBarFocusListener.focusGained): Implemented.
10553 (ToolBarFocusListener.focusLost): Implemented.
10555 2006-07-26 Roman Kennke <kennke@aicas.com>
10557 * java/awt/DefaultKeyboardFocusManager.java
10558 (dispatchEvent): Notify old focus owner when it has lost
10561 2006-07-26 Roman Kennke <kennke@aicas.com>
10563 * javax/swing/plaf/basic/BasicTableUI.java
10564 (FocusHandler.focusGained): Implemented to refresh the
10566 (FocusHandler.focusLost): Implemented to refresh the
10568 (FocusHandler.repaintLeadCell): New helper method.
10569 (MouseInputHandler.mouseEntered): Do nothing here.
10570 (MouseInputHandler.mouseExited): Do nothing here.
10571 (MouseInputHandler.mouseMoved): Do nothing here.
10572 (installKeyboardActions): Rewritten to use a shared InputMap
10573 and ActionMap and correctly install the maps via SwingUtilities
10575 (getActionMap): New helper method.
10576 (createDefaultActions): New helper method.
10577 (ActionListenerProxy): Removed unneeded class.
10578 (TableAction): Made class static.
10579 (TableAction.actionPerformed): Determine table by fetching
10580 the event source. Pass the table to helper methods.
10581 Use __command__ hack to determine the action command.
10582 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10583 (TableAction.getLastVisibleColumnIndex): Get table as argument.
10584 (TableAction.getFirstVisibleRowIndex): Get table as argument.
10585 (TableAction.getLastVisibleRowIndex): Get table as argument.
10586 (TableAction.advanceMultipleSelection): Get table as argument.
10587 (uninstallDefaults): Do nothing here.
10588 (uninstallKeyboardActions): Uninstall the keyboard actions.
10590 2006-07-26 Roman Kennke <kennke@aicas.com>
10592 * javax/swing/JComponent.java
10593 (processKeyBinding): Store the action command as property
10594 in the Action instance that we call. This allows for
10595 improvement on the side of the Action.
10597 2006-07-26 Roman Kennke <kennke@aicas.com>
10599 * javax/swing/plaf/metal/MetalUtils.java
10600 (fillMetalPattern): Use fillRect() instead of drawLine() to
10601 fill single pixels.
10603 2006-07-26 Roman Kennke <kennke@aicas.com>
10605 * javax/swing/text/GapContent.java
10606 (getChars): Check for negative length and throw
10607 BadLocationException.
10609 2006-07-26 Roman Kennke <kennke@aicas.com>
10611 * javax/swing/plaf/basic/BasicMenuBarUI.java
10612 (FocusAction): Made class static.
10614 2006-07-26 Roman Kennke <kennke@aicas.com>
10616 * javax/swing/plaf/basic/BasicLookAndFeel.java
10617 (initComponentDefaults): Add keyboard bindings for
10620 2006-07-26 Roman Kennke <kennke@aicas.com>
10622 * javax/swing/UIManager.java
10623 (getLookAndFeelDefaults): Return the look and feel defaults.
10624 (setLookAndFeel): Improved exception messsage.
10626 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10628 * javax/swing/text/StringContent.java
10629 (StringContent): Changed initialLength to 10.
10631 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10633 * java/util/Vector.java: Fixed API doc typo.
10635 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
10637 * java/awt/image/BandedSampleModel.java
10638 (createCompatibleSampleModel): Fixed typo in loop increment, set
10639 correct scanlineStride, and updated API docs.
10641 2006-07-25 Roman Kennke <kennke@aicas.com>
10643 * javax/swing/plaf/basic/BasicPopupMenuUI.java
10644 (NavigateAction): New inner class. This is responsible for
10645 keyboard navigation through menus.
10646 (KeyboardHelper): New inner class. This manages the
10647 keyboard mappings and focus when a popup opens or closes.
10648 (keyboardHelper): New static field.
10649 (numPopups): New static field.
10650 (installUI): Create KeyboardHelper for first popup.
10651 Call installKeyboardActions().
10652 (installKeyboardActions): Removed NotImplementedException.
10653 This method is a no-op.
10654 (installKeyboardActionsImpl): New method. Installs keyboard
10655 mapping when a popup is opened.
10656 (getActionMap): New helper method.
10657 (createDefaultActions): New helper method.
10658 (uninstallUI): Uninstall KeyboardHelper when last Popup is
10659 uninstalled. Call uninstallKeyboardActions().
10660 (uninstallKeyboardActions): Removed NotImplementedException.
10661 This method is a no-op.
10662 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10663 mapping when a popup is closed.
10665 2006-07-25 Roman Kennke <kennke@aicas.com>
10667 * java/awt/Component.java
10668 (requestFocus()): Reimplemented to use requestFocusImpl().
10669 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10670 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10671 (requestFocusInWindow(boolean)): Reimplemented to use
10672 requestFocusImpl().
10673 (requestFocusImpl): Reimplemented focus request to use
10674 new peer method. Also added some obvious additional checks
10675 for rejecting focus requests early.
10676 * java/awt/ComponentPeer.java
10677 (requestFocus(Component,boolean,boolean,long)): Documented
10679 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10680 (requestFocus): New field.
10681 (gtkWidgetHasFocus): New native method.
10682 (gtkWidgetCanFocus): New native method.
10683 (requestFocus): Replaced with assert false to prevent
10684 usage of obsolete method.
10685 (postFocusEvent(int,boolean,Component)): New overloaded method
10686 for posting the focus event to a specific target.
10687 (postFocusEvent(int,boolean)): Post event to requestFocus
10689 (requestFocus(Component,boolean,boolean,long)): Implemented.
10690 (getWindowFor): New helper method.
10691 (isLightweightDescendant): New helper method.
10692 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10693 (gtkWindowHasFocus): New native method.
10694 (requestFocus(Component,boolean,boolean,long)): New method.
10695 Overrides GtkComponentPeer method to specially handly the
10696 case when a Window receives a focus request for a lightweight
10698 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10699 (gtkWidgetHasFocus): New native method.
10700 (gtkWidgetCanFocus): New native method.
10701 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10702 (gtkWindowHasFocus): New native method.
10703 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10704 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10707 2006-07-25 Francis Kung <fkung@redhat.com>
10709 * java/awt/DefaultKeyboardFocusManager.java
10710 (dispatchEvent): Add check for valid component.
10712 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
10714 * javax/management/MBeanConstructorInfo.java:
10716 * javax/management/MBeanNotificationInfo.java:
10718 * javax/management/MBeanParameterInfo.java:
10721 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10723 * java/awt/peer/gtk/CairoGraphics.java:
10724 (drawLine): Added special case for 1 pixel lines.
10726 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10729 * java/awt/peer/gtk/CairoGraphics.java:
10730 (drawLine): Removed calls to shifted().
10732 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10734 * javax/swing/JTabbedPane.java:
10735 (remove(Component)): Rewritten.
10736 (setSelectedIndex): Implemented updating of component visibility state.
10738 2006-07-25 Sven de Marothy <sven@physto.se>
10740 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10741 (init): Default to the actual depth in the worst case.
10743 * java/awt/Font.java
10744 (createFont(int, File)): New method.
10746 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
10749 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10751 (RETokenEnd): New constructer to set check_java_line_terminators.
10752 (matchThis): Checck line terminators if check_java_line_terminators.
10753 * gnu/java/util/regex/RETokenStart.java: Likewise.
10754 * gnu/regexp/RE.java(initialize): Use the new constructors for
10755 RETokenEnd and RETokenStart if REG_MULTILINE is set.
10756 * java/util/regex/Pattern.java(Patteren): Changed so that
10757 gnu/regexp/RE.java may use the new the new constructors.
10759 2006-07-25 Roman Kennke <kennke@aicas.com>
10761 * java/awt/Container.java
10762 (focusTraversalPolicyProvider): New field.
10763 (isFocusTraversalPolicyProvider): New method.
10764 (setFocusTraversalPolicyProvider): New method.
10765 * java/awt/ContainerOrderFocusTraversalPolicy.java
10766 (getFirstComponent): Use accept() instead of lengthy checks.
10767 Don't fetch getComponents() to avoid copying of array.
10768 Traverse down the hierarchy to find the first focused component.
10769 * java/awt/DefaultKeyboardFocusManager.java
10770 (dispatchEvent): Let the initial component request focus.
10772 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10774 * javax/swing/text/Segment.java
10775 (last): Update current index before returning DONE for zero count.
10777 2006-07-24 Mark Wielaard <mark@klomp.org>
10779 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10781 2006-07-25 Roman Kennke <kennke@aicas.com>
10783 * javax/swing/plaf/basic/BasicMenuBarUI.java
10784 (FocusAction): New inner class. Used to grab focus.
10785 (installKeyboardActions): Implemented.
10786 (uninstallKeyboardActions): Implemented.
10787 (getActionMap): New helper method.
10788 (createDefaultActions): New helper method.
10790 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
10792 * examples/gnu/classpath/examples/swing/Demo.java:
10793 (mkMenuBar): Install instantiable basic look and feel.
10794 (InstantiableBasicLookAndFeel): New inner class.
10796 2006-07-25 Roman Kennke <kennke@aicas.com>
10798 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10799 (GlassPaneDispatcher.dragTarget): New field.
10800 (GlassPaneDispatcher.isDragging): New field.
10801 (GlassPaneDispatcher.pressedComponent): Removed field.
10802 (GlassPaneDispatcher.tempComponent): Removed field.
10803 (GlassPaneDispatcher.pressCount): Removed field.
10804 (GlassPaneDispatcher.mousePressed): Call
10805 borderListener.mousePressed() to activate the frame.
10806 (acquireComponentForMouseEvent): Removed method.
10807 (handleEvent): Rewritten.
10808 (redispatch): New method.
10809 (InternalFramePropertyChangeListener.propertyChange):
10810 Make glasspane invisible when frame is selected, and visible
10811 if it gets deselected.
10813 2006-07-25 Roman Kennke <kennke@aicas.com>
10815 * java/awt/LightweightDispatcher.java
10816 (handleMouseEvent): Dispatch event to real target if
10817 the dragTarget has become invisible in the meantime.
10819 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
10821 * javax/swing/text/TabSet.java
10822 (equals): New method override for 1.5,
10823 (hashCode): Likewise,
10824 (toString): Added spaces to match reference implementation.
10826 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
10828 * javax/management/IntrospectionException.java,
10829 * javax/management/MBeanAttributeInfo.java:
10831 * javax/management/MBeanNotificationInfo.java:
10832 Documentation cleanups.
10834 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10836 * javax/swing/text/TabSet.java
10837 (TabSet): Check for null argument,
10838 (getTab): Throw IllegalArgumentException for index out of bounds,
10839 (getTabIndexAfter): Changed test to '<=',
10840 and updated API docs all over,
10841 * javax/swing/text/TabStop.java: Updated API docs.
10843 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
10845 * javax/swing/text/TabStop.java
10846 (toString): Don't use 'left ' prefix, and added space between tab
10847 location and '(w/leader)' suffix.
10849 2006-07-24 Francis Kung <fkung@redhat.com>
10851 * javax/swing/JComboBox.java
10852 (DefaultKeySelectionManager): Implemented.
10853 (createDefaultKeySelectionManager): Implemented.
10854 (getKeySelectionManager): Implemented.
10855 (processKeyEvent): Removed duplicate code.
10856 * javax/swing/JPopupMenu.java
10857 (selectionModel): Changed visibility.
10858 * javax/swing/plaf/basic/BasicComboBoxUI.java
10859 (KeyHandler.keyPressed): Added navigation keys.
10860 (configureEditor): Add key listener.
10861 (installListeners): Install focus listener to combo box.
10862 (isNavigationKey): Added enter, escape, and tab.
10863 (selectPreviousPossibleValue): Added out of bounds check.
10864 (unconfigureEditor): Remove key listener.
10865 * javax/swing/plaf/metal/MetalComboBoxButton.java
10866 (paintComponent): Highlight combo box when in focus.
10868 2006-07-24 Roman Kennke <kennke@aicas.com>
10870 * javax/swing/SwingUtilities.java
10871 (isLeftMouseButton): Fixed condition.
10872 * java/awt/LightweightDispatcher.java
10873 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10876 2006-07-24 Roman Kennke <kennke@aicas.com>
10878 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10879 (setPaint): Fixed scaleX and scaleY.
10881 2006-07-24 Roman Kennke <kennke@aicas.com>
10883 * javax/swing/JTable.java
10884 (handleInsert): Repaint the whole table for variable row
10885 height tables and an optimized region otherwise.
10886 (handleDelete): Likewise.
10887 (handleUpdate): Likewise.
10889 2006-07-24 Mario Torre <neugens@limasoftware.net>
10891 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10892 now explicity registerListeners on GtkMouseDragGestureRecognizer
10894 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10895 (unregisterListeners): new method, overrided from base class
10896 to rise visibility (from protected to public).
10897 (registerListeners): Likewise.
10898 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10899 removed call to registerListeners from the constructor.
10901 2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
10903 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10904 * java/lang/management/MemoryPoolMXBean.java:
10905 (getType()): Changed return type to MemoryType.
10906 * java/lang/management/MemoryType.java:
10909 2006-07-23 Mark Wielaard <mark@klomp.org>
10911 * configure.ac: Check for moc and moc-qt4.
10913 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
10915 * java/awt/image/Kernel.java: API doc updates.
10917 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
10919 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
10922 2006-07-22 Mark Wielaard <mark@klomp.org>
10924 * java/lang/Iterable.java: Import all of java.util.
10925 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
10926 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
10928 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10930 * doc/vmintegration.texinfo:
10931 Document getType(String).
10932 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10933 * java/lang/management/MemoryPoolMXBean.java:
10934 (getType()): Implemented.
10935 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
10936 (getType(String)): Implemented.
10938 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10940 * doc/vmintegration.texinfo:
10941 Move end of itemization block.
10943 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
10945 * javax/swing/plaf/metal/MetalLookAndFeel.java:
10946 (initComponentDefaults): Added new properties, added comments.
10948 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10950 * doc/vmintegration.texinfo:
10951 Mention callback methods.
10952 * gnu/java/lang/management/MemoryMXBeanImpl.java:
10953 (fireNotification(String,String,long,long,long,long,long)):
10954 Made package-private.
10955 (fireThresholdExceededNotification(String,long,long,long,
10956 long,long)): Likewise.
10957 (fireCollectionThresholdExceededNotification(String,long,
10958 long,long,long,long)): Likewise.
10959 * java/lang/management/MemoryMXBean.java:
10960 Document notifications.
10962 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
10964 * gnu/java/lang/management/MemoryMXBeanImpl.java:
10965 (fireNotification(String,String,long,long,long,long,long)):
10967 (fireThresholdExceededNotification(String,long,long,long,
10968 long,long)): Likewise.
10969 (fireCollectionThresholdExceededNotification(String,long,
10970 long,long,long,long)): Likewise.
10971 * java/lang/management/MemoryNotificationInfo.java:
10972 Use composite type from MemoryMXBeanImpl.
10973 * javax/management/openmbean/CompositeData.java:
10974 Correct documentation.
10975 * javax/management/openmbean/CompositeDataSupport.java,
10976 * javax/management/openmbean/InvalidKeyException.java:
10979 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
10981 * gnu/java/security/util/IntegerUtil.java: New file.
10983 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
10986 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
10987 (KEY_SIZE): Likewise.
10988 (adjustParity(int,byte[],int): New method.
10989 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
10990 (isParityAdjusted(int,byte[],int)): New method.
10991 (isParityAdjusted): Call above method with 3 as 1st argument.
10992 (keySizes): Add 8 and 16 as other valid key sizes.
10993 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
10995 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
10997 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
10998 code for the pixel swap routine to be more efficient.
11000 2006-07-21 Carsten Neumann <cn-develop@gmx.net>
11002 * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11003 (lastIndexOf(E, int)): Likewise.
11004 (add(E)): Increase the size of newData array by one.
11005 (add(int, E)): Likewise.
11007 2006-07-20 Lillian Angel <langel@redhat.com>
11009 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11010 Removed unused fields.
11011 (GtkMouseDragGestureRecognizer): Removed initializations.
11013 2006-07-20 Lillian Angel <langel@redhat.com>
11015 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11016 (GtkMouseDragGestureRecognizer): New constructor.
11017 (GtkMouseDragGestureRecognizer): New constructor.
11018 (GtkMouseDragGestureRecognizer): New constructor.
11019 (mouseClicked): Removed FIXME.
11020 (mousePressed): Implemented.
11021 (mouseReleased): Implemented.
11022 (mouseEntered): Implemented.
11023 (mouseDragged): Implemented to check mouse point and trigger origin.
11024 (mouseMoved): Removed FIXME.
11025 (getDropActionFromEvent): New helper function used to convert mouse event
11026 modifiers to a drop action.
11027 * java/awt/dnd/DragSource.java
11028 (getDragThreshold): Changed to return some arbitrary value for testing
11031 2006-07-20 Roman Kennke <kennke@aicas.com>
11033 * java/awt/LightweightDispatcher.java
11034 (findTarget): Also consider components that have their eventMask
11035 set, for compatibility with stonage AWT. Optimized check
11037 (handleMouseEvent): Likewise.
11039 2006-07-20 Roman Kennke <kennke@aicas.com>
11041 * javax/swing/JTable.java
11042 (tableChanged): Split out handling of the event into multiple
11044 (handleCompleteChange): New method. Clear the selection and
11045 check the lead/anchor indices.
11046 (handleInsert): New method. Check the lead/anchor indices.
11047 Optimized repainting.
11048 (handleDelete): New method. Check the lead/anchor indices.
11049 Optimized repainting.
11050 (handleUpdate): New method. Optimized repainting.
11051 (checkSelection): New helper method.
11052 (setSelectionModel): Update lead/anchor indices.
11054 2006-07-20 Lillian Angel <langel@redhat.com>
11057 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11058 (dispose): Reset all fields.
11060 2006-07-20 Roman Kennke <kennke@aicas.com>
11062 * gnu/java/awt/peer/x/XToolkit.java
11063 (createImage(InputStream)): Only copy image to Pixmap if
11064 it's actually opaque. Transparent images are left as
11065 BufferedImage and composited later onto the screen.
11066 * gnu/java/awt/peer/x/XGraphics.java
11067 (XGraphics): Fetch some parameters for image rendering.
11068 (drawImage): Added special handling of transparent images.
11069 (getRGB): New helper method.
11070 (setRGB): New helper method.
11072 2006-07-20 Roman Kennke <kennke@aicas.com>
11074 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11075 ImageInputStreams as normal InputStreams.
11076 * gnu/javax/imageio/gif/GIFStream.java:
11077 Moved to gnu/javax/imageio/IIOInputStream.java.
11078 * gnu/javax/imageio/gif/GIFImageReader.java
11079 (readImage): Use IIOInputStream.
11080 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11081 (canDecodeInput): Use IIOInputStream.
11082 * gnu/javax/imageio/png/PNGException.java: Make subclass
11084 * gnu/javax/imageio/png/PNGImageReader.java: New class.
11085 Implements the ImageIO ImageReader for PNG.
11086 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11087 Implements the ImageIO ImageReaderSpi for PNG.
11088 * javax/imageio/spi/IIORegistry.java:
11089 (IIORegistry): Add PNGImageReaderSpi.
11091 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11093 * java/awt/image/ComponentSampleModel.java
11094 (getPixel): Added argument check,
11095 (getSample): Modified exception message.
11097 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
11100 * java/awt/image/ConvolveOp.java
11101 (filter(Raster, WritableRaster)): Reimplemented,
11102 (fillEdge): New private method.
11104 2006-07-19 Keith Seitz <keiths@redhat.com>
11106 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11107 (JVMTI_VERSION): Define.
11109 2006-07-19 Roman Kennke <kennke@aicas.com>
11111 * resource/gnu/regexp/MessagesBundle.properties,
11112 * resource/gnu/regexp/MessagesBundle_fr.properties,
11113 * resource/gnu/regexp/MessagesBundle_it.properties:
11114 Moved to resource/gnu/java/util/regex.
11115 * resource/gnu/java/util/regex/MessagesBundle.properties,
11116 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11117 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11119 * gnu/java/util/regex/RE.java
11120 Use new resource bundle location.
11122 2006-07-19 Roman Kennke <kennke@aicas.com>
11124 * javax/swing/JComponent.java
11125 (paintChildren): Refactored. The paintChildrenOptimized method
11126 has been moved back in here. Added locking of the tree and
11127 only check for completely obscured child components
11128 when not optimized drawing enabled. Use Graphics.create() to
11129 protect from irreversible changes.
11130 (isCompletelyObscured): New helper method.
11131 (paintComponent): Also use Graphics.create() for Graphics2D,
11132 to protect from irreverible changes.
11133 (clipAndTranslateGraphics): Refactored to use more efficient
11134 iterative (vs recursive) approach.
11135 * javax/swing/RepaintManager.java
11136 (getOffscreenBuffer): Create image from root component.
11138 2006-07-19 Roman Kennke <kennke@aicas.com>
11140 * gnu/java/awt/peer/x/XGraphics.java
11141 (translate): Don't set the clip on the X server.
11142 (clipRect): Use setXClip() to set the clip on the X server.
11143 (hitClip): More efficient and correct implementation.
11144 (setClip): Use setXClip() to set the clip on the X server.
11145 (setClip(Shape)): Use setXClip() to set the clip on the X server.
11146 (copyArea): Translate and clip the source rectangle correctly.
11147 (dispose): Only flush when object is not yet disposed.
11148 (clone): Use setXClip() to set the clip on the X server.
11150 2006-07-19 Sven de Marothy <sven@physto.se>
11152 * gnu/javax/imageio/png/PNGChunk.java,
11153 * gnu/javax/imageio/png/PNGData.java,
11154 * gnu/javax/imageio/png/PNGDecoder.java,
11155 * gnu/javax/imageio/png/PNGEncoder.java,
11156 * gnu/javax/imageio/png/PNGException.java,
11157 * gnu/javax/imageio/png/PNGFile.java,
11158 * gnu/javax/imageio/png/PNGFilter.java,
11159 * gnu/javax/imageio/png/PNGGamma.java,
11160 * gnu/javax/imageio/png/PNGHeader.java,
11161 * gnu/javax/imageio/png/PNGICCProfile.java,
11162 * gnu/javax/imageio/png/PNGPalette.java,
11163 * gnu/javax/imageio/png/PNGPhys.java,
11164 * gnu/javax/imageio/png/PNGTime.java:
11167 2006-07-19 Sven de Marothy <sven@physto.se>
11169 * java/net/Inet6Address.java:
11170 (getScopedId, getScopedInterface): New methods.
11172 2006-07-19 Lillian Angel <langel@redhat.com>
11174 * examples/gnu/classpath/examples/awt/Demo.java
11175 (DragDropWindow): Fixed typo in Label text.
11176 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11177 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11178 (startDrag): Initialized context field.
11179 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11181 (dragEnter): New function.
11182 (dragExit): Likewise.
11183 (dragDropEnd): Likewise.
11184 (dragMouseMoved): Likewise.
11185 (dragOver): Likewise.
11186 (dragActionChanged): Likewise.
11188 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
11191 * resource/java/security/classpath.security: Updated copyright year.
11192 (auth.login.defaultCallbackHandler): New property; set to our default
11193 callback handler. This is needed by the LoginContext when no callback
11194 handler was specified.
11195 * javax/security/auth/login/LoginContext.java: Updated copyright year.
11196 (LoginContext(4)): Assign passed parameters to local fields before invoking
11199 2006-07-19 Roman Kennke <kennke@aicas.com>
11201 * gnu/java/awt/peer/x/XGraphics.java
11202 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11203 Fixed ordering of parameters.
11205 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
11207 * gnu/java/lang/management/MemoryMXBeanImpl.java:
11208 (MemoryMXBeanImpl()): Implemented.
11209 (ListenerData): New private class.
11210 (addNotificationListener(NotificationListener,
11211 NotificationFilter, Object)): Implemented.
11212 (getNotificationInfo()): Likewise.
11213 (removeNotificationListener(NotificationListener)):
11215 (removeNotificationListener(NotificationListener,
11216 NotificationFilter, Object)): Likewise.
11218 2006-07-18 Roman Kennke <kennke@aicas.com>
11220 * gnu/java/awt/peer/x/XFontPeer.java
11221 (encodeFont): Be more flexible with font sizes.
11222 (validSize): New helper method.
11223 * gnu/java/awt/peer/x/XGraphics.java
11224 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11226 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11228 * gnu/java/awt/peer/x/XImage.java
11229 (properties): New field.
11230 (getProperty): Implemented.
11231 * resource/gnu/java/awt/peer/x/fonts.properties:
11232 Added copyright header. Fixed font size field.
11234 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11236 * java/awt/image/BandedSampleModel.java
11237 (createDataBuffer): New method override,
11238 * java/awt/image/ByteLookupTable.java
11239 (ByteLookupTable(int, byte[][])): Create new array to hold references,
11240 (ByteLookuptable(int, byte[])): Check for null array,
11241 * java/awt/image/ComponentSampleModel.java
11242 (createDataBuffer): Removed unnecessary braces,
11243 (getSample): Check (x, y) is within bounds,
11244 * java/awt/image/ShortLookupTable.java
11245 (ShortLookupTable(int, short[][])): Create new array to hold references,
11246 (ShortLookupTable(int, short[])): Check for null array,
11247 (getTable): Added API docs,
11248 (lookupPixel): Source reformatting.
11250 2006-07-18 Tania Bento <tbento@redhat.com>
11252 * java/awt/GridLayout.java
11253 (setHgap): Illegal Argument Exception should not be thrown if
11255 (setVgap): Illegal Argument Exception should not be thrown if
11257 (toString): Opening square braket ([) should appear before hgap
11258 value, not the name of the class.
11260 2006-07-18 Roman Kennke <kennke@aicas.com>
11262 * lib/copy-vmresources.sh.in: Reverted.
11263 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11264 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11266 2006-07-18 Roman Kennke <kennke@aicas.com>
11268 * lib/copy-vmresources.sh.in: Include properties from X peers.
11270 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
11273 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11274 certificate validity.
11275 (getIssuerName): New method.
11276 (getSubjectName): Likewise.
11277 (getNotAfterDate): Likewise.
11278 (getNotBeforeDate): Likewise.
11279 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11280 messages for newly added messages in SFHelper.
11282 2006-07-18 Roman Kennke <kennke@aicas.com>
11284 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11285 * gnu/java/awt/peer/x/XEventPump.java
11286 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11287 * gnu/java/awt/peer/x/XFramePeer.java
11288 Made a subclass of XWindowPeer, rather than SwingFramePeer.
11289 * gnu/java/awt/peer/x/XGraphics.java
11290 Made subclass of Graphics rather than Graphics2D. Removed
11291 all Graphics2D specific method stubs.
11292 (setColor): Map colors using the X color map that is
11293 stored in XToolkit.
11294 * gnu/java/awt/peer/x/XToolkit.java
11295 (colorMap): New field.
11296 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11298 (createDialog): Implemented.
11299 (createImage(ImageProducer)): Implemented.
11300 (createImage(InputStream)): Use createImage(ImageProducer)
11301 to convert the BufferedImage to an XImage.
11302 * gnu/java/awt/peer/x/XWindowPeer.java
11303 (XWindowPeer): Removed debug output.
11305 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11307 * java/awt/image/BufferedImageOp.java: API docs added,
11308 * java/awt/image/RasterOp.java: Likewise.
11310 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11312 * java/awt/Graphics2D.java: API docs updated.
11314 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11316 * java/awt/image/WritableRaster.java: Added API docs and reformatted
11319 2006-07-18 Sven de Marothy <sven@physto.se>
11321 * java/net/Inet6Address.java:
11322 Add 1.5 serialized fields.
11323 (getByAddress): New methods.
11324 (readObject, writeObject): New methods.
11325 (equals): Reimplement.
11327 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
11329 * java/awt/image/Raster.java: Added API docs and reformatted source
11332 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
11334 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11336 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11337 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11338 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11339 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11340 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11341 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11342 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11343 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11344 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11345 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11346 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11347 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11348 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11349 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11350 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11351 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11352 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11353 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11354 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11355 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11356 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11358 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
11360 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11361 to make it compile again under jikes. Note added.
11363 2006-07-17 Lillian Angel <langel@redhat.com>
11365 * examples/gnu/classpath/examples/awt/Demo.java
11366 (Demo): Added new window for DnD demo.
11367 (DragDropWindow): New class.
11368 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11369 Added new fields and declarations for native functions.
11370 (GtkDragSourceContextPeer): Implemented.
11371 (getComponentPeer): New function.
11372 (startDrag): Partially implemented.
11373 (getCursor): Implemented.
11374 (setCursor): Implemented.
11375 * include/GtkDragSourceContextPeer.h: New file.
11376 * include/Makefile.am: Added new header file.
11377 * java/awt/Component.java
11378 (addNotify): Added call to the dropTarget's addNotify.
11379 * java/awt/dnd/DragSource.java
11380 (startDrag): Fixed code to use shared instances of peer and
11382 (getDragThreshold): Added stub.
11383 * java/awt/dnd/DropTarget.java
11384 (DropTarget): Implemented fully.
11385 (addNotify): Added code to get the peer of the parent that is
11387 * java/awt/dnd/DropTargetDragEvent.java
11388 (getTransferable): Added stub.
11389 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11390 * native/jni/gtk-peer/Makefile.am: Added new c file.
11391 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11392 Changed to extend GtkGenericPeer.
11393 (GtkDropTargetContextPeer): New constructor.
11394 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11395 Changed to extend GtkGenericPeer.
11396 (GtkDropTargetContextPeer): New constructor.
11398 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11400 * java/awt/image/SinglePixelPackedSampleModel.java
11401 (createSubsetSampleModel): Added argument check and API docs.
11403 2006-07-17 Roman Kennke <kennke@aicas.com>
11405 * gnu/java/awt/peer/x/XGraphics.java
11406 (copyArea): Implemented.
11408 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11410 * java/awt/image/SinglePixelPackedSampleModel.java
11411 (getSampleSize): Return copy of array,
11412 (getOffset): Added API docs,
11413 (getScanlineStride): Likewise,
11414 (hashCode): Implemented.
11416 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
11418 * java/awt/image/MultiPixelPackedSampleModel.java
11419 (getOffset): Updated API docs and source reformatting,
11420 (getBitOffset): Source reformatting only,
11421 (getDataElements): Likewise,
11422 (getPixel): Likewise,
11423 (getPixels): Removed method override,
11424 (setDataElements): Reimplemented.
11426 2006-07-17 Gary Benson <gbenson@redhat.com>
11428 * resource/META-INF/services/.cvsignore: New file.
11429 * lib/.cvsignore: Updated.
11431 2006-07-17 Roman Kennke <kennke@aicas.com>
11433 * javax/swing/plaf/basic/BasicButtonListener.java
11434 (propertyChange): Only do the text layout caching as long
11435 as the noGraphics2D property isn't set.
11436 * javax/swing/plaf/basic/BasicMenuItemUI.java
11437 (PropertyChangeHandler.propertyChange): Only do the text layout
11438 caching as long as the noGraphics2D property isn't set.
11440 2006-07-17 Roman Kennke <kennke@aicas.com>
11442 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11443 (XGraphicsEnvironment): Make constructor public so that it
11444 can be called via Class.forName().newInstance().
11445 * gnu/java/awt/peer/x/XImage.java
11446 (XImage): Fetch GraphicsEnvironment via
11447 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11448 than the XToolkit method, to avoid double instantiation
11449 of the XGraphicsEnvironment.
11450 * gnu/java/awt/peer/x/XToolkit.java
11451 (env): Removed field.
11452 (getLocalGraphicsEnvironment): Removed impl. This method
11453 should not be called since we set the graphicsenv property
11454 in the constructor.
11456 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11458 * java/util/UUID.java:
11459 (compareTo(Object)): Call compareTo(UUID).
11460 (compareTo(UUID)): Implemented.
11462 2006-07-16 Tom Tromey <tromey@redhat.com>
11464 * java/lang/StrictMath.java (cbrt): Added '@since'.
11466 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
11468 * java/lang/StrictMath.java (cbrt): New method.
11469 (getLowDWord): New helper method.
11470 (getHighDWord): Likewise.
11471 (buildDouble): Likewise.
11472 (CBRT_B1): New field.
11473 (CBRT_B2): Likewise.
11474 (CBRT_C): Likewise.
11475 (CBRT_D): Likewise.
11476 (CBRT_E): Likewise.
11477 (CBRT_F): Likewise.
11478 (CBRT_G): Likewise.
11480 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11482 * javax/management/MBeanInfo.java:
11483 (getNotifications()): Implemented.
11484 * javax/management/NotificationBroadcaster.java:
11485 (removeNotificationListener(NotificationListener)):
11486 Renamed from removeListener.
11487 * javax/management/NotificationEmitter.java:
11488 (removeNotificationListener(NotificationListener,
11489 NotificationFilter, Object)): Likewise.
11490 * javax/management/NotificationFilter.java:
11491 Implement Serializable.
11492 * javax/management/NotificationListener.java:
11493 Implement java.util.EventListener.
11494 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11495 Implement Serializable.
11497 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11499 * java/lang/management/MemoryNotificationInfo.java:
11502 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11505 * gnu/javax/swing/text/html/parser/htmlValidator.java
11506 (tagIsValidForContext): If it is not possible to insert any tag, but
11507 is possible to insert a P, insert a P.
11508 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11509 (newInstance): Removed print statement. (getBodyElements):
11510 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11511 valid body level tags (will be enclosed into P's).
11513 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
11515 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11516 Condition the creation of .keystore (a default keystore) based on the
11517 createIfNotFound argument as well.
11519 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11522 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11523 Removed heading p tag from the parsing example.
11524 * gnu/javax/swing/text/html/parser/HTML_401F.java:
11525 (createHtmlContentModel): Explained.
11526 (defineElements): Call getBodyElements to get the body
11527 elements. (getBodyElements): New method. (model):
11528 Made protected from private.
11529 * gnu/javax/swing/text/html/parser/htmlValidator.java
11530 (openTag): Mind that current content model may be null.
11531 (tagIsValidForContext): If the tag is PCDATA, and it is not
11532 valid for context, but the paragraph (P) is valid for context,
11533 suggest to insert the P tag here.
11534 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11535 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11536 implied P tags here.
11537 * javax/swing/text/html/HTMLEditorKit.java (getParser):
11538 Get the custom parser, using HTML_401Swing.java DTD.
11539 * javax/swing/text/html/parser/ParserDelegator.java:
11540 Removed the obsolete note that HTMLEditorKit does not exist.
11541 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11542 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11544 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
11546 * javax/management/ListenerNotFoundException.java:
11548 * javax/management/MBeanFeatureInfo.java:
11549 (hashCode()): Use summation instead of multiplication
11550 for consistency with other classes.
11551 * javax/management/MBeanNotificationInfo.java,
11552 * javax/management/Notification.java,
11553 * javax/management/NotificationBroadcaster.java,
11554 * javax/management/NotificationEmitter.java,
11555 * javax/management/NotificationFilter.java,
11556 * javax/management/NotificationListener.java:
11558 * javax/management/OperationsException.java:
11559 (serialVersionUID): Added.
11561 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
11562 Mark Wielaard <mark@klomp.org>
11564 * java/io/PrintStream.java: Added four constructors, for File and
11565 String describing a filename with or without explicit encoding.
11567 2006-07-16 Sven de Marothy <sven@physto.se>
11569 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11570 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11573 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11576 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
11578 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11579 (setProviderClassNameParam): Made private.
11580 (setKeystoreTypeParam): Likewise.
11581 (setKeyPasswordParam): Likewise
11582 (setKeystorePasswordParam): Likewise.
11583 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11584 create or not the keystore if it's not there, and the second is the store's
11585 password to process before loading the keystore. Amended the code
11587 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11588 setKeyStoreParams(5) with true as its first argument.
11589 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11590 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11592 2006-07-16 Sven de Marothy <sven@physto.se>
11594 * java/util/UUID.java: New file.
11596 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11598 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11599 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11600 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11601 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11602 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11603 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11604 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11605 added Key Wrapping Algorithm SPIs.
11607 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11609 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11610 wrapping/unwrapping to invoke their engineGetOutputSize.
11612 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11614 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11615 (engineInit): If a SecureRandom was specified then use it.
11616 (nextRandomBytes): New method.
11617 (engineWrap): Use above method.
11618 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11619 (getDefaultPRNG): New method.
11620 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11621 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11624 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11626 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11627 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11629 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
11631 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11632 offset into consideration.
11634 2006-07-16 Mario Torre <neugens@limasoftware.net>
11636 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11637 Fixed comment. This functions now requires to be called
11638 with gdk lock held, the comment states that.
11639 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11640 Introduces gdk locks around critical regions of code.
11641 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11643 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11645 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11647 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11649 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11651 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11653 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11655 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11657 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11659 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11660 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11662 2006-07-15 Sven de Marothy <sven@physto.se>
11664 * javax/swing/JFileChooser.java
11665 Change default selection mode to FILES_ONLY.
11666 * javax/swing/plaf/basic/BasicDirectoryModel.java
11667 Document, fix selection mode filtering.
11668 (renameFile): Implement
11669 * javax/swing/plaf/basic/BasicFileChooserUI.java
11670 (selectedDir): New field to handle selected directories,
11671 disallow selecting of directories in FILES_ONLY mode.
11672 * javax/swing/plaf/metal/MetalFileChooserUI.java:
11673 (EditingActionListener.actionPerformed):
11674 Stop editing on all actions (e.g. return-key press)
11676 2006-07-15 Mark Wielaard <mark@klomp.org>
11678 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11680 (JNI Implementation): Mark JVMTI Implementation as next.
11681 (JVMTI Implementation): Mark JNI Implementation as prev.
11683 2006-07-15 Mark Wielaard <mark@klomp.org>
11685 * include/Makefile.am: Remove
11686 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11687 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11688 * native/jni/gtk-peer/Makefile.am: Remove
11689 gnu_java_awt_peer_gtk_GdkTextLayout.c
11690 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11693 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11695 2006-07-15 Mark Wielaard <mark@klomp.org>
11697 * autogen.sh: Recognize autoconf 2.60.
11699 2006-07-15 Keith Seitz <keiths@redhat.com>
11701 * NEWS: Update for JVMTI and jvmti.h.
11702 * doc/vmintegration.texinfo: Likewise.
11703 * include/jvmti.h: New file.
11705 2006-07-15 Mark Wielaard <mark@klomp.org>
11707 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11708 Removed C++ style comment.
11710 2006-07-15 Sven de Marothy <sven@physto.se>
11712 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11713 * java/awt/MouseInfo.java,
11714 * java/awt/PointerInfo.java,
11715 * java/awt/peer/MouseInfoPeer.java:
11718 * java/awt/Image.java
11719 (accelerationPriority): New field.
11720 (setAccelerationPriority, getAccelerationPriority): New methods..
11722 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11723 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11724 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11725 (getMouseCoordinates): New method.
11727 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11728 (updateAlwaysOnTop): Remove stub overload.
11730 * gnu/java/awt/ClasspathToolkit.java,
11731 * gnu/java/awt/peer/gtk/GtkToolkit.java,
11732 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11733 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11734 (getMouseInfoPeer): New method.
11735 (getMouseNumberOfButtons): New method.
11737 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11738 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11739 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11740 (gtkWindowSetAlwaysOnTop): New method.
11741 (updateAlwaysOnTop): Implement.
11743 * java/awt/Toolkit.java,
11744 (getMouseInfoPeer): New method.
11746 * java/awt/Window.java
11747 (alwaysOnTop): New field.
11748 (isAlwaysOnTop, setAlwaysOnTop): New methods.
11750 * java/awt/peer/WindowPeer.java: Doc fix.
11752 2006-07-14 Sven de Marothy <sven@physto.se>
11754 * java/awt/font/TextLayout.java:
11755 (hitTestChar): Stub method.
11756 * java/awt/font/TextMeasurer.java:
11757 (getLayout): Throw exception on invalid argument.
11759 2006-07-14 Sven de Marothy <sven@physto.se>
11761 * java/awt/image/DataBuffer.java
11762 (DataBuffer): Call constructors in the correct order,
11764 2006-07-14 Mark Wielaard <mark@klomp.org>
11766 Revert to previous implementation.
11767 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11768 constraints insets.
11770 2006-07-14 Roman Kennke <kennke@aicas.com>
11772 * gnu/java/awt/peer/x/XToolkit.java
11773 (XToolkit): Install properties to SystemProperties
11774 rather than System, to avoid SecurityManager.
11775 (getImage(String)): Return error image when string is invalid.
11776 (createImage(URL)): Moved image loading to helper method.
11777 (createImage(ImageProducer)): Implemented.
11778 (createImage(byte[],int,int)): Implemented.
11779 (createImage(InputStream)): New helper method.
11781 2006-07-14 Tania Bento <tbento@redhat.com>
11783 * java/awt/FlowLayout.java
11784 (setHgap): No Excpetion should be thrown if hgap has
11786 (setVgap): No Exception should be thrown if vgap has
11789 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11791 * java/awt/image/MultiPixelPackedSampleModel.java:
11792 Added API docs all over.
11794 2006-07-14 Matt Wringe <mwringe@redhat.com>
11796 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
11797 (engineInit): Throw InvalidAlgorithmParameterException
11798 for invalid IVParameterSpec IV length.
11800 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11802 * java/awt/image/MultiPixelPackedSampleModel.java
11803 (createDataBuffer): Include dataBitOffset in calculating the size for
11806 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11808 * java/awt/image/MultiPixelPackedSampleModel.java
11809 (getSampleSize()): Return a copy of the array,
11810 (getTransferType()): New method override.
11812 2006-07-14 Roman Kennke <kennke@aicas.com>
11814 * java/awt/CardLayout.java
11815 (show): Validate parent to make sure that the layout is
11818 2006-07-14 Roman Kennke <kennke@aicas.com>
11820 * java/awt/Component.java
11821 (enable): Added tree locking.
11822 (disable): Added tree locking.
11823 (show): Added tree locking.
11824 (hide): Added tree locking.
11825 (getLocationOnScreen): Added tree locking.
11826 (reshape): Added tree locking.
11827 (addHierarchyListener): Added tree locking.
11828 (removeHierarchyListener): Added tree locking.
11829 (addHierarchyBoundsListener): Added tree locking.
11830 (removeHierarchyBoundsListener): Added tree locking.
11831 (addNotify): Added tree locking.
11832 (removeNotify): Added tree locking.
11833 * java/awt/Container.java
11834 (invalidateTree): Added tree locking.
11835 (getAlignmentX): Added tree locking.
11836 (getAlignmentY): Added tree locking.
11837 (addNotify): Added tree locking.
11838 (setComponentZOrder): Added tree locking.
11839 (getComponentZOrder): Added tree locking.
11841 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11843 * java/awt/image/MultiPixelPackedSampleModel.java
11844 (createSubsetSampleModel): Restored argument check, but let null
11847 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11849 * java/awt/image/MultiPixelPackedSampleModel.java
11850 (createSubsetSampleModel): Removed argument check.
11852 2006-07-14 Roman Kennke <kennke@aicas.com>
11854 * java/awt/Component.java
11855 (numHierarchyListeners): New field.
11856 (numHierarchyBoundsListeners): New field.
11857 (show): Fire hierarchy events here. Only fire component event
11858 if there is actually a listener for it.
11859 (hide): Fire hierarchy events here. Only fire component event
11860 if there is actually a listener for it.
11861 (reshape): Fire hierarchy events here. Only fire component event
11862 if there is actually a listener for it.
11863 (addHierarchyListeners): Update listener counters.
11864 (removeHierarchyListeners): Update listener counters.
11865 (addHierarchyBoundsListeners): Update listener counters.
11866 (removeHierarchyBoundsListeners): Update listener counters.
11867 (fireHierarchyEvent): New helper method for firing hierarchy
11869 * java/awt/Container.java
11870 (addImpl): Update listener counters. Fire hierarchy event.
11871 (remove): Update listener counters. Fire hierarchy event.
11872 (fireHierarchyEvent): New helper method for firing hierarchy
11874 (updateHierarchyListenerCount): New helper method for
11875 updating the listener counters.
11877 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11879 * java/awt/image/MultiPixelPackedSampleModel.java
11880 (equals): New method override,
11881 (hashCode): Likewise.
11883 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
11885 * java/awt/image/MultiPixelPackedSampleModel.java
11886 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
11887 Corrected scanlineStride calculation.
11889 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11891 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11892 (AES_KWA): Likewise.
11893 (AES128_KWA): Likewise.
11894 (AES192_KWA): Likewise.
11895 (AES256_KWA): Likewise.
11896 (RIJNDAEL_KWA): Likewise.
11897 (TRIPLEDES_KWA): Likewise.
11898 (DESEDE_KWA): Likewise.
11899 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11900 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11901 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11902 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11903 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11904 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11906 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
11908 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11909 (PADDING_BLOCK_SIZE): New constant.
11910 (init(Map attributes)): New method.
11911 * gnu/javax/crypto/pad/BasePad.java (init): New method.
11913 2006-07-14 Mario Torre <neugens@limasoftware.net>
11915 * gnu/java/security/OID.java (OID): Private Constructor removed as
11916 it is not needed anymore.
11917 (clone): Fixed. Now uses super.clone instead of the private
11918 constructor as per specification of clone method.
11919 (serialVersionUID): added new field to allow serialization.
11921 2006-07-13 Sven de Marothy <sven@physto.se>
11923 * gnu/javax/imageio/gif/GIFImageReader.java
11924 (read): Remove old debugging trace.
11926 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
11929 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
11932 2006-07-13 Roman Kennke <kennke@aicas.com>
11934 * java/awt/Component.java
11935 (DEFAULT_MAX_SIZE): New static constant.
11936 (preferredSize): Return copy of the actual value computed
11937 by new helper method.
11938 (preferredSizeImpl): New helper method. Adds locking and
11939 correct handling of cached value.
11940 (minimumSize): Return copy of the actual value computed
11941 by new helper method.
11942 (minimumSizeImpl): New helper method. Adds locking and
11943 correct handling of cached value.
11944 (getMaximumSize): Return copy of the actual value computed
11945 by new helper method.
11946 (maximumSizeImpl): New helper method. Adds locking and
11947 correct handling of cached value.
11948 (invalidate): Correct handling of cached layout information.
11950 * java/awt/Container.java
11951 (preferredSize): Minimized locking. Corrected handling of cached
11952 values. Return copy of real value.
11953 (minimumSize): Minimized locking. Corrected handling of cached
11954 values. Return copy of real value.
11955 (getMaximumSize): Minimized locking. Corrected handling of cached
11956 values. Return copy of real value.
11958 2006-07-13 Tania Bento <tbento@redhat.com>
11960 * gnu/java/awt/peer/ClasspathFontPeer.java
11961 (isLogicalFontName): Return true if name == default.
11962 (logicalFontNameToFaceName): Check if name == default,
11963 and if so, return "Dialog.plain".
11964 (setStandardAttributes(String, Map)): If name == null,
11965 it should be set to "Default", not "SansSerif".
11966 * java/awt/Canvas.java
11967 (generateName): Fixed documentation.
11968 * java/awt/CheckboxMenuItem.java
11969 Added static variable "next_chkmenuitem_number".
11970 (generateName): Added and implemented method.
11971 (getUniqueLong): Likewise.
11972 * java/awt/Choice.java
11973 Added static variable "next_choice_number".
11974 (generateName): Added and implemented method.
11975 (getUniqueLong): Likewise.
11976 * java/awt/Cursor.java
11977 (Cursor(int)): Set name depending on the type passed.
11978 * java/awt/List.java
11979 Added static variable "next_list_number".
11980 (generateName): Added and implemented method.
11981 (getUniqueLong): Likewise.
11982 * java/awt/Menu.java
11983 Added static variable "next_menu_number".
11984 (generateName): Added and implemented method.
11985 (getUniqueLong): Likewise.
11986 * java/awt/MenuBar.java
11987 Added static variable "next_menubar_number".
11988 (generateName): Added and implemented method.
11989 (getUniqueLong): Likewise.
11990 * java/awt/MenuComponent.java
11991 (getName): Before returning name, check if name == null
11992 and name is not explicity set. If this is the case,
11993 name will be generated.
11994 (generateName): Added and implemented method.
11995 * java/awt/MenuItem.java
11996 Added static variable "next_menuitem_number".
11997 (generateName): Added and implemented method.
11998 (getUniqueLong): Likewise.
11999 * java/awt/PopupMenu.java
12000 Added static variable "next_popup_number".
12001 (generateName): Added and implemented method.
12002 (getUniqueLong): Likewise.
12003 * java/awt/ScrollPane.java
12004 Added static variable "next_scrollpane_number".
12005 (generateName): Added and implemented method.
12006 (getUniqueLong): Likewise.
12007 * java/awt/TextField.java
12008 Added static variable "next_textfield_number".
12009 (generateName): Added and implemented method.
12010 (getUniqueLong): Likewise.
12013 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12015 * java/awt/image/SinglePixelPackedSampleModel.java
12016 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12017 mask correctly as an unsigned integer,
12018 (equals): New method override.
12020 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12022 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12023 insertAfterStart, insertBeforeEnd): Removed stub markings.
12025 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12027 * java/awt/image/BandedSampleModel.java: API doc updates and source
12029 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12031 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12033 * java/awt/image/BandedSampleModel.java: API doc updates.
12035 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12037 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
12038 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12039 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
12040 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
12041 (HRMLReader.blockClose): Mind that parser stack may be empty.
12042 (HTMLReader.handeComment, HTMLReader.handleStartTag,
12043 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
12044 (HTMLReader.shouldInsert): New method. (getElement(String)):
12045 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
12046 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12047 Implemented. (getInsertingReader): New method.
12048 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12049 Added buttons to demonstrate the work of the insert actions.
12051 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
12053 * java/awt/image/SampleModel.java: API doc updates and additions,
12054 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12056 2006-07-12 Sven de Marothy <sven@physto.se>
12058 * javax/swing/JFileChooser.java:
12059 (createDialog): Close operation should cause a cancel.
12061 2006-07-12 Francis Kung <fkung@redhat.com>
12063 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12064 (cairoArc): New native method.
12065 (cairoRestore): New native method.
12066 (cairoSave): New native method.
12067 (cairoScale): New native method.
12068 (createPath): New method to centralize code from draw and fill.
12069 (draw): Modified to use createPath method.
12070 (fill): Modified to use createPath method.
12071 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
12072 function declarations.
12073 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12074 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
12076 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
12078 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
12081 2006-07-12 Tom Tromey <tromey@redhat.com>
12084 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12085 on PartialInputStream.
12086 (PartialInputStream.dummyByteCount): New field.
12087 (PartialInputStream.fillBuffer): Handle dummy byte.
12088 (PartialInputStream.read): Likewise.
12089 (PartialInputStream.addDummyByte): New method.
12091 2006-07-12 Mario Torre <neugens@limasoftware.net>
12093 * native/jni/gconf-peer/GConfNativePeer.c
12094 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12095 Fixed C++ style comment.
12097 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
12099 * java/util/Arrays.java
12100 (asList): Updated API docs.
12102 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
12105 * native/jni/gconf-peer/GConfNativePeer.c:
12106 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12107 Changed if-expression.
12108 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12109 Added check for _value not being NULL.
12111 2006-07-11 Roman Kennke <kennke@aicas.com>
12113 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12114 (read): Use fd when local sockets are disabled to make the
12118 2006-07-11 Roman Kennke <kennke@aicas.com>
12120 * java/awt/image/MultiPixelPackedSampleModel.java
12121 (MultiPixelPackedSampleModel): Substract -1 so that the integer
12122 division gets rounded up.
12124 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
12126 * java/lang/management/ManageFactory.java:
12127 (getMemoryManagerMXBeans()): Use addAll, not add.
12129 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
12132 * gnu/classpath/ByteArray.java: Removed (moved).
12133 * gnu/java/security/util/ByteArray.java: New File.
12134 * gnu/javax/crypto/RSACipherImpl.java: Reference
12135 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12137 2006-07-11 Roman Kennke <kennke@aicas.com>
12139 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12140 (available): Pass fd as argument and avoid JNI class/field
12144 * include/gnu_java_net_local_LocalSocketImpl.h:
12146 * gnu/java/net/local/LocalSocketImpl.h
12147 (available): Pass fd as argument and avoid JNI class/field
12152 2006-07-11 Sven de Marothy <sven@physto.se>
12154 * gnu/javax/sound/sampled/AU/AUReader.java:
12155 Correct file extension from .as to .au.
12157 2006-07-11 Sven de Marothy <sven@physto.se>
12159 * gnu/javax/sound/sampled/AU/AUReader.java:
12161 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12162 Added new provider.
12164 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12166 * javax/swing/JTable.java
12167 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12168 (setColumnSelectionAllowed): Likewise.
12170 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
12173 * gnu/classpath/debug/Simple1LineFormatter.java: Use
12174 AccessController.doPrivileged instead of SystemProperties.getProperty.
12175 * gnu/classpath/debug/SystemLogger.java: Likewise.
12176 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12177 repeated getProperty calls for "file.seperator".
12178 (refresh): Since already in privileged block, call System.getProperty
12179 instead of SystemProperties.getProperty.
12180 * gnu/java/security/key/dss/DSSKey.java
12181 (toString): Use AccessController.doPrivileged instead of
12182 SystemProperties.getProperty.
12183 * gnu/java/security/key/dss/DSSPrivateKey.java
12184 (toString): Likewise.
12185 * gnu/java/security/key/dss/DSSPublicKey.java
12186 (toString): Likewise.
12187 * gnu/java/security/key/rsa/GnuRSAKey.java
12188 (toString): Likewise.
12189 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12190 (toString): Likewise.
12191 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12192 (toString): Likewise.
12193 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12194 * gnu/javax/crypto/key/dh/GnuDHKey.java
12195 (toString): Likewise.
12196 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
12197 (toString): Likewise.
12198 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
12199 (toString): Likewise.
12201 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12203 * javax/swing/AbstractButton.java
12204 (disabledIcon): Fixed name (was 'disabeldIcon'),
12205 (getDisabledIcon): Updated for corrected field name,
12206 (setDisabledIcon): Fire a PropertyChangeEvent.
12208 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12210 * javax/swing/DefaultBoundedRangeModel.java
12211 (readObject): New private method,
12212 (writeObject): Likewise.
12214 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12216 * javax/swing/ButtonGroup.java
12217 (add): Ignore null argument,
12218 (remove): Ignore null argument. If removing selected button, clear the
12220 (findButton): Changed case for method name, and documented,
12221 (setSelected): Updated for modification to findButton() method name,
12222 (isSelected): Updated API docs.
12224 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
12226 * java/awt/image/BufferedImage.java
12227 (BufferedImage(int, int, int)): Use correct color space for
12228 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
12229 IllegalArgumentException for an unrecognised type.
12231 2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
12233 * java/lang/management/ManagementFactory.java:
12234 (getMemoryPoolMXBeans): Genericized fully.
12235 (getMemoryManagerMXBeans): Likewise.
12236 (getGarbageCollectorMXBeans): Likewise.
12238 2006-07-10 Tom Tromey <tromey@redhat.com>
12240 * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12242 (getMemoryManagerMXBeans): Likewise.
12243 (getGarbageCollectorMXBeans): Likewise.
12245 2006-07-10 Mario Torre <neugens@limasoftware.net>
12247 * java/awt/BasicStroke.java: Removed unused import.
12248 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
12249 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
12250 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12252 2006-07-10 Matt Wringe <mwringe@redhat.com>
12254 PR classpath/28212:
12255 * javax/crypto/spec/SecretKeySpec.java
12256 (equals): Check object type.
12258 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12260 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12261 communication/StructureToPassHelper.java,
12262 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12263 communication/StructureToReturnHelper.java,
12264 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12265 communication/TreeNodeHelper.java,
12266 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12267 communication/WeThrowThisExceptionHelper.java,
12268 gnu/CORBA/ForwardRequestHelper.java,
12269 org/omg/CORBA/CompletionStatusHelper.java,
12270 org/omg/CORBA/CurrentHelper.java,
12271 org/omg/CORBA/DefinitionKindHelper.java,
12272 org/omg/CORBA/IDLTypeHelper.java,
12273 org/omg/CORBA/NameValuePairHelper.java,
12274 org/omg/CORBA/ObjectHelper.java,
12275 org/omg/CORBA/ParameterModeHelper.java,
12276 org/omg/CORBA/PolicyErrorCodeHelper.java,
12277 org/omg/CORBA/PolicyErrorHelper.java,
12278 org/omg/CORBA/PolicyHelper.java,
12279 org/omg/CORBA/PolicyListHelper.java,
12280 org/omg/CORBA/PolicyTypeHelper.java,
12281 org/omg/CORBA/ServiceDetailHelper.java,
12282 org/omg/CORBA/ServiceInformationHelper.java,
12283 org/omg/CORBA/SetOverrideTypeHelper.java,
12284 org/omg/CORBA/StringValueHelper.java,
12285 org/omg/CORBA/UnionMemberHelper.java,
12286 org/omg/CORBA/UnknownUserExceptionHelper.java,
12287 org/omg/CORBA/VisibilityHelper.java,
12288 org/omg/CORBA/WStringValueHelper.java,
12289 org/omg/CORBA/WrongTransactionHelper.java,
12290 org/omg/CosNaming/BindingHelper.java,
12291 org/omg/CosNaming/BindingIteratorHelper.java,
12292 org/omg/CosNaming/BindingListHelper.java,
12293 org/omg/CosNaming/BindingTypeHelper.java,
12294 org/omg/CosNaming/NameComponentHelper.java,
12295 org/omg/CosNaming/NameHelper.java,
12296 org/omg/CosNaming/NamingContextExtHelper.java,
12297 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12298 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12299 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12300 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12301 org/omg/CosNaming/NamingContextHelper.java,
12302 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12303 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12304 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12305 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12306 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12307 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12308 org/omg/DynamicAny/AnySeqHelper.java,
12309 org/omg/DynamicAny/DynAnyFactoryHelper.java,
12310 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12311 org/omg/DynamicAny/DynAnyHelper.java,
12312 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12313 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12314 org/omg/DynamicAny/DynAnySeqHelper.java,
12315 org/omg/DynamicAny/DynArrayHelper.java,
12316 org/omg/DynamicAny/DynEnumHelper.java,
12317 org/omg/DynamicAny/DynFixedHelper.java,
12318 org/omg/DynamicAny/DynSequenceHelper.java,
12319 org/omg/DynamicAny/DynStructHelper.java,
12320 org/omg/DynamicAny/DynUnionHelper.java,
12321 org/omg/DynamicAny/DynValueHelper.java,
12322 org/omg/DynamicAny/NameDynAnyPairHelper.java,
12323 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12324 org/omg/DynamicAny/NameValuePairHelper.java,
12325 org/omg/DynamicAny/NameValuePairSeqHelper.java,
12326 org/omg/IOP/CodecFactoryHelper.java,
12327 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12328 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12329 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12330 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12331 org/omg/IOP/ComponentIdHelper.java,
12332 org/omg/IOP/IORHelper.java,
12333 org/omg/IOP/MultipleComponentProfileHelper.java,
12334 org/omg/IOP/ProfileIdHelper.java,
12335 org/omg/IOP/ServiceContextHelper.java,
12336 org/omg/IOP/ServiceContextListHelper.java,
12337 org/omg/IOP/ServiceIdHelper.java,
12338 org/omg/IOP/TaggedComponentHelper.java,
12339 org/omg/IOP/TaggedProfileHelper.java,
12340 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12341 org/omg/PortableInterceptor/AdapterNameHelper.java,
12342 org/omg/PortableInterceptor/AdapterStateHelper.java,
12343 org/omg/PortableInterceptor/CurrentHelper.java,
12344 org/omg/PortableInterceptor/ForwardRequestHelper.java,
12345 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12346 org/omg/PortableInterceptor/InvalidSlotHelper.java,
12347 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12348 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12349 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12350 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12351 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12352 org/omg/PortableServer/CurrentHelper.java,
12353 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12354 org/omg/PortableServer/ForwardRequestHelper.java,
12355 org/omg/PortableServer/POAHelper.java,
12356 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12357 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12358 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12359 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12360 org/omg/PortableServer/POAPackage/NoServantHelper.java,
12361 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12362 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12363 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12364 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12365 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12366 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12367 org/omg/PortableServer/ServantActivatorHelper.java,
12368 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
12369 typecode caching and always use OrbRestricted.Singleton.
12371 2006-07-09 Tom Tromey <tromey@redhat.com>
12373 * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12375 2006-07-09 Mark Wielaard <mark@klomp.org>
12377 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12378 New static final boolean field.
12379 (getComponentGraphics): Use hasXRenderExtension.
12380 (setClip): Override method for locking.
12382 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12384 * javax/swing/AbstractButton.java
12385 (setHorizontalTextPosition): Added check for illegal argument,
12386 (setVerticalTextPosition): Likewise.
12388 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
12390 * javax/swing/Timer.java
12391 (setDelay): Throw IllegalArgumentException for negative delay,
12392 (setInitialDelay): Likewise,
12393 * javax/swing/ToolTipManager.java
12394 (setInitialDelay): Document IllegalArgumentException,
12395 (setDismissDelay): Likewise,
12396 (setReshowDelay): Likewise.
12398 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12400 * java/lang/management/MemoryUsage.java:
12401 (from(javax.management.openmbean.CompositeData)):
12403 * java/lang/management/ThreadInfo.java:
12404 Changed to use open types throughout for the state.
12405 (ThreadInfo(long,String,String,long,long,String,
12406 long,String,long,long,boolean,StackTraceElement[])):
12408 (checkAttribute(javax.management.openmbean.CompositeType,
12409 String, javax.management.openmbean.OpenType)): New method.
12410 (from(javax.management.openmbean.CompositeData)):
12412 (getLockName()): Fixed to use new variable.
12413 (getLockOwnerId()): Likewise.
12414 (getLockOwnerName()): Likewise.
12415 (getThreadId()): Likewise.
12416 (getThreadName()): Likewise.
12417 (getThreadState()): Likewise.
12418 (toString()): Refactored to use new variables.
12419 * javax/management/openmbean/ArrayType.java:
12421 * javax/management/openmbean/CompositeType.java:
12422 Variables should be transient, not volatile.
12423 * javax/management/openmbean/OpenDataException.java:
12424 (serialVersionUID): Added.
12425 * javax/management/openmbean/SimpleType.java:
12427 * javax/management/openmbean/TabularType.java
12428 Variables should be transient, not volatile.
12430 2006-07-09 Tom Tromey <tromey@redhat.com>
12432 * tools/.cvsignore: Updated for new tools.
12434 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12436 * javax/management/openmbean/CompositeData.java,
12437 * javax/management/openmbean/CompositeType.java,
12438 * javax/management/openmbean/OpenDataException.java,
12439 * javax/management/openmbean/OpenType.java,
12440 * javax/management/openmbean/TabularData.java,
12441 * javax/management/openmbean/TabularType.java,
12442 * javax/management/openmbean/package.html:
12445 2006-07-09 Mark Wielaard <mark@klomp.org>
12447 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12448 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12449 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12451 2006-07-08 Anthony Green <green@redhat.com>
12453 * gnu/javax/sound/sampled/WAV/WAVReader.java,
12454 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
12457 2006-07-09 Mario Torre <neugens@limasoftware.net>
12459 * native/jni/gconf-peer/GConfNativePeer.c:
12460 Fixed indentation to be more compliant to the GNU coding
12462 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12463 Added explicit test for errors in the GConf backend.
12464 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12465 Added explicit test for errors in the GConf backend.
12466 Fixed Segmentation Fault when non valid key names are given as input.
12467 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12469 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12470 Added explicit test for errors in the GConf backend.
12471 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12472 Added javadoc comments for all native methods.
12473 (nodeExist): removed test to check for valid absolute path name
12475 (startWatchingNode): likewise.
12476 (stopWatchingNode): likewise.
12477 (setString): likewise, plus fixed javadoc comments.
12478 (unset): likekwise.
12479 (getKey): likewise.
12480 (getKeys): likewise, also fixed javadoc comments.
12481 (getChildrenNodes): likewise.
12482 * gnu/java/util/prefs/GConfBasedPreferences.java:
12483 changed DEFAULT_USER_ROOT to /apps/classpath.
12484 (constructor): Test to check for a valid absolute path for nodes
12485 is now in the contructor for that node, instead of being on
12486 each method of the backend.
12487 (getGConfKey): removed empty new line.
12489 2006-07-08 Mark Wielaard <mark@klomp.org>
12491 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12493 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12495 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12496 Handle the forced break in the same way as exceeding the
12497 available row space.
12498 * javax/swing/text/html/HRuleView.java: Rewritten.
12499 * javax/swing/text/html/HTMLDocument.java
12500 (HTMLReader.addSpecialElement):Reserve two characters for
12501 the special elements.
12502 * examples/gnu/classpath/examples/swing/HtmlDemo.java
12503 (text): Extended the HTML example to parse.
12505 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12507 * javax/swing/AbstractButton.java
12508 (setHorizontalAlignment): Check for illegal argument,
12509 (setVerticalAlignment): Likewise.
12511 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12513 * javax/swing/text/html/TableView.java
12514 (getStyleSheet): New method. (RowView.getStyleSheet):
12517 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12519 * javax/swing/AbstractButton.java
12520 (setRolloverIcon): Call setRolloverEnabled(true),
12521 (setRolloverSelectedIcon): Likewise.
12523 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12525 * javax/swing/border/TitledBorder.java
12526 (setTitlePosition): Added message to exception,
12527 (setTitleJustification): Likewise.
12529 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12531 * javax/swing/plaf/metal/MetalLookAndFeel.java
12532 (createDefaultTheme): Corrected API docs,
12533 (initComponentDefaults): Added entry for 'TitledBorder.border',
12534 (getCurrentTheme): Initialise theme if it is null.
12536 2006-07-07 Roman Kennke <kennke@aicas.com>
12538 * java/awt/Component.java
12539 (isValid): Return false when component has no peer,
12540 don't query the showing state.
12542 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12544 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12545 Advance the offset also in the case of the enforced break.
12547 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12549 * javax/swing/plaf/basic/BasicArrowButton.java
12550 (MAXIMUM_SIZE): Removed field,
12551 (MINIMUM_SIZE): Likewise,
12552 (PREFERRED_SIZE): Likewise,
12553 (getMaximumSize): Return new instance every time,
12554 (getMinimumSize): Likewise,
12555 (getPreferredSize): Likewise.
12557 2006-07-07 Roman Kennke <kennke@aicas.com>
12559 * java/awt/LightweightDispatcher.java
12560 (findTarget): Avoid array copying in
12561 Container.getComponents().
12563 2006-07-07 Roman Kennke <kennke@aicas.com>
12565 * javax/swing/JComponent.java
12566 (paintChildrenWithOverlap): Avoid array copying in
12567 Container.getComponents().
12568 (paintChildrenOptimized): Avoid array copying in
12569 Container.getComponents().
12570 (fireAncestorEvent): Avoid array copying in
12571 Container.getComponents().
12572 (findOverlapFreeParent): Avoid array copying in
12573 Container.getComponents().
12575 2006-07-07 Matt Wringe <mwringe@redhat.com>
12577 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12578 (passwordValid): New field.
12579 (setPassword): New method.
12580 (setSalt): Likewise.
12581 (setIterationCount): Likewise.
12582 (setKeyLength): Likewise.
12583 (PBEKeySpec(char[])): Use new setter methods.
12584 (PBEKeySpec(char[], byte[], int)): Likewise.
12585 (PBEKeySpec(char[], byte[], int, int)): Likewise.
12586 (clearPassword): Set passwordValid to false.
12587 (getPassword): Check that clearPassword() was not called earlier.
12588 Return a clone of the password.
12589 (getSalt): Return a clone of the salt if it was not null.
12591 2006-07-07 Roman Kennke <kennke@aicas.com>
12593 * java/awt/Component.java
12594 (isValid): Always return false when component is
12596 (setFont): Always set font, even when setting
12597 the same or equal font again.
12599 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
12601 * javax/swing/plaf/metal/MetalIconFactory.java
12602 (CheckBoxMenuItemIcon): Implement UIResource,
12603 (FileChooserDetailViewIcon): Likewise,
12604 (FileChooserHomeFolderIcon): Likewise,
12605 (FileChooserListViewIcon): Likewise,
12606 (FileChooserNewFolderIcon): Likewise,
12607 (FileChooserUpFolderIcon): Removed redundant 'implements',
12608 (RadioButtonMenuItemIcon): Implement UIResource,
12609 (HorizontalSliderThumbIcon): Likewise,
12610 (InternalFrameCloseIcon): Likewise,
12611 (InternalFrameDefaultMenuIcon): Likewise,
12612 (InternalFrameAltMaximizeIcon): Likewise,
12613 (InternalFrameMaximizeIcon): Likewise,
12614 (InternalFrameMinimizeIcon): Likewise,
12615 (VerticalSliderThumbIcon): Likewise,
12616 (TreeHardDriveIcon): Likewise,
12617 (TreeFloppyDriveIcon): Likewise,
12618 (TreeComputerIcon): Likewise,
12619 (horizontalSliderThumbIcon): New field,
12620 (verticalSliderThumbIcon): New field,
12621 (getHorizontalSliderThumbIcon): Cache icon,
12622 (getVerticalSliderThumbIcon): Likewise.
12624 2006-07-06 Mark Wielaard <mark@klomp.org>
12626 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12627 (DISTCLEANFILES): Add standard.omit.
12628 (clean-local): Remove Makefile.deps, only remove dirs.
12630 2006-07-06 Roman Kennke <kennke@aicas.com>
12632 * java/awt/Component.java
12633 (setFont): Only invalidate when component is valid.
12634 * java/awt/Container.java
12635 (setLayout): Only invalidate when component is valid.
12637 2006-07-06 Lillian Angel <langel@redhat.com>
12639 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12640 New class not fully implemented.
12641 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12642 New class not fully implemented.
12643 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12644 New class not fully implemented.
12645 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12646 New class not fully implemented.
12647 * nu/java/awt/peer/gtk/GtkToolkit.java:
12649 (createDragSourceContextPeer): Implemented.
12650 (createDragGestureRecognizer): New function to override
12651 java.awt.Toolkit.createDragGestureRecognizer.
12652 * java/awt/dnd/DragSource.java
12653 (NoDragGestureRecognizer): Removed inner class.
12654 (createDragGestureRecognizer): Re-Implemented to
12655 call Toolkit's createDragGestureRecognizer.
12656 (createDefaultDragGestureRecognizer): Re-Implemented to
12657 call Toolkit's createDragGestureRecognizer.
12658 * java/awt/dnd/DropTarget.java
12659 (addNotify): Added check to determine type of peer and call
12661 (removeNotify): Added call to removeDropTarget.
12663 2006-07-06 Tom Tromey <tromey@redhat.com>
12665 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12667 (run): Wait on queue, not 'this'.
12669 2006-07-06 Lillian Angel <langel@redhat.com>
12671 * java/awt/dnd/DragSource.java
12672 (startDrag): Implemented. Added comments describing
12673 what the function should do. Removed FIXME.
12675 2006-07-06 Tania Bento <tbento@redhat.com>
12677 * gnu/java/awt/Canvas.java
12678 Added new private variable 'next_canvas_number'.
12679 (generateName): Added.
12680 (getUniqueLong): Added.
12682 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12684 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12685 (getColor): Made public.
12686 * javax/swing/text/html/StyleSheet.java (stringToColor):
12687 Use CharacterAttributeTranslator.getColor(String)
12689 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12691 * javax/swing/text/html/HTMLEditorKit.java:
12692 (HTMLFactory.createElement): Update reference to the html table view.
12693 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12694 * javax/swing/text/html/TableView.java: New file.
12696 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12698 * javax/swing/text/html/HTMLEditorKit.java:
12699 (HTMLFactory.createElement): Uncomment
12700 code for BRView and HRuleView.
12701 * javax/swing/text/html/BRView.java,
12702 javax/swing/text/html/HRuleView.java: New files.
12704 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12706 * java/lang/Thread.java:
12707 (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12708 Added generic type signature.
12710 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
12713 * doc/vmintegration.texinfo: Likewise.
12714 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12715 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12716 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12717 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12718 * java/lang/management/GarbageCollectorMXBean.java:
12720 * java/lang/management/ManagementFactory.java:
12721 (getGarbageCollectorMXBeans()): Implemented.
12722 (getMemoryManagerMXBeans()): Likewise.
12723 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12724 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12726 * vm/reference/java/lang/management/VMManagementFactory.java:
12727 (getMemoryManagerNames()): Added.
12728 (getGarbageCollectorNames()): Added.
12730 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12732 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12733 from lib_LTLIBRARIES.
12734 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12736 2006-07-05 Lillian Angel <langel@redhat.com>
12738 * java/awt/dnd/DragGestureEvent.java:
12740 (DragGestureEvent): Initialized new fields, added to check and
12741 added documentation.
12742 (getSourceAsDragGestureRecognizer): Added documentation and
12743 changed to use getSource.
12744 (getComponent): Added documentation and fixed to return the proper
12746 (getDragSource): Likewise.
12747 (getDragOrigin): Added documentation.
12748 (iterator): Implemented and added documentation.
12749 (toArray): Likewise.
12750 (toArray): Likewise.
12751 (getDragAction): Likewise.
12752 (getTriggerEvent): Likewise.
12753 (startDrag): Likewise.
12754 * java/awt/dnd/DragGestureRecognizer.java
12755 (resetRecognizer): Added FIXME.
12756 * java/awt/dnd/DragSource.java:
12758 (DragSource): Set ds to be null if headless.
12759 (getDefaultDragSource): Added documentation and implemented.
12760 (isDragImageSupported): Marked as unimplemented.
12761 (startDrag): Likewise.
12762 (createDragSourceContext): Implemented.
12763 (NoDragGestureRecognizer): Formatted inner class.
12764 * java/awt/dnd/DropTarget.java
12765 (stop): Marked as unimplemented.
12766 (actionPerformed): Likewise.
12767 (addDropTargetListener): Added code to throw exception.
12768 (removeDropTargetListener): Added check, removed FIXME.
12769 (dragEnter): Implemented.
12770 (dragOver): Implemented.
12771 (dropActionChanged): Implemented.
12772 (dragExit): Implemented.
12773 (drop): Implemented.
12774 (addNotify): Implemented.
12775 (removeNotify): Implemented.
12776 (createDropTargetContext): Implemented.
12777 (createDropTargetAutoScroller): Implemented.
12778 (initializeAutoscrolling): Implemented.
12779 (updateAutoscroll): Implemented.
12780 (clearAutoscroll): Implemented.
12781 * java/awt/dnd/DropTargetContext.java
12782 (dropComplete): Implemented.
12783 (acceptDrag): Implemented.
12784 (rejectDrag): Implemented.
12785 (acceptDrop): Implemented.
12786 (rejectDrop): Implemented.
12787 (getCurrentDataFlavors): Implemented.
12788 (getTransferable): Partially implemented.
12789 * java/awt/dnd/DropTargetDragEvent.java
12790 (getDropAction): Uncommented correct code.
12791 * java/awt/dnd/DropTargetDropEvent.java
12792 (dropComplete) :Implemented.
12793 * java/awt/dnd/InvalidDnDOperationException.java
12794 (InvalidDnDOperationException): Added call to super.
12796 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
12798 * javax/swing/plaf/basic/BasicArrowButton.java:
12799 (paint): Removed getBounds() call, changed center point
12802 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12804 * javax/swing/InputMap.java
12805 (inputMap): Don't initialize yet,
12806 (InputMap): Removed TODO,
12807 (get): Check for null inputMap,
12808 (put): Return immediately for null keyStroke, check for null inputMap
12809 and initialize if necessary,
12810 (remove): Check for null inputMap,
12814 (allKeys): Likewise,
12815 (writeObject): Removed,
12816 (readObject): Removed.
12818 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
12820 * gnu/classpath/examples/swing/TabbedPaneDemo.java
12821 (createContent): Use different labels for buttons.
12823 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
12826 * doc/vmintegration.texinfo: Likewise.
12827 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12828 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12830 * java/lang/management/ManagementFactory.java:
12831 (getMemoryPoolMXBeans()): Implemented.
12832 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12833 * vm/reference/java/lang/management/VMManagementFactory.java:
12836 2006-07-04 Lillian Angel <langel@redhat.com>
12838 * java/awt/dnd/DragSourceContext.java:
12839 Removed FIXMEs from fields.
12840 (DragSourceContext): Added code to initialize cursor and sourceActions.
12841 (getDragSource): Added documentation.
12842 (getComponent): Likewise.
12843 (getTrigger): Likewise.
12844 (getSourceActions): Added documentation and implemented.
12845 (setCursor): Implemented. Added documentation.
12846 (getCursor): Implemented. Added documentation.
12847 (dragEnter): Added code to notify DragSource's listeners.
12848 (dragOver): Likewise.
12849 (dragExit): Likewise.
12850 (dropActionChanged): Likewise.
12851 (dragDropEnd): Likewise.
12852 (dragMouseMoved): Implemented.
12853 (getTransferable): Added API documentation.
12854 (updateCurrentCursor): Added API documentation and partially implemented.
12856 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12858 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12860 2006-07-04 Lillian Angel <langel@redhat.com>
12862 * java/awt/dnd/DragSourceContext.java
12863 (DragSourceContext): Implemented fully. Fixed API docs.
12864 (transferablesFlavorsChanged): Implemented.
12865 (dragEnter): Implemented.
12866 (dragOver): Implemented.
12867 (dragExit): Implemented.
12868 (dropActionChanged): Implemented.
12869 (dragDropEnd): Implemented.
12871 2006-07-04 Lillian Angel <langel@redhat.com>
12873 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12874 Fixed name of constant.
12875 (getIconWidth): Changed name of constant returned.
12876 (getIconHeight): Likewise.
12878 (createSeparator): Marked as unimplemented.
12879 * javax/swing/plaf/basic/BasicTableUI.java
12880 (focusGained): Marked as unimplemented.
12881 (focusLost): Marked as unimplemented.
12882 (mouseEntered): Likewise.
12883 (mouseMoved): Likewise.
12884 (uninstallDefaults): Likewise.
12885 * javax/swing/plaf/basic/BasicToolBarUI.java
12886 (mouseClicked): Changed comment.
12887 (mouseEntered): Likewise.
12888 (mouseExited): Likewise.
12889 (mouseMoved): Likewise.
12890 (setOrientation): Implemented.
12891 (ToolBarFocusListener): Marked as unimplemented.
12892 (focusGained): Marked as unimplemented.
12893 (focusLost): Marked as unimplemented.
12895 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12898 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12899 Mind the effect of the root visibility on the position of the control.
12900 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
12901 vertical line over first level nodes.
12903 2006-07-04 Lillian Angel <langel@redhat.com>
12905 * javax/swing/plaf/basic/BasicMenuUI.java
12906 (installKeyboardActions): Implemented to call super. Nothing else
12907 needs to be done here.
12908 (setupPostTimer): Marked as unimplemented.
12909 (uninstallKeyboardActions): Implemented to call super. Nothing else
12910 needs to be done here.
12911 (mouseMoved): Removed TODO. Nothing to be done here.
12912 (ChangeHandler): Implemented.
12913 (menuDragMouseExited): Removed TODO. Nothing to be done here.
12914 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12915 (menuKeyReleased): Removed TODO. Nothing to be done here.
12916 (menuKeyTyped): Marked as unimplemented.
12918 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12921 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
12922 (getDefaults): Set hash color to black.
12923 * javax/swing/plaf/basic/BasicLookAndFeel.java
12924 (initComponentDefaults): Set hash color to grey blue.
12925 * javax/swing/plaf/basic/BasicTreeUI.java
12926 (instellDefaults): Set hash color.
12927 * javax/swing/plaf/metal/MetalIconFactory.java
12928 (TreeControlIcon.paint): Rewritten.
12930 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12933 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12934 Always cancel the current editing session before doing anything else,
12935 return immediately if this fails.
12936 (TreeHomeAction): Ensure that the lead selection path is visible after
12937 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
12938 Likewise. TreeTraverseAction: Likewise.
12940 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12943 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12944 Returned back the code to handle the start of the click-pause-click
12945 editing initiation, explained about this code.
12946 (TreeStartEditingAction): New inner class.
12947 (stopEditingInCompleteEditing): Explained about this field.
12948 (completeEditing(boolean, boolean, boolean): Only return early
12949 if there is no current editing session.
12950 (createDefaultActions): Install TreeStartEditingAction and
12951 TreeCancelEditingAction.
12953 2006-07-04 Mario Torre <neugens@limasoftware.net>
12955 * configure.ac: Added new option --enable-default-preferences-peer
12956 to pass user specified default preference backend.
12957 If the GConf peer is built, GConf become the default backend.
12958 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
12960 * lib/Makefile.am: excludes files terminating in 'in' from
12961 the metafiles list.
12962 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
12963 from copy into META-INF.
12964 * java/util/prefs/Preferences.java: added two new import
12965 classes gnu.classpath.ServiceFactory and java.util.Iterator.
12966 (getFactory): Now try to check for
12967 a system defined default preference backend before to fall back on
12968 FileBasedPreference.
12970 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12973 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
12974 (EXPANDED): Initialise to Boolean.TRUE.
12975 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
12976 First configure layout cache and then set the assigned value
12977 as row mapper. Set the root visibility property.
12978 (toggleExpandState): Obtains expansion state from the layout cache.
12980 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
12982 * java/lang/management/MemoryPoolMXBean.java:
12985 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
12987 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
12989 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
12991 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
12992 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
12993 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
12994 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
12995 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
12996 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
12997 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
12998 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
12999 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13000 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13001 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13002 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13003 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13004 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13005 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13006 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13007 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13008 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13009 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13010 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13011 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13012 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13013 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13014 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13015 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13016 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13017 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13018 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13019 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13020 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13021 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13022 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13023 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13024 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13025 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13026 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13027 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13028 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13029 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13030 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13031 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13032 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13033 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13034 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13035 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13036 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13037 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13039 2006-07-02 Anthony Green <green@redhat.com>
13041 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13042 sure that every track written ends with an End Of Track meta
13045 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13047 * java/lang/management/MemoryUsage.java:
13048 (toString()): Fix missing MB for maximum memory usage.
13050 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
13053 Updated to include VMCompilationMXBeanImpl.
13054 * doc/vmintegration.texinfo:
13055 Likewise, along with update to VMMemoryMXBeanImpl
13057 * examples/gnu/classpath/examples/management/TestCompilation.java,
13058 * gnu/java/lang/management/CompilationMXBeanImpl.java,
13059 * java/lang/management/CompilationMXBeanImpl.java:
13061 * java/lang/management/ManagementFactory.java:
13062 (getCompilationMXBean()): Implemented.
13063 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13065 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13066 (getHeapMemoryUsage()): Added default implementation.
13068 2006-07-02 Anthony Green <green@redhat.com>
13070 * NEWS: Mention MIDI file reader/writer providers.
13072 2006-07-02 Anthony Green <green@redhat.com>
13074 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13075 gnu/javax/sound/midi/file/MidiFileWriter.java,
13076 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13078 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13081 Updated to include VMMemoryMXBeanImpl.
13082 * doc/vmintegration.texinfo: Likewise.
13083 * examples/gnu/classpath/examples/management/TestMemory.java:
13085 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13086 Remove redundant import.
13087 * gnu/java/lang/management/MemoryMXBeanImpl.java:
13089 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13090 Remove redundant import.
13091 * java/lang/management/ManagementFactory.java:
13092 (getMemoryMXBean()): Implemented.
13093 * java/lang/management/MemoryMXBean.java,
13094 * java/lang/management/MemoryUsage.java:
13096 * java/lang/management/ThreadInfo.java:
13097 (toString()): Updated documentation.
13098 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13101 2006-07-01 Anthony Green <green@redhat.com>
13103 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13104 gnu/javax/sound/midi/file/MidiFileReader.java,
13105 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13106 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13108 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13110 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13111 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13112 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13113 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13114 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13115 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13116 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13118 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13120 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13121 * gnu/javax/crypto/pad/IPad.java: Likewise.
13122 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13123 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13124 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13125 * gnu/javax/crypto/pad/SSL3.java: Likewise.
13126 * gnu/javax/crypto/pad/TBC.java: Likewise.
13127 * gnu/javax/crypto/pad/TLS1.java: Likewise.
13128 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13130 2006-07-01 Anthony Green <green@redhat.com>
13132 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13134 (setMessage): Fix it again, in a different setMessage method.
13136 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13138 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13139 * gnu/javax/crypto/mode/CBC.java: Likewise.
13140 * gnu/javax/crypto/mode/CFB.java: Likewise.
13141 * gnu/javax/crypto/mode/CTR.java: Likewise.
13142 * gnu/javax/crypto/mode/EAX.java: Likewise.
13143 * gnu/javax/crypto/mode/ECB.java: Likewise.
13144 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13145 * gnu/javax/crypto/mode/ICM.java: Likewise.
13146 * gnu/javax/crypto/mode/IMode.java: Likewise.
13147 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13148 * gnu/javax/crypto/mode/OFB.java: Likewise.
13150 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13152 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13153 * gnu/javax/crypto/mac/HMac.java: Likewise.
13154 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13155 * gnu/javax/crypto/mac/IMac.java: Likewise.
13156 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13157 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13158 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13159 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13160 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13161 * gnu/javax/crypto/mac/UHash32.java: Likewise.
13162 * gnu/javax/crypto/mac/UMac32.java: Likewise.
13164 2006-07-01 Anthony Green <green@redhat.com>
13166 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
13168 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
13170 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13171 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13172 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13173 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13174 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13175 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13176 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13177 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13178 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13179 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13180 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13181 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13182 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13183 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13184 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13185 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13186 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13187 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13188 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13189 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13190 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13191 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13192 * gnu/javax/crypto/keyring/Properties.java: Likewise.
13193 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13195 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
13197 * javax/swing/AbstractCellEditor.java: Source code formatting,
13198 * javax/swing/AbstractSpinnerModel.java: Likewise,
13199 * javax/swing/Box.java: Likewise,
13200 * javax/swing/BoxLayout.java: Likewise,
13201 * javax/swing/DefaultListModel.java: Likewise,
13202 * javax/swing/GrayFilter.java: Likewise,
13203 * javax/swing/LookAndFeel.java: Likewise,
13204 * javax/swing/ProgressMonitor.java: Likewise,
13205 * javax/swing/ProgressMonitorInputStream.java: Likewise,
13206 * javax/swing/ScrollPaneLayout.java: Likewise,
13207 * javax/swing/SpringLayout.java: Likewise,
13208 * javax/swing/event/EventListenerList.java: Likewise,
13209 * javax/swing/event/MenuEvent.java: Likewise,
13210 * javax/swing/event/TreeExpansionListener.java: Likewise.
13212 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13215 Mention threading bean and getState().
13216 * doc/vmintegration.texinfo:
13217 Update documentation for threading bean and new
13218 method of VMThread.
13220 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13222 * examples/gnu/classpath/examples/management/TestClassLoading.java,
13223 * examples/gnu/classpath/examples/management/TestOS.java,
13224 * examples/gnu/classpath/examples/management/TestRuntime.java,
13225 * examples/gnu/classpath/examples/management/TestThread.java:
13228 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13230 * java/lang/ThreadGroup.java
13231 (getThreadFromId, getThreadFromIdImpl): New methods.
13233 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
13235 * java/lang/Thread.java:
13236 Make thread IDs start from 1 in a more efficient way.
13238 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13240 * java/lang/Thread.java:
13241 Make thread IDs start from 1.
13243 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
13245 * gnu/java/lang/management/BeanImpl.java:
13246 New superclass for all bean implementations.
13247 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13248 Extend BeanImpl and call permission code there.
13249 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13251 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13252 Extend BeanImpl and call permission code there.
13253 * gnu/java/lang/management/ThreadMXBeanImpl.java:
13255 * java/lang/management/ManagementFactory.java:
13256 (getThreadMXBean()): Implemented.
13257 * java/lang/management/ThreadInfo.java:
13258 (ThreadInfo(Thread,int)): Replaced...
13259 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13260 boolean, boolean, StackTraceElement[])): with this.
13261 (getBlockedCount()): Refactored to use local variables.
13262 (getBlockedTime()): Likewise.
13263 (getLockName()): Likewise.
13264 (getLockOwnerId()): Likewise.
13265 (getLockOwnerName()): Likewise.
13266 (getStackTrace()): Likewise.
13267 (getWaitedCount()): Likewise.
13268 (getWaitedTime()): Likewise.
13269 (isInNative()): Likewise.
13270 (isSuspended()): Likewise.
13271 (toString()): Changed to use new local variables.
13272 * java/lang/management/ThreadMXBean.java:
13273 (getThreadInfo(long, int)): Corrected documentation.
13274 (getThreadInfo(long[], int)): Likewise.
13275 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13277 * vm/reference/java/lang/management/VMThreadInfo.java:
13280 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
13282 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13283 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13284 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13285 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13286 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13287 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13288 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13289 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13290 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13291 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13292 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13293 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13294 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13295 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13296 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13297 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13298 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13299 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13300 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13301 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13302 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13303 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13304 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13305 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13306 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13307 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13308 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13309 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13310 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13311 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13312 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13313 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13315 2006-07-01 Roman Kennke <kennke@aicas.com>
13317 * gnu/java/awt/java2d/AbstractGraphics2D.java
13318 (transform): Make field protected.
13319 (getDestinationRaster): Provide default implementation for
13320 previously abstract method.
13322 2006-06-30 Tania Bento <tbento@redhat.com>
13324 * java/awt/TextArea.java
13325 (TextArea(String, int, int, int)): No longer throws
13326 IllegalArgumentException if rows, columns, or scrollbarVisibility
13327 values are invalid.
13328 (TextArea(String, int, int, int)): If rows or columns are < 0,
13329 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
13330 gets set to the default value of 0 (SCROLLBARS_BOTH).
13331 (appendText): Added case when peer = null.
13332 (insertText): Added case when peer == null.
13333 (replaceText): Added case when peer == null.
13334 * java/awt/TextComponent.java
13335 (TextComponent(String)): If text == null, set it to "".
13337 2006-06-30 Lillian Angel <langel@redhat.com>
13339 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13340 (create): Added synchronized block around groupMap.get calls.
13341 (setCheckboxGroup): Likewise.
13343 2006-06-30 Lillian Angel <langel@redhat.com>
13345 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13346 (create): Changed to be non-synchronized.
13347 (setLabel): Likewise.
13348 (setCheckboxGroup): Likewise.
13349 (addToGroupMap): Likewise. Added synchronized block around
13351 (dispose): Changed to be non-synchronized.
13353 2006-06-30 Lillian Angel <langel@redhat.com>
13355 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13356 Changed all return values of native functions to void.
13357 (create): Changed function to be synchronized. Removed
13358 call to put value in groupMap, this is now done from
13360 (setState): Changed function to be synchronized.
13361 (setLabel): Changed function to be synchronized.
13362 (setCheckboxGroup): Changed function to be synchronized. Removed
13363 call to put value in groupMap, this is now done from
13365 (postItemEvent): Changed function to be synchronized.
13366 (addToGroupMap): New function. Called by native code to add
13367 new value to the group.
13368 (dispose): Changed function to be synchronized.
13369 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13371 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13372 (cp_gtk_checkbox_init_jni): Added code to link to
13374 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13375 Changed return value to void. Added call
13376 to java function to set pointer in groupMap.
13377 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13378 changed check to an assert. Also, removed call to set/del pointer.
13379 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
13380 Likewise. Also, added check to determine if native_group should be
13382 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13384 2006-06-30 Sven de Marothy <sven@physto.se>
13386 * gnu/java/awt/ClasspathToolkit.java,
13387 * gnu/java/awt/peer/x/XToolkit.java,
13388 * gnu/java/awt/peer/qt/QtToolkit.java,
13389 * gnu/java/awt/peer/gtk/GtkToolkit.java,
13390 Remove ClasspathTextLayoutPeer.
13391 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13392 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13395 2006-06-30 Sven de Marothy <sven@physto.se>
13397 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13398 (drawGlyphVector): Don't draw empty vectors.
13400 2006-06-30 Lillian Angel <langel@redhat.com>
13401 Tom Fitzsimmons <fitzsim@redhat.com>
13403 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13404 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13405 Added current_group, groupMap fields. Added definitions for
13406 new native functions.
13407 (create): Removed FIXME. Added code to create the check button or
13408 radio button when appropriate. Updated groupMap to contain
13409 pointer to the newly created group.
13410 (setCheckboxGroup): Added code to handle all cases. Removing
13411 a button from a group, adding a button to a group, or changing the
13413 (dispose): Changed to call super.
13414 * include/Makefile.am: Removed reference to
13415 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13416 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13417 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13419 * native/jni/gtk-peer/Makefile.am: Removed reference to
13420 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13421 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13423 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13424 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
13425 Renamed to checkbox_get_widget.
13426 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
13427 Changed to use checkbox_get_widget.
13428 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
13430 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13431 Changed to use checkbox_get_widget.
13432 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13434 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13435 New function. Creates checkbutton without a group.
13436 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13437 Creates a radio button in a group, using groupPointer. If groupPointer
13438 is 0, then a new group is created.
13439 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13440 check button to a group, using groupPointer. A radio button is created
13441 in its place. If groupPointer is 0, then a new group is created.
13442 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13443 radio button is removed from the group. A check button is created in
13445 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13446 radio button is moved to a new group.
13448 2006-06-30 Mark Wielaard <mark@klomp.org>
13450 * configure.ac: Move standard.omit creation after dirs are created.
13451 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13452 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13453 (clean-local): Remove standard.omit.
13454 * lib/gen-classlist.sh.in: Use omit file in build dir.
13455 * lib/standard.omit.in: Make exclude regex more explicit.
13457 2006-06-30 Roman Kennke <kennke@aicas.com>
13459 * lib/Makefile.am: Added Escher dir/jar to classpath when
13461 * configure.ac: Moved handling of standard.omit to a place
13462 where it actually gets executed.
13464 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
13466 * java/awt/TextComponent.java: Reformatted source code,
13467 * java/awt/TextField.java: Likewise.
13469 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
13471 * java/lang/Thread.java:
13472 (getState()): Handle case of no VMThread
13475 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
13477 * java/lang/Thread.java,
13478 * java/lang/VMThread.java:
13479 Reverted patch from 2006-06-28.
13481 2006-06-29 Roman Kennke <kennke@aicas.com>
13483 * gnu/java/awt/peer/x/GLGraphics.java,
13484 * gnu/java/awt/peer/x/ImageConverter.java,
13485 * gnu/java/awt/peer/x/KeyboardMapping.java,
13486 * gnu/java/awt/peer/x/XEventPump.java,
13487 * gnu/java/awt/peer/x/XFontPeer.java,
13488 * gnu/java/awt/peer/x/XFontPeer2.java,
13489 * gnu/java/awt/peer/x/XFramePeer.java,
13490 * gnu/java/awt/peer/x/XGraphics.java,
13491 * gnu/java/awt/peer/x/XGraphics2D.java,
13492 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13493 * gnu/java/awt/peer/x/XGraphicsDevice.java,
13494 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13495 * gnu/java/awt/peer/x/XImage.java,
13496 * gnu/java/awt/peer/x/XLightweightPeer.java,
13497 * gnu/java/awt/peer/x/XToolkit.java,
13498 * gnu/java/awt/peer/x/XWindowPeer.java,
13499 * gnu/java/awt/peer/x/fonts.properties: New files.
13500 * lib/standard.omit: Removed.
13501 * lib/standard.omit.in: Added.
13502 * configure.ac: Added configure option --with-escher. Added some
13503 configury for omitting gnu.java.awt.peer.x package when
13504 this option is not specified.
13506 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
13508 * javax/swing/JComponent.java
13509 (JComponent()): Initialize the locale here, not the default locale,
13510 (getDefaultLocale): If null, return Locale.getDefault(),
13511 (setDefaultLocale): Added API docs.
13513 2006-06-29 Tania Bento <tbento@redhat.com>
13515 * java/awt/Container.java
13516 (applyComponentOrientation): Implemented method.
13518 2006-06-29 Gary Benson <gbenson@redhat.com>
13520 * java/io/File.java (listRoots): Merge security checks from libgcj.
13522 2006-06-29 Gary Benson <gbenson@redhat.com>
13524 * java/io/FilePermission.java (implies): Work when path is "/".
13526 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
13528 * java/lang/Thread.java:
13529 (Thread(ThreadGroup,Runnable,String,long)): Update
13531 (Thread(VMThread,String,int,boolean)): Likewise.
13532 (join(long,int)): Likewise.
13533 (resume()): Likewise.
13534 (sleep(long,int)): Likewise.
13535 (start()): Likewise.
13536 (stop()): Likewise.
13537 (suspend()): Likewise.
13539 (getState()): Return either state or use VMThread.
13540 * java/lang/VMThread.java:
13541 (getState()): Added default implementation to return
13544 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
13546 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13547 GdkPixbuf correctly on big endian systems. Fix a typo in the little
13548 endian swapping code.
13550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13551 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13552 without alpha information correctly on big endian systems.
13554 2006-06-28 Roman Kennke <kennke@aicas.com>
13556 * gnu/java/net/local/LocalSocket.java
13557 (setSoTimeout): Don't throw exception and ignore request.
13558 (getSoTimeout): Don't throw exception and always return 0.
13560 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13562 * javax/swing/JComponent.java
13563 (getRegisteredKeyStrokes): Implemented.
13565 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13567 * javax/swing/JComponent.java
13568 (verifyInputWhenFocusTarget): Initialise to true.
13570 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13572 * java/beans/VetoableChangeSupport.java
13573 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13575 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13576 for null property name and/or listener,
13577 * javax/swing/JComponent.java
13578 (getListeners): Handle VetoableChangeListener.class as a special case,
13579 (getVetoableChangeListeners): Fetch these from the
13580 vetoableChangeSupport object.
13582 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13584 * javax/swing/JComponent.java
13585 (componentPopupMenu): New field,
13586 (inheritsPopupMenu): New field,
13587 (getInheritsPopupMenu): Implemented,
13588 (setInheritsPopupMenu): Likewise,
13589 (getComponentPopupMenu): Likewise,
13590 (setComponentPopupMenu): Likewise,
13591 * javax/swing/JLabel.java
13592 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13594 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
13596 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13597 (toString): New method.
13598 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13599 (toString): New method.
13600 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13601 (toString): New method.
13602 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13603 Handle case when Q is null.
13604 (decodePrivateKey): Likewise.
13605 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13607 (decodePublicKey): Likewise.
13608 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13609 aliases for all block ciphers.
13610 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13611 (engineDoPhase): Compute fully the shared secret.
13612 (checkState): New method.
13614 (engineGenerateSecret()): Reset key-agreement before returning.
13615 (engineGenerateSecret(byte[],int)): Check for short-buffer.
13616 Reset key-agreement before returning.
13617 (engineGenerateSecret(String)): Reset key-agreement before returning.
13618 (engineInit(Key,SecureRandom)): Call reset() before returning.
13619 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13620 (engineInit): Replace printing to System.out with conditional logging.
13621 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13622 When the key-size is not specified, attempt best effort to find a suitable
13623 value among those advertised by the cipher before setting it to the length
13624 of provided key material.
13626 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
13628 * javax/swing/table/DefaultTableColumnModel.java
13629 (changeEvent): Don't initialize yet, removed FIXME,
13630 (fireColumnModelChanged): Initialize changeEvent if necessary.
13632 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13634 * java/lang/Thread.java:
13635 (getAllStackTraces()): Implemented.
13636 (getStackTrace()): Likewise.
13638 2006-06-27 Tania Bento <tbento@redhat.com>
13640 * java/awt/Component.java
13641 (setComponentOrientation): NPE should not be thrown.
13643 2006-06-27 Tom Tromey <tromey@redhat.com>
13645 * configure.ac: Create gjar, gnative2ascii, gserialver.
13646 * tools/gappletviewer.in: Quote $@.
13647 * tools/gkeytool.in: Likewise.
13648 * tools/gjarsigner.in: Likewise.
13649 * tools/gjar.in: New file.
13650 * tools/gnative2ascii.in: Likewise.
13651 * tools/gserialver.in: Likewise.
13652 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13654 (bin_SCRIPTS): Likewise.
13656 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
13658 * java/lang/management/ThreadMXBean.java:
13659 (getThreadInfo(long[])): Corrected return type.
13660 (getThreadInfo(long[], int)): Likewise.
13662 2006-06-27 Mark Wielaard <mark@klomp.org>
13664 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13665 nothing when listener is null.
13666 (removeFlavorListener): Likewise.
13668 * java/awt/datatransfer/DataFlavor.java
13669 (getRepresentationClassFromMime): Renamed to
13670 getRepresentationClassFromMimeThrows.
13671 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13672 (isRepresentationClassSerializable): Likewise.
13673 (isFlavorJavaFileListType): Likewise and check primary and
13675 (getParameter): Parameters are separated by semi-colons.
13676 (DataFlavor(Class,String,String)): Do some sanity checks.
13677 (DataFlavor(String,String,ClassLoader)): Call
13678 getRepresentationClassFromMimeThrows.
13679 (DataFlavor(String)): Likewise.
13680 (equals(DataFlavor)): Special case primary type text and charset
13683 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13685 * java/awt/Component.java
13686 (setName): Fire required PropertyChangeEvent,
13687 * java/awt/Label.java
13688 (getText): Removed redundant brackets,
13689 (generateName): New method (override),
13690 (nextLabelNumber): New field,
13691 (getUniqueLong): New method.
13693 2006-06-27 Roman Kennke <kennke@aicas.com>
13695 * gnu/java/awt/peer/swing/SwingComponentPeer.java
13696 (createImage): Delegate this to the parent.
13697 (handleEvent): Only handle PAINT/UPDATE events when the
13698 component is actually showing.
13699 (hide): Repaint the parent after hiding a component.
13700 (prepareImage): Have only one return point.
13701 (setVisible): Delegate to show() and hide().
13702 (createVolatileImage): Added null check to avoid NPE.
13704 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13706 * java/awt/Label.java: Reformatted source code.
13708 2006-06-27 Roman Kennke <kennke@aicas.com>
13710 * java/awt/image/BufferedImage.java
13711 (getSource): Use a fixed DirectColorModel to deliver the
13712 RGB pixels to the ImageConsumer.
13714 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13716 * java/awt/Point.java
13717 (setLocation(double, double)): Round to nearest integer coordinates.
13719 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
13721 * java/awt/Component.java
13722 (minSizeSet): New field,
13723 (maxSize): Likewise,
13724 (maxSizeSet): Likewise,
13725 (isMaximumSizeSet): Implemented,
13726 (isMinimumSizeSet): Likewise,
13727 (isPreferredSizeSet): Likewise,
13728 (setMaximumSize): Likewise,
13729 (setMinimumSize): Likewise,
13730 (setPreferredSize): Likewise.
13732 2006-06-27 Roman Kennke <kennke@aicas.com>
13734 * javax/imageio/spi/IIORegistry.java
13735 (IIORegistry): Added BMP codec.
13737 2006-06-27 Mark Wielaard <mark@klomp.org>
13739 * javax/swing/JComponent.java
13740 (firePropertyChange(String,char,char)): New override method.
13742 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13744 * java/lang/Thread.java:
13745 (getState()): New method.
13746 * java/lang/management/ClassLoadingMXBean.java:
13747 Corrected class documentation.
13748 * java/lang/management/ManagementFactory.java:
13749 Added new temporary marked stub to get thread bean.
13750 * java/lang/management/OperatingSystemMXBean.java:
13751 Corrected class documentation.
13752 * java/lang/management/RuntimeMXBean.java:
13753 Corrected class documentation.
13754 * java/lang/management/ThreadInfo.java,
13755 * java/lang/management/ThreadMXBean.java:
13757 * vm/reference/java/lang/VMThread.java:
13758 (getState()): New method.
13759 * vm/reference/java/lang/management/VMThreadInfo.java:
13762 2006-06-26 Sven de Marothy <sven@physto.se>
13764 * gnu/javax/imageio/gif/GIFFile.java
13765 * gnu/javax/imageio/gif/GIFImageReader.java
13766 * gnu/javax/imageio/gif/GIFImageSpi.java
13767 * gnu/javax/imageio/gif/GIFStream.java
13769 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13771 2006-06-26 Tania Bento <tbento@redhat.com>
13773 * java/awt/List.java
13774 (List): A list should have at least 4 visible rows.
13775 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13776 not an IllegalArgumentException.
13777 (makeVisible): Should not throw an IllegalArgumentException if
13778 the specified index is out of range.
13780 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13782 * javax/swing/JList.java
13783 (getNextMatch): Reimplemented to perform a circular search for the
13786 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13788 * javax/swing/JList.java
13789 (init): Set default value for visibleRowCount to 8,
13790 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13792 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13794 * javax/swing/JList.java
13795 (valueIsAdjusting): Removed,
13796 (init): Removed initialization of valueIsAdjusting field,
13797 (getValueIsAdjusting): Fetch value from selection model,
13798 (setValueIsAdjusting): Store value in selection model.
13800 2006-06-26 Roman Kennke <kennke@aicas.com>
13802 * javax/swing/plaf/basic/BasicListUI.java
13803 (installKeyboardActions): Rewritten to fit with the
13804 ActionMap/InputMap architecture.
13805 (uninstallKeyboardActions): Implemented.
13806 (ListAction): Made private. Added TODO for splitting
13807 up this bulk Action.
13808 (ListAction.ListAction): New constructor. This one
13809 takes a cmd parameter to be installed as actionCommand.
13811 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13813 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13814 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13816 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
13818 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13819 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13820 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13821 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13822 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13823 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13824 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13825 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13826 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13827 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13828 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13829 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13830 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13831 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13832 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13833 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13834 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13835 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13836 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13837 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13838 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13839 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13840 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13841 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13842 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13843 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13844 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13845 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13846 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13847 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13848 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13849 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13850 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13851 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13852 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13853 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13854 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13855 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13856 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13857 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13858 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13859 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13860 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13861 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13862 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13863 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13864 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13865 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13866 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13867 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13868 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13869 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13870 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13871 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13872 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13873 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13874 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13875 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13876 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13877 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13878 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13879 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13880 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13881 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13882 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13883 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13884 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13885 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13886 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13887 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13888 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13889 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13890 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13891 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13892 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13893 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13894 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13895 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13896 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13897 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13898 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13899 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13901 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
13903 * javax/swing/JList.java
13904 (setLayoutOrientation): Check for valid argument.
13906 2006-06-26 Roman Kennke <kennke@aicas.com>
13908 * javax/swing/JComponent.java
13909 (firePropertyChange(String,int,int)): New method. Overrides
13910 Component method and makes it public.
13911 (firePropertyChange(String,boolean,boolean)): Likewise.
13913 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
13915 * gnu/java/security/.cvsignore: New File.
13916 * gnu/java/security/Configuration.java.in: New File.
13917 * gnu/java/security/Properties.java: Change import from
13918 gnu.classpath.Configuration to gnu.java.security.Configuration.
13919 * gnu/java/security/hash/Whirlpool.java: Likewise.
13920 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13921 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
13922 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
13923 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
13924 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
13925 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
13926 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
13927 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
13928 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
13929 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
13930 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
13931 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
13932 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
13933 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
13934 * gnu/java/security/util/Base64.java: Likewise.
13935 * gnu/java/security/x509/X509CRL.java: Likewise.
13936 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
13937 * gnu/java/security/x509/ext/Extension.java: Likewise.
13938 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
13939 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
13940 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
13941 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
13942 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13943 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13944 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13945 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13946 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13947 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13948 * gnu/javax/crypto/keyring/Entry.java: Likewise.
13949 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13950 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13951 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13952 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13953 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13954 * gnu/javax/crypto/mac/OMAC.java: Likewise.
13955 * gnu/javax/crypto/pad/BasePad.java: Likewise.
13956 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13957 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13958 * gnu/javax/crypto/pad/TBC.java: Likewise.
13959 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13960 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13961 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13962 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13963 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13964 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
13965 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
13966 * gnu/javax/security/auth/login/GnuConfiguration.java
13967 (getAppConfigurationEntry): Change reference to
13968 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
13969 (getConfigFromUserHome): Likewise.
13970 (getInputStreamFromURL): Likewise.
13971 (getUserHome): Likewise.
13973 (processSecurityProperties): Likewise.
13974 (processSystemProperty): Likewise.
13975 (processUserHome): Likewise.
13976 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
13977 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
13980 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
13982 * javax/swing/text/DefaultCaret.java (isActive): New method.
13984 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
13986 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
13987 * java/lang/management/ClassLoadingMXBean.java:
13988 (getTotalLoadedClassCount()): Corrected return type.
13989 (getUnloadedClassCount()): Likewise.
13990 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
13991 (getUnloadedClassCount()): Likewise.
13993 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
13995 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
13996 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13997 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
13998 * gnu/javax/crypto/cipher/Square.java: Likewise.
13999 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14000 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14001 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14002 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14003 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14004 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14005 * gnu/javax/crypto/cipher/DES.java: Likewise.
14006 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14007 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14008 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14009 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14010 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14012 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
14014 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14015 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14016 * gnu/javax/crypto/assembly/Stage.java: Likewise.
14017 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14018 * gnu/javax/crypto/assembly/Operation.java: Likewise.
14019 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14020 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14021 * gnu/javax/crypto/assembly/Direction.java: Likewise.
14022 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14023 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14024 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14025 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14026 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14028 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14031 * doc/vmintegration.texinfo:
14032 Updated with information on new VM interface.
14033 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14034 * java/lang/management/ClassLoadingMXBean.java:
14035 New files implementing the class loading bean.
14036 * java/lang/management/ManagementFactory.java:
14037 (getClassLoadingMXBean()): Implemented.
14038 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14039 New VM interface file.
14041 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
14043 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14044 (isBootClassPathSupported()): Use SystemProperties
14045 rather than System.getProperty.
14047 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14049 * gnu/java/security/Properties.java: Source formatting.
14050 * gnu/java/security/Registry.java: Likewise.
14052 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
14054 * gnu/java/security/util/Util.java: Source formatting.
14055 * gnu/java/security/util/SimpleList.java: Likewise.
14056 * gnu/java/security/util/Sequence.java: Likewise.
14057 * gnu/java/security/util/PRNG.java: Likewise.
14058 * gnu/java/security/util/ExpirableObject.java: Likewise.
14059 * gnu/java/security/util/Base64.java: Likewise.
14060 * gnu/java/security/sig/SignatureFactory.java: Likewise.
14061 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14062 * gnu/java/security/sig/ISignature.java: Likewise.
14063 * gnu/java/security/sig/BaseSignature.java: Likewise.
14064 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14065 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14066 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14067 * gnu/java/security/sig/rsa/RSA.java: Likewise.
14068 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14069 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14070 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14071 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14072 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14073 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14074 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14075 * gnu/java/security/provider/Gnu.java: Likewise.
14076 * gnu/java/security/prng/RandomEventListener.java: Likewise.
14077 * gnu/java/security/prng/RandomEvent.java: Likewise.
14078 * gnu/java/security/prng/PRNGFactory.java: Likewise.
14079 * gnu/java/security/prng/MDGenerator.java: Likewise.
14080 * gnu/java/security/prng/LimitReachedException.java: Likewise.
14081 * gnu/java/security/prng/IRandom.java: Likewise.
14082 * gnu/java/security/prng/EntropySource.java: Likewise.
14083 * gnu/java/security/prng/BasePRNG.java: Likewise.
14085 2006-06-23 Francis Kung <fkung@redhat.com>
14087 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14088 (Harness.actionPerformed): Process additional options.
14089 (J2dBenchmarkWrapper): Defer init call until after options are processed.
14090 (J2dBenchmarkWrapper.setAlias): New method.
14091 (J2dBenchmarkWrapper.setComposite): New method.
14092 (J2dBenchmarkWrapper.setFill): New method.
14093 (J2dBenchmarkWrapper.setRotation): New method.
14094 (J2dBenchmarkWrapper.setShear): New method.
14095 (J2dBenchmarkWrapper.setStroke): New method.
14096 (J2dBenchmarkWrapper.setTranslation): New method.
14097 (run): Add additional options to GUI.
14098 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14099 Added protected fields for various options.
14100 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14101 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14102 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14103 (getNextColor): Renamed to setRandom.
14104 (init): Load additional image for texturing if needed.
14105 (loadBufferedImage): New method.
14106 (main): Accept additional command-line switches.
14107 (prepareGraphics): New method.
14108 (resetGraphics): New method.
14109 (runTestSuite): Accept additional image-processing options.
14110 (setRandom): Renamed from getNextColor; generate various random options
14111 (test_drawArc): Rename getNextColor to setRandom.
14112 (test_drawCubic): Likewise.
14113 (test_drawEllipse): Likewise.
14114 (test_drawGeneralPath): Likewise.
14115 (test_drawImage): Likewise.
14116 (test_drawLine): Likewise.
14117 (test_drawQuadCurve): Likewise.
14118 (test_drawRectangle): Likewise.
14119 (test_drawRoundRectangle): Likewise.
14120 (test_drawTransparentImage): Likewise.
14121 (test_fillArc): Rename getNextColor to setRandom.
14122 (test_fillEllipse): Likewise.
14123 (test_fillGeneralPath): Likewise.
14124 (test_fillRectangle): Likewise.
14125 (test_fillRoundRectangle): Likewise.
14126 (TestRecorder.getAverage): Round the average time.
14128 2006-06-23 Tom Tromey <tromey@redhat.com>
14130 * java/util/logging/LoggingMXBean.java: New file.
14131 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14132 (loggingBean): New field.
14133 (getLoggingMXBean): New method.
14135 2006-06-23 Tania Bento <tbento@redhat.com>
14137 * java/awt/TextField.java
14138 (TextField): Default number of columns should be 0, not 1.
14139 (TextField): Check if number of columns given as argument
14140 is valid (>= 0) and set the number of columns accordingly.
14141 (TextField): Check if the string passed is null. If it is,
14142 set columns to 0, else columns is set to the length of
14145 2006-06-23 Roman Kennke <kennke@aicas.com>
14147 * javax/swing/plaf/basic/BasicInternalFrameUI.java
14148 (InternalFramePropertyChangeListener.propertyChange):
14149 Don't call getPropertyName() repeatedly. Added null checks
14150 to avoid NPEs. Call closeFrame() if the closed property
14153 2006-06-23 Roman Kennke <kennke@aicas.com>
14155 * javax/swing/JInternalFrame.java
14156 (maxTransition): Removed.
14157 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14158 Don't initialize storedBounds here.
14159 (dipose): Rewritten to correctly dispose the JInternalFrame.
14160 (getDesktopIcon): Don't initialize desktopIcon here.
14161 (getLayer): Delegate to JLayeredPane.getLayer().
14162 (getNormalBounds): Return bounds when storedBounds == null,
14163 otherwise storedBounds.
14164 (hide): Don't change selection. Also hide the desktopIcon.
14165 (moveToBack): Call getParent() only once.
14166 (moveToFront): Call getParent() only once.
14167 (pack): Call validate() to make sure that the layout is
14168 propagated to the children.
14169 (setClosed): Fire InternalFrameEvent first, before the
14171 (setJMenuBar): Fire PropertyChangeEvent for this property.
14172 (setLayer): Delegate to JLayeredPane.
14173 (setLayeredPane): Check for null and throw IllegalArgumenException.
14174 (setMaximum): Remove handling of maxTransition and normalBounds.
14175 Should probably be done in the UI.
14176 (setNormalBounds): Store Rectangle object directly, not a copy.
14177 (setRootPane): Go into rootPaneCheckingEnabled mode so that
14178 adding the RootPane doesn't add it to the contentPane.
14179 Fire PropertyChangeEvent.
14180 (setSelected): Added condition for when this property must not
14182 (show): Don't ask the DesktopPane to select the frame. Moved
14183 code around to fire InternalFrameEvent before actually calling
14184 super.show(). Also make the desktopIcon visible.
14185 (setTitle): Fire PropertyChangeEvent unconditionally.
14187 2006-06-23 Roman Kennke <kennke@aicas.com>
14189 * javax/swing/JLayeredPane.java
14190 (getPosition): Moved code around to avoid unnecessary method calls.
14191 (setPosition): Delegate to setLayer().
14192 (insertIndexForLayer(int,int)): Delegate to new private helper method.
14193 (insertIndexForLayer(Component,int,int)): New helper method
14194 to support the use of setComponentZOrder() which doesn't remove
14195 the component and thus the insertIndexForLayer must ignore
14196 the component to be moved to get the index right.
14197 (setLayer): Added check to prevent unnecessary execution of
14198 method body. Changed to update the component order here.
14199 Added repaint() to make sure that the update becomes visible.
14200 (addImpl): Call setLayer() only when a constraint has been specified.
14201 Validate and repaint the JLayeredPane.
14203 2006-06-23 Roman Kennke <kennke@aicas.com>
14205 * java/awt/Container.java
14206 (getComponentZOrder): Use ncomponents instead of
14207 component.length so that we don't consider the empty space
14208 after the last component.
14210 2006-06-22 Roman Kennke <kennke@aicas.com>
14212 * javax/swing/JComponent.java
14213 (vetoableChangeSupport): New field.
14214 (removeVetoableChangeListener): Rewritten to use
14215 vetoableChangeSupport.
14216 (addVetoableChangeListener): Rewritten to use
14217 vetoableChangeSupport.
14218 (fireVetoableChange): Rewritten to use
14219 vetoableChangeSupport.
14220 (addPropertyChangeListener): Removed. This is handled in
14222 (firePropertyChange(String,boolean,boolean)): Likewise.
14223 (firePropertyChange(String,char,char)): Likewise.
14224 (firePropertyChange(String,int,int)): Likewise.
14225 (revalidate): Don't do anything when the commponent has no
14228 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14230 * javax/swing/JLabel.java: Updated API docs.
14232 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14234 * java/awt/Insets.java: Updated copyright year.
14235 (toString): Changed string, removed a line from the
14238 2006-06-22 Roman Kennke <kennke@aicas.com>
14240 * javax/swing/text/AbstractDocument.java
14241 (AbstractDocument): Set the i18n document property.
14242 (removeImpl): Added checks for correct boundaries.
14244 2006-06-22 Roman Kennke <kennke@aicas.com>
14246 * javax/swing/text/PlainDocument.java
14247 (rootElement): Changed type to Element.
14248 (tabSize): Removed field. This is stored in the document properties
14250 (PlainDocument): Set tabSize property. Init rootElement without
14252 (insertUpdate): Rewritten. The previous implementation did not
14253 handle some corner cases properly and was a mess.
14254 (removeUpdate): Cast rootElement to BranchElement.
14256 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14258 * javax/swing/plaf/basic/BasicLabelUI.java
14259 (installKeyboardActions): Implemented,
14260 (uninstallKeyboardActions): Implemented,
14261 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14264 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
14266 * javax/swing/JMenu.java:
14267 (removeAll): Added check for popupMenu not being null.
14269 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14271 * javax/swing/JLabel.java
14272 (getText): Updated API docs,
14273 (setText): Corrected the check for an unchanged value, and the update
14274 of the displayedMnemonicIndex.
14276 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14278 * javax/swing/JLabel.java
14279 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
14281 (setDisplayedMnemonicIndex): Modified argument checking to handle case
14282 where label text is null.
14284 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
14286 * javax/swing/JLabel.java
14287 (setDisplayedMnemonic): Updated API docs,
14288 (getDisplayedMnemonic): Removed unnecessary type-cast,
14289 (setDisplayedMnemonicIndex): Removed unnecessary validation,
14290 (getDisplayedMnemonicIndex): Updated API docs.
14292 2006-06-21 Jeroen Frijters <jeroen@frijters.net>
14294 * java/util/Collections (entrySet): Fixed compile error.
14296 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
14298 * javax/swing/DefaultListSelectionModel.java
14299 (getSelectionMode): Updated API docs,
14300 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14301 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
14302 setSelectionInterval(),
14303 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
14304 SINGLE_INTERVAL_SELECTION cases.
14306 2006-06-21 Roman Kennke <kennke@aicas.com>
14308 * javax/swing/text/AbstractDocument.java
14309 (BranchElement.numChildren): New field.
14310 (BranchElement.BranchElement): Initialize children array with
14311 one element (that's the least number of elements that makes sense).
14312 Initialize numChildren.
14313 (BranchElement.children): Use numChildren as boundary.
14314 (BranchElement.getElement): Use numChildren as boundary.
14315 (BranchElement.getElementCount): Use numChildren as boundary.
14316 (BranchElement.getElementIndex): Use numChildren as boundary.
14317 (BranchElement.getEndOffset): Use numChildren as boundary.
14318 (BranchElement.getStartOffset): Use numChildren as boundary.
14319 (BranchElement.positionToElement): Use numChildren as boundary.
14320 (BranchElement.replace): Handle the children array more efficiently
14321 by growing in blocks > 1, and reusing space from removed elements.
14322 (LeafElement.startDelta): Removed.
14323 (LeafElement.endDelta): Removed.
14324 (LeafElement.LeafElement): Removed handling of deltas.
14325 (LeafElement.getEndOffset): Likewise.
14326 (LeafElement.getStartOffset): Likewise.
14327 * javax/swing/text/JTextComponent.java
14328 (setDocument): Added locking of the old document to avoid dangling
14329 notification beeing delivered while the document is beeing
14331 (getScrollableTracksViewportWidth): Fixed condition.
14332 * javax/swing/text/PlainDocument.java
14333 (createDefaultRoot): Create elements without AttributeSet.
14334 * javax/swing/text/rtf/RTFParser.java
14335 (parseFile): Handle slightly incorrect RTF gracefully.
14336 * javax/swing/text/rtf/RTFScanner.java
14337 (lastToken): New field.
14338 (readTokenImpl): New method.
14339 (peekToken): New method.
14340 (readToken): Changed to call readTokenImpl or return the lastToken
14341 if there's one present.
14343 2006-06-21 Tania Bento <tbento@redhat.com>
14345 * javax/swing/JMenu.java
14346 (remove): An IllegalArgumentException should be thrown if
14347 either index < 0 or if index > 0 and there are no menu
14348 components. Also, a check was added that ensures there are
14349 menu components before removing the desired the component.
14351 2006-06-21 Lillian Angel <langel@redhat.com>
14353 * javax/swing/text/DefaultCaret.java
14354 (install): Added check to prevent NPE.
14355 (propertyChange): Added checks to prevent NPEs.
14357 2006-06-21 Tania Bento <tbento@redhat.com>
14359 * javax/swing/JMenu.java
14360 Changed instantiation of popupMenu to null.
14361 (JMenu): Instantiated popupMenu to new JPopupMenu.
14362 (JMenu): Instantiated popupMenu to new JPopupMenu.
14363 (add): Changed popupMenu to getPopupMenu().
14364 (add): Changed popupMenu to getPopupMenu().
14365 (add): Changed popupMenu to getPopupMenu().
14366 (add): Changed popupMenu to getPopupMenu().
14367 (remove): Changed popupMenu to getPopupMenu().
14368 (remove): Changed popupMenu to getPopupMenu().
14369 (insert): Changed popupMenu to getPopupMenu().
14370 (setSelectedHelper): Changed popupMenu to getPopupMenu().
14371 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14372 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14373 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14374 (getMenuComponents): Changed popupMenu to getPopupMenu().
14375 (getPopupMenu): Check first if popupMenu is null and if so,
14376 instantiate it to a new JPopupMenu and set the invoker.
14377 * javax/swing/plaf/basic/BasicPopupMenuUI.java
14378 (popupMenuWillBecomeVisible): Component Listener should only
14379 be added to the root container if the root container is not
14380 null. This avoids a null pointer exception.
14382 2006-06-21 Tania Bento <tbento@redhat.com>
14384 * javax/swing/JMenu.java
14385 (JMenu): Delay should be set to 200, not default of 0.
14386 (JMenu): Delay should be set to 200, not default of 0.
14387 (JMenu): Delay should be set to 200, not default of 0.
14388 (JMenu): Delay should be set to 200, not default of 0.
14389 (remove): Added check that index >= 0 before removing
14391 (getItem): Return null if item count equals 0.
14392 (isTearOff): Should throw new error and not return false.
14393 (getMenuComponent): Return null if popupMenu is null or
14394 if there are no menu components.
14396 2006-06-21 Roman Kennke <kennke@aicas.com>
14398 * java/awt/font/FontRenderContext.java:
14399 (equals): Added special conditions for affineTransform beeing
14402 2006-06-21 Roman Kennke <kennke@aicas.com>
14404 * javax/swing/UIManager.java
14405 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14406 must not be cleared.
14408 2006-06-21 Roman Kennke <kennke@aicas.com>
14410 * javax/swing/plaf/metal/MetalUtils.java
14411 (paintHorizontalGradient): Use paintHorizontalGradient2D when
14412 Graphics2D is available. Use fillRect instead of drawLine, this
14414 (paintVerticalGradient): Use paintHorizontalGradient2D when
14415 Graphics2D is available. Use fillRect instead of drawLine, this
14417 (paintHorizontalGradient2D): New method. Paints gradient
14418 using Graphics2D functions.
14419 (paintVerticalGradient2D): New method. Paints gradient
14420 using Graphics2D functions.
14422 2006-06-21 Roman Kennke <kennke@aicas.com>
14424 * javax/swing/plaf/basic/BasicButtonListener.java
14425 (propertyChange): Create a TextLayout and store it in the button
14426 when the 'text' property changes.
14427 * javax/swing/plaf/basic/BasicButtonUI.java
14428 (paintText): Call BasicGraphicsUtils utility method for
14429 drawing strings, instead of Graphics.drawString().
14430 * javax/swing/plaf/basic/BasicGraphicsUtils.java
14431 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14432 cached text layouts as client properties in JComponents.
14433 (drawString(JComponent,Graphics,String,int,int)): New helper method.
14434 (drawStringUnderlineCharAt): New helper method.
14435 * javax/swing/plaf/basic/BasicMenuItemUI.java
14436 (PropertyChangeHandler.propertyChange): Update cached text layout
14437 when 'text' property changes. Use equals() instead of == for
14439 (paintText): Use new BasicGraphicsUtils methods for painting
14440 the cached text layout.
14441 (installListeners): Call super.installListeners() and remove
14442 the unneeded listener installs.
14443 (uninstallListeners): Call super.uninstallListeners() and remove
14444 the unneeded listener uninstalls.
14446 2006-06-21 Roman Kennke <kennke@aicas.com>
14448 * javax/swing/plaf/basic/BasicTextUI.java
14449 (PropertyChangeHandler.propertyChange): Handle document listener
14451 (background): Removed unneeded fields.
14452 (inactiveBackground): Remove unneeded fields.
14453 (installUI): Install the document listener. Slightly changed
14454 order of operations. Don't trigger modelChanged().
14455 (installDefaults): Only install properties when the
14456 current properties are null or instances of UIResource.
14457 (installListeners): Removed unnecessary listener installs.
14458 (installDocumentListeners): Removed unneeded method.
14459 (uninstallListeners): Removed unnecessary listener uninstalls.
14460 (modelChanged): Removed call to installDocumentListeners().
14461 * javax/swing/plaf/basic/BasicTextFieldUI.java
14462 (propertyChange): Update the colors by fetching them from
14463 SharedUIDefaults. Fixed conditions.
14464 * javax/swing/plaf/basic/SharedUIDefaults.java
14465 (getColor): New method.
14467 2006-06-21 Roman Kennke <kennke@aicas.com>
14469 * javax/swing/SizeSequence.java
14470 (SizeSequence): Initialize array with correct number of entries.
14472 2006-06-21 Roman Kennke <kennke@aicas.com>
14474 * javax/swing/JSplitPane.java
14475 (setDividerLocation): Substract divider size when computing
14478 2006-06-21 Roman Kennke <kennke@aicas.com>
14480 * javax/swing/JComponent.java
14481 (paintChildrenWithOverlap): Determine opaque property by
14482 calling the corresponding Component method, without requiring
14484 (paintChildrenOptimized): Removed old unneeded code.
14485 (paintImmediately): Use JComponent's convertRectangleToAncestor()
14486 method instead of SwingUtilities.convertRectangle(). This is
14489 2006-06-21 Roman Kennke <kennke@aicas.com>
14491 * javax/swing/AbstractButton.java
14492 (init): Call setText() instead of setting the property directly,
14493 so that listeners (especially in the UI) get notified.
14495 2006-06-21 Roman Kennke <kennke@aicas.com>
14497 * javax/swing/UIManager.java
14498 (MultiplexUIDefaults): New inner class.
14499 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14500 (userUIDefaults): Changed name to be lookAndFeelDefaults.
14501 (<cinit>): Call setLookAndFeel(String) instead of trying to load
14502 directly. Print stacktrace if something goes wrong.
14503 (get): Delegate call to currentUIDefaults.
14504 (getDefaults): If currentUIDefaults is null, then lazily instantiate
14506 (getUI): Delegate call to currentUIDefaults.
14507 (put): Delegate call to currentUIDefaults.
14508 (setLookAndFeel): Initialize currentUIDefaults with
14509 MultiplexUIDefaults. Set lookAndFeelDefaults.
14510 (setLookAndFeel): Use current thread's context classloader for
14513 2006-06-21 Roman Kennke <kennke@aicas.com>
14515 * javax/swing/text/GapContent.java
14516 (GapContentPosition.GapContentPosition): Replace
14517 Collections.binarySearch with call to local search() to make
14518 sure we find the first object that equals the searched object.
14519 (setPositionsInRange): Likewise.
14520 (adjustPositionsInRange): Likewise.
14521 (search): New helper method.
14523 2006-06-21 Gary Benson <gbenson@redhat.com>
14525 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14526 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14527 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14529 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
14531 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14532 APPLETVIEWER_EXECUTABLE to gappletviewer.
14534 2006-06-20 Tom Tromey <tromey@redhat.com>
14536 PR classpath/28095:
14537 * java/net/URL.java (URL): Throw MalformedURLException if a
14538 RuntimeException is caught. Chain exceptions.
14540 2006-06-20 Lillian Angel <langel@redhat.com>
14542 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14543 (create): Added check to prevent Seg Fault. Should not
14544 set the label if it is null.
14545 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14546 (setText): Changed to be a non-native function. Calls
14547 setNativeText if the String parameter is non-null.
14548 (setNativeText): Replaces old native setText function.
14549 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14551 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14552 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14553 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14554 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14556 2006-06-20 Lillian Angel <langel@redhat.com>
14558 * javax/swing/text/JTextComponent.java
14559 (AccessibleJTextComponent): Rewrote all javadocs
14560 for this inner class.
14562 2006-06-20 Francis Kung <fkung@redhat.com>
14564 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14565 Changed many members to be protected.
14566 (J2dBenchmark): moved to init() instead.
14567 (init): New method.
14568 (main): Call init() after creating object
14569 (testComplete): New method.
14570 (test_drawArc): Use maxTests varialbe instead of constant.
14571 (test_drawCubicCurve): Likewise.
14572 (test_drawEllipse): Likewise.
14573 (test_drawGeneralPath): Likewise.
14574 (test_drawImage): Likewise.
14575 (test_drawLine): Likewise.
14576 (test_drawQuadCurve): Likewise.
14577 (test_drawRectangle): Likewise.
14578 (test_drawRoundRectangle): Likewise.
14579 (test_drawTransparentImage): Likewise.
14580 (test_fillArc): Likewise.
14581 (test_fillEllipse): Likewise.
14582 (test_fillGeneralPath): Likewise.
14583 (test_fillRectangle): Likewise.
14584 (test_fillRoundRectangle): Likewise.
14585 (GraphicsTest.runSetNoClipping): Added runCount parameter.
14586 (GraphicsTest.runSetWithClipping): Likewise.
14587 (GraphicsTest.runSetZeroClipping): Likewise.
14588 (GraphicsTest.run): Added checks for more option flags.
14589 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14592 2006-06-20 Roman Kennke <kennke@aicas.com>
14594 * javax/swing/text/GapContent.java
14595 (GapContentPosition.mark): New field.
14596 (GapContentPosition.index): Removed.
14597 (GapContentPosition.GapContentPosition): Changed to take the
14598 real offset as parameter. Added handling of reference counter.
14599 Try to cleanup before creating new instances.
14600 (getOffset): Delegate to the Mark method with same name.
14601 (Mark): New class, encapsulating a mark.
14602 (positionMarks): Removed field.
14603 (numMarks): Removed field.
14604 (marks): New field.
14605 (queueOfDeath): New field.
14606 (GapContent): Removed init of old fields, added init of new fields.
14607 (createPosition): Added check for validity of arguments.
14608 Create GapContentPosition directly with offset.
14609 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14610 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14611 (shiftGapStartDown): Call resetMarksAtZero().
14612 (shiftGapEndUp): Call resetMarksAtZero().
14613 (replace): Don't call resetMarksAtZero().
14614 (setPositionInRange): Replaced by simpler algorithm, similar to
14615 adjustPositionsInRange.
14616 (adjustPositionsInRange): Adapted to use of Mark objects.
14617 (resetMarksAtZero): Reset all marks that point to zero instead
14618 of only the first one.
14619 (dumpMarks): Adjusted to dump Mark objects.
14620 (insertMark): Removed.
14621 (garbageCollect): New method. Cleans up the marks list.
14622 (binarySearch): Removed.
14624 2006-06-20 Lillian Angel <langel@redhat.com>
14626 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14627 (drawImage): Added call to updateColor because
14628 Cairo seems to lose the current color.
14630 2006-06-20 Gary Benson <gbenson@redhat.com>
14632 * java/awt/Toolkit.java: Add security check.
14633 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14634 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14636 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
14638 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14639 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14640 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14641 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14642 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14643 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14644 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14645 * gnu/java/security/key/dss/FIPS186.java: Likewise.
14646 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14647 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14648 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14649 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14650 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14651 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14652 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14653 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14654 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14655 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14656 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14658 2006-06-19 Lillian Angel <langel@redhat.com>
14660 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14661 (drawImage): Should always use getRGB to get the pixels.
14662 getData returns an incorrect array of pixels.
14664 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14666 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14667 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14668 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14669 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14670 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14671 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14672 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14673 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14674 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14675 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14676 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14677 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14678 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14679 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14680 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14681 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14682 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14683 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14684 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14685 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14686 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14687 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14688 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14689 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14690 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14691 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14692 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14693 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14694 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14695 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14696 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14697 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14698 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14699 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14700 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14701 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14703 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
14705 * NEWS: Updated (delayed) for security tools and tools.texinfo.
14707 2006-06-19 Roman Kennke <kennke@aicas.com>
14709 * gnu/java/awt/peer/gtk/ComponentGraphics.java
14710 (drawImage): Clip volatile image correctly.
14711 (drawVolatileImage): Added arguments for clipping.
14712 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14713 (drawVolatileImage): Added arguments for clipping. Clip image
14715 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14717 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14720 * java/rmi/server/UID.java (constructor): Synchronized
14721 the whole constructor on the UID class.
14723 2006-06-19 Roman Kennke <kennke@aicas.com>
14725 * javax/swing/RepaintManager.java
14726 (addInvalidComponent): Only add component that are displayable,
14727 that have displayable parents and that have a validateRoot.
14728 Also, don't validate components that have a CellRendererPane
14731 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
14733 * javax/swing/plaf/IconUIResource.java
14734 (IconUIResource): Throw IllegalArgumentException for null icon.
14736 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14739 * java/rmi/server/UID.java (constructor): First increment
14740 uidCounter, and then use the value.
14742 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
14744 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14745 * java/awt/GridBagConstraints.java: Indent.
14747 2006-06-18 Tom Tromey <tromey@redhat.com>
14749 * native/jni/gconf-peer/.cvsignore: New file.
14751 2006-06-18 Tom Tromey <tromey@redhat.com>
14753 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14754 Also handle short options.
14756 2006-06-18 Jim Huang <jserv@kaffe.org>
14758 PR classpath/28076:
14759 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14762 2006-06-19 Mark Wielaard <mark@klomp.org>
14764 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14765 on gnu/java/util/prefs/gconf/%.class.
14766 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14767 chache typo, should be cache.
14768 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14770 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14772 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14773 Don't return a value for void function.
14774 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14776 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14777 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
14779 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14780 Mark clazz ad unused.
14782 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14784 * gnu/java/security/hash/Whirlpool.java: Source formatting.
14785 * gnu/java/security/hash/Tiger.java: Likewise.
14786 * gnu/java/security/hash/Sha512.java: Likewise.
14787 * gnu/java/security/hash/Sha384.java: Likewise.
14788 * gnu/java/security/hash/Sha256.java: Likewise.
14789 * gnu/java/security/hash/Sha160.java: Likewise.
14790 * gnu/java/security/hash/RipeMD160.java: Likewise.
14791 * gnu/java/security/hash/RipeMD128.java: Likewise.
14792 * gnu/java/security/hash/MD5.java: Likewise.
14793 * gnu/java/security/hash/MD4.java: Likewise.
14794 * gnu/java/security/hash/MD2.java: Likewise.
14795 * gnu/java/security/hash/IMessageDigest.java: Likewise.
14796 * gnu/java/security/hash/Haval.java: Likewise.
14797 * gnu/java/security/hash/HashFactory.java: Likewise.
14798 * gnu/java/security/hash/BaseHash.java: Likewise.
14800 2006-06-18 Sven de Marothy <sven@physto.se>
14802 * java/awt/event/KeyEvent.java:
14803 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14804 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14805 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14807 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
14809 * gnu/java/security/util/Prime2.java: Removed.
14810 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14811 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14812 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14813 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14814 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14815 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14816 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14817 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14818 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14819 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14820 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14821 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14823 2006-06-18 Sven de Marothy <sven@physto.se>
14825 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14826 * java/awt/font/TextMeasurer.java: Fix copyright date,
14827 remove commented-out code.
14829 2006-06-18 Sven de Marothy <sven@physto.se>
14831 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14832 (FreetypeGlyphVector, clone): Implement cloning.
14833 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14834 * java/awt/font/TextMeasurer.java: Implement.
14835 * java/awt/font/LineBreakMeasurer.java:
14836 Reimplement to use TextMeasurer.
14837 * java/awt/font/TextLayout.java
14839 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14840 (getText, getFont): New private static methods.
14841 (setCharIndices): New method.
14842 * java/text/AttributedString.java
14843 (AttributedString): Fix constructor to stop at end point.
14845 2006-06-17 Tom Tromey <tromey@redhat.com>
14847 * lib/gen-classlist.sh.in: Search all top-level directories, not
14848 just 'org', in external.
14850 2006-06-12 Mario torre <neugens at limasoftware.net>
14852 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14853 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14854 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14855 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14857 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14858 * configure.ac: update to introduce new files. Added options
14859 to build gconf native peer used by the GConf preference backend.
14860 * include/Makefile.am: update to introduce new files.
14861 * native/jni/Makefile.am update to introduce new files.
14862 * scripts/check_jni_methods.sh: added three new ignored file
14864 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14865 build gconf-peer shared library.
14867 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14869 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14870 Use Integer.valueOf() instead of new Integer().
14871 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14872 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14873 * gnu/java/security/util/Sequence.java: Likewise.
14874 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14875 * gnu/java/security/x509/X509Certificate.java: Likewise.
14876 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14877 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14878 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14879 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14880 * gnu/javax/crypto/cipher/DES.java: Likewise.
14881 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14882 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14883 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14884 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14885 * gnu/javax/crypto/cipher/Square.java: Likewise.
14886 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14887 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14888 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14889 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14890 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14891 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14892 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14893 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14894 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14895 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14896 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14897 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14898 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14899 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14900 * gnu/javax/crypto/mac/UHash32.java: Likewise.
14901 * gnu/javax/crypto/mac/UMac32.java: Likewise.
14902 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14903 * gnu/javax/crypto/mode/EAX.java: Likewise.
14904 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14905 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14906 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14907 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14908 * java/security/cert/X509CertSelector.java: Likewise.
14910 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
14912 * javax/management/DynamicMBean.java:
14913 (setAttribute): Fixed to return void.
14914 * javax/management/MBeanFeatureInfo.java:
14917 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
14919 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14920 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14921 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
14922 into engineInitHandler and reuse the code in
14923 engineInit(int, Key, AlgorithmSpec, SecureRandom).
14924 (engineInitHandler): New method.
14925 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
14926 null, use random or default information when possible.
14928 2006-06-16 Francis Kung <fkung@redhat.com>
14930 * examples/gnu/classpath/examples/swing/Demo.java:
14931 (mkButtonBar): Rename FillRect to JNIOverhead.
14932 (mkMenuBar): Rename FillRect to JNIOverhead.
14933 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
14934 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
14935 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
14936 Moved from old FillRect.
14938 2006-06-16 Tom Tromey <tromey@redhat.com>
14940 * tools/.cvsignore: Added new tool names.
14942 2006-06-16 Keith Seitz <keiths@redhat.com>
14944 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
14945 instantiation so that EventManager is created when getDefault
14947 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
14950 2006-06-16 Keith Seitz <keiths@redhat.com>
14952 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
14953 (_initCount): New field.
14954 (Jdwp): Don't set isDebugging until fully initialized.
14955 (subcomponentInitialized): New method.
14956 (run): Wait for PacketProcessor and JdwpConnection to
14957 startup, then set isDebugging, and then let this thread
14959 * gnu/classpath/jdwp/transport/JdwpConnection.java
14960 (run): Add synchronization notification.
14961 * gnu/classpath/jdwp/processor/PacketProcessor.java
14964 2006-06-16 Tom Tromey <tromey@redhat.com>
14966 * NEWS: Updated for JSR 166.
14968 2006-06-16 Tom Tromey <tromey@redhat.com>
14970 * lib/Makefile.am (compile_classpath): Added jsr166.
14971 * configure.ac: Added external/jsr166/Makefile.
14972 * external/Makefile.am (SUBDIRS): Added jsr166.
14973 * external/jsr166/Makefile.am: New file.
14974 * lib/gen-classlist.sh.in: Look in external/jsr166.
14976 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
14978 * gnu/classpath/jdwp/event/ExceptionEvent:
14979 Added Object instance to javadoc in constructor
14980 * gnu/classpath/jdwp/event/MethodEntryEvent:
14982 * gnu/classpath/jdwp/event/MethodExitEvent:
14984 * gnu/classpath/jdwp/event/SingleStepEvent:
14987 2006-06-16 Tom Tromey <tromey@redhat.com>
14989 Imported JSR 166 reference implementation:
14990 * .classpath: Added external/jsr166.
14991 * java/util/concurrent/CopyOnWriteArrayList.java: New file.
14992 * java/util/AbstractQueue.java: Removed.
14993 * java/util/Queue.java: Removed.
14994 * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
14995 (runPeriodic): Added explicit cast.
14996 * external/jsr166/java/util/ArrayDeque.java (clone): Use
14999 2006-06-16 Tom Tromey <tromey@redhat.com>
15001 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15003 (getCallerClass): Now static.
15004 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15006 2006-06-16 Lillian Angel <langel@redhat.com>
15008 * java/awt/FileDialog.java
15009 (FileDialog): Added @since tag to API docs.
15010 (FileDialog): Likewise.
15011 (FileDialog): Likewise.
15012 * java/awt/Font.java:
15013 Added @since tag to TYPE1_FONT field docs.
15014 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15015 (isThumbRollover): Likewise.
15016 (setThumbRollover): Likewise.
15017 (getSupportsAbsolutePositioning): Likewise.
15018 * javax/swing/plaf/basic/BasicSliderUI.java:
15019 (isDragging): Likewise.
15021 2006-06-16 Lillian Angel <langel@redhat.com>
15023 * java/awt/FileDialog.java
15024 (FileDialog): Implemented.
15025 (FileDialog): Implemented.
15026 (FileDialog): Implemented.
15027 * java/awt/Font.java:
15028 Added TYPE1_FONT constant field.
15030 2006-06-16 Lillian Angel <langel@redhat.com>
15032 * java/awt/font/TextLayout.java:
15033 Removed unneeded imports.
15034 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15035 Added new thumbRollover field.
15036 (mouseMoved): Added code to set thumbRollover field.
15037 (isThumbRollover): New function.
15038 (setThumbRollover): New function.
15039 (getSupportsAbsolutePositioning): Implemented. This
15040 needs to be changed once the feature has been
15042 * javax/swing/plaf/basic/BasicSliderUI.java:
15043 Added new dragging field.
15044 (mouseDragged): Initialized dragging field.
15045 (isDragging): New function.
15046 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15047 (focusGained): Marked as not implemented.
15048 (focusLost): Likewise.
15050 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
15052 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15053 Added check for null ThreadId to avoid null pointer
15056 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15058 * javax/swing/DefaultComboBoxModel.java
15059 (removeElementAt): Set new selected item by calling setSelectedItem().
15061 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15063 * javax/swing/DefaultButtonModel.java
15064 (setSelected): Use 'this', not null, for the item in the ItemEvent.
15066 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
15068 * javax/swing/event/ListDataEvent.java: updated API docs, plus
15069 (ListDataEvent): Handle case where index0 > index1,
15070 (toString): Implemented.
15072 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15074 * javax/swing/plaf/metal/MetalMenuBarUI.java:
15075 (update): Added subexpression to if-statement.
15077 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
15079 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15080 (installDefaults): Removed unneccessary code.
15081 (paint): Removed complex if-cascade, revert to default icon if
15082 icon property is not set.
15083 (getPreferredSize): New method.
15085 2006-06-16 Roman Kennke <kennke@aicas.com>
15088 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15089 (drawImage): Don't use setClip() but instead clipRect() to
15090 intersect the current clip with a new one.
15092 2006-06-15 Tom Tromey <tromey@redhat.com>
15094 * scripts/sanitize-jsr166: New file.
15095 * external/jsr166/IMPORTING: New file.
15096 * vm/reference/sun/reflect/Reflection.java: New file.
15097 * vm/reference/gnu/classpath/Unsafe.java: Moved...
15098 * vm/reference/sun/misc/Unsafe.java: ...here.
15100 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
15102 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15103 gjarsigner and keytool to gkeytool.
15104 * doc/tools.texinfo: Add note about tool exectable names.
15105 * tools/Makefile.am: Rename appletviewer to gappletviewer,
15106 jarsigner to gjarsigner and keytool to gkeytool.
15107 * tools/appletviewer.in: Rename ...
15108 * tools/gappletviewer.in: New file.
15109 * tools/jarsigner.in: Rename ...
15110 * tools/gjarsigner.in: New file.
15111 * tools/keytool.in: Rename ...
15112 * tools/gkeytool.in: New file.
15113 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15115 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15117 * javax/management/AttributeList.java:
15118 Add serialization UID.
15119 * javax/management/DynamicMBean.java:
15121 * javax/management/JMRuntimeException.java:
15122 Add serialization UID and correct name
15123 of serialized field.
15124 * javax/management/MBeanInfo.java: New file.
15126 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15128 * javax/management/AttributeList.java,
15129 * javax/management/JMRuntimeException.java,
15130 * javax/management/RuntimeOperationsException.java:
15133 2006-06-15 Lillian Angel <langel@redhat.com>
15135 * java/awt/font/TextLayout.java:
15136 DEFAULT_CARET_POLICY changed to be public static final.
15138 2006-06-15 Tania Bento <tbento@redhat.com>
15140 * javax/swing/plaf/metal/MetalScrollButton.java
15141 (MetalScrollButton): Should set 'focusable' to false.
15143 2006-06-15 Tania Bento <tbento@redhat.com>
15145 * javax/swing/plaf/basic/BasicArrowButton.java
15146 (BasicArrowButton): Should set 'focusable' to false.
15147 (BasicArrowButton): Should set 'focusable' to false.
15149 2006-06-15 Mark Wielaard <mark@klomp.org>
15151 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15152 (getGraphicsConfiguration): Return default screen device.
15153 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15155 (GtkVolatileImage): Record initiating component.
15156 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15157 (getDeviceConfiguration): Return configuration of image component.
15159 2006-06-15 Mark Wielaard <mark@klomp.org>
15161 * java/awt/geom/GeneralPath.java (closePath): Return if path already
15164 2006-06-15 Mark Wielaard <mark@klomp.org>
15166 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15167 with null argument.
15169 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
15171 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15172 (matches): Added explicit brackets to return statement.
15174 2006-06-15 Tania Bento <tbento@redhat.com>
15176 * javax/swing/JRadioButtonMenuItem.java
15177 (JRadioButtonMenuItem): Should set 'focusable' to false.
15179 2006-06-15 Tania Bento <tbento@redhat.com>
15181 * javax/swing/JCheckBoxMenuItem.java
15182 (JCheckBoxMenuItem): Should set 'focusable' to false.
15184 2006-06-15 Tania Bento <tbento@redhat.com>
15186 * javax/swing/AbstractButton.java:
15187 (AbstractButton): 'Focusable' should be set to true and not false.
15189 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
15191 * java/lang/management/ManagementFactory.java:
15192 Add private constructor to prevent instance creation.
15193 * java/lang/management/ManagementPermission.java:
15196 2006-06-15 Francis Kung <fkung@redhat.com>
15198 * javax/swing/plaf/basic/BasicArrowButton.java:
15199 (BasicArrowButton): move client property for not triggering out
15201 * javax/swing/plaf/basic/BasicComboBoxUI.java:
15202 (configureArrowButton): set client property for not triggering
15203 (installUI): set client property for not triggering
15204 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15205 (PopupHelper.mousePressed): check client property for triggering
15207 2006-06-15 Roman Kennke <kennke@aicas.com>
15210 * javax/swing/RepaintManager.java
15211 (blitBuffer): Substract coordinates the other way around.
15213 2006-06-15 Roman Kennke <kennke@aicas.com>
15216 * javax/swing/JComponent.java
15217 (paintImmediately2): Only paint component without double buffering
15218 when all of it's parents have also double buffering disabled.
15219 (isPaintingDoubleBuffered): New helper method.
15221 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
15223 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15224 (draw(Shape)): Pass null transform to getPathIterator(),
15225 (getClip): Likewise,
15226 * gnu/java/print/PostscriptGraphics2D.java
15227 (drawStringShape): Pass null transform to getPathIterator(),
15228 (writeShape): Likewise,
15229 * java/awt/Shape.java: Small updates to API docs.
15231 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15233 * javax/naming/InitialContext.java:
15234 (list(javax.naming.Name)): Fixed generic type.
15235 (list(String)): Likewise.
15236 (listBindings(javax.naming.Name)): Likewise.
15237 (listBindings(String)): Likewise.
15239 2006-06-14 Roman Kennke <kennke@aicas.com>
15241 * javax/swing/plaf/basic/BasicComboBoxUI.java
15242 (getAccessibleChildrenCount): Implemented.
15243 (getAccessibleChild): Implemented.
15244 (isNavigationKey): Implemented.
15245 (KeyHandler.keyPressed): Implemented.
15247 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
15249 * java/lang/management/ManagementPermission.java:
15250 Added serialization UID.
15251 * javax/management/Attribute.java: Likewise.
15252 * javax/management/MBeanException.java,
15253 * javax/management/ReflectionException.java:
15254 Added serialization UID and changed to extend
15255 javax.management.JMException.
15257 2006-06-14 Lillian Angel <langel@redhat.com>
15259 * java/awt/Component.java
15260 (ignoreOldMouseEvents): Made static.
15261 (translateEvent): Made static.
15262 * java/awt/TextComponent.java
15263 (ignoreOldMouseEvents): Made static.
15265 2006-06-14 Mark Wielaard <mark@klomp.org>
15267 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15269 (drawRect): Likewise.
15270 (fillRect): Likewise.
15272 2006-06-14 Lillian Angel <langel@redhat.com>
15274 * java/awt/Component.java
15275 (ignoreOldMouseEvents): New helper function.
15276 (translateEvent): Changed to be non-static and use new helper.
15277 * java/awt/TextComponent.java
15278 (ignoreOldMouseEvents): New helper function.
15280 2006-06-14 Roman Kennke <kennke@aicas.com>
15282 * javax/swing/RepaintManager.java
15283 (MERGE_REGIONS): New constant flag.
15284 (commitBuffer): Exclude the merging of regions by default. This
15285 was causing painting artifacts in some applications, especially
15286 when different areas of the GUI are updated synchronously.
15288 2006-06-14 Roman Kennke <kennke@aicas.com>
15290 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15291 New file. This is a benchmark for AWT 1.1 style graphics operations.
15292 * examples/gnu/classpath/examples/awt/palme.gif: New file.
15293 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15295 2006-06-14 Tom Tromey <tromey@redhat.com>
15297 * java/io/File.java (getParent): Javadoc fix.
15299 2006-06-14 Tom Tromey <tromey@redhat.com>
15301 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15303 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15304 when index entry does not exist.
15306 2006-06-14 Tania Bento <tbento@redhat.com>
15308 * javax/swing/AbstractButton.java
15309 (AbstractButton): Set focusable to false, not true.
15311 2006-06-14 Tania Bento <tbento@redhat.com>
15313 * javax/swing/JMenuItem.java
15314 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15316 2006-06-14 Tania Bento <tbento@redhat.com>
15318 * javax/swing/JCheckBoxMenuItem.java
15319 (JCheckBoxMenuItem): Added check to set the selected state.
15321 2006-06-14 Roman Kennke <kennke@aicas.com>
15323 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15324 (cairoDrawLine): New native method.
15325 (cairoDrawRect): New native method.
15326 (cairoFillRect): New native method.
15327 (drawLine): Use special native method.
15328 (drawRect): Use special native method.
15329 (fillRect): Use special native method.
15330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15331 (cairoDrawLine): New native method.
15332 (cairoDrawRect): New native method.
15333 (cairoFillRect): New native method.
15334 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15336 2006-06-14 Mark Wielaard <mark@klomp.org>
15338 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15339 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15340 cannot be allocated.
15342 2006-06-14 Tom Tromey <tromey@redhat.com>
15345 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15346 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15348 2006-06-14 Roman Kennke <kennke@aicas.com>
15350 * javax/swing/JComponent.java
15351 (isRepainting): New flag.
15352 (paintImmediately2): Set isRepainting flag.
15353 (getRoot): Removed obsolete method.
15354 (paintDoubleBuffered): Differenciate between paint calls from
15355 RepaintManager and from AWT refresh. Call
15356 RepaintManager.commitBuffer with this and local coordinates.
15357 (findOpaqueParent): Stop searching at heavyweight component. These
15359 (paintChildrenOptimized): Don't paint heavyweight children. These
15360 should care for themselves.
15361 (paintChildrenWithOverlap): Don't paint heavyweight children. These
15362 should care for themselves.
15363 * javax/swing/RepaintManager.java
15364 (getOffscreenBuffer): Associate offscreen buffer with toplevel
15366 (getVolatileOffscreenBuffer): Associate offscreen buffer with
15367 toplevel windows only.
15368 (getRoot): Removed obsolete method.
15369 (commitBuffer): Blit buffer on nearest heavyweight.
15370 (blitBuffer): New helper method.
15371 (getHeavyweightParent): New helper method.
15372 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15373 * javax/swing/SwingUtilities.java
15374 (convertRectangleToAncestor): New helper method.
15376 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
15378 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15379 Condition all trace/debug code based on Configuration.DEBUG.
15380 Use logger instead of STDOUT and ot STDERR.
15382 2006-06-13 Lillian Angel <langel@redhat.com>
15384 * native/plugin/gcjwebplugin.cc
15385 (NP_Initialize): Removed code to create whitelist file.
15386 (GCJ_New): Added code to create whitelist file.
15387 (plugin_user_trusts_documentbase): Fixed error message.
15389 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15391 * javax/swing/plaf/metal/MetalIconFactory.java
15392 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
15393 prevent overwriting border,
15394 (VerticalSliderThumbIcon.gradientMask): Likewise.
15396 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
15398 * javax/management/AttributeNotFoundException.java,
15399 * javax/management/InvalidAttributeValueException.java,
15400 * javax/management/JMException.java,
15401 * javax/management/MBeanException.java,
15402 * javax/management/OperationsException.java,
15403 * javax/management/ReflectionException.java:
15406 2006-06-13 Roman Kennke <kennke@aicas.com>
15408 * java/awt/Component.java
15409 (dispatchEvent): Handle events even when consumed (this might be
15410 picked up later in the dispatching chain).
15411 * javax/swing/plaf/basic/BasicLookAndFeel.java
15412 (PopupHelper.mousePressed): Don't consume event. Only close popup
15413 when target component isn't flagged as DONT_CANCEL_POPUP.
15414 (DONT_CANCEL_POPUP): New package private constant for flagging
15415 special components that don't trigger popup closing.
15416 * javax/swing/plaf/basic/BasicArrowButton.java
15417 (BasicArrowButton): Set client property for not triggering closing
15420 2006-06-13 Lillian Angel <langel@redhat.com>
15422 * java/awt/image/PixelGrabber.java
15423 (PixelGrabber): Added to API documentation.
15425 2006-06-13 Keith Seitz <keiths@redhat.com>
15427 From Kyle Galloway <kgallowa@redhat.com>:
15428 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15429 (ExceptionOnlyFilter): Allow null refId.
15431 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15432 compatibility with filters.
15433 (getParameter): Modified to allow access to above.
15435 2006-06-13 Sven de Marothy <sven@physto.se>
15437 * gnu/java/awt/peer/gtk/CairoSurface.java
15438 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15439 (create): Use stride in ints.
15441 2006-06-13 Keith Seitz <keiths@redhat.com>
15443 From Kyle Galloway <kgallowa@redhat.com>:
15444 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15446 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15448 * javax/swing/plaf/basic/BasicSliderUI.java
15449 (calculateThumbSize): Removed unnecessary code,
15450 (calculateThumbLocation): Shift position by one,
15451 (calculateTickRect): Shift position by one when ticks are displayed,
15452 (calculateLabelRect): Calculate rect differently according to whether
15453 or not the labels are visible,
15454 (paintTrack): Shift track down one pixel.
15456 2006-06-13 Lillian Angel <langel@redhat.com>
15458 * java/awt/image/PixelGrabber.java
15459 (PixelGrabber): Removed check to throw exception. JDK does
15461 (startGrabbing): Removed line to print stacktrace.
15463 2006-06-13 Mark Wielaard <mark@klomp.org>
15465 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15466 allocate unused AffineTransform. Add comment about conversion to
15468 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15469 Recognize identity transform as "easy". Always convert to
15470 BufferedImage before calling super.
15472 2006-06-13 Roman Kennke <kennke@aicas.com>
15474 * java/awt/Component.java
15475 (getGraphics): Translate child graphics correctly.
15476 (dispatchEvent): Only dispatch event if it hasn't been consumed
15477 yet by the global dispatcher.
15478 * javax/swing/plaf/basic/BasicLookAndFeel.java
15479 Added some API docs.
15480 (PopupHelper.mousePressed): Consume the event after closing
15483 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
15485 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
15487 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15488 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15489 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15490 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15491 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15492 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15493 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15494 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15495 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15496 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15497 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15498 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15499 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15500 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15501 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15502 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15504 2006-06-12 Sven de Marothy <sven@physto.se>
15506 * java/awt/font/LineBreakMeasurer.java): Implement.
15508 2006-06-12 Keith Seitz <keiths@redhat.com>
15510 From Kyle Galloway <kgallowa@redhat.com>:
15511 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15513 2006-06-12 Keith Seitz <keiths@redhat.com>
15515 From Kyle Galloway <kgallowa@redhat.com>:
15516 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15518 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15520 2006-06-12 Roman Kennke <kennke@aicas.com>
15522 * javax/swing/JComponent.java
15523 (paintDoubleBuffered): Correctly translate and clip the Graphics
15525 (clipAndTranslateGraphics): New helper method.
15527 2006-06-12 Roman Kennke <kennke@aicas.com>
15529 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15530 (copy): Use getClip() to copy the clip. Make copied transform
15531 null when original transform is null. Set clip here.
15532 (setTransform): Correctly update the clip.
15533 (setTransformImpl): New method. Updates the actual transform for
15535 (transform): Correctly update the clip.
15536 (translate): Correctly update the clip.
15537 (clip): Handle null clip and argument correctly.
15538 (clipRect): Avoid creating new Rectangle objects.
15539 (getClip): Get the correct copy of the clip.
15540 (setClip): Correctly handle null argument.
15541 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15542 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15543 be null or whatever has been set in copy().
15544 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15545 (drawImage): Add translation to the image coordinates.
15546 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15547 (VolatileImageGraphics): Don't set clip here. The clip can either
15548 be null or whatever has been set in copy().
15550 2006-06-12 Keith Seitz <keiths@redhat.com>
15552 From Kyle Galloway <kgallowa@redhat.com>:
15553 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15554 (forCaught): Removed unused/unnecessary method.
15555 (forUncaught): Likewise.
15556 (matches): Implement.
15558 2006-06-12 Keith Seitz <keiths@redhat.com>
15560 From Kyle Galloway <kgallowa@redhat.com>:
15561 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15563 2006-06-12 Keith Seitz <keiths@redhat.com>
15565 From Kyle Galloway <kgallowa@redhat.com>:
15566 * gnu/classpath/jdwp/event/Event.java: Added constants for
15568 (getParameter): Changed parameter type from Class to int.
15569 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15570 Changed from Class type to constants.
15571 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15573 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15575 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15577 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15579 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15581 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15583 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15585 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15587 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15590 2006-06-12 Lillian Angel <langel@redhat.com>
15592 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15593 (StandaloneAppletWindow): Changed title of standalone window.
15595 2006-06-12 Lillian Angel <langel@redhat.com>
15597 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15598 (layoutContainer): Added missing selectedComponent assignment.
15600 2006-06-12 Lillian Angel <langel@redhat.com>
15602 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15603 (layoutContainer): Added check to prevent exception.
15605 2006-06-12 Tom Tromey <tromey@redhat.com>
15607 * java/lang/Thread.java (uncaughtException): Javadoc fix.
15609 2006-06-12 Mark Wielaard <mark@klomp.org>
15611 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15614 (lock): New method.
15615 (unlock): Likewise.
15616 (draw): Use lock() and unlock().
15618 (drawRenderedImage): Likewise.
15619 (drawImage): Likewise.
15620 (drawGlyphVector): Likewise.
15622 2006-06-12 Roman Kennke <kennke@aicas.com>
15624 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15625 (drawPixels): Include alpha in parameter list.
15626 (cairoFill): Include alpha in parameter list.
15627 (setComposite): Don't modify the color.
15628 (draw(Shape))): Use fill when the current composite has an alpha
15629 of != 1.0, so that the stroked shaped will be composited.
15630 (fill(Shape)): Call cairoFill() with alpha.
15631 (drawImage): Call drawPixels or drawSurface with alpha.
15632 (drawGlyphVector): When composite alpha is != 1.0, render the
15633 outline using fill() to enable compositing for text.
15634 (drawRaster): Call drawPixels with alpha.
15635 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15636 (nativeDrawSurface): Include alpha in parameter list.
15637 (drawSurface): Include alpha in parameter list. Pass it to
15638 nativeDrawSurface().
15639 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15640 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15642 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15643 (drawPixels): Handle possible alpha for compositing.
15644 (cairoFill): Likewise.
15645 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15646 (nativeDrawSurface): Handle possible alpha for compositing.
15648 2006-06-12 Mark Wielaard <mark@klomp.org>
15650 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15651 Notify data when completely done. Wait for worker thread to finish.
15652 Rethrow any pending exceptions.
15653 (exception): New field.
15654 (run): Store pending exception.
15656 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
15658 * java/lang/management/ManagementPermission.java:
15661 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15663 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15665 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
15667 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15668 Use String.charAt().
15670 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
15672 * doc/tools.texinfo
15673 (Applet Tools): New chapter.
15674 (appletviewer Tool): New section.
15675 (gcjwebplugin): New section.
15677 2006-06-11 Mark Wielaard <mark@klomp.org>
15679 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15680 Takes GdkPixbufWriter.
15681 (GdkPixbufWriter): Implements Runnable.
15682 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15684 (DATADONE): New static final field.
15686 (write(byte[])): New method.
15688 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15689 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15690 Get dataOutputWriteID from writeClass.
15691 (stream_save_request): Change stream field to writer.
15692 (save_to_stream): Remove FIXME, call writer.
15693 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15696 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
15699 Mention new VM interface and use of properties.
15700 * doc/vmintegration.texinfo:
15701 Update with new gnu.java.lang.management section.
15702 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15704 * java/lang/management/ManagementFactory.java:
15705 (getRuntimeMXBean()): Implemented.
15706 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15707 New VM interface file.
15709 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15712 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15713 debug code based on Configuration.DEBUG.
15714 Use logger instead of STDOUT and ot STDERR.
15715 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15716 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15717 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15718 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15719 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15720 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15721 * gnu/javax/crypto/pad/TBC.java: Likewise.
15722 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15723 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15724 * gnu/javax/crypto/pad/BasePad.java: Likewise.
15725 * gnu/javax/crypto/mac/OMAC.java: Likewise.
15726 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15727 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15728 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15729 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15730 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15731 * gnu/javax/crypto/keyring/Entry.java: Likewise.
15732 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15733 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15734 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15735 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15736 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15737 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15738 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15739 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15740 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15741 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15742 * gnu/java/security/Properties.java: Likewise.
15743 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15744 * gnu/java/security/x509/X509CRL.java: Likewise.
15745 * gnu/java/security/x509/ext/Extension.java: Likewise.
15746 * gnu/java/security/util/Prime2.java: Likewise.
15747 * gnu/java/security/util/Base64.java: Likewise.
15748 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15749 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15750 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15751 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15752 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15753 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15754 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15755 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15756 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15757 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15758 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15759 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15760 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15761 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15762 * gnu/java/security/hash/Whirlpool.java: Likewise.
15764 2006-06-11 Mark Wielaard <mark@klomp.org>
15766 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15767 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15768 Remove unused variable glyph_index.
15770 2006-06-11 Mark Wielaard <mark@klomp.org>
15772 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15773 Don't recurse, return false if not an BufferedImage and no image
15775 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15776 end_gdk_drawing() to finally block.
15778 (drawRenderedImage): Likewise.
15779 (drawImage): Likewise.
15780 (drawGlyphVector): Likewise.
15782 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15784 * doc/tools.texinfo: Added text for new -cacert command.
15785 Re-structured sections.
15786 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15787 for -cacert command.
15788 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15789 (_CACERT): Likewise.
15790 (shutdownThread): New field.
15791 (Main): Install shutdown thread.
15792 (main): Uninstall shutdown thread.
15793 (start): Handle new -cacert command.
15794 (getParser): Likewise.
15795 (teardown): Increased visibility.
15796 (ShutdownHook): New inner class.
15797 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15799 2006-06-11 Sven de Marothy <sven@physto.se>
15801 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15802 (setupGlyphMetrics): New method. Add glyphmetrics caching.
15803 (getOutline): Operate on the shape directly.
15804 * gnu/java/awt/peer/gtk/GdkFontPeer.java
15805 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15806 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15807 (getGlyph renamed getGlyphs)
15808 * java/awt/geom/AffineTransform.java
15809 (getTranslateInstance): Set fields directly.
15810 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15811 (getGlyphs): Get all glyph codes at once.
15813 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15816 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15818 2006-06-11 Sven de Marothy <sven@physto.se>
15820 * java/awt/font/TextLayout.java
15821 (getLogicalHighlightShape): Add check.
15822 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15823 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15825 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
15827 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15828 Check that every component of 'cn' starts with a valid Java identifier char.
15830 2006-06-10 Tom Tromey <tromey@redhat.com>
15832 * java/io/File.java (pathSeparator): Typo fix.
15834 2006-06-10 Mark Wielaard <mark@klomp.org>
15836 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15838 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15839 Mark all unused parameters.
15840 (cp_gtk_get_cairo_t): Removed.
15841 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15842 Don't mix declerations and statements.
15843 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15844 Mark all unused parameters.
15845 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15846 Get cairographics2d pointer directly.
15847 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15848 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15849 Use jlong to pass pointer.
15850 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15851 Mark all unused parameters.
15852 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15853 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15854 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15855 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15856 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15857 * include/java_io_VMFile.h: Regenerated.
15859 2006-06-10 Roman Kennke <kennke@aicas.com>
15861 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15862 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15863 instead of setClip(), so that an already present clip is intersected
15866 2006-06-10 Mark Wielaard <mark@klomp.org>
15868 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15869 Call getSize() to avoid accessor method.
15871 2006-06-10 Mark Wielaard <mark@klomp.org>
15873 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15874 Qualify ElementSpec.
15876 2006-06-10 Mark Wielaard <mark@klomp.org>
15878 * lib/.cvsignore: Add sun.
15879 * lib/Makefile.am (dist-hook): Likewise.
15881 2006-06-10 Roman Kennke <kennke@aicas.com>
15883 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15884 * gnu/java/awt/peer/gtk/CairoSurface.java
15885 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15886 * gnu/java/awt/peer/gtk/ComponentGraphics.java
15887 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15888 * native/jni/gtk-peer/cairographics2d.h
15889 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15890 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15891 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15892 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15893 Changed method signatures and calls to pass native pointers directly
15894 into the JNI code, in order to avoid costly lookups on each
15896 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15897 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15898 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15899 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15902 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15905 * javax/swing/text/DefaultStyledDocument.java
15906 (ElementBuffer.insertContentTag):
15907 Do not recreate leaves and do not remove elements here.
15909 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15911 * javax/swing/text/html/HTMLDocument.java
15912 (HTMLReader.HiddenAction): Implemented.
15914 2006-06-10 Roman Kennke <kennke@aicas.com>
15916 * javax/swing/RepaintManager.java
15917 (getVolatileOffscreenBuffer): Store the created buffer.
15918 * javax/swing/JComponent.java
15919 (paintDoubleBuffered): Try to use a volatile offscreen buffer
15920 for better performance.
15922 2006-06-10 Roman Kennke <kennke@aicas.com>
15924 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15925 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
15927 (getRealBounds): Overridden to return the correct bounds.
15929 2006-06-10 Roman Kennke <kennke@aicas.com>
15931 * javax/swing/plaf/metal/MetalButtonUI.java
15932 (update): Fixed to paint the gradient under the correct conditions.
15933 (updateWidthGradient): Removed.
15934 (isToolbarButton): New helper method.
15935 (isDrawingGradient): New helper method.
15937 2006-06-09 Roman Kennke <kennke@aicas.com>
15939 * javax/swing/JTabbedPane.java
15940 (setSelectedIndex): Don't change the visibility of the components,
15941 this is done by the UI class.
15942 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15943 (TabbedPaneLayout.layoutContainer): Change visibility of component
15944 here, depending on the selected index. Only do this if the new
15945 selected component is not null. Some programs seem to expect
15947 (visibleComponent): New field.
15948 (getVisibleComponent): Changed to return visibleComponent field.
15949 (setVisibleComponent): Changed to set the visibility of
15950 the old and new visible component.
15952 2006-06-09 Roman Kennke <kennke@aicas.com>
15954 * javax/swing/JComponent.java
15955 (paintChildrenOptimized): Paint component with a new Graphics
15956 object to protect the other painting code from modifications
15957 done in that object, and avoid cleanup ops on possibly dispose()ed
15960 2006-06-09 Sven de Marothy <sven@physto.se>
15962 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15963 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
15964 Use GTK locks while disposing (Xlib) surface.
15966 2006-06-09 Tom Tromey <tromey@redhat.com>
15968 * lib/Makefile.am (install-data-local): Copy 'sun' files.
15969 (uninstall-local): Delete 'sun' directory.
15970 (glibj.zip): Include 'sun' classes.
15971 (clean-local): Delete 'sun' directory.
15972 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
15974 2006-06-09 Roman Kennke <kennke@aicas.com>
15976 * gnu/java/awt/java2d/AbstractGraphics2D.java
15977 (drawImage): Fixed scaling.
15978 (fillShape): Removed offset handling.
15979 (fillShapeImpl): Limit scanlining to device bounds.
15980 (getSegments): Removed offset handling.
15981 * gnu/java/awt/java2d/PolyEdge.java
15982 (toString): Include isClip flag in output.
15984 2006-06-08 Sven de Marothy <sven@physto.se>
15986 * java/awt/font/TextLayout.java
15987 (getOutline): Allow null transform.
15989 2006-06-08 Sven de Marothy <sven@physto.se>
15991 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15992 (drawString): Use TextLayout instead of GlyphVector.
15994 2006-06-08 Sven de Marothy <sven@physto.se>
15996 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
15997 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15998 New constructor for bidirectionality.
15999 (getGlyphMetrics): Return whitespace glyphs.
16000 (getLogicalBounds): Offset rectangles to correct positions.
16001 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16002 (getBaselineFor): Default to ROMAN_BASELINE.
16003 (GdkFontLineMetrics): Guess some values for underline and
16005 (layoutGlyphVector): Use bidirectionality.
16006 * java/awt/font/TextLayout.java: Implement, mostly.
16008 2006-06-09 Anthony Green <green@redhat.com>
16010 PR classpath/27888:
16011 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16012 * java/util/Collections.java (binarySearch): Use unsigned shift.
16013 * java/util/Arrays.java (binarySearch): Use unsigned shift.
16015 2006-06-09 Tom Tromey <tromey@redhat.com>
16017 * tools/.cvsignore: Added .deps.
16019 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
16021 PR classpath/27966:
16022 * gnu/javax/security/auth/login/ConfigFileParser.java
16023 (validateClassName): Quote '.' in regexp.
16025 2006-06-09 Tom Tromey <tromey@redhat.com>
16027 PR classpath/23863:
16028 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16030 * native/fdlibm/mprec.c: New version from newlib. Commented out
16031 some includes. Added <assert.h>.
16032 (_reent, _Bigint): New defines.
16033 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16034 (__ULong, __Long): New types.
16035 (_calloc_r): New function.
16036 (Balloc): Dynamically add new _freelist entries as needed.
16037 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16038 MAX_BIGNUMS to size _x[].
16039 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
16040 _allocation_map, num. Added _max_k.
16042 2006-06-09 Roman Kennke <kennke@aicas.com>
16044 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16045 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16048 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16050 * java/awt/image/BufferedImage.java
16051 (BufferedImage(int, int, int)): Added API docs,
16052 (getProperty(String)): Return correct value for undefined properties,
16053 (getPropertyNames()): Added comments and removed FIXME.
16055 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
16057 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16058 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16060 2006-06-09 Francis Kung <fkung@redhat.com>
16062 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16063 (getPreferredSize): Return correct height for null or empty
16066 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16068 * java/awt/datatransfer/DataFlavor.java
16069 (readExternal): Mark as stub,
16070 (writeExternal): Likewise,
16071 * java/awt/dnd/DropTargetContext.java
16072 (dropComplete): Mark as stub,
16073 (acceptDrag): Likewise,
16074 (rejectDrag): Likewise,
16075 (acceptDrop): Likewise,
16076 (rejectDrop): Likewise,
16077 (getCurrentDataFlavors): Likewise,
16078 (getTransferable): Likewise,
16079 * java/awt/dnd/DropTargetDropEvent.java
16080 (dropComplete): Mark as stub.
16082 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16084 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16085 (constructor): Do not lowercase the values.
16086 * javax/swing/text/html/HTMLDocument.java
16087 (HTMLReader.addSpecialElement): Implemented.
16088 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16090 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16092 On behalf of Matthew Wringe <mwringe@redhat.com>
16093 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16094 * gnu/javax/crypto/pad/ISO10126.java: New class.
16095 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16096 (getInstance): Added support for ISO-10126 scheme.
16097 (getNames): Likewise.
16098 Cache result for speed.
16100 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
16102 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16103 flexible self-test by sub-classes.
16104 (test1BlockSize): New method.
16106 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16108 * javax/swing/plaf/basic/BasicLookAndFeel.java
16109 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16110 * javax/swing/plaf/basic/BasicScrollBarUI.java
16111 (installKeyboardActions): Implemented,
16112 (uninstallKeyboardActions): Implemented,
16113 (getInputMap): New method,
16114 (getActionMap): New method,
16115 (createActionMap): New method,
16116 (installUI): Call installKeyboardActions(),
16117 (uninstallUI): Call uninstallKeyboardActions().
16119 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
16121 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16122 (getActionMap): Use correct key to store action map.
16124 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16126 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16127 (executeInstruction): Added NOT support.
16129 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
16131 * sun/reflect/annotation/AnnotationInvocationHandler.java:
16134 2006-06-08 Tom Tromey <tromey@redhat.com>
16136 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16139 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
16141 * java/lang/management/RuntimeMXBean.java:
16144 2006-06-08 Lillian Angel <langel@redhat.com>
16146 * native/plugin/gcjwebplugin.cc:
16147 (NP_Shutdown): Freed whitelist_filename.
16149 2006-06-08 Lillian Angel <langel@redhat.com>
16151 * native/plugin/Makefile.am:
16152 Removed DATA_DIRECTORY.
16153 * native/plugin/gcjwebplugin.cc:
16154 Added new global fields for whitelist_file
16155 and data_directory. Removed WHITELIST_FILE.
16156 (NP_Initialize): Initialized new fields. Also,
16157 Changed to use new fields.
16158 (NP_Shutdown): Freed data_directory.
16159 (GCJ_New): Changed to use new fields.
16160 (plugin_ask_user_about_documentbase): Likewise.
16162 2006-06-08 Lillian Angel <langel@redhat.com>
16164 * native/plugin/Makefile.am:
16165 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16166 * native/plugin/gcjwebplugin.cc:
16167 Changed all instances of PLUGIN_DATA_DIRECTORY
16170 2006-06-08 Roman Kennke <kennke@aicas.com>
16172 * java/awt/LightweightDispatcher.java
16173 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16174 with convertPointToChild(). This is more efficient and avoids
16175 problems with getLocationOnScreen().
16176 (findTarget): Check for component beeing showing() early.
16177 Simplified AWTUtilities.convertPoint() to a simple substraction
16179 (convertPointToChild): New helper method.
16181 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
16183 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16186 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
16187 Lillian Angel <langel@redhat.com>
16189 * native/plugin/gcjwebplugin.cc
16190 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16191 Also, reset initialized field.
16193 2006-06-08 Lillian Angel <langel@redhat.com>
16195 * javax/swing/plaf/basic/BasicProgressBarUI.java
16196 (paintString): Fixed to paint string at the correct location.
16198 2006-06-08 Roman Kennke <kennke@aicas.com>
16200 * javax/swing/plaf/basic/BasicTreeUI.java
16201 (createDefaultActions): Added new actions.
16202 (TreePageAction.TreePageAction): Set action name.
16203 (TreePageAction.actionPerformed): Implemented.
16204 (TreePageAction.isEnabled): Implemented.
16205 (TreeToggleAction.TreePageAction): Set action name.
16206 (TreeToggleAction.actionPerformed): Implemented.
16207 (TreeToggleAction.isEnabled): Implemented.
16208 (TreeTraverseAction.TreeTraverseAction): Set action name.
16209 (TreeTraverseAction.actionPerformed): Use action name as command.
16210 (TreeTraverseAction.isEnabled): Implemented.
16212 2006-06-08 Roman Kennke <kennke@aicas.com>
16214 * javax/swing/plaf/basic/BasicTreeUI.java
16215 (installKeyboardActions): Rewritten to correctly install the UI
16216 input and action maps.
16217 (getActionMap): New helper method.
16218 (createDefaultActionMap): New helper method.
16219 (TreeHomeAction.TreeHomeAction()): Implemented.
16220 (TreeHomeAction.actionPerformed): Implemented.
16221 (TreeHomeAction.isEnabled): Implemented.
16222 (TreeIncrementAction.TreeIncrementAction()): Implemented.
16223 (TreeIncrementAction.actionPerformed): Use action name as command.
16224 (TreeIncrementAction.isEnabled): Implemented.
16226 2006-06-08 Mark Wielaard <mark@klomp.org>
16229 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16230 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16233 2006-06-08 Mark Wielaard <mark@klomp.org>
16235 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16236 (attrs): Removed unused static.
16238 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
16240 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16241 (getInputMap): New method,
16242 (getActionMap): New method,
16243 (createActionMap): New method,
16244 (installKeyboardActions): Implemented,
16245 (uninstallKeyboardActions): Implemented.
16247 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16249 * javax/swing/border/MatteBorder.java:
16250 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16252 (paintBorder): Added if-statement to abort painting early.
16254 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
16257 * gnu/xml/dom/DomIterator.java:
16258 (successor): Changed expression.
16260 2006-06-08 Sven de Marothy <sven@physto.se>
16262 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16263 (defaultLayout): Do kerning.
16264 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16265 (getKerning): Correct class name, removed unused variable.
16267 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
16269 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16270 libqtpeer.so unconditionally.
16272 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
16274 * java/util/InputMismatchException.java:
16277 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
16279 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16281 2006-06-07 Roman Kennke <kennke@aicas.com>
16283 * javax/swing/plaf/basic/BasicTreeUI.java
16284 (completeUIUninstall): Implemented.
16285 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16286 editing before uninstalling anything.
16287 (isToggleEvent): Implemented.
16288 (selectPathForEvent): Make use of isToggleEvent().
16289 (ComponentHandler.componentMoved): Implemented.
16290 (ComponentHandler.startTimer): Implemented.
16291 (ComponentHandler.getScrollPane): Implemented.
16292 (ComponentHandler.actionPerformed): Implemented.
16294 2006-06-07 Francis Kung <fkung@redhat.com>
16296 * javax/swing/JMenuBar.java:
16297 (getSubElements): Do not return null values.
16299 2006-06-07 Roman Kennke <kennke@aicas.com>
16302 * gnu/regexp/BacktrackStack.java
16303 * gnu/regexp/CharIndexed.java
16304 * gnu/regexp/CharIndexedCharArray.java
16305 * gnu/regexp/CharIndexedCharSequence.java
16306 * gnu/regexp/CharIndexedInputStream.java
16307 * gnu/regexp/CharIndexedString.java
16308 * gnu/regexp/CharIndexedStringBuffer.java
16309 * gnu/regexp/RE.java
16310 * gnu/regexp/REException.java
16311 * gnu/regexp/REFilterInputStream.java
16312 * gnu/regexp/REMatch.java
16313 * gnu/regexp/REMatchEnumeration.java
16314 * gnu/regexp/RESyntax.java
16315 * gnu/regexp/REToken.java
16316 * gnu/regexp/RETokenAny.java
16317 * gnu/regexp/RETokenBackRef.java
16318 * gnu/regexp/RETokenChar.java
16319 * gnu/regexp/RETokenEnd.java
16320 * gnu/regexp/RETokenEndOfPreviousMatch.java
16321 * gnu/regexp/RETokenEndSub.java
16322 * gnu/regexp/RETokenIndependent.java
16323 * gnu/regexp/RETokenLookAhead.java
16324 * gnu/regexp/RETokenLookBehind.java
16325 * gnu/regexp/RETokenNamedProperty.java
16326 * gnu/regexp/RETokenOneOf.java
16327 * gnu/regexp/RETokenPOSIX.java
16328 * gnu/regexp/RETokenRange.java
16329 * gnu/regexp/RETokenRepeated.java
16330 * gnu/regexp/RETokenStart.java
16331 * gnu/regexp/RETokenWordBoundary.java
16332 * gnu/regexp/UncheckedRE.java
16333 * gnu/java/util/regex/BacktrackStack.java
16334 * gnu/java/util/regex/CharIndexed.java
16335 * gnu/java/util/regex/CharIndexedCharArray.java
16336 * gnu/java/util/regex/CharIndexedCharSequence.java
16337 * gnu/java/util/regex/CharIndexedInputStream.java
16338 * gnu/java/util/regex/CharIndexedString.java
16339 * gnu/java/util/regex/CharIndexedStringBuffer.java
16340 * gnu/java/util/regex/RE.java
16341 * gnu/java/util/regex/REException.java
16342 * gnu/java/util/regex/REFilterInputStream.java
16343 * gnu/java/util/regex/REMatch.java
16344 * gnu/java/util/regex/REMatchEnumeration.java
16345 * gnu/java/util/regex/RESyntax.java
16346 * gnu/java/util/regex/REToken.java
16347 * gnu/java/util/regex/RETokenAny.java
16348 * gnu/java/util/regex/RETokenBackRef.java
16349 * gnu/java/util/regex/RETokenChar.java
16350 * gnu/java/util/regex/RETokenEnd.java
16351 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16352 * gnu/java/util/regex/RETokenEndSub.java
16353 * gnu/java/util/regex/RETokenIndependent.java
16354 * gnu/java/util/regex/RETokenLookAhead.java
16355 * gnu/java/util/regex/RETokenLookBehind.java
16356 * gnu/java/util/regex/RETokenNamedProperty.java
16357 * gnu/java/util/regex/RETokenOneOf.java
16358 * gnu/java/util/regex/RETokenPOSIX.java
16359 * gnu/java/util/regex/RETokenRange.java
16360 * gnu/java/util/regex/RETokenRepeated.java
16361 * gnu/java/util/regex/RETokenStart.java
16362 * gnu/java/util/regex/RETokenWordBoundary.java
16363 * gnu/java/util/regex/UncheckedRE.java
16364 Moved gnu.regexp classes to gnu.java.util.regex package.
16365 * java/util/regex/Matcher.java
16366 * java/util/regex/Pattern.java
16367 Adjusted import statements for new package name for gnu regexp.
16369 2006-06-07 Tom Tromey <tromey@redhat.com>
16371 PR classpath/27905:
16372 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16373 Added missing charsets.
16374 (charsetForName): Don't check 'extendedLoaded'.
16376 2006-06-07 Roman Kennke <kennke@aicas.com>
16379 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16380 (clip(Shape)): Implemented correctly, so that the current shape
16381 gets intersected by the parameter shape.
16383 2006-06-07 Lillian Angel <langel@redhat.com>
16385 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16386 (getTabBounds): If this method is called with a tab index
16387 that is not in the rects array, we need to re-layout the container
16390 2006-06-07 Lillian Angel <langel@redhat.com>
16392 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16393 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16394 * java/lang/String.java
16395 (codePointCount): Fixed check to match API. Shouldn't throw exception
16396 if end == count. end is 1 more than the endIndex, so end == count is
16399 2006-06-07 Gary Benson <gbenson@redhat.com>
16402 * native/jni/java-io/java_io_VMFile.c
16403 (Java_java_io_VMFile_toCanonicalForm): New method.
16404 * configure.ac: Added checks for lstat and readlink.
16405 * include/java_io_VMFile.h: Added new method.
16406 * vm/reference/java/io/VMFile.java: Use new method.
16407 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16408 * NEWS: Documented the above.
16409 * java/io/File.java: Javadoc fix.
16411 2006-06-07 Roman Kennke <kennke@aicas.com>
16414 * javax/swing/JTree.java
16415 (JTree()): Initialize with default model.
16416 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16417 on the updateUI() / setModel() order.
16418 (setModel): Correctly (un-)setup the listeners. Clear the expanded
16420 * javax/swing/plaf/basic/BasicTreeUI.java
16421 (BasicTreeUI()): Initialize listeners in installListeners().
16422 (setModel): Complete editing on model change. Correctly resetup
16423 the listeners. Update the layout cache accordingly.
16424 (setShowRootHandles): Complete editing and update layout. Do not
16425 call back into the JTree, this could cause cycles.
16426 (prepareForUIInstall): Implemented. Moved some init code from
16427 installUI() to this method.
16428 (completeUIInstall): Implemented. Moved some init code from
16429 installUI() to this method.
16430 (createDefaultCellEditor): Check for type of renderer, and install
16431 with null renderer when not DefaultTreeCellRenderer.
16432 (updateLayoutCacheExpandedNodes): Added null check for tree root
16434 (updateRenderer): Call updateEditor().
16435 (installListeners): Initialize the listeners here. Added some null
16436 checks to avoid NPEs.
16437 (installUI): Moved some init code to prepareForUIInstall() and
16438 completeUIInstall().
16439 (completeEditing): Return immediately if editing component is null
16440 or if the setting is to not stop editing on complete editing.
16441 (checkForClickInExpandControl): Call handleExpandControlClick()
16442 instead of toggleExpandState() directly.
16443 (isLocationInExpandControl): Rewritten to correctly determine the
16444 expand click location.
16445 (MouseHandler.mousePressed): Rewritten to make better use of the
16446 instance methods of BasicTreeUI to handle the click.
16447 (PropertyHandler.propertyChange): Handle model and cell renderer
16449 * javax/swing/tree/DefaultTreeCellEditor.java
16450 (DefaultTreeCellEditor): Removed initialization of the icon. This
16451 is done so that the constructor can deal with null renderer as the
16452 RI does. Maybe this needs more fixing.
16453 * javax/swing/tree/TreePath.java
16454 (isDescendant): Fixed this method. The previous version did too
16455 much and compared the wrong things, which lead to a ClassCastException
16457 * javax/swing/tree/VariableHeightLayoutCache.java
16458 (update): Do nothing when model is null.
16459 (setModel): Clear the tables and update the layout. Added null
16460 check to prevent NPE.
16462 2006-06-07 Sven de Marothy <sven@physto.se>
16464 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16466 2006-06-07 Sven de Marothy <sven@physto.se>
16468 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16469 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16470 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16473 * gnu/java/awt/peer/gtk/GdkFontPeer.java
16474 (getGlyphVector): Removed native method.
16475 (createGlyphVector, getStringBounds): Use new GV class.
16477 * include/Makefile.am
16478 * native/jni/gtk-peer/Makefile.am
16481 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16482 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16483 (getGlyphVector): Removed native method.
16485 2006-06-07 Chris Burdess <dog@gnu.org>
16487 * gnu/classpath/debug/TeeInputStream.java,
16488 gnu/classpath/debug/TeeOutputStream.java,
16489 gnu/classpath/debug/TeeReader.java,
16490 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16491 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16492 read more characters than absolutely necessary in tryRead method.
16494 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
16496 * examples/gnu/classpath/examples/swing/Demo.java:
16497 (mkMenuBar): Put look and feel radio buttons into
16498 appropriate button group.
16500 2006-06-07 Chris Burdess <dog@gnu.org>
16502 * gnu/xml/stream/SAXParser.java,
16503 gnu/xml/stream/XMLParser.java: Add command line options for setting
16504 parsing parameters (for simpler debugging).
16505 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16506 closing output stream is propagated to application.
16508 2006-06-06 Mark Wielaard <mark@klomp.org>
16511 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16512 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16513 call disposeSurface.
16514 (disposeSurface): New native method.
16515 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16516 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16518 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16519 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16520 cairo_pattern_destroy.
16521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16522 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16523 New function to destroy the surface.
16524 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16525 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16526 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16528 2006-06-06 Mark Wielaard <mark@klomp.org>
16530 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16533 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16535 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16536 (paint): If has focus, paint special background color,
16537 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16538 (FocusHandler.focusGained): Implemented,
16539 (FocusHandler.focusLost): Implemented.
16541 2006-06-06 Tom Tromey <tromey@redhat.com>
16543 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16545 (writeAttributeSet): Implemented.
16547 2006-06-06 Tom Tromey <tromey@redhat.com>
16549 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16551 (SpecialAction.end): Removed.
16552 (IsindexAction.end): Likewise.
16554 2006-06-06 Tom Tromey <tromey@redhat.com>
16556 * include/jni.h (JDK1_1InitArgs): New struct.
16557 (JDK1_1AttachArgs): Likewise.
16559 2006-06-06 Tom Tromey <tromey@redhat.com>
16561 * java/security/UnresolvedPermission.java (getUnresolvedType): New
16563 (getUnresolvedName): New method.
16564 (getUnresolvedActions): New method.
16565 (getUnresolvedCerts): New method.
16567 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16569 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16570 (getColor): Removed debugging code.
16572 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16574 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16575 (getColor): Added support for "rgb(red, green, blue)" notation.
16576 (translateTag): Use Boolean.TRUE, not new Boolean().
16578 2006-06-06 Roman Kennke <kennke@aicas.com>
16581 * javax/swing/JTree.java
16582 (JTree(TreeModel)): Call updateUI() before setModel().
16583 (setModel): Don't call updateUI here.
16585 2006-06-06 Lillian Angel <langel@redhat.com>
16587 * native/plugin/gcjwebplugin.cc:
16588 Fixed failure message and commenting.
16589 (NP_Initialize): Added more comments.
16591 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16593 * javax/swing/JSplitPane.java
16594 (AccessibleJSplitPane): API doc fixes,
16595 (setDividerLocation): Likewise,
16596 * javax/swing/plaf/basic/BasicLookAndFeel.java
16597 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16598 * javax/swing/plaf/basic/BasicSplitPaneUI.java
16599 (getInputMap): New method,
16600 (getActionMap): New method,
16601 (createActionMap): New method,
16602 (installKeyboardActions): Implemented,
16603 (uninstallKeyboardActions): Implemented.
16605 2006-06-06 Roman Kennke <kennke@aicas.com>
16608 * javax/swing/MenuSelectionManager.java
16609 (processKeyEvent): Added check to avoid
16610 ArrayIndexOutOfBoundsException.
16612 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16614 * gnu/javax/swing/text/html/htmlAttributeSet.java
16615 (getAttributeNames): Rewritten
16617 2006-06-06 Chris Burdess <dog@gnu.org>
16619 * gnu/xml/transform/TransformerImpl.java: Check type of created
16620 document (more cases).
16622 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16624 * gnu/javax/swing/text/html/htmlAttributeSet.java
16625 (clone): New method. (copyAttributes): New method.
16626 (getResolveParent): Comment fix. (getAttribute):
16627 Rewritten. (addAttribute): Rewritten.
16628 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16631 2006-06-06 Roman Kennke <kennke@aicas.com>
16634 * javax/swing/JMenuBar.java
16635 (processKeyBindingHelper): Added null check to prevent NPE.
16637 2006-06-06 Roman Kennke <kennke@aicas.com>
16639 * javax/swing/plaf/basic/BasicInternalFrameUI.java
16640 (ShowSystemMenuAction): New class.
16641 (installKeyboardActions): Implemented.
16642 (uninstallKeyboardActions): Implemented.
16643 * javax/swing/plaf/metal/MetalInternalFrameUI.java
16644 (installKeyboardActions): Overridden to remove showSystemMenu action.
16646 2006-06-06 Chris Burdess <dog@gnu.org>
16648 * gnu/xml/transform/TransformerImpl.java: Check type of created
16651 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16653 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16654 (getScreenDevices): Added explicit cast.
16656 2006-06-06 Roman Kennke <kennke@aicas.com>
16658 * javax/swing/plaf/basic/BasicTextUI.java
16659 (installKeyboardActions): Use shared input map. Correctly
16660 install the input/action maps in the component's input/action
16662 (getActionMap): New helper method for fetching an ActionMap from
16663 the UIManager or creating a default one if there is none supplied
16665 (createActionMap): Add the TransferHandler's actions here. Made
16667 (getInputMap): Leave out unnecessary method parameter. Load
16669 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16671 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16673 * configure.ac: Added missing [ to expression.
16675 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16677 * configure.ac: Added missing { to expression.
16679 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16681 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16682 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16683 * include/Makefile.am: Added
16684 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16685 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16686 (GdkGraphicsConfiguration): Rewritten.
16687 (getColorModel): Rewritten.
16688 (getColorModel(int)): Rewritten.
16689 (getBounds): Rewritten.
16690 (createCompatibleVolatileImage): Implemented.
16691 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16693 (getDefaultScreenDevice): Rewritten.
16694 (nativeGetDefaultScreenDevice): New method.
16695 (getScreenDevices): Rewritten.
16696 (nativeGetScreenDevices): New method.
16697 (nativeInitState): New method.
16698 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16700 (X11DisplayMode): New inner class.
16701 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16702 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16703 * native/jni/gtk-peer/gdkdisplay.h: New file.
16704 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16705 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16707 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16709 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16710 _nativeGetScreenDevices):
16712 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16713 _nativeGetDefaultScreenDevice):
16715 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16717 * configure.ac: Added check for Xrandr library.
16719 2006-06-06 Roman Kennke <kennke@aicas.com>
16721 * javax/swing/plaf/basic/BasicTableUI.java
16722 (getMaximumSize): Don't return null. Fixed calculation of
16724 (getMinimumSize): Don't return null. Fixed calculation of
16726 (getPreferredSize): Fixed calculation of with and height. Added
16728 (getHeight): New helper method.
16730 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16732 * javax/swing/JComponent.java
16733 (getInputMap(int)): Throw IllegalArgumentException for unknown
16734 condition argument, and added API docs,
16735 (getInputMap()): Added API docs.
16737 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
16739 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16741 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
16743 * javax/swing/JTable.java
16744 (AccessibleJTableHeaderCell.header): New field,
16745 (AccessibleJTableHeaderCell.columnIndex): Likewise,
16746 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16747 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16748 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16749 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16750 (AccessibleJTable.getAccessibleChild(int)): Overridden,
16751 (AccessibleJTable.getAccessibleAt): Reimplemented.
16753 2006-06-05 Sven de Marothy <sven@physto.se>
16755 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16756 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16757 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16758 (initFromVolatile): New method.
16759 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16760 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16762 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16763 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16764 (copyArea, drawVolatileImage): New methods.
16766 2006-06-05 Tania Bento <tbento@redhat.com>
16768 * javax/swing/JFrame.java
16769 (frameInit): Set background color and fixed layout parameters.
16771 2006-06-05 Tom Tromey <tromey@redhat.com>
16773 * NEWS: Mention VMURLConnection.
16775 2006-06-05 Lillian Angel <langel@redhat.com>
16777 * native/plugin/gcjwebplugin.cc:
16778 Added new field to keep track of initialization.
16779 (plugin_start_appletviewer): Fixed to return an error value, if
16780 an error was encountered when loading the appletviewer.
16781 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16783 (plugin_failed): New helper function. Shows a warning if the appletviewer
16784 has not been installed.
16785 (NP_Initialize): Added code to make sure this function is only called
16788 2006-06-05 Lillian Angel <langel@redhat.com>
16790 * native/plugin/Makefile.am:
16791 Fixed to use a set plugin directory in the .mozilla directory.
16792 All applet logs are now stored here, instead of /tmp.
16793 * native/plugin/gcjwebplugin.cc:
16794 Added new fields for security warning.
16795 (GCJ_NEW): Added code to generate a security warning for all pages
16796 that spawn an appletviewer. This warning asks the user if they trust
16797 the applet and if they would like to add it to a 'whitelist'. This
16798 whitelist keeps track of all the addresses the user would like
16799 to trust indefinitely.
16800 (plugin_user_trusts_documentbase): New helper function.
16801 (plugin_add_documentbase_to_whitelist): New helper function.
16802 (plugin_ask_user_about_documentbase): New helper function.
16803 (plugin_in_pipe_callback): Fixed check to determine if channel_error
16805 (plugin_start_appletviewer): Likewise.
16806 (plugin_create_applet_tag): Reset all fields to null after they have been
16808 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
16809 if channel_error has been set.
16810 (plugin_stop_appletviewer): Likewise.
16811 (NP_Initialize): Likewise. Also, added code to determine if directory and file
16814 2006-06-05 Francis Kung <fkung@redhat.com>
16817 * gnu/java/awt/peer/gtk/GtkImage.java
16818 (getSource): Added check to determine if in
16819 errorLoading state.
16820 * gnu/java/awt/peer/gtk/GtkToolkit.java
16821 (createImage): Added check to prevent NPE.
16823 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16825 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16826 Create the ImageView, when applicable.
16827 * gnu/javax/swing/text/html/CombinedAttributes.java,
16828 javax/swing/text/html/ImageView.java: New files.
16830 2006-06-05 Roman Kennke <kennke@aicas.com>
16833 * javax/swing/text/GapContent.java
16834 (setPositionsInRange): Compare with startIndex and endIndex
16835 rather than start and end.
16836 (dumpMarks): Only dump real marks.
16838 2006-06-05 Sven de Marothy <sven@physto.se>
16840 * gnu/java/awt/peer/gtk/ComponentGraphics.java
16841 (ComponentGraphics): Use 0,0 as clip origin.
16843 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16845 * java/util/Formattable.java,
16846 * java/util/FormattableFlags.java,
16847 * java/util/Formatter.java:
16850 2006-06-04 Tom Tromey <tromey@redhat.com>
16852 * javax/naming/Context.java (list): Genericized.
16853 (listBindings): Likewise.
16854 * javax/naming/Reference.java (addrs): Genericized.
16855 * javax/naming/InitialContext.java (myProps): Fixed type.
16856 (init): Genericized.
16858 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16860 * java/util/DuplicateFormatFlagsException.java,
16861 * java/util/FormatFlagsConversionMismatchException.java,
16862 * java/util/FormatterClosedException.java,
16863 * java/util/IllegalFormatCodePointException.java,
16864 * java/util/IllegalFormatConversionException.java,
16865 * java/util/IllegalFormatException.java,
16866 * java/util/IllegalFormatFlagsException.java,
16867 * java/util/IllegalFormatPrecisionException.java,
16868 * java/util/IllegalFormatWidthException.java,
16869 * java/util/MissingFormatArgumentException.java,
16870 * java/util/MissingFormatWidthException.java,
16871 * java/util/UnknownFormatConversionException.java,
16872 * java/util/UnknownFormatFlagsException.java:
16875 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16877 * java/lang/System.java:
16878 (getenv()): Handle cases where split only
16879 returns an array of size 1.
16881 2006-06-04 Sven de Marothy <sven@physto.se>
16883 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16884 (createVolatileImage): Pass peer to VolatileImage constructor.
16885 * java/awt/Component.java
16886 (createVolatileImage): Call peer method directly.
16888 2006-06-04 Sven de Marothy <sven@physto.se>
16890 * gnu/java/awt/peer/gtk/CairoSurface.java
16891 (getFlippedBuffer): New method.
16892 (getGtkImage): Renamed method.
16893 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16894 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16895 Renamed getSharedImage to getGtkImage.
16896 * include/gnu_java_awt_peer_gtk_CairoSurface.h
16897 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16898 (getFlippedBuffer): New method
16899 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16900 Avoid window casts.
16901 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
16903 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16904 (drawVolatile): Add casts.
16905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16906 (getOutline): Add casts.
16907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16908 Comment out unused prototype.
16909 (getPixels): Add appropriate cast and comment out unused variable.
16911 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16913 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16914 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16915 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16916 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16917 (getSystemInstance): Fix javadoc @link.
16918 (counter): Increased visibility.
16919 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16920 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16921 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
16922 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
16923 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
16924 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
16925 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
16926 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
16927 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
16928 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
16929 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
16930 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
16931 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16932 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
16933 * gnu/javax/crypto/mac/OMAC.java: Likewise.
16934 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
16935 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
16936 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
16937 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
16938 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
16939 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
16940 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
16941 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
16942 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
16943 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
16944 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
16945 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
16946 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
16947 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
16948 * gnu/javax/crypto/assembly/Direction.java: Likewise.
16949 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
16951 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
16953 * gnu/java/security/PolicyFile.java: Updated copyright year.
16954 (logger): Increased visibility.
16955 * gnu/java/security/x509/Util.java: Updated copyright year.
16956 (hexDump): Fix javadoc @link.
16957 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
16958 Removed unused import.
16959 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
16960 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
16961 * gnu/java/security/util/ExpirableObject.java: Likewise.
16962 (destroy): Likewise.
16963 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
16964 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
16965 Updated copyright year.
16966 (checkCRL): Fix javadoc @param.
16968 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
16970 * java/lang/annotation/IncompleteAnnotationException.java:
16973 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
16975 * java/lang/ProcessBuilder.java:
16977 (environment): Create as a copy.
16978 * java/lang/System.java:
16979 (EnvironmentMap.EnvironmentMap(Map<String,String>)):
16981 (EnvironmentMap.put(String,String)): Override superclass
16982 method with checks for nulls and non-Strings.
16984 2006-06-02 Sven de Marothy <sven@physto.se>
16986 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16987 (cairoPreserveClip, cairoResetClip): New methods.
16988 (setClip, clip): Reimplement.
16989 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16990 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16991 (cairoPreserveClip, cairoResetClip): New methods.
16993 2006-06-02 Sven de Marothy <sven@physto.se>
16995 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16996 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16997 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16999 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17000 (drawImage): Overloads for VolatileImage drawing.
17001 (drawVolatile): New method.
17002 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17003 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17004 (drawVolatile): New method.
17005 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17006 Unstub implementation.
17007 * include/Makefile.am
17008 * native/jni/gtk-peer/Makefile.am
17010 * native/jni/gtk-peer/gtkpeer.h
17013 2006-06-03 Roman Kennke <kennke@aicas.com>
17016 * javax/swing/plaf/basic/BasicTextUI.java
17017 (damageRange): Added null check to avoid NPE.
17019 2006-06-03 Roman Kennke <kennke@aicas.com>
17021 * javax/swing/text/PlainView.java
17022 (updateDamage): Check for valid longestLine and initialize if
17025 2006-06-03 Mark Wielaard <mark@klomp.org>
17027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17030 2006-06-02 Sven de Marothy <sven@physto.se>
17033 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17034 (copyArea): Implement.
17035 (copyAreaImpl, getRealBounds): New methods.
17036 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17037 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17038 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17039 (copyAreaImpl, getRealBounds): Implement.
17040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17041 (nativeCopyArea): Reimplement.
17043 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
17045 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17046 (XTEST_LIBS): New, substitute.
17047 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17049 2006-06-02 Roman Kennke <kennke@aicas.com>
17052 * javax/swing/text/PlainView.java
17053 (updateDamage): Rewritten for correct repainting and revalidating.
17054 (findLongestLine): New helper method.
17055 (getLineLength): New helper method.
17057 2006-06-02 Sven de Marothy <sven@physto.se>
17059 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17060 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17061 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17062 (nativeCopyArea): Change stride parameter to use # of ints.
17063 (setPixels): Add checks.
17064 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17065 (ComponentGraphics): Set background, clip.
17066 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17067 (Cairographics2D): Don't set clip.
17068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17071 2006-06-02 Lillian Angel <langel@redhat.com>
17074 * java/awt/DefaultKeyboardFocusManager.java
17075 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17076 to get the focused window.
17078 2006-06-01 Miriam Schuster <schmir11@web.de>
17080 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17081 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17083 2006-06-02 Roman Kennke <kennke@aicas.com>
17085 * javax/swing/JTable.java
17086 (columnSelectionChanged): Don't return when there's only one
17087 column (might still need repainting). Correctly calculate
17089 (valueChanged): Use return value of SwingUtilities.computeUnion
17092 2006-06-01 Keith Seitz <keiths@redhat.com>
17094 From Martin Platter <motse@complang.tuwien.ac.at>:
17095 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17096 (executeSet): Fix buffer underflow reading reference ID.
17097 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17098 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
17099 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17100 (executeSuperclass): Handle case of Object with ID zero.
17102 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17104 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17105 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17106 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17107 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17108 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17109 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17110 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17111 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17112 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17113 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17114 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17116 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17118 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17119 (Command): Add the shutdown hook.
17120 (doCommand): Remove the shutdown hook.
17121 (ShutdownHook): New class.
17123 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
17125 * tools/jarsigner.in: Use @VM_BINARY@.
17126 * tools/keytool.in: Likewise.
17128 2006-06-01 Sven de Marothy <sven@physto.se>
17130 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17131 (setColor): Update the cairo paint.
17133 2006-06-01 Mark Wielaard <mark@klomp.org>
17135 * java/util/logging/LogManager.java (createInstance): Always add
17136 original exception on warning.
17138 2006-06-01 Lillian Angel <langel@redhat.com>
17140 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17141 (prependCodebase): Fixed check. No dirname was ever considered to
17142 be a file, so every applet fell into the if-statement causing a lot
17143 of classloading problems with the applets.
17145 2006-06-01 Sven de Marothy <sven@physto.se>
17147 Patch submitted by Boris Dusek.
17148 * native/jni/qt-peer/qtmenupeer.cpp
17151 2006-06-01 Roman Kennke <kennke@aicas.com>
17153 * javax/swing/JTable.java
17154 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17155 why the behaviour is like it is.
17156 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17157 (AccessibleJTableHeader): New inner class.
17158 (AccessibleJTableHeaderCell): New inner class.
17159 (AccessibleJTable.lastSelectedRow): New field.
17160 (AccessibleJTable.lastSelectedColumn): New field.
17161 (AccessibleJTable.caption): New field.
17162 (AccessibleJTable.summary): New field.
17163 (AccessibleJTable.rowDescriptions): New field.
17164 (AccessibleJTable.columnDescriptions): New field.
17165 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17166 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17167 (AccessibleJTable.isAccessibleChildSelected): Implemented.
17168 (AccessibleJTable.addAccessibleSelection): Implemented.
17169 (AccessibleJTable.removeAccessibleSelection): Implemented.
17170 (AccessibleJTable.clearAccessibleSelection): Implemented.
17171 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17172 (AccessibleJTable.valueChange): Implemented.
17173 (AccessibleJTable.tableRowsInserted): Implemented.
17174 (AccessibleJTable.tableRowsDeleted): Implemented.
17175 (AccessibleJTable.handleRowChange): New helper method.
17176 (AccessibleJTable.columnAdded): Implemented.
17177 (AccessibleJTable.columnMarginChanged): Implemented.
17178 (AccessibleJTable.columnMoved): Implemented.
17179 (AccessibleJTable.columnRemoved): Implemented.
17180 (AccessibleJTable.columnSelectionChanged): Implemented.
17181 (AccessibleJTable.handleColumnChange): New helper method.
17182 (AccessibleJTable.editingCanceled): Implemented.
17183 (AccessibleJTable.editingStopped): Implemented.
17184 (AccessibleJTable.getAccessibleRow): Implemented.
17185 (AccessibleJTable.getAccessibleColumn): Implemented.
17186 (AccessibleJTable.getAccessibleIndex): Implemented.
17187 (AccessibleJTable.getAccessibleCaption): Implemented.
17188 (AccessibleJTable.setAccessibleCaption): Implemented.
17189 (AccessibleJTable.getAccessibleSummary): Implemented.
17190 (AccessibleJTable.setAccessibleSummary): Implemented.
17191 (AccessibleJTable.getAccessibleRowCount): Implemented.
17192 (AccessibleJTable.getAccessibleColumnCount): Implemented.
17193 (AccessibleJTable.getAccessibleAt): Implemented.
17194 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17195 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17196 (AccessibleJTable.getAccessibleRowHeader): Implemented.
17197 (AccessibleJTable.setAccessibleRowHeader): Implemented.
17198 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17199 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17200 (AccessibleJTable.getAccessibleRowDescription): Implemented.
17201 (AccessibleJTable.setAccessibleRowDescription): Implemented.
17202 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17203 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17204 (AccessibleJTable.isAccessibleSelected): Implemented.
17205 (AccessibleJTable.isAccessibleRowSelected): Implemented.
17206 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17207 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17208 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17209 (getAccessibleContext): Register listeners for the accessibility
17210 class on the JTable.
17212 2006-06-01 Sven de Marothy <sven@physto.se>
17214 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17215 (setPaint): Scale +1 pixel larger.
17217 2006-06-01 Sven de Marothy <sven@physto.se>
17220 * gnu/java/awt/Buffers.java (getData): Reimplement.
17221 * gnu/java/awt/peer/gtk/CairoSurface.java
17222 (getElem, setElem): Call native methods.
17224 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17226 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17228 2006-06-01 Sven de Marothy <sven@physto.se>
17230 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17231 (drawImage): Check for zero size.
17232 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17233 (setFont): Declare new native method.
17234 (GdkTextLayout): Read some attributes.
17235 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17236 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17237 (setFont): New native method.
17239 2006-06-01 Sven de Marothy <sven@physto.se>
17241 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17242 (updateBufferedImage): Fix some errors.
17244 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17246 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
17248 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17249 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17250 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17251 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17252 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17253 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17254 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17255 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17256 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17257 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17259 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
17261 * javax/swing/JComboBox.java: Minor source code formatting fixes,
17262 * javax/swing/JEditorPane.java: Likewise,
17263 * javax/swing/JFormattedTextField.java: Likewise,
17264 * javax/swing/JLayeredPane.java: Likewise,
17265 * javax/swing/JScrollPane.java: Likewise,
17266 * javax/swing/JSlider.java: Likewise,
17267 * javax/swing/JSpinner.java: Likewise,
17268 * javax/swing/JTree.java: Likewise,
17269 * javax/swing/JViewport.java: Likewise,
17270 * javax/swing/UIDefaults.java: Likewise,
17271 * javax/swing/UIManager.java: Likewise.
17273 2006-06-01 Sven de Marothy <sven@physto.se>
17275 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17276 (BufferedImageGraphics): Cache surfaces.
17277 (updateBufferedImage): Copy directly for certain color models.
17278 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17279 (drawImage): Reimplement.
17281 2006-06-01 Sven de Marothy <sven@physto.se>
17283 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17284 (setPixels): Don't swap, correct size.
17286 2006-05-31 Anthony Green <green@redhat.com>
17289 * java/net/InetSocketAddress.java: Defer getting the host
17290 name until somebody calls InetSocketAddress.getHostName().
17291 Fix "represenation" typo.
17293 2006-06-01 Sven de Marothy <sven@physto.se>
17295 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17296 (updateBufferedImage): Simplify.
17297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17298 (getPixels): Don't swap.
17300 2006-06-01 Sven de Marothy <sven@physto.se>
17302 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17303 (setGradient): Reimplement.
17305 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
17307 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17308 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17309 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17310 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17311 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17312 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17313 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17316 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17318 * javax/swing/table/JTableHeader.java
17319 (getColumnHeaderRenderer): New method,
17320 (getAccessibleColumnHeaderRenderer): Delegate part to new
17321 getColumnHeaderRenderer() method,
17322 (getLocale): Implemented.
17324 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
17326 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17327 (cp_gtk_grab_current_drawable): Rename
17328 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17329 cp_gtk_grab_current_drawable, remove static declaration.
17330 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17332 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17333 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17334 Remove prototype of
17335 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17336 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17338 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17339 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17340 cp_gtk_grab_current_drawable here.
17342 2006-05-31 Sven de Marothy <sven@physto.se>
17344 Should fix PR 27835
17345 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17346 (updateBufferedImage): Keep within image bounds.
17348 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
17349 Andreas Tobler <a.tobler@schweiz.ch>
17351 * configure.ac: Check for libXrender when the GTK peers are
17352 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17354 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17355 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17356 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17358 2006-05-31 Lillian Angel <langel@redhat.com>
17360 * javax/swing/plaf/basic/BasicProgressBarUI.java
17361 (paintString): Implemented to paint the string vertically.
17363 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17365 * javax/swing/JTable.java
17366 (AccessibleJTable.AccessibleJTable()): Check for null editor,
17367 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
17369 (AccessibleJTable.getAccessibleTable()): Likewise,
17370 (getAccessibleContext): Create new context if required.
17372 2006-05-31 Roman Kennke <kennke@aicas.com>
17374 * javax/swing/JTabbedPane.java
17375 (AccessibleJTabbedPane.stateChanged): Implemented.
17376 (Page.getAccessibleStateSet): Implemented.
17377 (Page.getAccessibleIndexInParent): Implemented.
17378 (getAccessibleContext): Add AccessibleJTabbedPane object
17379 as ChangeListener to the JTabbedPane.
17381 2006-05-31 Roman Kennke <kennke@aicas.com>
17383 * javax/swing/JMenuItem.java
17384 (getAccessibleContext): Register accessible object as ChangeListener
17386 (AccessibleJMenuItem.armed): New field.
17387 (AccessibleJMenuItem.focusOwner): New field.
17388 (AccessibleJMenuItem.pressed): New field.
17389 (AccessibleJMenuItem.selected): New field.
17390 (stateChanged): Implemented.
17392 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17394 * javax/swing/ListSelectionModel.java: Added API docs all over.
17396 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17398 * examples/gnu/classpath/examples/swing/FillRect.java
17399 (paintComponent): Optionally paint lines rather than rectangles.
17400 (createContent): Added option to test line painting.
17402 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
17404 * javax/swing/event/EventListenerList.java
17405 (getListenerList): Updated API docs.
17407 2006-05-30 Sven de Marothy <sven@physto.se>
17409 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17410 (drawImage): Clip scaled image to dest rectangle.
17412 2006-05-30 Sven de Marothy <sven@physto.se>
17414 * gnu/java/awt/peer/gtk/CairoSurface.java:
17415 (CairoSurface): Convert pixels properly.
17416 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17417 Remove commented-out lines.
17419 2006-05-30 Sven de Marothy <sven@physto.se>
17421 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17422 (drawImage): Use Toolkit to convert to BufferedImage.
17423 * gnu/java/awt/peer/gtk/CairoSurface.java
17424 (CairoSurface(GtkImage)): New Constructor.
17425 (getBufferedImage): New method.
17426 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17427 Don't fill background - FIXME.
17428 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17429 Remove unused methods.
17430 * gnu/java/awt/peer/gtk/GtkImage.java:
17431 (pixbuflock): New field. Methods change to use this lock.
17432 * gnu/java/awt/peer/gtk/GtkToolkit.java
17433 (createImage): Use Cairo-backed surfaces via GtkImage instead of
17435 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17436 (setPixels): Correct length in bytes.
17438 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17440 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17441 System.loadLibrary unconditionally.
17442 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17443 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17444 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17445 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17447 2006-05-30 Mark Wielaard <mark@klomp.org>
17449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17450 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17451 Mark unused parameters, remove unused variables.
17453 2006-05-30 Sven de Marothy <sven@physto.se>
17455 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17456 (copyArea): Implemented.
17457 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17458 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17459 (copyAreaNative): New method.
17461 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
17463 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17464 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17465 for non big endian systems.
17466 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17468 2006-05-30 Roman Kennke <kennke@aicas.com>
17470 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17471 * java/awt/TexturePaint.java
17472 (createContext): Implemented.
17474 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17476 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17479 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17481 * java/awt/Container.java:
17482 (removeAll): Reimplemented, added note.
17484 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
17486 * java/awt/Container.java:
17487 (removeAll): Implemented different removal mechanism, added note.
17489 2006-05-30 Lillian Angel <langel@redhat.com>
17492 * java/awt/Component.java:
17493 (translateEvent): Added handling to translate WindowEvents
17494 * java/awt/Window.java:
17495 Removed unneeded imports.
17497 2006-05-30 Mark Wielaard <mark@klomp.org>
17499 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17502 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
17504 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17506 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17508 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17509 (clearRect): Do not reuse the fg field, call updateColor.
17510 (drawRaster): Likewise.
17511 (setColor): Call updateColor.
17512 (updateColor): New method.
17514 2006-05-30 Mark Wielaard <mark@klomp.org>
17516 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17517 (PTR_TO_JLONG): Likewise.
17518 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17519 (getPointer): Use new conversion macros.
17520 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17522 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17524 (setNativeObject): Likewise.
17525 (getNativeObject): Likewise.
17526 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17527 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17529 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17530 Correctly cast XID and pointer values.
17531 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17532 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17533 Mark unused variables.
17534 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17536 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17537 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17538 Remove unused cairographics2d struct.
17539 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17540 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17541 Use new conversion macros.
17542 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17544 2006-05-30 Mark Wielaard <mark@klomp.org>
17546 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17548 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17550 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17551 (copy): Do not reuse the fd field.
17552 (setColor): Do not set the color if the parameter
17554 (translate(double, double): Rewritten to use
17555 AffineTransform.translate.
17557 2006-05-30 Sven de Marothy <sven@physto.se>
17559 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17560 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17561 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17563 * include/Makefile.am
17564 * native/jni/gtk-peer/Makefile.am
17566 * gnu/java/awt/peer/gtk/CairoSurface.java
17567 (getSharedGtkImage): New method.
17568 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17569 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17571 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17572 Support a non-xrender context.
17573 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17575 * gnu/java/awt/peer/gtk/GtkImage.java
17576 * include/gnu_java_awt_peer_gtk_GtkImage.h
17577 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17578 (initFromBuffer): New method.
17579 * native/jni/gtk-peer/gtkpeer.h:
17580 Remove declarations of previouslyremoved methods.
17582 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
17584 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17586 2006-05-29 Mark Wielaard <mark@klomp.org>
17588 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17589 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17591 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17592 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17593 early. Remove unused return statement in void function.
17594 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17597 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17599 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17600 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17602 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17605 2006-05-29 Sven de Marothy <sven@physto.se>
17607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17608 (setPixels): Remove superfluous return statement.
17610 2006-05-29 Sven de Marothy <sven@physto.se>
17612 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17613 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17614 * gnu/java/awt/peer/gtk/CairoSurface.java
17615 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17616 * gnu/java/awt/peer/gtk/ComponentGraphics.java
17617 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17618 * include/gnu_java_awt_peer_gtk_CairoSurface.h
17619 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17620 * native/jni/gtk-peer/cairographics2d.h
17621 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17622 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17625 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17626 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17627 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17630 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17631 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17632 * gnu/java/awt/peer/gtk/GdkFontPeer.java
17633 (releasePeerGraphicsResource): Moved to Font peer class.
17635 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17636 (createGraphics): Use new context classes.
17638 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17639 Use native BufferedImages where possible.
17641 * gnu/java/awt/peer/gtk/GdkTextLayout.java
17642 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17643 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17644 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17645 renamed to cairoDrawGdkTextLayout.
17647 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17648 (getGraphics): Use ComponentGraphics context.
17649 (createImage): Use native BufferedImage.
17651 * gnu/java/awt/peer/gtk/GtkImage.java:
17652 * include/gnu_java_awt_peer_gtk_GtkImage.h
17653 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17654 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17655 Remove drawing methods.
17657 * gnu/java/awt/print/JavaPrinterGraphics.java:
17658 Use CairoSurface instead of GtkImage.
17660 * include/Makefile.am
17661 * native/jni/gtk-peer/Makefile.am
17662 Update for new files.
17664 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17665 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17666 Remove superfluous GtkImage code for GdkPixmaps.
17668 * native/jni/gtk-peer/gtkpeer.h
17669 Remove graphics2d structure.
17671 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17673 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17674 Do not reuse fg in the constructor.
17676 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
17678 * java/io/ObjectStreamConstants.java: Added API docs.
17680 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17682 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17683 Take no action if this color is already set.
17685 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17687 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17689 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17690 Optionally paint with translation. (createContent): Added option
17691 to test painting with translation
17693 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
17695 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17696 pattern to the default value when null.
17697 Pass field pattern, and not parameter with same name to createFileStream.
17699 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
17701 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17702 New class implementing the OS bean.
17703 * gnu/java/lang/management/package.html:
17704 New file to document the gnu.java.lang.management package.
17705 * java/lang/management/ManagementFactory.java:
17706 New class to provide access to the OS bean.
17707 * java/lang/management/OperatingSystemMXBean.java:
17709 * java/lang/management/package.html:
17710 New file to document the java.lang.management package.
17712 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17714 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17717 (SECURITY): Likewise.
17718 (CACERTS): Likewise.
17719 (CACERTS_GKR): Likewise.
17720 (gkrCaCertsPathName): New field.
17721 (jksCaCertsPathName): Likewise.
17722 (selfSignedCertificate): Likewise.
17723 (start): Initialize trusted certificate key stores if -trustcacerts is
17725 (ensureReplyIsOurs): Initialize selfSignedCertificate.
17726 (orderChain): Implemented.
17727 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17728 certificate key stores if -trustcacerts option is specified.
17729 (findTrustInCACerts): Removed.
17730 (getCertPathParameters): New method.
17731 (validate): New method.
17732 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17734 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17736 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17737 (PATTERN_KEY): Likewise.
17738 (DEFAULT_PATTERN): Likewise.
17739 (LIMIT_KEY): Likewise.
17740 (DEFAULT_LIMIT): Likewise.
17741 (COUNT_KEY): Likewise.
17742 (DEFAULT_COUNT): Likewise.
17743 (APPEND_KEY): Likewise.
17744 (DEFAULT_APPEND): Likewise.
17745 (FileHandler()): Use pattern value as set in logging.properties.
17746 Use constants defined above.
17747 (FileHandler(1)): Use constants defined above.
17748 (FileHandler(2)): Likewise.
17749 (FileHandler(3)): Likewise.
17750 (FileHandler(4)): Likewise.
17751 (createFileStream): Likewise.
17753 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17755 * java/util/logging/FileHandler.java: Reverted previous patch.
17756 * java/util/logging/LogManager.java: Likewise.
17758 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
17760 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17761 (DEFAULT_PATTERN): Likewise.
17762 (FileHandler()): Use configured pattern property if any; otherwise use a
17763 default value as per RI documentation.
17764 * java/util/logging/LogManager.java (getStringProperty): New method.
17766 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17768 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17770 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
17772 * configure.ac (FOUND_CACAO): New automake conditional.
17773 Add --enable-tool-wrappers.
17774 * NEWS: Introduce the --enable-tool-wrappers option.
17775 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17776 * tools/appletviewer.c: Remove file. Make tool-indepedent and
17778 * tools/toolwrapper.c: New file.
17780 2006-05-27 Dalibor Topic <robilad@kaffe.org>
17782 * java/awt/Graphics2D.java: Use full class name for
17783 PrinterJob in javadoc.
17785 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
17787 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17788 (callMouseMethod): Likewise.
17790 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17792 * native/jni/java-net/java_net_VMURLConnection.c:
17793 Fix function declarations to specify unused parameters.
17794 * scripts/check_jni_methods.sh:
17795 Remove copies of the same function using uniq.
17797 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
17799 * vm/reference/java/net/VMURLConnection.java:
17800 Make package-private and final.
17802 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17804 * examples/gnu/classpath/examples/swing/TableDemo.java
17805 (TModed): Added editor for the icons column.
17806 (createContent): Increase the row height by 2 px.
17808 2006-05-26 Tom Tromey <tromey@redhat.com>
17810 PR classpath/27685:
17811 * java/math/BigInteger.java (modPow): Correctly handle negative
17814 2006-05-26 Tom Tromey <tromey@redhat.com>
17816 * configure.ac: Check for magic.h and -lmagic.
17817 * vm/reference/java/net/VMURLConnection.java: New file.
17818 * include/java_net_VMURLConnection.h: New file.
17819 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17820 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17821 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17823 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17824 * native/jni/java-net/java_net_VMURLConnection.c: New file.
17826 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17828 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17830 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17832 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17833 libjawtgnu.la libjawt.la.
17835 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
17837 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17840 2006-05-25 Lillian Angel <langel@redhat.com>
17843 * java/awt/Window.java
17844 (Window): Moved code to helper.
17845 (addWindowFocusListener): New function. Handles focus
17846 listener code. Added code to handle focus lost/gained
17849 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
17852 Make pkg-config check for GTK+ >= 2.8.
17854 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17857 (flush): Remove debugging printfs.
17859 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17861 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17862 (schedule_flush): New function.
17863 (end_drawing_operation): Call schedule_flush.
17865 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17867 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17868 paint performance demo.
17869 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17871 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
17873 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
17874 Cairo version requirement. Do not mention --enable-gtk-cairo
17876 * NEWS: Add entry for GdkGraphics2D.
17877 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17878 Cairo library and headers.
17879 * .externalToolBuilders/Configure.launch: Remove
17880 --enable-gtk-cairo from configure line.
17881 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17883 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17884 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17885 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17886 useGraphics2D references. Always assume Graphics2D is enabled.
17887 * gnu/java/awt/peer/gtk/GdkGraphics.java,
17888 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17889 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17890 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17891 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
17892 useGraphics2D references. Always assume Graphics2D is enabled.
17893 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17894 Graphics2D check. Always assume Graphics2D is enabled.
17895 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17896 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17897 (realize): Remove method.
17898 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17899 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17900 (isRealized): Remove method.
17901 (realize): Implement as a native method. Remove useGraphics2D
17902 references. Always assume Graphics2D is enabled.
17903 * gnu/java/awt/peer/gtk/GtkImage.java,
17904 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17905 GdkGraphics references with GdkGraphics2D references.
17906 * gnu/java/awt/peer/gtk/GtkToolkit.java,
17907 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17908 useGraphics2D references. Always assume Graphics2D is enabled.
17909 * include/Makefile.am (GTKPEER_H_FILES): Remove
17910 gnu_java_awt_peer_gtk_GdkGraphics.h.
17911 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17912 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17913 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17914 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17915 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17916 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17917 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17918 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
17919 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17920 (AM_LDFLAGS): Remove CAIRO_LIBS.
17921 (AM_CFLAGS): Remove CAIRO_CFLAGS.
17922 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
17924 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
17926 2006-05-25 Lillian Angel <langel@redhat.com>
17928 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17929 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
17930 Added check to prevent assertion error. If widget->window is null, then
17931 use the parent widget's window to set the cursor on.
17933 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17935 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
17938 2006-05-24 Lillian Angel <langel@redhat.com>
17940 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17941 (prependCodeBase): Added check to determine if the documentbase
17942 points to a directory or a file.
17944 2006-05-24 Sven de Marothy <sven@physto.se>
17946 * java/awt/dnd/DragGestureRecognizer.java
17947 (resetRecognizer): Implement.
17948 (fireDragGestureRecognized): Implement.
17950 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
17952 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
17953 fixed source code formatting.
17955 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17957 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
17959 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17961 Reported by Antony Balkisson.
17962 * javax/swing/JTable.java (selectAll): Return without action
17963 if the table is empty.
17965 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17967 * examples/gnu/classpath/examples/swing/TableDemo.java:
17968 (SliderCell): New inner class. (setCustomEditors,
17969 setInformativeHeaders): New fields. (createContent):
17971 * javax/swing/DefaultCellEditor.java
17972 (JComboBoxDelegate.shouldSelectCell): New method.
17973 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
17974 * javax/swing/plaf/basic/BasicTableUI.java
17975 (MouseInputHandler.mouseClicked): Start editing on a single
17976 click if the cell editor is not a default cell editor.
17978 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17980 * javax/swing/naming/CompositeName.java,
17981 javax/swing/naming/CompoundName.java:
17984 2006-05-23 Archie Cobbs <archie@dellroad.org>
17986 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
17989 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
17991 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
17992 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
17993 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
17994 * javax/swing/tree/DefaultTreeModel.java: Likewise,
17995 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
17996 * javax/swing/tree/ExpandVetoException.java: Likewise,
17997 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
17998 * javax/swing/tree/RowMapper.java: Likewise,
17999 * javax/swing/tree/TreeNode.java: Likewise,
18000 * javax/swing/tree/TreeSelectionModel.java: Likewise,
18001 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18003 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
18005 * javax/swing/tree/DefaultTreeCellRenderer.java
18006 (DefaultTreeCellRenderer): Changed key for
18007 setBackgroundNonSelectionColor(),
18008 plus API docs all over.
18010 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18013 * javax/swing/JTable.java (booleanInvertingEditor): New field.
18014 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18015 Initialise in constructor. (columnMoved): Cancel editing.
18016 (createDefaultEditors): Rewritten. (editCellAt):
18017 Just invert the value if this is a boolean cell.
18018 (initialiseLocalVars): Do not initialise renderer and editor tables.
18019 (setUI): Create editors and renderers here.
18021 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
18023 * examples/gnu/classpath/examples/awt/Demo.java:
18024 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18025 instance as subframe.
18026 (ResolutionWindow): New inner class.
18027 (FullscreenWindow): New inner class.
18029 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18032 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18033 Set horizontal alignment to centered.
18035 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18037 * javax/accessibility/AccessibleContext.java
18038 (getAccessibleComponent): Fixed typo in docs,
18039 * javax/swing/JLabel.java:
18040 (AccessibleJLabel.getAccessibleName): Check for explicit
18042 * javax/swing/JTableHeader.java
18043 (AccessibleJTableHeaderEntry.columnIndex): New field,
18044 (AccessibleJTableHeaderEntry.parent): New field,
18045 (AccessibleJTableHeaderEntry.table): New field,
18046 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
18048 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
18050 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18051 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18052 (AccessibleJTableHeaderEntry.contains): Implemented,
18053 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18054 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18055 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18056 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18057 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18058 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18059 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18060 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18061 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18062 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18063 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18064 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18065 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18066 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18067 (AccessibleJTableHeaderEntry.getBackground): Implemented,
18068 (AccessibleJTableHeaderEntry.getBounds): Implemented,
18069 (AccessibleJTableHeaderEntry.getCursor): Implemented,
18070 (AccessibleJTableHeaderEntry.getFont): Implemented,
18071 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18072 (AccessibleJTableHeaderEntry.getForeground): Implemented,
18073 (AccessibleJTableHeaderEntry.getLocation): Implemented,
18074 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18075 (AccessibleJTableHeaderEntry.getSize): Implemented,
18076 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18077 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18078 (AccessibleJTableHeaderEntry.isShowing): Implemented,
18079 (AccessibleJTableHeaderEntry.isVisible): Implemented,
18080 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18081 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
18083 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18084 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18085 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18086 (AccessibleJTableHeaderEntry.setBackground): Implemented,
18087 (AccessibleJTableHeaderEntry.setBounds): Implemented,
18088 (AccessibleJTableHeaderEntry.setCursor): Implemented,
18089 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18090 (AccessibleJTableHeaderEntry.setFont): Implemented,
18091 (AccessibleJTableHeaderEntry.setForeground): Implemented,
18092 (AccessibleJTableHeaderEntry.setLocation): Implemented,
18093 (AccessibleJTableHeaderEntry.setSize): Implemented,
18094 (AccessibleJTableHeaderEntry.setVisible): Implemented,
18095 (AccessibleJTableHeader.getAccessibleRole): Implemented,
18096 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18097 (AccessibleJTableHeader.getAccessibleChild): Implemented,
18098 (AccessibleJTableHeader.getAccessibleAt): Implemented.
18100 2006-05-22 Tom Tromey <tromey@redhat.com>
18104 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18106 * javax/swing/JLabel.java
18107 (AccessibleJLabel.getAccessibleName): New method (override),
18108 (setLabelFor): Fire 'labelFor' property change event before other
18111 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
18113 * javax/swing/JLabel.java
18114 (AccessibleJLabel.getAccessibleRole): New method (override).
18116 2006-05-22 Tom Tromey <tromey@redhat.com>
18118 * resource/gnu/classpath/tools/serialver/messages.properties: New
18120 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18121 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18123 (classpath): Likewise.
18126 (addFileURL): New method.
18127 (getClassLoader): Likewise.
18128 (printMessage): Likewise.
18130 2006-05-22 Tom Tromey <tromey@redhat.com>
18132 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18134 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18136 * javax/swing/JTable.java (doLayout): In the column
18137 resize mode, only repaing the changed part of the table.
18138 (getLeftResizingBoundary): New method.
18140 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18142 * javax/naming/spi/InitialContextFactory.java,
18143 javax/naming/spi/InitialContextFactoryBuilder.java,
18144 javax/naming/spi/NamingManager.java,
18145 javax/naming/spi/ObjectFactory.java,
18146 javax/naming/spi/ResolveResult.java,
18147 javax/naming/spi/Resolver.java,
18148 javax/naming/spi/StateFactory.java: Documented.
18150 2006-05-21 Tom Tromey <tromey@redhat.com>
18152 PR classpath/27688:
18153 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18155 (initSet): Removed.
18156 (shouldExtract): Removed.
18158 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18159 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18162 (allItems): New field.
18163 (run): Initialize it.
18166 2006-05-22 Sven de Marothy <sven@physto.se>
18168 * java/nio/CharBuffer.java
18169 (wrap): Fix bounds checking.
18171 2004-08-26 Tom Tromey <tromey@redhat.com>
18173 * java/io/OutputStream.java
18174 (OutputStream): Implements Closeable, Flushable.
18176 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
18178 * java/io/ObjectOutputStream.java:
18179 (writeObject(Object)): Added enum support.
18180 (writeClassDescriptor(ObjectStreamClass)): Likewise.
18181 * java/io/ObjectStreamClass.java:
18182 (isEnum()): New package-private method.
18183 (setFlags(Class)): Added enum support.
18184 * java/io/ObjectStreamConstants.java:
18187 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
18189 * java/io/ObjectInputStream.java:
18190 (parseContent(byte)): Added enum support.
18191 * java/io/ObjectStreamConstants.java:
18193 (TC_MAX): Changed to new maximum, TC_ENUM.
18195 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18197 * java/beans/beancontext/BeanContextSupport.java:
18198 (instantiateChild(String)): Implemented.
18200 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18202 * java/beans/beancontext/BeanContextSupport.java:
18203 (add(Object)): Add further documentation.
18204 (isEmpty()): Documented.
18205 (propertyChange(PropertyChangeEvent)): Implemented.
18206 (remove(Object)): Documented.
18207 (remove(Object,boolean)): Documented and implemented.
18208 (vetoableChange(PropertyChangeEvent)): Marked as
18209 implemented (only subclasses appear to need this).
18211 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18213 * java/beans/beancontext/BeanContextSupport.java:
18214 (add(Object)): Implement support for the child being
18215 a BeanContextChild.
18216 (avoidingGui()): Implemented.
18217 (dontUseGui()): Likewise.
18218 (needsGui()): Likewise.
18219 (okToUseGui()): Likewise.
18221 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18223 * javax/naming/Context.java,
18224 javax/naming/ContextNotEmptyException.java,
18225 javax/naming/Reference.java: Documented.
18227 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18229 * javax/swing/text/html/MinimalHTMLWriter.java
18230 (writeComponent, writeImage): Declare that the method
18231 may throw the IOException.
18233 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18236 * javax/naming/InitialContext.java (colon_list): Changed type to
18237 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18238 (merge): Rewritten.
18240 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18242 * javax/naming/InitialContext.java: Documented.
18244 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18246 * javax/naming/NameParser.java,
18247 javax/naming/NamingEnumeration.java,
18248 javax/naming/PartialResultException.java,
18249 javax/naming/SizeLimitExceededException.java,
18250 javax/naming/spi/ObjectFactory.java,
18251 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18253 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
18255 * gnu/java/net/loader/JarURLLoader.java:
18256 Use Map.Entry instead of LinkedHashMap.Entry
18258 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18260 * javax/naming/Context.java: Documented.
18262 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18264 * javax/naming/Referenceable.java: Documented.
18265 * javax/naming/spi/NamingManager.java: Documented.
18267 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
18269 * doc/tools.texinfo: Replaced references to MessageBundle.properties
18270 to messages.properties.
18271 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18272 Renamed to messages.properties.
18273 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18275 * resource/gnu/classpath/tools/jarsigner/messages.properties:
18276 Renamed from MessageBundle.properties.
18277 Added copyright notice.
18278 * resource/gnu/classpath/tools/keytool/messages.properties:
18280 * tools/gnu/classpath/tools/jarsigner/Messages.java
18281 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18282 (getFormattedString): Fixed a spelling mistake.
18283 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18285 2006-05-20 Sven de Marothy <sven@physto.se>
18287 * gnu/java/awt/font/opentype/NameDecoder.java
18289 (getName): Use getShort instead of getChar(), fix PS name.
18290 (decodeName): New method.
18291 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18292 (getSubFamilyName): Implement.
18293 (getPostScriptName): Use the NameDecoder class instead.
18294 (parsePSName): Removed.
18297 2006-05-20 Sven de Marothy <sven@physto.se>
18299 * gnu/java/awt/peer/gtk/GdkFontPeer.java
18300 (getTrueTypeTable): New native method.
18301 (getPostScriptName): Reimplement.
18302 (parsePSName): New method.
18303 (getNumGlyphs): Implement.
18304 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18305 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18306 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18307 New function. File is now explicitly dependent on FT2.
18309 2006-05-20 Tom Tromey <tromey@redhat.com>
18311 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18312 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18314 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18315 (HandleFile): New class.
18316 (input, output, encoding, reversed): New fields.
18317 (createParser): New method.
18320 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18321 (notifyFile): Throws OptionException.
18323 2006-05-20 Tom Tromey <tromey@redhat.com>
18325 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18328 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
18330 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18331 (JCL_print_buffer): Fix to work with -Werror on 64-bit
18334 2006-05-20 Sven de Marothy <sven@physto.se>
18336 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18338 2006-05-20 Sven de Marothy <sven@physto.se>
18340 * gnu/java/awt/print/JavaPrinterJob.java
18341 (print): Use PostScriptGraphics2D.
18342 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18344 2006-05-20 Sven de Marothy <sven@physto.se>
18346 * javax/swing/text/html/MinimalHTMLWriter.java: New file
18348 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18350 * gnu/java/security/OID.java: Updated copyright year.
18351 (OID): Removed unused Javadoc param tag.
18352 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18353 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18355 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18357 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18359 Added trace/debug statements.
18360 (engineSetCertificateEntry): Ensure alias is not already used for a Key
18361 Entry. Also ensure that any previous entry for this alias is removed
18362 before a new one is added.
18363 (engineGetKey): Do not trace/log passwords.
18364 Trace key's class name only.
18365 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18366 Certificate Entry. Also ensure that previous entry for this alias is
18367 removed before a new one is added.
18368 (engineLoad): Do not trace/log passwords.
18369 (engineStore): Likewise.
18370 (engineSize): Use size of enumeration instead of collection size.
18372 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18374 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18375 (toString): New method.
18376 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18377 Do not trace/log passwords.
18378 Set masked to false before decoding envelope.
18379 Do not set payload to null.
18380 (encrypt): Set masked to true.
18381 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18382 Do not trace/log passwords.
18383 Set masked to false before decoding envelope.
18384 Do not set payload to null.
18385 Added trace/debug statements.
18386 (authenticate): Do not trace/log passwords.
18387 Set masked to true.
18388 Added trace/debug statements.
18389 (getMac): Added trace/debug statements.
18390 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18391 (remove(String)): Changed the signature to return a boolean.
18392 (toString): New method.
18393 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18395 (getCertificate): Likewise.
18396 (putCertificate): Likewise.
18398 Do not trace/log passwords.
18400 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18401 Do not trace/log passwords.
18402 Added more trace/logging statements.
18403 (putPrivateKey): Do not trace/log passwords.
18404 Trace only key's class name.
18406 (containsPublicKey): Formatting.
18407 (getPublicKey): Likewise.
18408 Trace only key's class name.
18409 (putPublicKey): Trace only key's class name.
18410 (containsCertPath): Formatting.
18411 (getCertPath): Likewise.
18412 (putCertPath): Likewise.
18413 (load): Do not trace/log passwords.
18416 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18417 (add): Do not set payload to null.
18418 Added trace/debug statements.
18419 (containsAlias): Added trace/debug statements.
18421 (remove(Entry)): Likewise.
18422 (remove(String)): Likewise.
18423 Changed the signature to return a boolean.
18424 Do not set payload to null unless really removed.
18425 (toString): New method.
18426 (decodeEnvelope): Clear entries before proceeding.
18427 (makeAliasList): Added trace/debug statements.
18428 Ensure only non-null aliases and alias-lists are added.
18429 * gnu/javax/crypto/keyring/Entry.java (log): New field.
18430 (TYPES): New constant.
18431 (toString): New method.
18432 (defaultDecode): Add trace/debug statement.
18434 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
18436 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18437 Increased visibility.
18438 (setup): Do not trace/log passwords.
18439 (parsed): Was not setting correct (rfc) field; fixed.
18440 (print1Chain): Formatting.
18441 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18442 Do not trace/log passwords.
18443 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18444 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18445 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18446 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18447 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18448 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18449 (orderChain): Added FIXME.
18450 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18451 Do not trace/log passwords.
18452 Removed commented out code.
18453 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18454 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18455 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18456 (setKeystoreURLParam): Likewise.
18457 (setKeystorePasswordParam): Do not trace/log passwords.
18458 (saveKeyStore): Likewise.
18460 2006-05-19 Roman Kennke <kennke@aicas.com>
18462 * gnu/java/awt/java2d/AbstractGraphics2D.java
18464 (pixel): Removed obsolete field.
18465 (draw(Shape)): Removed commented out code.
18466 (drawImage): Formatting.
18467 (drawString): Added optimization hook.
18468 (setPaint): Removed rawSetForeground().
18469 (getFontRenderContext): Return context with correct transform.
18470 (drawGlyphVector): Draw complete outline in one go.
18471 (copyArea): Added optimization hook.
18472 (clearRect): Added optimization hook.
18473 (drawImage): Added optimization hook.
18474 (fillShape): (Temporarily) Set antialiasing off by default for
18475 font rendering. Adjust the shape by some bits to improve rendering.
18476 Pass clip bounds to the render methods.
18477 (drawPixel): Removed.
18478 (rawSetPixel): Removed.
18479 (rawSetForeground): Removed.
18480 (rawDrawLine): Default impl calls standard pipeline.
18481 (rawDrawString): New method, calls standard pipeline for rendering.
18482 (rawClearRect): New method, calls standard pipeline for rendering.
18483 (rawFillRect): New method, calls standard pipeline for rendering.
18484 (rawDrawImage): New method, calls standard pipeline for rendering.
18485 (rawCopyArea): New method.
18486 (copyAreaImpl): New method.
18487 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18489 (fillShapeAntialias): Fixed AA rendering.
18490 (fillScanlineAA): Fixed AA rendering.
18491 (getSegments): Take offset into account.
18493 2006-05-19 Sven de Marothy <sven@physto.se>
18495 * javax/swing/text/AbstractWriter.java
18496 (getText): Fix parameters (start, length) not (start, end).
18498 2006-05-19 Tom Tromey <tromey@redhat.com>
18500 PR classpath/27444:
18501 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18502 Changed return type.
18503 * java/net/URLClassLoader.java (urlloaders): Removed.
18504 (addURLImpl): Updated.
18505 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18506 (indexSet): Likewise.
18507 (classPath): Changed type.
18508 (JarURLLoader): New constructor.
18509 (initialize): New method.
18510 (getResource): Use index set if it exists.
18511 (getClassPath): Updated.
18512 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18513 (prefixes): New field.
18514 (headers): Removed.
18515 (IndexListParser): Fill in prefixes.
18516 (clearAll): Clear prefixes.
18517 (getHeaders): Changed return type.
18519 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18521 * javax/swing/plaf/basic/BasicTableHeaderUI.java
18522 (MouseInputHandler.mouseExitted): No nothing there.
18523 (MouseInputHandler.endDragging): Move column to the
18524 first/last position if released outside the horizontal
18527 2006-05-19 Lillian Angel <langel@redhat.com>
18529 * java/awt/font/GlyphVector.java
18530 (getGlyphCharIndex): Implemented.
18531 (getGlyphCharIndices): Implemented.
18532 (getGlyphOutline): Implemented.
18533 (getGlyphVisualBounds): Implemented.
18534 (getGlyphVisualBounds): Implemented.
18535 (getPixelBounds): Implemented.
18536 (getLayoutFlags): Implemented.
18538 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18540 * java/awt/LightweightDispatcher.java: Added field dragButton and
18541 documentation for it.
18542 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18543 added subexpression to if-clause in MOUSE_RELEASED case.
18545 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18547 * javax/swing/metal/MetalButtonUI.java:
18548 (update): Removed some subexpression from if-clause and call
18549 updateWithGradient.
18550 (updateWithGradient): New method.
18552 2006-05-19 Roman Kennke <kennke@aicas.com>
18554 * javax/swing/JComponent.java
18555 (findOverlapFreeParent): Implemented algorithm for finding
18556 overlapping in component hierarchy.
18558 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
18560 * java/lang/Thread.java
18561 (contextClassLoaderIsSystemClassLoader): New field.
18562 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18563 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18564 and set contextClassLoaderIsSystemClassLoader.
18565 (Thread(ThreadGroup,Runnable,String,long)):
18566 Set contextClassLoaderIsSystemClassLoader.
18567 (createAnonymousThreadName): New method.
18568 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18569 and fixed security check.
18570 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18572 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
18574 * javax/swing/plaf/basic/BasicToolBarUI.java:
18575 (createNonRolloverBorder): Rewritten.
18576 (createRolloverBorder): Rewritten.
18577 (setToNonRolloverBorder): Store old border instance in hashtable.
18578 (setToRolloverBorder): Store old border instance in hashtable, use
18579 AbstractButton instead of JButton in statements.
18580 (setBorderToNormal): Rewritten.
18581 * javax/swing/plaf/metal/MetalLookAndFeel.java:
18582 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18583 ToolBar.nonrolloverBorder.
18585 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
18587 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18588 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18590 2006-05-18 Lillian Angel <langel@redhat.com>
18592 * java/awt/font/GlyphMetrics.java
18593 (getLSB): Implemented.
18594 (getRSB): Implemented.
18596 2006-05-18 Lillian Angel <langel@redhat.com>
18598 * java/awt/font/GraphicAttribute.java:
18599 Documented entire class.
18600 (GraphicAttribute): Added check for alignment.
18601 (getBounds): Implemented.
18602 (getJustificationInfo): Implemented.
18604 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18606 * java/awt/LightweightDispatcher.java:
18607 (handleMouseEvent): Added note, added subexpression to if-statement.
18609 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
18611 * javax/swing/plaf/basic/BasicToolBarUI.java:
18612 (navigateFocusedComp): Marked as stub.
18613 (createRolloverBorder): Create a different Border instance, added note.
18614 * javax/swing/plaf/metal/MetalBorders.java:
18615 (ButtonBorder): Added documentation.
18616 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18617 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18618 subexpression into if-else cascade, added note.
18620 2006-05-18 Lillian Angel <langel@redhat.com>
18622 * java/awt/font/ShapeGraphicAttribute.java:
18623 Documented entire class.
18624 (ShapeGraphicAttribute): Initialized bounds field.
18625 (draw): Implemented.
18626 (equals): Implemented.
18627 (getAdvance): Implemented.
18628 (getAscent): Implemented.
18629 (getBounds): Implemented.
18630 (getDescent): Implemented.
18631 (hashCode): Implemented.
18633 2006-05-18 Roman Kennke <kennke@aicas.com>
18635 * javax/swing/CellRendererPane.java
18636 (CellRendererPane): Set CellRendererPane to invisible.
18638 2006-05-18 Roman Kennke <kennke@aicas.com>
18640 * gnu/java/awt/peer/gtk/GdkGraphics.java
18641 (clipRect): Removed old intersection statement.
18643 2006-05-18 Roman Kennke <kennke@aicas.com>
18645 * gnu/java/awt/peer/gtk/GdkGraphics.java
18646 (clipRect): Don't use Rectangle.intersection() to avoid creating
18647 2 unnecessary Rectangle instances and fix a clipping problem.
18648 (computeIntersection): New helper method, adapted from SwingUtilities.
18650 2006-05-18 Roman Kennke <kennke@aicas.com>
18652 * javax/swing/JComponent.java
18653 (isCompletelyDirty): Removed.
18654 (paint): Don't mark children as clean, this is no longer necessary.
18655 (findOverlapFreeParent): Don't stop at Viewports, this breaks
18656 painting when something overlaps the viewport (like a popup/menu).
18657 * javax/swing/RepaintManager.java
18658 (currentRepaintManagers): Made package private to avoid accessor
18660 (dirtyComponents): Made private.
18661 (dirtyComponentsWork): Made private.
18662 (markCompletelyDirty): Fixed bounds of dirtyrect to be
18663 component-local not parent-local. Do not set flag in JComponent.
18664 (markCompletelyClean): Don't set JComponent flag.
18665 (isCompletelyDirty): Rewritten to return true when the complete
18666 component is marked dirty.
18667 (paintDirtyRegions): Improved parent-merging so that the merged-in
18668 components don't get painted too. 'Outsourced' the compilation
18669 of the repaint root components.
18670 (compileRepaintRoots): New helper method.
18672 2006-05-18 Roman Kennke <kennke@aicas.com>
18675 * javax/swing/text/GapContent.java
18676 (GapContentPosition(int)): Use adapted binarySearch method to
18677 allow for having a greater array than number of entries.
18678 (numMarks): New field, holds the end of the marks list.
18679 (GapContent): Initialize positionMarks with size of 10 instead of 0.
18680 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18681 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18682 (setPositionsInRange): Changed signature to narrow the purpose and
18683 special cases inside. Reimplemented to crunch together equal marks.
18684 (adjustPositionsInRange): Added assertion to make sure we do
18685 not accidentally change the order of the mark. Added some debug
18686 output for a special case of which I don't know if it even exists.
18687 (resetMarksAtZero): Made impl simpler.
18688 (dumpMarks): New debug helper method.
18689 (insertMark): Grow array in bigger chunks to avoid excessive copying.
18690 (binarySearch): New method. An adaption of Arrays.binarySearch()
18691 that allows for an maxIndex parameter.
18693 2006-05-18 Roman Kennke <kennke@aicas.com>
18695 * javax/swing/KeyboardManager.java
18696 (topLevelLookup): Use WeakHashMap to avoid memory leak.
18698 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
18700 * gnu/java/net/loader/JarURLLoader.java
18701 (JarURLLoader): Use a slightly more efficient URL constructor.
18703 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
18705 * gnu/java/awt/print/JavaPrinterGraphics.java
18706 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18707 (drawImage(Image, int, int, ImageObserver)): Likewise,
18708 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18709 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18710 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
18711 ImageObserver)): Likewise,
18712 (drawImage(Image, int, int, int, int, int, int, int, int,
18713 ImageObserver)): Likewise.
18715 2006-05-17 Tom Tromey <tromey@redhat.com>
18717 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18720 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18722 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18723 * javax/swing/border/BevelBorder.java: Likewise,
18724 * javax/swing/border/CompoundBorder.java: Likewise,
18725 * javax/swing/border/TitledBorder.java: Likewise.
18727 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
18729 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18730 * javax/swing/table/DefaultTableModel.java: Likewise,
18731 * javax/swing/table/TableCellEditor.java: Likewise,
18732 * javax/swing/table/TableCellRenderer.java: Likewise.
18734 2006-05-17 Lillian Angel <langel@redhat.com>
18736 * java/awt/font/ImageGraphicAttribute.java:
18737 Documented entire class.
18738 (ImageGraphicAttribute): Changed to call this.
18739 (ImageGraphicAttribute): Implemented.
18740 (draw): Implemented.
18741 (equals): Implemented.
18742 (getAdvance): Implemented.
18743 (getAscent): Implemented.
18744 (getBounds): Implemented.
18745 (getDescent): Implemented.
18746 (hashCode): Implemented.
18747 * javax/swing/text/html/HTMLDocument.java
18748 (create): Removed. Sufficent enough for
18749 super to be called.
18750 (insert): Likewise.
18751 (insertUpdate): Likewise.
18752 (processHTMLFrameHyperlinkEvent): Marked as stub.
18753 (start): Removed FIXME.
18755 (start): Called super.
18756 (end): Called super.
18757 (getElement): removed unneeded code.
18758 (setParagraphAttribute): Removed. Sufficent enough
18759 for super to be called.
18760 (fireChangedUpdate): Likewise.
18761 (fireUndoableEditUpdate): Likewise.
18763 2006-05-17 Lillian Angel <langel@redhat.com>
18765 * java/awt/TexturePaint.java:
18766 Added documentation for class and all functions.
18767 (getTransparency): Implemented.
18769 2006-05-17 Roman Kennke <kennke@aicas.com>
18771 * java/awt/LightweightDispatcher.java
18772 (findTarget): Translate point to child components.
18774 2006-05-17 Roman Kennke <kennke@aicas.com>
18777 * javax/swing/text/GapContent.java
18778 (GapContentPosition): Do no more implement Comparable.
18779 (GapContentPosition.mark): Removed field.
18780 (GapContentPosition.index): New field to hold the index into
18781 the positions array.
18782 (GapContentPosition(int)): Rewritten to use the new indirection
18783 to the positions array.
18784 (GapContentPosition.compareTo): Removed.
18785 (GapContentPosition.getOffset): Synchronized. Fetch mark from
18786 positionMarks array.
18787 (WeakPositionComparator): Removed obsolete class.
18788 (positions): Changed type to WeakHashMap.
18789 (positionMarks): New field, holds the marks of the positions.
18790 (GapContent): Initialize new fields.
18791 (createPosition): Rewritten to use the new indirection
18792 to the positions array.
18793 (getPositionsInRange): Rewritten to use the new indirection
18794 to the positions array.
18795 (setPositionsInRange): Rewritten to use the new indirection
18796 to the positions array.
18797 (adjustPositionsInRange): Rewritten to use the new indirection
18798 to the positions array.
18799 (insertMark): New helper method.
18800 (clearPositionReferences): Removed obsolete methods.
18802 2006-05-17 Lillian Angel <langel@redhat.com>
18804 * java/awt/GraphicsConfiguration.java
18805 (getImageCapabilities): Implemented.
18806 (getBufferCapabilities): Implemented.
18808 2006-05-17 Lillian Angel <langel@redhat.com>
18810 * javax/swing/plaf/basic/BasicSliderUI.java
18811 (focusGained): Implemented.
18812 (focusLost): Implemented.
18813 (paint): Added code to paint the focus.
18814 * javax/swing/plaf/metal/MetalSliderUI.java
18815 (paintThumb): Added code to set the thumbColor.
18816 (paintFocus): Implemented properly.
18818 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18821 * javax/naming/spi/NamingManager.java (getURLContext):
18822 Always search for the factory class in all possible places
18823 and use VMStackWalker.
18824 (forName): New method.
18826 2006-05-17 Roman Kennke <kennke@aicas.com>
18828 * java/awt/LightweightDispatcher.java
18829 (handleMouseEvent): Fixed search algorithm for finding the
18830 mouse event target.
18831 (findTarget): Fixed search algorithm for finding the
18832 mouse event target.
18834 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18836 * javax/naming/spi/NamingManager.java: Documented.
18838 2006-05-17 Mark Wielaard <mark@klomp.org>
18840 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18841 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18842 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18843 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18845 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18848 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18850 (BorderListener.mouseClicked): Detect double-clicks in title pane,
18852 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18854 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
18857 * java/awt/LightweightDispatcher.java:
18858 (handleMouseEvent): Moved assignment into switch-block, added notes.
18860 2006-05-16 Lillian Angel <langel@redhat.com>
18862 * javax/swing/text/StyleContext.java:
18863 Changed staticAttributeKeys to be a Hashtable.
18864 (getStaticAttribute): Implemented.
18865 (getStaticAttributeKey): Implemented.
18866 (readAttributeSet): Implemented.
18867 (writeAttributeSet): Added FIXME. Not sure how
18869 (readAttributes): Implemented.
18870 (writeAttributes): Implemented.
18871 (registerStaticAttibuteKey): Fixed to add key to
18874 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18876 * javax/swing/DefaultButtonModel.java
18877 (setGroup): Removed event notification.
18879 2006-05-16 Lillian Angel <langel@redhat.com>
18881 * javax/swing/plaf/basic/BasicComboBoxUI.java
18882 (installKeyboardActions): Implemented.
18883 (uninstallKeyboardActions): Implemented.
18884 * javax/swing/plaf/basic/BasicComboPopup.java
18885 (uninstallKeyboardActions): Removed FIXME. Nothing
18887 (installKeyboardActions): Likewise.
18888 * javax/swing/plaf/basic/BasicTextUI.java
18889 (uninstallKeyboardActions): Implemented.
18890 * javax/swing/plaf/basic/BasicTreeUI.java:
18891 Added field for hashColor.
18892 Marked stub methods.
18893 (getHashColor): Implemented to use field.
18894 (setHashColor): Likewise.
18895 (getRowX): Implemented.
18896 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
18898 2006-05-16 Roman Kennke <kennke@aicas.com>
18901 * javax/swing/JTable.java
18902 (rowHeights): New field.
18903 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18904 in order to initialize rowHeights correctly.
18905 (tableChanged): Nullify rowHeights when model changes. Only
18906 create default columns from model when corresponding property
18907 is set. Sync table model with rowHeights as appropriate.
18908 (valueChanged): Call repaint with the correct rectangle.
18909 (rowAtPoint): Handle rowHeights.
18910 (getCellRect): Mostly rewritten. Check for boundaries
18911 of model and return (0,0,0,0) or (0,0,width,height) when outside.
18912 Handle component orientation. Round correctly.
18913 (getRowHeight(int)): Implemented for variable row height.
18914 (setRowHeight(int,int)): Implemented for variable row height.
18915 (setRowHeight(int)): Nullify rowHeights.
18916 (setModel): Notify tableChanged().
18917 * javax/swing/plaf/basic/BasicTableUI.java
18918 (installDefaults): Create rendererPane in installUI.
18919 (installUI): Create and install rendererPane.
18920 (uninstallUI): Uninstall rendererPane and nullify rendererPane
18922 (paint): Correctly handle rowMargin.
18924 2006-05-16 Tom Tromey <tromey@redhat.com>
18926 PR classpath/27563:
18927 * java/text/NumberFormat.java (getIntegerInstance): Use
18928 "integerFormat", not "numberFormat".
18930 2006-05-16 Lillian Angel <langel@redhat.com>
18932 * javax/swing/JPopupMenu.java
18933 (addMenuKeyListener): Implemented.
18934 (removeMenuKeyListener): Implemented.
18935 (getMenuKeyListeners): Implemented.
18936 * javax/swing/ProgressMonitor.java:
18937 Added new protected field.
18938 (getAccessibleContext): Implemented.
18940 2006-05-16 Lillian Angel <langel@redhat.com>
18942 * javax/swing/JFileChooser.java:
18943 Added new private field.
18944 (setDragEnabled): Implemented.
18945 (getDragEnabled): Implemented.
18947 2006-05-16 Lillian Angel <langel@redhat.com>
18949 * java/awt/Window.java
18950 (applyResourceBundle): Implemented.
18952 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
18954 * javax/swing/DefaultButtonModel.java
18955 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
18958 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18960 * javax/swing/JList.java (getSelectedValues):
18961 Ask the value for the indexed array element.
18963 2006-05-16 Roman Kennke <kennke@aicas.com>
18965 * javax/swing/JTable.java
18966 (valueChanged): Also repaint when table has only 1 row. Fixed
18967 repaint rectangle to span the entire changed rows.
18969 2006-05-16 Roman Kennke <kennke@aicas.com>
18972 * javax/swing/JOptionPane.java
18973 (startModal): Rewritten. The events are now dispatched, even
18974 when the event dispatch thread gets blocked by the call
18975 to this method. Also, mouse events get intercepted outside the
18978 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18980 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18981 (BorderListener.mouseDragged):Do not set cursor
18982 if the frame is being dragged.
18984 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18986 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18987 (BorderListener): Rewritten. (InternalFrameBorder):
18988 Made package private.
18989 (InternalFrameBorder.offset):
18990 Renamed to cornerSize, made package private.
18991 (bSize): Made package private.
18993 2006-05-16 Roman Kennke <kennke@aicas.com>
18995 * javax/swing/JMenu.java
18996 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
18997 (AccessibleJMenu.getAccessibleChild): Implemented.
18998 (AccessibleJMenu.getAccessibleSelection): Implemented.
18999 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19000 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19001 (AccessibleJMenu.getAccessibleRole): Documented.
19002 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19003 (AccessibleJMenu.addAccessibleSelection): Implemented.
19004 (AccessibleJMenu.removeAccessibleSelection): Implemented.
19005 (AccessibleJMenu.clearAccessibleSelection): Implemented.
19006 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19007 (createPath): New helper method.
19009 2006-05-15 Tom Tromey <tromey@redhat.com>
19011 * java/text/MessageFormat.java (format): Now varargs.
19013 2006-05-15 Tom Tromey <tromey@redhat.com>
19015 * java/lang/Thread.java (State): Fixed typo.
19017 2006-05-15 Tom Tromey <tromey@redhat.com>
19019 * java/net/URLClassLoader.java: Moved inner classes to
19020 gnu.java.net.loader.
19021 (factoryCache): Changed type.
19022 (URL_LOADER_PREFIX): New constant.
19023 (URLClassLoader): Updated for new factoryCache.
19024 (addURLImpl): Use reflection to search for a loader.
19025 (findClass): Use getClass method on URLLoader.
19026 (getURLStreamHandler): Removed.
19027 * gnu/java/net/loader/URLLoader.java: New file, extracted
19028 from URLClassLoader.
19029 * gnu/java/net/loader/Resource.java: Likewise.
19030 * gnu/java/net/loader/FileResource.java: Likewise.
19031 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19032 * gnu/java/net/loader/JarURLLoader.java: Likewise.
19033 * gnu/java/net/loader/JarURLResource.java: Likewise.
19034 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19035 * gnu/java/net/loader/RemoteResource.java: Likewise.
19036 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19038 2006-05-15 Sven de Marothy <sven@physto.se>
19040 * native/target/generic/target_generic_network.h:
19041 Add a pair of parenthesis.
19043 2006-05-15 Mark Wielaard <mark@klomp.org>
19045 * java/awt/Graphics2D.java: Remove PrinterJob import.
19047 2006-05-15 Mark Wielaard <mark@klomp.org>
19049 * doc/www.gnu.org/announce/20060515.wml: New file.
19050 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19051 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19053 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
19055 * NEWS: Announce inclusion of gcjwebplugin.
19056 Announce inclusion of appletviewer.
19057 * INSTALL: Note gcjwebplugin dependencies.
19059 2006-05-15 Mark Wielaard <mark@klomp.org>
19061 * configure.ac (VERSION): Set to 0.91-generics.
19063 2006-05-15 Mark Wielaard <mark@klomp.org>
19065 * NEWS: Add release date and VMClassLoader.getBootPackages()
19068 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
19070 * README: Added CACAO to list of VMs.
19072 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19074 * javax/swing/RepaintManager.java (paintDirtyRegions):
19075 Break loop as soon as the component repaint is merged
19076 with some parent. (ComponentComparator): Removed.
19077 (comparator): Removed.
19079 2006-05-15 Roman Kennke <kennke@aicas.com>
19081 * javax/swing/border/TitledBorder.java
19082 (paintBorderWithTitle): Fixed indentation.
19084 2006-05-15 Roman Kennke <kennke@aicas.com>
19086 * javax/swing/border/TitledBorder.java
19087 (layoutBorderWithTitle): Fetch border using getBorder() instead
19088 of using the border field directly. Allows for the use of
19089 an UI supplied border in the case when a null border was set.
19090 Fixed component orientation.
19091 (paintBorderWithTitle): Fetch border using getBorder() instead
19092 of using the border field directly. Allows for the use of
19093 an UI supplied border in the case when a null border was set.
19095 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19097 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19098 (contains): New method.
19100 2006-05-15 Tom Tromey <tromey@redhat.com>
19102 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19104 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19107 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19109 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19111 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19112 region. (paintDirtyRegions): Rewritten.
19114 2006-05-15 Tom Tromey <tromey@redhat.com>
19116 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19118 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19120 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19121 (run): Use MessageFormat.
19122 * resource/gnu/classpath/tools/jar/messages.properties: New file.
19123 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19124 (writeFile): Use MessageFormat.
19126 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
19128 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19129 instead of directly calling the class loader.
19131 2006-05-15 Tom Tromey <tromey@redhat.com>
19133 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19134 Removed old comment.
19135 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19136 Externalized strings.
19137 (getVersionString): Use MessageFormat.
19138 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19139 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19140 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19141 (getArgument): Use a MessageFormat.
19142 (handleLongOption): Likewise.
19145 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
19148 * javax/swing/text/FieldView.java:
19149 (paint): Calculate intersection between clip and allocation area and
19150 set that as new clip.
19152 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19154 * javax/swing/text/JTextComponent.java: Marked stub methods.
19156 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19158 * javax/swing/JTable.java: Marked stub methods.
19160 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
19162 * tools/gnu/classpath/tools/jarsigner/Main.java:
19163 Increased visibility of fields used by parser anonymous classes.
19164 (KEYTOOL_TOOL): New constant.
19165 (cmdLineParser): Changed type to ToolParser.
19166 (fileAndAlias): new field.
19167 (main): Don't catch OptionException.
19168 (processArgs): Removed validation checks; now handled by ToolParser.
19169 (getParser): Removed.
19170 (ToolParserCallback): New inner class.
19171 (ToolParser): Likewise.
19173 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19175 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19178 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19180 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
19181 endResizingFrame): Do not repaint, unless in the outline mode.
19183 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19185 * javax/swing/JTabbedPane.java
19186 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19187 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19188 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19189 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19190 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19191 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19192 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19193 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19194 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19195 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19196 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19197 (Page.getAccessibleName): Implemented.
19199 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19201 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19202 Do not repaint nor revalidate here.
19204 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19206 * javax/swing/RepaintManager.java (addDirtyRegion):
19207 If there is a lightweight parent, recursively add the corresponding
19208 region of the parent instead.
19210 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19212 * java/awt/Graphics2D.java: Added some API doc comments.
19214 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19216 * javax/swing/JTabbedPane.java
19217 (paramString): Reimplemented,
19218 (getAccessibleContext): Added API docs.
19220 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
19222 * javax/swing/JFileChooser.java
19223 (paramString): Reimplemented,
19224 (getAccessibleContext): Updated API docs,
19225 (AccessibleJFileChooser): Added API docs.
19227 2006-05-14 Tom Tromey <tromey@redhat.com>
19229 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19231 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19233 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19235 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
19236 validation to JarParser.
19237 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19238 (run): Moved validation to JarParser. Don't throw OptionException.
19239 (initializeParser): Create a JarParser.
19240 (main): Don't catch OptionException.
19241 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19243 (validate): New method.
19244 (parse): Call it. Print '-help' in error message when long-only.
19246 2006-05-14 Tom Tromey <tromey@redhat.com>
19248 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19251 2006-05-15 Sven de Marothy <sven@physto.se>
19253 * gnu/java/awt/print/JavaPrinterGraphics.java:
19254 Sweeping changes I can't be bothered to document in detail.
19255 * gnu/java/awt/print/JavaPrinterJob.java
19256 (getPageAttributes): New method.
19257 (setPageable,cancel,isCancelled): Implement.
19259 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19261 * javax/swing/JCheckBoxMenuItem.java
19262 (requestFocus): Fixed typo in API docs,
19263 (paramString): Just call super.paramString(),
19264 (getAccessibleContext): Added API docs,
19265 (AccessibleJCheckBoxMenuItem): Likewise.
19267 2006-05-14 Tom Tromey <tromey@redhat.com>
19269 * tools/gnu/classpath/tools/jar/Indexer.java
19270 (writeCommandLineEntries): Simplify insertion.
19271 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19274 2006-05-14 Tom Tromey <tromey@redhat.com>
19276 PR classpath/27514:
19277 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
19279 (JAR_INDEX_VERSION_KEY): Likewise.
19280 (IndexListParser): Updated.
19281 (getVersionInfo): Likewise.
19282 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19283 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19285 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19287 (ModeOption): New constructor.
19288 (parsed): Updated. Use setArchiveFile.
19289 (setArchiveFile): New method.
19290 (run): Handle no-argument case.
19291 (main): Emit --help message on option error.
19292 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19293 (createManifest): New method.
19294 (run): Updated. Throws OptionException. Correctly copy zip entry.
19295 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19297 (writeManifest): Removed.
19298 (outputStream): Now a JarOutputStream.
19299 (writeCommandLineEntries): Changed parameters. Updated callers.
19300 (run): Throws OptionException.
19301 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19302 * java/util/jar/Manifest.java (read): Typo fix.
19304 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
19306 * javax/swing/JMenuItem.java
19307 (paramString): Fixed class name in API doc comment.
19309 2006-05-14 Tom Tromey <tromey@redhat.com>
19311 * native/plugin/.cvsignore: Updated.
19313 2006-05-14 Mark Wielaard <mark@klomp.org>
19315 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19318 2006-05-14 Chris Burdess <dog@gnu.org>
19320 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19321 nodes to be preserved during cloneNode.
19323 2006-05-14 Mark Wielaard <mark@klomp.org>
19326 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19327 inherited timeout on socket.
19329 2006-05-14 Lillian Angel <langel@redhat.com>
19331 * java/util/SimpleTimeZone.java: Reverted patch.
19332 (SimpleTimeZone): Throw exception if startMonth ==
19334 (SimpleTimeZone): Likewise.
19335 (checkRule): Rewritten to properly check all values (more
19337 This code is now more stable, at least less buggy than before.
19338 Fixed API documentation.
19339 (setStartRule): Moved checkRule call to end.
19340 (setStartRule): Likewise.
19341 (setEndRule): Likewise.
19342 (setEndRule): Likewise.
19344 2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19346 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19349 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19352 * javax/swing/text/AbstractDocument.java:
19353 (insertString): Flipped if-expression and its blocks.
19355 (replace): Flipped if-expression and its blocks, added note, invoke
19356 insertString and remove instead of insertStringImpl and removeImpl.
19358 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19360 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19362 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
19364 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19366 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19367 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
19368 Increased visibility of fields used by parser anonymous classes.
19369 (processArgs): Removed.
19370 (getParser): New method.
19371 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19372 (setup): Mark (Eclipse) strings that need not be externalised.
19374 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19375 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19376 command line option parsing.
19377 * tools/gnu/classpath/tools/keytool/ListCmd.java:
19378 Increased visibility of fields used by parser anonymous classes.
19379 (processArgs): Removed.
19380 (setup): set 'all' local field.
19381 (getParser): New method.
19382 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
19383 Increased visibility of fields used by parser anonymous classes.
19384 (processArgs): Removed.
19385 (getParser): New method.
19386 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19387 (setNewKeyPassword): Fixed comments.
19388 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
19389 Increased visibility of fields used by parser anonymous classes.
19390 (processArgs): Removed.
19391 (getParser): New method.
19392 (findTrustInCACerts): Mark (Eclipse) strings that need not be
19394 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
19395 Increased visibility of fields used by parser anonymous classes.
19396 (processArgs): Removed.
19397 (setup): Mark (Eclipse) strings that need not be externalised.
19398 (getParser): New method.
19399 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19400 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
19401 Increased visibility of fields used by parser anonymous classes.
19402 (processArgs): Removed.
19403 (getParser): New method.
19404 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19405 (ATTRIBUTES_OPT): New constant.
19406 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
19407 Increased visibility of fields used by parser anonymous classes.
19408 (processArgs): Removed.
19409 (setup): Mark (Eclipse) strings that need not be externalised.
19411 Reduced logging level.
19412 (getParser): New method.
19413 * tools/gnu/classpath/tools/keytool/Command.java
19414 (processArgs): Made it concrete.
19415 (getParser): New abstract method.
19416 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19418 2006-05-13 Casey Marshall <csm@gnu.org>
19420 Patch by Michael Barker <mike@middlesoft.co.uk>.
19421 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19422 * gnu/java/nio/SelectorImpl.java (register): Added condition for
19423 gnu.java.nio.SocketChannelSelectionKeyImpl.
19424 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19425 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19427 * include/gnu_java_nio_VMChannel.h: new file.
19428 * java/nio/FileChannel.java (read,write): changed to call abstract
19430 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19431 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19432 `gnu_java_nio_VMChannel.c.'
19433 * vm/reference/gnu/java/nio/VMChannel.java: new file.
19435 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
19437 * javax/swing/text/AbstractDocument.java:
19438 (insertString): Flipped if-expression and its blocks.
19440 (replace): Flipped if-expression and its blocks, added note, invoke
19441 insertString and remove instead of insertStringImpl and removeImpl.
19443 2006-05-13 Tom Tromey <tromey@redhat.com>
19445 * java/nio/ByteBufferImpl.java (compact): Always set position.
19447 2006-05-13 Sven de Marothy <sven@physto.se>
19449 * gnu/java/awt/print/JavaPrinterGraphics.java
19450 (spoolPostScript): Use a faster writer.
19452 2006-05-13 Sven de Marothy <sven@physto.se>
19454 * gnu/java/awt/print/JavaPrinterGraphics.java
19455 (colorTripleHex): Reimplement better.
19457 2006-05-13 Sven de Marothy <sven@physto.se>
19459 * javax/swing/text/html/HTMLDocument.java
19460 (CharacterAction.start): Translate tag to StyleAttribute.
19461 (pushCharacterStyle): Push copy of attributes onto stack.
19462 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19465 2006-05-13 Sven de Marothy <sven@physto.se>
19467 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19468 * java/awt/print/PrinterJob.java
19469 (getPrinterJob): Return a JavaPrinterJob
19470 (setPrintService,getPrintService): Implement.
19471 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19472 (getPixels): Gtk_threads_enter required.
19473 * gnu/java/awt/print/JavaPrinterGraphics.java
19474 * gnu/java/awt/print/JavaPrinterJob.java
19475 * gnu/java/awt/print/SpooledDocumet.java:
19478 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19480 * javax/swing/text/TextAction.java:
19481 (HorizontalMovementAction): New inner class.
19482 (VerticalMovementAction): New inner class.
19483 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19484 new inner classes to array 'defaultActions'.
19485 (SelectionBeginWordAction): New inner class.
19486 (SelectionEndWordAction): New inner class.
19487 (BeginWordAction): New inner class.
19488 (EndWordAction): New inner class.
19489 (PreviousWordAction.actionPerformed): Rewritten.
19490 (SelectLineAction): New inner class.
19491 (SelectWordAction): New inner class.
19492 (SelectionDownAction): Rewritten.
19493 (SelectionUpAction): Rewritten.
19494 (DownAction): Rewritten.
19495 (UpAction): Rewritten.
19496 (SelectionForwardAction): Rewritten.
19497 (SelectionBackwardAction): Rewritten.
19498 (ForwardAction): Rewritten.
19499 (BackwardAction): Rewritten.
19500 (BeginAction): New inner class.
19501 (EndAction): New inner class.
19502 (DefaultKeyTypedAction.actionPerformed): Use int variant of
19503 Character.isISOControl.
19505 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19507 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19508 (WordFilter.getNextVisualPositionFrom): Added statement to check
19509 for variable pt not being null.
19511 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
19513 * javax/swing/text/Utilities.java:
19514 (getNextWord): Fixed grammar in exception message.
19515 (getPreviousWord): Changed expression in first if-clause, added sub-
19516 expression to if-clause in while-loop.
19517 (getWordStart): Changed expression in if-clause.
19518 getNextVisualPositionFrom): Added package-private helper method.
19520 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19522 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19525 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
19527 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19529 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19530 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19531 * tools/gnu/classpath/tools/jarsigner/Main.java:
19532 Increased visibility of fields used by parser anonymous classes.
19533 (HELP_PATH): Removed.
19534 (cmdLineParser): New field.
19535 (main): Handle JVM exit status.
19536 Handle command line parsing exceptions.
19537 (processArgs): Use getopt command line parser.
19538 (getParser): New method.
19539 (setupCommonParams): Removed checks now handled by processArgs().
19540 (setupSigningParams): Likewise.
19541 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19542 Reuse an existing message-bundle constant.
19544 2006-05-12 Tom Tromey <tromey@redhat.com>
19546 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19547 Explicitly specify class for synchronization.
19549 2006-05-12 Tom Tromey <tromey@redhat.com>
19551 * java/util/logging/Logger.java (resetLogger): Fixed typo.
19553 2006-05-12 Sven de Marothy <sven@physto.se>
19555 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19556 * gnu/java/net/protocol/http/HTTPURLConnection.java
19557 (setConnectTimeout): New method.
19558 (getConnection): Add timeout parameter.
19559 * java/net/URLConnection.java
19560 (getConnectTimeout, setConnectTimeout): Implement.
19561 * native/target/generic/target_generic_network.h:
19562 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19564 2006-05-12 Sven de Marothy <sven@physto.se>
19566 * gnu/javax/print/CupsServer.java
19567 (CupsServer): Make the Cups host configurable.
19568 * java/lang/System.java: Document the system property.
19570 2006-05-12 Roman Kennke <kennke@aicas.com>
19572 * javax/swing/border/TitledBorder.java
19573 (paintBorder): Rewritten for simplicity and correctness.
19574 (layoutBorderWithTitle): New helper method.
19575 (paintBorderWithTitle): New helper method.
19576 (getBorderInsets): Rewritten.
19577 (getMinimumSize): Rewritten.
19578 (getRealJustification): Removed.
19579 (getMeasurements): Removed.
19580 (Measurements): Removed.
19582 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19584 * javax/swing/plaf/basic/BasicPanelUI.java
19585 (sharedUI): New field,
19586 (createUI): Return a shared instance rather than a new instance,
19587 (installUI): Reformatted and added API docs,
19588 (installDefaults): Install border if one is defined,
19589 (uninstallDefaults): Uninstall border.
19591 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
19593 * javax/swing/JProgressBar.java: Updated API docs all over.
19595 2006-05-11 Lillian Angel <langel@redhat.com>
19597 * java/awt/ContainerOrderFocusTraversalPolicy.java
19598 (getComponentAfter): Should not throw exception if
19599 the ancestor is null. Added a check for this.
19600 Also, changed to use new helper function, we should
19601 iterate through all the components at least once.
19602 (getNextAvailableComponent): New helper function.
19603 (getPrevAvailableComponent): New helper function.
19604 (getComponentBefore): Should not throw exception if
19605 the ancestor is null. Added a check for this.
19606 Also, changed to use new helper function, we should
19607 iterate through all the components at least once.
19608 (getFirstComponent): Changed check to manually check
19609 fields. Calling accept() casts the object to a Component,
19610 so different values may be returned.
19611 (getLastComponent): Likewise.
19613 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19615 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19616 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19617 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19618 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19619 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19620 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19621 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19622 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19623 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19624 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19625 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19626 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19627 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19628 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19629 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19630 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19631 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19632 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19634 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19636 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19637 package-private, added field 'active'.
19638 (PropertyChangeHandler.propertyChange): Added variable 'name', added
19639 cases to update field 'active'.
19640 (mouseDragged): Added documentation, added if-clause to update
19641 selection or caret position.
19642 (mouseClicked): Added early return when text component is disabled.
19643 (focusGained): Moved statements into an if-clause.
19644 (focusLost): Added subexpression to if-clause.
19645 (install): Preset value of 'active'.
19646 (paint): Added subexpression to if-clause.
19647 (isVisible): Extended return expression.
19648 * javax/swing/text/JTextComponent.java:
19649 (copy): Copy only if component is enabled.
19650 (cut): Cut only if component is enabled and editable.
19653 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19655 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19656 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19657 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19658 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19659 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19660 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19661 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
19663 2006-05-11 Roman Kennke <kennke@aicas.com>
19665 * gnu/java/awt/font/GNUGlyphVector.java
19666 (GNUGlyphVector): Don't apply the font renderer context's
19669 2006-05-11 Mark Wielaard <mark@klomp.org>
19671 * java/util/logging/Logger.java (global): Initialize inside static
19674 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19676 * javax/swing/JFrame.java
19677 (EXIT_ON_CLOSE): Added note to API docs,
19678 (close_action): Renamed closeAction,
19679 (JFrame()): Change title to "",
19680 (JFrame(String)): Added API docs,
19681 (getAccessibleContext): Likewise,
19682 (getDefaultCloseOperation): Updated for renamed field, added API docs,
19683 (processWindowEvent): Updated for renamed field,
19684 (setDefaultCloseOperation): Likewise, and updated API docs.
19686 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19688 * javax/swing/JFrame.java
19689 (paramString): Reimplemented,
19690 * javax/swing/SwingUtilities.java
19691 (convertWindowConstantToString): New method.
19693 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19695 * javax/swing/WindowConstants.java: Updated API docs.
19697 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19699 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19700 (createUI): Removed 'final' qualifier for parameter,
19701 (paint): Reformatted.
19703 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19705 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19706 (createUI): Removed 'final' qualifier on method argument.
19708 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19710 * javax/swing/plaf/basic/BasicCheckBoxUI.java
19711 (getDefaultIcon): Removed this redundant method.
19713 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
19715 * javax/swing/plaf/basic/BasicRadioButtonUI.java
19716 (paint): Pass component size to paintFocus().
19718 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19720 * java/awt/Component.java:
19721 (dispatchEventImpl): Added comment.
19723 2006-05-11 Mark Wielaard <mark@klomp.org>
19725 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19726 Option constructor null argument to String.
19728 2006-05-11 Mark Wielaard <mark@klomp.org>
19730 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19731 Fully qualify PathIterator constants
19733 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
19735 * java/awt/Component.java:
19736 (dispatchEventImpl): Added subexpression to if-clause.
19738 2006-05-11 Mark Wielaard <mark@klomp.org>
19740 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19743 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19745 * javax/swing/TransferHandler.java: Marked stub methods.
19747 2006-05-10 Roman Kennke <kennke@aicas.com>
19750 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19751 (installDefaults): Set background of content pane to null, if
19752 no custom color has been installed by the application yet.
19754 2006-05-10 Roman Kennke <kennke@aicas.com>
19757 * javax/swing/JRootPane.java
19758 (createContentPane): Don't set background to null.
19760 2006-05-10 Sven de Marothy <sven@physto.se>
19762 * java/awt/print/PrinterJob.java:
19763 (lookupPrintServices): Un-comment-out.
19765 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
19767 * tools/gnu/classpath/tools/getopt/OptionGroup.java
19768 (FILLER): New constant.
19769 (formatText(PrintStream,String,int)): New method.
19770 (formatText(PrintStream,String,int,Locale)): Likewise.
19771 (printHelp): Use formatText method.
19772 * tools/gnu/classpath/tools/getopt/Parser.java
19773 (MAX_LINE_LENGTH): New constant.
19774 (formatText(PrintStream,String)): New method.
19775 (formatText(PrintStream,String,Locale)): Likewise.
19776 (printHelp): New method.
19777 (printHelp(PrintStream)): Increased visibility to protected.
19778 Use formatText method.
19780 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19782 * javax/swing/plaf/metal/MetalRadioButtonUI.java
19783 (installDefaults): Use getPropertyPrefix() to allow subclasses to
19784 modify the lookup key.
19786 2006-05-10 Lillian Angel <langel@redhat.com>
19788 * java/util/SimpleTimeZone.java: Reverted patch.
19789 (SimpleTimeZone): Throw exception if startMonth ==
19791 (SimpleTimeZone): Likewise.
19792 (checkRule): Rewritten to properly check all values (more
19794 This code is now more stable, at least less buggy than before.
19795 Fixed API documentation.
19796 (setStartRule): Moved checkRule call to end.
19797 (setStartRule): Likewise.
19798 (setEndRule): Likewise.
19799 (setEndRule): Likewise.
19801 2006-05-10 Roman Kennke <kennke@aicas.com>
19803 * gnu/java/awt/peer/swing/SwingComponent.java:
19804 Some API comment fixlets.
19805 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19806 (createImage): Create a BufferedImage, not a Toolkit image.
19807 (paint): Removed bogus API comment.
19808 (prepareImage): Added checks to avoid NPE.
19809 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19810 (getInsets): Added check to avoid NPE.
19811 (handleMouseEvent): Added check to avoid NPE.
19812 * gnu/java/awt/peer/swing/SwingFramePeer.java:
19813 Some API comment fixlets.
19814 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19815 Some API comment fixlets.
19816 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19817 Changed start_pos name to startPos.
19818 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19819 Some API comment fixlets.
19821 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
19823 * java/awt/BasicStroke.java
19824 (equals): Fixed typo in HTML tag for API doc comment.
19826 2006-05-10 Gary Benson <gbenson@redhat.com>
19828 * java/lang/ThreadGroup.java (parent): Make package-private.
19829 * java/lang/SecurityManager.java (checkAccess(Thread)):
19830 Reference ThreadGroup.parent directly to avoid extra checks.
19831 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19834 2006-05-10 Roman Kennke <kennke@aicas.com>
19836 Reported by Ingo Proetel (proetel@aicas.com)
19837 * java/awt/EventDispatchThread.java
19838 (DEFAULT_PRIORITY): New constant field.
19839 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19840 system property for adjusting the priority of the event
19843 2006-05-10 Roman Kennke <kennke@aicas.com>
19845 Reported by Ingo Proetel (proetel@aicas.com)
19846 * java/awt/image/ColorModel.java
19847 (S_RGB_MODEL): New constant field.
19848 (getRGBDefault): Return constant SRGBColorModel.
19849 (SRGBColorModel): Specialized color model for sRGB.
19851 2006-05-10 Roman Kennke <kennke@aicas.com>
19853 * java/awt/ColorPaintContext.java
19854 (getRaster): Create Raster with (0,0) as source location.
19856 2006-05-10 Roman Kennke <kennke@aicas.com>
19858 * gnu/java/awt/java2d/AlphaCompositeContext.java
19859 (compose): Don't premultiply alpha to alpha itself.
19861 2006-05-10 Roman Kennke <kennke@aicas.com>
19863 * gnu/java/awt/java2d/AbstractGraphics2D.java
19864 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19865 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19867 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19868 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19869 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19871 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19872 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19874 (scale): Inverse transform by doing 1/scale instead of -scale.
19875 (drawImage(Image,int,int,ImageObserver)): Implemented.
19876 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19877 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19878 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19879 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19881 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19883 (fillScanline): Work on translated destination raster for
19884 correct compositin.
19885 (init): Fetch the clip after the destination raster is initialized.
19886 * gnu/java/awt/java2d/ImagePaint.java: New file.
19887 * gnu/java/awt/java2d/RasterGraphics
19888 (drawImage): Removed.
19890 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19892 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19893 Clarify option descriptions.
19894 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19895 uppercase for metasyntactic variables.
19897 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
19900 * javax/swing/text/AbstractDocument.java:
19901 (insertString): Added more documentation, added argument check.
19902 (remove): Added more documentation.
19903 (removeImpl): Added argument check.
19904 (replace): Added more documentation, added argument check.
19906 2006-05-09 Tom Tromey <tromey@redhat.com>
19908 * tools/.cvsignore: Added appletviewer.
19910 2006-05-09 Tom Tromey <tromey@redhat.com>
19912 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19915 2006-05-09 Tom Tromey <tromey@redhat.com>
19917 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
19918 Special case for '-J'. Use space instead of '='.
19919 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
19922 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19924 * configure.ac: Add --disable-plugin and --with-vm options. Check
19925 for plugin support headers and libraries.
19926 * native/Makefile.am: Recurse into plugin directory.
19927 * native/plugin/.cvsignore: New file.
19928 * native/plugin/Makefile.am: New file.
19929 * native/plugin/gcjwebplugin.cc: New file.
19930 * tools/Makefile.am: Install appletviewer wrapper script.
19931 * tools/appletviewer.in: Replace VM location heuristic with
19932 VM_BINARY configure substitution.
19934 2006-05-09 Tom Tromey <tromey@redhat.com>
19936 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
19937 an initial pass to look for short options. Added 'longOnly' option.
19938 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
19940 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
19941 options into final group. Added -J.
19942 (add): Insert new groups before final group.
19943 (printHelp): Updated.
19945 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19948 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
19949 tools/gnu/classpath/tools/rmi/RMIC.java (main):
19950 Expect -classpath option.
19951 * tools/gnu/classpath/tools/rmi/RMIC.txt,
19952 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
19954 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
19955 (classLoader): New field. (loadClass, setClassPath):
19958 2006-05-09 Roman Kennke <kennke@aicas.com>
19960 * gnu/java/awt/java2d/RasterGraphics.java
19961 (RasterGraphics): Call init() and super().
19962 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
19965 2006-05-09 Gary Benson <gbenson@redhat.com>
19967 * java/lang/Thread.java (Thread): Always perform threadgroup
19968 access checks on thread creation.
19970 2006-05-09 Chris Burdess <dog@gnu.org>
19972 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
19973 be preserved during cloneNode.
19975 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19978 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
19979 Do not demand all thrown exceptions to be an instance of RemoteException.
19981 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
19983 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19984 Use hash-style comments.
19985 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
19988 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
19990 * javax/swing/JLabel.java
19991 (paramString): Added more attribute details,
19992 * javax/swing/SwingUtilities.java
19993 (convertHorizontalAlignmentCodeToString): New method,
19994 (convertVerticalAlignmentCodeToString): New method.
19996 2006-05-08 Tom Tromey <tromey@redhat.com>
19998 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
19999 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20000 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20003 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20005 (run): Use ZipInputStream.
20006 (initSet): New method.
20007 (shouldExtract): Likewise.
20008 (run): Use new methods.
20009 * tools/gnu/classpath/tools/jar/Creator.java
20010 (writeCommandLineEntries): New overload.
20011 (writeFile): Use System.err for verbose.
20012 (writeManifest): New method.
20013 (writtenItems): New field.
20014 (writeFile): Update it.
20015 (writeCommandLineEntries): Return void. Call writeManifest.
20016 (addEntries): Don't add extra '/'.
20017 * NEWS: Mention jar.
20019 2006-05-08 Lillian Angel <langel@redhat.com>
20021 * gnu/java/net/IndexListParser.java: New class.
20022 * java/net/URLClassLoader.java
20023 (JarURLLoader): Fixed code to use new class.
20025 2006-05-08 Roman Kennke <kennke@aicas.com>
20027 * javax/swing/JComboBox.java
20028 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20029 (AccessibleJComboBox.getAccessibleChild): Implemented.
20030 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20031 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20032 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20033 (AccessibleJComboBox.getAccessibleAction): Implemented.
20034 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20035 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20036 (AccessibleJComboBox.doAccessibleAction): Implemented.
20037 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20038 (AccessibleJComboBox.addAccessibleSelection): Implemented.
20039 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20040 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20041 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20043 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
20045 * configure.ac: Add support for building appletviewer.
20046 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20048 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20050 * tools/appletviewer.c: New file.
20051 * tools/appletviewer.in: New file.
20052 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20054 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20056 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20057 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20059 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20061 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20063 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20065 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20067 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20068 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20070 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20072 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20074 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20076 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20078 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20080 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20083 2006-05-08 Tom Tromey <tromey@redhat.com>
20085 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20086 * tools/gnu/classpath/tools/jar/Action.java: New file.
20087 * tools/gnu/classpath/tools/jar/Creator.java: New file.
20088 * tools/gnu/classpath/tools/jar/Entry.java: New file.
20089 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20090 * tools/gnu/classpath/tools/jar/Lister.java: New file.
20091 * tools/gnu/classpath/tools/jar/Main.java: New file.
20092 * tools/gnu/classpath/tools/jar/Updater.java: New file.
20093 * tools/gnu/classpath/tools/getopt/Option.java: New file.
20094 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20095 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20096 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20097 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20100 2006-05-08 Lillian Angel <langel@redhat.com>
20102 * java/net/URLClassLoader.java
20103 (JarURLLoader): Added check to make sure the INDEX.LIST file
20106 2006-05-08 Roman Kennke <kennke@aicas.com>
20108 * gnu/java/awt/java2d/AbstractGraphics2D.java
20109 (fill): Removed commented out code.
20110 (fillShape): Also determine the outline of the clip and feed
20111 it into the rendering method. Use new helper method for
20112 converting the shapes into lists of segments.
20113 (getUserBounds): Removed obsolete method.
20114 (rawFillShape): Respect the clip when rendering shapes.
20115 (fillShapeAntialias): Adjusted signature for new clipped rendering.
20116 However, the implementation can't clip still.
20117 (getSegments): New helper method for converting a shape into
20118 a list of segments.
20119 (clipShape): Removed obsolete method.
20120 * gnu/java/awt/java2d/PolyEdge.java
20121 (isClip): New field.
20122 (PolyEdge): Added isField argument to constructor.
20124 2006-05-08 Roman Kennke <kennke@aicas.com>
20127 * javax/swing/JRootPane.java
20128 (createContentPane): Set background of the content pane to null,
20129 so that the content pane inherits its background from the
20132 2006-05-08 Roman Kennke <kennke@aicas.com>
20135 * javax/swing/ButtonGroup.java
20136 (add): Check if new button is selected and if so, deselect other
20137 buttons in the group.
20139 2006-05-08 Lillian Angel <langel@redhat.com>
20142 * java/net/URLClassLoader.java
20143 (JarURLLoader): Added code to go through
20144 META-INF/INDEX.LIST file to load all jars listed.
20146 2006-05-08 Roman Kennke <kennke@aicas.com>
20149 * javax/swing/ImageIcon.java
20150 (ImageIcon(URL)): Set description to URL.toString().
20152 2006-05-08 Roman Kennke <kennke@aicas.com>
20155 * javax/swing/JTable.java
20156 (IconCellRenderer.getTableCellRendererComponent): Set icon to
20157 null when cell value is null.
20159 2006-05-08 Roman Kennke <kennke@aicas.com>
20162 * javax/swing/DefaultDesktopManager.java
20163 (closeFrame): Don't perform default close action on the frame
20164 to prevent endless loop.
20166 2006-05-08 Roman Kennke <kennke@aicas.com>
20169 * javax/swing/table/DefaultTableModel.java
20170 (addExtraRows): New helper method.
20171 (checkSize): New helper method.
20172 (setRowCount): Use addExtraRows helper method.
20173 (addColumn): Use addExtraRows helper method.
20174 (getColumnName): Check and adjust size if necessary using
20177 2006-05-08 Roman Kennke <kennke@aicas.com>
20180 * javax/swing/JTable.java
20181 (setValueAt): Allow setting values even when table is editable.
20183 2006-05-08 Tom Tromey <tromey@redhat.com>
20185 * java/text/SimpleDateFormat.java (compileFormat): Added missing
20186 space to error message.
20188 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
20190 * javax/swing/AbstractButton.java: Fixed comment typos.
20192 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20194 PR classpath/27435:
20195 * java/util/zip/DeflaterEngine.java:
20196 (deflateFast(boolean,boolean)): Empty buffer when full.
20198 2006-05-07 Sven de Marothy <sven@physto.se>
20201 * java/util/Calendar.java (setTimeZone): Force recalculation.
20203 2006-05-07 Sven de Marothy <sven@physto.se>
20206 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20207 (propertyChange): Handle FRAME_ICON_PROPERTY property.
20209 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
20211 PR classpath/27311:
20212 * gnu/java/text/StringFormatBuffer.java:
20213 (toString()): Implemented so we can see the contents.
20214 * java/text/DecimalFormat.java:
20215 (formatInternal(double,StringFormatBuffer,FieldPosition)):
20216 Don't calculate the exponent when the number is 0 or less.
20217 Also, use log10 instead of log now it's available.
20219 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20221 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20222 Use instance's field creationDate not the constructor's argument.
20223 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20224 Removed unused imports.
20227 (decrypt): Added trace/debug/timing statements.
20228 (encrypt): Likewise.
20229 Use PRNG instead of instantiating every time a new SecureRandom.
20230 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20231 Removed unused imports.
20234 (verify): Added trace/debug/timing statements.
20235 (authenticate): Likewise.
20236 Use PRNG instead of instantiating every time a new SecureRandom.
20238 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
20240 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20241 (THREAD_FORMAT): Likewise.
20242 (dateFormat): Added field.
20243 (threadFormat): Added field.
20244 (format): Initialize instance fields if null.
20245 Use StringBuilder instead of StringBuffer.
20247 2006-05-07 Roman Kennke <kennke@aicas.com>
20249 * gnu/java/awt/java2d/RasterGraphics.java: New file.
20251 2006-05-07 Roman Kennke <kennke@aicas.com>
20253 * gnu/java/awt/java2d/AbstractGraphics2D.java
20254 (fillShape): Determine user space bounds of shape and feed them
20255 into the actual rendering pipeline.
20256 (rawSetPixel): Made non-abstract for now. Maybe remove later.
20257 (rawSetForeground): Likewise.
20258 (getDestinationColorModel): Removed.
20259 (getDeviceBounds): Made non-abstract. Provide useful default impl.
20260 (rawFillShape): Handle paint context.
20261 (fillScanline): Implement painting and compositing.
20262 (fillShapeAntialias): Handle paint context.
20263 (fillScanlineAA): Implemented preliminary antialiasing based on
20264 composite context. Not working yet.
20265 (fillScanlineAlpha): Removed.
20266 (init): Fetch destination raster.
20267 (getDestinationRaster): New abstract method.
20268 (updateRaster): New backend method.
20270 2006-05-07 Roman Kennke <kennke@aicas.com>
20272 * gnu/java/awt/java2d/AlphaCompositeContext.java
20273 (compose): Fixed loops, conditions and logic to make compositing
20276 2006-05-07 Roman Kennke <kennke@aicas.com>
20278 * java/awt/ColorPaintContext.java
20279 (ColorPaintContext): Fixed filling of the raster.
20281 2006-05-07 Sven de Marothy <sven@physto.se>
20284 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20285 * java/awt/Component.java (processMouseEvent):
20286 Do lightweight cursor handling.
20287 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20288 (endResizing,mouseMoved): Save and reset original cursor, not the
20291 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20294 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20295 getNodeDimensions): Mind the size of the node icon. (getRowX):
20296 use totalChildIndent. (TreeExpansionHandler): Set maximal height
20297 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20298 Return nullIcon if there is no other icon. (getNodeIcon): New method.
20299 (installDefaults): assign totalChildIndent. (installUI): Call
20300 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20301 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20304 2006-05-06 Sven de Marothy <sven@physto.se>
20307 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
20308 Check for zero image sizes.
20310 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20313 * java/util/Calendar.java (clear(int)): Forced internal state
20314 completion before performing a field clearing.
20316 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
20318 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20319 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20320 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20321 UnmodifiableMap.UnmodifiableEntrySet.toArray,
20322 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20323 UnmodifiableMapEntry as part of their return value.
20325 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
20327 * tools/keytool.sh.in: Removed (renamed to keytool.in).
20328 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20329 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20330 Generate jarsigner and keytool scripts.
20331 * tools/keytool.in: New file (renamed from keytool.sh.in).
20332 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20333 * tools/.cvsignore: Replaced *.sh with *
20334 * configure.ac: Replaced tools/*.sh with tools/*.
20336 2006-05-05 Roman Kennke <kennke@aicas.com>
20338 * java/awt/image/ColorModel.java
20339 (getNormalizedComponents): Implemented.
20341 2006-05-05 Roman Kennke <kennke@aicas.com>
20343 * javax/swing/plaf/basic/BasicRadioButtonUI.java
20344 (paint): Query the button model for it's state, not the
20347 2006-05-05 Roman Kennke <kennke@aicas.com>
20349 * javax/swing/JTable.java
20350 (tableChanged): Sync selection model with table model changes.
20352 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20354 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20355 if there are no visible nodes to paint.
20357 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20359 * javax/swing/JOptionPane.java: API doc updates.
20361 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20363 * javax/swing/JToolBar.java
20364 (paramString): Reimplemented.
20366 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
20368 * javax/swing/JScrollBar.java
20369 (paramString): Reimplemented.
20371 2006-05-04 Tom Tromey <tromey@redhat.com>
20373 PR classpath/27375:
20374 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20375 (readEntries): Updated.
20376 (getEntries): Likewise.
20377 (getEntry): Likewise.
20378 (getInputStream): Likewise.
20380 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
20382 * gnu/javax/imageio/jpeg/DCT.java,
20383 gnu/javax/imageio/jpeg/HuffmanTable.java,
20384 gnu/javax/imageio/jpeg/JPEGComponent.java,
20385 gnu/javax/imageio/jpeg/JPEGDecoder.java,
20386 gnu/javax/imageio/jpeg/JPEGException.java,
20387 gnu/javax/imageio/jpeg/JPEGFrame.java,
20388 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20389 gnu/javax/imageio/jpeg/JPEGImageReader.java,
20390 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20391 gnu/javax/imageio/jpeg/JPEGMarker.java,
20392 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20393 gnu/javax/imageio/jpeg/JPEGScan.java,
20394 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20395 gnu/javax/imageio/jpeg/ZigZag.java: New files.
20397 2006-05-04 Lillian Angel <langel@redhat.com>
20399 * javax/swing/JLabel.java
20400 (JLabel): Pass in an empty string for the text parameter.
20401 (JLabel): Likewise.
20402 (JLabel): Likewise.
20404 2006-05-04 Roman Kennke <kennke@aicas.com>
20406 * javax/swing/plaf/basic/BasicButtonListener.java
20407 (mouseEntered): Fixed conditions for changing states.
20409 2006-05-04 Roman Kennke <kennke@aicas.com>
20411 * javax/swing/JOptionPane.java
20412 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20414 2006-05-04 Roman Kennke <kennke@aicas.com>
20416 * javax/swing/JLabel.java
20417 (AccessibleJLabel.getSelectedText): Return null instead of "".
20418 (AccessibleJLabel.getSelectionStart): Added comment why
20419 return -1 is correct here.
20420 (AccessibleJLabel.getSelectionEnd): Added comment why
20421 return -1 is correct here.
20422 (AccessibleJLabel.getCharacterAttribute): Added comment about what
20424 (AccessibleJLabel.getCharCount): Added comment about what
20426 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20427 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20428 (paramString): Return super.paramString() here, this provides
20429 a more meaningful output.
20431 2006-05-04 Roman Kennke <kennke@aicas.com>
20433 * javax/swing/JComponent.java
20434 (paint): Added null check to avoid NPE when clip == null.
20436 2006-05-04 Roman Kennke <kennke@aicas.com>
20438 * javax/swing/AbstractButton.java
20439 (addImpl): New method. Installs an OverlayLayout if no
20440 other layout has been installed before.
20441 (setLayout): New method. Detect if a client app installs a custom
20444 2006-05-04 Roman Kennke <kennke@aicas.com>
20446 * javax/swing/table/DefaultTableCellRenderer.java
20447 (noFocusBorder): Fixed width of empty border to 1.
20448 (getTableCellRendererComponent): Don't change the colors for
20449 focuses cells. Fixed border for focused cells.
20451 2006-05-04 Roman Kennke <kennke@aicas.com>
20453 * javax/swing/JTable.java
20454 (moveToCellBeingEdited): Adjust bounding box of editing component
20455 to exactly cover the grid.
20456 * javax/swing/plaf/basic/BasicTableUI.java
20457 (paint): Paint grid to the bottom and right of the cells instead
20458 of left and top. Adjust bounding box of cells accordingly.
20459 * javax/swing/plaf/metal/MetalLookAndFeel.java
20460 (initComponentDefaults): Fixed color of JTable selection border.
20461 * javax/swing/plaf/metal/OceanTheme.java
20462 (addCustomEntriesToTable): Fixed color of JTable selection border.
20464 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
20466 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20467 Use _alias instead of alias.
20469 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20472 Set version to 0.92-pre.
20474 Add space for 0.92 entries.
20476 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
20478 * include/Makefile.am:
20479 Added rules for gnu.java.net.local.LocalSocketImpl.h
20480 * include/java_lang_VMSystem.h:
20481 Regenerated correctly.
20483 2006-05-03 Sven de Marothy <sven@physto.se>
20486 * java/awt/Image.java:
20487 (getScaledInstance): Default to AreaAveraging for "smooth",
20488 don't thrown an error on illegal flag values.
20489 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20491 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20493 * javax/swing/text/FieldView.java:
20494 (adjustAllocation): Added if-block to return null when shape argument
20496 * javax/swing/text/PlainView.java:
20497 (updateDamage): Added if-block to return early if a is null.
20499 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
20501 * javax/swing/plaf/basic/BasicTextUI.java:
20502 (changeUpdate): Added note.
20503 (removeUpdate): Dito.
20504 (insertUpdate): Dito.
20505 (damageRange): Added if-block to return early.
20506 (modelToView): Added check of getVisibleEditorRect's return value.
20507 (getVisibleEditorRect): Return null instead of empty rectangle.
20508 * javax/swing/text/DefaultCaret.java:
20509 (clearHighlight): Removed if-clause to create a highlight entry if it
20510 did not exist before.
20511 * javax/swing/text/WrappedPlainView.java:
20512 (WrappedLine.modelToView): Throw exception if allocation area is empty,
20513 removed 2nd part of if-expression.
20514 (WrappedLine.updateDamage): Added more documentation, added check
20515 whether allocation area rectangle is null.
20517 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20519 * javax/swing/JSplitPane.java (setDividerLocation(int)):
20520 Reset to preferred sizes if the argument is negative.
20522 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
20524 * javax/swing/JList.java: Added/updated API docs.
20526 2006-05-03 Lillian Angel <langel@redhat.com>
20528 * javax/swing/JComponent.java
20529 (getRoot): New private function. Gets the root appropriate
20530 for painting. If an applet exists as a parent, then it is returned.
20531 (paintDoubleBuffered): Changed to use new function.
20532 * javax/swing/RepaintManager.java
20533 (getRoot): New private function. Gets the root appropriate
20534 for painting. If an applet exists as a parent, then it is returned.
20535 (getOffscreenBuffer): Changed to use new function.
20536 * javax/swing/SwingUtilties.java
20537 (getRoot): Reverted last patch to return Window, even if
20540 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20542 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20543 a pair of one public keyring and one private keyring.
20544 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20545 (containsCertificate): Added logging.
20546 (getCertificate): Likewise.
20547 (putCertificate): Likewsie.
20550 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20551 (containsPrivateKey): Added logging.
20552 (getPrivateKey): Likewise.
20553 (putPrivateKey): Likewise.
20554 (containsPublicKey): Likewise.
20555 (getPublicKey): Likewise.
20556 (putPublicKey): Likewise.
20557 (containsCertPath): Likewise.
20558 (getCertPath): Likewise.
20559 (putCertPath): Likewise.
20563 2006-05-03 Roman Kennke <kennke@aicas.com>
20565 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20566 * java/awt/AlphaComposite.java
20567 (createContext): Implemented.
20569 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20571 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20572 Set the current color again after drawing the raster.
20574 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20576 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20577 Do not check pos < currLineEnd if currLineStart == currLineEnd.
20579 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
20581 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20582 Assign returned value to field handler.
20583 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20586 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20588 * javax/swing/ScrollPaneLayout.java (layoutContainer):
20589 Return without action if there is no view in the viewport.
20590 * javax/swing/text/WrappedPlainView.java
20591 (WrappedLine.getPreferredSpan): If metrics == null, update
20593 * javax/swing/tree/DefaultTreeModel.java (constructors):
20594 Do not call setRoot, assign the root node directly.
20596 2006-05-02 Lillian Angel <langel@redhat.com>
20598 * javax/swing/SwingUtilities.java
20599 (getRoot): Should return the Applet if it exists.
20600 Only return the Window if an Applet has not been
20603 2006-05-02 Lillian Angel <langel@redhat.com>
20605 * gnu/javax/swing/text/html/parser/support/Parser.java
20606 (readAttributes): Reverted Audrius' last patch. There is
20607 a slight difference in code between the NUMTOKEN and SLASH case.
20609 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20611 * javax/swing/text/JTextComponent.java:
20612 (setText): Throw InternalError from catch-block.
20613 * javax/swing/text/GapContent.java:
20614 (removed): Removed if-expression, changed '>' to '>='.
20616 2006-05-02 Roman Kennke <kennke@aicas.com>
20618 * gnu/java/awt/java2d/AbstractGraphics2D.java
20619 (AA_SAMPLING): New constant.
20620 (alpha): New field. Used in the antialiasing renderer.
20621 (edgeTable): New field. Used in the antialiasing renderer.
20622 (AbstractGraphics2D): Initialize rendering hints wrt
20624 (draw): Clip after stroking. Commented out clipping for now,
20625 it seems to be buggy.
20626 (fill): Commented out clipping for now, it seems to be buggy.
20627 (setComposite): Don't create composite context.
20628 (setPaint): Only change paint when parameter is not null.
20629 (translate): Call setClip() so subclasses can update their clip
20631 (clip): Call setClip() so subclasses can update their clip
20633 (drawGlyphVector): Added clipping, but left it commented out
20634 because it's buggy.
20635 (getClipBounds): Returns null when clip is null.
20636 (drawLine): Call rawDrawLine with translation applied.
20637 (filLRect): Call rawFillRect with translation applied.
20638 (fillShape): Added support for anti-aliasing.
20639 (rawSetForeground(int,int,int)): New method.
20640 (rawFillShape): A couple of painting fixes.
20641 (fillScanline): Implemented to call rawDrawLine.
20642 (fillShapeAntialias): New method. Implements an anti-aliasing
20644 (fillScanlineAA): New method. Used for the anti-aliasing
20646 (fillScanlineAlpha): New method. Used for the anti-aliasing
20648 (init): Initialize clip with the device bounds.
20649 (updateOptimization): Fixed the optimization condition.
20651 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
20653 * javax/swing/text/GapContent.java:
20654 (GapContent): Restrict size argument by 2.
20655 (insertString): Changed expression from >= to >.
20656 (remove): Changed right side of expression to 'length - 1', changed
20658 (getChars): Throw exception if where below 0.
20659 (replace): Replaced call to setPositionsInRange() with
20660 resetMarksAtZero(), removed note.
20662 2006-05-02 Roman Kennke <kennke@aicas.com>
20665 * javax/swing/MenuSelectionManager.java
20666 (setSelectedPath): Rewritten.
20668 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20670 * gnu/javax/swing/text/html/parser/support/Parser.java
20671 (readAttributes): Merge case NUMTOKEN: and case SLASH:
20674 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20676 * tools/.cvsignore: Added keytool.sh.
20677 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20679 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20681 * doc/tools.texinfo: New file.
20682 * doc/Makefile.am: Generate tools documentation.
20684 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20686 * tools/keytool.sh.in: New file.
20687 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20688 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20689 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20690 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20691 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20692 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20693 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20694 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20695 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20696 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20697 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20698 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20699 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20700 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20701 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20702 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20703 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20704 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20706 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20708 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20709 resemble more closely man-page style text.
20710 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20711 Mark (Eclipse) strings that need not be externalised.
20712 (writeSF): Likewise.
20713 (writeDSA): Likewise.
20714 Use package-private Messages class to provide i18n-ready strings.
20716 Use package-private Messages class to provide i18n-ready strings.
20717 (updateEntry): Likewise.
20718 Mark (Eclipse) strings that need not be externalised.
20719 (finishSigning): Likewise.
20720 * tools/gnu/classpath/tools/jarsigner/Main.java:
20721 Mark (Eclipse) strings that need not be externalised.
20722 (main): Do not use constant strings as class name.
20723 Use package-private Messages class to provide i18n-ready strings.
20724 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20725 (processArgs): Do not use constant strings as class name.
20726 Mark (Eclipse) strings that need not be externalised.
20727 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20728 (start): Do not use constant strings as class name.
20729 (teardown): Likewise.
20731 (setupCommonParams): 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 (installNewProvider): Do not use constant strings as class name.
20736 (setupSigningParams): Do not use constant strings as class name.
20737 Use package-private Messages class to provide i18n-ready strings.
20738 Mark (Eclipse) strings that need not be externalised.
20739 (getCallbackHandler): Use CallbackUtil.
20740 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20741 Use package-private Messages class to provide i18n-ready strings.
20742 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20743 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20744 (verifySF): Likewise.
20745 (verifySFEntries): Do not use constant strings as class name.
20746 Use Boolean.valueOf instead of new Boolean().
20747 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20748 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20750 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20751 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20753 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
20755 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20756 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20757 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20759 2006-05-01 Tom Tromey <tromey@redhat.com>
20761 * java/nio/ByteBufferImpl.java (compact): Don't reset position
20763 * gnu/java/nio/ChannelReader.java (read): Synchronize.
20764 (close): Synchronize.
20765 * java/nio/ShortBufferImpl.java (compact): Rewrote.
20766 * java/nio/LongBufferImpl.java (compact): Rewrote.
20767 * java/nio/IntBufferImpl.java (compact): Rewrote.
20768 * java/nio/FloatBufferImpl.java (compact): Rewrote.
20769 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20770 * java/nio/CharBufferImpl.java (compact): Rewrote.
20771 * gnu/java/nio/ChannelWriter.java: New file.
20772 * java/nio/channels/Channels.java (newWriter): Implemented.
20774 2006-05-01 Lillian Angel <langel@redhat.com>
20776 * java/util/SimpleTimeZone.java
20777 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20778 (SimpleTimeZone): Likewise.
20779 (checkRule): Rewritten to properly check all values (more efficently).
20780 This code is now more stable, at least less buggy than before. Fixed
20782 (setStartRule): Moved checkRule call to end.
20783 (setStartRule): Likewise.
20784 (setEndRule): Likewise.
20785 (setEndRule): Likewise.
20787 2006-05-01 Tom Tromey <tromey@redhat.com>
20789 * lib/.cvsignore: Added classes.2.
20791 2006-05-01 Tom Tromey <tromey@redhat.com>
20793 * java/util/jar/JarFile.java (provider): Now package-private.
20794 * java/lang/Enum.java (compareTo): Javadoc fix.
20795 * java/lang/Boolean.java (compareTo): Javadoc fix.
20797 2006-05-01 Lillian Angel <langel@redhat.com>
20799 * gnu/javax/swing/text/html/parser/support/Parser.java
20800 (readAttributes): Formatted function. Added handling for
20801 SLASH token. The value of an attribute may start with a slash
20802 (i.e. a path). I added handling similar to to the NUMTOKEN code.
20803 We should not be skipping over these type of attributes.
20805 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
20807 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20808 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20809 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20810 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20811 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20812 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20813 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20814 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20815 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20816 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20817 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20818 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20819 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20820 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20821 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20822 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20823 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20824 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20825 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20826 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20827 * include/gnu_java_awt_peer_gtk_GtkImage.h,
20828 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20829 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20830 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20831 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20832 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20833 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20834 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20835 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20836 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20837 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20838 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20839 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20840 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20841 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20842 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20843 * include/gnu_java_awt_peer_qt_MainQtThread.h,
20844 * include/gnu_java_awt_peer_qt_QMatrix.h,
20845 * include/gnu_java_awt_peer_qt_QPainterPath.h,
20846 * include/gnu_java_awt_peer_qt_QPen.h,
20847 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20848 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20849 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20850 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20851 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20852 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20853 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20854 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20855 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20856 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20857 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20858 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20859 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20860 * include/gnu_java_awt_peer_qt_QtGraphics.h,
20861 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20862 * include/gnu_java_awt_peer_qt_QtImage.h,
20863 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20864 * include/gnu_java_awt_peer_qt_QtListPeer.h,
20865 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20866 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20867 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20868 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20869 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20870 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20871 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20872 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20873 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20874 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20875 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20876 * include/gnu_java_awt_peer_qt_QtToolkit.h,
20877 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20878 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20879 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20880 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20881 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20882 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20883 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20884 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20885 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20886 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20887 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20888 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20889 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20890 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20891 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20892 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20893 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20894 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20895 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20896 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20897 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20898 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20899 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20900 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20901 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20902 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20903 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20904 * include/java_lang_VMProcess.h:
20906 * native/jni/java-lang/java_lang_VMProcess.c:
20907 Redirect when pipe_count is 2 not 3.
20909 2006-04-30 Sascha Brawer <sascha@brawer.ch>
20911 * gnu/java/awt/font/FontDelegate.java,
20912 * gnu/java/awt/font/FontFactory.java,
20913 * gnu/java/awt/font/GNUGlyphVector.java,
20914 * gnu/java/awt/font/opentype/CharGlyphMap.java,
20915 * gnu/java/awt/font/opentype/GlyphNamer.java,
20916 * gnu/java/awt/font/opentype/MacResourceFork.java,
20917 * gnu/java/awt/font/opentype/NameDecoder.java,
20918 * gnu/java/awt/font/opentype/OpenTypeFont.java,
20919 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20920 * gnu/java/awt/font/opentype/Scaler.java,
20921 * gnu/java/awt/font/opentype/truetype/Fixed.java,
20922 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
20923 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
20924 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
20925 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
20926 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
20927 * gnu/java/awt/font/opentype/truetype/Zone.java,
20928 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
20929 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
20930 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
20931 New files. Imported font framework from:
20932 http://www.brawer.ch/software/fonts/
20934 2006-04-30 Roman Kennke <kennke@aicas.com>
20936 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
20937 (lastTabInRun): Fix calculation of the last tab in a run. This
20938 has caused painting problems sometimes, making the
20939 last tab painted incorrectly.
20941 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20944 * javax/swing/JComponent.java (paintChildrenWithOverlap):
20945 Use for and not while to prevent the endless loop.
20947 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
20949 * javax/swing/JList.java
20950 (paramString): Changed from public to protected.
20952 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20954 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
20955 (printHelpAndExit): Re-factored to use the above method.
20957 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20959 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
20960 Use -Xbootclasspath/p instead of -cp when invoking the main class.
20961 * tools/gnu/classpath/tools/jarsigner/Main.java:
20962 Changed license to GPL + Exception.
20963 (handler): New field.
20964 (getCallbackHandler): New method.
20965 (setupSigningParams): Use above method.
20966 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
20967 Changed license to GPL + Exception.
20968 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
20969 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
20970 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
20971 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
20973 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20975 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
20976 (handleConfirmation): Use print instead of println.
20977 (handleConfirmation): When case is YES_NO_OPTION, print default option
20979 (handleLanguage): Use print instead of println.
20981 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20983 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
20984 (putComponent): Handle O and OU components.
20985 (getDer): Use correct (it2) iterator.
20986 (readAttributeValue): Read next character and break if end-of-stream.
20988 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
20990 * gnu/java/security/provider/Gnu.java (run):
20991 Add "RSA" as an alias to MD5withRSA.
20992 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
20993 Always encode a NULL as the value of an algorithm parameters field.
20994 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
20995 (encodePrivateKey): Added trace/log statements.
20996 (decodePrivateKey): Likewise.
20997 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
20998 (setup): Added trace/log statements.
20999 (generate): Likewise.
21000 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21001 (toString): New method.
21002 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21004 (toString): New method.
21005 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21006 (getEncoded): Use defaultFormat.
21007 (toString): New method.
21008 * gnu/java/security/key/dss/DSSKey.java (toString):
21009 Include defaultFormat in string.
21010 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21011 Break if successfully decoded public key.
21012 (engineGeneratePrivate): Break if successfully decoded private key.
21014 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
21016 * java/security/Security.java <clinit>: Add our Callback provider.
21017 * resource/java/security/classpath.security: Likewise
21019 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21022 * javax/swing/ScrollPaneLayout.java (layoutContainer):
21023 Decide about scroll bars from the preferred view size, not
21025 * javax/swing/ViewportLayout.java (layoutContainer):
21026 Do not change returned preferred size. Do not treat JScrollPane
21029 2006-04-28 Sven de Marothy <sven@physto.se>
21031 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
21032 * javax/swing/ProgressMonitor.java (actionPerformed):
21033 Avoid divide-by-zero.
21035 2006-04-28 Sven de Marothy <sven@physto.se>
21037 * javax/swing/JSpinner.java: Fix default text justification.
21038 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21040 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21042 * javax/swing/JList.java
21043 (getMinSelectionIndex): Return correct value, added API docs,
21044 (getMaxSelectionIndex): Added API docs.
21046 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21048 * javax/swing/JList.java
21049 (JList(Object[])): Pass new model directly to init(),
21050 (JList(Vector)): Likewise,
21051 (JList(ListModel)): Renamed argument and updated API docs,
21052 (init): Throw IllegalArgumentException for null argument,
21053 (setListData(Object[])): Delegate model creation,
21054 (setListData(Vector)): Likewise,
21055 (createListModel(Object[])): New private method,
21056 (createListModel(Vector)): New private method,
21057 (paramString): Implemented.
21059 2006-04-28 Tom Tromey <tromey@redhat.com>
21061 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21063 (isSynthetic): Likewise.
21064 (isAnnotation): Likewise.
21065 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21066 (isAnnotation): Likewise.
21067 (isEnum): Likewise.
21069 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21071 * javax/swing/text/View.java:
21072 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21075 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21077 * javax/swing/text/View.java:
21078 (getNextVisualPositionFrom): Rewritten.
21079 * javax/swing/text/CompositeView.java:
21080 (getNextEastWestVisualPositionFrom): Partly implemented.
21081 (getNextNorthSouthVisualPositionFrom): Partly implemented.
21083 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
21085 * javax/swing/JList.java
21086 (setFixedCellHeight): Use correct property name for event.
21088 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
21090 * javax/swing/text/Utilities.java:
21091 (getNextWord): Use codePointAt instead of charAt, added note, changed
21092 if-expression, added throwing of exception.
21093 (getPreviousWord): Use codePointAt instead of charAt.
21095 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
21097 * java/lang/StringBuilder.java
21098 (ensureCapacity, getChars, append(StringBuffer),
21099 append(char[],int,int), delete, replace, insert(int,char[],int,int),
21100 insert(int,String), insert(int,char), trimToSize): Replaced
21101 System.arraycopy calls with VMSystem.arraycopy.
21103 2006-04-27 Tom Tromey <tromey@redhat.com>
21105 * java/awt/image/renderable/RenderableImageProducer.java
21106 (requestTopDownLeftRightResend): Implemented.
21108 (startProduction): Add new consumer.
21110 2006-04-27 Sven de Marothy <sven@physto.se>
21112 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21114 2006-04-27 Roman Kennke <kennke@aicas.com>
21116 * java/awt/LightweightDispatcher.java
21117 Dispatch events only to targets that have a mouselistener
21118 attached. Changed to also handle null targets.
21120 2006-04-27 Roman Kennke <kennke@aicas.com>
21122 * NEWS: Added entries about accessibility support and L&F
21123 window decorations.
21125 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
21127 * javax/swing/text/Utilities.java:
21128 (getTabbedTextOffset): Introduced width variable, rewritten the check
21129 which ends the loop.
21130 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21133 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21135 * examples/gnu/classpath/examples/swing/TreeDemo.java
21136 (createContent): Added root visibility and selection listener demos.
21137 * javax/swing/JTree.java (setRootVisible): If false, unselect
21138 the root node, if it is selected.
21139 * javax/swing/plaf/basic/BasicTreeUI.java
21140 (TreeTraverseAction.actionPerformed): Do not select the root if it
21142 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21143 removeSelectionPaths): Reset lead to null if the current lead path is
21144 removed from selection.
21145 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21146 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21147 Return the same path regardless is root visible or not. (update):
21148 Reduce the identation if the root is not visible.
21149 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21150 Return the same path regardless is root visible or not. (update):
21151 Reduce the identation if the root is not visible.
21153 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
21155 * javax/swing/plaf/basic/BasicTreeUI.java
21156 (TreeAction.actionPerformed):Newly obtain the current lead
21157 path that must stay visible.
21158 (TreeTraverseAction.actionPerformed):Rewritten.
21159 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21160 Do not treat root specially. (setModel): Assume the root node
21161 initially expanded.
21162 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21163 Do not treat root specially. (setModel): Assume the root node
21164 initially expanded.
21166 2006-04-26 Chris Burdess <dog@gnu.org>
21169 * javax/xml/datatype/DatatypeFactory.java: Use complete
21170 implementation resolution mechanism.
21172 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21174 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
21176 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21177 Removed NoImplementException form the implemented method.
21179 2006-04-26 Tom Tromey <tromey@redhat.com>
21181 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21184 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21186 * javax/swing/DefaultListSelectionModel.java
21187 (clone): Initialise empty listener list,
21188 (setSelectionMode): Throw IllegalArgumentException for bad input.
21190 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
21192 * javax/swing/DefaultListSelectionModel.java
21193 (clearSelection): Clear the Bitset.
21195 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21197 * javax/swing/JTree.java (setLeadSelectionPath):
21198 Repaint the new and old lead pathes.
21199 * javax/swing/plaf/basic/BasicTreeUI.java
21200 (FocusHandler): Repaint the lead row when focus changes.
21201 (PropertyChangeHandler): Use existing constants, not the
21202 string literals for the property names.
21203 (TreeIncrementAction): Shrink the selection when moving
21204 from the selection edge to the selection anchor.
21205 (TreeSelectionHandler.valueChanged): Repaint the
21206 new and old lead pathes.
21207 (paintRow): Treat row as focused only if it is the lead row.
21208 * javax/swing/tree/DefaultTreeCellRenderer.java
21209 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21210 (paint): Rewritten.
21211 * javax/swing/tree/DefaultTreeSelectionModel.java
21212 (addSelectionPath): Event construction fix (old and new lead were
21214 (addSelectionPaths): Likewise.
21215 * javax/swing/JComponent.java (setOpaque): Explained.
21216 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21218 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21221 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21223 * examples/gnu/classpath/examples/swing/TreeDemo.java
21224 (createContent): Call DefaultTreeModel.reload(), not the
21225 tree.repaint(). Expand the parent of the added node.
21226 * javax/swing/JTree.java (constructor): Do not call
21227 UpdateUI (and documented why). (treeDidChange):
21228 Added comment, excluding the misinterpretation of this method.
21229 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21230 focusListener, keyListener, mouseListener, propertyListener,
21231 selectionModelPropertyChangeListener, treeModelListener,
21232 treeSelectionListener): Made package private.
21233 (PropertyChangeHandler): If the model changes, install the
21234 listener on it. (installUI): Assign treeModel.
21235 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21236 comment, excluding misinterpretation.
21237 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21238 (reload(TreeNode)): Implemented.
21240 2006-04-25 Tom Tromey <tromey@redhat.com>
21242 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21243 * javax/swing/tree/VariableHeightLayoutCache.java
21244 (getVisiblePathsFrom): Genericized.
21245 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21248 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21250 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21251 If clicked on the other row, cancel the current editing session.
21253 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21255 * javax/swing/plaf/basic/BasicTreeUI.java
21256 (NodeDimensionsHandler.getRowX): Add half of the icon width.
21257 (paintExpandControl): Always paint in one gap distance from the left
21258 border of the path bounds.
21259 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21260 into consideration.
21261 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21264 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21266 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21268 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21270 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21271 Allow slashes (/) in the unquoted parameter value.
21273 2006-04-25 Roman Kennke <kennke@aicas.com>
21275 * gnu/java/awt/java2d/AbstractGraphics2D.java
21276 (drawString(String,int,int)): Implemented.
21277 (drawString(String,float,float)): Implemented.
21278 (drawString(AttributedCharacterIterator,int,int)): Implemented.
21279 (drawString(AttributedCharacterIterator,float,float)): Implemented.
21280 (getFontRenderContext): Implemented.
21281 (drawGlyphVector): Implemented.
21282 (getFont): Implemented.
21283 (setFont): Don't change font setting when null.
21284 (getFontMetrics): Implemented.
21285 (fillShape): Re-written to fill call rawFillShape() with a list
21286 of the edges instead of double arrays.
21287 (rawFillShape): Implemented using a polygon scanline conversion.
21288 (fillScanline): New helper method.
21289 (init): Initialize foreground black. Set font.
21290 * gnu/java/awt/java2d/PolyEdge.java: New file.
21291 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21293 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21295 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21297 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21299 * javax/swing/JTable.java: Fixed API doc tags,
21300 * javax/swing/text/AsyncBoxView.java: Likewise,
21301 * javax/swing/text/FlowView.java: Likewise.
21303 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
21305 * javax/swing/table/DefaultTableColumnModel.java
21306 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21308 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21310 * javax/swing/table/DefaultTableColumnModel.java
21311 (DefaultTableColumnModel): Set selection model field and add 'this' as
21313 (addColumn): Add 'this' as a PropertyChangeListener,
21314 (removeColumn): Remove column before firing event, and remove 'this' as
21315 a PropertyChangeListener,
21316 (setSelectionModel): Remove 'this' as a listener from old model,
21317 (propertyChange): Check for 'width' property rather than
21318 TableColumn.COLUMN_WIDTH_PROPERTY.
21320 2006-04-24 Chris Burdess <dog@gnu.org>
21323 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21324 attributes when no doctype exists.
21326 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
21328 * javax/swing/event/ChangeEvent.java: Updated API docs,
21329 * javax/swing/event/ChangeListener.java: Likewise,
21330 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21331 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21332 * javax/swing/table/TableColumnModel.java: Likewise.
21334 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
21336 * javax/swing/text/Utilities.java:
21337 (getBreakLocation): Introduced shift variable, added notes.
21338 * javax/swing/text/WrappedPlainView.java:
21339 (calculateBreakPosition): Decrease allocation area bounds by insets,
21340 added early return when allocation area is empty, provide start offset
21342 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21343 (WrappedPlainView.WrappedLine.paint): Added count variable, update
21344 numLines after loop.
21345 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21346 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21347 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21348 decreasing variable end by one, changed break condition in while-loop,
21349 added check for return value.
21350 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21351 allocation area is empty.
21353 2006-04-24 Sven de Marothy <sven@physto.se>
21355 * gnu/java/awt/java2d/Segment.java: New file.
21356 * gnu/java/awt/java2d/CubicSegment.java: New file.
21357 * gnu/java/awt/java2d/QuadSegment.java: New file.
21358 * gnu/java/awt/java2d/LineSegment.java: New file.
21359 * java/awt/BasicStroke.java
21360 (start): New field.
21362 (createStrokedShape): Implemented.
21363 (solidStroke): New method.
21364 (dashedStroke): New method.
21365 (capEnds): New method.
21366 (convertPath): New method.
21367 (addSegments): New method.
21368 (capEnd): New method.
21369 (lineIntersection): New method.
21370 (joinSegments): New method.
21372 2006-04-24 Roman Kennke <kennke@aicas.com>
21374 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21377 (clip): Changed clip to be in user space not in target space.
21378 (isOptimized): Added flag to allow optimized drawing for
21379 primitive operations (e.g. for Swing).
21380 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21381 with the paint context etc.
21382 (draw): Clip the shape before drawing it.
21383 (fill): Clip the shape before drawing it.
21384 (setComposite): Update isOptimized flag.
21385 (setPaint): Likewise.
21386 (setStroke): Likewise.
21387 (translate): Update the clip.
21388 (rotate): Likewise.
21391 (transform): Likewise.
21392 (setTransform): Likewise.
21393 (clip): Added optimization for rectangle clips.
21394 (create): Implemented.
21395 (clone): New method.
21396 (setFont): Basic implementation.
21397 (setClip): Update opimization flag.
21398 (drawLine): Added possible optimization.
21399 (fillRect): Added possible optimization.
21400 (fillShape): Implemented shape-filling by filling the flattended
21401 shape using polygon fill.
21402 (drawPixel): Added basic painting.
21403 (rawSetPixel): Changed signature to only take coordinates.
21404 (rawSetForeground): New abstract method.
21405 (getUserBounds): Implemented default for this method.
21406 (rawDrawLine): New method.
21407 (rawFillRect): New method.
21408 (rawFillPolygon): New method.
21409 (init): New method.
21410 (updateOptimization): New method.
21411 (computeIntersection): New method.
21412 (updateClip): New method.
21413 (clipShape): New method.
21415 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21417 * java/lang/Package.java: Added compatibility constructor to ease
21418 VM interface migration.
21420 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21422 * java/lang/Class.java (getEnumConstants): Implemented without
21423 delegating to VMClass.
21424 * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21426 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
21428 * java/lang/ClassLoader.java (definePackage): Added argument to
21429 Package constructor.
21430 * java/lang/Package.java (Package): Added ClassLoader argument.
21431 (loader): New field.
21432 (getDeclaredAnnotations): Implemented without help from VMPackage.
21433 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21434 to Package constructor.
21435 * vm/reference/java/lang/VMPackage.java: Removed.
21437 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21439 * examples/gnu/classpath/examples/swing/TreeDemo.java:
21440 (createContent): Added check box to swith between single and
21441 multiple selection.
21442 * javax/swing/JTree.java (leadSelectionPath): Removed.
21443 (addSelectionInterval): Explained. (getLeadSelectionPath):
21444 Request the path from model. (getPathsBetweenRows): Explained.
21445 (setLeadSelectionPath): Set the path in model.
21446 * javax/swing/plaf/basic/BasicTreeUI.java
21447 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
21448 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21449 (MouseHandler.mousePressed): Call selectPathForEvent.
21451 2006-04-23 Roman Kennke <kennke@aicas.com>
21453 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21455 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
21458 Mention changes to VMProcess and VMSystem.
21459 * doc/vmintegration.texinfo:
21460 Change documentation on VMProcess and VMSystem.
21461 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21462 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21463 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21464 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21465 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21466 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21467 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21468 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21469 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21470 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21471 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21472 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21473 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21474 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21475 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21476 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21477 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21478 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21479 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21480 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21481 * include/gnu_java_awt_peer_gtk_GtkImage.h,
21482 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21483 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21484 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21485 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21486 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21487 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21488 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21489 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21490 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21491 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21492 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21493 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21494 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21495 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21496 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21497 * include/gnu_java_awt_peer_qt_MainQtThread.h,
21498 * include/gnu_java_awt_peer_qt_QMatrix.h,
21499 * include/gnu_java_awt_peer_qt_QPainterPath.h,
21500 * include/gnu_java_awt_peer_qt_QPen.h,
21501 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21502 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21503 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21504 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21505 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21506 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21507 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21508 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21509 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21510 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21511 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21512 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21513 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21514 * include/gnu_java_awt_peer_qt_QtGraphics.h,
21515 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21516 * include/gnu_java_awt_peer_qt_QtImage.h,
21517 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21518 * include/gnu_java_awt_peer_qt_QtListPeer.h,
21519 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21520 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21521 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21522 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21523 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21524 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21525 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21526 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21527 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21528 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21529 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21530 * include/gnu_java_awt_peer_qt_QtToolkit.h,
21531 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21532 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21533 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21534 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21535 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21536 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21537 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21538 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21539 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21540 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21541 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21542 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21543 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21544 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21545 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21546 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21547 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21548 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21549 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21550 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21551 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21552 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21553 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21554 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21555 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21556 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21557 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21558 * include/java_lang_VMProcess.h,
21559 * include/java_lang_VMSystem.h:
21560 Regenerated with GCJ 4.1.
21562 2006-04-22 Casey Marshall <csm@gnu.org>
21564 Fixes PR classpath/27228.
21565 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21566 (initialize): also accept `DHParameterSpec.'
21567 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21568 handle a passed-in `DHParameterSpec' properly.
21569 (generate): don't check if the random exponent is less than `q -
21570 1' if no `q' was specified.
21572 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21574 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21575 Only repaint the patches, speficied in the passed event.
21576 (expandPath): Do nothing if the path is already expanded.
21577 (scrollPathToVisible): Only scroll to visible, do nothing else.
21578 * javax/swing/plaf/basic/BasicTreeUI.java
21579 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21580 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21581 (TreeTraverseAction.actionPerformed): Collapse the node on the
21582 action "selectParent". (selectPath): Rewritten.
21583 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21584 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21585 Do not reuse selection array.
21586 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21588 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21591 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21593 * javax/swing/tree/DefaultTreeSelectionModel.java
21594 (addSelectionPath): If the path cannot be added, set it.
21595 (addSelectionPaths): Call insureRowContinuity.
21596 (arePathsContiguous): Implemented.
21597 (canPathBeAdded): New private method.
21598 (canPathsBeAdded): Implemented.
21599 (canPathsBeRemoved): Implemented.
21600 (getPath): New private method.
21601 (insureRowContinuity): Implemented.
21602 (removeSelectionPath): Call insureRowContinuity.
21603 (removeSelectionPaths): Call insureRowContinuity.
21604 (resetRowSelection): Removed stub marking, not used in implementation
21605 (nothing to do there).
21606 (selectOne): New private method.
21607 (setSelectionMode) Call insureRowContinuity.
21608 (setSelectionPaths) Remove the current selection by clearing it.
21610 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
21612 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21613 parameters consistendly, documented some methods.
21614 * java/sql/Blob.java: Likewise.
21615 * java/sql/CallableStatement.java: Likewise.
21616 * java/sql/Clob.java: Likewise.
21617 * java/sql/Connection.java: Likewise.
21618 * java/sql/DatabaseMetaData.java: Likewise.
21619 * java/sql/Date.java: Likewise.
21620 * java/sql/Driver.java: Likewise.
21621 * java/sql/PreparedStatement.java: Likewise.
21622 * java/sql/ResultSet.java: Likewise.
21623 * java/sql/ResultSetMetaData.java: Likewise.
21624 * java/sql/SQLData.java: Likewise.
21625 * java/sql/SQLOutput.java: Likewise.
21626 * java/sql/SQLWarning.java: Likewise.
21627 * java/sql/Statement.java: Likewise.
21628 * java/sql/Time.java: Likewise.
21629 * java/sql/Timestamp.java: Likewise.
21631 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
21633 * java/lang/reflect/AccessibleObject.java:
21634 Implemented AnnotatedElement.
21635 (getAnnotation, getAnnotations, getDeclaredAnnotations,
21636 isAnnotationPresent): New methods.
21638 2006-04-21 Tom Tromey <tromey@redhat.com>
21640 PR classpath/27163:
21641 * gnu/java/net/protocol/ftp/FTPConnection.java
21642 (changeWorkingDirectory): Do nothing if path is empty.
21644 2006-04-21 Tom Tromey <tromey@redhat.com>
21647 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21648 case where no '/' appears in 'location'.
21650 2006-04-21 Tom Tromey <tromey@redhat.com>
21652 * java/security/Security.java (<clinit>): Add all default providers.
21653 * resource/java/security/classpath.security: Added comment.
21655 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21657 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21658 * javax/swing/SpinnerNumberModel.java: Likewise.
21660 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21662 * javax/swing/SpinnerDateModel.java
21663 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21664 checking to call compareTo() on start and end.
21666 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21668 * javax/swing/border/AbstractBorder.java: API doc updates,
21669 * javax/swing/border/BevelBorder.java: Likewise,
21670 * javax/swing/border/CompoundBorder.java: Likewise,
21671 * javax/swing/border/EtchedBorder.java: Likewise,
21672 * javax/swing/border/LineBorder.java: Likewise,
21673 * javax/swing/border/MatteBorder.java: Likewise,
21674 * javax/swing/border/TitledBorder.java: Likewise.
21676 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21678 * gnu/javax/crypto/cipher/Anubis.java:
21679 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21681 * gnu/javax/crypto/cipher/Blowfish.java:
21682 (selfTest): Likewise,
21683 * gnu/javax/crypto/cipher/Cast5.java:
21684 (selfTest): Likewise,
21685 * gnu/javax/crypto/cipher/Khazad.java:
21686 (selfTest): Likewise,
21687 * gnu/javax/crypto/cipher/Rijndael.java:
21688 (selfTest): Likewise,
21689 * gnu/javax/crypto/cipher/Serpent.java:
21690 (selfTest): Likewise,
21691 * gnu/javax/crypto/cipher/Square.java:
21692 (selfTest): Likewise,
21693 * gnu/javax/crypto/cipher/Twofish.java:
21694 (selfTest): Likewise,
21695 * gnu/javax/crypto/mac/UMac32.java:
21696 (selfTest): Likewise,
21697 * gnu/javax/crypto/prng/CSPRNG.java:
21698 (getSystemInstance): Likewise.
21700 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21702 * gnu/java/security/hash/Haval.java:
21703 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
21705 * gnu/java/security/hash/MD2.java:
21706 (selfTest): Likewise,
21707 * gnu/java/security/hash/MD4.java:
21708 (selfTest): Likewise,
21709 * gnu/java/security/hash/MD5.java:
21710 (selfTest): Likewise,
21711 * gnu/java/security/hash/RipeMD128.java:
21712 (selfTest): Likewise,
21713 * gnu/java/security/hash/RipeMD160.java:
21714 (selfTest): Likewise,
21715 * gnu/java/security/hash/Sha160.java:
21716 (selfTest): Likewise,
21717 * gnu/java/security/hash/Sha256.java:
21718 (selfTest): Likewise,
21719 * gnu/java/security/hash/Sha384.java:
21720 (selfTest): Likewise,
21721 * gnu/java/security/hash/Sha512.java:
21722 (selfTest): Likewise,
21723 * gnu/java/security/hash/Tiger.java:
21724 (selfTest): Likewise,
21725 * gnu/java/security/hash/Whirlpool.java:
21726 (selfTest): Likewise.
21728 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21730 * javax/swing/plaf/basic/BasicTreeUI.java
21731 (PropertyChangeHandler.propertyChange): Set the row mapper
21732 for the selection model.
21733 * javax/swing/tree/AbstractLayoutCache.java
21734 (NodeDimensions.getNodeDimensions): Explained.
21735 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21736 Implemented. (setRowHeight): Invalidate sizes.
21737 * javax/swing/tree/DefaultTreeSelectionModel.java
21738 (addSelectionPath, addSelectionPaths): Update lead row.
21739 (removeSelectionPath, removeSelectionPaths): Do nothing if
21740 selection is empty.
21741 (clone): Only clone list selection model if it is not null.
21742 (getRow): New method. (isRowSelected, getLeadSelectionRow,
21743 setSelectionPath, setSelectionPaths, toString): Implemented.
21744 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21745 Pass the empty rectangle. (isFixedRowHeight): New method.
21746 * javax/swing/tree/VariableHeightLayoutCache.java
21747 (NodeRecord.getBounds): Pass the empty rectangle.
21749 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21751 * gnu/java/security/Properties.java
21752 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21754 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
21756 * gnu/classpath/jdwp/util/Value.java
21757 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
21758 creating new Boolean instances.
21760 2006-04-20 Mark Wielaard <mark@klomp.org>
21762 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21763 PrivilegedAction. Access awt.toolkit through SystemProperties.
21765 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21767 * javax/swing/ActionMap.java: Removed unused imports,
21768 * javax/swing/DefaultListSelectionModel.java
21769 (clearSelection): Removed unused label,
21770 * javax/swing/JScrollPane.java: Removed unused imports,
21771 * javax/swing/UIManager.java: Likewise,
21772 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21774 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21776 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21777 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21778 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21779 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21780 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21782 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21784 * java/sql/Array.java: Fixed Eclipse API doc warnings,
21785 * java/sql/Blob.java: Likewise,
21786 * java/sql/CallableStatement.java: Likewise,
21787 * java/sql/Clob.java: Likewise,
21788 * java/sql/Connection.java: Likewise,
21789 * java/sql/DatabaseMetaData.java: Likewise,
21790 * java/sql/Date.java: Likewise,
21791 * java/sql/Driver.java: Likewise,
21792 * java/sql/PreparedStatement.java: Likewise,
21793 * java/sql/ResultSet.java: Likewise,
21794 * java/sql/ResultSetMetaData.java: Likewise,
21795 * java/sql/SQLData.java: Likewise,
21796 * java/sql/SQLOutput.java: Likewise,
21797 * java/sql/SQLWarning.java: Likewise,
21798 * java/sql/Statement.java: Likewise,
21799 * java/sql/Time.java: Likewise,
21800 * java/sql/Timestamp.java: Likewise.
21802 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21804 * java/sql/DriverManager.java
21805 (setLoginTimeout): Use incoming argument,
21806 (setLogStream): Likewise,
21807 (println): Fix API doc comment.
21809 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21811 * javax/swing/JMenuItem.java
21812 (paramString): Updated API docs,
21813 (getAccessibleContext): Added API docs,
21814 (AccessibleJMenuItem.stateChanged): Marked as stub,
21815 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21816 * javax/swing/JSlider.java
21817 (paramString): Fix for API docs,
21818 * javax/swing/JToolTip.java
21819 (getAccessibleContext): Fix for API docs.
21821 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21823 * javax/swing/JRadioButtonMenuItem.java
21824 (paramString): Reimplemented,
21825 (getAccessibleContext): API docs added,
21826 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
21828 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21830 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21832 * javax/swing/plaf/basic/BasicTreeUI.java
21833 (finish): Invalidate path bounds.
21834 (getMaxHeight): Set the row height to the layout cache.
21835 (startEditing): Do not request to recalculated
21836 row height and preferred size.
21837 * javax/swing/tree/DefaultTreeCellEditor.java
21838 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21840 * javax/swing/tree/FixedHeightLayoutCache.java:
21843 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21845 * javax/swing/JDesktopPane.java
21846 (paramString): Reimplemented,
21847 plus API doc updates in AccessibleJDesktopPane.
21849 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21851 * javax/swing/ImageIcon.java:
21852 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21853 (AccessibleImageIcon.getLocale): Declared exception and always return
21855 (getAccessibleContext): Updated API docs,
21856 plus updated API docs all over AccessibleImageIcon.
21858 2006-04-20 Roman Kennke <kennke@aicas.com>
21861 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21862 (paintText): Fetch the ascent only once. Add the ascent to
21863 the text rect also when tabs are disabled.
21865 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
21867 * java/util/Locale.java (defaultLocale): Set to en_US per
21868 default and use user.country but prioritize user.region if
21870 (getLocale(String language, String country)): Renamed region to
21872 (getLocale(String language, String region, String variant)):
21874 (getAvailableLocales): Likewise.
21876 2006-04-20 Roman Kennke <kennke@aicas.com>
21879 * javax/swing/JList.java
21880 (JList()): Call init() with DefaultListModel instance.
21881 (JList(Object[])): Call init() with null.
21882 (JList(Vector)): Call init() with null.
21883 (JList(ListModel)): Call init() with model.
21884 (init): Changed to take the model as argument. Don't call
21885 setter methods and initialize stuff directly instead.
21886 (getCellBounds): Check if UI is null.
21888 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
21890 * javax/swing/text/WrappedPlainView.java: Initialize
21891 WrappedLine.numLines with -1.
21892 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21893 numLines is -1 and reculcalate the value appropriately.
21894 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21895 allocation area is empty.
21897 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
21899 * javax/swing/JTabbedPane.java
21900 (AccessibleJTabbedPane.stateChanged): Marked as stub,
21901 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21902 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21903 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21904 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21905 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21906 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21907 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21908 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21909 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21910 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21911 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21912 (Page.getAccessibleStateSet): Likewise,
21913 (Page.getAccessibleIndexInParent): Likewise.
21915 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21917 * javax/swing/JProgressBar.java
21918 (paramString): Reimplemented.
21920 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21922 * javax/swing/JButton.java: Updated API docs all over.
21924 2006-04-19 Roman Kennke <kennke@aicas.com>
21926 * java/awt/Toolkit.java
21927 (getDefaultToolkit): Use system classloader to load the
21930 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
21932 * javax/swing/text/DefaultCaret.java:
21933 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
21934 instead of DefaultCaret.setDot.
21936 2006-04-19 Roman Kennke <kennke@aicas.com>
21938 * native/jni/java-net/local.c
21939 (local_read): Handle EINTR correctly.
21940 (local_write): Likewise.
21942 2006-04-19 Riccardo Mottola <multix@gmail.com>
21944 PR classpath/27062, PR classpath/25650:
21945 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
21947 2006-04-19 Tom Tromey <tromey@redhat.com>
21949 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
21950 value of 'pureMinutes'. PR classpath/27189.
21952 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
21954 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
21955 boot packages list from the META-INF/INDEX.LIST file if it exists.
21957 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
21959 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
21960 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
21961 (ITERATION_COUNT): Removed modifiers.
21962 (PASSWORD): Likewise.
21964 (PASSWORD_ENCODING): New property.
21965 (DEFAULT_PASSWORD_ENCODING): New constant.
21966 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
21967 material (bytes) before a password (chars).
21969 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21971 * javax/swing/JMenu.java
21972 (getAccessibleChildrenCount): Marked as stub,
21973 (getAccessibleChild): Likewise,
21974 (getAccessibleSelection): Likewise,
21975 (getAccessibleSelection(int)): Likewise,
21976 (isAccessibleChildSelected): Likewise,
21977 (getAccessibleSelectionCount): Likewise,
21978 (addAccessibleSelection): Likewise,
21979 (removeAccessibleSelection): Likewise,
21980 (clearAccessibleSelection): Likewise,
21981 (selectAllAccessibleSelection): Likewise.
21983 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
21985 * javax/swing/JSplitPane.java
21986 (getAccessibleContext): Added API docs,
21987 (paramString): Reimplemented,
21988 (setOrientation): Updated API docs,
21989 (setResizeWeight): Added argument checking and event notification.
21991 2006-04-18 Casey Marshall <csm@gnu.org>
21993 Fixes PR classpath/25673
21994 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
21995 property is set. Update JavaDoc to reflect this.
21997 2006-04-18 Lillian Angel <langel@redhat.com>
21999 * gnu/xml/dom/DomDocument.java
22000 (setCheckingCharacters): New function used to set
22001 checkingCharacters flag.
22002 * gnu/xml/dom/html2/DomHTMLParser.java
22003 (parseDocument): Added call to set checkingCharacters flag
22006 2006-04-18 Lillian Angel <langel@redhat.com>
22008 * gnu/xml/dom/DomDocument.java
22009 (checkNCName): Reverted last patch. Added check for colon at
22010 last position back in.
22012 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22014 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22016 * examples/gnu/classpath/examples/swing/Demo.java:
22017 (mkMenuBar): Added NavigationFilter demo.
22019 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22021 * javax/swing/JSeparator.java: Updated API docs all over, plus
22022 (setOrientation): Fire PropertyChangeEvent,
22023 (paramString): Reimplemented.
22025 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22027 * javax/swing/plaf/basic/BasicTextUI.java:
22028 (getNextVisualPositionFrom): Implemented.
22030 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22032 * javax/swing/JPanel.java: Updated API docs all over, plus
22033 (JPanel(LayoutManager, boolean)): Pass on null layout, set
22034 double-buffer flag.
22036 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
22038 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22040 * examples/gnu/classpath/examples/swing/Demo.java:
22041 (mkMenuBar): Added DocumenFilter demo.
22043 2006-04-18 Tom Tromey <tromey@redhat.com>
22045 * doc/www.gnu.org/include/layout.wml: Add FMJ.
22047 2006-04-18 Mark Wielaard <mark@klomp.org>
22049 Reported by John Sullivan (johns@fsf.org)
22050 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22052 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22054 * javax/swing/JInternalFrame.java
22055 (JDesktopIcon.getAccessibleContext): Added API docs,
22056 (getDefaultCloseOperation): Likewise,
22057 (paramString): Added 'title' attribute,
22058 (setDefaultCloseOperation): Added API docs.
22060 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22062 * javax/swing/JSlider.java
22063 (paramString): Reimplemented.
22065 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22067 * javax/swing/JComboBox.java
22068 (paramString): Reimplemented,
22069 (getAccessibleContext): Added API docs,
22070 (AccessibleJComboBox.getAccessibleRole): Likewise.
22072 2006-04-18 Roman Kennke <kennke@aicas.com>
22074 * javax/swing/RepaintManager.java
22075 (dirtyComponentsWork): New field.
22076 (ComponentComparator): Use dirtyComponentsWork instead of
22078 (RepaintManager): Initialize new field.
22079 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22080 and work on the copy.
22082 2006-04-18 Roman Kennke <kennke@aicas.com>
22084 * gnu/java/awt/peer/swing/SwingComponentPeer.java
22085 (setBounds): Call reshape().
22086 * gnu/java/awt/peer/swing/SwingContainerPeer.java
22087 (SwingContainerPeer): Changed argument to be a Component
22088 instead a Container.
22089 (getInsets): Call insets().
22090 (handleMouseEvent): Added null check to avoid NPE.
22091 (handleMouseMotionEvent): Added null check to avoid NPE.
22093 2006-04-18 Roman Kennke <kennke@aicas.com>
22096 * javax/swing/JComponent.java
22097 (paintChildrenWithOverlap): When one child is not opaque, propagate
22098 the dirty rectangles to the next child.
22099 (paintChildrenOptimized): Removed unnecessary 'optimization'.
22100 This actually didn't work right and probably gained nothing.
22102 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22104 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22105 (moveToCellBeingEdited): Do not clone the rectangle here.
22107 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
22109 * javax/swing/plaf/basic/BasicSliderUI.java
22110 (getActionMap): Fixed lookup key,
22111 (createActionMap): Modified actions to fetch slider/ui from the event
22114 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22116 * java/lang/Enum.java: Documented.
22118 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22120 * gnu/java/lang/InstrumentationImpl.java:
22121 Moved from java.lang.
22122 * java/lang/InstrumentationImpl.java:
22124 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22125 Moved from java.lang.
22126 * vm/reference/java/lang/VMClassLoader.java:
22127 Corrected reference to InstrumentationImpl.
22128 * vm/reference/java/lang/VMInstrumentationImpl.java:
22131 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
22133 * java/lang/annotation/Annotation.java:
22136 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22138 * javax/swing/JToolBar.java
22139 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22140 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22141 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22142 (getAccessibleContext): Likewise.
22144 2006-04-17 Dalibor Topic <robilad@kaffe.org>
22147 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22149 * native/fdlibm/Makefile.am,
22150 native/jni/classpath/Makefile.am:
22151 Don't use -module and -version-info for convenience libraries LDFLAGS.
22152 Fixes libtool warnings.
22154 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22156 * javax/swing/plaf/basic/BasicComboBoxUI.java:
22157 (installKeyboardActions): Marked as stub,
22158 (uninstallKeyboardActions): Likewise,
22159 * javax/swing/plaf/basic/BasicComboPopup.java:
22160 (installKeyboardActions): Marked as stub,
22161 (uninstallKeyboardActions): Likewise,
22162 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22163 (installKeyboardActions): Marked as stub,
22164 (uninstallKeyboardActions): Likewise,
22165 * javax/swing/plaf/basic/BasicLabelUI.java:
22166 (installKeyboardActions): Marked as stub,
22167 (uninstallKeyboardActions): Likewise,
22168 * javax/swing/plaf/basic/BasicListUI.java:
22169 (installKeyboardActions): Marked as stub,
22170 (uninstallKeyboardActions): Likewise,
22171 * javax/swing/plaf/basic/BasicMenuBarUI.java:
22172 (installKeyboardActions): Marked as stub,
22173 (uninstallKeyboardActions): Likewise,
22174 * javax/swing/plaf/basic/BasicMenuUI.java:
22175 (installKeyboardActions): Marked as stub,
22176 (uninstallKeyboardActions): Likewise,
22177 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22178 (installKeyboardActions): Marked as stub,
22179 (uninstallKeyboardActions): Likewise,
22180 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22181 (installKeyboardActions): Marked as stub,
22182 (uninstallKeyboardActions): Likewise,
22183 * javax/swing/plaf/basic/BasicScrollBarUI.java:
22184 (installKeyboardActions): Marked as stub,
22185 (uninstallKeyboardActions): Likewise,
22186 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22187 (installKeyboardActions): Marked as stub,
22188 (uninstallKeyboardActions): Likewise,
22189 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22190 (installKeyboardActions): Marked as stub,
22191 (uninstallKeyboardActions): Likewise,
22192 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22193 (installKeyboardActions): Marked as stub,
22194 (uninstallKeyboardActions): Likewise,
22195 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22196 (installKeyboardActions): Marked as stub,
22197 (uninstallKeyboardActions): Likewise,
22198 * javax/swing/plaf/basic/BasicTableUI.java:
22199 (installKeyboardActions): Marked as stub,
22200 (uninstallKeyboardActions): Likewise,
22201 * javax/swing/plaf/basic/BasicTextUI.java:
22202 (installKeyboardActions): Marked as stub,
22203 (uninstallKeyboardActions): Likewise,
22204 * javax/swing/plaf/basic/BasicToolBarUI.java:
22205 (installKeyboardActions): Marked as stub,
22206 (uninstallKeyboardActions): Likewise.
22208 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
22210 * javax/swing/plaf/basic/BasicSliderUI.java
22211 (installKeyboardActions): Implemented,
22212 (uninstallKeyboardActions): Implemented,
22213 (scrollByBlock): Accept any value for direction,
22214 (scrollByUnit): Likewise,
22215 (getInputMap): New method,
22216 (getActionMap): New method,
22217 (createActionMap): New method.
22220 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22222 * doc/vmintegration.texinfo:
22225 2006-04-16 Tom Tromey <tromey@redhat.com>
22227 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22229 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
22232 Mention generics additions to the VM interface.
22233 * doc/vmintegration.texinfo:
22234 Added information on VMClass 1.5 additions and
22237 2006-04-16 Casey Marshall <csm@gnu.org>
22239 * NEWS: add an entry mentioning local socket support.
22241 2006-04-16 Casey Marshall <csm@gnu.org>
22243 * configure.ac (--enable-local-sockets): new enable argument.
22244 (ENABLE_LOCAL_SOCKETS): new define.
22245 * native/jni/java-net/Makefile.am (local_sources): new variable.
22246 (lib_javanet_la_SOURCES): append `local_sources.'
22247 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22248 * native/jni/java-net/local.c,
22249 * native/jni/java-net/local.h,
22250 * include/gnu_java_net_local_LocalSocketImpl.h,
22251 * gnu/java/net/local/LocalServerSocket.java,
22252 * gnu/java/net/local/LocalSocket.java,
22253 * gnu/java/net/local/LocalSocketAddress.java,
22254 * gnu/java/net/local/LocalSocketImpl.java: new files.
22256 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
22258 * javax/accessibility/AccessibleAction.java:
22259 (DECREMENT): Added field.
22260 (INCREMENT): Likewise.
22261 (TOGGLE_EXPAND): Likewise.
22262 * javax/accessibility/AccessibleRole.java:
22263 (EDITBAR): Added field.
22264 (FOOTER): Likewise.
22265 (HEADER): Likewise.
22266 (PARAGRAPH): Likewise.
22267 (PROGRESS_MONITOR): Likewise.
22269 * javax/accessibility/AccessibleState.java:
22270 (INDETERMINATE): Added field.
22271 (MANAGES_DESCENDANTS): Likewise.
22272 (TRUNCATED): Likewise.
22274 2006-04-14 Tom Tromey <tromey@redhat.com>
22276 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22278 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22281 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22283 * javax/swing/text/DefaultCaret.java:
22284 (getBypass): New method.
22285 (moveDot): Rewritten.
22286 (moveDotImpl): New method.
22287 (setDot): Rewritten.
22288 (setDotImpl): New method.
22289 (DefaultCaret.Bypass): New class.
22291 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22293 * javax/swing/text/AbstractDocument.java:
22294 (getBypass): New method.
22295 (insertString): Rewritten.
22296 (remove): Rewritten.
22297 (replace): Rewritten.
22298 (insertStringImpl): New method.
22299 (removeImpl): New method.
22300 (replaceImpl): New method.
22301 (AbstractDocument.Bypass): New class.
22303 2006-04-14 Casey Marshall <csm@gnu.org>
22305 Fixes PR classpath/24642
22306 * NEWS: add note about SecureRandom changes, and addition of
22308 * java/security/SecureRandom.java (isSeeded): new field.
22309 (setSeed, setSeed): set `isSeeded' to `true.'
22310 (nextBytes): seed this instance if `isSeeded' is false.
22311 (getSeed): call `generateSeed.'
22312 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22313 (generateSeed, generateSeed): new methods.
22314 * vm/reference/java/security/VMSecureRandom.java: new file.
22316 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22318 * javax/swing/text/FieldView.java:
22319 (paint): Apply clipping rectangle of the allocation area
22320 before painting the text.
22321 * javax/swing/text/DefaultHighlighter.java:
22322 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22323 compute union and intersection, calculate intersection with allocation
22324 area before painting, adjust x and width when painting multiple lines
22325 by the range of the allocation area.
22327 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22329 * javax/swing/text/DefaultHighlighter.java:
22330 (paintLayeredHighlights): Marked as stub.
22332 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
22334 * javax/swing/plaf/basic/BasicTextFieldUI.java:
22335 (propertyChanged): Added note, change color only if current background
22336 is a ColorUIResource instance.
22338 2006-04-14 Tom Tromey <tromey@redhat.com>
22340 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22344 2006-04-14 Tom Tromey <tromey@redhat.com>
22346 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22348 2006-04-14 Mark Wielaard <mark@klomp.org>
22350 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22351 thread group when exceptionHandler isn't set.
22352 * vm/reference/java/lang/VMThread.java (run): Use result of
22353 thread.getUncaughtExceptionHandler directly.
22355 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
22357 * javax/swing/JSplitPane.java
22358 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22359 (AccessibleJSplitPane.getAccessibleRole): Implemented,
22360 (AccessibleJSplitPane.getAccessibleValue): Implemented,
22361 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22362 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22363 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22364 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22366 2006-04-10 Tom Tromey <tromey@redhat.com>
22368 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22369 Fixed parameter bounds.
22371 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
22373 * gnu/javax/crypto/assembly/Assembly.java,
22374 * gnu/javax/crypto/assembly/Cascade.java,
22375 * gnu/javax/crypto/assembly/CascadeStage.java,
22376 * gnu/javax/crypto/assembly/CascadeTransformer.java,
22377 * gnu/javax/crypto/assembly/Direction.java,
22378 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22379 * gnu/javax/crypto/assembly/ModeStage.java,
22380 * gnu/javax/crypto/assembly/Operation.java,
22381 * gnu/javax/crypto/assembly/PaddingTransformer.java,
22382 * gnu/javax/crypto/assembly/Stage.java,
22383 * gnu/javax/crypto/assembly/Transformer.java,
22384 * gnu/javax/crypto/cipher/Square.java,
22385 * gnu/javax/crypto/jce/cipher/AESSpi.java,
22386 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22387 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22388 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22389 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22390 * gnu/javax/crypto/jce/cipher/DESSpi.java,
22391 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22392 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22393 * gnu/javax/crypto/jce/cipher/PBES2.java,
22394 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22395 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22396 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22397 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22398 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22399 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22400 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22401 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22402 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22403 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22404 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22405 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22406 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22407 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22408 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22409 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22410 * gnu/javax/crypto/jce/mac/MacAdapter.java,
22411 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22412 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22413 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22414 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22415 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22416 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22417 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22418 * gnu/javax/crypto/pad/WrongPaddingException.java,
22419 * gnu/javax/crypto/prng/ICMGenerator.java,
22420 * gnu/javax/crypto/prng/IPBE.java,
22421 * gnu/javax/crypto/prng/PBKDF2.java,
22422 * gnu/javax/crypto/sasl/ConfidentialityException.java,
22423 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22424 * gnu/javax/crypto/sasl/srp/IALG.java,
22425 * gnu/javax/crypto/sasl/srp/SRPServer.java:
22426 Remove CVS revision tags.
22428 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22430 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
22431 Removed debugging code.
22433 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22435 * javax/swing/JTree.java (getPreferredSize): Return the
22437 * javax/swing/ViewportLayout.java (layoutContainer):
22438 Do not manage the view size and location if the view is
22439 in the scroll pane. Also manage size and location for
22440 Scrollable, if it is not in the scroll pane.
22441 * javax/swing/plaf/basic/BasicTreeUI.java,
22442 * javax/swing/tree/FixedHeightLayoutCache.java,
22443 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22444 * gnu/javax/swing/tree/GnuPath.java: New file.
22446 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22448 * javax/swing/JToolBar.java
22449 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22451 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22453 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22454 (createCustomColoredPanel): Set background color as demo intends,
22455 changed custom selection color to red.
22456 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22457 Replaced various single variables with a Compound instance, added
22458 custom highlighter demo.
22459 (TextFieldDemo.DemoHighlightPainter): New class (taken from
22461 (TextFieldDemo.Compound): New class.
22462 (createTextFieldCompound): New method.
22463 (createLeftAlignedPanel): Rewritten.
22464 (createRightAlignedPanel): Rewritten.
22465 (createCenteredPanel): Rewritten.
22466 (createCustomColoredPanel): Removed.
22467 (createCustomColoredPanel1): New method.
22468 (createCustomColoredPanel2): New method.
22469 (createCustomBordersPanel): New method.
22470 (createMiscPanel): Rewritten.
22471 (actionPerformed): Rewritten.
22472 (createContent): Add panels of new compounds to main panel, put
22473 main panel in a JScrollPane.
22474 * examples/gnu/classpath/examples/swing/Demo.java:
22475 (Demo): Put desktop in a scrollpane.
22476 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22477 method via reflection.
22479 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22481 * javax/swing/plaf/metal/MetalDesktopIconUI.java
22482 (createUI): Return new instance rather than shared instance.
22484 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22486 * javax/swing/text/FieldView.java:
22487 (checkContainer): Call updateVisibility() at the end.
22489 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22491 * java/awt/event/MouseEvent.java:
22492 (paramString): Add value of 'consumed' variable in string.
22494 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
22497 * javax/swing/JTextField.java: Removed scrollOffset variable.
22498 (JTextField): Moved up initialization of horizontalVisibility field.
22499 (getScrollOffset): Implemented.
22500 (setScrollOffset): Implemented.
22501 (getHorizonztalVisibility): Removed note.
22502 (scrollRectToVisible): New method.
22503 * javax/swing/text/FieldView.java: Added cachedSpan variable.
22504 (checkContainer): New method.
22505 (updateVisibility): New method.
22506 (calculateHorizontalSpan): New method.
22507 (adjustAllocation): Removed unneeded local variables, added code
22508 to handle scrolling.
22509 (getPreferredSpan): Use new method calculateHorizontalSpan,
22510 avoid calculation by returning cached value cachedSpan.
22511 (paint): Added check whether the hosted component is a JTextField.
22512 (insertUpdate): Invalidate cached span value, update visibility
22514 (removeUpdate): Dito.
22515 (changeUpdate): Dito.
22517 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22519 * javax/swing/JInternalFrame.java
22520 (setTitle): Set old value to 'this.title', not 'title'.
22522 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
22524 * javax/swing/JInternalFrame.java
22525 (AccessibleJInternalFrame.getAccessibleName): Implemented,
22526 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22527 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22528 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22529 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22530 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22531 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22532 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22533 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22534 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
22536 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
22538 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
22540 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
22542 (JInternalFrame()): Use "" for default title,
22543 (getAccessibleContext): Updated API docs,
22544 (getDesktopIcon): Likewise,
22545 (getLayer): Check for layer in client properties, and return
22546 DEFAULT_LAYER if no setting is found,
22547 (getTitle): Updated API docs,
22548 (setDesktopIcon): Fire property change event.
22550 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22552 * javax/swing/ScrollPaneLayout.java (layoutContainer):
22553 Mind that the presence of one scroll bar may cause the
22556 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
22558 * gnu/regexp/REToken.java(unicodeAware): New field,
22559 (toLowerCase, toUpperCase): New methods.
22560 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22561 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22562 Use toLowerCase and toUpperCase defined in REToken instead of
22563 those defined in java.lang.Character.
22564 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22565 (initialize): Sets unicodeAware of the generated REToken to false if
22566 REG_ICASE_USASCII is set.
22567 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22568 to lower case and keep the original value.
22569 (matchOneString): Use the new method charEquals to compare characters.
22570 (charEquals): New method to compare characters.
22571 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22573 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
22575 * javax/swing/event/InternalFrameEvent.java:
22576 (paramString): Implemented,
22577 updated API docs all over.
22579 2006-04-12 Casey Marshall <csm@gnu.org>
22581 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22582 (Generator.setup): call `fillBlock.'
22584 2006-04-12 Casey Marshall <csm@gnu.org>
22586 Fixes PR classpath/24481.
22587 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22588 initialize the adaptee.
22589 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22590 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22591 addRandomBytes): new methods.
22593 2006-04-12 Tom Tromey <tromey@redhat.com>
22595 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22598 2006-04-12 Lillian Angel <langel@redhat.com>
22600 * gnu/xml/dom/DomDocument.java
22601 (checkNCName): Removed unneeded part of check.
22602 * gnu/xml/dom/DomNode.java
22603 (dispatchEvent): Added code to grow ancestors array
22604 if needed. Changed checks to use depth of node instead.
22605 Fixes an infinite loop and segmentation fault.
22606 * gnu/xml/dom/html2/DomHTMLParser.java
22607 (handleEndTag): No need to use/make a copy of the node.
22608 Causes an infinite loop.
22610 2006-04-12 Tom Tromey <tromey@redhat.com>
22612 PR classpath/27131:
22613 * java/util/BitSet.java (get): Early return if to==from.
22615 2006-04-12 Mark Wielaard <mark@klomp.org>
22617 * java/security/SecureRandom.java (algorithm): New private field.
22618 (SecureRandom): Initialize algorithm.
22619 (SecureRandom(SecureRandomSpi,Provider,String)): New private
22621 (getInstance): Call 3 argument constructor.
22622 (getAlgorithm): New method.
22624 2006-04-12 Mark Wielaard <mark@klomp.org>
22626 Port UncaughtExceptionHandler support from generics branch.
22627 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22629 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
22631 * java/lang/Thread.java:
22632 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22633 Added docs and security check.
22634 (getUncaughtExceptionHandler()): Documented.
22635 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22636 Added docs and security check.
22637 (getDefaultUncaughtExceptionHandler()): Documented.
22638 (getId()): Documented.
22640 2006-04-12 Tom Tromey <tromey@redhat.com>
22642 * vm/reference/java/lang/VMThread.java (run): Use thread's
22644 * java/lang/Thread.java (defaultHandler): New field.
22645 (setDefaultUncaughtExceptionHandler,
22646 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22647 getUncaughtExceptionHandler): New methods.
22648 * java/lang/ThreadGroup.java (ThreadGroup): Implements
22649 UncaughtExceptionHandler.
22650 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22652 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
22654 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22655 buffer. Loop only once to determine Utf8 length when possible. Make
22656 the inner loop bounded by buf.length.
22657 (getUTFlength): New private method.
22658 (buf): New private field.
22660 2006-04-11 Lillian Angel <langel@redhat.com>
22662 * gnu/xml/dom/DomNodeIterator.java
22663 (nextNode): Moved line of code to avoid an infinite loop.
22664 * gnu/xml/dom/html2/DomHTMLAppletElement.java
22665 (getCls): New function.
22666 (setCls): Likewise.
22667 (getSrc): Likewise.
22668 (setSrc): Likewise.
22669 * gnu/xml/dom/html2/DomHTMLDocument.java:
22670 Added DomHTMLEmbedElement to map.
22671 (getApplets): Added node name, 'embed'.
22672 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22674 * gnu/xml/dom/html2/DomHTMLObjectElement.java
22675 (getJavaCode): New function.
22676 (setJavaCode): Likewise.
22677 (getObject): Likewise.
22678 (setObject): Likewise.
22679 (getJavaObject): Likewise.
22680 (setJavaObject): Likewise.
22681 (getJavaArchive): Likewise.
22682 (setJavaArchive): Likewise.
22683 (getJavaCodeBase): Likewise.
22684 (setJavaCodeBase): Likewise.
22685 (getJavaType): Likewise.
22686 (setJavaType): Likewise.
22687 (setMayscript): Likewise.
22688 (getMayscript): Likewise.
22689 (setScriptable): Likewise.
22690 (getScriptable): Likewise.
22691 * gnu/xml/dom/html2/DomHTMLParser.java
22692 (parseDocument): Should not check for well formedness
22693 when parsing an html document.
22694 * java/awt/Window.java
22695 (dispatchEvent): Added check to avoid NPE.
22697 2006-04-10 Tom Tromey <tromey@redhat.com>
22699 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22701 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22702 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22704 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
22706 * javax/swing/plaf/basic/BasicTextUI.java:
22707 (getNextVisualPositionFrom): Marked as stub.
22709 2006-04-10 Roman Kennke <kennke@aicas.com>
22711 * javax/swing/plaf/basic/BasicLookAndFeel.java
22712 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22713 and create the defaults as strings constants.
22714 (loadSystemColors): Implemented stubbed method.
22716 2006-04-10 Tom Tromey <tromey@redhat.com>
22718 * .settings/org.eclipse.core.resources.prefs: Set encoding for
22721 2006-04-10 Tom Tromey <tromey@redhat.com>
22723 * java/io/CharArrayWriter.java (append): Javadoc fix.
22724 (append): Likewise.
22726 2006-04-10 Tom Tromey <tromey@redhat.com>
22728 * javax/accessibility/AccessibleTextSequence.java: New file.
22729 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22731 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22732 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22733 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22734 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22735 * javax/accessibility/AccessibleExtendedText.java: New file.
22736 * javax/accessibility/AccessibleContext.java
22737 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22738 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22739 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22740 * javax/accessibility/AccessibleAttributeSequence.java: New file.
22741 * javax/accessibility/AccessibleStreamable.java: New file.
22742 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22745 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22747 * javax/swing/tree/AbstractLayoutCache.java
22748 (getNodeDimensions, getRowsForPath): Implemented.
22749 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22750 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22752 2006-04-10 Roman Kennke <kennke@aicas.com>
22754 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22756 2006-04-10 Roman Kennke <kennke@aicas.com>
22758 * javax/swing/JInternalFrame.java
22759 (AccessibleJInternalFrame): Marked all stubbed methods as such
22760 by adding throws NotImplementedException.
22762 2006-04-10 Roman Kennke <kennke@aicas.com>
22764 * javax/swing/JFileChooser.java
22765 (getAccessibleContext): Don't create a new instance on each
22766 call, instead store the accessible context in the
22767 accessibleContext field.
22769 2006-04-10 Roman Kennke <kennke@aicas.com>
22771 * javax/swing/JComboBox.java
22772 (AccessibleJComboBox): Marked all stubbed methods as such
22773 by adding throws NotImplementedException.
22775 2006-04-10 Roman Kennke <kennke@aicas.com>
22777 * javax/swing/ActionMap.java
22778 (readObject): Removed.
22779 (writeObject): Removed.
22781 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22783 * javax/swing/tree/DefaultTreeSelectionModel.java
22784 (addSelectionPaths, setSelectionPaths): Call
22785 insureUniqueness. (clone, setRowMapper): Implemented.
22786 * TreePath (path): Marked final.
22788 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22790 * javax/swing/tree/DefaultTreeSelectionModel.java:
22791 Documented and autoformatted. (insureUniqueness):
22792 Removed stub marking.
22794 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
22796 * javax/swing/SizeSequence.java
22797 (sizes): Don't initialise here,
22798 (SizeSequence(int, int)): Initialise sizes field,
22799 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22800 (setSize): Do nothing when index is out of bounds,
22801 (getIndex): Implemented,
22802 (setSizes): Reimplemented,
22803 (getSizes): Likewise,
22804 (insertEntries): Likewise,
22805 (removeEntries): Likewise,
22806 plus added API docs all over.
22808 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
22810 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22811 one way message and retry after any IOException.
22813 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22815 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22816 Set the byte order.
22818 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
22820 * org/omg/PortableServer/ServantLocatorPOA.java:
22821 (preinvoke, postinvoke): Remove default implementation.
22822 * org/omg/PortableServer/ServantActivatorPOA.java:
22823 (incarnate, etherealize): Remove default implementation.
22824 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
22825 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22826 (make_object): Moved method from ObjectReferenceFactoryOperations.
22827 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
22828 Removed unspecified interface.
22829 * org/omg/DynamicAny/_DynAnyStub.java:
22830 (_DynAnyStub(Delegate)): Removed constructor.
22831 * org/omg/DynamicAny/_DynArrayStub.java,
22832 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22833 * org/omg/DynamicAny/_DynEnumStub.java,
22834 * org/omg/DynamicAny/_DynFixedStub.java,
22835 * org/omg/DynamicAny/_DynSequenceStub.java,
22836 * org/omg/DynamicAny/_DynStructStub.java,
22837 * org/omg/DynamicAny/_DynUnionStub.java,
22838 * org/omg/DynamicAny/_DynValueStub.java:
22839 Extend from ObjectImpl and not from _DynAnyStub.
22840 (type, next, destroy, copy, rewind, assign, component_count,
22841 current_component, equal, from_any, get_any, get_boolean, get_char,
22842 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
22843 get_reference, get_short, get_string, get_typecode, get_ulong,
22844 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22845 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22846 insert_long, insert_longlong, insert_octet, insert_reference,
22847 insert_short, insert_string, insert_typecode, insert_ulong,
22848 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
22849 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
22850 * org/omg/CosNaming/_BindingIteratorStub.java:
22851 (_BindingIteratorStub(Delegate)): Made package private.
22852 * org/omg/CosNaming/_NamingContextExtStub.java:
22853 (_NamingContextExtStub(Delegate)): Made package private.
22854 * org/omg/CosNaming/_NamingContextStub.java:
22855 (_NamingContextStub(Delegate)): Made package private.
22856 (throw4, throw5): Likewise.
22857 * gnu/CORBA/NamingService/NameParser.java (resolve):
22858 Adapt to package private constructor. Use _set_delegate instead.
22859 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22860 * org/omg/CORBA/ORB.java:
22861 (create_recursive_sequence_tc): Made abstract.
22862 (get_default_context): Likewise.
22863 * gnu/CORBA/OrbRestricted.java:
22864 (create_recursive_sequence_tc): New moved method.
22865 (get_default_context): Likewise.
22866 * org/omg/CORBA/ParameterMode.java:
22867 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
22869 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22871 * gnu/CORBA/GIOP/MessageHeader.java (write):
22872 More informative exception.
22873 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22874 * gnu/CORBA/SocketRepository.java (get_socket):
22875 Removed debugging code.
22877 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22879 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22880 one way message, but ignore if EOF was received.
22881 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22882 Minor.EOF if the end of file is received instead of the header.
22884 2006-04-09 Roman Kennke <kennke@aicas.com>
22886 * javax/swing/plaf/metal/MetalRootPaneUI.java
22887 (MetalTitlePane.IconifyAction): New inner class.
22888 (MetalTitlePane.MaximizeAction): New inner class.
22889 (MetalTitlePane.createActions): Create iconifyAction and
22891 (MetalRootLayout.titlePane): New field.
22892 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22894 (MetalRootLayout.preferredLayoutSize): Changed to not make
22895 assumptions about the actual component order.
22896 (MetalRootLayout.layoutContainer): Changed to not make
22897 assumptions about the actual component order.
22898 (installWindowDecorations): Pass the titlePane as parameter to
22899 the MetalRootLayout constructor.
22900 (uninstallWindowDecorations): Changed to not make
22901 assumptions about the actual component order.
22903 2006-04-08 Roman Kennke <kennke@aicas.com>
22905 * javax/swing/plaf/metal/MetalRootPaneUI.java
22906 (MetalTitlePane.MouseHandler): New inner class to handle dragging
22908 (MetalTitlePane.installListeners): Don't register a focus listener
22909 on the window. This is a potential memory leak and must be
22910 implemented on a different way. Install mouse listener here.
22911 (installWindowDecorations): Fixed assertion condition. Always
22912 insert the window decoration at index#1 in the layered
22915 2006-04-08 Roman Kennke <kennke@aicas.com>
22917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22918 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22919 Only resize window if actual width or height value changes.
22920 Avoids nasty flicker when only setLocation() is beeing called
22923 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22925 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
22926 exception if the magic sequence does not match.
22928 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22930 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
22931 response for the one way messages.
22933 2006-04-08 Roman Kennke <kennke@aicas.com>
22935 * javax/swing/MenuSelectionManager.java
22936 (processKeyEvent): Implemented stub method.
22937 * javax/swing/JMenu.java
22938 (processKeyEvent): Implemented stub method.
22939 * javax/swing/JMenu.java
22940 (processKeyEvent): Implemented stub method.
22941 (processMenuKeyEvent): Implemented stub method.
22943 2006-04-08 Roman Kennke <kennke@aicas.com>
22945 * javax/swing/AbstractAction.java
22946 (readObject): Removed unneeded method.
22947 (writeObject): Removed unneeded method.
22949 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22951 * javax/swing/plaf/synth/SynthPainter.java:
22952 (paintSplitPaneDividerBorder): Removed.
22954 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22956 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
22957 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
22958 No longer constants.
22959 (static_initializer): Added to initialize above fields.
22960 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
22961 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
22962 (static_initializer): Added to initialize above fields.
22964 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
22966 * java/awt/Dialog.java: Improved documentation all over.
22967 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
22968 (Dialog(Dialog)): Likewise.
22970 2006-04-08 Mark Wielaard <mark@klomp.org>
22972 * java/util/jar/JarFile.java (provider): New static field.
22973 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
22976 2006-04-08 Mark Wielaard <mark@klomp.org>
22979 * java/lang/StackTraceElement.java (toString): Don't add space
22980 between type and source indicator.
22982 2006-04-07 Casey Marshall <csm@gnu.org>
22984 Fixes PR classpath/24464
22985 * java/util/jar/JarFile.java (verify, verifyHashes,
22986 EntryInputStream.<init>): pass the Gnu provider directly to
22989 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
22992 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
22993 (DIGEST0): Use version 3 test vector.
22995 (S_box): New field: Version 3 S-box values.
22996 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
22997 (transform): Formating.
22998 (padBuffer): Likewise.
22999 (getResult): Likewise.
23000 (selfTest): Likewise.
23002 2006-04-07 Tom Tromey <tromey@redhat.com>
23004 * java/util/InvalidPropertiesFormatException.java
23005 (serialVersionUID): New field.
23006 (readObject, writeObject): New methods.
23007 * java/util/Arrays.java (toString): Javadoc fixes.
23008 * java/net/URLConnection.java: Cleaned up imports.
23009 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23010 * java/lang/reflect/MalformedParameterizedTypeException.java
23011 (serialVersionUID): New field.
23012 * java/lang/reflect/GenericSignatureFormatError.java
23013 (serialVersionUID): New field.
23014 * java/lang/Class.java (Class): Javado fixes.
23015 (getComponentType): Likewise.
23016 (getGenericInterfaces): Likewise.
23017 (getTypeParameters): Likewise.
23018 * java/io/CharArrayWriter.java (append): Javadoc fixes.
23019 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23021 * java/lang/TypeNotPresentException.java (serialVersionUID): New
23023 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23026 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23028 * java/awt/Dialog.java
23029 (AccessibleAWTDialog): Added api docs
23030 (AccessibleAWTDialog.getAccessibleStateSet):
23031 Renamed from getAccessibleState.
23032 * java/awt/Frame.java
23033 (AccessibleAWTFrame): Added api docs
23034 (AccessibleAWTFrame.getAccessibleStateSet):
23035 Renamed from getAccessibleState.
23037 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
23039 * java/awt/Dialog.java: Reformatted.
23041 2006-04-07 Lillian Angel <langel@redhat.com>
23043 * java/awt/Component.java
23044 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23045 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23047 2006-04-07 Tom Tromey <tromey@redhat.com>
23049 * java/beans/beancontext/BeanContextMembershipEvent.java
23050 (serialVersionUID): New field.
23051 * java/beans/beancontext/BeanContextServicesSupport.java
23052 (addBeanContextServicesListener): Synchronize.
23053 (addService): Implemented.
23054 (createBCSChild): Implemented.
23055 (BCSSChild): Added arguments.
23056 (fireServiceAdded): Implemented.
23057 (fireServiceRevoked): Implemented.
23058 (getCurrentServiceSelectors): Implemented.
23059 (hasService): Implemented.
23060 (removeBeanContextServicesListener): Implemented.
23061 (serviceAvailable): Implemented.
23062 (serviceRevoked): Implemented.
23063 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23065 (createBCSChild): Implemented.
23066 (BeanContextSupport):
23067 (addBeanContextMembershipListener): Synchronize.
23068 (fireChildrenAdded): Implemented.
23069 (fireChildrenRemoved): Implemented.
23070 (BeanContextSupport): Use default locale.
23071 (isEmpty): Implemented.
23072 (isDesignTime): Implemented.
23073 (size): Implemented.
23074 (toArray): Synchronized.
23075 (toArray): Likewise.
23076 (iterator): Likewise.
23077 (BCSIterator): Implemented.
23078 (bcsChildren): Implemented.
23079 (validatePendingAdd): Implemented.
23080 (validatePendingRemove): Likewise.
23081 (childJustAddedHook): Implemented.
23082 (childJustRemovedHook): Likewise.
23083 (classEquals): Likewise.
23084 (toArray): Mark as stub.
23085 (setDesignTime): Implemented.
23086 (copyChildren): Implemented.
23087 (containsKey): Implemented.
23088 (contains): Likewise.
23089 (containsAll): Likewise.
23090 (getResource): Implemented.
23091 (getResourceAsStream): Likewise.
23092 (removeBeanContextMembershipListener): Likewise.
23093 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23094 (serialVersionUID): New field.
23095 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23096 (serialVersionUID): New field.
23097 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23100 2006-04-06 Roman Kennke <kennke@aicas.com>
23103 * javax/swing/MenuSelectionManager.java
23104 (setSelectedPath): Search one more item in the loop.
23106 2006-04-06 Tom Tromey <tromey@redhat.com>
23108 * java/awt/image/renderable/RenderableImageProducer.java
23109 (image, context, consumers): New fields.
23110 (RenderableImageProducer): Implemented.
23111 (setRenderContext): Likewise.
23112 (addConsumer): Likewise.
23113 (isConsumer): Likewise.
23114 (removeConsumer): Likewise.
23115 (startProduction): Likewise.
23117 2006-04-06 Roman Kennke <kennke@aicas.com>
23119 * java/awt/Component.java
23120 (AccessibleAWTComponent.getBounds): Return the component
23121 bounds regardless of its showing state.
23122 (AccessibleAWTComponent.getLocation): Return the component
23123 location regardless of its showing state.
23124 (AccessibleAWTComponent.getSize): Return the component
23125 size regardless of its showing state.
23127 2006-04-06 Roman Kennke <kennke@aicas.com>
23129 * javax/swing/JRootPane.java
23130 (getAccessibleContext): New method. Provides an accessibleContext
23133 2006-04-06 Roman Kennke <kennke@aicas.com>
23135 * java/awt/Toolkit.java
23136 (initAccessibility): Use the 'gnu.classpath.home.url' property
23137 to determine the system confiuration directory.
23138 * java/awt/Component.java
23139 (dispatchEvent): Trigger Toolkit dispatching here.
23140 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23141 so it can't be overridden by subclasses and is performed in
23144 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23146 * javax/naming/Binding.java: Added API docs.
23147 * javax/naming/NameClassPair.java: Added API docs.
23148 (fullName): New field.
23149 (setNameInNamespace): New 1.5 method.
23150 (getNameInNamespace): Likewise.
23152 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23154 * javax/naming/CompositeName.java:
23155 (readObject): New deserialization method.
23156 (writeObject): New serialization method.
23158 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
23160 * javax/security/auth/x500/X500Principal.java
23161 (readAttributeValue) Check for separator after quoted value was
23162 failing in all cases.
23164 2006-04-06 Mark Wielaard <mark@klomp.org>
23166 * java/lang/Class.java (getClassLoader): Don't do security check
23167 when loader is null.
23169 2006-04-06 Roman Kennke <kennke@aicas.com>
23171 * java/awt/Toolkit.java
23172 (getDefaultToolkit): Initialize accessibility after setting
23174 (initAccessibility): New helper method to setup accessibility.
23176 2006-04-06 Roman Kennke <kennke@aicas.com>
23178 * javax/swing/AbstractButton.java
23179 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23180 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23182 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23183 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23184 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23185 (AccessibleAbstractButton.getCharCount): Implemented stub.
23186 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23187 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23188 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23189 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23190 (AccessibleAbstractButton.getSelectedText): Implemented stub.
23191 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23194 2006-04-06 Roman Kennke <kennke@aicas.com>
23196 * java/awt/Component.java
23197 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23198 state here. This is only done in JComponent.
23199 * javax/swing/JComponent.java
23200 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23202 (getNextFocusableComponent): Implemented stub method.
23203 (grabFocus): Implemented stub method.
23204 (unregisterKeyboardAction): Implemented stub method.
23205 (setNextFocusableComponent): Implemented stub method.
23206 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23207 This is a helper class for providing compatibility with the older
23210 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23213 * javax/naming/directory/BasicAttribute.java,
23214 * javax/naming/directory/BasicAttributes.java:
23215 (readObject): New deserialization method.
23216 (writeObject): New serialization method.
23218 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
23220 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23221 (getErrorHandler): Made method abstract.
23222 (setErrorHanlder): Likewise.
23223 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23224 (getErrorHandler): Implement abstract method from superclass.
23225 (setErrorHandler): Likewise.
23226 (errorHandler): New field.
23227 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
23228 (getErrorHandler): Implement abstract method from superclass.
23229 (setErrorHandler): Likewise.
23230 (errorHandler): New field.
23231 * javax/xml/XMLConstants.java: Corrected since tag.
23232 (XMLConstants): Added private constructor.
23233 * javax/xml/datatype/Duration.java: Corrected since tag.
23234 (multiply): Made method abstract.
23235 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23236 (DatatypeConstants): Added private constructor.
23237 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23238 (XPathConstants): Added private constructor.
23240 2006-04-05 Tom Tromey <tromey@redhat.com>
23242 * javax/security/auth/kerberos/ServicePermission.java: Now final.
23244 2006-04-05 Tom Tromey <tromey@redhat.com>
23247 * lib/Makefile.am (compile-classes): Touch the output file.
23249 2006-04-05 Roman Kennke <kennke@aicas.com>
23251 * javax/swing/AbstractButton.java
23252 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23253 of the focused state. This is already done in AccessibleAWTComponent.
23255 2006-04-05 Roman Kennke <kennke@aicas.com>
23257 * javax/swing/JComponent.java
23258 (accessibleContext): Fixed API doc for this field.
23259 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23260 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23261 Implemented and added API docs.
23262 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23263 Implemented and added API docs.
23264 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23265 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23266 Implemented and added API docs.
23267 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23268 Implemented and added API docs.
23269 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23270 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23271 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23272 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23273 (AccessibleJComponent.getAccessibleStateSet): Simply return
23274 super here. Added comment about this.
23276 2006-04-05 Roman Kennke <kennke@aicas.com>
23278 * javax/swing/JComponent.java
23279 (AccessibleJComponent.addPropertyChangeListener): Install
23280 ContainerHandler and FocusHandler here.
23281 (AccessibleJComponent.removePropertyChangeListener): Uninstall
23282 ContainerHandler and FocusHandler here.
23283 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23284 by super.getAccessibleChildrenCount().
23285 (AccessibleJComponent.getAccessibleChild): Replaced
23286 by super.getAccessibleChild().
23287 (AccessibleJComponent.getAccessibleStateSet): Implemented by
23288 adding OPAQUE to the supported states.
23289 (AccessibleJComponent.getAccessibleName): Added titled border
23290 and label fallbacks.
23291 (AccessibleJComponent.getAccessibleDescription): Added tooltip
23292 and label fallbacks.
23293 (AccessibleJComponent.getAccessibleRole): Removed TODO.
23294 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23295 explaining why return null seems correct here.
23296 * javax/swing/JLabel.java
23297 (LABEL_PROPERTY): New constant.
23298 (setLabelFor): Store label in labeled component's client properties
23299 for the AccessibleJComponent to read.
23301 2006-04-05 Tom Tromey <tromey@redhat.com>
23303 * java/util/zip/ZipFile.java (available): Defer to super if
23304 entry's size is unknown.
23306 2006-04-05 Tom Tromey <tromey@redhat.com>
23308 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23309 property with mime.types name.
23310 * gnu/classpath/SystemProperties.java: Set
23311 gnu.classpath.mime.types.file if not already set.
23312 * java/net/URLConnection.java (defaultFactory): New field.
23313 (guessContentTypeFromStream): Mark as unimplemented.
23314 (getContentHandler): Updated with libgcj's implementation.
23315 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23318 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
23322 * java/util/AbstractList.java (hasNext): Don't throw
23323 ConcurrentModificationException. Update Javadoc.
23324 (hasPrevious): Likewise.
23325 (nextIndex): Likewise.
23326 (previousIndex): Likewise.
23327 * java/util/HashMap.java (hasNext): Likewise.
23328 * java/util/Hashtable.java (hasNext): Likewise.
23329 * java/util/IdentityHashMap.java (hasNext): Likewise.
23330 * java/util/LinkedHashMap.java (hasNext): Likewise.
23331 * java/util/LinkedList.java (nextIndex): Likewise.
23332 (previousIndex): Likewise.
23333 (hasNext): Likewise.
23334 (hasPrevious): Likewise.
23335 * java/util/TreeMap.java (hasNext): Likewise.
23336 * java/util/WeakHashMap.java (hasNext): Likewise.
23338 2006-04-05 Roman Kennke <kennke@aicas.com>
23340 * javax/swing/AbstractButton.java
23341 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23342 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23343 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23344 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23345 (AccessibleAbstractButton.getAccessibleActionDescription):
23347 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23348 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23349 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23350 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23351 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23352 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23354 2006-04-05 Roman Kennke <kennke@aicas.com>
23356 * javax/swing/JComboBox.java
23357 (selectWithKeyChar): Implemented stubbed method.
23359 2006-04-05 Roman Kennke <kennke@aicas.com>
23361 * javax/swing/LookAndFeel.java
23362 (installProperty): New method. Allows primitive typed properties
23363 to be handled like UIResources.
23364 * javax/swing/AbstractButton.java
23365 (clientBorderPaintedSet): New field.
23366 (clientRolloverEnabledSet): New field.
23367 (clientIconTextGapSet): New field.
23368 (clientContentAreaFilledSet): New field.
23369 (setRolloverEnabled): Set the client field to true.
23370 (setBorderPainted): Likewise.
23371 (setIconTextGap): Likewise.
23372 (setContentAreaFilled): Likewise.
23373 (setUIProperty): New helper method.
23374 * javax/swing/JComponent.java
23375 (clientOpaqueSet): New field.
23376 (clientAutoscrollsSet): New field.
23377 (setAutoscrolls): Set the client field to true.
23378 (setOpaque): Likewise.
23379 (setUIProperty): New helper method.
23380 * javax/swing/JDesktopPane.java
23381 (clientDragModeSet): New field.
23382 (setDragMode): Set the client field to true.
23383 (setUIProperty): New helper method.
23384 * javax/swing/JSplitPane.java
23385 (clientDividerSizeSet): New field.
23386 (clientOneTouchExpandableSet): New field.
23387 (setDividerSize): Set the client field to true.
23388 (setOneTouchExpandable): Likewise.
23389 (setUIProperty): New helper method.
23390 * javax/swing/JTable.java
23391 (clientRowHeightSet): New field.
23392 (setRowHeight): Set the client field to true.
23393 (setUIProperty): New helper method.
23394 * javax/swing/JTree.java
23395 (clientRowHeightSet): New field.
23396 (clientScrollsOnExpandSet): New field.
23397 (clientShowsRootHandlesSet): New field.
23398 (setRowHeight): Set the client field to true.
23399 (setShowsRootHandles): Likewise.
23400 (setScrollsOnExpand): Likewise.
23401 (setUIProperty): New helper method.
23403 2006-04-05 Roman Kennke <kennke@aicas.com>
23405 * java/awt/Component.java
23406 (getFont): Don't request the font from the peer's graphics. The
23407 graphics should instead get the font from the Component, which might
23409 (getFocusCycleAncestor): Don't special case Window.
23410 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23411 to here. Correctly determine the focus cycle root.
23412 (transferFocusBackward): Likewise.
23413 (transferFocusUpCycle): Likewise.
23414 * java/awt/Container.java
23415 (transferFocusDownCycle): Moved implementation from
23416 DefaultKeyboardFocusManager to here.
23417 * java/awt/DefaultKeyboardFocusManager.java
23418 (focusPreviousComponent): Moved implementation to
23419 Component.transferFocusBackward().
23420 (focusNextComponent): Moved implementation to
23421 Component.nextFocus().
23422 (upFocusCycle): Moved implementation to
23423 Component.transferFocusUpCycle().
23424 (downFocusCycle): Moved implementation to
23425 Container.transferFocusDownCycle().
23427 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23429 * java/awt/image/ComponentSampleModel.java
23430 (equals): Implemented,
23431 (hashCode): Likewise.
23433 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
23435 * java/lang/Class.java
23436 (cast): New method.
23438 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23440 * java/awt/image/ComponentSampleModel.java
23441 (getBankIndices): Return a copy of the array, not a reference to the
23443 (getBandOffsets): Likewise.
23445 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
23447 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23449 2006-04-04 Tom Tromey <tromey@redhat.com>
23451 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23453 2006-04-04 Tom Tromey <tromey@redhat.com>
23455 * java/net/MimeTypeMapper.java (mime_types): No longer static.
23456 (MimeTypeMapper): Initialize.
23457 (fillFromFile): New method.
23458 (main): New method.
23459 (mime_strings): Updated.
23461 2006-04-04 Tom Tromey <tromey@redhat.com>
23463 * lib/gen-classlist.sh.in: Correct handle generated files.
23465 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
23467 * gnu/regexp/CharIndexed.java(setAnchor): New method.
23468 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23469 * gnu/regexp/CharIndexedCharSequence.java: New file.
23470 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23471 gnu.regexp.CharIndexedCharSequence.
23472 * gnu/regexp/CharIndexedString.java: Likewise.
23473 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23474 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23475 using CharIndexedCharSequence. Use setAnchor when the input
23476 object is already a CharIndexed.
23477 * java/util/regex/Matcher.java(inputCharIndexed): New field
23478 to be used as a parameter of the RE#getMatch.
23480 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23482 * java/awt/image/SampleModel.java: Reformatted.
23484 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23486 * java/awt/image/ComponentSampleModel.java
23487 (ComponentSampleModel(int, int, int, int, int[])): Added API
23489 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
23490 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23491 of the bandOffsets and bankIndices arguments, added API documentation,
23492 * java/awt/image/SampleModel.java
23493 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23494 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23495 less than or equal to zero, added API documentation.
23497 2006-04-04 Lillian Angel <langel@redhat.com>
23499 * java/util/zip/ZipFile.java
23500 (getInputStream): Fixed to return size of ZipEntry
23501 minus the total bytes read. This guarantees that the
23502 right value is returned even if some bytes have already
23505 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
23507 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23508 Remove static modifier.
23510 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
23512 * java/awt/image/ComponentSampleModel.java: Reformatted.
23514 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23516 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23517 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23518 retrieval instructions to javadoc header.
23519 * javax/imageio/ImageWriteParam.java: Fix javadoc for
23520 compressionType field.
23521 * lib/Makefile.am (propertydirs): Add javax directory.
23522 (propertyfiles): Likewise.
23523 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23526 2006-04-03 Tom Tromey <tromey@redhat.com>
23528 PR classpath/26971:
23529 * javax/naming/directory/BasicAttribute.java: Added missing @since.
23530 (BasicAttributeEnumeration.where): Initialize to 0.
23531 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23533 2006-04-03 Lillian Angel <langel@redhat.com>
23535 PR classpath/24596 and PR classpath/26930
23536 * java/util/zip/ZipFile.java
23537 (getInputStream): Override available function for
23538 InflaterInputStream instance.
23540 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
23542 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23544 2006-04-03 Tom Tromey <tromey@redhat.com>
23546 * javax/security/auth/kerberos/ServicePermission.java: New file.
23547 * javax/security/auth/kerberos/DelegationPermission.java: New file.
23548 * javax/security/auth/kerberos/KerberosKey.java: New file.
23549 * javax/security/auth/kerberos/KeyImpl.java: New file.
23550 * javax/security/auth/kerberos/KerberosTicket.java: New file.
23551 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23553 2006-04-03 Sven de Marothy <sven@physto.se>
23555 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23556 non-GtkImage images.
23558 2006-04-03 Mark Wielaard <mark@klomp.org>
23560 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23561 as temporary file name.
23563 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23565 * INSTALL: Documented --with-glibj-zip option.
23567 2006-04-03 Dalibor Topic <robilad@kaffe.org>
23569 Fixed all pscan warnings.
23571 * native/jni/classpath/jcl.c (JCL_ThrowException),
23572 native/jni/classpath/jcl.h (DBG),
23573 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23574 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23575 Use "%s" format in fprintf and snprintf explicitely when printing a single
23576 string to prevent format string exploits.
23578 * native/jni/java-net/javanet.h (DBG): Removed duplicate
23579 definition. Included jcl.h instead.
23581 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
23583 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23584 (provider): Made it protected.
23585 (providerInstalled): New field.
23586 (Main): Made it a 0-arguments constructor.
23587 Removed throws clasue.
23588 (main): Removed throws clause.
23589 Call processArgs(args) after constructing instance.
23590 Call teardown() before existing.
23591 (processArgs): Added javadoc.
23592 Reduced to throws Exception.
23594 (teardown): New method.
23595 (setupCommonParams): Added javadoc.
23596 Install designated provider if not already installed.
23597 (installNewProvider): New method.
23598 (setupSigningParams): Added javadoc.
23599 Instantiate the KeyStore using type only.
23600 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23601 Removed unused imports.
23602 (start): Reduced to throws Exception.
23603 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23604 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23605 Re-organized imports.
23606 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23607 Test ignoring case.
23608 (getNames): Add "dsa" as an algorithm provided by this Factory.
23609 (makeInstance): Construct IllegalArgumentException with 2 arguments.
23611 2006-04-03 Roman Kennke <kennke@aicas.com>
23613 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23614 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23615 Replaced g_free() with pango_item_free() to avoid problems
23616 with the allocator.
23618 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
23621 * java/util/logging/Level.java (parse): Document.
23622 * java/util/logging/LogManager.java (rootLogger): Removed.
23623 (LogManager): Just set loggers to new HashMap.
23624 (getLogManager): Make synchronized. Create and init LogManager if it
23626 (static): Removed block.
23627 (MANAGER_PROPERTY): New private final string.
23628 (makeLogManager): Use new property string, move warning to
23629 createInstance() method.
23630 (CONFIG_PROPERTY): New private final string.
23631 (initLogManager): New method.
23632 (addLogger): Use Logger.root, not rootLogger.
23633 (findAncestor): Likewise.
23634 (readConfiguration): Move warning to createInstance() method.
23635 Add handlers directly to Logger.root. Warn about bad level values.
23636 (getClassProperty): Use new locateClass() method.
23637 (getInstanceProperty): Only catch specific newInstance Errors.
23638 (createInstance): Make private and takes a string to use in warning
23639 messages. Use new locateClass() method and generate appropriate
23641 (warn): New methods.
23642 (locateClass): Locates a class through the context class loader and
23643 system class loader as backup.
23644 * java/util/logging/Logger.java (root): New static final field.
23645 (Logger): Set parent to root.
23646 (setParent): Directly check root field.
23648 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23650 * java/util/Collections.java:
23651 (binarySearch(List, T)): Fixed signature.
23652 (unmodifiableList(List)): Likewise.
23653 (UnmodifiableList(List)): Fixed constructor.
23654 (UnmodifiableRandomAccessList(List)): Likewise.
23655 (unmodifiableMap(Map)): Fixed signature.
23656 (UnmodifiableMap(Map)): Fixed constructor.
23657 (unmodifiableSortedMap(Map)): Fixed signature.
23658 (UnmodifiableSortedMap(Map)): Fixed constructor.
23660 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
23662 * java/io/ObjectOutputStream.java:
23663 (writeObject(Object)): Added enum support.
23664 (writeClassDescriptor(ObjectStreamClass)): Likewise.
23665 * java/io/ObjectStreamClass.java:
23666 (isEnum()): New package-private method.
23667 (setFlags(Class)): Added enum support.
23668 * java/io/ObjectStreamConstants.java:
23671 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23673 * javax/swing/text/Segment.java:
23674 (setPosition): Make exception message more verbose.
23675 * javax/swing/text/WrappedPlainView.java:
23676 (insertUpdate): Removed unneeded repaint call.
23677 (changeUpdate): Dito.
23678 (removeUpdate): Dito.
23679 (WrappedLine.determineNumLines): Do not return numLines, break
23680 from loop if no new break point has been calculated.
23681 (WrappedLine.updateDamage): Rewritten.
23682 (WrappedLine.insertUpdate): Removed unneeded update code.
23683 (WrappedLine.removeUpdate): Removed unneeded update code, added
23686 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23688 * configure.ac (with-glibj-zip): Added new option.
23690 * examples/Makefile.am,
23692 tools/Makefile.am: Adapted build classpath to use glibj.zip,
23693 in addition to classes in lib directory.
23695 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23697 * tools/gnu/classpath/tools/giop/GRMIC.java,
23698 tools/gnu/classpath/tools/giop/IorParser.java,
23699 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23700 tools/gnu/classpath/tools/giop/grmic/Generator.java,
23701 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23702 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23703 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23704 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23705 tools/gnu/classpath/tools/rmi/RMIC.java,
23706 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23707 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23708 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23709 linking exception from the licensing header.
23710 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23711 Added licensing header.
23713 2006-04-02 Mark Wielaard <mark@klomp.org>
23715 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23716 (jarsigner): Removed.
23718 2006-04-02 Dalibor Topic <robilad@kaffe.org>
23720 * configure.ac: don't check for isnan function.
23721 * native/fdlibm/fdlibm.h: Always use the isnan macro.
23723 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23725 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23726 * tools/Makefile.am: Generate jarsigner shell script.
23727 * tools/jarsigner.sh.in: New template.
23728 * tools/.cvsignore: Added jarsigner.sh.
23730 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
23732 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23733 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23734 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23735 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23736 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23737 Re-organised imports.
23739 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
23741 PR classpath/25924:
23742 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23743 Handle case where alpha==0.
23745 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23748 * javax/swing/text/Utilities.java:
23749 (getTabbedTextOffset): Added check to decrement pos not below zero,
23750 changed '>' comparison to '>='.
23751 * javax/swing/text/WrappedPlainView.java:
23752 (lineHeight): New field.
23753 (calculateBreakPosition): Throw InternalError in catch block, removed
23754 unneeded brackets, use specific version of
23755 Utilities.getTabbedTextOffset.
23756 (paint): Set various properties neccessary for drawing.
23757 (WrappedLine.paint): Removed code to set field of outer class.
23758 (WrappedLine.modelToView): Removed unneeded expression from
23760 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23761 -1 from return statement, copy only a subset into the Segment, removed
23762 special handling of mark value - just return it, simplified
23763 incrementation of currLineStart.
23764 (WrappedLine.insertUpdate): Recalculate numLines, report preference
23765 change to parent view.
23766 (WrappedLine.removeUpdate): Dito.
23768 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23770 * javax/swing/text/Segment.java:
23771 (toString): Return empty string when array is null.
23773 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
23775 * javax/swing/plaf/basic/BasicTextUI.java:
23776 (damageRange): Use SwingUtilities.computeUnion to avoid
23777 unneccessary Rectangle instantiation.
23779 2006-04-01 Tom Tromey <tromey@redhat.com>
23781 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23783 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23785 * javax/swing/text/CompositeView.java: Fixed copyright header.
23786 * javax/swing/text/BoxView.java: Fixed copyright header.
23787 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23788 * javax/swing/text/Utilities.java: Fixed copyright header.
23790 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23792 * javax/swing/text/CompositeView.java:
23793 (modelToView): Throw BadLocationException when no child
23794 view can be found, restructed to throw exception as early
23796 (viewToModel): Use mutable allocation as argument for viewToModel
23797 call on child view.
23798 * javax/swing/text/BoxView.java:
23799 (getViewAtPoint): Call setBounds() r before method returns with
23800 suitable child view.
23801 * javax/swing/text/Utilities.java:
23802 (getPositionBelow): Added try-catch-block around modelToView call,
23803 added method return when BadLocationException was thrown.
23804 * javax/swing/text/WrappedPlainView.java:
23805 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23806 added note about meaning of rect.x and rect.width, removed unneeded
23807 checks, added code to not return the last possible document offset.
23809 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
23811 * javax/swing/text/WrappedPlainView.java:
23812 (WrappedLine.viewToModel): Change < to <= in if-statement,
23813 removed addition of currLineStart to return value.
23814 * javax/swing/text/BoxView.java:
23815 (getViewAtPoint): Use copy instead of r for method call
23816 which modifies the second argument.
23818 2006-04-01 Mark Wielaard <mark@klomp.org>
23821 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23823 2006-03-31 Tom Tromey <tromey@redhat.com>
23825 * lib/split-for-gcj.sh: Updated for multi-field format.
23826 * lib/Makefile.am (CLEANFILES): Added classes.2.
23827 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
23828 classes.2 using multiple fields.
23830 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23832 * javax/swing/JTable.java (columnSelectionChanged):
23833 Removed print statement.
23834 * javax/swing/DefaultListSelectionModel.java
23835 (addSelectionInterval, removeSelectionInterval):
23836 Fire the difference between selection. (setLeadSelectionIndex):
23837 Fire the difference and mark current and previous lead
23838 selection indexes for repaint.
23840 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
23842 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23843 unnecessary copying.
23844 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23846 2006-03-31 Lillian Angel <langel@redhat.com>
23848 * java/awt/Component.java
23849 (translateEvent): oldKey should be the value of the
23852 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23854 * javax/swing/JTable.java (columnSelectionChanged):
23855 Treat second repaint parameter as width.
23857 2006-03-31 Lillian Angel <langel@redhat.com>
23860 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23861 (realize): New native function.
23862 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23863 Added new function declaration.
23864 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23865 (realize): New function.
23867 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
23869 * javax/swing/text/GapContent.java:
23870 (replace): Move all Position instances from gap's end to
23871 it's start before increasing the gap start.
23872 * javax/swing/plaf/basic/BasicTextAreaUI.java:
23873 (propertyChanged): Update the view only instead of
23874 indicating a document change.
23876 2006-03-31 Roman Kennke <kennke@aicas.com>
23878 * javax/swing/JTextField.java
23879 (fireActionPerformed): Put the textfields text in the action
23880 instead of the action name.
23882 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
23884 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23885 Check for null jar-file argument.
23886 (setupSigningParams): Check for null alias argument.
23888 2006-03-31 Roman Kennke <kennke@aicas.com>
23890 * javax/swing/JComponent.java
23891 (paintChildren): Split up in two cases, depending on the
23892 optimizedDrawingEnabled flag.
23893 (paintChildrenWithOverlap): New method. Paints children when
23894 not optimizedDrawingEnabled. This implements better painting
23895 algorithm for overlapping components, so that the painted
23896 regions are minimized.
23897 (paintChildrenOptimized): New method. Paints children when
23898 when optimizedDrawingEnabled. This implements a painting
23899 algorithm that is optimized for the case when all children
23900 are guaranteed to be tiled.
23902 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
23904 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23905 Attributes.putValue(String,String).
23906 (finishSigning): Likewise.
23907 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23908 (SIGNATURE_VERSION): Likewise.
23909 (readSFManifest): Use local string constant.
23910 (readMainSection): Likewise.
23911 (readVersionInfo): Likewise.
23912 * java/util/jar/Attributes.java (MANIFEST_VERSION):
23913 Redefined using JarUtils constant.
23914 (SIGNATURE_VERSION): Likewise.
23915 (putValue(Name,String)): Made it private.
23917 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23919 * javax/swing/DefaultListSelectionModel.java (fireDifference):
23920 New method. (clearSelection): Rewritten. (setSelectionInterval):
23921 Fire the difference between current and new selection.
23922 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
23923 Only repaint the region, where selection has been changed.
23924 * javax/swing/plaf/basic/BasicTableUI.java
23925 (TableAction.actionPerformed): Do not change the column selection
23926 when only row selection change is wanted (and in reverse) and
23927 do not call the repaint() here.
23929 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
23932 * javax/swing/DefaultComboBoxModel.java
23933 (DefaultComboBoxModel(Vector)): Call getSize() instead of
23935 (addElement): Call list.addElement() rather than list.add(), and only
23936 update selected item if it is currently null,
23937 (removeElementAt): Update selected item, then remove the element.
23939 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
23942 * java/awt/geom/Point2D.java
23943 (distanceSq(double, double)): Fixed order of arguments,
23944 (distanceSq(Point2D)): Likewise,
23945 (distance(double, double)): Likewise,
23946 (distance(Point2D)): Likewise.
23948 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
23950 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
23951 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
23952 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
23953 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
23954 DCLuminanceLengths, DCLuminanceValues): Remove fields.
23956 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23958 * javax.swing.JTable (constructor): Initialize column
23959 model column margin and table row margin before setting the
23960 table column model. (initialiseLocalVars): Do not call
23961 setIntercellSpacing.
23963 2006-03-30 Chris Burdess <dog@gnu.org>
23965 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
23967 * javax/xml/validation/SchemaFactoryLoader.java: New file.
23969 2006-03-30 Mark Wielaard <mark@klomp.org>
23972 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
23973 adjust bounds. On resize invalidate and validate container.
23974 Always pass on ComponentEvents to Container super class.
23975 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
23976 menuBar and pass to GtkWindowPeer super class.
23977 (postConfigureEvent): Adjust menu bar width. Adjust y and height
23978 bounds and pass to GtkWindowPeer super class.
23979 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
23980 New fields for local bounds.
23981 (getX, getY): New methods.
23982 (getWidth): Don't call into awtComponent.
23983 (getHeight): Likewise.
23984 (create): Cache local bounds.
23985 (setLocation): Documented, made protected and just call
23987 (setLocationUnlocked): Removed unused method.
23988 (setBoundsUnlocked): Likewise.
23989 (setBounds): Check whether bounds actually changed and cache local
23991 (setSize): Documented and made protected.
23992 (setResizable): Documented and cache local bounds.
23993 (postConfigureEvent): Update local bounds. Don't call awtComponent
23994 directly but post ComponentEvents.
23995 (show): Cache local bounds.
23996 (getBounds): Override to return cached bounds.
23998 2006-03-30 Lillian Angel <langel@redhat.com>
24000 * gnu/java/awt/peer/gtk/GdkGraphics.java
24001 (drawImage): Added check to prevent NPE.
24002 (drawImage): Likewise.
24003 (drawImage): Likewise.
24004 * java/awt/Choice.java
24005 (dispatchEventImpl): New function. selectedIndex was
24006 not being updated properly otherwise.
24008 2006-03-30 Roman Kennke <kennke@aicas.com>
24010 * javax/swing/JTabbedPane.java
24011 (removeTabAt): Removed debug code.
24013 2006-03-30 Roman Kennke <kennke@aicas.com>
24016 * javax/swing/plaf/basic/BasicTextUI.java
24017 (installKeyboardActions): Simply call getKeymap() and install this.
24018 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24020 2006-03-30 Roman Kennke <kennke@aicas.com>
24022 * javax/swing/JTabbedPane.java
24023 (removeTabAt): Adjust selection correctly when removing a tab
24024 before the selected tab. Also remove the component from the
24025 container, not only the tab object. Repaint and revalidate the
24026 component after the removal.
24027 (removeAll): Set selection to -1 before removing the tabs.
24029 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
24031 * java/io/ObjectInputStream.java:
24032 (parseContent(byte)): Added enum support.
24033 * java/io/ObjectStreamConstants.java:
24035 (TC_MAX): Changed to new maximum, TC_ENUM.
24037 2006-03-29 Lillian Angel <langel@redhat.com>
24039 Partial fix for bug #26929
24040 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24041 (updateComponent): Removed. We want to clear the panel
24043 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24044 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24045 Should set the background to the saved background color.
24047 2006-03-29 Mark Wielaard <mark@klomp.org>
24049 Partial fix for bug #26848 (pack).
24050 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24051 Always show instances of Window.
24053 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24055 * javax/swing/JSlider.java
24056 (setPaintLabels): Only create standard labels if labelTable is null,
24057 * javax/swing/plaf/basic/BasicSliderUI.java
24058 (PropertyChangeHandler.propertyChange): Recalculate geometry for
24059 "paintTicks" property change,
24060 (calculateThumbSize): Updated API docs,
24061 (calculateContentRect): Likewise,
24062 (calculateTrackBuffer): Take into account the lowest and highest
24063 labels when calculating buffer space,
24064 (calculateTrackRect): Include labels, if visible, in the calculation of
24065 the trackRect position,
24066 (calculateTickRect): Height is zero if ticks are not painted,
24067 (calculateLabelRect): Use max dimensions of actual labels,
24068 (getWidthOfHighValueLabel): Use preferred size,
24069 (getWidthOfLowValueLabel): Likewise,
24070 (getHeightOfHighValueLabel): Likewise,
24071 (getHeightOfLowValueLabel): Likewise,
24072 (drawInverted): Just return slider setting,
24073 (getHighestValueLabel): Updated API docs,
24074 (paintTicks): Removed redundant (and buggy) code, replaced with calls
24075 to xPositionForValue() and yPositionForValue(),
24076 (paintHorizontalLabel): Removed full qualification of class name,
24077 (paintVerticalLabel): Likewise,
24078 (xPositionForValue): Reimplemented,
24079 (yPositionForValue): Reimplemented,
24080 * javax/swing/plaf/metal/MetalSliderUI.java
24081 (paintTrack): Made track one pixel longer.
24083 2006-03-29 Tom Tromey <tromey@redhat.com>
24086 * tools/Makefile.am (JCOMPILER): Added encoding options.
24087 * examples/Makefile.am (JCOMPILER): Added encoding options.
24089 2006-03-29 Gary Benson <gbenson@redhat.com>
24091 Partial fix for PR classpath/24895
24092 * java/io/FilePermission.java (implies): Canonicalize paths.
24094 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
24097 * javax/swing/text/GapContent.java:
24098 (replace): Added call to resetMarksAtZero.
24100 2006-03-29 Roman Kennke <kennke@aicas.com>
24103 * javax/swing/plaf/basic/BasicMenuItemUI.java
24104 (cachedRect): New field.
24105 (BasicMenuItemUI): Initialize cachedRect field.
24106 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24107 to determine layout. Store maximum accelerator and text width
24108 in client properties of parent to allow correct alignment
24109 of accelerators among menu items of one menu.
24110 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24111 method. Align accelerators according to the values calculated
24112 in getPreferredMenuItemSize.
24113 (getAcceleratorString) New helper method.
24114 (layoutMenuItem): New helper method.
24116 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24118 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24119 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24120 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24122 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
24123 readExternal, writeExternal): New methods.
24124 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24125 two stages, invokeCommon(Remote, ...) and
24126 invokeCommen(UnicastConnection, ...).
24127 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24128 also the ActivatableRef. toString(): Documented.
24129 * gnu/java/rmi/server/ActivatableRef.java,
24130 tools/gnu/classpath/tools/rmi/Persistent.java,
24131 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24132 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24133 tools/gnu/classpath/tools/rmi/REGISTRY.java,
24134 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24135 tools/gnu/classpath/tools/rmi/RMID.java,
24136 tools/gnu/classpath/tools/rmi/RMID.txt,
24137 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24138 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24139 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24140 tools/gnu/classpath/tools/rmi/registry/package.html,
24141 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24142 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24144 * tools/README: Documented.
24145 * NEWS: Added entry about the activation.
24147 2006-03-29 Roman Kennke <kennke@aicas.com>
24150 * javax/swing/plaf/basic/BasicMenuItemUI.java
24151 (viewRect): New field.
24152 (textRect): New field.
24153 (accelRect): New field.
24154 (iconRect): New field.
24155 (arrowIconRect): New field.
24156 (checkIconRect): New field.
24157 (BasicMenuItemUI): Initialize new fields.
24158 (paintMenuItem): Rewritten to correctly layout and paint
24159 the menu item in a more straightforward way. Use cached rectangle
24160 objects for layout.
24161 (paintAccelerator): Pulled inside the paintMenuItem method.
24163 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24165 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24166 Do not use initCause with UnexpectedException.
24167 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24170 2006-03-29 Mark Wielaard <mark@klomp.org>
24172 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24173 (setCursorID): Removed unused static variable.
24175 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
24177 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24179 2006-03-29 Mark Wielaard <mark@klomp.org>
24182 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24183 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24185 2006-03-28 Roman Kennke <kennke@aicas.com>
24187 * javax/swing/UIManager.java
24188 (installLookAndFeel): Implemented.
24189 (setInstalledLookAndFeels): Implemented.
24191 2006-03-28 Roman Kennke <kennke@aicas.com>
24193 * javax/swing/plaf/metal/MetalButtonUI.java
24194 (update): Paint gradient only when the background color
24195 is not a UIResource and if the button is neither armed nor
24196 pressed and if the button is contentAreaFilled.
24198 2006-03-28 Roman Kennke <kennke@aicas.com>
24200 * javax/swing/JLayeredPane.java
24201 (addImpl): Repaint added component.
24203 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
24205 * java/util/regex/Matcher.java: Reverted.
24207 2006-03-28 Roman Kennke <kennke@aicas.com>
24209 * javax/swing/text/AsyncBoxView.java
24210 (setEstimatedMajorSpan): Made method protected.
24211 (getEstimatedMajorSpan): Made method protected.
24212 * javax/swing/text/BoxView.java
24213 (flipEastAndWestAtEnds): Fixed typo.
24214 * javax/swing/text/InternationalFormatter.java
24215 (getActions): Made method protected.
24216 * javax/swing/text/Position.java
24217 (Bias): Made class final.
24218 * javax/swing/text/html/HTML.java
24219 (MEDIA): Made field package private. Not specified.
24220 (NOBR): Made field package private. Not specified.
24221 * javax/swing/text/html/NullView.java
24222 Made class package private.
24223 * javax/swing/text/html/parser/Entity.java
24224 Made class non-serializable as specified.
24226 2006-03-28 Roman Kennke <kennke@aicas.com>
24228 * javax/swing/plaf/metal/MetalButtonUI.java
24229 (update): Don't paint gradient if the background color is
24230 no UIResource. Removed double getModel() call. Don't check for
24233 2006-03-28 Roman Kennke <kennke@aicas.com>
24235 * javax/swing/plaf/basic/BasicMenuItemUI.java
24236 (paint): Call paintMenuItem with the selectionBackground as
24238 (paintBackground): Fixed the condition and color for the background
24241 2006-03-28 Roman Kennke <kennke@aicas.com>
24243 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24244 (tabsOpaque): New field.
24245 (paintLeftTabBorder): Paint some parts only when the tabs are
24246 opaque. Determine the tab background using the paintLeftTabBorder()
24248 (paintRightTabBorder): Likewise.
24249 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24251 2006-03-27 Tom Tromey <tromey@redhat.com>
24253 PR classpath/25189:
24254 * java/lang/Enum.java (valueOf): Ensure that the named field
24255 is an enum constant.
24256 (compareTo): Check class of enum.
24258 2006-03-27 Tom Tromey <tromey@redhat.com>
24260 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24262 2006-03-27 Tom Tromey <tromey@redhat.com>
24264 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24266 (getModifiersInternal): Renamed from getModifiers.
24267 (getModifiers): New method.
24268 (isBridge): Likewise.
24269 (isSynthetic): Likewise.
24270 (isVarArgs): Likewise.
24271 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24273 (getModifiersInternal): Renamed from getModifiers.
24274 (getModifiers): New method.
24275 (isSynthetic): Likewise.
24276 (isEnumConstant): Likewise.
24277 * vm/reference/java/lang/reflect/Constructor.java
24278 (getModifiersInternal): Renamed from getModifiers.
24279 (getModifiers): New method
24280 (CONSTRUCTOR_MODIFIERS): New constant.
24281 (isSynthetic): New method.
24282 (isVarArgs): Likewise.
24283 * java/lang/reflect/Member.java (isSynthetic): New method.
24285 2006-03-28 Tom Tromey <tromey@redhat.com>
24287 * java/net/Proxy.java (TYPE): Added missing ";".
24289 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24291 * java/math/RoundingMode.java:
24292 Fixed serialization UID.
24293 * java/net/Proxy.java:
24296 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24298 * java/io/CharArrayWriter.java:
24299 (append(char)): Documented.
24300 (append(CharSequence)): Likewise.
24301 (append(CharSequence,int,int)): Likewise.
24303 2006-03-27 Jeroen Frijters <jeroen@frijters.net>
24305 * vm/reference/java/lang/reflect/Constructor.java
24306 (getTypeParameters): Check return value of getSignature for null.
24307 * vm/reference/java/lang/reflect/Method.java
24308 (getTypeParameters): Check return value of getSignature for null.
24310 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
24312 * java/rmi/activation/ActivationGroup_Stub.java:
24315 2006-03-27 Tom Tromey <tromey@redhat.com>
24317 * java/io/CharArrayWriter.java (append): New overloads.
24319 2006-03-27 Lillian Angel <langel@redhat.com>
24321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24322 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24323 Added check for colormap. Prevents assertion error.
24324 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24326 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24328 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24330 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24332 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24335 2006-03-27 Dalibor Topic <robilad@kaffe.org>
24337 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
24338 AC_MSG_ERROR instead of echoing the error message
24339 that no compiler has been found manually.
24341 2006-03-27 Roman Kennke <kennke@aicas.com>
24343 * javax/swing/RepaintManager.java
24344 (commitBuffer): Use simple drawImage() method instead of the
24347 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24349 * javax/swing/text/PlainView.java:
24350 (drawLine): Use 'endOffset' instead of 'selectionEnd'
24351 for painting the selected line.
24353 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24355 * javax/swing/plaf/basic/BasicSliderUI.java
24356 (getThumbSize): Removed TODO and updated API docs.
24358 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
24360 * javax/swing/text/DefaultCaret.java:
24361 (mouseClicked): Word selection rewritten.
24362 (paint): Draw line inside the bounding rectangle.
24363 (damage): Retrieve caret height from line height.
24365 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
24367 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24369 Check for -help option.
24370 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24372 2006-03-27 Roman Kennke <kennke@aicas.com>
24374 * javax/swing/text/FieldView.java
24375 (getPreferredSpan): Don't include trailing newline in
24377 * javax/swing/text/PlainView.java
24378 (drawLine): Don't include trailing newline.
24379 (determineMaxLineLength): Don't include trailing newline.
24380 (getLineBuffer): Made method final.
24382 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
24384 * javax/swing/JSlider.java
24385 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24386 (AccessibleJSlider.getAccessibleRole): Removed declaration of
24387 NotImplementedException,
24388 (AccessibleJSlider.getAccessibleValue): Updated API docs.
24390 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24392 * java/lang/ProcessBuilder.java:
24395 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24397 * gnu/java/net/protocol/http/Headers.java:
24398 Match layout of file on HEAD.
24399 * gnu/javax/swing/text/html/parser/htmlValidator.java:
24401 * java/awt/datatransfer/DataFlavor.java
24404 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
24406 * gnu/java/security/jce/hash/HavalSpi.java,
24407 * gnu/java/security/jce/hash/MD2Spi.java,
24408 * gnu/java/security/jce/hash/MD4Spi.java,
24409 * gnu/java/security/jce/hash/MD5Spi.java,
24410 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24411 * gnu/java/security/jce/hash/RipeMD128Spi.java,
24412 * gnu/java/security/jce/hash/RipeMD160Spi.java,
24413 * gnu/java/security/jce/hash/Sha160Spi.java,
24414 * gnu/java/security/jce/hash/Sha256Spi.java,
24415 * gnu/java/security/jce/hash/Sha384Spi.java,
24416 * gnu/java/security/jce/hash/Sha512Spi.java,
24417 * gnu/java/security/jce/hash/TigerSpi.java,
24418 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24419 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24420 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24421 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24422 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24423 * gnu/java/security/jce/sig/SignatureAdapter.java,
24424 * gnu/java/security/key/IKeyPairCodec.java,
24425 * gnu/java/security/key/IKeyPairGenerator.java,
24426 * gnu/java/security/key/KeyPairGeneratorFactory.java,
24427 * gnu/java/security/key/dss/DSSKey.java,
24428 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24429 * gnu/java/security/key/dss/DSSPrivateKey.java,
24430 * gnu/java/security/key/dss/DSSPublicKey.java,
24431 * gnu/java/security/key/dss/FIPS186.java,
24432 * gnu/java/security/key/rsa/GnuRSAKey.java,
24433 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24434 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24435 * gnu/java/security/sig/ISignature.java,
24436 * gnu/java/security/sig/ISignatureCodec.java,
24437 * gnu/java/security/sig/dss/DSSSignature.java,
24438 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24439 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24440 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24441 * gnu/java/security/util/Util.java:
24442 Remove CVS revision tags.
24444 2006-03-26 Tom Tromey <tromey@redhat.com>
24446 * java/io/InputStream.java (InputStream): Implements Closeable.
24448 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
24450 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24452 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24453 getAnchor): New methods.
24454 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24455 getAnchor): New methods.
24456 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24457 getAnchor): New methods.
24458 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24459 getAnchor): New methods.
24460 * gnu/regexp/REMatch.java(start1): New field.
24461 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24462 (match): set the starting position to start1[] instead of start[],
24463 (getMatchImpl): Set the found REMatch to the input,
24464 (makeCharIndexed): Made public.
24465 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24466 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24467 set the value of start[] copying from start1[].
24468 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24470 * java/util/regex/Matcher.java(inputCharIndexed): New field
24471 to be used as a parameter of the RE#getMatch.
24473 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24475 * gnu/java/rmi/activation/DefaultActivationGroup.java:
24476 Documented the default jre spawning strategy (none).
24477 * java/rmi/activation/ActivationGroup.java (currentGroupId,
24478 getSystem): Obtain the acticivation system from the
24479 DefaultActivationSystem.
24481 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24483 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24484 Ask user for keystore password if one was not provided.
24486 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
24488 * tools/README: Added Security tools section.
24489 Documented the jarsigner tool.
24491 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
24493 * javax/swing/JScrollBar.java
24494 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24495 (AccessibleJScrollBar.getAccessibleRole): Likewise,
24496 (AccessibleJScrollBar.getAccessibleValue): Likewise,
24497 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24498 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24499 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24500 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24501 (getAccessibleContext): Updated API docs.
24503 2006-03-25 Tom Tromey <tromey@redhat.com>
24505 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24506 change or if generator script changes.
24508 2006-03-25 Tom Tromey <tromey@redhat.com>
24510 * javax/naming/ldap/StartTlsRequest.java: New file.
24511 * javax/naming/ldap/StartTlsResponse.java: New file.
24513 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
24515 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24516 to validate all components of a resource path.
24517 (FileURLLoader.walkPathComponents): Helper which ensures that we are
24518 allowed to walk through every component of a resource path.
24520 2006-03-25 Michael Koch <konqueror@gmx.de>
24522 * NEWS: Added item for CLDR 1.3 update.
24524 2006-03-25 Michael Koch <konqueror@gmx.de>
24526 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24527 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24528 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24529 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24530 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24531 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24534 2006-03-25 Michael Koch <konqueror@gmx.de>
24536 * resource/gnu/java/locale/LocaleInformation_az.properties,
24537 resource/gnu/java/locale/LocaleInformation_bs.properties,
24538 resource/gnu/java/locale/LocaleInformation_byn.properties,
24539 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24540 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24541 resource/gnu/java/locale/LocaleInformation_gez.properties,
24542 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24543 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24544 resource/gnu/java/locale/LocaleInformation_haw.properties,
24545 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24546 resource/gnu/java/locale/LocaleInformation_kok.properties,
24547 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24548 resource/gnu/java/locale/LocaleInformation_sid.properties,
24549 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24550 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24551 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24552 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24553 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24554 resource/gnu/java/locale/LocaleInformation_syr.properties,
24555 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24556 resource/gnu/java/locale/LocaleInformation_tig.properties,
24557 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24558 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24559 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24560 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24561 resource/gnu/java/locale/LocaleInformation_wal.properties,
24562 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24565 2006-03-25 Michael Koch <konqueror@gmx.de>
24567 * resource/gnu/java/locale/LocaleInformation_fa.properties,
24568 resource/gnu/java/locale/LocaleInformation_kn.properties,
24569 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24570 resource/gnu/java/locale/LocaleInformation_ko.properties,
24571 resource/gnu/java/locale/LocaleInformation_sl.properties,
24572 resource/gnu/java/locale/LocaleInformation_so.properties,
24573 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24574 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24575 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24576 resource/gnu/java/locale/LocaleInformation_sr.properties:
24577 Random fixes I forgot to commit before.
24579 2006-03-25 Michael Koch <konqueror@gmx.de>
24581 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24582 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24583 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24584 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24585 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24586 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24587 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24588 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24589 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24590 resource/gnu/java/locale/LocaleInformation_en.properties,
24591 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24592 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24593 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24594 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24595 resource/gnu/java/locale/LocaleInformation_fa.properties,
24596 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24597 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24598 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24599 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24600 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24601 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24602 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24603 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24604 resource/gnu/java/locale/LocaleInformation_pa.properties,
24605 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24606 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24607 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24608 resource/gnu/java/locale/LocaleInformation_sa.properties,
24609 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24610 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24611 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24612 Updated currency formats.
24614 2006-03-25 Roman Kennke <kennke@aicas.com>
24616 * javax/swing/text/AbstractDocument.java
24617 (getAttributeContext): Made method final.
24618 (getCurrentWriter): Likewise.
24619 (getEndPosition): Likewise.
24620 (getProperty): Likewise.
24621 (getStartPosition): Likewise.
24622 (putProperty): Likewise.
24623 (readLock): Likewise.
24624 (readUnlock): Likewise.
24625 (writeLock): Likewise.
24626 (writeUnlock): Likewise.
24628 2006-03-25 Roman Kennke <kennke@aicas.com>
24630 * javax/swing/InputMap.java
24631 (allKeys): Check if parent keys is null.
24632 * javax/swing/KeyboardManager.java
24633 (registerEntireMap): Also register map's parent keys.
24634 * javax/swing/plaf/metal/MetalRootPaneUI.java
24635 (propertyChange): Also call super.propertyChange().
24637 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24639 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24640 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24641 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24642 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24643 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24644 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24646 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24648 * gnu/java/util/jar/JarUtils.java: New file.
24649 * java/util/jar/Manifest.java (CRLF): Removed.
24650 (read_main_section): Likewise.
24651 (read_version_info): Likewise.
24652 (expect_header(String,BufferedReader)): Likewise.
24653 (expect_header(String,BufferedReader,String)): Likewise.
24654 (read_header_value): Likewise.
24655 (read_attributes): Likewise.
24656 (read_attribute): Likewise.
24657 (read_individual_sections): Likewise.
24658 (read_section_name): Likewise.
24659 (write_main_section): Likewise.
24660 (write_version_info): Likewise.
24661 (write_header): Likewise.
24662 (write_main_attributes): Likewise.
24663 (write_attribute_entry): Likewise.
24664 (write_individual_sections): Likewise.
24665 (write_entry_attributes): Likewise.
24666 (read): use JarUtils.
24669 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
24671 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24674 (SignerInfo(BERReader)): Updated javadoc.
24676 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24678 (encode): New method.
24679 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24680 (PKCS7_DATA): Removed.
24683 (PKCS7SignedData(BERReader)): Updated javadoc.
24685 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24687 (encode): New method.
24688 * gnu/java/security/pkcs/PKCS7Data.java: New file.
24689 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24690 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24691 (decodePrivateKey): Decode x from an OCTET STRING.
24692 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24693 (toString): New method.
24694 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24696 (toString): New method.
24697 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24698 (toString): New method.
24699 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24701 2006-03-25 Roman Kennke <kennke@aicas.com>
24703 * java/util/GregorianCalender.java
24704 (computeTime): Fix comparison to correctly calculate the
24707 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
24710 * java/awt/Window.java:
24711 (setFocusCycleRoot): New overriden method.
24712 (isFocusCycleRoot): Likewise.
24713 (getFocusCycleRootAncestor): Likewise.
24714 * java/awt/Container.java:
24715 (getFocusTraversalPolicy): Check also for anchestor == null.
24717 2006-03-25 Mark Wielaard <mark@klomp.org>
24719 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24720 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24723 2006-03-24 Tom Tromey <tromey@redhat.com>
24725 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24727 (writeChar): Removed useless cast.
24728 (writeChars(String)): Implemented.
24729 (writeDouble): Rewrote.
24730 (writeFloat): Likewise.
24731 (writeUTF): Implemented.
24732 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24735 2006-03-24 Roman Kennke <kennke@aicas.com>
24737 * javax/swing/JButton.java
24738 (def): Replaced field with defaultCapable field.
24739 (is_def): Removed field.
24740 (JButton): Initialize defaultCapable with true.
24741 (isDefaultButton): Documented and implemented method by querying
24742 the button's root pane if present.
24743 (isDefaultCapable): Changed def field to defaultCapable.
24744 Added documentation.
24745 (paramString): Call isDefaultButton() instead of accessing field,
24747 (setDefaultCapable): Changed def field to defaultCapable.
24748 Added documentation.
24749 * javax/swing/JRootPane.java
24750 (setDefaultButton): Only change the default button if the
24751 new button is defaultCapable.
24752 * javax/swing/plaf/basic/BasicRootPaneUI.java
24753 (DefaultPressAction): New class.
24754 (DefaultReleaseAction): New class.
24755 (installKeyboardActions): Implemented.
24756 (uninstallKeyboardActions): Implemented.
24757 (propertyChange): Implemented.
24758 * javax/swing/plaf/metal/MetalBorders.java
24759 (ButtonBorder.paintBorder): 'Outsourced' default theme
24760 painting to paintDefaultButtonBorder().
24761 (ButtonBorder.paintDefaultButtonBorder): New helper method
24762 to paint the border in the default theme. This also fixes
24763 painting of the border for default buttons.
24764 (ButtonBorder.paintOceanButtonBorder): Added support for
24765 default button painting. Fixed border for pressed/default state.
24766 * javax/swing/plaf/metal/MetalButtonUI.java
24767 (update): Only paint gradient when in OceanTheme and when the
24768 button is not armed.
24770 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24772 * gnu/java/rmi/activation/ActivationSystemTransient.java:
24773 Inherit from Activator.
24775 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24777 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24778 Print debug message if debug flag is set.
24779 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24780 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24781 detail, do not call iniCause(). (exportClass): New method.
24782 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24783 Ignore null (bootstrap) class loader.
24784 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24785 buildMethodHash, findStubSkelClass, getHelperClass): Changed
24786 visibility to protected.
24787 * java/rmi/activation/Activatable.java (export, register): Rewritten.
24788 (toStub): New method.
24789 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24790 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
24791 Explained property java.rmi.activation.port.
24793 2006-03-24 Tom Tromey <tromey@redhat.com>
24795 * .externalToolBuilders/CreateLocaleData.launch: Updated.
24796 * gnu/java/locale/.cvsignore: New file.
24797 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24798 * java/util/Locale.java (getAvailableLocales): Clone result.
24799 (getISOCountries): Likewise.
24800 (getISOLanguages): Likewise.
24801 * scripts/generate-locale-list.sh: Make class public. Added new
24803 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24804 (getLocaleCount): Likewise.
24805 * java/text/Collator.java (getInstance): Javadoc typo fix.
24806 (getAvailableLocales): Wrote.
24808 2006-03-24 Roman Kennke <kennke@aicas.com>
24810 * javax/swing/JTabbedPane.java
24811 (getSelectedComponent): Return null when no component is
24814 2006-03-24 Mark Wielaard <mark@klomp.org>
24816 * NEWS: Add cursor and selection improvements.
24818 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24820 * java/awt/Component.java
24821 (getAccessibleName): Just return accessibleName,
24822 * javax/swing/AbstractButton.java
24823 (getAccessibleStateSet): Mark as stub,
24824 (getAccessibleName): Implemented,
24825 (getAcessibleIcon): Mark as stub,
24826 (getAccessibleRelationSet): Likewise,
24827 (getAccessibleAction): Likewise,
24828 (getAccessibleValue): Likewise,
24829 (getAccessibleActionCount): Likewise,
24830 (getAccessibleActionDescription): Likewise,
24831 (doAccessibleAction): Likewise,
24832 (getCurrentAccessibleValue): Likewise,
24833 (setCurrentAccessibleValue): Likewise,
24834 (getMinimumAccessibleValue): Likewise,
24835 (getMaximumAccessibleValue): Likewise,
24836 (getAccessibleText): Likewise,
24837 (getIndexAtPoint): Likewise,
24838 (getCharacterBounds): Likewise,
24839 (getCharCount): Likewise,
24840 (getCaretPosition): Likewise,
24841 (getAtIndex): Likewise,
24842 (getAfterIndex): Likewise,
24843 (getBeforeIndex): Likewise,
24844 (getCharacterAttribute): Likewise,
24845 (getSelectionStart): Likewise,
24846 (getSelectionEnd): Likewise,
24847 (getSelectedText): Likewise,
24848 (getTextRectangle): Likewise,
24849 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24850 (getIconTextGap): Added @since 1.4,
24851 (setContentAreaFilled): Reordered code to make event sequence match
24852 reference implementation,
24853 * javax/swing/JButton.java
24854 (getSelectedObjects): Removed,
24855 *javax/swing/JComponent.java
24856 (getAccessibleName): Call super.
24858 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24860 * javax/swing/JProgressBar.java
24861 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24862 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24863 (AccessibleJProgressBar.getAccessibleValue): Implemented,
24864 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24865 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24866 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24867 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24868 (getAccessibleContext): Added API docs.
24870 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24872 * javax/swing/plaf/basic/BasicTextUI.java:
24873 (FocusListener.focusLost): Put current selection into the system
24876 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
24878 * java/awt/Component.java:
24879 (processMouseEvent): Remove call to consume event.
24880 (dispatchEventImpl): Handle specific events first, do focus request
24881 only when mouse event was not yet consumed.
24882 * javax/swing/text/DefaultCaret.java:
24883 (mousePressed): Rewritten.
24884 (setDot): Changed order of operations.
24887 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24889 * javax/swing/JComponent.java
24890 (AccessibleJComponent.changeSupport): Removed field,
24891 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24892 (AccessibleJComponent.addPropertyChangeListener): Call super,
24893 (AccessibleJComponent.removePropertyChangeListener): Likewise,
24894 * javax/swing/JSlider.java
24895 (AccessibleJSlider.getAccessibleStateSet): Implemented,
24896 (AccessibleJSlider.getAccessibleRole): Likewise,
24897 (AccessibleJSlider.getAccessibleValue): Likewise,
24898 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24899 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24900 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24901 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24902 (getAccessibleContext): Added API docs.
24904 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24906 * gnu/java/rmi/activation/ActivationSystemTransient.java
24907 (debug): Made public. (constructor): Made protected.
24908 (activate, getActivationDesc): Throw more informative exceptions.
24909 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24911 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
24913 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24915 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24917 * java/rmi/activation/Activatable.java (obtainId): Use the activation
24918 system, passed in the activation descriptor field.
24919 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24920 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24921 to package private final. (equals): Compare uid, not the system.
24922 (hashCode): Forward to uid.hashCode(). toString(): New method.
24923 * java/rmi/activation/ActivationID.java (readObject, writeObject):
24924 Rewritten. (equals): Compare UID only. toString(): New method.
24925 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
24926 UID (space). (hashCode, toString): Rewritten.
24927 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
24928 New method. (invoke): Treat null as an empty array for parameters.
24929 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
24930 Include count, do not include the static machineId.
24932 2006-03-23 Tom Tromey <tromey@redhat.com>
24934 * java/net/URLConnection.java (getContent(Class[])): Implemented.
24936 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24938 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
24939 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
24940 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
24941 (force): New field. (setForce): New method. (compile): Handle -force.
24942 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
24943 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
24945 2006-03-23 Roman Kennke <kennke@aicas.com>
24947 * javax/swing/JTabbedPane.java
24948 (Page.getBackground): Return the JTabbedPane's background,
24949 rather than the page's component background.
24950 (Page.getForeground): Return the JTabbedPane's foreground,
24951 rather than the page's component foreground.
24952 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
24953 (uninstallUI): Don't set colors to null.
24954 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24955 (paintTabBackground): Correctly determine the tab background.
24956 (getUnselectedBackground): New helper method to
24957 handle the UI property 'TabbedPane.unselectedBackground'
24960 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24962 * javax/swing/plaf/basic/BasicInternalFrameUI.java
24963 (BorderListener.showingResizeCursor): New field.
24964 (BorderListener.mouseMoved, BorderListner.mouseExited):
24967 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24969 * javax/swing/JComboBox.java
24970 (selectWithKeyChar): Mark as stub,
24971 * javax/swing/JFileChooser.java
24972 (setDragEnabled): Mark as stub,
24973 (getDragEnabled): Likewise,
24974 * javax/swing/JSlider.java
24975 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
24976 (AccessibleJSlider.getAccessibleRole): Likewise,
24977 (AccessibleJSlider.getAccessibleValue): Likewise,
24978 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24979 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24980 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24981 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24982 * javax/swing/UIManager.java
24983 (installLookAndFeel): Mark as stub,
24984 (setInstalledLookAndFeels): Likewise.
24986 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24988 * javax/swing/filechooser/UnixFileSystemView.java
24989 (getSystemDisplayName): Mark as stub,
24990 (getSystemIcon): Likewise,
24991 (getSystemTypeDescription): Likewise.
24993 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
24995 * javax/swing/tree/AbstractLayoutCache.java
24996 (getNodeDimensions): Mark as stub,
24997 (getPreferredHeight): Likewise,
24998 (getPreferredWidth): Likewise,
24999 (getRowsForPaths): Likewise,
25000 (isFixedRowHeight): Likewise,
25001 * javax/swing/tree/DefaultTreeModel.java
25002 (reload()): Mark as stub,
25003 (reload(TreeNode)): Likewise,
25004 (nodeStructureChanged): Likewise,
25005 * javax/swing/tree/DefaultTreeSelectionModel.java
25006 (clone): Mark as stub,
25007 (setRowMapper): Likewise,
25008 (setSelectionPaths): Likewise,
25009 (isRowSelected): Likewise,
25010 (resetRowSelection): Likewise,
25011 (insureRowContinuity): Likewise,
25012 (arePathsContiguous): Likewise,
25013 (canPathsBeAdded): Likewise,
25014 (canPathsBeRemoved): Likewise,
25015 (notifyPathChange): Likewise,
25016 (updateLeadIndex): Likewise,
25017 (insureUniqueness): Likewise,
25018 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25020 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25022 2006-03-22 Tom Tromey <tromey@redhat.com>
25024 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25026 (getStaticAttributeKey): Likewise.
25027 (readAttributeSet): Likewise.
25028 (writeAttributeSet): Likewise.
25029 (readAttributes): Likewise.
25030 (writeAttributes): Likewise.
25031 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25033 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25035 (fireChangedUpdate): Likewise.
25038 (handleEndOfLineString): Likewise.
25039 (textAreaContent): Likewise.
25040 (preContent): Likewise.
25041 (addSpecialElement): Likewise.
25042 (setInnerHTML): Likewise.
25043 (setOuterHTML): Likewise.
25044 (insertBeforeStart): Likewise.
25045 (insertBeforeEnd): Likewise.
25046 (insertAfterEnd): Likewise.
25047 (insertAfterStart): Likewise.
25048 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25049 Mark all methods as stub.s
25050 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25052 (paintHorizontalSeparators): Likewise.
25053 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25055 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25057 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25059 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25062 2006-03-22 Mark Wielaard <mark@klomp.org>
25064 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25066 2006-03-22 Mark Wielaard <mark@klomp.org>
25069 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25070 Takes GtkImage, x and y coordinates.
25071 (gtkWidgetSetCursorUnlocked): Likewise.
25072 (GtkComponentPeer): Set cursor when set.
25073 (setCursor): Handle GtkCursor.
25074 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25076 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25077 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25078 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25079 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25081 2006-03-23 Roman Kennke <kennke@aicas.com>
25084 * gnu/java/security/Registry.java
25085 (PKCS5_PAD): Added pad PKCS#5 algorithm.
25086 * gnu/javax/crypto/pad/PadFactory.java
25087 (getInstance): For PKCS#5, also return PKCS#7 pad
25089 (getNames): Added PKCS#5.
25090 * javax/crypto/KeyGenerator.java
25091 (getInstance): Initialize key generator before returning
25094 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
25096 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25097 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25098 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25099 if COMMENTS is set.
25101 2006-03-22 Tom Tromey <tromey@redhat.com>
25103 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25104 (getBoolean): Likewise.
25105 (getString): Likewise.
25106 (getIcon): Likewise.
25108 2006-03-22 Mark Wielaard <mark@klomp.org>
25111 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25112 (GLightweightPeer(Component)): Install MouseListener.
25113 (setCursor): Implement.
25114 (mouseEntered): New method.
25116 2006-03-22 Tom Tromey <tromey@redhat.com>
25118 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25120 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25122 (getFontForState): Likewise.
25123 (getInsets): Added 'result' argument.
25124 (getPainter): Renamed.
25126 2006-03-22 Tom Tromey <tromey@redhat.com>
25128 * javax/swing/plaf/synth/SynthPainter.java
25129 (paintScrollBarThumbBackground): Added 'orientation' argument.
25130 (paintScrollBarThumbBorder): Likewise.
25131 (paintSliderThumbBackground): Likewise.
25132 (paintSliderThumbBorder): Likewise.
25133 (paintTabbedPaneTabBackground): Added 'index' argument.
25134 (paintTabbedPaneTabBorder): Likewise.
25136 2006-03-22 Tom Tromey <tromey@redhat.com>
25138 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25139 (toString): New method.
25141 2006-03-22 Tom Tromey <tromey@redhat.com>
25143 * doc/hacking.texinfo (Source Code Style Guide): Mention
25144 NotImplementedException.
25145 * javax/imageio/stream/MemoryCacheImageOutputStream.java
25146 (flushBefore): Mark as stub.
25148 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25150 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25153 (writeBit): Likewise.
25154 (writeChars): Likewise.
25155 (writeUTF): Likewise.
25156 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25159 * java/net/URLConnection.java (getContent): Mark as stub.
25160 * java/awt/Window.java (applyResourceBundle): Mark as stub.
25161 * java/awt/TexturePaint.java (createContext): Mark as stub.
25162 (getTransparency): Mark as stub.
25163 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25164 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25165 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25167 (getImageCapabilities): Likewise.
25168 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25169 * java/awt/AlphaComposite.java (createContext): Mark as stub.
25170 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25172 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25173 (getAdvanceBetween): Likewise.
25174 (getLayout): Likewise.
25175 (insertChar): Likewise.
25176 (getLineBreakIndex): Likewise.
25177 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25178 (getAdvance): Likewise.
25179 (getAscent): Likewise.
25180 (getDescent): Likewise.
25181 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25182 (insertChar): Likewise.
25183 (nextLayout): Likewise.
25184 (nextLayout): Likewise.
25185 (nextOffset): Likewise.
25186 (nextOffset): Likewise.
25187 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25188 (equals): Likewise.
25189 (getAdvance): Likewise.
25190 (getAscent): Likewise.
25191 (getBounds): Likewise.
25192 (getDescent): Likewise.
25193 (hashCode): Likewise.
25194 (ImageGraphicAttribute): Likewise.
25195 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25196 (getJustificationInfo): Likewise.
25197 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25198 (getGlyphCharIndices): Likewise.
25199 (getGlyphOutline): Likewise.
25200 (getGlyphPixelBounds): Likewise.
25201 (getLayoutFlags): Likewise.
25202 (getPixelBounds): Likewise.
25203 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25204 (getRSB): Likewise.
25205 * java/nio/channels/Channels.java (newWriter): Mark as stub.
25206 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25207 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25209 (resetRecognizer): Likewise.
25210 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25212 (getNativesForFlavor): Likewise.
25213 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25214 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25216 (getRegion): Likewise.
25217 (createUI): Likewise.
25218 (initialize): Likewise.
25219 (uninitialize): Likewise.
25220 (getDefaults): Likewise.
25222 (shouldUpdateStyleOnAncestorChanged): Likewise.
25223 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25225 (getPreferredSize): Likewise.
25226 (getMaximumSize): Likewise.
25227 (paintText): Likewise.
25228 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25230 * java/text/Collator.java (getAvailableLocales): Mark as stub.
25232 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
25234 * java/io/ObjectStreamConstants.java: Added since tag.
25235 (PROTOCOL_VERSION_1): Added javadoc.
25236 (PROTOCOL_VERSION_2): Likewise.
25237 * java/io/ObjectOutputStream.java:
25238 (setDefaultProtocolVersion): Removed.
25239 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25241 2006-03-21 Lillian Angel <langel@redhat.com>
25243 * gnu/javax/imageio/bmp/BMPInfoHeader.java
25244 (BMPInfoHeader): Removed debug lines.
25245 * gnu/javax/imageio/bmp/EncodeRLE4.java
25246 (encode): Implemented.
25247 (uncompress): New function implemented to
25248 uncompress the image before encoding.
25249 * gnu/javax/imageio/bmp/EncodeRLE8.java
25250 (encode): Implemented.
25251 (uncompress): New function implemented to
25252 uncompress the image before encoding.
25254 2006-03-21 Roman Kennke <kennke@aicas.com>
25256 * javax/swing/text/html/FormView.java
25257 (getImageData): New helper method.
25259 2006-03-21 Tom Tromey <tromey@redhat.com>
25261 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25263 (Unsafe): Now final.
25265 2006-03-21 Roman Kennke <kennke@aicas.com>
25267 * javax/swing/text/html/FormView.java
25268 (MouseEventListener): New inner class.
25270 2006-03-21 Roman Kennke <kennke@aicas.com>
25272 * javax/swing/text/html/ListView.java: New file.
25274 2006-03-21 Tom Tromey <tromey@redhat.com>
25276 * java/text/Bidi.java: Completed.
25278 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
25280 * javax/swing/JTable.java:
25281 (columnAtPoint): Removed the null check, this method should throw a NPE
25282 if the argument is null.
25284 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25286 * javax/swing/text/DefaultHighlighter.java:
25287 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25289 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
25291 * javax/swing/text/DefaultCaret.java: Added class variable denoting
25292 the textcomponent having a selection.
25293 (clearSelection): Clear 'componentWithSelection' variable.
25294 (handleSelection): Clear selection of current component having a
25295 selection before setting a new selection in another component.
25296 (mouseDragged): Only react on left mouse button.
25297 (mouseClicked): Only react on left mouse button.
25299 2006-03-21 Roman Kennke <kennke@aicas.com>
25301 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25302 (paintContentBorderTopEdge): Implemented.
25303 (paintContentBorderBottomEdge): Implemented.
25304 (paintContentBorderLeftEdge): Implemented.
25305 (paintContentBorderRightEdge): Implemented.
25306 (isLastTabInRun): New helper method.
25308 2006-03-21 Roman Kennke <kennke@aicas.com>
25310 * javax/swing/JTabbedPane.java
25311 (Page.getForeground): Fall back to returning the tabbed pane's
25312 foreground if no foreground has been exclicitly set.
25314 2006-03-21 Roman Kennke <kennke@aicas.com>
25316 * javax/swing/plaf/metal/MetalComboBoxButton.java
25317 (setEnabled): Update colors of button correctly.
25318 * javax/swing/plaf/metal/MetalComboBoxUI.java
25319 (MetalPropertyChangeListener.propertyChange): Update the colors
25320 of the list and the button when any of the color properties
25321 of the ComboBox change.
25323 2006-03-21 Roman Kennke <kennke@aicas.com>
25325 * javax/swing/plaf/basic/BasicButtonUI.java
25326 (uninstallDefaults): Only nullify button colors if they are
25327 not UIResource instances.
25329 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
25331 * javax/swing/JComponent.java
25332 (AccessibleJComponent.getAccessibleDescription): Call super,
25333 * javax/swing/JToolTip.java: API doc updates all over, plus
25334 (AccessibleJToolTip.getAccessibleDescription): Implemented,
25335 (AccessibleJToolTip.getAccessibleRole): Implemented,
25336 (getAccessibleContext): Implemented,
25337 (paramString): Reimplemented,
25338 (setComponent): Fire PropertyChangeEvent,
25339 (setTipText): Likewise.
25341 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25343 * java/util/Formatter.java:
25344 Make the class final.
25346 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25348 * java/lang/System.java:
25349 (nanoTime()): Documented.
25350 * java/lang/Thread.java:
25351 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25352 Added docs and security check.
25353 (getUncaughtExceptionHandler()): Documented.
25354 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25355 Added docs and security check.
25356 (getDefaultUncaughtExceptionHandler()): Documented.
25357 (getId()): Documented.
25358 (Thread.State): Documented.
25359 * vm/reference/gnu/classpath/Unsafe.java:
25361 (getUnsafe()): Updated to handle security.
25363 2006-03-20 Tom Tromey <tromey@redhat.com>
25365 * java/lang/System.java:
25366 (nanoTime()): Implemented.
25367 * java/lang/Thread.java:
25368 (getId()): Implemented.
25369 * java/util/AbstractMap.java:
25370 (SimpleImmutableEntry): New 1.6 class.
25371 (BasicMapEntry): Modified to be SimpleEntry.
25372 * java/util/Collections.java:
25373 Modified to use SimpleEntry.
25374 * java/util/EnumMap.java: Likewise.
25375 * java/util/HashMap.java: Likewise.
25376 * java/util/Hashtable.java: Likewise.
25377 * java/util/TreeMap.java: Likewise.
25378 * vm/reference/gnu/classpath/Unsafe.java:
25379 New class to handle low-level facilities for concurrency.
25380 * vm/reference/java/lang/VMSystem.java:
25381 (nanoTime()): Implemented.
25383 2006-03-20 Tom Tromey <tromey@redhat.com>
25385 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25386 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25387 (CertStoreSpi): Updated throws clause.
25388 * java/security/cert/CertPathValidatorSpi.java: Added import for
25390 (engineValidate): Updated 'throws' clause.
25391 * java/security/cert/PKIXParameters.java: Javadoc fix.
25392 * java/security/cert/X509CertSelector.java
25393 (setAuthorityKeyIdentifier): Javadoc fix.
25395 2006-03-20 Tom Tromey <tromey@redhat.com>
25397 * .classpath: Build gnu.javax.swing.plaf.
25399 2006-03-20 Lillian Angel <langel@redhat.com>
25401 * gnu/javax/imageio/bmp/BMPDecoder.java:
25402 Removed unneeded import.
25403 * gnu/javax/imageio/bmp/BMPEncoder.java:
25405 * gnu/javax/imageio/bmp/BMPFileHeader.java
25406 (BMPFileHeader): New constructor used to create info header
25407 for an output stream.
25408 (write): Fixed indexes.
25409 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25410 Initialized writerSpiNames field.
25411 * gnu/javax/imageio/bmp/BMPImageWriter.java:
25413 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25415 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25416 Change visibility for fields.
25417 (BMPInfoHeader): New constructor used to create
25418 file header for an output stream.
25419 (intToDWord): New method. Converts an int to a
25421 (intToWord): New method. Converts an int to a word.
25422 * gnu/javax/imageio/bmp/DecodeBF32.java:
25423 Removed unneeded imports.
25424 * gnu/javax/imageio/bmp/EncodeRGB1.java:
25426 * gnu/javax/imageio/bmp/EncodeRGB16.java:
25428 * gnu/javax/imageio/bmp/EncodeRGB24.java:
25430 * gnu/javax/imageio/bmp/EncodeRGB32.java:
25432 * gnu/javax/imageio/bmp/EncodeRGB4.java:
25434 * gnu/javax/imageio/bmp/EncodeRGB8.java:
25436 * gnu/javax/imageio/bmp/EncodeRLE4.java:
25438 * gnu/javax/imageio/bmp/EncodeRLE8.java:
25440 * javax/imageio/ImageIO.java:
25443 2006-03-20 Roman Kennke <kennke@aicas.com>
25445 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25446 (TabbedPaneLayout.normalizeTabRuns): New method.
25447 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25448 (paintTabBorder): Replaced if-else chain with switch.
25449 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25451 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25453 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25455 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25457 (paintTabBackground): Fetch background color from the TabbedPane.
25458 Fixed painting and improved by not using fillPolygon, and instead
25459 using fillRectangle. Replaced if-else chain with switch.
25460 (calculateMaxTabHeight): Added overridden method with FIXME.
25461 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25463 (paintContentBorderTopEdge): Added stub with FIXME.
25464 (paintContentBorderBottomEdge): Added stub with FIXME.
25465 (paintContentBorderLeftEdge): Added stub with FIXME.
25466 (paintContentBorderRightEdge): Added stub with FIXME.
25468 2006-03-20 Roman Kennke <kennke@aicas.com>
25470 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25471 (tabsOpaque): New field.
25472 (installDefaults): Fetch tabsOpaque property from UIManager.
25473 (paintTab): Fill tab background when tabsOpaque property is true.
25474 * javax/swing/plaf/basic/BasicLookAndFeel.java
25475 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25477 2006-03-20 Roman Kennke <kennke@aicas.com>
25479 * javax/swing/JTabbedPane.java
25480 (Pane.getBackground): When no background was explicitly set, return
25481 the JTabbedPane's background.
25483 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
25485 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25486 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25487 * org/omg/CORBA/BAD_INV_ORDER.java,
25488 * org/omg/CORBA/BAD_CONTEXT.java,
25489 * org/omg/CORBA/BAD_OPERATION.java,
25490 * org/omg/CORBA/BAD_PARAM.java,
25491 * org/omg/CORBA/BAD_QOS.java,
25492 * org/omg/CORBA/BAD_TYPECODE.java,
25493 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25494 * org/omg/CORBA/COMM_FAILURE.java,
25495 * org/omg/CORBA/CurrentHolder.java,
25496 * org/omg/CORBA/DATA_CONVERSION.java,
25497 * org/omg/CORBA/FREE_MEM.java,
25498 * org/omg/CORBA/IMP_LIMIT.java,
25499 * org/omg/CORBA/INITIALIZE.java,
25500 * org/omg/CORBA/INTERNAL.java,
25501 * org/omg/CORBA/INTF_REPOS.java,
25502 * org/omg/CORBA/INVALID_ACTIVITY.java,
25503 * org/omg/CORBA/INVALID_TRANSACTION.java,
25504 * org/omg/CORBA/INV_FLAG.java,
25505 * org/omg/CORBA/INV_IDENT.java,
25506 * org/omg/CORBA/INV_OBJREF.java,
25507 * org/omg/CORBA/INV_POLICY.java,
25508 * org/omg/CORBA/MARSHAL.java,
25509 * org/omg/CORBA/NO_RESOURCES.java,
25510 * org/omg/CORBA/NO_MEMORY.java,
25511 * org/omg/CORBA/NO_IMPLEMENT.java,
25512 * org/omg/CORBA/NO_PERMISSION.java,
25513 * org/omg/CORBA/NO_RESPONSE.java,
25514 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25515 * org/omg/CORBA/OBJ_ADAPTER.java,
25516 * org/omg/CORBA/ParameterModeHolder.java,
25517 * org/omg/CORBA/PolicyError.java,
25518 * org/omg/CORBA/PolicyErrorHolder.java,
25519 * org/omg/CORBA/PolicyHolder.java,
25520 * org/omg/CORBA/PolicyListHolder.java,
25521 * org/omg/CORBA/REBIND.java,
25522 * org/omg/CORBA/TIMEOUT.java,
25523 * org/omg/CORBA/TRANSACTION_MODE.java,
25524 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25525 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25526 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25527 * org/omg/CORBA/TRANSIENT.java,
25528 * org/omg/CORBA/TypeCodeHolder.java,
25529 * org/omg/CORBA/UNKNOWN.java,
25530 * org/omg/CORBA/UnionMember.java,
25531 * org/omg/CORBA/UnknownUserException.java,
25532 * org/omg/CORBA/UnknownUserExceptionHolder.java,
25533 * org/omg/CORBA/WrongTransactionHolder.java,
25534 * org/omg/IOP/IOR.java,
25535 * org/omg/IOP/IORHolder.java,
25536 * org/omg/IOP/MultipleComponentProfileHolder.java,
25537 * org/omg/IOP/ServiceContextHolder.java,
25538 * org/omg/IOP/ServiceContextListHolder.java,
25539 * org/omg/IOP/TaggedComponentHolder.java,
25540 * org/omg/IOP/TaggedProfileHolder.java,
25541 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25542 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25543 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25544 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25545 Made class final, various javadoc fixlets.
25546 * org/omg/CORBA/CompletionStatus.java,
25547 * org/omg/CORBA/PERSIST_STORE.java,
25548 * org/omg/CORBA/ValueMember.java,
25549 * org/omg/PortableInterceptor/ForwardRequest.java,
25550 * org/omg/PortableInterceptor/InvalidSlot.java,
25551 * org/omg/IOP/CodecPackage/TypeMismatch.java,
25552 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25553 * org/omg/IOP/CodecPackage/FormatMismatch.java,
25554 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25555 * org/omg/IOP/Encoding.java,
25556 * org/omg/IOP/TaggedComponent.java,
25557 * org/omg/IOP/TaggedProfile.java: Made class final.
25558 * org/omg/CORBA/SystemException.java: Made class abstract.
25559 * org/omg/CORBA/UserException.java: Made class abstract.
25560 (UserException): Now protected.
25561 (UserException(String)): Likewise.
25562 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25563 (typecode): Removed unused private variable.
25565 2006-03-20 Chris Burdess <dog@gnu.org>
25568 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25570 2006-03-20 Roman Kennke <kennke@aicas.com>
25572 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25573 (paintTabArea): Look up tab run indices in tabRuns array instead
25574 of using the index directly.
25576 2006-03-20 Roman Kennke <kennke@aicas.com>
25578 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25579 (paintTab): Fixed painting.
25580 (paintText): Fixed text painting.
25581 (paintFocusIndicator): Fixed painting of the focus rectangle.
25582 (paintContentBorder): Fixed painting of the content area.
25584 2006-03-20 Mark Wielaard <mark@klomp.org>
25586 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25587 static lock Object field.
25588 (produce): Synchronize on pixbufLock when calling initState(),
25589 pumpBytes() and pumpDone().
25590 (finalize): Likewise when calling finish().
25591 (GdkPixbufWriter.write): Likewise when calling streamImage().
25592 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25593 when calling loadPixbuf. Chain exception.
25594 (GtkImage(byte[])): Likewise when calling loadImageFromData.
25595 (GtkImage(URL)): Likewise.
25596 (GtkImage(int,int)): Likewise when calling createPixmap().
25597 (GtkImage(GtkImage,int,int,int)): Likewise when calling
25598 createScaledPixmap().
25599 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25600 (setImage): Likewise when calling createPixmap() and setPixels().
25601 (getSource): Likewise when calling getPixels().
25602 (flush): Likewise when calling freePixmap().
25603 (finalize): Likewise.
25604 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25605 drawPixelsScaledFlipped().
25606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25607 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25608 gdk_threads_enter/leave().
25609 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25610 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25611 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25612 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25613 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25614 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25615 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25616 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25617 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25618 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25619 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25620 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25621 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25623 2006-03-20 Roman Kennke <kennke@aicas.com>
25625 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25626 (calculateTabHeight): Not need to use SwingUtilities here.
25627 (getTabInsets): Do not rotate insets.
25629 2006-03-20 Roman Kennke <kennke@aicas.com>
25631 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25632 (paint): Make sure the layout is valid before painting.
25633 (paintTabArea): Made tab painting more straightforward and efficient.
25635 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25637 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25638 (getScrollableUnitIncrement): Rewritten.
25639 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25640 (getScrollableUnitIncrement): Rewritten.
25641 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25642 (ROWS_PER_WHEEL_CLICK): New field.
25643 (MouseWheelHandler.mouseWheelMoved): Rewritten.
25645 2006-03-20 Roman Kennke <kennke@aicas.com>
25647 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25648 (paint): Make sure the layout is valid before painting.
25649 (paintTabArea): Made tab painting more straightforward and efficient.
25651 2006-03-20 Roman Kennke <kennke@aicas.com>
25653 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25654 (MouseHandler.mousePressed): Rewritten for clearer and simpler
25656 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25657 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25658 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25659 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25660 bounds here. That is moved into layoutContainer().
25661 (calculateSize): Correctly respect insets. Made code slightly more
25662 clear and efficient.
25663 (calculateTabRects): Rewritten completely. The old code was
25664 not quite right and unstable in some situations.
25665 (layoutContainer): Moved layout of tabbed pane's subcomponents
25667 (tabRunsDirty): New field.
25668 (rolloverTab): New field.
25669 (tabForCoordinate): Rewritten for simplicity and correctness.
25670 (setRolloverTab): New method.
25671 (getRolloverTab): New method.
25673 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25675 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25676 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25677 (getScrollableUnitIncrement
25678 * javax/swing/Scrollable.java: Documented.
25679 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25680 (MouseWheelHandler):Rewritten.
25682 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25684 * doc/vmintegration.texinfo:
25685 Updated with gnu.classpath.Unsafe
25687 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
25690 Updated with VMArray and Unsafe changes.
25692 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25694 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25695 (getScrollableUnitIncrement): Rewritten.
25696 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25697 (getScrollableUnitIncrement): Rewritten.
25698 (getScrollableBlockIncrement): Rewritten.
25699 * javax/swing/plaf/basic/BasicScrollPaneUI.java
25700 (MouseWheelHandler): Implemented. (ViewportContainerListener):
25701 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
25702 New field. (installListeners): Install wheel listeners.
25703 (uninstallListeners): Uninstall wheel listeners.
25704 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25705 of the MouseWheelListener. (installListeners): Do not install wheel
25706 listener. (ROWS_PER_WHEEL_CLICK): Removed.
25708 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25710 * vm/reference/gnu/classpath/Unsafe.java:
25712 (getUnsafe()): Updated to handle security.
25714 2006-03-19 Tom Tromey <tromey@redhat.com>
25716 * vm/reference/gnu/classpath/Unsafe.java:
25717 New class to handle low-level facilities for concurrency.
25719 2006-03-19 Mark Wielaard <mark@klomp.org>
25721 * include/Makefile.am: Rename PlainDatagramSocketImpl to
25722 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25723 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25724 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25726 2006-03-19 Mark Wielaard <mark@klomp.org>
25728 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25730 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25732 2006-03-19 Michael Koch <konqueror@gmx.de>
25734 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25735 resource/gnu/java/locale/LocaleInformation_am.properties,
25736 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25737 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25738 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25739 resource/gnu/java/locale/LocaleInformation_bg.properties,
25740 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25741 resource/gnu/java/locale/LocaleInformation_ca.properties,
25742 resource/gnu/java/locale/LocaleInformation_cs.properties,
25743 resource/gnu/java/locale/LocaleInformation_cy.properties,
25744 resource/gnu/java/locale/LocaleInformation_da.properties,
25745 resource/gnu/java/locale/LocaleInformation_de.properties,
25746 resource/gnu/java/locale/LocaleInformation_dv.properties,
25747 resource/gnu/java/locale/LocaleInformation_el.properties,
25748 resource/gnu/java/locale/LocaleInformation_en.properties,
25749 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25750 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25751 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25752 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25753 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25754 resource/gnu/java/locale/LocaleInformation_es.properties,
25755 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25756 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25757 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25758 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25759 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25760 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25761 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25762 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25763 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25764 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25765 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25766 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25767 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25768 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25769 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25770 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25771 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25772 resource/gnu/java/locale/LocaleInformation_es_US.properties,
25773 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25774 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25775 resource/gnu/java/locale/LocaleInformation_fa.properties,
25776 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25777 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25778 resource/gnu/java/locale/LocaleInformation_fi.properties,
25779 resource/gnu/java/locale/LocaleInformation_fr.properties,
25780 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25781 resource/gnu/java/locale/LocaleInformation_ga.properties,
25782 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25783 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25784 resource/gnu/java/locale/LocaleInformation_hr.properties,
25785 resource/gnu/java/locale/LocaleInformation_hu.properties,
25786 resource/gnu/java/locale/LocaleInformation_id.properties,
25787 resource/gnu/java/locale/LocaleInformation_is.properties,
25788 resource/gnu/java/locale/LocaleInformation_it.properties,
25789 resource/gnu/java/locale/LocaleInformation_ja.properties,
25790 resource/gnu/java/locale/LocaleInformation_kk.properties,
25791 resource/gnu/java/locale/LocaleInformation_kl.properties,
25792 resource/gnu/java/locale/LocaleInformation_km.properties,
25793 resource/gnu/java/locale/LocaleInformation_ky.properties,
25794 resource/gnu/java/locale/LocaleInformation_lo.properties,
25795 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25796 resource/gnu/java/locale/LocaleInformation_lt.properties,
25797 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25798 resource/gnu/java/locale/LocaleInformation_lv.properties,
25799 resource/gnu/java/locale/LocaleInformation_mk.properties,
25800 resource/gnu/java/locale/LocaleInformation_mn.properties,
25801 resource/gnu/java/locale/LocaleInformation_mr.properties,
25802 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25803 resource/gnu/java/locale/LocaleInformation_ms.properties,
25804 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25805 resource/gnu/java/locale/LocaleInformation_mt.properties,
25806 resource/gnu/java/locale/LocaleInformation_nb.properties,
25807 resource/gnu/java/locale/LocaleInformation_nl.properties,
25808 resource/gnu/java/locale/LocaleInformation_nn.properties,
25809 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25810 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25811 resource/gnu/java/locale/LocaleInformation_pa.properties,
25812 resource/gnu/java/locale/LocaleInformation_pl.properties,
25813 resource/gnu/java/locale/LocaleInformation_pt.properties,
25814 resource/gnu/java/locale/LocaleInformation_ru.properties,
25815 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25816 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25817 resource/gnu/java/locale/LocaleInformation_sa.properties,
25818 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25819 resource/gnu/java/locale/LocaleInformation_sk.properties,
25820 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25821 resource/gnu/java/locale/LocaleInformation_sv.properties,
25822 resource/gnu/java/locale/LocaleInformation_sw.properties,
25823 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25824 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25825 resource/gnu/java/locale/LocaleInformation_te.properties,
25826 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25827 resource/gnu/java/locale/LocaleInformation_th.properties,
25828 resource/gnu/java/locale/LocaleInformation_ti.properties,
25829 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25830 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25831 resource/gnu/java/locale/LocaleInformation_tr.properties,
25832 resource/gnu/java/locale/LocaleInformation_tt.properties,
25833 resource/gnu/java/locale/LocaleInformation_uk.properties,
25834 resource/gnu/java/locale/LocaleInformation_ur.properties,
25835 resource/gnu/java/locale/LocaleInformation_uz.properties,
25836 resource/gnu/java/locale/LocaleInformation_zh.properties,
25837 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25838 More updates for CLDR 1.3.
25840 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
25842 * doc/vmintegration.texinfo:
25843 Updated to include VMArray.
25844 * include/Makefile.am:
25845 Replace java_lang_reflect_Array.h with
25846 java_lang_reflect_VMArray.h
25847 * include/java_lang_reflect_VMArray.h:
25848 New autogenerated header.
25849 * include/java_lang_reflect_Array.h:
25851 * java/lang/reflect/Array.java:
25852 (newInstance(Class,int)): Calls VMArray.
25853 (createMultiArray(Class,int[],int)): Likewise.
25854 (createObjectArray(Class,int)): Removed.
25855 * native/jni/java-lang/Makefile.am:
25856 Replaced java_lang_reflect_Array.c with
25857 java_lang_reflect_VMArray.c
25858 * native/jni/java-lang/java_lang_reflect_VMArray.c:
25859 Renamed from java_lang_reflect_Array.c.
25860 * vm/reference/java/lang/reflect/VMArray.java:
25861 (createObjectArray(Class,int)): Native method moved
25862 from java.lang.reflect.Array.
25864 2006-03-19 Roman Kennke <kennke@aicas.com>
25866 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25867 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25869 * examples/gnu/classpath/examples/swing/Demo.java
25870 (mkButtonBar): Hook up theme editor.
25871 (mkMenuBar): Hook up theme editor.
25873 2006-03-19 Roman Kennke <kennke@aicas.com>
25875 * javax/swing/plaf/basic/BasicFileChooserUI.java
25876 (ApproveSelectionAction.actionPerformed): Added case for when
25877 nothing has been selected but the user has typed a filename
25878 into the textfield.
25879 (getFileName): Return the value of the text field.
25881 2006-03-19 Roman Kennke <kennke@aicas.com>
25883 * javax/swing/JColorChooser.java
25884 (createDialog): Create JDialog instead of ModalDialog. Make this
25885 dialog modal by calling setModal(true).
25886 (ModalDialog): Removed unnecessary inner class.
25888 2006-03-19 Tom Tromey <tromey@redhat.com>
25890 * java/awt/font/NumericShaper.java: Rewrote.
25892 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25894 * javax/swing/plaf/basic/BasicTableUI.java:
25895 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25896 New field. MouseInputHandler.mouseWheelMoved): New method.
25897 (installListeners): Register MouseInputHandler as
25898 wheel listener also.
25900 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25903 * javax/swing/ViewportLayout.java (layoutContainer):
25904 If Scrollable tracks dimension, set view size to the port size.
25905 If port is larger than the view, move the view to the top/left.
25907 2006-03-19 Roman Kennke <kennke@aicas.com>
25909 * javax/swing/MenuSelectionManager.java
25910 (isComponentPartOfCurrentMenu): Also consider the first element
25911 in a menu selection list. Make a isDescendentFrom check instead
25912 of simple equals to also catch sub components.
25914 2006-03-19 Roman Kennke <kennke@aicas.com>
25916 * javax/swing/JComboBox.java
25917 (actionPerformed): Fetch selected item directly from the editor
25918 instead of trying to get it from the event.
25920 2006-03-19 Roman Kennke <kennke@aicas.com>
25922 * javax/swing/plaf/basic/BasicComboBoxEditor.java
25923 (listener): Removed field.
25924 (BasicComboBoxEditor): Removed initialization of listener field.
25925 (addActionListener): Add listener directly to editor.
25926 (removeActionListener): Remove listener directly from editor.
25927 (ComboBoxEditorListener): Removed class.
25928 * javax/swing/plaf/basic/BasicComboBoxUI.java
25929 (getPreferredSize): Fixed to return the minimumSize.
25930 (getMinimumSize): Improved code for more clearness.
25931 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
25932 (rectangleForCurrentValue): Correctly respect insets.
25933 (getDefaultSize): Return preferredSize here. Dont override height
25935 (getDisplaySize): Moved around code for more clearness. Added
25936 handling of prototype renderer.
25937 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
25938 arrowButton bounds since the former depends on the latter.
25939 * javax/swing/plaf/metal/MetalComboBoxButton.java:
25940 (MetalComboBoxButton): Make button rollover disabled.
25941 (isFocusTraversable): Return false unconditionally.
25942 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
25943 (EditorTextField): New class. Fixes the size properties.
25944 (MetalComboBoxEditor): Create instance of EditorTextField.
25945 * javax/swing/plaf/metal/MetalComboBoxUI.java:
25946 (getMinimumSize): Fixed editable size.
25948 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25950 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
25952 2006-03-18 Roman Kennke <kennke@aicas.com>
25954 * javax/swing/plaf/metal/MetalToolBarUI.java
25955 (update): Added overridden method to support OceanTheme.
25957 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25959 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
25960 Activate the cell editing on character keystroke.
25962 2006-03-18 Mark Wielaard <mark@klomp.org>
25964 * java/awt/Component.java (eventTypeEnabled): Handle
25965 MouseEvent.MOUSE_WHEEL.
25966 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
25967 New callback method.
25968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25969 (AWT_MOUSE_WHEEL): New constant.
25970 (AWT_WHEEL_UNIT_SCROLL): Likewise.
25971 (postMouseWheelEventID): New static variable.
25972 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
25973 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
25974 (button_number): Renamed to ...
25975 (button_number_direction): variable to hold button number or scroll
25977 (component_button_press_cb): Use button_number_direction.
25978 (component_scroll_cb): New static callback function.
25980 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25982 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
25983 Return without action.
25985 2006-03-18 Mark Wielaard <mark@klomp.org>
25987 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
25988 Don't cast graphics object to GdkGraphics.
25989 (updateComponent): Likewise.
25991 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25993 * examples/gnu/classpath/examples/swing/TableDemo.java
25994 (TModel.getColumnClass): Set second column to Icon.
25995 (TModel.isCellEditable): Say icons are not editable.
25996 (createContent): Fill the in second column with some icons from
25999 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26001 * examples/gnu/classpath/examples/swing/Demo.java
26002 (mkButtonBar): Set maximal button bar height to the preferred height.
26004 2006-03-18 Roman Kennke <kennke@aicas.com>
26006 * javax/swing/plaf/basic/BasicComboPopup.java
26007 (show): Substract insets from scroller width.
26008 (getPopupHeightForRowCount): If height==0, return a default of 100
26009 instead for empty ComboBoxes.
26011 2006-03-18 Roman Kennke <kennke@aicas.com>
26013 * javax/swing/plaf/basic/BasicLookAndFeel.java
26014 (PopupHelper.autoClosePopups): Removed field.
26015 (PopupHelper.mousePressed): Removed processing of registered
26017 (registerForAutoClose): Removed unneeded method.
26018 (autoClosePopups): Removed unneeded method.
26019 (registerForAutoClose): Removed unneeded method.
26021 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26023 * javax.swing.JTable.java (TableTextField): Set border.
26024 (moveToCellBeingEdited): Do not adjust the editor boundaries
26026 2006-03-18 Michael Koch <konqueror@gmx.de>
26028 * resource/gnu/java/locale/LocaleInformation_aa.properties,
26029 resource/gnu/java/locale/LocaleInformation_af.properties,
26030 resource/gnu/java/locale/LocaleInformation_am.properties,
26031 resource/gnu/java/locale/LocaleInformation_ar.properties,
26032 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26033 resource/gnu/java/locale/LocaleInformation_be.properties,
26034 resource/gnu/java/locale/LocaleInformation_bg.properties,
26035 resource/gnu/java/locale/LocaleInformation_bn.properties,
26036 resource/gnu/java/locale/LocaleInformation_ca.properties,
26037 resource/gnu/java/locale/LocaleInformation_cs.properties,
26038 resource/gnu/java/locale/LocaleInformation_cy.properties,
26039 resource/gnu/java/locale/LocaleInformation_da.properties,
26040 resource/gnu/java/locale/LocaleInformation_de.properties,
26041 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26042 resource/gnu/java/locale/LocaleInformation_dz.properties,
26043 resource/gnu/java/locale/LocaleInformation_en.properties,
26044 resource/gnu/java/locale/LocaleInformation_eo.properties,
26045 resource/gnu/java/locale/LocaleInformation_es.properties,
26046 resource/gnu/java/locale/LocaleInformation_et.properties,
26047 resource/gnu/java/locale/LocaleInformation_eu.properties,
26048 resource/gnu/java/locale/LocaleInformation_fa.properties,
26049 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26050 resource/gnu/java/locale/LocaleInformation_fi.properties,
26051 resource/gnu/java/locale/LocaleInformation_fo.properties,
26052 resource/gnu/java/locale/LocaleInformation_fr.properties,
26053 resource/gnu/java/locale/LocaleInformation_ga.properties,
26054 resource/gnu/java/locale/LocaleInformation_gl.properties,
26055 resource/gnu/java/locale/LocaleInformation_gu.properties,
26056 resource/gnu/java/locale/LocaleInformation_he.properties,
26057 resource/gnu/java/locale/LocaleInformation_hi.properties,
26058 resource/gnu/java/locale/LocaleInformation_hr.properties,
26059 resource/gnu/java/locale/LocaleInformation_hu.properties,
26060 resource/gnu/java/locale/LocaleInformation_hy.properties,
26061 resource/gnu/java/locale/LocaleInformation_id.properties,
26062 resource/gnu/java/locale/LocaleInformation_is.properties,
26063 resource/gnu/java/locale/LocaleInformation_it.properties,
26064 resource/gnu/java/locale/LocaleInformation_ja.properties,
26065 resource/gnu/java/locale/LocaleInformation_ka.properties,
26066 resource/gnu/java/locale/LocaleInformation_km.properties,
26067 resource/gnu/java/locale/LocaleInformation_ko.properties,
26068 resource/gnu/java/locale/LocaleInformation_lo.properties,
26069 resource/gnu/java/locale/LocaleInformation_lt.properties,
26070 resource/gnu/java/locale/LocaleInformation_lv.properties,
26071 resource/gnu/java/locale/LocaleInformation_mk.properties,
26072 resource/gnu/java/locale/LocaleInformation_mr.properties,
26073 resource/gnu/java/locale/LocaleInformation_ms.properties,
26074 resource/gnu/java/locale/LocaleInformation_mt.properties,
26075 resource/gnu/java/locale/LocaleInformation_nb.properties,
26076 resource/gnu/java/locale/LocaleInformation_nl.properties,
26077 resource/gnu/java/locale/LocaleInformation_nn.properties,
26078 resource/gnu/java/locale/LocaleInformation_om.properties,
26079 resource/gnu/java/locale/LocaleInformation_pl.properties,
26080 resource/gnu/java/locale/LocaleInformation_ps.properties,
26081 resource/gnu/java/locale/LocaleInformation_pt.properties,
26082 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26083 resource/gnu/java/locale/LocaleInformation_ro.properties,
26084 resource/gnu/java/locale/LocaleInformation_ru.properties,
26085 resource/gnu/java/locale/LocaleInformation_sk.properties,
26086 resource/gnu/java/locale/LocaleInformation_sl.properties,
26087 resource/gnu/java/locale/LocaleInformation_so.properties,
26088 resource/gnu/java/locale/LocaleInformation_sq.properties,
26089 resource/gnu/java/locale/LocaleInformation_sr.properties,
26090 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26091 resource/gnu/java/locale/LocaleInformation_sv.properties,
26092 resource/gnu/java/locale/LocaleInformation_sw.properties,
26093 resource/gnu/java/locale/LocaleInformation_ta.properties,
26094 resource/gnu/java/locale/LocaleInformation_te.properties,
26095 resource/gnu/java/locale/LocaleInformation_th.properties,
26096 resource/gnu/java/locale/LocaleInformation_tr.properties,
26097 resource/gnu/java/locale/LocaleInformation_uk.properties,
26098 resource/gnu/java/locale/LocaleInformation_uz.properties,
26099 resource/gnu/java/locale/LocaleInformation_vi.properties,
26100 resource/gnu/java/locale/LocaleInformation_zh.properties,
26101 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26102 Updated to use the new localized strings for currencies, languages,
26103 variants, territories, etc.
26105 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
26107 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26108 (start, end): Added comment about the negative values of them,
26109 (finish): Saves the input text in matchedCharIndexed,
26110 (toString): If the start or end index is out of bounds of the
26111 matched text, get the substring from matchedCharIndexed.
26112 Added special handlings in case start/end index < -1,
26113 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26114 Added special handlings in case start/end index < -1,
26115 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26116 found match, but keep the index as the original match.
26117 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26118 found match, but keep the index as the original match.
26119 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26120 in case start/end index < -1.
26122 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26124 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26127 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26129 * javax/swing/text/DefaultCaret.java:
26130 (mouseClicked) Use setDot() and moveDot() instead of
26131 JTextComponent.select().
26133 2006-03-17 Roman Kennke <kennke@aicas.com>
26135 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26136 (MetalComboBoxEditorBorder.paintBorder): Implemented special
26137 border painting for the Ocean theme.
26138 (MetalComboBoxEditor): Create editor directly instead of going
26141 2006-03-17 Roman Kennke <kennke@aicas.com>
26143 * javax/swing/text/JTextComponent.java
26144 (JTextComponent): Make text components opaque.
26146 2006-03-17 Roman Kennke <kennke@aicas.com>
26148 * javax/swing/plaf/metal/MetalComboBoxUI.java
26149 (MetalComboBoxLayoutManager.layoutContainer): Forward to
26151 (MetalPropertyChangeListener.propertyChange): Update focusable
26152 flag according to the enable and editable state.
26153 (editablePropertyChanged): Removed unnecessary code.
26154 (getMinimumSize): Rewritten to correctly compute the
26155 size, respecting the insets of the components and the icon,
26156 the visual properties of the combobox, etc.
26157 (configureEditor): Update listeners correctly.
26158 (unconfigureEditor): Update listeners correctly.
26159 (layoutComboBox): Implemented.
26161 2006-03-17 Roman Kennke <kennke@aicas.com>
26163 * javax/swing/plaf/metal/MetalComboBoxEditor.java
26164 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26165 instead of Flush3DBorder.
26166 (paintBorder): Fixed border painting.
26167 (editorBorderInsets): Fixed border's insets.
26169 2006-03-17 Roman Kennke <kennke@aicas.com>
26171 * javax/swing/plaf/metal/MetalComboBoxButton.java
26172 (rendererPane): Documented.
26173 (MetalComboBoxButton): Set enabled flag from ComboBox.
26174 Set focusable flag from ComboBox's enabled flag.
26175 (isFocusTraversable): Make button focus traversable if
26176 ComboBox is not editable but enable.
26177 (paintComponent): Fixed painting to correctly adjust
26178 the boxes of the renderer and button.
26180 2006-03-17 Roman Kennke <kennke@aicas.com>
26182 * javax/swing/plaf/basic/BasicButtonUI.java
26183 (installDefaults): Only install UI margin if installed margin.
26184 is null or a UIResource.
26185 (uninstallDefaults): Only uninstall margin if it's
26188 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26190 * javax/swing/text/DefaultCaret.java:
26191 (mouseClicked) Use setDot() and moveDot() instead of
26192 JTextComponent.select().
26194 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26196 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26197 inner classes into package-private inner classes, added actions
26198 for caret movement and selection to the next and previous word
26199 and an action which selects the whole text.
26201 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
26203 * javax/swing/Spring.java: Uncomment springdebug methods and
26204 rename them toString.
26205 * javax/swing/SpringLayout.java: Likewise.
26207 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26209 * javax/swing/text/FieldView.java:
26210 (viewToModel): Added call to adjust allocation area.
26212 2006-03-17 Roman Kennke <kennke@aicas.com>
26214 * javax/swing/plaf/basic/BasicComboBoxUI.java
26215 (mouseListener): Removed field.
26216 (buttonBackground): Removed field.
26217 (buttonShadow): Removed field.
26218 (buttonDarkShadow): Removed field.
26219 (buttonHighlight): Removed field.
26220 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26221 (installUI): Initialize and configure renderer and editor here.
26222 (uninstallUI): Close popup before uninitializing.
26223 Message popup that we are uninitializing. Clear layout.
26224 (installDefaults): Install UI border. Don't install colors.
26225 (installListeners): Install listeners fetched from the popup.
26226 Remove handling of mouseListener.
26227 (uninstallDefaults): Uninstall border. Don't handle colors.
26228 (uninstallListeners): Don't handle mouseListener. Uninstall
26229 listener from the popup.
26230 (createMouseListener): Removed method.
26231 (createRenderer): Create UIResource.
26232 (installComponents): Cleaned up.
26233 (uninstallComponents): Only remove renderer when it is
26235 (addEditor): Remove editor before adding new one.
26236 Fetch editor from comboBox.
26237 (removeEditor): Only do something when editor != null. Unconfigure
26238 editor before removing.
26239 (configureEditor): Add key listener. Call comboBox.configureEditor.
26240 (unconfigureEditor): Removed key listener.
26241 (configureArrowButton): Only handle when arrowButton != null.
26242 Add mouse listeners to arrow button.
26243 (unconfigureArrowButton): Remove listeners.
26244 (createArrowButton): Don't handle colors here.
26245 (setPopupVisible): Don't handle focus here.
26246 (paint): Only paint when comboBox is not editable. Update
26248 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26249 (getMinimumSize): Respect insets here.
26250 (getMaximumSize): Return preferredSize with width of 32767.
26251 (getInsets): Return ComboBox insets.
26252 (paintCurrentValue): Paint using currentValuePane.
26253 Install correct colors. Don't revalidate.
26254 (paintCurrentValueBackground): Implemented.
26255 (getDefaultSize): Reimplemented using a default renderer.
26256 (getDisplaySize): Reimplemented to use renderer.
26257 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26258 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26259 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26260 (FocusHandler.focusGained): Don't invalidate minimumSize.
26261 (FocusHandler.focusLost): Don't invalidate minimumSize.
26262 Only close popup if focus change is not temporary.
26263 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26264 Reconfigure editor if not null.
26265 (ListDataHandler.contentsChanged): Revalidate and reconfigure
26266 editor if necessary.
26267 (ListDataHandler.intervalAdded): Fixed updating of the display size.
26268 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26269 (MouseHandler): Removed unnecessary class.
26271 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26273 * examples/gnu/classpath/examples/swing/Demo.java:
26274 (Demo): Set default closing operation to shutdown the runtime.
26276 2006-03-17 Roman Kennke <kennke@aicas.com>
26278 * javax/swing/plaf/basic/BasicComboPopup.java
26279 (BasicComboPopup): Create listeners here.
26280 Configure components here.
26281 (show): Correctly calculate bounds using computePopupBounds().
26282 Make scroller fixed-size. Removed special autocloser handling.
26283 (hide): Rewritten to use MenuSelectionHandler.
26284 (createList): Don't set selection mode here.
26285 (configureList): Correctly install colors and fonts and selectionMode.
26286 (createScroller): Set scrollpane policies.
26287 (configureScroller): Make scroller and scrollbar not-focusable.
26288 (configurePopup): Make popup opaque and borderPainted.
26289 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26290 (delegateFocus): Implemented.
26291 (convertMouseEvent): Implemented.
26292 (updateListBoxSelectionForEvent): Implemented to also handle
26294 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26295 Only open popup on left mouse-click.
26296 (InvocationMouseHandler.mouseReleased): Rewritten.
26297 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26298 support autoscrolling.
26299 (ItemHandler.itemStateChanged): Implemented to sync selection with
26301 (ListMouseHandler.mouseReleased): Fetch selected index directly
26303 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26305 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26306 When model changes, then update listeners correctly.
26307 (uninstallListeners): Don't uninstall list listeners.
26308 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26310 (syncSelection): New helper method.
26312 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
26314 * javax/swing/text/PlainView.java:
26315 (drawLine): Rewritten.
26316 (drawSelectedText): Corrected last argument for
26317 Utilities.drawTabbedText() call.
26318 (paint): Store start and end of selection in object variables,
26319 store constant values of for-loop in local variables.
26320 * javax/swing/text/Utilities.java:
26321 (drawTabbedText): Add 'pixelWidth' to the return value, store
26322 constant value of for-loop in local variable.
26324 2006-03-17 Roman Kennke <kennke@aicas.com>
26326 * javax/swing/plaf/basic/BasicComboPopup.java
26327 (BasicComboPopup): Create listeners here.
26328 Configure components here.
26329 (show): Correctly calculate bounds using computePopupBounds().
26330 Make scroller fixed-size. Removed special autocloser handling.
26331 (hide): Rewritten to use MenuSelectionHandler.
26332 (createList): Don't set selection mode here.
26333 (configureList): Correctly install colors and fonts and selectionMode.
26334 (createScroller): Set scrollpane policies.
26335 (configureScroller): Make scroller and scrollbar not-focusable.
26336 (configurePopup): Make popup opaque and borderPainted.
26337 (installComboBoxListeners): Don't install mouse listener on ComboBox.
26338 (delegateFocus): Implemented.
26339 (convertMouseEvent): Implemented.
26340 (updateListBoxSelectionForEvent): Implemented to also handle
26342 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26343 Only open popup on left mouse-click.
26344 (InvocationMouseHandler.mouseReleased): Rewritten.
26345 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26346 support autoscrolling.
26347 (ItemHandler.itemStateChanged): Implemented to sync selection with
26349 (ListMouseHandler.mouseReleased): Fetch selected index directly
26351 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26353 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26354 When model changes, then update listeners correctly.
26355 (uninstallListeners): Don't uninstall list listeners.
26356 (uninstallComboBoxListeners): Don't uninstall mouse listeners
26358 (syncSelection): New helper method.
26360 2006-03-17 Roman Kennke <kennke@aicas.com>
26362 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26363 (noFocusBorder): Make border with insets of (1,1,1,1).
26364 (BasicComboBoxRenderer): Make renderer opaque.
26365 No need to explicitly set alignment.
26366 (getListCellRendererComponent): Rewritten to correctly initialize
26369 2006-03-17 Roman Kennke <kennke@aicas.com>
26371 * javax/swing/JPopupMenu.java
26372 (setVisible): Handle JPopupMenu opening and closing via
26373 the MenuSelectionHandler.
26375 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
26377 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26378 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26379 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
26381 * org/omg/CORBA/portable/RemarshalException.java: Likewise
26382 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26383 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26384 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26385 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26386 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26387 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26388 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26389 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26390 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26392 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26394 * java/rmi/activation/Activatable.java: Implemented.
26395 java/rmi/activation/ActivationDesc.java: Implemented.
26396 java/rmi/activation/ActivationGroup.java: Implemented.
26397 java/rmi/activation/ActivationGroupDesc.java: Implemented.
26398 java/rmi/activation/ActivationID.java: Implemented.
26399 java/rmi/activation/ActivationSystem.java: Implemented.
26400 * gnu/java/rmi/server/UnicastServerRef.java
26401 (exportObject, incommingMessageCall): Documented.
26402 * java/rmi/activation/package.html: Documented.
26403 * java/rmi/server/ObjID.java (objNum, space): Made package
26405 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26406 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26408 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26409 gnu/java/rmi/activation/BidiTable.java: New file.
26410 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26411 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26412 gnu/java/rmi/server/ActivatableServerRef.java: New file.
26414 2006-03-17 Mark Wielaard <mark@klomp.org>
26416 * java/security/BasicPermission.java (BasicPermission): Check
26417 name equals empty string to force NullPointerException.
26419 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26422 Commit patch by Caolan McNamara <caolanm@redhat.com>
26423 * javax/swing/Spring.java: Complete implementation
26424 * javax/swing/SpringLayout.java: Likewise.
26426 2006-03-16 Keith Seitz <keiths@redhat.com>
26428 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26430 (run): Remove catch clause for InterruptedException. It is no
26433 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26435 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26436 (getFontMetrics): Handle monospaced fonts specially.
26438 2006-03-16 Keith Seitz <keiths@redhat.com>
26440 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26441 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26442 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26443 Don't suspend the current thread unless it is not part of the JDWP
26446 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
26448 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26450 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26451 font metrics through toolkit.
26452 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26454 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26455 (getFontMetrics): To calculate Java logical ascent and descent
26456 values, average Pango ink and logical values.
26458 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
26460 * java/lang/Character.java: Updated header comment.
26462 2006-03-16 Tom Tromey <tromey@redhat.com>
26464 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26466 * javax/sound/sampled/FloatControl.java: Now abstract.
26467 * javax/sound/sampled/EnumControl.java: Now abstract.
26468 * javax/sound/sampled/CompoundControl.java: Now abstract.
26469 * javax/sound/sampled/BooleanControl.java: Now abstract.
26471 2006-03-16 Tom Tromey <tromey@redhat.com>
26473 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26475 2006-03-16 Roman Kennke <kennke@aicas.com>
26477 * java/util/zip/ZipFile.java
26478 (openFile): New helper method.
26479 (ZipFile): Use new openFile method to ensure the proper
26480 exception is thrown. This applies for all overloaded constructors.
26482 2006-03-16 Roman Kennke <kennke@aicas.com>
26484 * java/text/DateFormatSymbols.java
26485 (setAmPmStrings): Added null check and throw NPE.
26486 (setEras): Likewise.
26487 (setLocalPatternChars): Likewise.
26488 (setMonths): Likewise.
26489 (setShortMonths): Likewise.
26490 (setShortWeekdays): Likewise.
26491 (setWeekdays): Likewise.
26492 (setZoneStrings): Likewise.
26494 2006-03-16 Roman Kennke <kennke@aicas.com>
26496 * javax/swing/DefaultDesktopManager.java
26497 (iconifyFrame): Repaint after removing the frame.
26498 (removeIconFor): Repaint after removing the icon.
26500 2006-03-16 Roman Kennke <kennke@aicas.com>
26502 * javax/swing/JInternalFrame.java
26503 (remove): Respect the rootPaneCheckingEnabled flag here.
26505 2006-03-16 Roman Kennke <kennke@aicas.com>
26507 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26508 Moved from examples into gnu.javax.swing.. namespace.
26509 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26510 Moved to gnu.javax.swing.. namespace.
26511 * examples/gnu/classpath/examples/swing/Demo.java:
26512 (themesMenu): New field. Used to disable theme switch in
26514 (mkMenuBar): Added L&F menu.
26515 (ChangeThemeAction.actionPerformed): Only switch theme when
26517 (ChangeLAFAction): New class used for changing themes.
26518 * javax/swing/UIManager.java
26519 (installed): Added GNU L&F as installed L&F.
26521 2006-03-16 Mark Wielaard <mark@klomp.org>
26523 * examples/gnu/classpath/examples/swing/badge.png: Removed.
26524 * examples/gnu/classpath/examples/icons/badge.png: Added.
26525 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26526 from icon directory.
26528 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26530 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26532 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26533 * examples/gnu/classpath/examples/awt/Demo.java: Add
26534 AnimationApplet demo.
26535 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26538 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
26541 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26543 (handleEvent): Likewise.
26544 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26546 (beginNativeRepaint): Remove method.
26547 (endNativeRepaint): Likewise.
26548 (handleEvent): Call paintComponent and updateComponent.
26549 (paintComponent): New method.
26550 (updateComponent): Likewise.
26551 (repaint): Return early if width or height is less than one.
26552 (postExposeEvent): Remove isInRepaint reference.
26553 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26555 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26556 from GtkWindowPeer.
26557 (postMouseEvent): Likewise.
26558 (postExposeEvent): Likewise.
26559 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26560 Override to do nothing.
26561 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26562 from GtkWindowPeer.
26563 (postMouseEvent): Likewise.
26564 (postExposeEvent): Likewise.
26565 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26566 paint and update handling from GtkComponentPeer.
26567 (updateComponent): Override to call paintComponent.
26568 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26569 gdk_flush calls with schedule_flush calls.
26570 (flush): New function.
26571 (schedule_flush): Likewise.
26573 2006-03-15 Tom Tromey <tromey@redhat.com>
26575 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26577 (BCSIterator): Likewise.
26578 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26580 (BCSSProxyServiceProvider): Likewise.
26581 (BCSSServiceProvider): Likewise.
26583 2006-03-15 Tom Tromey <tromey@redhat.com>
26585 * javax/sound/midi/Track.java (Track): New constructor.
26586 (events): Now package-private.
26587 * javax/sound/midi/MidiUnavailableException.java
26588 (MidiUnavailableException): Removed invalid constructors.
26589 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26590 * javax/sound/midi/InvalidMidiDataException.java
26591 (InvalidMidiDataException): Removed invalid constructors.
26592 * javax/sound/midi/Sequencer.java (hashCode): Now final.
26593 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26594 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26595 (SYSTEM_EXCLUSIVE): Removed.
26596 (getDataLength): Updated.
26597 * javax/sound/midi/MidiDevice.java (Info): Now protected.
26598 (equals): Now final
26599 (getName): Now final.
26600 (getVendor): Now final.
26601 (getDescription): Likewise.
26602 (hashCode): Likewise.
26603 (getVersion): Likewise.
26604 (toString): Likewise.
26605 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26606 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26607 (getEarlyReflectionDelay): Likewise.
26608 (getEarlyReflectionIntensity): Likewise.
26609 (getLateReflectionDelay): Likewise.
26610 (getLateReflectionIntensity): Likewise.
26611 (toString): Likewise.
26612 * javax/sound/sampled/Port.java (toString): Now final.
26613 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26614 (getLine): Likewise.
26615 (getType): Likewise.
26616 * javax/sound/sampled/Mixer.java (Info): Now protected.
26617 (getDescription): Now final.
26618 (getName): Likewise.
26619 (getVendor): Likewise.
26620 (getVersion): Likewise.
26621 (toString): Likewise.
26622 * javax/sound/sampled/Control.java: Now abstract.
26623 (Type.toString): Now final.
26625 2006-03-15 Keith Seitz <keiths@redhat.com>
26627 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26628 of this redundant variable.
26629 (LineTable): Assert that the number of line numbers and the number of
26630 code indicies is the same.
26632 2006-03-15 Tom Tromey <tromey@redhat.com>
26634 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26636 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26638 * java/util/zip/ZipFile.java (ENDNRD): New constant.
26639 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26640 * java/util/zip/Inflater.java (end): Not deprecated.
26641 * java/util/zip/Deflater.java (end): Not deprecated.
26642 * java/text/Bidi.java (Bidi): Now final.
26643 * java/nio/MappedByteBuffer.java (finalize): Now protected.
26645 2006-03-15 Keith Seitz <keiths@redhat.com>
26647 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26648 (Location): Index is a long, not an int.
26649 (getMethod): New method.
26650 (getIndex): New method.
26651 (toString): New method.
26653 2006-03-15 Tom Tromey <tromey@redhat.com>
26655 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26656 * java/awt/image/LookupOp.java (filter): Now final.
26657 (getBounds2D): Likewise.
26658 (getPoint2D): Likewise.
26659 (getTable): Likewise.
26660 (getRenderingHints): Likewise.
26661 * java/awt/image/ConvolveOp.java (filter): Now final.
26662 (getBounds2D): Likewise.
26663 (getKernel): Likewise.
26664 (getPoint2D): Likewise.
26665 (getRenderingHints): Likewise.
26666 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26667 (getMatrix): Likewise.
26668 (getBounds2D): Likewise.
26669 (getRenderingHints): Likewise.
26670 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26671 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26673 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26675 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26677 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26679 2006-03-15 Keith Seitz <keiths@redhat.com>
26681 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26683 (matches): Implement.
26685 2006-03-15 Keith Seitz <keiths@redhat.com>
26687 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26689 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26691 2006-03-15 Tom Tromey <tromey@redhat.com>
26693 * java/lang/StrictMath.java (signum): New methods.
26695 2006-03-15 Tom Tromey <tromey@redhat.com>
26697 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26699 2006-03-15 Lillian Angel <langel@redhat.com>
26702 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26703 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26704 Added check to avoid segmentation fault.
26706 2006-03-15 Lillian Angel <langel@redhat.com>
26708 * java/awt/Container.java
26709 (getComponentAt): Fixed documentation.
26710 (getComponentAt): Likewise.
26712 2006-03-15 Roman Kennke <kennke@aicas.com>
26714 * javax/swing/JComponent.java
26715 (dragBuffer): New field.
26716 (dragBufferInitialized): New field.
26717 (paint): Added facility for buffered dragging of components.
26718 (initializeDragBuffer): New method.
26719 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26721 * javax/swing/plaf/basic/BasicInternalFrameUI.java
26722 (BorderListener.mouseDragged): Turn on buffered dragging.
26723 (BorderListener.mouseReleased): Turn off buffered dragging.
26725 2006-03-15 Lillian Angel <langel@redhat.com>
26727 * java/awt/Container.java
26728 (getComponentAt): Fixed documentation.
26729 (getComponentAt): Likewise.
26730 (findComponentAt): Likewise.
26731 (findComponentAt): Likewise.
26733 2006-03-15 Roman Kennke <kennke@aicas.com>
26735 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26736 (PropertyChangeHandler.propertyChange): Call enableActions().
26737 Fixed 'iconable' property name.
26739 2006-03-15 Chris Burdess <dog@gnu.org>
26742 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26744 2006-03-15 Roman Kennke <kennke@aicas.com>
26746 * examples/gnu/classpath/examples/swing/Demo.java:
26747 (desktop): New field.
26748 (mkMenuBar): Added new subdemos.
26749 (mkButtonWorld): Removed.
26750 (CheckCellRenderer): Moved to ListDemo.
26751 (LabelCellRenderer): Moved to ListDemo.
26752 (mkTreeWorld): Moved to TreeDemo.
26753 (mkDesktopWorld): Removed.
26754 (mkTabWorld): Moved to TabbedPaneDemo.
26755 (mkTabbedPane): Removed.
26756 (Demo): Replaced 'worlds' tabbed pane with desktop.
26757 (PopupAction): Made class non-static.
26758 (PopupAction.actionPerformed): Bring up subdemos in internal
26760 (mkButtonBar): Added new demos.
26761 (createDesktop): New method.
26762 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26763 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26764 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26765 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26766 * examples/gnu/classpath/examples/swing/badge.png: New image file.
26768 2006-03-15 Lillian Angel <langel@redhat.com>
26770 * java/awt/Container.java
26771 (getComponentAt): Fixed mistake in comments.
26772 (getComponentAt): Likewise.
26773 (locate): Likewise. Also, handled lightweight components.
26774 Heavyweights take precedence over lightweights, so we should
26775 iterate through the heavyweights first.
26777 2006-03-15 Lillian Angel <langel@redhat.com>
26779 * java/awt/Container.java
26780 (getComponentAt): Added API documentation.
26781 (getComponentAt): Likewise.
26782 (locate): Likewise. Also, removed lines to ignore
26783 invisible components.
26784 (findComponentAt): Added API documentation.
26785 (findComponentAt): Added API documentation.
26786 (findComponentForMouseEvent): Removed, never used.
26788 2006-03-15 Roman Kennke <kennke@aicas.com>
26790 * javax/swing/Popup.java
26791 (LightweightPopup.show): Repaint the panel after showing it.
26793 2006-03-15 Lillian Angel <langel@redhat.com>
26795 * java/awt/Component.java
26796 (show): repaint should only be called if the component
26797 isShowing and isLightweight.
26799 2006-03-15 Roman Kennke <kennke@aicas.com>
26801 * javax/swing/JInternalFrame.java
26802 (setClosable): Made this property bound.
26803 (setResizable): Made this property bound.
26804 (setIconifiable): Made this property bound.
26805 (setMaximizable): Made this property bound.
26807 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26809 * javax/swing/table/TableColumn.java
26810 (sizeWidthToFit): Implemented.
26812 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
26814 * javax/swing/table/TableColumn.java: API docs updated all over, plus
26815 (setIdentifier): Fire required PropertyChangeEvent,
26816 (setCellEditor): Likewise.
26818 2006-03-15 Roman Kennke <kennke@aicas.com>
26820 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26821 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26822 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26823 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26824 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26825 * examples/gnu/classpath/examples/swing/SliderDemo.java,
26826 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26827 * examples/gnu/classpath/examples/swing/TableDemo.java,
26828 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26829 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26830 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26831 * examples/gnu/classpath/examples/swing/Demo.java:
26832 Cleaned up. Reworked handling of Sub-demos to load lazily.
26833 * examples/gnu/classpath/examples/swing/DemoFactory.java:
26834 New interface. Used for loading the subdemos lazily.
26836 2006-03-15 Roman Kennke <kennke@aicas.com>
26838 * javax/swing/plaf/basic/BasicToolBarUI.java
26839 (PropertyListener.propertyChange): Added null check to avoid NPE.
26841 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26843 * javax/swing/table/TableColumn.java
26844 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26846 (minWidth): Likewise,
26847 (preferredWidth): Likewise,
26848 (maxWidth): Likewise,
26849 (headerRenderer): Likewise,
26850 (cellRenderer): Likewise,
26851 (cellEditor): Likewise,
26852 (changeSupport): Likewise,
26853 (firePropertyChange(String, Object, Object)): Removed,
26854 (firePropertyChange(String, int. int)): Likewise,
26855 (firePropertyChange(String, boolean, boolean)): Likewise,
26856 (setModelIndex): Fire property change,
26857 (setHeaderValue): Call changeSupport directly to generate event,
26858 (setHeaderRenderer): Likewise,
26859 (setCellRenderer): Likewise,
26860 (setWidth): Likewise,
26861 (setPreferredWidth): Likewise,
26862 (setMinWidth): Likewise,
26863 (setMaxWidth): Likewise,
26864 (createDefaultHeaderRenderer): Added API docs.
26866 2006-03-14 Roman Kennke <kennke@aicas.com>
26868 * examples/gnu/classpath/examples/swing/Demo.java
26869 Removed static initializer.
26870 (mkMenuBar): Made method non-static. Added themes menu.
26871 (ChangeThemeAction): New inner class, used to change themes.
26873 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26875 * javax/swing/table/TableColumn.java
26876 (setMaxWidth): Updated width and preferredWidth if necessary,
26877 (getMaxWidth): Updated API docs.
26879 2006-03-14 Roman Kennke <kennke@aicas.com>
26881 * javax/swing/plaf/basic/BasicSliderUI.java
26882 (TrackListener.mouseDragged): Only process event when slider is
26884 (TrackListener.mouseReleased): Only process event when slider is
26886 (TrackListener.mousePressed): Only process event when slider is
26889 2006-03-14 Roman Kennke <kennke@aicas.com>
26891 * NEWS: Added note about OceanTheme support.
26893 2006-03-14 Roman Kennke <kennke@aicas.com>
26895 * javax/swing/plaf/metal/MetalIconFactory.java
26896 (HorizontalSliderThumbIcon.gradientMask): New field
26897 (HorizontalSliderThumbIcon.paintIcon): Added support for the
26899 (VerticalSliderThumbIcon.gradientMask): New field
26900 (VerticalSliderThumbIcon.paintIcon): Added support for the
26902 * javax/swing/plaf/metal/MetalUtils.java
26903 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26904 (paintVerticalGradient): Fixed painting of 'masked' gradients.
26906 2006-03-14 Mark Wielaard <mark@klomp.org>
26909 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26910 of handleMouseEvent.
26911 (handleMouseEvent): Return boolean to indicate whether we handled the
26912 event by passing it to a lightweight.
26914 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26916 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26917 * org/omg/PortableServer/ServantActivatorPOA.java,
26918 * org/omg/PortableServer/ServantLocatorPOA.java:
26919 Make class abstract and minor api docs fixlets.
26920 * org/omg/PortableServer/ForwardRequest.java,
26921 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
26922 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
26923 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
26924 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
26925 * org/omg/PortableServer/POAPackage/NoServant.java,
26926 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
26927 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
26928 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
26929 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
26930 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
26931 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
26932 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
26933 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
26934 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
26935 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
26937 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
26939 * NEWS: Added entry about printing support.
26941 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26943 * javax/swing/table/TableColumn.java
26944 (COLUMN_WIDTH_PROPERTY): Updated API docs,
26945 (isResizable): Likewise,
26946 (setWidth): Likewise,
26947 (getWidth): Likewise,
26948 (setPreferredWidth): Likewise,
26949 (getPreferredWidth): Likewise,
26950 (setMinWidth): Check for negative argument and update width and
26951 preferredWidth if necessary,
26952 (getMinWidth): Updated API docs.
26954 2006-03-14 Lillian Angel <langel@redhat.com>
26956 * java/awt/Container.java
26957 (addImpl): Removed call to repaint. No need to repaint here.
26959 2006-03-14 Roman Kennke <kennke@aicas.com>
26961 * javax/swing/plaf/metal/MetalSliderUI.java
26962 (paintTrack): Added OceanTheme support.
26964 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26966 * javax/swing/table/TableColumn.java
26967 (setResizable): Fire PropertyChangeEvent if the flag value changes,
26968 (isResizable): Updated API docs.
26970 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
26972 * javax/swing/LookAndFeel.java: Updated API docs.
26974 2006-03-14 Roman Kennke <kennke@aicas.com>
26976 * javax/swing/plaf/metal/MetalUtils.java
26977 (paintGradient): Added support for 'masked' gradients.
26978 (paintHorizontalGradient): Likewise.
26979 (paintVerticalGradient): Likewise.
26980 * javax/swing/plaf/metal/MetalIconFactory.java
26981 (RadioButtonIcon.gradientMask): New field.
26982 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
26984 2006-03-14 Mark Wielaard <mark@klomp.org>
26987 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
26989 (removeActionListener): Add listener to ComboBoxEditorListener.
26990 (removeActionListener): Remove listener from ComboBoxEditorListener.
26991 (ComboBoxEditorListener): New static helper class.
26993 2006-03-14 Roman Kennke <kennke@aicas.com>
26995 * javax/swing/plaf/metal/MetalBorders.java
26996 (getToolBarButtonBorder): Don't create a UIResource border
26998 * javax/swing/plaf/metal/MetalToolBarUI.java
26999 (installUI): New overridden method. Installs the rollover property.
27000 (uninstallUI): New overridden method. Resets the rollover property.
27001 * javax/swing/plaf/metal/MetalUtils.java
27002 (paintGradient): Fetch Float values from the UIManager. Adjusted
27003 method signatures accordingly.
27004 (paintHorizontalGradient): Adjusted signature to accept float
27006 (paintVerticalGradient): Adjusted signature to accept float
27008 * javax/swing/plaf/metal/OceanTheme.java
27009 (addCustomEntriesToTable): Added missing UIDefaults entries,
27010 except of Icons. Fixed gradient entries to use Float instead
27013 2006-03-14 Roman Kennke <kennke@aicas.com>
27015 * javax/swing/JInternalFrame.java
27016 (JInternalFrame): Make JInternalFrame opaque.
27017 * javax/swing/JToolBarFrame.java
27018 (JToolBar): Make JToolBar opaque.
27020 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
27022 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27023 * javax/swing/tree/TreePath.java: Likewise.
27025 2006-03-13 Tom Tromey <tromey@redhat.com>
27027 * javax/swing/text/html/StyleSheet.java (removeAttributes):
27029 * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27030 * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27032 2006-03-13 Keith Seitz <keiths@redhat.com>
27034 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27035 (executeMethods): Output number of methods.
27037 2006-03-13 Roman Kennke <kennke@aicas.com>
27039 * javax/swing/plaf/basic/BasicButtonUI.java
27040 (uninstallDefaults): Only uninstall border if it's a UIResource.
27041 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27042 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27043 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27044 (installUI): Don't touch the opaque flag of the glassPane and
27045 the frame. Don't invalidate.
27046 * javax/swing/plaf/basic/BasicInternalFrameUI.java
27047 (installUI): Don't touch the opaque flag of the glassPane.
27048 * javax/swing/plaf/basic/BasicMenuBarUI.java
27049 (properyChangeListener): Made field private.
27050 (ChangeHandler): Made class private.
27051 (ContainerHandler): Made class private.
27052 (PropertyChangeHandler): Made class private.
27053 * javax/swing/plaf/basic/BasicMenuUI.java
27054 (MenuHandler): Made class private.
27055 (PropertyChangeHandler): Removed unneeded class.
27056 (MenuDragMouseHandler): Made class private.
27057 (MenuKeyHandler): Made class private.
27058 * javax/swing/plaf/basic/BasicPanelUI.java
27059 (installDefaults): Made method protected. Don't set opaque
27061 * javax/swing/plaf/basic/BasicScrollBarUI.java
27062 (TrackListener.shouldScroll): Made method private.
27063 * javax/swing/plaf/basic/BasicSplitPaneUI.java
27064 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27065 Made constructor package private.
27066 * javax/swing/plaf/basic/BasicTableHeaderUI.java
27067 (cellBorder): Made field private.
27068 * javax/swing/plaf/basic/BasicTextUI.java
27069 (installDefaults): Don't make component opaque.
27070 * javax/swing/plaf/basic/BasicToolBarUI.java
27071 (createNonRollOverBorder): Don't create UIResource border.
27072 (createRollOverBorder): Don't create UIResource border.
27073 (installComponents): Moved setRolloverBorders call here.
27074 (installDefaults): Moved setRolloverBorders call from here.
27075 (installUI): Don't make toolbar opaque.
27076 (setBorderToNonRollover): Handle AbstractButton instead of
27078 (uninstallComponents): Don't nullify class fields here.
27080 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
27082 * javax/swing/SwingUtilities.java
27083 (calculateInnerArea): handle null component, and replace
27084 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27087 2006-03-13 Roman Kennke <kennke@aicas.com>
27089 * javax/swing/JColorChooser.java
27090 (updateUI): Don't call revalidate().
27091 * javax/swing/JComboBox.java
27092 (updateUI): Don't call invalidate().
27093 * javax/swing/JDesktopPane.java
27094 (updateUI): Don't call invalidate().
27095 * javax/swing/JFileChooser.java
27096 (updateUI): Don't call revalidate().
27097 * javax/swing/JMenu.java
27098 (updateUI): Don't call invalidate().
27099 * javax/swing/JMenuBar.java
27100 (updateUI): Don't call invalidate().
27101 * javax/swing/JMenuItem.java
27102 (updateUI): Don't call invalidate().
27103 * javax/swing/JOptionPane.java
27104 (updateUI): Don't call invalidate().
27105 * javax/swing/JPopupMenu.java
27106 (updateUI): Don't call invalidate().
27107 * javax/swing/JProgressBar.java
27108 (updateUI): Don't call invalidate().
27109 * javax/swing/JScrollBar.java
27110 (updateUI): Don't call invalidate() and repaint().
27111 * javax/swing/JScrollPane.java
27112 (updateUI): Rewritten to be like the other updateUI()
27114 * javax/swing/JSlider.java
27115 (updateUI): Don't call invalidate() and repaint().
27116 * javax/swing/JSplitPane.java
27117 (updateUI): Don't call invalidate() and repaint().
27118 * javax/swing/JTabbedPane.java
27119 (updateUI): Don't call invalidate().
27120 * javax/swing/JTable.java
27121 (updateUI): Don't call revalidate() and repaint().
27122 * javax/swing/JToolBar.java
27123 (updateUI): Don't call revalidate() and repaint().
27124 * javax/swing/JToolTip.java
27125 (updateUI): Don't call revalidate() and repaint().
27127 2006-03-13 Roman Kennke <kennke@aicas.com>
27129 * javax/swing/SwingUtilities.java
27130 (updateComponentTreeUI): Rewritten to be more robust. Handling of
27131 menus and non-Swing components is improved.
27132 (updateComponentTreeUIImpl): New helper method.
27133 (replaceUIActionMap): Added check for uiActionMap==parent to
27135 (replaceUIInputMap): Added check for uiInputMap==parent to
27138 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
27140 * gnu/classpath/debug/Component.java:
27141 (IPP) New component for IPP debugging.
27142 (EVERYTHING): Adapted to include IPP.
27143 * javax/print/PrintServiceLookup.java:
27144 (registerServiceProvider): New method.
27145 (registerService): Likewise.
27146 (lookupPrintServices): Likewise.
27147 (lookupMultiDocPrintServices): Likewise.
27148 (lookupDefaultPrintService): Likewise.
27149 (static_initializer): Likewise.
27150 (printServiceLookups): New field for found service providers.
27151 (printServices): New field for application registered providers.
27152 (systemProvider): New field for the system provider.
27153 * javax/print/ServiceUI.java: New file.
27154 * javax/print/package.html: Added more usage content.
27155 * javax/print/event/package.html: Likewise.
27156 * javax/print/attribute/package.html: Likewise.
27157 * javax/print/attribute/standard/package.html: Likewise.
27158 * gnu/javax/print/PrintUriException.java,
27159 gnu/javax/print/PrintFlavorException.java,
27160 gnu/javax/print/PrinterDialog.java,
27161 gnu/javax/print/PrintAttributeException.java,
27162 gnu/javax/print/CupsPrintServiceLookup.java,
27163 gnu/javax/print/CupsServer.java,
27164 gnu/javax/print/CupsPrintService.java,
27165 gnu/javax/print/CupsMediaMapping.java,
27166 gnu/javax/print/CupsIppOperation.java:
27167 New implementation files of the Java Print Service API.
27168 * gnu/javax/print/ipp/IppValueTag.java,
27169 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27170 gnu/javax/print/ipp/IppStatusCode.java,
27171 gnu/javax/print/ipp/IppUtilities.java,
27172 gnu/javax/print/ipp/IppResponse.java,
27173 gnu/javax/print/ipp/IppException.java,
27174 gnu/javax/print/ipp/IppPrintService.java,
27175 gnu/javax/print/ipp/IppRequest.java,
27176 gnu/javax/print/ipp/IppMultiDocPrintService.java,
27177 gnu/javax/print/ipp/IppDelimiterTag.java,
27178 gnu/javax/print/ipp/DocPrintJobImpl.java:
27179 New files of the IPP client implementation.
27180 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27181 gnu/javax/print/ipp/attribute/StatusMessage.java,
27182 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27183 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27184 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27185 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27186 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27187 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
27188 New attribute syntax/role files of the printing implementation.
27189 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27190 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27191 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27192 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27193 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27194 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27195 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27196 gnu/javax/print/ipp/attribute/supported/
27197 OrientationRequestedSupported.java,
27198 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27199 gnu/javax/print/ipp/attribute/supported/
27200 MultipleDocumentHandlingSupported.java,
27201 gnu/javax/print/ipp/attribute/supported/
27202 MultipleDocumentJobsSupported.java,
27203 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27204 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27205 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27206 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27207 gnu/javax/print/ipp/attribute/supported/
27208 GeneratedNaturalLanguageSupported.java,
27209 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27210 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27211 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27212 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27213 New supported attribute files.
27214 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27215 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27216 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27217 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27218 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27219 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27220 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27221 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27222 New printer description attribute files.
27223 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27224 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27225 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27226 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27227 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27228 gnu/javax/print/ipp/attribute/job/JobId.java,
27229 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27230 gnu/javax/print/ipp/attribute/job/JobUri.java,
27231 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27232 New job description attribute files.
27233 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27234 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27235 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27236 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27237 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27238 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27239 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27240 gnu/javax/print/ipp/attribute/defaults/
27241 MultipleDocumentHandlingDefault.java,
27242 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27243 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27244 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27245 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27246 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27247 New default printing attribute files.
27248 * resource/gnu/javax/print/PrinterDialog.properties: New file.
27249 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27250 * examples/gnu/classpath/examples/print/Demo.java:
27251 New demo application of the current implemented functionality.
27253 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27255 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27256 java/rmi/activation/ActivationDesc.java.java,
27257 java/rmi/activation/ActivationGroup.java,
27258 java/rmi/activation/ActivationID.java,
27259 java/rmi/activation/ActivationMonitor.java,
27260 java/rmi/activation/ActivationSystem.java,
27261 java/rmi/activation/package.html: Documenting.
27263 2006-03-13 Roman Kennke <kennke@aicas.com>
27265 * javax/swing/JInternalFrame.java
27266 (setSelected): Repaint frame when it is showing and the selection
27269 2006-03-13 Roman Kennke <kennke@aicas.com>
27271 * javax/swing/AbstractButton.java
27272 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27275 2006-03-13 Roman Kennke <kennke@aicas.com>
27277 * javax/accessibility/AccessibleContext.java
27278 (getAccessibleRelationSet): Return empty set instead of null.
27280 2006-03-13 Roman Kennke <kennke@aicas.com>
27282 * javax/swing/ImageIcon.java
27283 (loadImage): Remove completed images from the MediaTracker. This
27284 avoids a potential memory leak.
27286 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
27288 * javax/print/MultiDocPrintService.java,
27289 * javax/print/MultiDocPrintJob.java,
27290 * javax/print/MultiDoc.java: Added and enhanced documentation.
27292 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27294 * java/rmi/activation/ActivationID.java (uid): New field.
27295 (writeExternal, readExternal): New methods.
27296 (equals, hashCode): Rewritten.
27297 * java/rmi/activation/ActivationInstantiator.java,
27298 * java/rmi/activation/ActivationSystem.java,
27299 * java/rmi/activation/Activator.java,
27300 * java/rmi/activation/Activatable.java,
27301 * java/rmi/activation/ActivationGroup.java,
27302 * java/rmi/activation/ActivationGroupDesc.java:
27303 Documented and autoformatted.
27304 * java/rmi/activation/package.html: Added content.
27306 2006-03-12 Chris Burdess <dog@gnu.org>
27309 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27310 encoding are specified.
27312 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27314 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27315 (changeEvent): Initialise in fireStateChange(),
27316 (setSelectedIndex): Check if change is made before firing event,
27317 (clearSelection): Delegate to setSelectedIndex(),
27318 (fireStateChanged): Initialise changeEvent if necessary,
27319 * javax/swing/SingleSelectionModel.java: API docs all over.
27321 2006-03-11 Tom Tromey <tromey@redhat.com>
27323 * java/util/zip/InflaterInputStream.java: Reverted previous
27326 2006-03-11 Mark Wielaard <mark@klomp.org>
27328 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27331 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27333 * javax/swing/event/TreeSelectionEvent.java
27334 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27335 not one of the added/removed paths,
27336 (cloneWithSource): Reformatted.
27338 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
27340 * javax/swing/tree/TreeCellEditor.java: Added API docs,
27341 * javax/swing/tree/TreeCellRenderer.java: Likewise.
27343 2006-03-10 Casey Marshall <csm@gnu.org>
27346 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27348 (doFinal, update): new methods.
27349 (init, init, init, init): initialize `state' after trying the
27350 implementation, which can throw an exception.
27351 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27354 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
27356 * gnu/regexp/BacktrackStack.java: New file.
27357 * gnu/regexp/RE.java(findMatch): New method.
27358 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27359 REMatchList): Removed. (backtrackStack): New field.
27360 * gnu/regexp/REToken.java(match): Changed from an abstract
27361 method to an ordinary method defined with the new method
27362 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27363 findFixedLengthMatches, backtrack, toString): New methods.
27364 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27365 * gnu/regexp/RETokenBackRef.java: Likewise.
27366 * gnu/regexp/RETokenChar.java: Likewise.
27367 * gnu/regexp/RETokenEnd.java: Likewise.
27368 * gnu/regexp/RETokenEndSub.java: Likewise.
27369 * gnu/regexp/RETokenIndependent.java: Likewise.
27370 * gnu/regexp/RETokenLookAhead.java: Likewise.
27371 * gnu/regexp/RETokenLookBehind.java: Likewise.
27372 * gnu/regexp/RETokenNamedProperty.java: Likewise.
27373 * gnu/regexp/RETokenPOSIX.java: Likewise.
27374 * gnu/regexp/RETokenRange.java: Likewise.
27375 * gnu/regexp/RETokenStart.java: Likewise.
27376 * gnu/regexp/RETokenWordBoundary.java: Likewise
27377 * gnu/regexp/RETokenOneOf.java: Rewriten.
27378 * gnu/regexp/RETokenRepeated.java: Rewriten.
27380 2006-03-10 Roman Kennke <kennke@aicas.com>
27382 * javax/swing/plaf/metal/MetalBorders.java
27383 (RolloverButtonBorder.paintBorder): Only call super here.
27384 * javax/swing/plaf/metal/MetalButtonListener.java
27385 (propertyChange): Only call super here.
27386 * javax/swing/plaf/metal/MetalButtonUI.java
27387 (update): Changed condition from isOpaque() to isContentAreaFilled()
27388 for the gradient fill.
27389 * javax/swing/plaf/metal/MetalToggleButtonUI.java
27390 (paintText): API doc fix. Makes paintText not deprecated as specified
27391 but adds comment that this is obsolete.
27392 * javax/swing/plaf/metal/MetalUtils.java
27393 (fillMetalPattern): Fixed condition so that the Java2D is not
27394 used when the noGraphics2D property is set.
27396 2006-03-10 Roman Kennke <kennke@aicas.com>
27398 * javax/swing/plaf/metal/MetalLookAndFeel.java
27399 (createDefaultTheme): Set OceanTheme as default metal theme.
27401 2006-03-10 Roman Kennke <kennke@aicas.com>
27403 * javax/swing/text/WrappedPlainView.java
27404 (metrics): Made field package private to avoid accessor method.
27405 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27406 The drawLine (righly) interprets the y parameter as the baseline.
27407 * javax/swing/text/Utilities.java
27408 (getBreakLocation): Don't consider the offset. The returned value
27409 for getTabbedTextOffset is already relative to the offset.
27411 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
27413 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27414 (dateFormat): Made private.
27415 (put): Replace only the last occurance and the value.
27416 (putAll): Save one iteration. Clarified documentation.
27418 2006-03-10 Tom Tromey <tromey@redhat.com>
27420 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27422 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27425 2006-03-10 Lillian Angel <langel@redhat.com>
27427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27428 (comboboxgroup_get_widget): New function.
27429 (removed): Fixed to use new function to get the correct widget.
27430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27431 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27434 2006-03-10 Lillian Angel <langel@redhat.com>
27436 * java/awt/GridBagLayout.java
27437 (ArrangeGrid): Added checks to determine if component
27438 is placed last in a row or column. If so, the location
27439 of the last component should be used to get the location
27440 of the current component.
27442 2006-03-10 Lillian Angel <langel@redhat.com>
27444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27445 (nativeSetCheckboxGroup): No need to use new function here.
27446 Should just pass in pointer.
27448 2006-03-10 Lillian Angel <langel@redhat.com>
27450 * java/awt/GridBagLayout.java
27451 (distributeSizeAndWeight): Change else if to else. This
27452 allows for components to be added to a new row when
27453 their gridheight is REMAINDER.
27455 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27457 * java/rmi/activation/ActivationDesc.java,
27458 java/rmi/activation/ActivationGroupID.java,
27459 java/rmi/activation/Activator.java,
27460 java/rmi/server/Operation.java,
27461 java/rmi/server/RemoteServer.java: Documented and formatted.
27463 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27465 * javax/swing/JToggleButton.java: Fixed API doc tags,
27466 * javax/swing/OverlayLayout.java: Likewise.
27468 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27470 * javax/swing/DefaultCellEditor.java
27471 (cancelCellEditing): Removed spurious API doc tag.
27473 2006-03-10 Lillian Angel <langel@redhat.com>
27475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27476 (create): Put checkbox widget into an event box so it paints properly.
27477 (connectSignals): Fixed to use new function.
27478 (nativeSetCheckboxGroup): Likewise.
27479 (gtkToggleButtonSetActive): Likewise.
27480 (gtkWidgetModifyFont): Likewise.
27481 (gtkButtonSetLabel): Likewise.
27482 (combobox_get_widget): New function.
27484 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
27486 * javax/swing/text/rtf/package.html: New file.
27488 2006-03-10 Roman Kennke <kennke@aicas.com>
27490 * javax/swing/plaf/metal/OceanTheme.java
27491 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27492 * javax/swing/plaf/metal/MetalScrollBarUI.java
27493 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27494 (paintThumbHorizontal): Added handling of OceanTheme.
27495 (paintThumbVertical): Added handling of OceanTheme.
27497 2006-03-10 Roman Kennke <kennke@aicas.com>
27499 Reported by Fridjof Siebert <siebert@aicas.com>
27500 * java/awt/MediaTracker.java
27501 (removeImage): Only set prev to e when the the images of the
27502 entries are not the same. This avoids a potentially corrupt list.
27504 2006-03-10 Chris Burdess <dog@gnu.org>
27507 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27508 checking while reindenting.
27510 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
27512 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27514 2006-03-09 Tom Tromey <tromey@redhat.com>
27516 PR classpath/26585:
27517 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27518 subdir. Added README.
27519 (install-data-local): Removed.
27520 (uninstall-local): Likewise.
27521 (EXTRA_DIST): Removed.
27523 2006-03-09 Tom Tromey <tromey@redhat.com>
27525 PR classpath/26623:
27526 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27528 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27530 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27532 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27534 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27536 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27538 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27540 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27542 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27544 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27546 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27547 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27549 2006-03-09 Keith Seitz <keiths@redhat.com>
27551 * gnu/classpath/jdwp/processor/MethodCommandSet.java
27552 (executeVariableTable): Use VMMethod instead of reflection.
27553 (executeLineTable): Likewise.
27554 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27555 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27556 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27557 (getLineTable): Removed. Now resides in VMMethod.
27558 (getVarTable): Likewise.
27559 (getAllClassMethods): New method.
27561 2006-03-09 Keith Seitz <keiths@redhat.com>
27563 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27564 * gnu/classpath/jdwp/event/ThreadStartEvent.java
27565 (ThreadStartEvent): Likewise.
27566 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27567 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27568 (ConditionalFilter): Likewise.
27569 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27570 (ExceptionOnlyFilter): Likewise.
27571 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27572 (FieldOnlyFilter): Likewise.
27573 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27574 (getSize): Likewise.
27575 (StepFilter): Likewise.
27576 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27577 * gnu/classpath/jdwp/transport/JdwpPacket.java
27578 (JdwpPacket): Likewise.
27579 (fromBytes): Likewise.
27580 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27581 (JdwpReplyPacket): Likewise.
27582 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27583 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27584 (getReferenceType): Likewise.
27585 (newObjectId): Likewise.
27586 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27587 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27588 (getFrames): Fix typo in parameter name and update javadoc.
27589 (getClassMethod): Update javadoc.
27591 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
27593 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27594 * javax/swing/event/TreeSelectionListener.java: Likewise.
27596 2006-03-09 Lillian Angel <langel@redhat.com>
27598 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27599 (getHScrollbarHeight): Fixed property name.
27600 (getVScrollbarHeight): Likewise.
27602 2006-03-09 Lillian Angel <langel@redhat.com>
27604 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27605 (get_widget): New function.
27606 (gtkWidgetSetParent): Changed to use new function.
27607 (gtkWidgetSetCursorUnlocked): Likewise.
27608 (gtkWidgetSetSensitive): Likewise.
27609 (gtkWidgetRequestFocus): Likewise.
27610 (gtkWindowGetLocationOnScreen): Likewise.
27611 (gtkWidgetGetDimensions): Likewise.
27612 (gtkWidgetGetPreferredDimensions): Likewise.
27613 (setNativeBounds): Likewise.
27614 (gtkWidgetGetBackground): Likewise.
27615 (gtkWidgetGetForeground): Likewise.
27616 (gtkWidgetSetBackground): Likewise.
27617 (gtkWidgetSetForeground): Likewise.
27618 (setVisibleNativeUnlocked): Likewise.
27619 (isEnabled): Likewise.
27620 (isRealized): Likewise.
27621 (setNativeEventMask): Likewise.
27623 2006-03-09 Lillian Angel <langel@redhat.com>
27626 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27627 (create): Added combobox widget to an event box.
27628 (connectSignals): Added call to choice_get_widget to get the
27629 combobox out of the event box.
27630 (append): Likewise.
27631 (nativeRemoveAll): Likewise.
27632 (nativeRemove): Likwise.
27633 (nativeAdd): Likewise.
27634 (selectNative): Likewise.
27635 (choice_get_widget): New function.
27636 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27637 (create): Added list scroll window widget to an event box.
27638 (connectSignals): Changed call to use new function to get the
27639 correct widget out of the event box.
27640 (getWidgetModifyFont): Likewise.
27641 (getWidgetRequestFocus): Likewise.
27642 (append): Likewise.
27644 (delItems): Likewise.
27645 (select): Likewise.
27646 (deselect): Likewise.
27647 (getSize): Likewise.
27648 (getSelectedIndexes): Likewise.
27649 (makeVisible): Likewise.
27650 (setMultipleMode): Likewise.
27651 (list_get_widget): New function.
27652 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27653 (create): Added scrollpane to an eventbox.
27654 (setScrollPosition): Changed call to use new function to get the
27655 correct widget out of the event box.
27656 (gtkScrolledWindowSetHScrollIncrement): Likewise.
27657 (gtkScrolledWindowSetVScrollIncrement): Likewise.
27658 (getHScrollbarHeight): Likewise.
27659 (getVScrollbarWidth): Likewise.
27660 (setPolicy): Likewise.
27661 (scrollpane_get_widget): New function.
27662 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27663 (connectSignals): Changed call to use new function to get the
27664 correct widget out of the event box.
27665 (create): Added scrollbar to an eventbox.
27666 (setLineIncrement): Changed call to use new function to get the
27667 correct widget out of the event box.
27668 (setPageIncrement): Likewise.
27669 (setBarValues): Likewise.
27670 (scrollbar_get_widget): New function.
27671 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27672 (create): Added text area scroll window widget to an event box.
27673 (connectSignals): Changed call to use new function to get the
27674 correct widget out of the event box.
27675 (insert): Likewise.
27676 (replaceRange): Likewise.
27677 (gtkWidgetModifyFont): Likewise.
27678 (gtkWidgetRequestFocus): Likewise.
27679 (getHScrollbarHeight): Likewise.
27680 (getVScrollbarWidth): Likewise.
27681 (getCaretPosition): Likewise.
27682 (setCaretPosition):Likewise.
27683 (getSelectionStart): Likewise.
27684 (getSelectionEnd): Likewise.
27685 (select): Likewise.
27686 (setEditable): Likewise.
27687 (getText): Likewise.
27688 (setText): Likewise.
27689 (textarea_get_widget): New function.
27691 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27693 * java/rmi/dgc/VMID.java:
27694 (equals, hashCode, static initializer): Rewritten.
27695 * java/rmi/dgc/package.html: Documented.
27697 2006-03-09 Mark Wielaard <mark@klomp.org>
27699 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27701 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27702 (canCache): Likewise.
27703 (GtkClipboard): Take String argument.
27704 (getInstance): Removed.
27705 (getClipboardInstance, getSelectionInstance): New static methods.
27706 (setSystemContents): Make synchronized. Takes boolean argument.
27707 (initNativeState): Add clipboard and selection.
27708 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27709 (announceClipboardChange, announcePrimaryChange): New static field.
27710 (announce): Take GtkClipboard as argument.
27711 (run): Check which clipboard to announce change for.
27712 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27714 (GtkSelection): Take GtkClipboard as argument.
27715 (requestText, requestImage, requestURIs, requestBytes): Add boolean
27716 clipboard argument.
27717 (requestMimeTypes): Likewise.
27718 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27720 * java/awt/Toolkit.java (getSystemSelection): Document.
27721 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27722 (cp_gtk_selection_instance): New var.
27723 (current_selection, owner): Removed.
27724 (clipboard_owner_change_cb): Use clipboard argument.
27725 (initNativeState): Store clipboard and selection instances. Cache
27726 setSystemContentsID, provideContentID, provideTextID, provideImageID,
27728 (clipboard_get_func): Use clipboard argument.
27729 (clipboard_clear_func): Likewise. Always call method.
27730 (advertiseContent): Don't cache method ids here. Check whether to
27731 use clpboard or selection. Don't set owner or current_selection.
27732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27733 (requestText, requestImage, requestURIs, requestBytes): Use extra
27734 boolean argument to select clipboard.
27735 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27736 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27737 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27738 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27740 2006-03-09 Keith Seitz <keiths@redhat.com>
27742 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27743 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27744 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27745 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27746 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27747 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27748 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27749 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27750 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27752 2006-03-09 Mark Wielaard <mark@klomp.org>
27754 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27755 bounds for index is valid.
27756 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27758 (getCellBounds): Update documentation.
27760 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
27762 * .classpath: added exclude pattern on source folders
27763 (Makefiles, README and .cvsignore)
27765 2006-03-08 Michael Koch <konqueror@gmx.de>
27767 * java/net/Proxy.java (NO_PROXY): Made final.
27768 (equals): Likewise.
27769 (hashCode): Likewise.
27771 2006-03-08 Keith Seitz <keiths@redhat.com>
27773 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27774 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27775 (getClassMethod): New method.
27777 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27779 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27781 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27783 * java/rmi/server/ObjID.java: Documented and autoformatted.
27785 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27788 * tools/Makefile.am (install-data-local,
27789 uninstall-local): Install/uninstall the tools/README only.
27790 * tools/gnu/classpath/tools/giop/README: Updated.
27791 * tools/README: New file.
27793 2006-03-08 Lillian Angel <langel@redhat.com>
27795 * java/awt/GridBagLayout.java
27796 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27797 then the next item should be set to current_y (not 0).
27799 2006-03-08 Lillian Angel <langel@redhat.com>
27801 * java/awt/GridBagLayout.java
27802 (GetLayoutInfo): If gridy is RELATIVE and there is no component
27803 in the bottom-most spot of the column, we need to place that component
27804 at the y-location of the other components in that row. If there are
27805 no other components in that row, then place it at y = 0.
27807 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
27809 * javax/swing/ProgressMonitor.java: Updated API docs,
27810 * javax/swing/ProgressMonitorInputStream.java: Likewise.
27812 2006-03-08 Michael Koch <konqueror@gmx.de>
27814 * java/net/InetSocketAddress.java
27815 (InetSocketAddress(String,int,resolve)): New private contructor.
27816 (InetSocketAddress(String,int)): Use new private constructor.
27817 (createUnresolved): New method.
27819 2006-03-07 Michael Koch <konqueror@gmx.de>
27821 * gnu/java/net/DefaultProxySelector.java,
27822 java/net/Proxy.java, java/net/ProxySelector.java:
27825 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27827 * java/rmi/server/UID.java (constructor): Assign last and time fields
27830 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27832 * java/rmi/server/UID.java: New file (replacing).
27834 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
27836 * java/util/jar/Manifest.java: Removed unused imports.
27837 (CRLF): New constant.
27838 (read): Added method documentation.
27839 Use UTF-8 encoding instead of 8859_1.
27840 (write): Added method documentation.
27841 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27842 (write_main_section): Replace PrintWriter arg with OutputStream.
27843 Replace JarException with IOException.
27844 (write_version_info): Likewise.
27845 (write_main_attributes): Likewise.
27846 (write_attribute_entry): Likewise.
27847 (write_individual_sections): Likewise.
27848 (write_entry_attributes): Likewise.
27849 (write_header): Replace PrintWriter arg with OutputStream.
27852 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27854 * javax/swing/tree/DefaultMutableTreeNode.java
27855 (getFirstChild): Updated API docs,
27856 (getLastChild): Likewise,
27857 (getChildAfter): Likewise,
27858 (getChildBefore): Likewise,
27859 (isNodeSibling): Return true if node == this,
27860 (getSiblingCount): Updated API docs,
27861 (getNextSibling): Likewise,
27862 (getPreviousSibling): Likewise,
27863 (isLeaf): Likewise,
27864 (getFirstLeaf): Likewise,
27865 (getLastLeaf): Likewise,
27866 (getNextLeaf): Implemented,
27867 (getPreviousLeaf): Implemented.
27869 2006-03-07 Tom Tromey <tromey@redhat.com>
27871 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27872 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27873 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27874 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27877 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27879 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27880 (clone): Reimplemented,
27881 (add): Throw IllegalArgumentException if child is an ancestor,
27882 (remove(int)): Set child's parent to null,
27883 (remove(MutableTreeNode)): Check arguments and set child's parent to
27885 (insert): Check allowsChildren flag, check for null argument, and
27886 check for a node that is an ancestor,
27887 (getIndex): Throw IllegalArgumentException for null argument,
27888 (setAllowsChildren): If setting to false, remove existing children,
27889 (removeAllChildren): Set parent to null for removed children.
27891 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
27893 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27896 2006-03-06 Tom Tromey <tromey@redhat.com>
27898 * java/lang/StrictMath.java (ulp): New methods.
27899 * java/lang/Math.java (ulp): New methods.
27901 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27903 * gnu/java/rmi/server/UnicastRef.java,
27904 * gnu/java/rmi/server/UnicastServer.java: Formatted.
27906 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27908 * gnu/java/rmi/server/CombinedClassLoader.java
27909 (findClass, findLibrary, findResouce, findResources): check
27910 all loaders in array.
27912 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
27915 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27916 (RefProtector): new inner class. (dirty): Rewritten.
27917 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27918 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27919 new methods. (readExternal): Create LeaseRenewingTask if non local.
27920 * gnu/java/rmi/server/UnicastServer.java (objects):
27921 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
27922 (getExported): New method.
27923 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
27925 2006-03-06 Mark Wielaard <mark@klomp.org>
27927 * doc/www.gnu.org/announce/20060306.wml: New file.
27928 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
27929 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
27931 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
27933 * javax/swing/plaf/metal/MetalLookAndFeel.java
27934 (initComponentDefaults): Use Boolean.TRUE for
27935 'CheckBoxMenuItem.borderPainted'.
27937 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
27939 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27940 (dateFormat): Made private.
27941 (put): Replace only the last occurance and the value.
27942 (putAll): Reimplemented with the put method.
27944 2006-03-06 Lillian Angel <langel@redhat.com>
27947 * java/awt/List.java
27948 (preferredSize): Return the size of the list if the peer is
27950 * gnu/java/awt/peer/gtk/GtkListPeer.java
27951 (preferredSize): Code was returning the minimum size of the
27952 list. Added adjustment to the width of the list so it is a
27955 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
27957 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
27958 (getRequestProperty): Remove duplicated null check.
27959 * java/net/URLConnection.java:
27960 (URLConnection): Javadoc fix.
27961 (addRequestProperty): Likewise.
27962 (getDefaultRequestProperty): Likewise.
27963 (getHeaderField): Likewise.
27964 (getHeaderFieldDate): Likewise.
27965 (getHeaderFieldKey): Likewise.
27966 (getHeaderFields): Likewise.
27967 (getRequestProperties): Likewise.
27968 (getRequestProperty): Likewise.
27969 (setDefaultRequestProperty): Likewise.
27970 (setRequestProperty): Likewise.
27972 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
27974 * examples/gnu/classpath/examples/swing/TextArea.java: New file.
27975 * examples/gnu/classpath/examples/swing/Demo.java:
27976 (mkButtonBar): Changed layout manager to GridLayout, added entry for
27978 (mkMenuBar): Added entry for text area example.
27980 2006-03-06 Tom Tromey <tromey@redhat.com>
27982 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
27983 (FORMATTED_TEXT_FIELD): Likewise.
27985 2006-03-06 Tom Tromey <tromey@redhat.com>
27987 * javax/swing/plaf/synth/SynthPainter.java: Finished.
27989 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
27991 * examples/gnu/classpath/examples/swing/Demo.java:
27992 (mkMenuBar): Added menu entry that will display the VM's name,
27993 version and distributor.
27995 2006-03-06 Tom Tromey <tromey@redhat.com>
27997 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
27999 (getName): Likewise.
28001 2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
28003 * java/util/jar/Manifest.java: Removed unused imports.
28004 (CRLF): New constant.
28005 (read): Added method documentation.
28006 Use UTF-8 encoding instead of 8859_1.
28007 (write): Added method documentation.
28008 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28009 (write_main_section): Replace PrintWriter arg with OutputStream.
28010 Replace JarException with IOException.
28011 (write_version_info): Likewise.
28012 (write_main_attributes): Likewise.
28013 (write_attribute_entry): Likewise.
28014 (write_individual_sections): Likewise.
28015 (write_entry_attributes): Likewise.
28016 (write_header): Replace PrintWriter arg with OutputStream.
28019 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
28022 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28023 API doc tag warnings,
28024 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28026 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28028 * gnu/java/net/protocol/file/Connection.java (unquote):
28029 Update position in buffer after decoding a unicode character
28030 outside of the basic plane.
28032 2006-03-06 Dalibor Topic <robilad@kaffe.org>
28034 * java/net/URI.java
28035 (quote): Pass Unicode characters outside the basic plane through.
28037 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28039 * javax/swing/plaf/basic/BasicTextUI.java:
28040 (damageRange): Rewritten if-expressions to correctly identify the
28043 2006-03-06 Mark Wielaard <mark@klomp.org>
28045 * configure.ac: Set version to 0.90-generics.
28048 2006-03-06 Mark Wielaard <mark@klomp.org>
28050 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28051 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28052 (isnan): Define explicitly isnan if it is not a macro.
28054 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28056 * javax/swing/text/GapContent.java:
28057 (insertString): Throw exception when argument is below
28060 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28062 * javax/swing/text/PlainDocument.java:
28063 (insertUpdate): Extended if-expression, added
28064 code to generate another Element when newly inserted characters
28065 and old ones will be on the same line.
28067 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28069 * javax/swing/text/DefaultCaret.java:
28070 (mouseDragged): Do selection when shift is pressed.
28071 (mouseClicked): Implemented.
28073 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
28075 * javax/swing/text/PlainDocument.java: Fix copyright header,
28077 (insertUpdate): Do not copy the whole document any more, added some
28078 more variables to prevent needless method calls.
28080 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
28082 * configure.ac: Check for FREETYPE2. This is a reverted patch and
28083 is required on Darwin.
28084 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28085 (AM_CFLAGS): Likewise.
28087 2006-03-06 Mark Wielaard <mark@klomp.org>
28089 * NEWS: Add updates for 0.90 release.
28091 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
28093 * javax/swing/text/GapContent.java:
28094 (insertString): Throw exception when argument is below
28097 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28100 * javax/swing/filechooser/FileFilter.java:
28101 (accept): Fixed API doc tag,
28102 (getDescription): Likewise,
28103 * javax/swing/filechooser/FileView.java:
28104 (isTraversable): Fixed API doc tag.
28106 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28108 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28109 added API docs all over.
28111 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28113 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28114 and corrected a bad API doc tag.
28116 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28118 * javax/swing/undo/StateEditable.java
28119 (restoreState): Fixed bad API doc tag,
28120 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28121 AbstractUndoableEdit.java,
28122 * javax/swing/undo/UndoableEditSupport.java
28123 (createCompoundEdit): Fixed bad API doc tag,
28124 * javax/swing/undo/UndoManager.java
28125 (editToBeUndone): Fixed bad API doc tag,
28126 (editToBeRedone): Likewise.
28128 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28130 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28131 * javax/swing/FocusManager.java: Likewise.
28134 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
28137 * javax/swing/plaf/metal/MetalComboBoxButton.java
28138 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28139 JList)): Fixed API doc tag,
28140 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28141 (createLayout): Fixed API doc warning.
28143 2006-03-05 Tom Tromey <tromey@redhat.com>
28145 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28146 ClassHelper.getUserName.
28147 * vm/reference/java/lang/reflect/Method.java (toString): Use
28148 ClassHelper.getUserName.
28149 (getUserTypeName): Removed.
28150 * gnu/java/lang/ClassHelper.java (getUserName): New method.
28151 * vm/reference/java/lang/reflect/Field.java (toString): Use
28152 ClassHelper.getUserName.
28154 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
28157 * java/net/URLClassLoader.java (FileURLLoader.getResource):
28158 Allows directories as valid resources.
28160 2006-03-05 Mark Wielaard <mark@klomp.org>
28162 * configure.ac (VERSION): Set to 0.90-pre-generics.
28163 * Merge with CVS trunk from classpath-0_90-branch-point.
28165 2006-03-04 Tom Tromey <tromey@redhat.com>
28167 * javax/swing/SpringLayout.java (Constraints): New constructor.
28168 * javax/swing/Spring.java (width): New method.
28169 (height): Likewise.
28172 2006-03-04 Mark Wielaard <mark@klomp.org>
28174 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28175 existing connection from pool before returning.
28177 2006-03-04 Mark Wielaard <mark@klomp.org>
28179 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28180 exceptions thrown by handlers while cleaning up and rethrow original
28183 2006-03-04 Tom Tromey <tromey@redhat.com>
28185 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28187 (findConstructor): Likewise.
28188 (instantiateClass): Likewise.
28190 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28192 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
28193 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
28194 lease value and not always the default one.
28195 (LeaseRecord): Remember the array of objects, marked as dirty.
28196 java/rmi/dgc/Lease.java: Boilerplate fix.
28198 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
28200 * java/util/jar/Attributes.java (putValue): Made it public and updated
28201 method documentation.
28203 2006-03-04 Mark Wielaard <mark@klomp.org>
28205 * java/awt/Container.java (remove(int)): Always call removeNotify()
28206 on removed Component.
28208 2006-03-04 Mark Wielaard <mark@klomp.org>
28210 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28211 * javax/swing/JEditorPane.java (setText): Check for empty String
28212 with equals(), not equality (==).
28214 2006-03-04 Mark Wielaard <mark@klomp.org>
28216 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28217 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28219 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28221 * javax/swing/text/GapContent.java
28222 (getArray): Mark as final.
28224 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
28226 * javax/swing/text/StyleConstants.java
28227 (CharacterConstants.Background): Marked final,
28228 (CharacterConstants.BidiLevel): Likewise,
28229 (CharacterConstants.Bold): Likewise,
28230 (CharacterConstants.ComponentAttribute): Likewise,
28231 (CharacterConstants.Family): Likewise,
28232 (CharacterConstants.Size): Likewise,
28233 (CharacterConstants.Foreground): Likewise,
28234 (CharacterConstants.IconAttribute): Likewise,
28235 (CharacterConstants.Italic): Likewise,
28236 (CharacterConstants.StrikeThrough): Likewise,
28237 (CharacterConstants.Subscript): Likewise,
28238 (CharacterConstants.Superscript): Likewise,
28239 (CharacterConstants.Underline): Likewise,
28240 (ColorConstants.Foreground): Likewise,
28241 (ColorConstants.Background): Likewise,
28242 (FontConstants.Bold): Likewise,
28243 (FontConstants.Family): Likewise,
28244 (FontConstants.Italic): Likewise,
28245 (FontConstants.Size): Likewise,
28246 (ParagraphConstants.Alignment): Likewise,
28247 (ParagraphConstants.FirstLineIndent): Likewise,
28248 (ParagraphConstants.LeftIndent): Likewise,
28249 (ParagraphConstants.LineSpacing): Likewise,
28250 (ParagraphConstants.Orientation): Likewise,
28251 (ParagraphConstants.RightIndent): Likewise,
28252 (ParagraphConstants.SpaceAbove): Likewise,
28253 (ParagraphConstants.SpaceBelow): Likewise,
28254 (ParagraphConstants.TabSet): Likewise.
28256 2006-03-03 Tom Tromey <tromey@redhat.com>
28258 * javax/net/ssl/SSLException.java: Added missing @since.
28261 2006-03-03 Tom Tromey <tromey@redhat.com>
28263 * javax/net/ssl/SSLException.java (SSLException): New constructors.
28264 (serialVersionUID): New field.
28266 2006-03-03 Tom Tromey <tromey@redhat.com>
28268 * java/security/spec/InvalidKeySpecException.java
28269 (InvalidKeySpecException): New constructors.
28270 * java/security/cert/CertificateParsingException.java
28271 (CertificateParsingException): New constructors.
28272 * java/security/cert/CertificateEncodingException.java
28273 (CertificateEncodingException): New constructors.
28274 * java/security/cert/CertificateException.java (CertificateException):
28276 * java/security/cert/CRLException.java (CRLException): New
28279 2006-03-03 Tom Tromey <tromey@redhat.com>
28281 * java/security/SignatureException.java (SignatureException): New
28283 * java/security/ProviderException.java (ProviderException): New
28285 * java/security/NoSuchAlgorithmException.java
28286 (NoSuchAlgorithmException): New constructors.
28287 * java/security/KeyStoreException.java (KeyStoreException): New
28289 * java/security/KeyManagementException.java (KeyManagementException):
28291 * java/security/InvalidKeyException.java (InvalidKeyException): New
28293 * java/security/KeyException.java (KeyException): New constructors.
28294 * java/security/InvalidAlgorithmParameterException.java
28295 (InvalidAlgorithmParameterException): New constructors.
28296 * java/security/DigestException.java (DigestException): New
28298 * java/security/GeneralSecurityException.java
28299 (GeneralSecurityException): New constructors.
28301 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28303 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
28305 * javax/swing/event/DocumentEvent.java: Likewise,
28306 * javax/swing/event/EventListenerList.java: Likewise,
28307 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28308 * javax/swing/event/MenuKeyEvent.java: Likewise,
28309 * javax/swing/event/TableColumnModelEvent.java: Likewise,
28310 * javax/swing/event/TreeExpansionEvent.java: Likewise,
28311 * javax/swing/event/TreeModelEvent.java: Likewise,
28312 * javax/swing/event/TreeSelectionEvent.java: Likewise,
28313 * javax/swing/event/UndoableEditEvent.java: Likewise.
28315 2006-03-03 Tom Tromey <tromey@redhat.com>
28317 * java/awt/Insets.java (set): New method.
28318 (equals): Added @since.
28320 2006-03-03 David Daney <ddaney@avtrex.com>
28322 * gnu/java/net/protocol/http/HTTPURLConnection.java
28323 (getRequestProperties): Rewrote.
28324 (addRequestProperty): Rewrote.
28325 (getHeaderFields): Rewrote.
28326 (getHeaderField): Rewrote.
28327 (getHeaderFieldKey): Rewrote.
28328 (getHeaderField): Removed useless cast.
28329 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28330 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28332 (notifyHeaderHandlers): Use new Headers interface.
28334 2006-03-03 Tom Tromey <tromey@redhat.com>
28336 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28337 * javax/naming/spi/ResolveResult.java,
28338 javax/naming/event/NamingExceptionEvent.java,
28339 javax/naming/event/NamingEvent.java,
28340 javax/naming/directory/SearchResult.java,
28341 javax/naming/directory/SearchControls.java,
28342 javax/naming/directory/SchemaViolationException.java,
28343 javax/naming/directory/NoSuchAttributeException.java,
28344 javax/naming/directory/ModificationItem.java,
28345 javax/naming/directory/InvalidSearchFilterException.java,
28346 javax/naming/directory/InvalidSearchControlsException.java,
28347 javax/naming/directory/InvalidAttributesException.java,
28348 javax/naming/directory/InvalidAttributeIdentifierException.java,
28349 javax/naming/directory/AttributeModificationException.java,
28350 javax/naming/directory/AttributeInUseException.java,
28351 javax/naming/TimeLimitExceededException.java,
28352 javax/naming/SizeLimitExceededException.java,
28353 javax/naming/PartialResultException.java,
28354 javax/naming/Reference.java,
28355 javax/naming/ServiceUnavailableException.java,
28356 javax/naming/OperationNotSupportedException.java,
28357 javax/naming/NotContextException.java,
28358 javax/naming/NoPermissionException.java,
28359 javax/naming/NoInitialContextException.java,
28360 javax/naming/NameNotFoundException.java,
28361 javax/naming/NameAlreadyBoundException.java,
28362 javax/naming/NameClassPair.java,
28363 javax/naming/MalformedLinkException.java,
28364 javax/naming/LinkLoopException.java,
28365 javax/naming/LinkException.java,
28366 javax/naming/LimitExceededException.java,
28367 javax/naming/InvalidNameException.java,
28368 javax/naming/InterruptedNamingException.java,
28369 javax/naming/InsufficientResourcesException.java,
28370 javax/naming/ContextNotEmptyException.java,
28371 javax/naming/ConfigurationException.java,
28372 javax/naming/CannotProceedException.java,
28373 javax/naming/CommunicationException.java,
28374 javax/naming/Binding.java,
28375 javax/naming/AuthenticationNotSupportedException.java,
28376 javax/naming/AuthenticationException.java: Added serialVersionUID.
28378 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28380 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28382 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28384 * javax/swing/event/TableModelListener.java: Updated API docs.
28386 2006-03-03 Mark Wielaard <mark@klomp.org>
28388 * java/awt/Component.java (addNotify): Expand documentation.
28390 2006-03-03 Mark Wielaard <mark@klomp.org>
28392 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28393 Always call setParentAndBounds().
28394 (setComponentBounds): Always call setBounds().
28395 (setBounds): Call setVisible().
28396 (setVisible): If no pixels are showing then don't make it visible.
28397 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28398 to call setParentAndBounds() anymore.
28400 2006-03-03 Roman Kennke <kennke@aicas.com>
28402 * javax/swing/JInternalFrame.java
28403 (JInternalFrame): Set frame invisible.
28404 (show): Reformatted.
28405 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28406 (installDefaults): Do not set invisible here.
28408 2006-03-03 Roman Kennke <kennke@aicas.com>
28410 * java/awt/Toolkit.java
28411 (getScreenInsets): Return (0,0,0,0) here.
28413 2006-03-03 Roman Kennke <kennke@aicas.com>
28415 * javax/swing/text/FlowView.java
28416 (FlowStrategy.layoutRow): Added check for rowCount == 0.
28417 (FlowStrategy.getLogicalView): Made method protected.
28419 2006-03-03 Chris Burdess <dog@gnu.org>
28421 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28422 gnu/xml/validation/relaxng/AttributePattern.java,
28423 gnu/xml/validation/relaxng/ChoiceNameClass.java,
28424 gnu/xml/validation/relaxng/ChoicePattern.java,
28425 gnu/xml/validation/relaxng/DataPattern.java,
28426 gnu/xml/validation/relaxng/Define.java,
28427 gnu/xml/validation/relaxng/ElementPattern.java,
28428 gnu/xml/validation/relaxng/EmptyPattern.java,
28429 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28430 gnu/xml/validation/relaxng/Grammar.java,
28431 gnu/xml/validation/relaxng/GrammarException.java,
28432 gnu/xml/validation/relaxng/GrammarValidator.java,
28433 gnu/xml/validation/relaxng/GroupPattern.java,
28434 gnu/xml/validation/relaxng/InterleavePattern.java,
28435 gnu/xml/validation/relaxng/ListPattern.java,
28436 gnu/xml/validation/relaxng/NSNameNameClass.java,
28437 gnu/xml/validation/relaxng/NameClass.java,
28438 gnu/xml/validation/relaxng/NameNameClass.java,
28439 gnu/xml/validation/relaxng/NotAllowedPattern.java,
28440 gnu/xml/validation/relaxng/OneOrMorePattern.java,
28441 gnu/xml/validation/relaxng/Param.java,
28442 gnu/xml/validation/relaxng/Pattern.java,
28443 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28444 gnu/xml/validation/relaxng/RefPattern.java,
28445 gnu/xml/validation/relaxng/TextPattern.java,
28446 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28447 builder and data model.
28448 * gnu/xml/validation/xmlschema/AnyAttribute.java,
28449 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28450 gnu/xml/validation/xmlschema/AttributeUse.java,
28451 gnu/xml/validation/xmlschema/ComplexType.java,
28452 gnu/xml/validation/xmlschema/ElementDeclaration.java,
28453 gnu/xml/validation/xmlschema/Particle.java,
28454 gnu/xml/validation/xmlschema/ValidationException.java,
28455 gnu/xml/validation/xmlschema/XMLSchema.java,
28456 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28457 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28458 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28459 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28460 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28461 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28462 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28463 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28464 W3C XML Schema builder and schema components.
28465 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28466 XML Schema namespace URIs.
28468 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
28470 * NEWS: Add entry for --enable-collections.
28471 * configure.ac: Add --enable-collections option.
28472 * lib/Makefile.am (collections.jar): New target.
28473 (glibj_DATA): Add $(COLLECTIONS).
28474 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28475 configure substitution.
28476 (classpath): Read from command line.
28477 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
28479 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28481 * javax/swing/SpringLayout.java: Fixed API doc warnings.
28483 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28485 * javax/swing/event/ListSelectionEvent.java
28486 (toString): Implemented,
28487 plus updated API docs all over.
28489 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28491 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28493 * javax/swing/event/ListSelectionListener.java: Updated API docs.
28495 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
28497 * gnu/java/rmi/dgc/DGCImpl.java,
28498 java/rmi/dgc/DGC.java,
28499 java/rmi/dgc/Lease.java: Formatted and commented.
28501 2006-03-03 Roman Kennke <kennke@aicas.com>
28503 * NEWS: Added comment about text highlighting and copy+paste
28506 2006-03-03 Roman Kennke <kennke@aicas.com>
28508 * javax/swing/JTabbedPane.java
28509 (remove(int)): Call super.remove(int) instead of remove(Component).
28510 Avoids a stack overflow.
28512 2006-03-03 Roman Kennke <kennke@aicas.com>
28514 * javax/swing/JTable.java
28515 (distributeSpillResizing): Avoid ArithmeticException by checking
28518 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28520 * javax/swing/text/package.html: Added package description.
28522 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28524 * javax/swing/CellRendererPane.java: Minor API doc fix,
28525 * javax/swing/ComboBoxModel.java: Updated API docs.
28527 2006-03-03 Chris Burdess <dog@gnu.org>
28530 * gnu/xml/stream/EntityReferenceImpl.java,
28531 gnu/xml/stream/FilteredEventReader.java,
28532 gnu/xml/stream/SAXParser.java,
28533 gnu/xml/stream/XIncludeFilter.java,
28534 gnu/xml/stream/XMLEventAllocatorImpl.java,
28535 gnu/xml/stream/XMLEventFactoryImpl.java,
28536 gnu/xml/stream/XMLEventImpl.java,
28537 gnu/xml/stream/XMLEventReaderImpl.java,
28538 gnu/xml/stream/XMLEventWriterImpl.java,
28539 gnu/xml/stream/XMLInputFactoryImpl.java,
28540 gnu/xml/stream/XMLOutputFactoryImpl.java,
28541 gnu/xml/stream/XMLParser.java,
28542 javax/xml/stream/EventFilter.java,
28543 javax/xml/stream/Location.java,
28544 javax/xml/stream/StreamFilter.java,
28545 javax/xml/stream/XMLEventFactory.java,
28546 javax/xml/stream/XMLEventReader.java,
28547 javax/xml/stream/XMLEventWriter.java,
28548 javax/xml/stream/XMLInputFactory.java,
28549 javax/xml/stream/XMLOutputFactory.java,
28550 javax/xml/stream/XMLReporter.java,
28551 javax/xml/stream/XMLResolver.java,
28552 javax/xml/stream/XMLStreamConstants.java,
28553 javax/xml/stream/XMLStreamReader.java,
28554 javax/xml/stream/events/EntityDeclaration.java,
28555 javax/xml/stream/events/EntityReference.java,
28556 javax/xml/stream/events/XMLEvent.java,
28557 javax/xml/stream/util/EventReaderDelegate.java,
28558 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28559 StAX API as specified in JWSDP 2.0.
28560 * gnu/xml/stream/EndEntityImpl.java,
28561 gnu/xml/stream/LocationImpl.java,
28562 gnu/xml/stream/StartEntityImpl.java,
28563 gnu/xml/stream/XMLStreamReaderImpl.java,
28564 javax/xml/stream/XMLFilter.java,
28565 javax/xml/stream/XMLIterator.java,
28566 javax/xml/stream/events/EndEntity.java,
28567 javax/xml/stream/events/StartEntity.java: Removed legacy files.
28569 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28571 * javax/swing/CellEditor.java: API doc updates,
28572 * javax/swing/DefaultCellEditor.java: Likewise.
28574 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28576 * javax/swing/AbstractListModel.java:
28577 (AbstractListModel): Added API docs,
28578 (fireContentsChanged): Minor API doc correction,
28579 (fireIntervalAdded): Likewise,
28580 (fireIntervalRemoved): Likewise.
28582 2006-03-03 Roman Kennke <kennke@aicas.com>
28584 * NEWS: Added paragraph about Swing improvements.
28586 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
28588 * javax/swing/AbstractAction.java: Updated API docs all over,
28589 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28590 (stopCellEditing): Minor API doc correction,
28591 * javax/swing/UnsupportedLookAndFeelException.java
28592 (UnsupportedLookAndFeelException): Changed argument name, updated API
28595 2006-03-03 Roman Kennke <kennke@aicas.com>
28597 * javax/swing/plaf/metal/MetalUtils.java
28598 (fillMetalPattern): Added switch to not use Graphics2D methods,
28599 even if they are available.
28601 2006-03-03 Roman Kennke <kennke@aicas.com>
28603 * javax/swing/plaf/basic/BasicHTML.java
28604 (isHTMLString): Check for string beeing null.
28605 * javax/swing/plaf/basic/BasicInternalFrameUI.java
28606 (BasicInternalFrameListener.internalFrameActivated): Implemented.
28607 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28608 (InternalFrameLayout): Don't touch the glass pane here.
28609 (installUI): Fix handling of glass pane.
28610 * javax/swing/plaf/basic/BasicLabelUI.java
28614 (BasicLabelUI): Initialize new fields.
28615 (getPreferredSize): Avoid creating new Rectangles by using
28616 SwingUtilities method.
28617 (paint): Avoid creating new Rectangles by reusing
28618 new fields. Added some preliminary handling of HTML inside the
28620 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28621 (uninstallComponents): Clear HTML renderer.
28622 (propertyChange): Check for HTML text and install renderer if
28624 * javax/swing/plaf/basic/BasicListUI.java
28625 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28627 * javax/swing/plaf/basic/BasicTextUI.java
28628 (RootView.getStartOffset): Implemented.
28629 (RootView.getEndOffset): Implemented.
28630 (RootView.getDocument): Implemented.
28632 2006-03-03 Roman Kennke <kennke@aicas.com>
28634 * javax/swing/text/DefaultStyledDocument.java
28635 (ElementBuffer.inserUpdate): Added check for zero-length
28637 * javax/swing/text/DefaultStyledDocument.java
28638 (setIndex): Improved exception message.
28639 * javax/swing/text/TableView.java
28640 Made class abstract.
28641 (TableRow.replace): Probably extend columnRequirements
28643 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28644 of super.layoutMajorAxis.
28645 (columnRequirements): Made field package private.
28646 (TableView): Do not load any child views here.
28647 (layoutColumns): Implemented this method.
28648 (updateColumnRequirements): New helper method.
28649 * javax/swing/text/Utilities.java
28650 (getBreakLocation): Also take offset into account when
28651 finding end location.
28652 * javax/swing/text/html/HTMLDocument.java
28653 (HTMLReader.parseStack): New field.
28654 (HTMLReader.blockOpen): Properly handle p-implied tags.
28655 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28656 (HTMLReader.addContent): Insert p-implied when adding content to
28658 * javax/swing/text/html/HTMLEditorKit.java
28659 (HTMLFactory.create): Create HTMLTableView for <table> tags and
28660 ParagraphView for TD tags. Print out warning for tags that don't have
28661 matching view yet and create NullView for them.
28662 (read): Only set document base when document != null.
28663 * javax/swing/text/html/HTMLTableView.java:
28666 2006-03-03 Roman Kennke <kennke@aicas.com>
28668 * javax/swing/plaf/basic/BasicHTML.java
28669 (HTMLRootView): New inner class.
28670 (createHTMLView): Embed view inside a HTMLRootView.
28672 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
28674 * gnu/java/net/protocol/jar/Connection.java:
28675 (connect): Throw FileNotFoundException.
28676 (getInputStream): Remove duplicated code.
28678 2006-03-03 Roman Kennke <kennke@aicas.com>
28680 * javax/swing/RepaintManager.java
28681 (commitBuffer): Added null check for clip.
28683 2006-03-02 Lillian Angel <langel@redhat.com>
28685 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28686 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28687 to use GtkWidget instead of GTKMenu.
28689 2006-03-02 Lillian Angel <langel@redhat.com>
28691 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28692 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
28693 use the submenu to get the list of children. This now works
28694 in the same way as addItem.
28696 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
28698 * java/lang/StringBuilder.java:
28699 (codePointAt): New method.
28700 (codePointBefore): Likewise.
28701 (codePointCount): Likewise.
28702 (trimToSize): Likewise.
28704 2006-03-02 Tom Tromey <tromey@redhat.com>
28706 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28708 2006-03-02 Tom Tromey <tromey@redhat.com>
28710 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28711 (getProviderInstance):
28713 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
28715 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28716 Fix regression caused by move to VM variant.
28717 PR classpath/22926.
28719 2006-03-01 Tom Tromey <tromey@redhat.com>
28721 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28722 * vm/reference/java/net/VMInetAddress.java: Organized imports.
28723 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28724 imports for javadoc.
28725 (getProxyClass): Javadoc fixes.
28726 (getProxyData): Likewise.
28727 (generateProxyClass): Likewise.
28728 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28729 (setOut): Likewise.
28730 (setErr): Likewise.
28731 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28732 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28734 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28736 (getModifiers): Likewise.
28737 (getDeclaredClasses): Javadoc fix.
28738 (getDeclaredFields): Likewise.
28739 (getDeclaredMethods): Likewise.
28740 (getDeclaredConstructors): Likewise.
28741 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28744 2006-03-01 Tom Tromey <tromey@redhat.com>
28746 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28747 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28748 (getVersion): Javadoc fix.
28750 * gnu/java/net/protocol/http/Headers.java: Organized imports.
28751 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28753 2006-03-01 David Daney <ddaney@avtrex.com>
28755 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28756 as relative if it contains a colon but no protocol handler can be
28759 2006-03-01 Roman Kennke <kennke@aicas.com>
28761 * javax/swing/text/AbstractDocument.java
28762 (LeafElement.LeafElement): Handle delta with respect to content
28763 length not document length.
28764 * javax/swing/text/CompositeView.java
28765 (getViewIndex): Handle bias correctly.
28766 * javax/swing/text/DefaultCaret.java
28767 (paint): Align caret position to document bounds to avoid trouble
28768 when removing large portions of content.
28769 * javax/swing/text/DefaultStyledDocument.java
28770 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28771 (ElementBuffer.createFracture): Copy old childs attribute. The
28772 ElementSpec usually doesn't carry attribute information.
28773 Use pos instead of offset.
28774 (ElementBuffer.insertFracture): Use pos instead of offset.
28775 (createDefaultRootElement): Don't use create* and instead directly
28776 instantiate the elements.
28777 (handleInsertAfterNewline): Compare the paragraphs startOffset
28778 rather than previous paragraphs endOffset.
28779 * javax/swing/text/JTextComponent.java
28780 (getScrollableTracksViewportWidth): Remove unnecessary cast to
28782 (getScrollableTracksViewportHeight): Remove unnecessary cast to
28784 * javax/swing/text/PlainView.java
28785 (damageLineRange): Avoid creating new Rectangle by using
28787 * javax/swing/text/View.java
28788 (forwardUpdate): Correct the use of bias.
28789 (modelToView): Avoid new Rectangles by using SwingUtilities.
28790 (dump): Made (temprorarily) protected for use in BasicTextUI.
28791 (dump(int)): Dump out the element of the view.
28793 2006-03-01 Lillian Angel <langel@redhat.com>
28795 * NEWS: javax.imageio.plugins.bmp implementation.
28797 2006-03-01 Lillian Angel <langel@redhat.com>
28799 * javax/imageio/ImageWriteParam.java:
28800 Added documentation for fields.
28801 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28802 New class implemented.
28804 2006-03-01 Tom Tromey <tromey@redhat.com>
28806 * NEWS: Mention java.util.prefs update.
28808 2006-03-01 Tom Tromey <tromey@redhat.com>
28810 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28811 * java/nio/charset/UnmappableCharacterException.java:
28812 (serialVersionUID): New field.
28813 * java/nio/charset/MalformedInputException.java:
28814 (serialVersionUID): New field.
28815 * java/nio/charset/CoderMalfunctionError.java:
28816 (serialVersionUID): New field.
28817 * java/nio/charset/CharacterCodingException.java:
28818 (serialVersionUID): New field.
28819 * java/nio/channels/UnsupportedAddressTypeException.java:
28820 (serialVersionUID): New field.
28821 * java/nio/channels/UnresolvedAddressException.java:
28822 (serialVersionUID): New field.
28823 * java/nio/channels/OverlappingFileLockException.java:
28824 (serialVersionUID): New field.
28825 * java/nio/channels/NotYetConnectedException.java:
28826 (serialVersionUID): New field.
28827 * java/nio/channels/NotYetBoundException.java
28828 (serialVersionUID): New field.
28829 * java/nio/channels/NonWritableChannelException.java
28830 (serialVersionUID): New field.
28831 * java/nio/channels/NonReadableChannelException.java
28832 (serialVersionUID): New field.
28833 * java/nio/channels/NoConnectionPendingException.java
28834 (serialVersionUID): New field.
28835 * java/nio/channels/IllegalSelectorException.java
28836 (serialVersionUID): New field.
28837 * java/nio/channels/IllegalBlockingModeException.java
28838 (serialVersionUID): New field.
28839 * java/nio/channels/FileLockInterruptionException.java
28840 (serialVersionUID): New field.
28841 * java/nio/channels/ConnectionPendingException.java
28842 (serialVersionUID): New field.
28843 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28845 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28847 * java/nio/channels/ClosedByInterruptException.java
28848 (serialVersionUID): New field.
28849 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
28851 * java/nio/channels/AsynchronousCloseException.java
28852 (serialVersionUID): New field.
28853 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28855 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28856 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28857 * java/nio/BufferUnderflowException.java (serialVersionUID): New
28859 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28860 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28861 Javadoc fix. Added import.
28862 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28863 (validOps): Likewise.
28864 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28865 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28866 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28867 * java/nio/channels/Channels.java: Added import.
28868 * java/nio/channels/FileChannel.java (lock): Typo fix.
28869 (tryLock): Likewise.
28871 2006-03-01 Tom Tromey <tromey@redhat.com>
28873 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28875 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28876 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28878 (putSpi): Likewise.
28879 (newNode): Likewise.
28881 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28882 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28884 (systemRoot): Use it.
28885 (userPreferences): New field.
28886 (userRoot): Use it.
28888 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
28890 * java/util/ResourceBundle.java
28891 (tryBundle): Catch and ignore all Exceptions.
28893 2006-02-28 Roman Kennke <kennke@aicas.com>
28895 * javax/swing/plaf/basic/BasicScrollBarUI.java
28896 (getPreferredSize): Fixed add a fixed space between the buttons
28897 instead of something related to min/max.
28898 (installComponents): Create and install buttons here.
28899 (installDefaults): Don't create buttons here.
28900 * javax/swing/plaf/metal/MetalScrollBarUI.java
28901 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28902 (getPreferredSize): New method.
28904 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
28906 * examples/gnu/classpath/examples/swing/Demo.java
28907 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28908 connected 'Spinner' action to SpinnerDemo,
28909 (mkCheckbox): Removed,
28910 (mkRadio): Likewise,
28911 (mkSpinner): Likewise,
28912 (mkToggle): Likewise,
28913 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28914 connected 'Spinner' action to SpinnerDemo.
28916 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
28918 * javax/print/ServiceUIFactory.java: Added documentation to class.
28920 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
28923 * javax/swing/DefaultListSelectionModel.java:
28924 (addSelectionInterval): Return early if either of the arguments is -1.
28925 (removeSelectionInterval): Likewise.
28926 (setSelectionInterval): Likewise.
28928 2006-02-28 Lillian Angel <langel@redhat.com>
28930 * javax/swing/text/DefaultFormatter.java
28931 (stringToValue): Added NPE check.
28933 2006-02-28 Roman Kennke <kennke@aicas.com>
28936 * javax/swing/JList.java
28937 (getPreferredScrollableViewportSize): Restored specified behaviour.
28938 * javax/swing/plaf/metal/MetalFileChooserUI.java
28939 (createList): Set filelist panel's preferredSize, so that it doesn't
28940 get size into infinity for big lists.
28942 2006-02-28 Lillian Angel <langel@redhat.com>
28944 * javax/swing/ViewportLayout.java
28945 (layoutContainer): Should not extend container to be
28946 minimum size. Mauve test shows that the preferred size
28947 and the size of the viewport can be set smaller than
28950 2006-02-28 Lillian Angel <langel@redhat.com>
28953 * javax/swing/JList.java
28954 (getPreferredScrollableViewportSize): Added a check to determine
28955 if orientation is VERTICAL_WRAP. If it is, we should only
28958 2006-02-28 Lillian Angel <langel@redhat.com>
28961 * javax/swing/ViewportLayout.java:
28962 Patch submitted by Audrius Meskauskas
28963 (addLayoutComponent): Added documentation.
28964 (removeLayoutComponent): Likewise.
28965 (preferredLayoutSize): Likewise.
28966 (minimumLayoutSize): Likewise.
28967 (layoutContainer): Fixed code, so view is set
28968 to the right position when inside a scrollpane.
28970 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
28972 * java/math/BigInteger.java:
28973 Committed patch by Rafael:
28974 developer.classpath.org/pipermail/classpath-patches/
28975 2006-February/000473.html
28976 (signum): Return early 0 if words == null and ival == 0.
28977 (readObject): Handle special case of magnitude.length or signum being
28979 (writeObject): If signum is zero return a zero-sized byte[].
28981 2006-02-28 Lillian Angel <langel@redhat.com>
28983 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
28984 (create): Initially set the directory to the current working directory.
28985 (setDirectory): Removed else-if. No need for this check.
28987 2006-02-28 Tom Tromey <tromey@redhat.com>
28989 * .project: Run java builder before header generation.
28991 2006-02-28 Tom Tromey <tromey@redhat.com>
28993 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
28995 * gnu/java/util/prefs/EventDispatcher.java: New file.
28996 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
28997 (NodeWriter): Specify UTF-8.
28998 (writeHeader): Emit DOCTYPE.
28999 * java/util/prefs/Preferences.java (getFactory): Add cause to
29001 (exportNode): Documented.
29002 (exportSubtree): Likewise.
29003 (importPreferences): Likewise.
29004 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29005 (writeObject): Likewise.
29006 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29007 (writeObject): Likewise.
29008 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29009 (nodeListeners): New field.
29010 (preferenceListeners): Likewise.
29011 (addNodeChangeListener): Implemented.
29012 (addPreferenceChangeListener): Likewise.
29013 (removeNodeChangeListener): Likewise.
29014 (removePreferenceChangeListener): Likewise.
29015 (fire): New methods.
29017 (remove): Likewise.
29018 (purge): Likewise. Fixed synchronization.
29019 (removeNode): Fixed synchronization.
29020 (getNode): Fire event.
29021 (flushNode): Fixed synchronization.
29023 2006-02-28 Roman Kennke <kennke@aicas.com>
29025 * javax/swing/text/BranchElement.java
29026 (startOffset): New field.
29027 (endOffset): New field.
29028 (BranchElement): Initialize new fields.
29029 (getEndOffset): Rewritten to possibly return cached values
29030 if element has no children.
29031 (getStartOffset): Rewritten to possibly return cached values
29032 if element has no children.
29033 * javax/swing/text/LeafElement.java
29034 (startDelta): New field.
29035 (endDelta): New field.
29036 (LeafElement): Handle possible delta of start/endOffset when
29037 these parameters lie outside the document range.
29038 (getStartOffset): Handle possible startDelta.
29039 (getEndOffset): Handle possible startDelta.
29041 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29043 * NEWS: Added line about Unicode 4.0.0 support.
29045 2006-02-28 Roman Kennke <kennke@aicas.com>
29047 * javax/swing/SwingUtilities.java
29048 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29050 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29052 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29054 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
29056 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29057 Amended class documentation.
29058 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29060 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29061 a BIT STRING construct.
29062 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29064 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29066 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29067 a BIT STRING construct.
29068 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29069 (engineVerify): Added logging.
29071 2006-02-28 Roman Kennke <kennke@aicas.com>
29073 * java/awt/Component.java
29074 (dispatchEventImpl): Let the Toolkit dispatch global events.
29075 * java/awt/Container.java
29076 (dispatchEventImpl): Let the LightweightDispatcher handle events
29078 * java/awt/EventQueue.java
29079 (dispatchEvent): Don't do the global event dispatching here. This
29080 is moved to the Component.
29081 (globalDispatchEvent): Moved this method to Toolkit.
29082 * java/awt/LightweightDispatcher.java
29083 (instances): New field.
29084 (getInstance): New method. Delivers an instance of
29085 LightweightDispatcher.
29086 (LightweightDispatcher): Made default constructor private.
29087 (dispatchEvent): New method. Replaces the eventDispatched method.
29088 This now returns true when the event was actually dispatched.
29089 (eventDispatched): Replaced by dispatchEvent.
29090 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29091 received the last MOUSE_RELEASED.
29092 * java/awt/Toolkit.java
29093 (Toolkit): Don't register LightweightDispatcher as global event
29095 (globalDispatchEvent): Moved here from EventQueue.
29097 2006-02-27 David Daney <ddaney@avtrex.com>
29100 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29102 (getRequestProperties): Rewrote.
29104 2006-02-27 David Daney <ddaney@avtrex.com>
29107 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29109 (ChunkedInputStream): Extend InputStream.
29111 (headers): Moved to top of class.
29112 (constructor): Save referenct to in.
29113 (read(byte[])): Removed method.
29114 (read(byte[], int, int)): Made synchronized and throw IOException
29115 on error parsing chunk header.
29116 (available): New method.
29117 (close): New method.
29119 2006-02-27 David Daney <ddaney@avtrex.com>
29121 * gnu/java/net/protocol/http/HTTPURLConnection.java
29122 (imports): Cleaned up.
29123 (GetHTTPPropertiesAction): Removed, and moved contents to ...
29124 (constructor): ... Here, using SystemProperties instead of System.
29126 2006-02-27 Lillian Angel <langel@redhat.com>
29128 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29129 (setDirectory): GtkFileChooser requires an absolute directory
29130 name. Added a check to make the directory passed to nativeSetDirectory
29133 2006-02-27 Roman Kennke <kennke@aicas.com>
29135 * javax/swing/SwingUtilities.java
29136 (computeIntersection): Changed to store result in rect, instead of
29137 creating new Rectangle instances. Fixed API docs accordingly.
29138 (computeUnion): Changed to store result in rect, instead of
29139 creating new Rectangle instances. Fixed API docs accordingly.
29141 2006-02-27 Roman Kennke <kennke@aicas.com>
29143 * javax/swing/JViewport.java
29144 (static_init): Changed default scrollmode to BLIT.
29145 (paintSimple): Added some clipping to avoid painting problems.
29146 (paintBlit): Added some clipping to avoid painting problems.
29148 2006-02-27 Roman Kennke <kennke@aicas.com>
29150 * javax/swing/JComponent.java
29151 (rectCache): Made field static to save memory.
29152 (getVisibleRect): Don't use rectCache and create new Rectangle
29154 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29155 (repaint(long,int,int,int,int)): Directly call
29156 RepaintManager.addDirtyRegion(). The visibleRect check is now
29157 performed in the RepaintManager.
29159 2006-02-27 Roman Kennke <kennke@aicas.com>
29161 * javax/swing/RepaintManager.java
29162 (currentRepaintManagers): Made field private.
29163 (rectCache): New field.
29164 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29165 component. Changed Rectangle handling to avoid unnecessary new
29166 Rectangle instances.
29167 (getOffscreenBuffer): Create buffer with size of the root window.
29168 Respect the maximum buffer size here.
29169 (commitBuffer): Align the regions so that they are inside the buffer
29170 image and inside the clip. This avoids problems with a bug in GTKImage.
29171 Fixed Rectangle handling to avoid creation of new Rectangle instances.
29173 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
29175 * native/fdlibm/e_acos.c,
29176 * native/fdlibm/e_asin.c,
29177 * native/fdlibm/e_atan2.c,
29178 * native/fdlibm/e_cosh.c,
29179 * native/fdlibm/e_exp.c,
29180 * native/fdlibm/e_fmod.c,
29181 * native/fdlibm/e_hypot.c,
29182 * native/fdlibm/e_log.c,
29183 * native/fdlibm/e_log10.c,
29184 * native/fdlibm/e_rem_pio2.c,
29185 * native/fdlibm/e_remainder.c,
29186 * native/fdlibm/e_sinh.c,
29187 * native/fdlibm/e_sqrt.c,
29188 * native/fdlibm/k_cos.c,
29189 * native/fdlibm/k_sin.c,
29190 * native/fdlibm/k_tan.c,
29191 * native/fdlibm/s_atan.c,
29192 * native/fdlibm/s_cbrt.c,
29193 * native/fdlibm/s_ceil.c,
29194 * native/fdlibm/s_copysign.c,
29195 * native/fdlibm/s_cos.c,
29196 * native/fdlibm/s_expm1.c,
29197 * native/fdlibm/s_fabs.c,
29198 * native/fdlibm/s_finite.c,
29199 * native/fdlibm/s_floor.c,
29200 * native/fdlibm/s_log1p.c,
29201 * native/fdlibm/s_rint.c,
29202 * native/fdlibm/s_scalbn.c,
29203 * native/fdlibm/s_sin.c,
29204 * native/fdlibm/s_tan.c,
29205 * native/fdlibm/s_tanh.c:
29206 Fixed to call our macros rather than __HI and __LO.
29207 * native/fdlibm/fdlibm.h:
29208 Reintroduced previous extraction code.
29209 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29210 (GET_HIGH_WORD(i,d)): Readded.
29211 (GET_LOW_WORD(i,d)): Readded.
29212 (INSERT_WORDS(d,ix0,ix1)): Readded.
29213 (SET_HIGH_WORD(d,i)): Readded.
29214 (SET_LOW_WORD(d,i)): Readded.
29215 * native/jni/gtk-peer/gthread-jni.c:
29216 Use Glib macros to convert integers/pointers portably.
29218 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29220 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29221 as the fallback SPI.
29222 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29223 ones referencing GNU-CRYPTO classes.
29224 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29225 (engineValidate): Use GNU-CRYPTO class.
29226 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29227 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29228 * gnu/java/security/provider/DSAKeyFactory: Likewise.
29229 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29230 * gnu/java/security/provider/DSAParameters: Likewise.
29231 * gnu/java/security/provider/DSASignature: Likewise.
29232 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29233 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29234 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29235 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29236 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29237 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29238 * gnu/java/security/provider/MD2withRSA: Likewise.
29239 * gnu/java/security/provider/MD4withRSA: Likewise.
29240 * gnu/java/security/provider/MD5: Likewise.
29241 * gnu/java/security/provider/MD5withRSA: Likewise.
29242 * gnu/java/security/provider/RSA: Likewise.
29243 * gnu/java/security/provider/RSAKeyFactory: Likewise.
29244 * gnu/java/security/provider/SHA: Likewise.
29245 * gnu/java/security/provider/SHA1PRNG: Likewise.
29246 * gnu/java/security/provider/SHA1withRSA: Likewise.
29247 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29249 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29251 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29252 (engineGeneratePublic): Added logging.
29253 (engineGeneratePrivate): Likewise.
29254 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29255 (encodePublicKey): Added logging.
29256 Clarified in method documentation that params is optional, but is
29257 always NULL if present.
29258 (decodePublicKey): Added logging.
29259 Handle optional NULL element.
29261 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
29263 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29265 2006-03-03 Tom Tromey <tromey@redhat.com>
29267 * java/awt/MenuBar.java (shortcuts): Genericized.
29269 2006-03-03 Tom Tromey <tromey@redhat.com>
29271 * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29273 (getListenerType): Likewise.
29274 * java/beans/Introspector.java (getBeanInfo): Genericized.
29275 * java/beans/DefaultPersistenceDelegate.java (initialize):
29278 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29280 * java/math/BigDecimal.java:
29281 (precision): Fixed overflow problem with large numbers.
29282 (longValueExact): New method.
29283 (intValueExact): Likewise.
29284 (byteValueExact): Likewise.
29285 (shortValueExact): Likewise.
29287 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
29289 * java/math/BigDecimal.java:
29290 (remainder(BigDecimal)): New method.
29291 (divideAndRemainder(BigDecimal)): Likewise.
29292 (divideToIntegralValue(BigDecimal)): Likewise.
29293 (floor): New implementation method.
29295 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
29297 * java/math/BigDecimal.java:
29298 (divide(BigDecimal, int, RoundingMode)): New method.
29299 (divide(BigDecimal, RoundingMode)): Likewise.
29300 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29301 when the new scale is < 0.
29302 (setScale(int, RoundingMode)): New method.
29305 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29307 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29308 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29309 (add(BigDecimal, MathContext)): New method.
29310 (subtract(BigDecimal, MathContext)): Likewise.
29311 (precision): Fixed to correctly handle BigIntegers with more than 19
29313 (pow(int, MathContext)): New method.
29315 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
29317 * java/math/BigDecimal.java: Added @throws clause to constructors.
29318 (mathContext): Removed this unneeded field.
29319 (BigDecimal(int, MathContext)): New constructor.
29320 (BigDecimal(BigInteger, int, MathContext)): Likewise.
29321 (multiply(BigDecimal, MathContext)): New method.
29322 (negate(MathContext)): Likewise.
29323 (plus(MathContext)): Likewise.
29324 (numDigitsInLong): Fixed to properly handle negatives.
29326 2006-02-25 Chris Burdess <dog@gnu.org>
29328 * gnu/java/net/CRLFInputStream.java,
29329 gnu/java/net/LineInputStream.java: Streams that use mark
29330 capabilities on the underlying stream do not expose mark
29331 functionality themselves.
29332 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29335 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
29337 * gnu/regexp/REMatch.java(matchFlags): New int field used as
29338 option flags passed to match methods.
29339 (MF_FIND_ALL): New flag.
29340 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29341 do not try other possibilties once a match is found.
29342 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29343 so that all possibilities can be found.
29344 (match): Rewritten using new methods matchMinimum and _match.
29345 (_match): New method which performs a depth-first recursive search.
29346 (matchMinimum): New method.
29347 (initVisited), (visitedContains), (addVisited): New methods for
29348 manipulating an array of icharacter positions which _match has
29351 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29353 * java/math/BigDecimal.java:
29354 (BigDecimal(long, MathContext)): New constructor.
29355 (BigDecimal(BigInteger, MathContext)): Likewise.
29356 (BigDecimal(String, MathContext)): Likewise.
29357 (BigDecimal(double, MathContext)): Likewise.
29358 (round): Fixed a typo where the precision field was used instead of a
29359 call to the precision method, and also store the new precision in the
29360 returned BigDecimal.
29361 (abs(MathContext)): New method.
29363 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
29365 * java/math/BigDecimal.java
29366 (toBigInteger): Fixed problem where this method couldn't handle
29367 negative values for scale.
29368 (toBigIntegerExact): New method.
29369 (stripTrailingZeros): Likewise.
29371 2006-02-24 David Daney <ddaney@avtrex.com>
29374 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29376 (Pool): New inner class.
29377 (timeLastUsed): New field.
29378 (setPool): Changed parameter type to Pool.
29379 (release): Moved pool management logic to new class Pool.
29380 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29382 (maxConnections) : Removed.
29383 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29384 (getConnection): Moved pool management logic to HTTPConnection.Pool.
29386 2006-02-24 Lillian Angel <langel@redhat.com>
29388 * java/awt/Container.java:
29389 Added new field. True if Container has been cleared and
29390 heavyweights need to be repainted.
29391 (paint): Fixed comment. Fixed to use backCleared and
29393 (update): Set backCleared to true after the background
29394 of the container has been cleared.
29396 2006-02-24 Lillian Angel <langel@redhat.com>
29398 * java/awt/TextField.java
29399 (addNotify): Added call to super.
29401 2006-02-24 Lillian Angel <langel@redhat.com>
29403 * java/awt/Component.java
29404 (reshape): Reverted last patch. Should have check here.
29405 (addNotify): Added check. If parent is lightweight, then
29406 initialize listener on the parent.
29407 (HeavyweightInLightweightListener): New class.
29409 2006-02-24 Roman Kennke <kennke@aicas.com>
29411 * javax/swing/plaf/basic/BasicComboPopup.java
29412 (show): Register the popup with the autocloser after it has been
29413 opened completely, by putting the registration on the eventqueue.
29415 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29417 * gnu/java/security/prng/BasePRNG.java:
29418 (clone()): Added cast of buffer to byte[].
29419 * gnu/javax/crypto/mac/TMMH16.java:
29420 (clone()): Fixed casting of cloned arrays.
29421 * native/fdlibm/fdlibm.h:
29422 Added missing defines from old fdlibm.h needed by Darwin.
29423 (GET_FLOAT_WORD(i,d)): Re-added.
29424 (SET_FLOAT_WORD(d,i)): Re-added.
29426 2006-02-24 Roman Kennke <kennke@aicas.com>
29428 * java/awt/Container.java:
29429 (dispatcher): Removed field.
29430 (dispatchEventImpl): Removed lightweight dispatching.
29431 (addNotifyContainerChildren): Removed LightweightDispatcher
29433 (LightweightDispatcher): Removed class.
29434 * java/awt/LightweightDispatcher.java: New class.
29435 * java/awt/Toolkit.java
29436 (Toolkit): Install LightweightDispatcher in global listener
29439 2006-02-24 Chris Burdess <dog@gnu.org>
29442 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29445 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
29447 * NEWS: Mentions the VMMath runtime changes.
29448 * doc/vmintegration.texinfo: Updated to include
29451 2006-02-24 Roman Kennke <kennke@aicas.com>
29453 * javax/swing/plaf/basic/BasicLookAndFeel.java
29454 (PopupHelper.autoClosePopups): New field.
29455 (PopupHelper.mousePressed): Also autoclose any registered popups.
29456 (PopupHelper.registerForAutoClose): New method.
29457 (PopupHelper.autoClosePopups): New method.
29458 (popupHelper): Changed type of field to PopupHelper.
29459 (registerForAutoClose): New method.
29460 * javax/swing/plaf/basic/BasicComboPopup.java
29461 (show): Register this popup for autoclosing.
29463 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
29465 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29466 * gnu/java/security/prng/MDGenerator.java (clone): New method.
29467 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29469 2006-02-24 Roman Kennke <kennke@aicas.com>
29471 Reported by Ingo Proetel <proetel@aicas.com>
29472 * java/util/logging/LogManager.java
29473 (addLogger): Search the parent loggers for log level
29474 configuration and inherit that.
29475 (readConfiguration): Provide minimal default configuration
29476 if no configuration can be found otherwise.
29478 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29480 * java/math/BigDecimal.java:
29481 (toString): Fixed a problem where the negative sign was being displayed
29482 twice in the exponent.
29483 (toEngineeringString): New method.
29484 (toPlainString): Likewise.
29487 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
29489 * java/math/BigDecimal.java:
29490 (toString): Rewrote this method to behave as specified. Added API
29491 comments to explain behaviour.
29492 (scaleByPowerOfTen): New method.
29494 2006-02-23 Roman Kennke <kennke@aicas.com>
29496 * javax/swing/JRootPane.java
29497 (isOptimizedDrawingEnabled): Implemented to return true
29498 when the glassPane is not visible.
29500 2006-02-23 Roman Kennke <kennke@aicas.com>
29502 * javax/swing/plaf/basic/BasicLookAndFeel.java
29503 (PopupHelper): New inner class.
29504 (popupHelper): New field.
29505 (initialize): New method.
29506 (uninitialize): New method.
29507 * javax/swing/plaf/basic/BasicPopupMenuUI.java
29508 (mouseInputListener): Removed field.
29509 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29510 handling of GlassPane.
29511 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29512 handling of GlassPane.
29513 (MouseInputHandler): Removed class.
29515 2006-02-23 Roman Kennke <kennke@aicas.com>
29517 * java/awt/AWTEvent.java
29518 (eventIdToMask): New utility method.
29519 * java/awt/EventQueue.java
29520 (dispatchEvent): Also globally dispatch events via the toolkit.
29521 (globalDispatchEvent): New method.
29522 * java/awt/Toolkit.java
29523 (awtEventListeners): New field.
29524 (Toolkit()): Initialize new field.
29525 (createComponent): Create GLightweightPeer here.
29526 (addAWTEventListener): Implemented and documented.
29527 (removeAWTEventListener): Implemented and documented.
29528 (getAWTEventListeners): Implemented and documented both method
29530 * java/awt/event/AWTEventListenerProxy.java
29531 (eventDispatched): Don't filter events here.
29533 2006-02-23 Chris Burdess <dog@gnu.org>
29536 * gnu/xml/dom/DomDocumentBuilderFactory.java,
29537 gnu/xml/dom/JAXPFactory.java,
29538 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29539 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29540 implement DocumentBuilderFactory.get/setFeature methods.
29542 2006-02-23 Lillian Angel <langel@redhat.com>
29544 * gnu/java/awt/peer/GLightweightPeer.java
29545 (repaint): Scott's proposed fix. Send repaint to the
29546 component's parent.
29547 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29548 (setBounds): Removed next_parent, not needed. Removed
29549 lightweightChild, we always need to compensate for the
29551 * java/awt/Component.java
29552 (setBounds): Removed check. Caused lots of problems, because some
29553 components were not being invalidated. Components should be
29554 invalidated when they are resized or moved, and in some cases,
29555 when a parent is resized/moved, the components do not know
29556 about it and do not adjust.
29557 * java/awt/Graphics.java
29558 (hitClip): Scott's proposed fix. Added check to handle a
29561 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29563 * javax/print/attribute/standard/MediaSize.java:
29564 (media): Field renamed to mediaName for serialization.
29565 (MediaSize): Adapted to new fieldname.
29566 (getMediaSizeName): Likewise.
29567 * javax/print/attribute/HashAttributeSet.java:
29568 (interfaceName): Field renamed to myInterface for serialization.
29569 (HashAttributeSet): Adapted to the new fieldname.
29571 (addAll): Likewise.
29572 (addInternal): Likewise.
29573 (attributeMap): Made transient.
29574 (readObject): New serialization method.
29575 (writeObject): Likewise.
29576 * javax/print/attribute/AttributeSetUtilities.java:
29577 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29578 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29579 (SynchronizedAttributeSet.addAll): Likewise.
29580 (SynchronizedAttributeSet.clear): Likewise.
29581 (SynchronizedAttributeSet.containsKey): Likewise.
29582 (SynchronizedAttributeSet.containsValue): Likewise.
29583 (SynchronizedAttributeSet.equals): Likewise.
29584 (SynchronizedAttributeSet.get): Likewise.
29585 (SynchronizedAttributeSet.hashCode): Likewise.
29586 (SynchronizedAttributeSet.isEmpty): Likewise.
29587 (SynchronizedAttributeSet.remove): Likewise.
29588 (SynchronizedAttributeSet.size): Likewise.
29589 (SynchronizedAttributeSet.toArray): Likewise.
29590 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29591 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29592 (UnmodifiableAttributeSet.addAll): Likewise.
29593 (UnmodifiableAttributeSet.clear): Likewise.
29594 (UnmodifiableAttributeSet.containsKey): Likewise.
29595 (UnmodifiableAttributeSet.containsValue): Likewise.
29596 (UnmodifiableAttributeSet.equals): Likewise.
29597 (UnmodifiableAttributeSet.get): Likewise.
29598 (UnmodifiableAttributeSet.hashCode): Likewise.
29599 (UnmodifiableAttributeSet.isEmpty): Likewise.
29600 (UnmodifiableAttributeSet.remove): Likewise.
29601 (UnmodifiableAttributeSet.size): Likewise.
29602 (UnmodifiableAttributeSet.toArray): Likewise.
29603 * javax/print/attribute/standard/MediaPrintableArea.java:
29604 (width): Field renamed to w for serialization.
29605 (height): Field renamed to h for serialization.
29606 (MediaPrintableArea): Adapted to the new fieldnames.
29607 (MediaPrintableArea): Likewise.
29608 (equals): Likewise.
29609 (hashCode): Likewise.
29610 (getHeight): Likewise.
29611 (getWidth): Likewise.
29613 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
29615 * include/java_lang_VMMath.h:
29616 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29617 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29618 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29619 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29620 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29621 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29622 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29623 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29624 * java/lang/Math.java:
29625 (cbrt(double)): Implemented.
29626 (cosh(double)): Implemented.
29627 (expm1(double)): Implemented.
29628 (hypot(double,double)): Implemented.
29629 (log10(double)): Implemented.
29630 (log1p(double)): Implemented.
29631 (signum(double)): Implemented.
29632 (signum(float)): Implemented.
29633 (sinh(double)): Implemented.
29634 (tanh(double)): Implemented.
29635 * native/fdlibm/Makefile.am:
29636 Added new files from fdlibm 5.3.
29637 * native/fdlibm/e_acos.c,
29638 * native/fdlibm/e_asin.c,
29639 * native/fdlibm/e_atan2.c,
29640 * native/fdlibm/e_exp.c,
29641 * native/fdlibm/e_fmod.c,
29642 * native/fdlibm/e_log.c,
29643 * native/fdlibm/e_rem_pio2.c,
29644 * native/fdlibm/e_remainder.c,
29645 * native/fdlibm/e_scalb.c,
29646 * native/fdlibm/e_sqrt.c,
29647 * native/fdlibm/k_cos.c,
29648 * native/fdlibm/k_rem_pio2.c,
29649 * native/fdlibm/k_sin.c,
29650 * native/fdlibm/k_tan.c,
29651 * native/fdlibm/s_atan.c,
29652 * native/fdlibm/s_ceil.c,
29653 * native/fdlibm/s_copysign.c,
29654 * native/fdlibm/s_cos.c,
29655 * native/fdlibm/s_fabs.c,
29656 * native/fdlibm/s_finite.c,
29657 * native/fdlibm/s_floor.c,
29658 * native/fdlibm/s_rint.c,
29659 * native/fdlibm/s_scalbn.c,
29660 * native/fdlibm/s_sin.c,
29661 * native/fdlibm/s_tan.c,
29662 * native/fdlibm/w_acos.c,
29663 * native/fdlibm/w_asin.c,
29664 * native/fdlibm/w_atan2.c,
29665 * native/fdlibm/w_acos.c,
29666 * native/fdlibm/w_exp.c,
29667 * native/fdlibm/w_fmod.c,
29668 * native/fdlibm/w_log.c,
29669 * native/fdlibm/w_pow.c,
29670 * native/fdlibm/w_remainder.c,
29671 * native/fdlibm/w_sqrt.c:
29672 Updated to fdlibm 5.3.
29673 * native/fdlibm/e_cosh.c,
29674 * native/fdlibm/e_hypot.c,
29675 * native/fdlibm/e_log10.c,
29676 * native/fdlibm/e_sinh.c,
29677 * native/fdlibm/s_cbrt.c,
29678 * native/fdlibm/s_expm1.c,
29679 * native/fdlibm/s_log1p.c,
29680 * native/fdlibm/s_tanh.c,
29681 * native/fdlibm/w_cosh.c,
29682 * native/fdlibm/w_hypot.c,
29683 * native/fdlibm/w_log10.c,
29684 * native/fdlibm/w_sinh.c:
29685 Imported from fdlibm 5.3.
29686 * native/fdlibm/fdlibm.h:
29687 Imported from fdlibm 5.3 with Classpath additions.
29688 * native/fdlibm/namespace.h:
29689 Updated from new math_symbols file.
29690 * native/jni/java-lang/java_lang_VMMath.c:
29691 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29692 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29693 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29694 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29696 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29697 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29698 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29699 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29700 * scripts/math_symbols:
29701 Added tanh, expm1, log10 and log1p.
29702 * vm/reference/java/lang/VMMath.java:
29703 (cbrt(double)): Implemented.
29704 (cosh(double)): Implemented.
29705 (expm1(double)): Implemented.
29706 (hypot(double,double)): Implemented.
29707 (log10(double)): Implemented.
29708 (log1p(double)): Implemented.
29709 (sinh(double)): Implemented.
29710 (tanh(double)): Implemented.
29712 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
29714 * javax/print/DocFlavor.java: Added documentation all over.
29715 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29716 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29717 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29718 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29719 (URL.TEXT_HTML_HOST): Likewise.
29720 (URL.TEXT_PLAIN_HOST): Likewise.
29721 (hostEncoding): Initialize with host default charset encoding.
29722 (mediaSubtype): Made transient.
29723 (mediaType): Likewise.
29724 (params): Made transient. Changed type to TreeMap.
29725 (className): Removed, changed to myClassName.
29726 (myClassName): New field as defined in serialized form.
29727 (DocFlavor): Adapted to new variable types, names.
29728 (parseMimeType): Reimplemented.
29729 (getParameter): Search with lowercase name.
29730 (getRepresentationClassName): Adapted to changed variable name.
29731 (hashCode): Likewise.
29732 (toString): Reimplemented.
29733 (readObject): New method for serialization.
29734 (writeObject): Likewise.
29736 2006-02-23 Roman Kennke <kennke@aicas.com>
29738 * javax/swing/RepaintManager.java
29739 (commitBuffer): Clip the repaint area with the current clip.
29741 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
29743 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29744 (DEFAULT_PRIME_SIZE): Made public.
29745 (DEFAULT_EXPONENT_SIZE): Likewise.
29746 (setup): Handle DHParameterSpec as well.
29747 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29748 defaultFormat instead of Raw.
29749 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29750 (checkIsConstructed): Removed.
29751 (checkIsBigInteger): Likewise.
29752 (decodePublicKey): Use DerUtil.
29753 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29754 (checkIsConstructed): Removed.
29755 (checkIsBigInteger): Likewise.
29756 (decodePrivateKey): Use DerUtil.
29757 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29759 Added mappings for AlgorithmParameters.DH and
29760 AlgorithmParameterGenerator.DH.
29761 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29762 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29763 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29764 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29766 (engineGeneratePublic): Likewise.
29767 * gnu/java/security/util/DerUtil.java: New file.
29768 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29769 Include only valid RSA PKCS1 (v1.5) signature names.
29770 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29771 (RSAPKCS1V1_5SignatureX509Codec): Removed.
29772 (checkIsConstructed): Likewise.
29773 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29774 (checkIsConstructed): Removed.
29775 (checkIsBigInteger): Likewise.
29776 (decodeSignature): Use DerUtil.
29777 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29778 (checkIsConstructed): Removed.
29779 (checkIsBigInteger): Likewise.
29780 (decodePublicKey): Use DerUtil.
29781 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29782 (checkIsConstructed): Removed.
29783 (checkIsBigInteger): Likewise.
29784 (decodePrivateKey): Use DerUtil.
29785 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29786 (checkIsConstructed): Removed.
29787 (checkIsBigInteger): Likewise.
29788 (decodePublicKey): Use DerUtil.
29789 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29790 (checkIsConstructed): Removed.
29791 (checkIsBigInteger): Likewise.
29792 (decodePrivateKey): Use DerUtil.
29793 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29794 (DEFAULT_MODULUS_LENGTH): Made it public.
29795 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29796 defaultFormat instead of Raw.
29797 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29798 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29799 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29801 (engineGeneratePublic): Likewise.
29802 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29804 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
29806 * java/math/BigDecimal.java:
29807 (BigDecimal(char[], int, int, MathContext)): New constructor.
29808 (BigDecimal(char[], MathContext)): Likewise.
29809 (BigDecimal(char[])): Likewise.
29810 (BigDecimal(char[], int, int)): Likewise.
29811 (BigDecimal(String)): Fixed handling of exponent and scale.
29813 2006-02-22 Mark Wielaard <mark@klomp.org>
29815 * java/awt/Checkbox.java (setState): Check that state actually changed
29816 before calling peer.
29817 (dispatchEventImpl): Set new state if ItemEvent.
29818 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29819 (create): Set currentState.
29820 (setState): Make synchronized, check and set currentState before
29821 calling gtkToggleButtonSetActive.
29822 (postItemEvent): Make synchronized, check and set currentState before
29824 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29825 (postItemEventID): Method now takes boolean.
29826 (item_toggled_cb): Likewise.
29828 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29830 * javax/swing/text/DefaultHighlighter.java:
29831 (changeHighlight): Added code to minimize the damaged area.
29833 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29835 * javax/swing/text/PlainView.java:
29836 (getPreferredSpan): Added missing 'break'.
29837 statement which corrects an unwanted fall through.
29838 (updateDamage): Update maxLineLength correctly when text is
29839 removed, call preferenceChanged accordingly.
29840 (viewToModel): Restrict line number to be within 0 and the
29841 number of elements-1.
29843 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29845 * javax/swing/text/Utilities.java:
29846 (getPositionAbove): Prefer first value by changing comparison
29848 (getPositionBelow): Dito.
29850 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
29852 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29853 behavior when magic caret position is null.
29855 2006-02-22 Roman Kennke <kennke@aicas.com>
29857 * javax/swing/JTextField.java
29858 (isValidateRoot): New method.
29860 2006-02-22 Roman Kennke <kennke@aicas.com>
29862 * javax/swing/JEditorPane.java
29863 (getPreferredSize): Rewritten to behave like the reference impl.
29864 (getScrollableTracksViewportWidth): Likewise.
29865 (getScrollableTracksViewportHeight): Likewise.
29867 2006-02-22 Roman Kennke <kennke@aicas.com>
29869 * javax/swing/RepaintManager.java
29870 (addInvalidComponent): Also consider the component itself.
29872 2006-02-22 Mark Wielaard <mark@klomp.org>
29874 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29875 qualify AbstractDocument.AttributeContext.
29876 (blockOpen): Likewise.
29878 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29880 * java/math/BigDecimal.java:
29881 (mathContext): New field.
29882 (precision): Likewise.
29883 (BigDecimal(int)): New constructor.
29884 (BigDecimal(long)): Likewise.
29885 (BigDecimal(BigInteger)): Added API docs.
29886 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29887 and added API docs.
29888 (plus): New method.
29890 (precision): Likewise.
29891 (valueOf): Likewise.
29892 (numDigitsInLong): New implementation method.
29894 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
29896 * java/math/MathContext.java: New class.
29897 * java/math/RoundingMode: New Enum.
29899 2006-02-21 Mark Wielaard <mark@klomp.org>
29901 * java/awt/Component.java (translateEvent): Translate
29902 AdjustmentEvents to 1.0 Events.
29903 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29904 Call setValue() before processing event.
29905 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29906 whether we are currently changing and being called back from the
29907 Scrollbar component.
29908 (setBarValues): New native method.
29909 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29910 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29911 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29912 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29913 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29915 2006-02-21 Roman Kennke <kennke@aicas.com>
29917 * javax/swing/text/View.java
29918 (setParent): Set child parent to null when disconnecting
29919 the view from the View hierarchy.
29921 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
29923 * javax/print/StreamPrintService.java: Added and enhanced documentation.
29925 2006-02-21 Roman Kennke <kennke@aicas.com>
29927 * javax/swing/text/WrappedPlainView.java
29928 (calculateBreakPosition): Changed to use the view's allocation instead
29929 of the container's preferredSize.
29931 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
29933 * java/awt/CardLayout.java:
29934 (first): Updated api documentation.
29937 (previous): Likewise.
29938 (show): Clarified api docs. Return if name is null. Throw
29939 IllegalArgumentException if layout of container is not this.
29940 (gotoComponent): Updated api documentation. Throw
29941 IllegalArgumentException if layout of container is not this.
29943 2006-02-21 Roman Kennke <kennke@aicas.com>
29945 * javax/swing/text/NavigationFilter.java
29946 (getNextVisualPositionFrom): New method.
29948 2006-02-21 Roman Kennke <kennke@aicas.com>
29950 * javax/swing/plaf/basic/BasicTextUI.java
29951 (RootView.setView): Call setParent() on the view with this as
29952 argument instead of null.
29953 (setView): Don't set root view's parent here.
29955 2006-02-21 Roman Kennke <kennke@aicas.com>
29957 * javax/swing/text/AbstractDocument.java
29958 (AbstractElement.getAttribute): Use getResolveParent() to fetch
29959 the resolving parent.
29960 (AbstractElement.getResolveParent): Fixed to handle possible null
29962 * javax/swing/text/BoxView.java
29963 (childReqs): New field.
29964 (paint): Added debugging code (commented out).
29965 (getPreferredSpan): Rewritten to use new update* methods.
29966 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
29967 for the minor axis and preferredSpan for the major axis.
29968 (getMinimumSpan): Rewritten to use new update* methods.
29969 (baselineRequirements): Rewritten to avoid creation of
29970 unnecessary SizeRequirements objects.
29971 (baselineLayout): Rewritten to use new update* methods.
29972 (calculateMajorAxisRequirements): Rewritten to avoid creation of
29973 unnecessary SizeRequirements objects.
29974 (calculateMinorAxisRequirements): Rewritten to avoid creation of
29975 unnecessary SizeRequirements objects.
29976 (layout): Some robustness fixes for the layout. Turned AssertionErrors
29978 (layoutMajorAxis): Rewritten to use new update* methods.
29979 (layoutMinorAxis): Rewritten to use new update* methods.
29980 (getChildRequirements): Replaced by the update* methods.
29981 (getAlignment): Use update* methods.
29982 (updateChildRequirements): New methods. Updates the child requirements
29984 (updateRequirements): New methods. Updates the BoxView requirements
29986 * javax/swing/text/DefaultStyledDocument.java
29987 (ElementBuffer.insert): Added warning for illegal replacement operation.
29988 * javax/swing/text/FlowView.java
29989 (layoutRow): When offset doesn't change, return -1.
29990 (LogicalView): Now subclasses BoxView.
29991 (loadChildren): Let the CompositeView.setParent() load the children
29992 of the logicalView.
29993 (calculateMinorRequirements): New overridden method.
29994 * javax/swing/text/GlyphView.java
29995 (DefaultGlyphPainter.paint): Fixed typo.
29996 (startOffset): Made field private.
29997 (endOffset): Made field private.
29998 (paint): Call getStartOffset() and getEndOffset() instead of the
30000 (isStrikeThrough): Fixed typo.
30001 (breakView): Use Utilities.getBreakLocation() to determine best
30003 (changedUpdate): Call preferencedChange on this instead of parent.
30004 (removeUpdate): Call preferencedChange on this instead of parent.
30005 * javax/swing/text/ParagraphView.java
30006 (Row.getAlignment): For Y_AXIS, call super.
30007 (getAlignment): Likewise.
30008 * javax/swing/text/Utilities.java
30009 (getBreakLocation): Set Segment object directly on the BreakIterator.
30010 * javax/swing/text/html/HTML.java
30011 (Attribute): Made class non-serializable and final as specified.
30012 (Attribute(String)): Made constructor private.
30013 (Attribute.compareTo): Removed.
30014 (Attribute.equals): Removed.
30015 (Attribute.hashCode): Removed.
30016 (Tag): Made class non-comparable and non-serializable as specified.
30017 (Tag.compareTo): Removed.
30018 (Tag.equals): Removed.
30019 (Tag.hashCode): Removed.
30020 * javax/swing/text/html/HTMLDocument.java
30021 (HTMLReader.blockOpen): Add tag as name attribute to element.
30022 * javax/swing/text/html/HTMLEditorKit.java
30023 (HTMLFactory.create): Create NullView for <head> tags, removed unused
30025 * javax/swing/text/html/InlineView.java
30026 (setPropertiesFromAttributes): Call super.
30027 * javax/swing/text/html/NullView.java: New class.
30029 2006-02-21 Roman Kennke <kennke@aicas.com>
30032 * javax/swing/text/GapContent.java
30033 (GapContentPosition): Made class private.
30034 (InsertUndo): Made class private.
30035 (UndoRemove): Made class private.
30036 (WeakPositionComparator): New inner class.
30037 (positions): Made field private.
30038 (createPosition): Clear up GC'ed positions before creating
30039 a new one. Store position as WeakReference.
30040 (getPositionsInRange): Changed to handle WeakReference
30042 (setPositionsInRange): Changed to handle WeakReference
30044 (adjustPositionsInRange): Changed to handle WeakReference
30046 (dumpPositions): Handle WeakReference positions.
30047 (clearPositionReferences): New method.
30049 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
30051 * javax/swing/plaf/basic/BasicTextUI.java:
30052 (paint): Remove unneccessary part of the if-expression.
30053 (damageRange): Added case where the range spans multiple lines.
30054 * javax/swing/text/DefaultCaret.java:
30055 (clearHighlight): New method.
30056 (handleHighlight): Removed unneccessary part of the if-expression.
30057 (setDot): Use clearHighlight method.
30058 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30060 (paint): Prevented calling size() on every loop iteration, fixed
30061 calculation of allocation area bounds.
30062 (getHighlights): Implemented.
30063 (removeHighlight): Mark damaged area in textcomponent.
30064 (addHighlight): Mark damaged area in textcomponent.
30065 (changeHighlight): Mark damaged area in textcomponent.
30066 (DefaultHighlighter.HighlightEntry): Made it a real
30067 Highlighter.Highlight implementation.
30068 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30071 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
30073 * java/util/zip/ZipConstants.java
30074 (LOCSIG): Change type to long.
30075 (EXTSIG): Likewise.
30076 (CENSIG): Likewise.
30077 (ENDSIG): Likewise.
30078 * java/util/zip/ZipOutputStream.java
30079 (writeLeInt(long)): New method.
30081 2006-02-21 Michael Koch <konqueror@gmx.de>
30083 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30085 2006-02-20 Mark Wielaard <mark@klomp.org>
30087 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30088 (begin_drawing_operation): Output stacktrace and return on bad cairo
30090 (end_drawing_operation): Likewise. And reset cairo_t.
30092 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30094 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30095 in backward selection action.
30097 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
30099 * java/lang/reflect/Proxy.java:
30100 (ProxyData.getProxyData): Skipped overriding of core methods.
30101 (ProxyData.isCoreObjectMethod): New method.
30103 2006-02-20 Mark Wielaard <mark@klomp.org>
30105 * gnu/java/nio/charset/Provider.java (Provider): Package private.
30107 2006-02-20 Roman Kennke <kennke@aicas.com>
30109 * javax/swing/text/html/Option.java: New class.
30111 2006-02-20 Lillian Angel <langel@redhat.com>
30113 * java/swt/Window.java
30114 (show): Calling show() on the owned windows caused problems.
30115 Changed back to get the peer and call setVisible.
30117 2006-02-20 Roman Kennke <kennke@aicas.com>
30119 * javax/swing/plaf/basic/BasicTextUI.java
30120 (damageRange): Implemented this method.
30122 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30124 * javax/swing/text/GapContent.java:
30125 (shiftGapEndUp): Corrected new mark value.
30126 * javax/swing/text/AbstractDocument.java:
30127 (remove): Changed order of operations.
30129 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30131 * javax/swing/text/GapContent.java:
30132 (shiftGapEndUp): Reverted.
30133 * javax/swing/text/AbstractDocument.java:
30134 (remove): Reverted.
30136 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
30138 * javax/swing/text/GapContent.java:
30139 (shiftGapEndUp): Corrected new mark value.
30140 * javax/swing/text/AbstractDocument.java:
30141 (remove): Changed order of operations.
30143 2006-02-20 Mark Wielaard <mark@klomp.org>
30145 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30147 (insert): Likewise.
30148 (addNotify): Add the item after addNotifying it.
30149 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30150 there is a peer. Use getParent() and setParent() to manipulate parent
30152 (add(Menu)): Use getParent() and setParent() to manipulate parent
30153 field. Call addNotify() and addMenu() when there is a peer.
30154 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30155 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30156 when there is a peer.
30157 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30158 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30159 (setFont): Call setFont(Font).
30160 (setFont(Font)): Document. Only set font when not null.
30161 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30163 (connectSignals): Likewise.
30164 (GtkMenuItemPeer): Document. Don't try to add item. Always call
30166 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30168 (postMenuActionEvent): Document.
30169 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30171 (addItem): Document. Made private.
30172 (addTearOff): Made private.
30173 (connectSignals): New protected overridden method.
30174 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30175 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30176 (create): Document.
30177 (addMenu): Made private, take GtkMenuPeer as argument and document.
30178 (GtkMenuBarPeer): Document.
30179 (nativeSetHelpMenu): Removed.
30180 (addHelpMenu): Implement.
30181 (delMenu): Document.
30182 (addMenu): Implement.
30183 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30184 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30185 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30186 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30189 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30191 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30192 Expect that proxy interfaces may have different class loaders.
30193 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30194 * java/rmi/registry/Registry.java,
30195 * java/rmi/server/UnicastRemoteObject.java:
30196 Documented about proxy stubs.
30197 * gnu/java/rmi/server/CombinedClassLoader.java,
30198 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30199 * NEWS: Added entry.
30201 2006-02-19 Mark Wielaard <mark@klomp.org>
30203 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30204 Parent and Bounds of our children if either or parent is showing, or
30205 we are a Window and are showing ourselves now.
30207 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30209 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
30211 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
30212 Another stub name fix.
30214 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30216 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30217 Call convertStubName. (convertStubName): New method.
30218 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30219 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
30220 (convertStubName): New method.
30221 (getMethodHashCode):
30222 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30223 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30225 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30227 * java/rmi/server/UnicastRemoteObject.java: Documenting.
30229 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30231 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30233 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30235 * javax/swing/JViewport.java (paintBackingStore): If the component has
30236 not been scrolled, only repaint the buffer part, indicated by
30237 the parameter graphics clip.
30239 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
30241 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30243 (writePrivateKey): Likewise.
30244 (writeKey): New method.
30245 (getKeyType): Likewise.
30246 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30248 (readPrivateKey): Likewise.
30249 (getKeyPairCodec): New method.
30250 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30251 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30252 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30253 (RSA_PSS_ENCODING): Likewise..
30254 (RSA_PKCS1_V1_5_ENCODING): Likewise.
30255 (RSA_PSS_SIG): Redefined using other constants.
30256 (RSA_PKCS1_V1_5_SIG): Likewise.
30257 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30258 * gnu/java/security/util/FormatUtil.java: New file.
30259 * gnu/java/security/sig/SignatureFactory.java (names): New field.
30260 (getInstance): Let RSASignatureFactory handle RSA signature names.
30261 (getNames): Handle new RSA signature (with format) names.
30262 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30263 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30265 (name): Include hash algorithm name.
30266 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30267 * gnu/java/security/sig/rsa/RSAPSSSignature.java
30268 (RSAPSSSignature): Call constructor with IMessageDigest.
30269 (RSAPSSSignature(ImessageDigest,int)): New constructor.
30270 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30272 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30274 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30275 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30276 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30277 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30278 hash algorithm name to exception.
30279 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30280 * gnu/java/security/key/KeyPairCodecFactory.java
30281 (names): New class field.
30282 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30283 (getInstance(String,String)): New method.
30284 (getInstance(String,int)): New method.
30285 (getInstance(byte[])): Removed.
30286 (getInstance(Key)): Handle new formats.
30287 (getNames): Likewise.
30288 (getEncodingName(int)): Moved to FormatUtil.
30289 (getEncodingShortName(int)): Likewise.
30290 (getRawCodec(String)): New method.
30291 (getX509Codec(String)): Likewise.
30292 (getPKCS8Codec(String)): Likewise.
30293 (getRawCodec(Key)): Likewise.
30294 (getX509Codec(Key)): Likewise.
30295 (getPKCS8Codec(Key)): Likewise.
30296 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30297 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30298 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30299 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30300 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30301 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30302 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30303 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30304 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30306 2006-02-18 Mark Wielaard <mark@klomp.org>
30308 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30310 (NoDragGestureRecognizer): New static class.
30311 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30312 Toolkit doesn't support drag and drop.
30314 2006-02-18 Mark Wielaard <mark@klomp.org>
30316 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30317 (AbstractAction(String)): Just call putValue() for NAME.
30318 (putValue): Nothing to do is old and new value are both null.
30320 2006-02-18 Mark Wielaard <mark@klomp.org>
30322 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30323 through getContentPane().
30324 (preferredLayoutSize): Likewise.
30326 2006-02-18 Mark Wielaard <mark@klomp.org>
30328 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30329 actually set before painting.
30331 2006-02-18 Mark Wielaard <mark@klomp.org>
30333 * javax/swing/text/html/HTMLDocument.java (addContent):
30334 Fully qualify AbstractDocument.AttributeContext and
30335 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30337 2006-02-18 Mark Wielaard <mark@klomp.org>
30339 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30340 (getRepresentationClassFromMime): Add exception cause to
30341 IllegalArgumentException.
30343 2006-02-17 Lillian Angel <langel@redhat.com>
30345 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30346 Removed unneeded import.
30347 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30348 Removed unneeded imports.
30349 * java/awt/BorderLayout.java:
30350 Fixed comment, this is not yet handled in the JDK 1.5.
30351 * java/awt/Container.java:
30352 Removed unneeded import.
30354 2006-02-17 Lillian Angel <langel@redhat.com>
30356 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30357 (setBounds): Removed check. Coordinates should always be changed
30358 to incorporate the parent's coordinates.
30359 * gnu/java/awt/peer/gtk/GtkFramePeer.java
30360 (setMenuBar): Added checks. Don't validate component if it has
30361 not been validated yet, it will be validated later. Only validate
30362 if it has already been validated, in that case it needs to be
30364 * java/awt/Window.java
30365 (show): Added check. If the window is visible, then bring it to the
30366 front. Otherwise, iterate through all its children windows and show them.
30367 No need to do both.
30369 2006-02-17 Roman Kennke <kennke@aicas.com>
30371 * javax/swing/text/html/ParagraphView.java: New file.
30373 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30375 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30376 is included. (moveToCellBeingEdited): Adjusted to start editing at the
30377 same location where was the initial text.
30378 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30380 2006-02-17 Chris Burdess <dog@gnu.org>
30382 Fixes PRs 26319, 26320, 26321, 26322, 26325
30383 * gnu/xml/stream/SAXParser.java: On error, reset parser before
30384 rethrowing exception.
30385 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30386 1.1-style prefix unbinding in 1.0 document" error for xmlns
30387 prefixes, not xmlns attributes. Fix a problem with empty namespace
30388 stack at the end of a document. Permit parameter entity references
30389 in element and attribute-list definition name area. Corrected
30390 normalisation of whitespace character entity references in CDATA
30391 attribute values. Fixed number of characters read following a
30392 reset when detecting end of character data with characters after a
30393 Unicode surrogate pair.
30395 2006-02-17 Roman Kennke <kennke@aicas.com>
30397 * javax/swing/text/html/HTMLEditorKit.java
30398 (HTMLFactory.create): Create InlineView for content tags.
30399 * javax/swing/text/html/HTMLDocument.java
30400 (HTMLReader.flush): Call create() on first flush and insert
30401 on subsequent flushes.
30403 2006-02-17 Roman Kennke <kennke@aicas.com>
30405 * javax/swing/text/AbstractDocument.java
30406 (BranchElement.getStartOffset): Implemented workaround for wrong
30408 (BranchElement.getEndOffset): Implemented workaround for wrong
30410 (ElementBuffer.split): Use createBranchElement() instead of
30411 new BranchElement().
30412 (ElementBuffer.insertFracture): Use createBranchElement() instead of
30413 new BranchElement().
30414 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30415 instead of new BranchElement().
30416 (createDefaultRoot): Use createBranchElement() and createLeafElement
30417 instead of the constructors.
30418 (create): Rewritten.
30420 2006-02-17 Keith Seitz <keiths@redhat.com>
30422 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30423 (SIZE): New constant.
30424 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30425 (executeIDsizes): Use SIZE constant.
30426 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30427 (SIZE): New constant.
30429 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30431 * javax/swing/JTable.java (IconCellRenderer): Set the component
30432 text to empty string. (createDefaultRenderers): Register
30433 IconCellRenderer also for ImageIcon.
30434 (getCellEditor(int, int), getCellRenderer(int, int)):
30435 Use model index for data model and column index for column model.
30436 (getColumnClass): Convert to model index before requesting class
30439 2006-02-17 Roman Kennke <kennke@aicas.com>
30441 * javax/swing/text/html/HTMLDocument.java
30442 (createDefaultRoot): Implemented.
30443 (createLeafElement): Implemented.
30444 (createBranchElement): Implemented.
30445 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30446 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30447 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30448 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30449 (HTMLReader.blockOpen): Add name attribute with the current tag.
30450 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30452 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30454 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30456 * javax/swing/table/JTableHeader.java: Documenting related methods.
30458 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30461 * gnu/java/net/protocol/ftp/FTPURLConnection.java
30462 (connect): Changed to use SystemProperties.
30463 (getInputStream): Try changeWorkingDirectory to figure out if
30464 url is a directory, if not use retrieve.
30465 (getOutputStream): Don't worry about directories, simply always
30468 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
30470 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30471 (ActiveModeDTP): Mark accept thread as daemon.
30473 2006-02-17 Michael Koch <konqueror@gmx.de>
30475 * tools/.cvsignore: Ignore tools.zip.
30477 2006-02-16 Keith Seitz <keiths@redhat.com>
30479 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30480 Set the ID's reference.
30481 (<clinit>): Remove comments for field, method, and frame ID types,
30482 which will not be handled by VMIdManager.
30484 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30486 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30487 Use model index, not the column number.
30488 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30489 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
30490 movement by painting draggingHeaderRect.
30491 * NEWS: Added entry about JTable columns.
30493 2006-02-16 Keith Seitz <keiths@redhat.com>
30495 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30496 default size of eight bytes.
30497 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30498 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30499 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30500 (executeIDsizes): Use new static methods.
30501 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30504 2006-02-16 David Daney <ddaney@avtrex.com>
30507 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30508 return value with 0xff.
30510 2006-02-16 Keith Seitz <keiths@redhat.com>
30512 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30513 (matches): Use Iterator instead of ListIterator.
30515 2006-02-16 Keith Seitz <keiths@redhat.com>
30517 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30518 processor thread for easier debugging.
30519 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30522 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30524 * javax/swing/JTable.java
30525 (TableColumnPropertyChangeHandler.propertyChange): Return without
30526 action if table header resizing column in not null. (doLayout):
30527 Only repaint the header if it is not null.
30528 * javax/swing/plaf/basic/BasicTableHeaderUI.java
30529 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30530 Rewritten. (MouseInputHandler.endResizing): New method.
30532 2006-02-16 Roman Kennke <kennke@aicas.com>
30534 * javax/swing/text/html/InlineView.java: New file.
30536 2006-02-16 Roman Kennke <kennke@aicas.com>
30538 * javax/swing/JTabbedPane.java
30539 (AccessibleJTable.getAccessibleChild): Implemented to return
30540 the Page instance for the specified index.
30541 (Page): Changed to implement Accessible and extend
30543 (Page.getAccessibleContext): New method.
30544 (Page.getAccessibleRole): New method.
30545 (Page.getAccessibleStateSet): New method.
30546 (Page.getAccessibleIndexInParent): New method.
30547 (Page.getAccessibleChildrenCount): New method.
30548 (Page.getAccessibleChild): New methdod.
30549 (Page.getLocale): New method.
30551 2006-02-16 Roman Kennke <kennke@aicas.com>
30553 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30554 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30555 tabCount gets greater than tabRuns.length.
30556 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30557 when tabCount gets greater than tabRuns.length.
30558 (paintTabArea): Don't set tabCount == runCount.
30560 2006-02-16 Roman Kennke <kennke@aicas.com>
30562 * javax/swing/plaf/basic/BasicTextUI.java
30563 (installUI): Moved installation of PropertyChangeListener
30564 to installListeners(). Call modelChanged() after everything is
30566 (installListeners): Install PropertyChangeListener here.
30567 (uninstallUI): Moved uninstallation of PropertyChangeListener
30568 to uninstallListeners.
30569 (uninstallListeners): Uninstall PropertyChangeListener here.
30571 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30573 * javax/swing/JTable.java (doLayout):
30574 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30576 javax/swing/plaf/basic/BasicTableHeaderUI.java
30577 (MouseInputHandler.mouseDragged): Do not repaint the header.
30579 2006-02-16 Roman Kennke <kennke@aicas.com>
30581 * javax/swing/JViewport.java
30582 (static_initializer): Set default scrollMode to backingstore.
30584 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30586 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30587 returned by getCellRect. To not translate the component.
30589 2006-02-16 Roman Kennke <kennke@aicas.com>
30591 * javax/swing/JComponent.java
30592 (rectCache): Made field non-static to avoid nasty interferences.
30593 (computeVisibleRect): Avoid creation of new Rectangles and double
30594 calculations on ints by using Swing.computeIntersection() instead
30595 of Rectangle2D.intersect().
30596 (repaint): Interect the dirty region with the visible rectangle
30597 of this component to avoid unnecessary painting.
30599 2006-02-16 Gary Benson <gbenson@redhat.com>
30601 * java/lang/Thread.java (stop): Add a missing access check.
30603 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
30605 * javax/swing/text/JTextComponent.java:
30606 (replaceSelection): Added code to update the magic caret position.
30607 * javax/swing/text/DefaultEditorKit.java: Added code to update
30608 the magic caret position of the text component in all relevant
30609 movement actions, make use of the magic caret position in up
30610 and down movements and selections, simplified some actions
30613 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
30615 * gnu/java/lang/CharData.java: Regenerated from
30616 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30617 and scripts/unicode-muncher.pl.
30618 * java/lang/Character.java:
30619 (PrivateUseCharacters): New private static class.
30620 (UnassignedCharacters): Likewise.
30621 (blocks): Changed from char[] to char[][] to reflect the changes in
30622 gnu/java/lang/CharData. There is now one char[] per Unicode code
30625 (numValue): Likewise.
30628 (direction): Likewise.
30629 (readChar): Replaced this method with new method readCodePoint.
30630 (readCodePoint): New method.
30631 (isLowerCase(char)): Redirected to new isLowerCase(int).
30632 (isLowerCase(int)): New method.
30633 (isUpperCase(char)): Redirected to new isUpperCase(int).
30634 (isUpperCase(int)): New method.
30635 (isTitleCase(char)): Redirected to new isTitleCase(int).
30636 (isTitleCase(int)): New method.
30637 (isDigit(char)): Redirected to new isDigit(int).
30638 (isDigit(int)): New method.
30639 (isDefined(char)): Redirected to new isDefined(int).
30640 (isDefined(int)): New method.
30641 (isLetter(char)): Redirected to new isLetter(int).
30642 (isLetter(int)): New method.
30643 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30644 (isLetterOrDigit(int)): New method.
30645 (isJavaIdentifierStart(char)): Redirected to new
30646 isJavaIdentifierStart(int).
30647 (isJavaIdentifierStart(int)): New method.
30648 (isJavaIdentifierPart(char)): Redirected to new
30649 isJavaIdentifierPart(int).
30650 (isJavaIdentifierPart(int)): New method.
30651 (isUnicodeIdentifierStart(char)): Redirected to new
30652 isUnicodeIdentifierStart(int).
30653 (isUnicodeIdentifierStart(int)): New method.
30654 (isUnicodeIdentifierPart(char)): Redirected to new
30655 isUnicodeIdentifierPart(int).
30656 (isUnicodeIdentifierPart(int)): New method.
30657 (isIdentifierIgnorable(char)): Redirected to new
30658 isIdentifierIgnorable(int).
30659 (isIdentifierIgnorable(int)): New method.
30660 (toLowerCase(char)): Changed access to lower to correspond with new
30661 char[][] type of lower.
30662 (toLowerCase(int)) New method.
30663 (toUpperCase(char)): Changed access to upper to correspond with new
30664 char[][] type of upper.
30665 (toUpperCase(int)): New method.
30666 (toTitleCase(int)): New method.
30667 (digit(char, int)): Replaced call to readChar with call to
30668 readCodePoint and changed access to numValue to reflect new char[][]
30670 (digit(int, int)): New method.
30671 (getNumericValue(char)): Changed access to numValue to reflect new
30672 char[][] type of numValue.
30673 (getNumericValue(int)): New method.
30674 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30675 (isSpaceChar(int)): New method.
30676 (isWhitespace(char)): Redirected to new isWhitespace(int).
30677 (isWhitespace(int)): New method.
30678 (isISOControl(char)): Redirected to new isISOControl(int).
30679 (isISOControl(int)): New method.
30680 (getType(char)): Redirected to new getType(int).
30681 (getType(int)): New method.
30682 (getDirectionality(char)): Redirected to new getDirectionality(int).
30683 (getDirectionality(int)): New method.
30684 (isMirrored(char)): Changed call to readChar to readCodePoint.
30685 (isMirrored(int)): New method.
30686 * java/lang/String.java:
30687 (upperCaseExpansion): Changed access to Character.direction to reflect
30688 new char[][] type of direction.
30689 (offsetByCodePoints): New method.
30690 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
30691 4.0.0 which introduced supplementary character assignments.
30693 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30695 * javax/swing/JTable.java,
30696 javax/swing/plaf/basic/BasicTableHeaderUI.java,
30697 javax/swing/table/DefaultTableModel.java: Documented.
30699 2006-02-15 Lillian Angel <langel@redhat.com>
30701 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30702 Removed duplicate methods.
30704 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30706 * javax/swing/JTable.java (distributeSpillResizing): New method.
30707 (doLayout): Use distributeSpillResizing when resizing.
30708 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30709 Rewritten. (installListeners): Add mouse motion listener.
30710 (uninstallListeners): Remove mouse motion listener.
30712 2006-02-15 Lillian Angel <langel@redhat.com>
30714 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30715 (setVisible): Removed method.
30716 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30717 (setLocation): New method.
30718 (setLocationUnlocked): New method.
30719 (show): Changed to use setLocation instead of setBounds.
30720 * java/awt/Component.java
30721 (show): Should call peer.show(), not peer.setVisible(), so the
30722 location of the component is correctly set.
30723 (preferredSize): Added curly braces so else statements are
30724 properly associated with if's.
30725 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30726 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
30728 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30729 LocationUnlocked): New function.
30730 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30731 Added declarations for Java_gnu_java_awt_peer_gtk_
30732 GtkWindowPeer_nativeSetLocation and
30733 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30734 _nativeSetLocationUnlocked.
30736 2006-02-15 Mark Wielaard <mark@klomp.org>
30738 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30739 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30740 Downcast gtk_plug_new result when used.
30742 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
30744 * java/io/ObjectOutputStream.java (writeClassDescriptor):
30745 Call assignNewHandle() after writing Proxy class.
30747 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
30750 * java/io/ObjectInputStream.java (readClassDescriptor):
30751 Class doesn't have to be abstract for first_nonserial.
30753 2006-02-15 Roman Kennke <kennke@aicas.com>
30755 * javax/swing/JInternalFrame.java
30756 (setClosed): Call dispose to actually make the frame invisible
30759 2006-02-15 Roman Kennke <kennke@aicas.com>
30761 * javax/swing/JInternalFrame.java
30762 (dispose): Call setVisible(false) instead of hide.
30763 (doDefaultCloseOperation): Likewise.
30765 2006-02-15 Roman Kennke <kennke@aicas.com>
30767 * javax/swing/JComponent.java
30768 (paintChildren): Also check for the visibility of a child component
30769 to avoid artifacts.
30770 (repaint): Simply add this component to the RepaintManager rather than
30771 trying to do useless optimization here.
30773 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30775 * javax/swing/JSpinner.java
30776 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
30777 PropertyChangeListener,
30778 (DefaultEditor.getSpinner): Updated API docs,
30779 (DefaultEditor.dismiss): Likewise,
30780 (DefaultEditor.getTextField): Likewise,
30781 (DefaultEditor.layoutContainer): Likewise,
30782 (DefaultEditor.minimumLayoutSize): Likewise,
30783 (DefaultEditor.preferredLayoutSize): Likewise,
30784 (DefaultEditor.propertyChange): Implemented,
30785 (DefaultEditor.stateChanged): Implemented,
30786 (DefaultEditor.removeLayoutComponent): Updated API docs,
30787 (DefaultEditor.addLayoutComponent): Likewise,
30788 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30789 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30790 (NumberEditor.getFormat): Implemented,
30791 (NumberEditor.getModel): Updated API docs,
30792 (NumberEditorFormatter): New static inner class,
30793 (ListEditor.getModel): Updated API docs,
30794 (DateEditor.dateFormat): Removed,
30795 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30796 (DateEditor.DateEditor(JSpinner, String)): Likewise,
30797 (DateEditor.init): Removed,
30798 (DateEditor.getFormat): Reimplemented,
30799 (DateEditorFormatter): New static inner class,
30800 (ModelListener): New inner class,
30801 (model): Updated API docs,
30802 (editor): Likewise,
30803 (listener): Removed,
30804 (JSpinner()): Updated API docs,
30805 (JSpinner(SpinnerModel)): Set up ModelListener,
30806 (setEditor): Fire property change,
30807 (getModel): Updated API docs,
30808 (setModel): Removed check for null editor,
30809 (setValue): Updated API docs,
30810 (getUIClassID): Updated API docs,
30811 (createEditor): Handle SpinnerListModel case,
30812 * javax/swing/plaf/basic/BasicSpinnerUI.java
30813 (createUI): Updated API docs,
30814 (createPropertyChangeListener): Added FIXME,
30815 (installDefaults): Set text field border to null,
30816 (DefaultLayoutManager): Updated API docs,
30817 (DefaultLayoutManager.layoutContainer): Modified layout,
30818 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30819 (DefaultLayoutManager.preferredLayoutSize): Likewise,
30820 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30821 (DefaultLayoutManager.addLayoutComponent): Likewise,
30822 (DefaultLayoutManager.minSize): Renamed prefSize,
30823 (DefaultLayoutManager.setBounds): Reformatted,
30824 (DefaultLayoutManager.editor): Added API docs,
30825 (DefaultLayoutManager.next): Likewise,
30826 (DefaultLayoutManager.previous): Likewise,
30827 * javax/swing/plaf/metal/MetalLookAndFeel.java
30828 (initComponentDefaults): Added entry for 'Spinner.border',
30829 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30831 2006-02-15 Chris Burdess <dog@gnu.org>
30833 * gnu/xml/validation/datatype/BooleanType.java,
30834 gnu/xml/validation/datatype/ByteType.java,
30835 gnu/xml/validation/datatype/DateTimeType.java,
30836 gnu/xml/validation/datatype/DateType.java,
30837 gnu/xml/validation/datatype/DecimalType.java,
30838 gnu/xml/validation/datatype/DoubleType.java,
30839 gnu/xml/validation/datatype/DurationType.java,
30840 gnu/xml/validation/datatype/FloatType.java,
30841 gnu/xml/validation/datatype/GDayType.java,
30842 gnu/xml/validation/datatype/GMonthDayType.java,
30843 gnu/xml/validation/datatype/GMonthType.java,
30844 gnu/xml/validation/datatype/GYearMonthType.java,
30845 gnu/xml/validation/datatype/GYearType.java,
30846 gnu/xml/validation/datatype/IntType.java,
30847 gnu/xml/validation/datatype/IntegerType.java,
30848 gnu/xml/validation/datatype/LongType.java,
30849 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30850 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30851 gnu/xml/validation/datatype/MinExclusiveFacet.java,
30852 gnu/xml/validation/datatype/MinInclusiveFacet.java,
30853 gnu/xml/validation/datatype/NegativeIntegerType.java,
30854 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30855 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30856 gnu/xml/validation/datatype/PositiveIntegerType.java,
30857 gnu/xml/validation/datatype/ShortType.java,
30858 gnu/xml/validation/datatype/SimpleType.java,
30859 gnu/xml/validation/datatype/TimeType.java,
30860 gnu/xml/validation/datatype/TypeBuilder.java,
30861 gnu/xml/validation/datatype/UnsignedByteType.java,
30862 gnu/xml/validation/datatype/UnsignedIntType.java,
30863 gnu/xml/validation/datatype/UnsignedLongType.java,
30864 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30865 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30866 minInclusive facets use the value space of the base type, and
30869 2006-02-15 Mark Wielaard <mark@klomp.org>
30871 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30872 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30873 gtk_plug_new() returns a GtkWindow.
30875 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
30877 * javax/swing/SpinnerNumberModel.java
30878 (getNextValue): Check for null maximum,
30879 (getPreviousValue): Check for null minimum.
30881 2006-02-15 Roman Kennke <kennke@aicas.com>
30883 * javax/swing/plaf/basic/BasicTableUI.java
30884 (paint): Paint vertical and horizontal lines one pixel shifted
30887 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
30889 * java/util/zip/ZipFile.java
30890 (checkZipFile): Inlined readLeInt and rewritten for robustness.
30891 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30892 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30893 (readEntries): Rewritten to use PartialInputStream.
30894 (locBuf, checkLocalHeader): Removed.
30895 (getInputStream): Rewritten to use new PartialInputStream.
30896 (PartialInputStream): Rewritten to do buffering.
30898 2006-02-15 Michael Koch <konqueror@gmx.de>
30900 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30901 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30902 Make sure the embedded window gets no decorations.
30903 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30904 (window_get_frame_extents): Return early of the window has no
30907 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30909 * examples/gnu/classpath/examples/swing/TableDemo.java
30910 (TModel, createContent): Explain which value appears in the header.
30911 * javax/swing/JTable.java (setColumnModel): Only set the
30912 column header value if the getHeaderValue() returns null.
30914 2006-02-14 Mark Wielaard <mark@klomp.org>
30917 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30918 (getErrorImage): New static method.
30919 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30920 (bufferedImageOrError): Renamed to ...
30921 (imageOrError): Renamed from bufferedImageOrError, takes Image.
30922 Returns GtkImage.getErrorImage() when argument null.
30923 (createImage(String)): Always use imageOrError.
30924 (createImage(URL)): Likewise.
30925 (createImage(ImageProducer)): Likewise.
30926 (createImage(byte[],int,int)): Likewise.
30928 2006-02-14 Roman Kennke <kennke@aicas.com>
30930 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
30932 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
30933 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
30934 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
30935 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
30936 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
30938 2006-02-14 Roman Kennke <kennke@aicas.com>
30940 * javax/swing/text/AsyncBoxView.java
30941 (ChildState.locator): Removed wrong field.
30942 (ChildState): Removed initialization of removed field.
30943 (locator): Changed access modifier to be protected as specified.
30945 2006-02-14 Roman Kennke <kennke@aicas.com>
30947 * javax/swing/ToolTipManager.java: Removed unneeded imports.
30948 * javax/swing/Timer.java: Some small reindention.
30949 (task): Made package private to avoid synthetic accessor method.
30951 2006-02-14 Roman Kennke <kennke@aicas.com>
30953 * javax/swing/SwingUtilities.java
30954 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
30957 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30959 * examples/gnu/classpath/examples/swing/TableDemo.java:
30960 Making the columns variable width.
30961 * javax/swing/JTable.java (distributeSpill, doLayout):
30962 Call getPreferredSize and not getSize().
30964 2006-02-14 Roman Kennke <kennke@aicas.com>
30966 * javax/swing/DefaultCellEditor.java
30967 (DefaultCellEditor): API doc fixlet.
30969 2006-02-14 Roman Kennke <kennke@aicas.com>
30971 * javax/swing/JViewport.java
30972 (isPaintRoot): New field.
30973 (repaint): Only call super here. Also added a comment regarding
30974 the diversion from the JDK.
30975 (paintBlit): Implemented real blitting.
30976 (paintImmediately2): New method. Overrides the same package private
30977 method in JComponent.
30979 2006-02-14 Roman Kennke <kennke@aicas.com>
30981 * javax/swing/plaf/basic/BasicTableUI.java
30982 (paint): Check for boundary cases when determining the painting
30985 2006-02-14 Mark Wielaard <mark@klomp.org>
30987 * java/awt/Menu.java (add): Always set parent of item to this. Call
30988 addNotify() on item when we have a MenuPeer already.
30989 (insert): Always adjust parent for item. Call addNotify() on item if
30990 we already have a peer.
30991 (remove(int)): Always clear item parent. Call removeNotify() on item
30994 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
30996 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
30997 row == getRowCount().
30999 2006-02-14 Lillian Angel <langel@redhat.com>
31001 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31002 (setVisible): New method to override super. Need to set the
31003 native bounds of the component, so it appears at the
31006 2006-02-14 Mark Wielaard <mark@klomp.org>
31008 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31009 (remove): If menu component is the current MenuBar remove it,
31010 otherwise call super.remove().
31011 * java/awt/MenuBar.java (frame): Remove field.
31012 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31014 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31016 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31017 to NameServicePersistent.
31018 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31019 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31021 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31023 * NEWS: Updated tool status.
31024 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31025 (constructor, bind, rebind): Rewritten.
31026 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31027 * tools/gnu/classpath/tools/giop/README: Updated.
31028 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31029 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31030 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31031 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31032 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
31035 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
31037 * javax/swing/JComponent.java
31038 (getListeners): Check for PropertyChangeListener.class and delegate to
31039 getPropertyChangeListeners() for that case.
31041 2006-02-13 Roman Kennke <kennke@aicas.com>
31043 * javax/swing/plaf/basic/BasicTableUI.java
31044 (paint): Determine the cells that need painting based on the
31045 current clip. Use getCellRect() for calculating the cell
31048 2006-02-13 Roman Kennke <kennke@aicas.com>
31050 * javax/swing/JTable.java
31051 (rectCache): New field.
31052 (getCellRect): Returns cached Rectangle instance.
31054 2006-02-13 Roman Kennke <kennke@aicas.com>
31056 * javax/swing/JLayeredPane.java
31057 (removeAll): New method. Avoid potential memory leak.
31058 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31061 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
31063 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31064 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31066 2006-02-13 Tom Tromey <tromey@redhat.com>
31068 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31069 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31071 2006-02-13 Roman Kennke <kennke@aicas.com>
31073 * javax/swing/RepaintManager.java
31074 (offscreenBuffers): New field.
31075 (doubleBuffer): Removed field.
31076 (repaintUnderway): New field.
31077 (commitRequests): New field.
31078 (RepaintManager): Initialize new fields.
31079 (paintDirtyRegions): Handle repaintUnderway flag. Commit
31081 (getOffscreenBuffer): Returns the offscreen buffer for the
31082 corresponding root component.
31083 (commitBuffer): New method.
31084 (commitRemainingBuffers): New method.
31085 * javax/swing/JComponent.java
31086 (paint): Call paintDoubleBuffered with the current clip.
31087 (paintImmediately2): Don't paint on screen here.
31088 (paintDoubleBuffered): Rewritten for real double buffering.
31089 (paintSimple): Draw to screen in this method.
31091 2006-02-13 Roman Kennke <kennke@aicas.com>
31093 * javax/swing/JRootPane.java
31094 (JRootPane): Set opaque property to true.
31096 2006-02-13 Tom Tromey <tromey@redhat.com>
31098 * .classpath: Updated for external/relaxngDatatype.
31100 2006-02-13 Chris Burdess <dog@gnu.org>
31102 * gnu/xml/stream/UnicodeReader.java,
31103 gnu/xml/validation/datatype/Annotation.java,
31104 gnu/xml/validation/datatype/AnySimpleType.java,
31105 gnu/xml/validation/datatype/AnyType.java,
31106 gnu/xml/validation/datatype/AnyURIType.java,
31107 gnu/xml/validation/datatype/AtomicSimpleType.java,
31108 gnu/xml/validation/datatype/Base64BinaryType.java,
31109 gnu/xml/validation/datatype/BooleanType.java,
31110 gnu/xml/validation/datatype/ByteType.java,
31111 gnu/xml/validation/datatype/DateTimeType.java,
31112 gnu/xml/validation/datatype/DateType.java,
31113 gnu/xml/validation/datatype/DecimalType.java,
31114 gnu/xml/validation/datatype/DoubleType.java,
31115 gnu/xml/validation/datatype/DurationType.java,
31116 gnu/xml/validation/datatype/EntitiesType.java,
31117 gnu/xml/validation/datatype/EntityType.java,
31118 gnu/xml/validation/datatype/EnumerationFacet.java,
31119 gnu/xml/validation/datatype/Facet.java,
31120 gnu/xml/validation/datatype/FloatType.java,
31121 gnu/xml/validation/datatype/FractionDigitsFacet.java,
31122 gnu/xml/validation/datatype/GDayType.java,
31123 gnu/xml/validation/datatype/GMonthDayType.java,
31124 gnu/xml/validation/datatype/GMonthType.java,
31125 gnu/xml/validation/datatype/GYearMonthType.java,
31126 gnu/xml/validation/datatype/GYearType.java,
31127 gnu/xml/validation/datatype/HexBinaryType.java,
31128 gnu/xml/validation/datatype/IDRefType.java,
31129 gnu/xml/validation/datatype/IDRefsType.java,
31130 gnu/xml/validation/datatype/IDType.java,
31131 gnu/xml/validation/datatype/IntType.java,
31132 gnu/xml/validation/datatype/IntegerType.java,
31133 gnu/xml/validation/datatype/LanguageType.java,
31134 gnu/xml/validation/datatype/LengthFacet.java,
31135 gnu/xml/validation/datatype/ListSimpleType.java,
31136 gnu/xml/validation/datatype/LongType.java,
31137 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31138 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31139 gnu/xml/validation/datatype/MaxLengthFacet.java,
31140 gnu/xml/validation/datatype/MinExclusiveFacet.java,
31141 gnu/xml/validation/datatype/MinInclusiveFacet.java,
31142 gnu/xml/validation/datatype/MinLengthFacet.java,
31143 gnu/xml/validation/datatype/NCNameType.java,
31144 gnu/xml/validation/datatype/NMTokenType.java,
31145 gnu/xml/validation/datatype/NMTokensType.java,
31146 gnu/xml/validation/datatype/NameType.java,
31147 gnu/xml/validation/datatype/NegativeIntegerType.java,
31148 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31149 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31150 gnu/xml/validation/datatype/NormalizedStringType.java,
31151 gnu/xml/validation/datatype/NotationType.java,
31152 gnu/xml/validation/datatype/PatternFacet.java,
31153 gnu/xml/validation/datatype/PositiveIntegerType.java,
31154 gnu/xml/validation/datatype/QNameType.java,
31155 gnu/xml/validation/datatype/ShortType.java,
31156 gnu/xml/validation/datatype/SimpleType.java,
31157 gnu/xml/validation/datatype/StringType.java,
31158 gnu/xml/validation/datatype/TimeType.java,
31159 gnu/xml/validation/datatype/TokenType.java,
31160 gnu/xml/validation/datatype/TotalDigitsFacet.java,
31161 gnu/xml/validation/datatype/Type.java,
31162 gnu/xml/validation/datatype/TypeBuilder.java,
31163 gnu/xml/validation/datatype/TypeLibrary.java,
31164 gnu/xml/validation/datatype/TypeLibraryFactory.java,
31165 gnu/xml/validation/datatype/UnionSimpleType.java,
31166 gnu/xml/validation/datatype/UnsignedByteType.java,
31167 gnu/xml/validation/datatype/UnsignedIntType.java,
31168 gnu/xml/validation/datatype/UnsignedLongType.java,
31169 gnu/xml/validation/datatype/UnsignedShortType.java,
31170 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31171 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31172 RELAX NG datatype library implementation for XML Schema Datatypes.
31174 2006-02-13 Chris Burdess <dog@gnu.org>
31180 external/Makefile.am,
31181 external/relaxngDatatype/.cvsignore,
31182 external/relaxngDatatype/Makefile.am,
31183 external/relaxngDatatype/README.txt,
31184 external/relaxngDatatype/copying.txt,
31185 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31186 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31187 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31188 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31189 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31190 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31191 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31192 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31193 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31194 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31196 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31197 datatypes library API.
31199 2006-02-13 Mark Wielaard <mark@klomp.org>
31201 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31203 (gtkWidgetModifyFont(Font)): New protected helper method.
31204 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31205 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31206 protected and document.
31207 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31209 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31211 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31213 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31214 (setFont): Removed method. Done in GtkMenuComponent.
31215 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31216 abstract and protected.
31217 (setFont): Made private, add implementation.
31218 (setFont(Font)): Implemented.
31219 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31220 Made protected and document.
31221 (create): Made protected.
31222 (setFont): Removed method. Done in GtkMenuComponent.
31223 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31224 (gtkWidgetModifyFont): Made protected and document.
31225 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31226 Removed, similar to GtkGenericPeer super class implementation.
31227 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31228 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31229 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31232 2006-02-13 Mark Wielaard <mark@klomp.org>
31234 * java/lang/Math.java (static): Explicitly call
31235 System.loadLibrary("javalang").
31237 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31239 * javax/print/StreamPrintServiceFactory.java: New file.
31241 2006-02-13 Tom Tromey <tromey@redhat.com>
31243 * tools/.cvsignore: Added Makefile.
31245 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
31247 * java/awt/print/PrinterGraphics.java: Reformatted.
31248 * java/awt/print/Paper.java: Likewise.
31249 * java/awt/print/PageFormat.java: Likewise.
31250 * java/awt/print/Pageable.java: Likewise.
31252 2006-02-13 Lillian Angel <langel@redhat.com>
31254 * java/awt/BorderLayout.java
31255 (layoutContainer): Rewrote part of this function to
31256 properly set the bounds of the components.
31257 (setBounds): Removed method, not needed.
31259 2006-02-13 Roman Kennke <kennke@aicas.com>
31261 * javax/swing/text/DefaultStyledDocument.java
31262 (ElementBuffer.clone): Fixed replace call.
31263 (clone): Removed method.
31265 2006-02-13 Roman Kennke <kennke@aicas.com>
31267 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31269 2006-02-13 Roman Kennke <kennke@aicas.com>
31271 * java/rmi/server/UnicastRemoteObject.java
31272 (exportObject(Remote)): Forward method call to export(Remote,int).
31274 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
31276 * include/Makefile.am:
31277 Swapped Math.h for VMMath.h
31278 * include/java_lang_Math.h:
31280 * include/java_lang_VMMath.h:
31281 New autogenerated header for the new class.
31282 * java/lang/Math.java:
31283 (sin(double)): Changed to link to VMMath.
31284 (cos(double)): Changed to link to VMMath.
31285 (tan(double)): Changed to link to VMMath.
31286 (asin(double)): Changed to link to VMMath.
31287 (acos(double)): Changed to link to VMMath.
31288 (atan(double)): Changed to link to VMMath.
31289 (atan2(double)): Changed to link to VMMath.
31290 (exp(double)): Changed to link to VMMath.
31291 (log(double)): Changed to link to VMMath.
31292 (sqrt(double)): Changed to link to VMMath.
31293 (pow(double,double)): Changed to link to VMMath.
31294 (IEEEremainder(double,double)): Changed to link to VMMath.
31295 (ceil(double)): Changed to link to VMMath.
31296 (floor(double)): Changed to link to VMMath.
31297 (rint(double)): Changed to link to VMMath.
31298 * native/jni/java-lang/Makefile.am:
31299 Replaced java_lang_Math.c with java_lang_VMMath.c
31300 * native/jni/java-lang/java_lang_Math.c:
31302 * native/jni/java-lang/java_lang_VMMath.c:
31303 Renamed from java_lang_Math.c.
31304 * vm/reference/java/lang/VMMath.java:
31306 (sin(double)): New native method.
31307 (cos(double)): New native method.
31308 (tan(double)): New native method.
31309 (asin(double)): New native method.
31310 (acos(double)): New native method.
31311 (atan(double)): New native method.
31312 (atan2(double)): New native method.
31313 (exp(double)): New native method.
31314 (log(double)): New native method.
31315 (sqrt(double)): New native method.
31316 (pow(double,double)): New native method.
31317 (IEEEremainder(double,double)): New native method.
31318 (ceil(double)): New native method.
31319 (floor(double)): New native method.
31320 (rint(double)): New native method.
31322 2006-02-13 Lillian Angel <langel@redhat.com>
31324 * java/awt/Component.java
31325 (repaint): No need to call isShowing, it is done in the other repaint call.
31326 (repaint): Likewise.
31327 (repaint): Likewise.
31329 2006-02-13 Lillian Angel <langel@redhat.com>
31331 * java/awt/Component.java
31332 (repaint): Reverted last change.
31333 (repaint): Likewise.
31334 (repaint): Likewise.
31336 2006-02-13 Lillian Angel <langel@redhat.com>
31338 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31339 (handleEvent): Made more efficent by handling paint event and
31340 setting the clip for the graphics.
31341 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31342 (handleEvent): Likewise.
31343 * java/awt/Component.java
31344 (repaint): No need to call isShowing, it is done in the other repaint call.
31345 (repaint): Likewise.
31346 (repaint): Likewise.
31348 2006-02-13 Roman Kennke <kennke@aicas.com>
31350 * javax/swing/text/AbstractDocument.java
31351 (setParent): Added API docs. Call setParent(null) on children before
31352 disconnecting this view from the View hierarchy.
31354 2006-02-13 Roman Kennke <kennke@aicas.com>
31356 * javax/swing/text/AbstractDocument.java
31357 (readUnlock): Don't attempt to unlock when the current threads also
31358 holds a write lock.
31360 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
31362 * javax/swing/plaf/metal/MetalBorders.java
31363 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31364 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31366 (Flush3DBorder.borderInsets): New field,
31367 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31368 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
31369 null insets argument, and populate result from borderInsets,
31370 (PaletteBorder.borderInsets): New field,
31371 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31372 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
31373 null insets argument, and populate result from borderInsets,
31374 (InternalFrameBorder.borderInsets): New field,
31375 (InternalFrameBorder.getBorderInsets(Component)): Return insets
31377 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
31378 for null insets argument, and populate result from borderInsets,
31379 (MenuItemBorder.borderInsets): Initialise to correct value.
31381 2006-02-13 Roman Kennke <kennke@aicas.com>
31383 * javax/swing/text/AsyncBoxView.java: New file.
31385 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
31388 * gnu/regexp/RE.java(initialize): Parsing of character class expression
31389 was moved to a new method parseCharClass.
31390 (parseCharClass): New method originally in initialize. Added parsing
31391 of nested character classes.
31392 (ParseCharClassResult): New inner class used as a return value of
31394 (getCharExpression),(getNamedProperty): Made static.
31395 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31396 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31397 nested character classes.
31398 (RETokenOneOf): New constructor accepting the Vector addition.
31399 (getMinimumLength), (getMaximumLength): Returns 1 if the token
31400 stands for only one character.
31401 (match): Added the processing of the Vector addition.
31402 (matchN), (matchP): Do not check next token if addition is used.
31404 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
31406 * AUTHORS: add self.
31408 2006-02-12 Tom Tromey <tromey@redhat.com>
31410 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31411 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31412 (securityContext): Likewise.
31415 2006-02-12 Dalibor Topic <robilad@kaffe.org>
31419 * gnu/java/net/protocol/file/Connection.java (unquote):
31420 Convert Unicode characters outside basic plane to UTF-8,
31421 rather than throwing an exception.
31423 2006-02-12 Tom Tromey <tromey@redhat.com>
31425 * javax/sound/sampled/LineEvent.java (readObject): New method.
31426 (writeObject): Likewise.
31427 (serialVersionUID): New field.
31429 2006-02-12 Mark Wielaard <mark@klomp.org>
31431 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31432 Silently ignores null listener.
31433 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31434 (getPropertyChangeListeners): Returns empty PropertyChangeListener
31435 array for null propertyName.
31437 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31439 * java/rmi/MarshalledObject.java: Added api docs to the class.
31440 * java/rmi/Remote.java: Added interface api docs.
31441 * java/rmi/package.html: Added package description.
31442 * java/rmi/AccessException.java: Minor api doc fixes.
31443 * java/rmi/NoSuchObjectException.java: Likewise.
31444 * java/rmi/AlreadyBoundException.java: Likewise.
31445 * java/rmi/RemoteException.java: Likewise.
31446 * java/rmi/NotBoundException.java: Likewise.
31447 * java/rmi/RMISecurityException.java: Likewise.
31448 * java/rmi/StubNotFoundException.java: Likewise.
31450 2006-02-12 Mark Wielaard <mark@klomp.org>
31452 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31453 q() to get EventQueue.
31454 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31455 (enableQueue): Remove static method.
31456 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31457 Don't call GtkGenericPeer.enableQueue().
31459 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
31461 * java/rmi/MarshalledObject.java: Reformatted.
31462 * java/rmi/Naming.java: Likewise.
31464 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31466 * java/io/InputStream.java
31467 (read(byte[],int,int)): Changed argument validation to prevent
31468 integer overflow. Remove redundant check.
31470 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
31473 * java/io/InputStreamReader.java
31474 (InputStreamReader(InputStream)): Use SystemProperties.
31475 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31476 Throw NullPointerException if in is null.
31477 Added maxBytesPerChar initialisation.
31478 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31479 Throw NullPointerException if in is null.
31481 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
31483 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31484 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31485 (GnuDHPublicKey): New constructor.
31486 (getEncoded): Removed.
31487 (valueOf): Added support for ASN.1 encoding.
31488 (getEncoded(int)): Likewise.
31489 (equals): New method.
31490 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31491 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31492 (GnuDHPrivateKey(5)): New constructor.
31493 (getEncoded): Removed.
31494 (valueOf): Added support for ASN.1 encoding.
31495 (getEncoded(int)): Likewise.
31496 (equals): New method.
31497 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31498 (PREFERRED_ENCODING_FORMAT): New constant.
31499 (DEFAULT_ENCODING_FORMAT): Likewise.
31500 (preferredFormat): New field.
31501 (setup): Handle preferred encoding format identifier.
31502 (generate): Call constructors with format identifier.
31503 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31504 (GnuDHKey): Added an int argument.
31505 (getEncoded): New method.
31506 (getFormat): New implementation.
31507 (getEncoded(int)): New abstract method.
31508 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31509 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31510 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31511 key-pair generator and key-factory.
31512 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31513 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31514 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31515 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31516 (invokeConstructor): New method.
31517 (getConcreteClass): Likewise.
31518 (getConcreteCtor): Likewise.
31519 (invokeValueOf): Likewise.
31520 (getValueOfMethod): Likewise.
31521 (engineGeneratePublic): Add support for DH keys.
31522 (engineGeneratePrivate): Likewise.
31523 (decodeDHPublicKey(DHPublicKeySpec)): New method.
31524 (decodeDHPublicKey(byte[])): Likewise.
31525 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31526 (decodeDHPrivateKey(byte[])): Likewise.
31528 2006-02-11 Mark Wielaard <mark@klomp.org>
31530 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31532 (repaint): Immediately post to queue when tm <= 0, otherwise call
31533 RepaintTimerTask.schedule().
31534 (RepaintTimerTask): Make static.
31535 (RepaintTimerTask.repaintTimer): New static final field.
31536 (RepaintTimerTask.awtComponent): New field.
31537 (schedule): New static method.
31539 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31541 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31542 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31543 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31544 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31545 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31547 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31549 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
31551 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31552 (engineGeneratePublic): Added support for raw key-specifications.
31553 (engineGeneratePrivate): Likewise.
31554 (decodeDSSPublicKey): New method.
31555 (decodeRSAPublicKey): Likewise.
31556 (decodeDSSPrivateKey): Likewise.
31557 (decodeRSAPrivateKey): Likewise.
31558 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31559 (encodePrivateKey): Throw InvalidParameterException.
31560 (decodePublicKey): Likewise.
31561 (decodePrivateKey): Likewise.
31562 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31563 (encodePublicKey): Likewise.
31564 (encodePrivateKey): Likewise.
31565 (decodePublicKey): Likewise.
31566 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31567 (encodePrivateKey): Likewise.
31568 (decodePublicKey): Likewise.
31569 (decodePrivateKey): Likewise.
31570 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31571 (encodePublicKey): Likewise.
31572 (encodePrivateKey): Likewise.
31573 (decodePublicKey): Likewise.
31575 2006-02-10 Roman Kennke <kennke@aicas.com>
31577 * javax/swing/text/StyleContext.java
31578 (registerStaticAttributeKey): New static method.
31580 2006-02-10 Roman Kennke <kennke@aicas.com>
31582 * javax/swing/text/DefaultStyledDocument.java
31583 (ElementBuffer.clone): New method.
31585 2006-02-10 Roman Kennke <kennke@aicas.com>
31587 * javax/swing/text/ParagraphView.java
31588 (findOffsetToCharactersInString): New method.
31589 (getClosestPositionTo): New method.
31590 (getPartialSize): New method.
31591 (getTabBase): New method.
31592 (adjustRow): New method.
31593 (breakView): New method.
31594 (getBreakWeight): New method.
31596 2006-02-10 Roman Kennke <kennke@aicas.com>
31598 * javax/swing/text/GapContent.java
31599 (updateUndoPositions): New method.
31600 * javax/swing/text/StringContent.java
31601 (updateUndoPositions): New method.
31603 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
31605 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31607 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31608 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31609 Added support for encoded key specifications.
31610 (engineGeneratePrivate): Likewise.
31611 (engineGetKeySpec): Likewise.
31612 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31614 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
31616 * javax/swing/text/Utilities.java:
31617 (getTabbedTextOffset): Fixed usage of variable p0.
31618 (getPositionAbove): Rewritten.
31619 (getPositionBelow): Rewritten.
31621 2006-02-09 Roman Kennke <kennke@aicas.com>
31623 * javax/swing/text/BoxView.java
31624 (getAxis): Added @since tag.
31625 (setAxis): Added @since tag.
31626 (layoutChanged): Added @since tag.
31627 (isLayoutValid): Added @since tag.
31628 (paint): Don't call setSize here. This is done in RootView already.
31629 (getMaximumSpan): Reimplemented to return the requirements'
31630 maximum size. Added API docs.
31631 (getMinimumSpan): New method.
31632 (layout): Fixed layout order.
31633 (modelToView): Call layout instead of setSize here.
31634 (getResizeWeight): New method.
31635 (getChildAllocation): New method.
31636 (forwardUpdate): New method.
31637 (viewToModel): New method.
31638 (flipEastEndWestEnds): New method.
31639 * javax/swing/text/CompositeView.java
31640 (modelToView): Made this method more robust by returning a default
31641 location if it's not possible to calculate one via the children.
31642 This default location returns the left or right edge of this
31644 (createDefaultLocation): New helper method.
31645 * javax/swing/text/IconView.java
31646 (modelToView): Don't throw BadLocationException. This should
31647 really only be thrown if the position is outside the document
31648 model, not if it's outside the view's boundary.
31650 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31652 * tools/Makefile.am: Handle rmi and giop folders separately.
31654 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31656 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31657 * javax/swing/SpinnerNumberModel.java: Likewise.
31659 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
31661 * javax/swing/SpinnerDateModel.java: Removed tabs,
31662 * javax/swing/SpinnerNumberModel.java: Likewise.
31664 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
31666 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31667 * doc/unicode/UnicodeData-4.0.0.txt: New file.
31669 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31672 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31673 (isRedirect): Removed, moved to Response.java.
31674 (connect): If error condition redirect responseSink to errorSink.
31675 (getInputStream): If error condition throw IOException, for the error
31676 codes 404 and 410 throw a FileNotFoundException.
31677 * gnu/java/net/protocol/http/Response.java (isError): New method.
31678 (isRedirect): New method, moved from HTTPURLConnection.java.
31680 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31682 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31683 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31684 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
31686 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31688 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31689 AbstractMethodGenerator.
31690 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31691 tools/gnu/classpath/tools/rmi/RMIC.java,
31692 tools/gnu/classpath/tools/rmi/RMIC.txt,
31693 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31694 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31695 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31696 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31697 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31698 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
31700 * NEWS: Corrected entry about the tools.
31702 2006-02-09 Lillian Angel <langel@redhat.com>
31704 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31705 (handleEvent): Added more to check to prevent assertion errors.
31706 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31707 (handleEvent): Likewise.
31708 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31709 (handleEvent): Likewise.
31711 2006-02-09 Mark Wielaard <mark@klomp.org>
31713 * javax/swing/JTable.java (tableChanged): Interpret null event as
31714 "everything changed".
31716 2006-02-09 Roman Kennke <kennke@aicas.com>
31718 * javax/swing/text/DefaultCaret.java
31719 (DocumentHandler.removeUpdate): When update policy is
31720 'on eventqueue', and the update doesn't come from the
31721 event queue, check if the current dot location is still
31723 (moveDot): Make sure the new dot location is valid.
31724 (setDot): Set the mark the same as the dot.
31726 2006-02-09 Roman Kennke <kennke@aicas.com>
31728 * javax/swing/text/AbstractDocument.java
31729 (remove): Perform all operations within a write lock and in the
31732 2006-02-09 Mark Wielaard <mark@klomp.org>
31734 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31735 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31736 creater than min, adjusting page_size if necessary.
31737 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31739 2006-02-09 Lillian Angel <langel@redhat.com>
31741 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31742 (handleEvent): Added code to handle PaintEvent.UPDATE.
31743 Sun does not call update(Graphics g) on Panels.
31744 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31745 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31746 Sun does not call update(Graphics g) on Panels.
31748 2006-02-09 Roman Kennke <kennke@aicas.com>
31750 * javax/swing/text/BoxView.java
31751 (myAxis): Made field private.
31752 (xLayoutValid): Replaced by layoutValid array.
31753 (yLayoutValid): Replaced by layoutValid array.
31754 (layoutValid): New field.
31755 (spansX): Replaced by spans array.
31756 (spansY): Replaced by spans array.
31757 (spans): New field.
31758 (offsetsX): Replaced by offsets array.
31759 (offsetsY): Replaced by offsets array.
31760 (offsets): New field.
31761 (requirements): New field.
31762 (BoxView): Initialize new fields.
31763 (layoutChanged): Rewritten to use the layoutValid array.
31764 (isLayoutValid): Rewritten to use the layoutValid array.
31765 (replace): Use the new arrays.
31766 (getPreferredSpan): Rewritten to call calculateXXXRequirements
31767 instead of baselineRequirements.
31768 (baselineRequirements): Rewritten to calculate baseline requirements.
31769 (baselineLayout): Rewritten to calculate baseline layout.
31770 (childAllocation): Use new arrays.
31771 (layout): Rewritten. Only update the layout if necessary.
31772 (layoutMajorAxis): Directly set layoutValid.
31773 (layoutMinorAxis): Directly set layoutValid. Use cached size
31775 (getWidth): Use new span array.
31776 (getHeight): Likewise.
31777 (setSize): Rewritten to simply call layout().
31778 (validateLayout): Removed unneeded method.
31779 (getSpan): Use new arrays.
31780 (getOffset): Use new arrays.
31781 (getAlignment): Use cached requirements if possible.
31782 (preferenceChanged): Use new arrays.
31783 * javax/swing/text/FlowView.java
31784 (FlowStrategy.insertUpdate): Do nothing here.
31785 (FlowStrategy.removeUpdate): Do nothing here.
31786 (FlowStrategy.changedUpdate): Do nothing here.
31787 (FlowStrategy.layoutRow): Rewritten.
31788 (FlowStrategy.createView): Rewritten.
31789 (FlowStrategy.adjustRow): New method.
31790 (LogicalView.getViewIndex): Fixed condition for finding child
31792 (layoutDirty): New field indicating the state of the layout.
31793 (FlowView): Initialize new field.
31794 (loadChildren): Set parent on logical view so that preferenceChanges
31795 get propagated upwards.
31796 (layout): Rewritten to match the specs.
31797 (insertUpdate): Set layout to dirty.
31798 (removeUpdate): Set layout to dirty.
31799 (changedUpdate): Set layout to dirty.
31800 * javax/swing/text/GlyphView.java
31801 (getBreakWeight): Rewritten to use the Utilities class. Commented
31802 out though because that is broken.
31803 (insertUpdate): Call preferenceChanged on this object instead of
31805 * javax/swing/text/ParagraphView.java
31806 (Row.loadChildren): Overridden to be a noop to prevent initial
31807 creation of child views. This is carried out by the flow layout.
31808 * javax/swing/text/View.java
31809 (getPreferredSpan): Added API docs.
31810 (getResizeWeight): Added API docs.
31811 (getMaximumSpan): Added API docs. Rewritten to only have one exit
31813 (getMinimumSpan): Added API docs. Rewritten to return 0 when
31814 resizable instead of Integer.MAX_VALUE.
31815 (getAlignment): Added API docs.
31816 (replace): Added API docs.
31817 (forwardUpdate): Rewritten to only notify child views that need to
31820 2006-02-09 Roman Kennke <kennke@aicas.com>
31822 * javax/swing/plaf/basic/BasicTextUI.java
31823 (RootView.paint): Call setSize() before painting the view.
31825 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
31828 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31829 flag which enables backslash escape in a replacement.
31830 (getReplacement): New public static method.
31831 (substituteImpl),(substituteAllImpl): Use getReplacement.
31832 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31833 * java/util/regex/Matcher.java(appendReplacement)
31834 Use RE#getReplacement.
31835 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31837 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
31839 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31840 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31841 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31842 (PREFERRED_ENCODING_FORMAT): New constant.
31843 (DEFAULT_ENCODING_FORMAT): Likewise.
31844 (preferredFormat): New field.
31845 (setup): Add support for preferred encoding format.
31846 (generate): Call key constructors with explicit format identifier.
31847 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
31848 Call constructor with 3 arguments..
31849 (GnuRSAPublicKey(3)): New constructor.
31850 (valueOf): Added support for ASN.1 format.
31851 (getEncoded): Likewise.
31852 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31853 Call constructor with 5 arguments.
31854 (GnuRSAPrivateKey(5)): New constructor.
31855 (GnuRSAPrivateKey(9)): New constructor.
31856 (valueOf): Added support for ASN.1 format.
31857 (getEncoded): Likewise.
31858 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31859 (GnuRSAKey): Modified constructor.
31860 (getFormat): Return preferred format identifier.
31861 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31862 (decodePrivateKey): Fixed documentation.
31863 Check Version field.
31864 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31865 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31867 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31868 * gnu/java/security/jce/sig/EncodedKeyFactory.java
31869 (engineGeneratePublic): Added support for RSA.
31870 (engineGeneratePrivate): Likewise.
31872 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31874 * java/net/URLConnection.java:
31875 (setAllowUserInteraction): Throw IllegalStateException if connected.
31876 (getRequestProperty): Document return value if key is null.
31877 * gnu/java/net/protocol/http/HTTPURLConnection.java:
31878 (getRequestProperty): Return null if key is null.
31879 (getRequestProperties): Throw IllegalStateException if connected.
31880 (setRequestProperty): Call super method for exception tests.
31881 (addRequestProperty): Likewise.
31883 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
31885 * gnu/java/net/protocol/http/Request.java:
31886 (Request): Remove initialization of removed field.
31887 (requestBodyNegotiationThreshold): Removed now unused field.
31888 (setRequestBodyNegotiationThreshold): Remove now unused method.
31889 (dispatch): Do not use 'Expect 100-continue' header if content-length
31890 is over a treshold. If user specified 'Expect 100-continue' still
31891 initialize the expectingContinue variable.
31893 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31895 * javax/swing/SpinnerNumberModel.java
31896 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
31897 maximum and minimum to take null values,
31898 (setValue): Only fire ChangeEvent if new value is different to old
31900 (setMinimum): Fixed test for updating value,
31901 (setMaximum): Likewise,
31902 (setStepSize): Likewise.
31904 2006-02-08 Tom Tromey <tromey@redhat.com>
31906 * tools/.cvsignore: Added Makefile.in.
31908 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31910 * java/rmi/server/RemoteRef.java,
31911 java/rmi/server/RemoteStub.java: Commented.
31913 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
31915 * javax/swing/SpinnerDateModel.java
31916 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31918 (getPreviousValue): Check result against start, not end,
31919 (setValue): Check that value actually changes before firing
31922 2006-02-08 Lillian Angel <langel@redhat.com>
31924 * java/awt/Choice.java
31925 (select): Fixed up code, added some checks to prevent errors.
31926 (dispatchEventImpl): Removed. This function is not needed. It
31927 causes several assertion errors.
31929 2006-02-08 Roman Kennke <kennke@aicas.com>
31931 * javax/swing/text/PlainView.java
31932 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
31933 drawing unnecessary characters.
31935 2006-02-08 Lillian Angel <langel@redhat.com>
31937 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31938 (handleEvent): Fixed check to determine if height or
31939 width is less than 1.
31941 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31943 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
31945 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31947 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
31948 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
31949 Documenting the code generator.
31950 * gnu/CORBA/IOR.java (toStringFormatted,
31951 CodeSet_component.toStringFormatted): New methods.
31952 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
31953 * tools/gnu/classpath/tools/giop/README: Rewritten.
31954 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
31955 (printHelpAndExit): Removed.
31956 *tools/gnu/classpath/tools/giop/IorParser.java,
31957 tools/gnu/classpath/tools/giop/IorParser.txt,
31958 tools/gnu/classpath/tools/giop/NameService.java,
31959 tools/gnu/classpath/tools/giop/NamingService.txt,
31960 tools/gnu/classpath/tools/HelpPrinter.java: New files.
31961 NEWS: Added note about GIOP tools.
31963 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
31965 * .classpath: New source patch (tools).
31966 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
31967 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
31968 * tools/gnu/classpath/tools/Makefile.am,
31969 tools/gnu/classpath/tools/giop/GRMIC.java
31970 tools/gnu/classpath/tools/giop/GRMIC.txt,
31971 tools/gnu/classpath/tools/giop/README,
31972 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
31973 tools/gnu/classpath/tools/giop/grmic/Generator.java,
31974 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
31975 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
31976 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
31977 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
31978 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
31979 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
31980 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
31981 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31982 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31983 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
31985 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
31987 * java/awt/BasicStroke.java: Updated API docs all over,
31988 * java/awt/doc-files/capjoin.png: New file.
31990 2006-02-07 Lillian Angel <langel@redhat.com>
31992 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31993 (handleEvent): Added check. Should not paint or update the
31994 component if it's width and height are both 0.
31996 2006-02-07 Roman Kennke <kennke@aicas.com>
31998 * javax/swing/text/AbstractDocument.java
31999 (insertString): Enclose locking/unlocking in try-finally block
32000 and also keep locked while notifying the listeners.
32002 2006-02-07 Roman Kennke <kennke@aicas.com>
32004 * javax/swing/text/GlyphView.java
32005 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32007 (getStartOffset): Return element boundary if startOffset < 0.
32008 (getEndOffset): Return element boundary if endOffset < 0.
32009 (createFragment): Set startOffset and endOffset fields of fragment
32010 if one of p0 or p1 is not at the element boundary.
32012 2006-02-07 Roman Kennke <kennke@aicas.com>
32014 * javax/swing/CellRendererPane.java
32015 (paintComponent): Enclosed painting in try finally to properly
32016 clean up even when throwing an exception.
32018 2006-02-07 Roman Kennke <kennke@aicas.com>
32020 * javax/swing/UIManager.java
32021 (listeners): Made this an instance of
32022 java.beans.PropertyChangeSupport instead of the obsoleted
32023 SwingPropertyChangeSupport.
32025 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32027 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32028 of actions "delete-next" and "delete-previous", added new TextAction
32029 implementations for "selection-begin", "selection-begin-line",
32030 "selection-end" and "selection-end-line".
32032 2006-02-07 Roman Kennke <kennke@aicas.com>
32034 * javax/swing/plaf/basic/BasicTextUI.java
32035 (paint): Acquire read lock on the document before calling
32037 (paintSafely): Added comment about what this method does.
32038 (paintBackground): Implemented to actually paint the background.
32039 (update): Overridden to _not_ paint the background. This is done
32040 in paintBackground in this UI.
32042 2006-02-07 Roman Kennke <kennke@aicas.com>
32044 * javax/swing/text/View.java
32045 (forwardUpdate): Don't notify newly added child views as specified.
32047 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32049 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32051 2006-02-07 Roman Kennke <kennke@aicas.com>
32053 * javax/swing/text/DefaultStyledDocument.java
32054 (ElementBuffer.insert): Only register change when the element
32057 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32059 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32061 (getEncodingShortName): Likewise.
32062 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32063 (PKCS8_FORMAT): Likewise.
32064 (ASN1_FORMAT): Likewise.
32065 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32066 constructor with 5 arguments.
32067 (DSSPublicKey(5)): New constructor.
32068 (valueOf): Handle ASN.1 encoding.
32069 (getEncoded): Likewise.
32070 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32071 constructor with 5 arguments.
32072 (DSSPrivateKey(5)): New constructor.
32073 (valueOf): Handle ASN.1 encoding.
32074 (getEncoded): Likewise.
32075 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32076 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32077 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32078 (PREFERRED_ENCODING_FORMAT): New constant.
32079 (DEFAULT_ENCODING_FORMAT): Likewise.
32080 (preferredFormat): New field.
32081 (setup): Handle preferred format ID.
32082 (generate): Use new ctors with 5 arguments.
32083 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32084 ID as an additional argument.
32085 (defaultFormat): new field.
32086 (getFormat): Returns the preferred format as a short string.
32087 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32088 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32090 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32091 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32093 (initialize(int,boolean,SecureRandom)): Likewise.
32094 * gnu/java/security/der/DERWriter.java (writeBitString): Use
32095 writeLength() instead of write().
32096 return buf.length + 1 instead of buf.length.
32098 2006-02-07 Roman Kennke <kennke@aicas.com>
32100 * javax/swing/plaf/basic/BasicTextUI.java
32101 (RootView.preferenceChange): Changed view parameter to view so
32102 that it doesn't hide a field of that class.
32103 (RootView.getViewCount): Rewritten to clean up ECJ warning.
32104 (RootView.modelToView): Removed unnecessary cast from View to View.
32105 (PropertyChangeHandler): Made inner class private.
32106 (updateHandler): Made field private.
32107 (getVisibleEditorRect): Removed unneeded local variable that
32108 shadowed a field with the same name and purpose.
32110 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
32112 * javax/swing/text/JTextComponent.java:
32113 (getSelectedText): Calculate offset and use that as
32116 2006-02-07 Roman Kennke <kennke@aicas.com>
32118 * javax/swing/JTextPane.java
32119 (setCharacterAttributes): Replace input attributes when
32122 2006-02-07 Roman Kennke <kennke@aicas.com>
32124 * java/awt/Component.java
32125 (firePropertyChange(String,byte,byte)): Made method public.
32126 (firePropertyChange(String,char,char)): Made method public.
32127 (firePropertyChange(String,short,short)): Made method public.
32128 (firePropertyChange(String,long,long)): Made method public.
32129 (firePropertyChange(String,float,float)): Made method public.
32130 (firePropertyChange(String,double,double)): Made method public.
32132 2006-02-06 Tom Tromey <tromey@redhat.com>
32134 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32136 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32138 2006-02-06 Anthony Green <green@redhat.com>
32140 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32142 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32144 * .settings/org.eclipse.jdt.core.prefs:
32145 Force a line split on extends and implements.
32146 Force a white-space after unary operators.
32147 Don't force a new-line after @params.
32148 Add new-line at end-of-file.
32149 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32151 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
32153 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32155 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32157 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32159 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32161 * gnu/java/security/provider/EncodedKeyFactory.java
32162 (ID_DSA): Redefined in terms of Registry constant.
32163 (ID_DSA): Redefined in terms of Registry constant.
32164 (ID_DH): Redefined in terms of Registry constant.
32165 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32166 (PKCS8_ENCODING): Likewise.
32167 (ASN1_ENCODING): Likewise.
32168 (RAW_ENCODING_SHORT_NAME): Likewise.
32169 (X509_ENCODING_SORT_NAME): Likewise.
32170 (PKCS8_ENCODING_SHORT_NAME): Likewise.
32171 (ASN1_ENCODING_SHORT_NAME): Likewise.
32172 (X509_ENCODING_ID): Likewise.
32173 (PKCS8_ENCODING_ID): Likewise.
32174 (ASN1_ENCODING_ID): Likewise.
32175 (DSA_OID_STRING): Likewise.
32176 (RSA_OID_STRING): Likewise.
32177 (DH_OID_STRING): Likewise.
32179 2006-02-06 Roman Kennke <kennke@aicas.com>
32181 * javax/swing/text/GlyphView.java:
32182 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32183 Only fill background if there is a background set on the view.
32184 Call Utilities.drawTabbedText with the baseline height, rather than
32185 the upper left corner of the view rectangle.
32186 (getBackground): Return null if no background is set.
32187 * javax/swing/text/GlyphView.java:
32188 (setPropertiesFromAttributes): Use null for background when no
32189 background is set. StyleConstants.getBackground() doesn't work
32190 for this, because it returns Color.BLACK in that case.
32192 2006-02-06 Roman Kennke <kennke@aicas.com>
32194 * java/awt/Container.java
32195 (changeSupport): Removed duplicate (from Component) field.
32196 (addPropertyChangeListener): Call super.
32198 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32200 * java/util/regex/Matcher.java(matches):
32201 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32203 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
32206 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32207 * gnu/regexp/CharIndexedCharArray.java
32208 (lookBehind),(length): Implemented.
32209 * gnu/regexp/CharIndexedInputStream.java: Likewise.
32210 * gnu/regexp/CharIndexedString.java: Likewise.
32211 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32212 * gnu/regexp/REToken.java(getMaximumLength): New method.
32213 * gnu/regexp/RE.java(internal constructor RE): Added new argument
32215 (initialize): Parse (?<=X), (?<!X), (?>X).
32216 (getMaximumLength): Implemented.
32217 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32218 * gnu/regexp/RETokenChar.java: Likewise.
32219 * gnu/regexp/RETokenEnd.java: Likewise.
32220 * gnu/regexp/RETokenEndSub.java: Likewise.
32221 * gnu/regexp/RETokenLookAhead.java: Likewise.
32222 * gnu/regexp/RETokenNamedProperty.java: Likewise.
32223 * gnu/regexp/RETokenOneOf.java: Likewise.
32224 * gnu/regexp/RETokenPOSIX.java: Likewise.
32225 * gnu/regexp/RETokenRange.java: Likewise.
32226 * gnu/regexp/RETokenRepeated.java: Likewise.
32227 * gnu/regexp/RETokenStart.java: Likewise.
32228 * gnu/regexp/RETokenWordBoundary.java: Likewise.
32229 * gnu/regexp/RETokenIndependent.java: New file.
32230 * gnu/regexp/RETokenLookBehind.java: New file.
32232 2006-02-06 Roman Kennke <kennke@aicas.com>
32234 * java/awt/Component.java
32235 (firePropertyChange(String,byte,byte)): New method.
32236 (firePropertyChange(String,char,char)): New method.
32237 (firePropertyChange(String,short,short)): New method.
32238 (firePropertyChange(String,long,long)): New method.
32239 (firePropertyChange(String,float,float)): New method.
32240 (firePropertyChange(String,double,double)): New method.
32242 2006-02-06 Roman Kennke <kennke@aicas.com>
32244 * javax/swing/JComponent.java
32245 (AccessibleJComponent.changeSupport): Changed to be a
32246 java.beans.PropertyChangeSupport rather than
32247 SwingPropertyChangeSupport.
32248 (AccessibleJComponent.AccessibleJComponent()): Change initialization
32250 (changeSupport): Removed unneeded field.
32251 (removePropertyChangeListener): Removed unneeded methods.
32252 (addPropertyChangeListener): Removed unneeded methods.
32253 (getPropertyChangeListeners): Removed unneeded methods.
32254 (firePropertyChange(String,boolean,boolean)): Changed to simply
32255 call super. Added specnote.
32256 (firePropertyChange(String,char,char)): Changed to simply
32257 call super. Added specnote.
32258 (firePropertyChange(String,int,int)): Changed to simply
32259 call super. Added specnote.
32260 (firePropertyChange(String,byte,byte)): Removed.
32261 (firePropertyChange(String,Object,Object)): Removed.
32262 (firePropertyChange(String,double,double)): Removed.
32263 (firePropertyChange(String,float,float)): Removed.
32264 (firePropertyChange(String,long,long)): Removed.
32265 (firePropertyChange(String,short,short)): Removed.
32267 2006-02-06 Roman Kennke <kennke@aicas.com>
32269 * javax/swing/event/SwingPropertyChangeSupport.java
32270 (listeners): Removed field.
32271 (propertyListeners): Removed field.
32272 (source): Removed field.
32273 (SwingPropertyChangeSupport()): Removed initialization of removed
32275 (addPropertyChangeListener): Removed methods.
32276 (removePropertyChangeListener): Removed methods.
32277 (getPropertyChangeListeners): Removed methods.
32278 (firePropertyChange): Removed methods.
32279 (hasListeners): Removed methods.
32281 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32284 * java/net/InetAddress.java
32285 (readResolve): Implemented.
32287 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
32290 * java/io/ObjectInputStream.java
32291 (readNextBlock()): Handle TC_RESET.
32293 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32295 * javax/print/attribute/standard/Compression.java,
32296 * javax/print/attribute/standard/Finishings.java,
32297 * javax/print/attribute/standard/JobMediaSheets.java,
32298 * javax/print/attribute/standard/JobSheets.java,
32299 * javax/print/attribute/standard/JobState.java,
32300 * javax/print/attribute/standard/JobStateReason.java,
32301 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32302 * javax/print/attribute/standard/PrintQuality.java,
32303 * javax/print/attribute/standard/Media.java,
32304 * javax/print/attribute/standard/MultipleDocumentHandling.java,
32305 * javax/print/attribute/standard/PrinterStateReason.java,
32306 * javax/print/attribute/standard/PDLOverrideSupported.java:
32307 (getName): Make method final.
32308 (getCategory): Likewise.
32309 * javax/print/attribute/standard/MediaSize.java:
32310 (getName): Make method final.
32311 (getCategory): Likewise.
32312 (ISO): Added private default constructor.
32316 (Engineering): Likewise.
32318 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
32320 * native/jni/java-net/javanet.c (_javanet_connect):
32321 Throw ConnectException instead of IOException if connection failed.
32322 * native/jni/java-net/javanet.h:
32323 Add a define for java.net.ConnectException
32325 2006-02-05 Mark Wielaard <mark@klomp.org>
32328 reported by Egon Willighagen <egon.willighagen@gmail.com>
32329 * javax/swing/DefaultListCellRenderer.java
32330 (getListCellRendererComponent): Turn null value into empty string.
32332 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
32334 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32335 a Unicode block if the name starts with "In".
32336 (UnicodeBlockHandler): New inner class.
32338 2006-02-04 Roman Kennke <kennke@aicas.com>
32340 * java/awt/Container.java
32341 (getComponentZOrder): New method.
32342 (setComponentZOrder): New method.
32343 * javax/swing/JLayeredPane.java
32344 (setPosition): Reimplemented to use setComponentZOrder().
32345 (getIndexOf): Reimplemented to use getComponentZOrder().
32346 (addImpl): Pass layerContraint to super call. Important for possibly
32347 installed layout managers.
32348 (swapComponents): Remove unneeded method.
32350 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32352 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32353 DSAKeyPairGenerator.
32354 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32355 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32357 Surround call to adaptee in a try/catch.
32358 (initialize((DSAParams,SecureRandom)): New method.
32359 (initialize(int,boolean,SecureRandom)): New method.
32360 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32361 KeyPairGenerator rather than KeyPairGeneratorSpi.
32362 (KeyPairGeneratorAdapter): Call super with algorithm name.
32364 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
32366 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32367 (getDefaultPRNG): New method.
32368 (parseO): Use method above.
32369 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32370 (getDefaultPRNG): New method.
32371 (createO): Use method above.
32372 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32373 (nextByte): Use above field.
32374 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32375 * gnu/java/security/sig/rsa/RSA.java: New class field.
32376 (newR): Use above field
32377 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32378 (encode): Use field.above.
32379 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32380 (getDefaultPRNG): new method.
32381 (nextRandomBytes): Use above method.
32382 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32383 * gnu/java/security/sig/BaseSignature.java: Likewise.
32384 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32385 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32386 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32387 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32388 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32389 (getDefaultPRNG): new method.
32390 (nextRandomBytes): Use above method.
32391 (STRICT_DEFAULTS): new class field.
32392 (USE_DEFAULTS): more documentation to clarify behavior.
32393 (setup): amended to handle new attribute.
32394 * gnu/java/security/util/PRNG.java: New file.
32396 2006-02-03 Lillian Angel <langel@redhat.com>
32398 * javax/swing/plaf/basic/BasicColorChooserUI.java:
32399 chooser field should be protected, not package-private.
32401 2006-02-03 Lillian Angel <langel@redhat.com>
32403 * javax/swing/text/DefaultStyledDocument.java
32404 (changeUpdate): Cleaned up code.
32406 (insertUpdate): Set offset to be equal to pos after
32407 insertContentTag call.
32408 (insertContentTag): If paragraph has no children, should use
32409 replace instead of Edit.
32410 (insertFracture): Moved around code to prevent any exception. Also,
32411 left side of tree should not be recreated if it has already been
32412 edited. In that case, we should only be creating a new right branch
32414 (getEditForParagraphAndIndex): No need to check index. We should
32415 use the same edit for each paragraph.
32417 2006-02-03 Mark Wielaard <mark@klomp.org>
32419 * javax/swing/event/SwingPropertyChangeSupport.java
32420 (propertyListeners): Change type to HashMap.
32421 (SwingPropertyChangeSupport): Allocate HashMap.
32423 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
32425 * java/security/KeyPairGenerator.java (getInstance): Test for
32426 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32428 2006-02-02 Roman Kennke <kennke@aicas.com>
32430 * javax/swing/RepaintManager.java
32431 Made fields private.
32432 (RepaintWorker.run): Enclosed work stuff in try finally block in
32433 order to clean up correctly if invalidation or painting fails,
32434 otherwise we would get no more RepaintWorkers onto the EventQueue.
32435 Also, now the RepaintWorker is marked 'dead' only after it has
32436 finished its work, avoid more than one RepaintWorker on the queue.
32437 (ComponentComparator.compareTo): Compare dirty rectangle sizes
32438 instead of hierarchy depths.
32439 (workDirtyComponents): Removed unused field.
32440 (repaintOrder): Removed unused field.
32441 (workRepaintOrder): Removed unused field.
32442 (workInvalidComponents): Removed unused field.
32443 (RepaintManager()): Removed initialization of removed fields.
32444 (addInvalidComponent): Fine tuned synchronization.
32445 (removeInvalidComponent): Fine tune synchronization.
32446 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32447 synchronization. Don't manager repaintOrder here.
32448 (insertRepaintOrder): Removed method.
32449 (markCompletelyClean): Fine tuned synchronization.
32450 (validateInvalidComponents): Dont use a working copy of the
32451 invalidComponents list, instead fine tuned synchronization on this
32452 list. Also, don't search validateRoot, this is already done in
32453 addInvalidComponent().
32454 (paintDirtyRegions): Compute repaint order here, based on size of
32455 damaged regions. Fine tuned synchronization. Avoid use of working
32456 copies of dirtyComponent.
32458 2006-02-02 Lillian Angel <langel@redhat.com>
32460 * javax/swing/text/DefaultStyledDocument.java
32461 (insertUpdate): JoinNextDirection should push the
32462 'next' paragraph on the stack.
32464 2006-02-02 Lillian Angel <langel@redhat.com>
32466 * javax/swing/text/DefaultStyledDocument.java
32467 (insertUpdate): Rewrote code for Originate. This prevents
32468 leaves being created multiple times. If it is on the last
32469 ElementSpec, the leaves need to be created right then;
32470 otherwise, only a branch is created.
32471 (insertContentTag): Rewrote to add new leaf directly if
32472 this is a branch with no children. Otherwise, it
32473 recreates the remainder of the tree as before.
32475 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
32477 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32478 for making a list of REMatch instances.
32479 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32480 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32481 (match): Rewritten using REMatchList.
32482 (matchRest): Rewritten using REMatchList.
32484 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32486 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
32487 (friendsMove): Call repaint() only after endOfGame is assigned.
32489 2006-02-02 Mark Wielaard <mark@klomp.org>
32491 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32492 * java/util/AbstractCollection.java (toString): Only use Iterator,
32493 check whether collection contains itself.
32495 2006-02-01 Casey Marshall <csm@gnu.org>
32497 Partial fix for PR classpath/25143.
32498 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32499 (<init>): fill in `algName,' derive `algOid' from `algName.'
32500 (getOid): new method.
32501 (encode): embed NULL value for parameters if `params' is `null.'
32503 2006-02-01 Casey Marshall <csm@gnu.org>
32505 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32506 <monoman@gmail.com>.
32507 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32508 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32510 2006-02-01 Casey Marshall <csm@gnu.org>
32512 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32513 * gnu/java/security/der/DERValue.java
32514 (getLength, getEncoded, getEncodedLength): throw an exception,
32515 don't initialize `encoded' to a bogus value.
32516 (toString): return a more helpful string.
32518 Partial fix for PR classpath/25144.
32519 * gnu/java/security/der/DERWriter.java (write): if the value is
32520 the pseudo-value used for CONSTRUCTED, write the encoded value
32523 2006-02-01 Tom Tromey <tromey@redhat.com>
32525 * java/security/Security.java (loadProviders): Use system class
32528 2006-02-01 Mark Wielaard <mark@klomp.org>
32530 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32531 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32532 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32533 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32534 (UnicodeCategoriesHandler): New private static class.
32536 2006-02-01 Lillian Angel <langel@redhat.com>
32538 * javax/swing/text/DefaultStyledDocument.java:
32539 Removed unneeded fields.
32540 (insertUpdate): Removed field initialization.
32541 (insertContentTag): Rewrote part of function. Still
32544 2006-02-01 Lillian Angel <langel@redhat.com>
32546 * javax/swing/text/DefaultStyledDocument.java
32547 (insertParagraph): Cleaned up code.
32548 (insertFirstContentTag): Fixed call to recreateLeaves.
32549 (insertContentTag): Added check to code to determine where
32550 content should be inserted with respect to next element.
32551 (createFracture): Removed check, recreateLeaves is called in
32552 other places when needed.
32553 (recreateLeaves): Added new parameter for paragraph instead
32554 of checking the stack. Removed editing for newBranch, replaced
32555 with a replace call.
32557 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
32559 * doc/unicode/Blocks-4.0.0.txt: New file.
32560 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
32561 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32562 * scripts/unicode-blocks.pl: Copied this over from the generics branch
32563 but replaced some 1.5-only features (such as enum).
32565 2006-01-31 Roman Kennke <kennke@aicas.com>
32567 * javax/swing/text/PasswordView.java
32568 (drawSelectedText): Use drawEchoCharacter() method to draw echo
32570 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32573 2006-01-31 Roman Kennke <kennke@aicas.com>
32575 * javax/swing/JTextField.java
32576 (getPreferredSize): Also include textfield's insets in width
32579 2006-01-31 Roman Kennke <kennke@aicas.com>
32581 * javax/swing/plaf/basic/BasicTextUI.java
32582 (getPreferredSize): Include the textcomponent's insets in
32585 2006-01-31 Roman Kennke <kennke@aicas.com>
32587 * javax/swing/table/DefaultTableCellRenderer.java
32588 (getTableCellRendererComponent): Moved setting of the value into
32589 setValue(). Removed (bogus) special handling of JTextField values.
32590 (setValue): Made ?: statement more clear by rewriting it
32593 2006-01-31 Roman Kennke <kennke@aicas.com>
32595 * javax/swing/JLayeredPane.java
32596 (insertIndexForLayer): Fixed algorithm to correctly determine
32597 inser index for positions >= 0.
32598 (addImpl): Fixed API docs for the index parameter.
32600 2006-01-31 Mark Wielaard <mark@klomp.org>
32602 * java/net/URI.java (getURIGroup): Check for null to see whether
32603 group actually exists.
32605 2006-01-31 Lillian Angel <langel@redhat.com>
32607 * javax/swing/text/DefaultStyledDocument.java
32608 (changeUpdate): Fixed calls to split to incorporate
32610 (insertParagraph): Likewise. Uses 0 as editIndex
32611 because inserting into a new paragraph.
32612 (insertContentTag): Fixed check to use
32613 recreateLeaves. Added a FIXME comment.
32614 (split): Added a new parameter for edits.
32616 2006-01-31 Roman Kennke <kennke@aicas.com>
32618 * javax/swing/plaf/basic/BasicRootPaneUI.java
32619 (installDefaults): Don't install a background color here.
32621 2006-01-31 Lillian Angel <langel@redhat.com>
32623 * javax/swing/text/DefaultStyledDocument.java
32624 (insert): Removed comment.
32625 (insertUpdate): Added comment.
32626 (recreateLeaves): Removed call to push newBranch onto the
32627 stack. This does not need to be done here.
32629 2006-01-31 Chris Burdess <dog@gnu.org>
32631 * gnu/xml/stream/SAXParser.java,
32632 gnu/xml/stream/UnicodeReader.java,
32633 gnu/xml/stream/XIncludeFilter.java,
32634 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32635 only resolved the system ID not the stream. Make some utility methods
32636 public and static for use by other private XML APIs.
32637 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32638 called without throwing IllegalStateException.
32639 * java/util/logging/SimpleFormatter.java: Write thrown exception if
32642 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32645 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32646 for an invalid index and return null for a skipped group.
32648 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
32651 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32652 (NamedProperty): New inner class.
32653 (getNamedProperty): New method.
32654 (getRETokenNamedProperty): New Method.
32655 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32656 * gnu/regexp/RETokenNamedProperty.java: New file.
32658 2006-01-31 Roman Kennke <kennke@aicas.com>
32660 * javax/swing/plaf/PlainView.java
32661 (paint): Call drawLine with baseline coordinates.
32662 (drawLine): Documented and indented this method.
32663 (drawUnselecetedText): Documented and indented this method.
32664 * javax/swing/plaf/text/Utilites.java
32665 (drawTabbedText): The coordinates denote the baseline of the text
32666 not the upper left corner.
32668 2006-01-31 Roman Kennke <kennke@aicas.com>
32670 * javax/swing/plaf/basic/BasicTextUI.java
32671 (createKeymap): Don't store KeyBindings[] as focusInputMap in
32672 UIManager. Added FIXME regarding the implementation of this method.
32674 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32676 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32677 (ButtonDemo): Move content initialisation to new method,
32678 (initFrameContent): New method,
32679 (main): Call initFrameContent(),
32680 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32681 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32682 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32683 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32684 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32686 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
32688 * examples/gnu/classpath/examples/swing/Demo.java
32689 (Demo): Set frame size,
32690 (mkButtonBar): Removed stacked sub-panels.
32692 2006-01-30 Lillian Angel <langel@redhat.com>
32694 * javax/swing/text/DefaultStyledDocument.java:
32696 (insert): Initialized fields. Removed call to addEdit,
32697 and created ElementEdit instead.
32698 (insertUpdate): Added check for fracturing. If the
32699 fracturing was not successful, we should push the
32700 last element back on the stack.
32701 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32702 Also, changed replace calls to use Edit.
32703 (insertFirstContentTag): Removed unneeded check and fixed call
32705 (insertContent): Fixed check to use new fields. Added code in
32706 to check if leaves overlap.
32707 (createFracture): Fixed call to recreateLeaves.
32708 (recreateLeaves): Fixed code and cleaned it up a bit.
32709 (insertFracture): Set fracNotCreated field.
32710 (addEdit): Removed, this method is not needed.
32712 2006-01-30 Roman Kennke <kennke@aicas.com>
32714 * javax/swing/JRootPane.java
32715 (RootLayout.prefSize): Removed caching for preferredSize.
32716 (RootLayout.invalidateLayout): Likewise.
32717 (RootLayout.preferredLayoutSize): Likewise.
32719 2006-01-30 Roman Kennke <kennke@aicas.com>
32722 * javax/swing/JFrame.java
32723 (frameInit): Handle the defaultLookAndFeelDecorated flag.
32724 * javax/swing/plaf/metal/MetalRootPaneUI.java
32725 (MetalFrameBorder): New inner class, provides the border for
32726 top level containers with L&F decorations.
32727 (MetalTitlePane): New inner class, provides the title pane for
32728 top level containers with L&F decorations.
32729 (MetalRootLayout): New inner class. Used to layout the root pane
32730 when L&F window decorations are enabled.
32731 (installUI): New method. Handles window decorations.
32732 (uninstallUI): New method. Handles window decorations.
32733 (propertyChange): Handles window decorations.
32734 (installWindowDecorations): New method. Handles window
32736 (uninstallWindowDecorations): New method. Handles window
32738 * javax/swing/plaf/metal/MetalLookAndFeel.java
32739 (getSupportsWindowDecorations): Overridden to return true.
32741 2006-01-30 Mark Wielaard <mark@klomp.org>
32743 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32744 IllegalArgumentException when orientation is illegal.
32745 (JProgressBar(int, int, int)): Likewise and throw exception.
32746 (setOrientation): Likewise.
32748 2006-01-30 Roman Kennke <kennke@aicas.com>
32750 * javax/swing/ViewportLayout.java
32751 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32753 2006-01-30 Mark Wielaard <mark@klomp.org>
32755 * javax/swing/JProgressBar.java (orientation): Always set by
32757 (JProgressBar(int)): Document default on 'illegal' value.
32758 (JProgressBar(int, int, int)): Likewise and set orientation to
32759 HORIZONTAL when 'illegal'.
32760 (setOrientation): Likewise.
32762 2006-01-30 Roman Kennke <kennke@aicas.com>
32764 * javax/swing/plaf/basic/BasicListUI.java
32765 (ListDataHandler.contentsChanged): Update the
32766 updateLayoutStateNeeded flag.
32767 (ListDataHandler.intervalAdded): Update the
32768 updateLayoutStateNeeded flag.
32769 (ListDataHandler.intervalRemoved): Update the
32770 updateLayoutStateNeeded flag.
32771 (PropertyChangeHandler.propertyChange): Correctly update the
32772 listeners on new list model.
32773 (maybeUpdateLayoutState): Don't consider the validation state
32776 2006-01-30 Mark Wielaard <mark@klomp.org>
32778 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32781 2006-01-30 Roman Kennke <kennke@aicas.com>
32783 * javax/swing/JLayeredPane.java
32784 (insertIndexForLayer): Fixed algorithm to correctly insert
32785 components within different layers and -1 position.
32787 2006-01-30 Mark Wielaard <mark@klomp.org>
32789 * doc/api/Makefile.am (create_html): Add -validhtml.
32791 2006-01-30 Roman Kennke <kennke@aicas.com>
32793 * javax/swing/JLayeredPane.java
32794 (insertIndexForLayer): Fixed algorithm to correctly insert
32795 components within same layer and -1 position.
32797 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
32800 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32801 New execution flag.
32802 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32803 implicit RETokenEnd at the end of the regexp chain.
32804 Do not select the longest match, but select the first match.
32805 (match): Do not take care of REMatch.empty.
32806 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32807 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32808 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32809 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32810 Do not take care of REMatch.empty. Set and check REMatch.empty
32811 when trying to match the single token.
32813 2006-01-30 Mark Wielaard <mark@klomp.org>
32815 * java/awt/Cursor.java (toString): Include name and type.
32817 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
32819 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32821 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32823 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32826 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
32827 Consider the validation state of the list.
32829 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
32831 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32833 * java/beans/XMLDecoder.java:
32834 (setExceptionListener): Use shared DefaultExceptionListener
32836 * java/beans/Encoder.java:
32837 (setExceptionListener): Use shared DefaultExceptionListener
32840 2006-01-29 Roman Kennke <kennke@aicas.com>
32842 * javax/swing/ScrollPaneLayout.java
32843 (minimumLayoutSize): Rewritten to match JDKs behaviour.
32845 2006-01-29 Mark Wielaard <mark@klomp.org>
32847 * java/net/SocketPermission.java (setActions): Trim and lower case
32850 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
32852 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32853 incorrectly failing primality test for some known primes. Fixed.
32854 (passFermatLittleTheorem): Removed.
32855 (passMillerRabin): Removed.
32856 (isProbablePrime): Cache primes that pass the primality tests.
32857 Use BigInteger.isProbablePrime(int) for primality tests.
32858 (debugBI): New static debugging method.
32860 2006-01-28 Roman Kennke <kennke@aicas.com>
32862 * javax/swing/plaf/basic/BasicListUI.java
32863 (updateLayoutState): Removed unneeded special case for VERTICAL.
32865 2006-01-28 Roman Kennke <kennke@aicas.com>
32867 * javax/swing/plaf/basic/BasicListUI.java
32868 (getCellBounds): Determine correct list width when having a
32869 layoutOrientation of VERTICAL.
32870 (maybeUpdateLayoutState): Don't consider the validation state of
32873 2006-01-28 Mark Wielaard <mark@klomp.org>
32875 Reported by Dimitri Fontaine <dimitri@dalibo.com>
32876 * java/awt/print/NoPrinterJob.java: New (fake) class.
32877 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32879 2006-01-28 Mark Wielaard <mark@klomp.org>
32881 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32883 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32885 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32886 (addChildren): New method.
32888 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
32890 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32891 constructor for cloning purposes.
32892 (clone): New implementation that ensures cloning.
32893 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32894 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32897 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32899 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32900 Call updateCurrentVisiblePath.
32902 2006-01-27 Roman Kennke <kennke@aicas.com>
32904 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32906 2006-01-27 Roman Kennke <kennke@aicas.com>
32908 * examples/gnu/classpath/examples/swing/ButtonDemo.java
32909 (createContent): Only create new content if we don't have one
32911 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32912 (createContent): Only create new content if we don't have one
32914 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32915 (createContent): Only create new content if we don't have one
32917 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32918 (createContent): Only create new content if we don't have one
32920 * examples/gnu/classpath/examples/swing/SliderDemo.java
32921 (createContent): Only create new content if we don't have one
32923 * examples/gnu/classpath/examples/swing/TableDemo.java
32924 (createContent): Only create new content if we don't have one
32926 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
32927 (createContent): Only create new content if we don't have one
32930 2006-01-27 Lillian Angel <langel@redhat.com>
32932 * javax/swing/text/DefaultStyledDocument.java
32933 (insertFirstContentTag): Removed check, not needed. This
32934 still needs to be fixed for some cases. Added call to
32936 (createFracture): Added call to recreateLeaves.
32937 (recreateLeaves): New method used to recreate all the
32938 leaves after the initial insertion. This still needs
32940 (handleInsertAfterNewline): Removed else, not needed.
32942 2006-01-27 Roman Kennke <kennke@aicas.com>
32944 * javax/swing/JLayeredPane.java
32945 (inserIndexForLayer): Fixed direction of search.
32947 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
32949 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
32950 node into nodeStates.
32952 2006-01-27 Roman Kennke <kennke@aicas.com>
32954 * javax/swing/JLayeredPane.java
32955 (FRAME_CONTENT_LAYER): Made field final.
32956 (componentToLayer): Made field private.
32957 (rectCache): Removed field.
32958 (layers): Removed field.
32959 (JLayeredPane()): Removed initialization of removed fields.
32960 (getLayer): Rewritten to make use of client properties in
32961 JComponents and to be more straighforward.
32962 (static getLayer): Rewritten to make use of client properties in
32964 (layerToRange): Removed method.
32965 (incrLayer): Removed method.
32966 (decrLayer): Removed method.
32967 (highestLayer): Rewritten to be more straightforward.
32968 (lowestLayer): Rewritten to be more straightforward.
32969 (getPosition): Rewritten to be more straightforward.
32970 (getComponentsInLayer): Rewritten to be more straightforward.
32971 (getComponentCountInLayer): Rewritten to be more straightforward.
32972 (getIndexOf): Rewritten to be more straightforward.
32973 (inserIndexForLayer): Rewritten to be more straightforward.
32974 (remove): Rewritten to be more straightforward.
32975 (setLayer): Rewritten to be more straightforward.
32976 (addImpl): Rewritten to be more straightforward.
32977 (putLayer): Rewritten to be more straightforward.
32979 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
32981 * java/lang/Character.java:
32982 (offsetByCodePoints(CharSequence, int, int)): New API method.
32983 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
32984 (toChars): Throw the Exception that the docs say we throw.
32985 (codePointAt): Fixed an off-by-one error in the bounds of the if
32987 * java/lang/String.java:
32988 (String(int[], int, int)): New API constructor.
32990 2006-01-27 Lillian Angel <langel@redhat.com>
32992 * javax/swing/text/DefaultStyledDocument.java
32993 (insert): Moved this loop to insertUpdate.
32994 (insertUpdate): Likewise. Fixed variable
32995 names. Incremented pos if new paragraph
32997 (split): Changed edits to use replace instead. Prevents
32999 (insertFirstContentTag): Removed else.
33000 (insertContentTag): Implemented else for JoinNextDirection.
33001 (createFracture): Fixed up code, still not fully complete.
33002 (insertFracture): Fixed to use return value from
33003 recreateAfterFracture.
33004 (recreateAfterFracture): Changed to return an array of the
33005 elements to be added. This prevents an assertion error.
33006 (contains): New function checks if an element is already in
33007 the Vector. Vector's contain function was not enough to use.
33008 (addAddedElement): Changed to use new contains function.
33009 (addAddedElements): Likewise.
33010 (addRemovedElement): Likewise.
33011 (addRemovedElements): Likewise.
33013 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33016 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33017 If no user class loaders found on the stack, return the thread
33018 context class loader. (currentClassLoader): Explained.
33020 2006-01-27 Roman Kennke <kennke@aicas.com>
33022 * java/awt/Container.java
33023 (swapComponents): Removed unspecified method.
33024 * javax/swing/JLayeredPane.java
33025 (setPosition): Reimplemented correctly.
33026 (swapComponents): New helper method.
33028 2006-01-27 Mark Wielaard <mark@klomp.org>
33030 * configure.ac: Set version to 0.21-pre.
33032 2006-01-27 Roman Kennke <kennke@aicas.com>
33035 * javax/swing/JComponent.java
33036 (findOverlapFreeParent): Improved the algorithm to make better use
33037 of the optimizedDrawingEnabled flag.
33038 * javax/swing/JLayeredPane.java
33039 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33040 * javax/swing/JViewport.java
33041 (computeBlit): Fixed check to decide if blitting is possible or not,
33042 so that it doesn't blit if nothing was scrolled (in order to
33043 update the buffer when the view updates itself).
33045 2006-01-27 Roman Kennke <kennke@aicas.com>
33047 * javax/swing/plaf/metal/MetalFileChooserUI.java
33048 (createList): Don't set scrollbar policy.
33050 2006-01-27 Roman Kennke <kennke@aicas.com>
33052 * javax/swing/plaf/basic/BasicPopupMenuUI.java
33053 (PopupMenuHandler.popupMenuWillBecomeInvisible):
33054 Fixed to also handle non-Swing toplevel containers.
33055 (PopupMenuHandler.popupMenuWillBecomeVisible):
33056 Fixed to also handle non-Swing toplevel containers.
33057 * javax/swing/Popup.java
33058 (JWindowPopup.JWindowPopup()): Correctly set parent window on
33061 2006-01-27 Roman Kennke <kennke@aicas.com>
33063 * javax/swing/plaf/basic/BasicInternalFrameUI.java
33064 (InternalFramePropertyChangeListener): Don't implement
33065 VetoableChangeListener.
33066 (InternalFramePropertyChangeListener.vetoableChange): Removed.
33067 (internalFrameVetoableChangeListener): Removed unneeded field.
33068 (installListeners): Don't install vetoableChangeListener.
33069 * javax/swing/event/DocumentEvent.java
33070 (EventType): Made class final.
33072 2006-01-27 Roman Kennke <kennke@aicas.com>
33074 * javax/swing/SwingUtilities.java
33075 (calculateInsetArea): Removed unneeded method. The method
33076 calculateInnerArea has the same purpose and is actually specified.
33077 (calculateInnerArea): Rewritten to not use calculateInsetArea.
33078 * javax/swing/plaf/basic/BasicMenuItemUI.java
33079 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33080 of SwingUtilities.calculateInsetArea().
33082 2006-01-27 Roman Kennke <kennke@aicas.com>
33084 * javax/swing/plaf/basic/BasicTreeUI.java
33085 (installDefaults): Removed requestFocusInWindow() call.
33086 * javax/swing/JComponent.java
33087 (requestFocusInWindow(boolean)): Made method protected.
33088 (printComponent): Made method protected.
33089 (printChildren): Made method protected.
33090 (printComponent): Made method protected.
33091 (printBorder): Made method protected.
33093 2006-01-27 Roman Kennke <kennke@aicas.com>
33095 * javax/swing/AbstractButton.java
33096 (ButtonChangeListener.ButtonChangeListener()): Made constructor
33098 * javax/swing/ImageIcon.java
33099 (component): Made field final.
33100 (tracker): Made field final.
33101 * javax/swing/JApplet.java
33102 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33103 * javax/swing/JCheckBox.java
33104 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33106 * javax/swing/JDialog.java
33107 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33108 * javax/swing/JFrame.java
33109 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33110 * javax/swing/JLayeredPane.java
33111 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33113 (DEFAULT_LAYER): Made field final.
33114 (PALETTE_LAYER): Made field final.
33115 (MODAL_LAYER): Made field final.
33116 (POPUP_LAYER): Made field final.
33117 (DRAG_LAYER): Made field final.
33118 * javax/swing/JMenu.java
33119 (ActionChangeListener): Made class private.
33120 * javax/swing/JOptionPane.java
33121 (UNITITIALIZED_VALUE): Made field final.
33122 * javax/swing/JPanel.java
33123 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33124 * javax/swing/JPopupMenu.java
33125 (ActionChangeListener): Made class private.
33126 * javax/swing/JTree.java
33127 (paramString): Made method protected.
33128 * javax/swing/JViewport.java
33129 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33130 * javax/swing/JWindow.java
33131 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33132 * javax/swing/RepaintManager.java
33133 (RepaintWorker): Made class private.
33135 2006-01-27 Roman Kennke <kennke@aicas.com>
33137 * gnu/java/awt/peer/swing/SwingComponentPeer.java
33138 (handleEvent): Removed debug statement.
33140 2006-01-27 Roman Kennke <kennke@aicas.com>
33142 * java/awt/Component.java
33143 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33144 more than it helps.
33146 2006-01-26 Lillian Angel <langel@redhat.com>
33148 * javax/swing/text/DefaultStyledDocument.java
33149 (createFracture): Commented out a known problem,
33152 2006-01-26 Lillian Angel <langel@redhat.com>
33154 * javax/swing/text/DefaultStyledDocument.java
33155 (ElementBuffer): Added fields.
33156 (remove): Initialized pos.
33157 (change): Likewise.
33158 (insert): Likewise.
33159 (insertUpdate): Incremented pos. Fixed check, createFracture should
33160 be called on first tag if it is not ContentType.
33161 (insertFirstContentTag): Reworked to use proper offsets and
33162 set offset accordingly. This might need more work in the future.
33163 (insertContentTag): Likewise. Fixed to use pos, instead of
33165 (createFracture): Fixed to recreate other leaves. Still needs
33167 (insertFracture): Reimplemented.
33168 (recreateAfterFracture): New method.
33169 (getParagraphElement): Reimplemented, more efficent.
33171 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
33173 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33174 (doubleToRawLongBits, longBitsToDouble): Swap the byte
33175 ordering for little-endian arms without VFP.
33177 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
33180 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33182 2006-01-26 Mark Wielaard <mark@klomp.org>
33184 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33185 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33186 Add trailing zeros to the fraction of the decimal with the smallest
33189 2006-01-26 Roman Kennke <kennke@aicas.com>
33191 * javax/swing/text/html/ObjectView.java: New file.
33193 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33195 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
33196 Call startEditing when appropriate.
33197 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33198 (startEditing): Always edit if directly ordered from
33199 MouseHandler.mousePressed.
33200 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
33201 New field. (createTreeCellEditor): Set click count to start.
33202 (getTreeCellEditorComponent): Assing realEditor directly.
33204 2006-01-25 Casey Marshall <csm@gnu.org>
33206 Merging GNU Crypto and Jessie.
33208 * NEWS: mention the merge in the 0.21 notes.
33209 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33210 (SSL_RECORD_LAYER): new constants.
33211 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33213 * resource/java/security/classpath.security: add new providers.
33214 * gnu/javax/crypto/assembly/Assembly.java,
33215 gnu/javax/crypto/assembly/Cascade.java,
33216 gnu/javax/crypto/assembly/CascadeStage.java,
33217 gnu/javax/crypto/assembly/CascadeTransformer.java,
33218 gnu/javax/crypto/assembly/DeflateTransformer.java,
33219 gnu/javax/crypto/assembly/Direction.java,
33220 gnu/javax/crypto/assembly/LoopbackTransformer.java,
33221 gnu/javax/crypto/assembly/ModeStage.java,
33222 gnu/javax/crypto/assembly/Operation.java,
33223 gnu/javax/crypto/assembly/PaddingTransformer.java,
33224 gnu/javax/crypto/assembly/Stage.java,
33225 gnu/javax/crypto/assembly/Transformer.java,
33226 gnu/javax/crypto/assembly/TransformerException.java,
33227 gnu/javax/crypto/cipher/Anubis.java,
33228 gnu/javax/crypto/cipher/BaseCipher.java,
33229 gnu/javax/crypto/cipher/Blowfish.java,
33230 gnu/javax/crypto/cipher/Cast5.java,
33231 gnu/javax/crypto/cipher/CipherFactory.java,
33232 gnu/javax/crypto/cipher/DES.java,
33233 gnu/javax/crypto/cipher/IBlockCipher.java,
33234 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33235 gnu/javax/crypto/cipher/Khazad.java,
33236 gnu/javax/crypto/cipher/NullCipher.java,
33237 gnu/javax/crypto/cipher/Rijndael.java,
33238 gnu/javax/crypto/cipher/Serpent.java,
33239 gnu/javax/crypto/cipher/Square.java,
33240 gnu/javax/crypto/cipher/TripleDES.java,
33241 gnu/javax/crypto/cipher/Twofish.java,
33242 gnu/javax/crypto/cipher/WeakKeyException.java,
33243 gnu/javax/crypto/jce/GnuCrypto.java,
33244 gnu/javax/crypto/jce/GnuSasl.java,
33245 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33246 gnu/javax/crypto/jce/cipher/AESSpi.java,
33247 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33248 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33249 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33250 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33251 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33252 gnu/javax/crypto/jce/cipher/DESSpi.java,
33253 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33254 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33255 gnu/javax/crypto/jce/cipher/PBES2.java,
33256 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33257 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33258 gnu/javax/crypto/jce/cipher/SquareSpi.java,
33259 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33260 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33261 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33262 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33263 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33264 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33265 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33266 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33267 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33268 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33269 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33270 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33271 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33272 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33273 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33274 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33275 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33276 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33277 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33278 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33279 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33280 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33281 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33282 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33283 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33284 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33285 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33286 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33287 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33288 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33289 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33290 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33291 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33292 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33293 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33294 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33295 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33296 gnu/javax/crypto/jce/mac/MacAdapter.java,
33297 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33298 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33299 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33300 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33301 gnu/javax/crypto/jce/mac/OMacImpl.java,
33302 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33303 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33304 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33305 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33306 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33307 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33308 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33309 gnu/javax/crypto/jce/mac/UHash32Spi.java,
33310 gnu/javax/crypto/jce/mac/UMac32Spi.java,
33311 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33312 gnu/javax/crypto/jce/params/DEREncodingException.java,
33313 gnu/javax/crypto/jce/params/DERReader.java,
33314 gnu/javax/crypto/jce/params/DERWriter.java,
33315 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33316 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33317 gnu/javax/crypto/jce/prng/FortunaImpl.java,
33318 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33319 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33320 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33321 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33322 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33323 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33324 gnu/javax/crypto/key/GnuSecretKey.java,
33325 gnu/javax/crypto/key/IKeyAgreementParty.java,
33326 gnu/javax/crypto/key/IncomingMessage.java,
33327 gnu/javax/crypto/key/KeyAgreementException.java,
33328 gnu/javax/crypto/key/KeyAgreementFactory.java,
33329 gnu/javax/crypto/key/OutgoingMessage.java,
33330 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33331 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33332 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33333 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33334 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33335 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33336 gnu/javax/crypto/key/dh/ElGamalSender.java,
33337 gnu/javax/crypto/key/dh/GnuDHKey.java,
33338 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33339 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33340 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33341 gnu/javax/crypto/key/dh/RFC2631.java,
33342 gnu/javax/crypto/key/srp6/SRP6Host.java,
33343 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33344 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33345 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33346 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33347 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33348 gnu/javax/crypto/key/srp6/SRP6User.java,
33349 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33350 gnu/javax/crypto/key/srp6/SRPKey.java,
33351 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33352 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33353 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33354 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33355 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33356 gnu/javax/crypto/keyring/BaseKeyring.java,
33357 gnu/javax/crypto/keyring/BinaryDataEntry.java,
33358 gnu/javax/crypto/keyring/CertPathEntry.java,
33359 gnu/javax/crypto/keyring/CertificateEntry.java,
33360 gnu/javax/crypto/keyring/CompressedEntry.java,
33361 gnu/javax/crypto/keyring/EncryptedEntry.java,
33362 gnu/javax/crypto/keyring/Entry.java,
33363 gnu/javax/crypto/keyring/EnvelopeEntry.java,
33364 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33365 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33366 gnu/javax/crypto/keyring/IKeyring.java,
33367 gnu/javax/crypto/keyring/IPrivateKeyring.java,
33368 gnu/javax/crypto/keyring/IPublicKeyring.java,
33369 gnu/javax/crypto/keyring/MalformedKeyringException.java,
33370 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33371 gnu/javax/crypto/keyring/MeteredInputStream.java,
33372 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33373 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33374 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33375 gnu/javax/crypto/keyring/PrimitiveEntry.java,
33376 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33377 gnu/javax/crypto/keyring/Properties.java,
33378 gnu/javax/crypto/keyring/PublicKeyEntry.java,
33379 gnu/javax/crypto/mac/BaseMac.java,
33380 gnu/javax/crypto/mac/HMac.java,
33381 gnu/javax/crypto/mac/HMacFactory.java,
33382 gnu/javax/crypto/mac/IMac.java,
33383 gnu/javax/crypto/mac/MacFactory.java,
33384 gnu/javax/crypto/mac/MacInputStream.java,
33385 gnu/javax/crypto/mac/MacOutputStream.java,
33386 gnu/javax/crypto/mac/OMAC.java,
33387 gnu/javax/crypto/mac/TMMH16.java,
33388 gnu/javax/crypto/mac/UHash32.java,
33389 gnu/javax/crypto/mac/UMac32.java,
33390 gnu/javax/crypto/mode/BaseMode.java,
33391 gnu/javax/crypto/mode/CBC.java,
33392 gnu/javax/crypto/mode/CFB.java,
33393 gnu/javax/crypto/mode/CTR.java,
33394 gnu/javax/crypto/mode/EAX.java,
33395 gnu/javax/crypto/mode/ECB.java,
33396 gnu/javax/crypto/mode/IAuthenticatedMode.java,
33397 gnu/javax/crypto/mode/ICM.java,
33398 gnu/javax/crypto/mode/IMode.java,
33399 gnu/javax/crypto/mode/ModeFactory.java,
33400 gnu/javax/crypto/mode/OFB.java,
33401 gnu/javax/crypto/pad/BasePad.java,
33402 gnu/javax/crypto/pad/IPad.java,
33403 gnu/javax/crypto/pad/PKCS1_V1_5.java,
33404 gnu/javax/crypto/pad/PKCS7.java,
33405 gnu/javax/crypto/pad/PadFactory.java,
33406 gnu/javax/crypto/pad/SSL3.java,
33407 gnu/javax/crypto/pad/TBC.java,
33408 gnu/javax/crypto/pad/TLS1.java,
33409 gnu/javax/crypto/pad/WrongPaddingException.java,
33410 gnu/javax/crypto/prng/ARCFour.java,
33411 gnu/javax/crypto/prng/CSPRNG.java,
33412 gnu/javax/crypto/prng/Fortuna.java,
33413 gnu/javax/crypto/prng/ICMGenerator.java,
33414 gnu/javax/crypto/prng/IPBE.java,
33415 gnu/javax/crypto/prng/PBKDF2.java,
33416 gnu/javax/crypto/prng/PRNGFactory.java,
33417 gnu/javax/crypto/prng/UMacGenerator.java,
33418 gnu/javax/crypto/sasl/AuthInfo.java,
33419 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33420 gnu/javax/crypto/sasl/ClientFactory.java,
33421 gnu/javax/crypto/sasl/ClientMechanism.java,
33422 gnu/javax/crypto/sasl/ConfidentialityException.java,
33423 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33424 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33425 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33426 gnu/javax/crypto/sasl/InputBuffer.java,
33427 gnu/javax/crypto/sasl/IntegrityException.java,
33428 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33429 gnu/javax/crypto/sasl/NoSuchUserException.java,
33430 gnu/javax/crypto/sasl/OutputBuffer.java,
33431 gnu/javax/crypto/sasl/SaslEncodingException.java,
33432 gnu/javax/crypto/sasl/SaslInputStream.java,
33433 gnu/javax/crypto/sasl/SaslOutputStream.java,
33434 gnu/javax/crypto/sasl/SaslUtil.java,
33435 gnu/javax/crypto/sasl/ServerFactory.java,
33436 gnu/javax/crypto/sasl/ServerMechanism.java,
33437 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33438 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33439 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33440 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33441 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33442 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33443 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33444 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33445 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33446 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33447 gnu/javax/crypto/sasl/plain/PasswordFile.java,
33448 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33449 gnu/javax/crypto/sasl/plain/PlainClient.java,
33450 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33451 gnu/javax/crypto/sasl/plain/PlainServer.java,
33452 gnu/javax/crypto/sasl/srp/CALG.java,
33453 gnu/javax/crypto/sasl/srp/ClientStore.java,
33454 gnu/javax/crypto/sasl/srp/IALG.java,
33455 gnu/javax/crypto/sasl/srp/KDF.java,
33456 gnu/javax/crypto/sasl/srp/PasswordFile.java,
33457 gnu/javax/crypto/sasl/srp/SRP.java,
33458 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33459 gnu/javax/crypto/sasl/srp/SRPClient.java,
33460 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33461 gnu/javax/crypto/sasl/srp/SRPServer.java,
33462 gnu/javax/crypto/sasl/srp/SecurityContext.java,
33463 gnu/javax/crypto/sasl/srp/ServerStore.java,
33464 gnu/javax/crypto/sasl/srp/StoreEntry.java,
33465 gnu/javax/net/ssl/Base64.java,
33466 gnu/javax/net/ssl/EntropySource.java,
33467 gnu/javax/net/ssl/NullManagerParameters.java,
33468 gnu/javax/net/ssl/PrivateCredentials.java,
33469 gnu/javax/net/ssl/SRPManagerParameters.java,
33470 gnu/javax/net/ssl/SRPTrustManager.java,
33471 gnu/javax/net/ssl/StaticTrustAnchors.java,
33472 gnu/javax/net/ssl/provider/Alert.java,
33473 gnu/javax/net/ssl/provider/AlertException.java,
33474 gnu/javax/net/ssl/provider/Certificate.java,
33475 gnu/javax/net/ssl/provider/CertificateRequest.java,
33476 gnu/javax/net/ssl/provider/CertificateType.java,
33477 gnu/javax/net/ssl/provider/CertificateVerify.java,
33478 gnu/javax/net/ssl/provider/CipherSuite.java,
33479 gnu/javax/net/ssl/provider/ClientHello.java,
33480 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33481 gnu/javax/net/ssl/provider/CompressionMethod.java,
33482 gnu/javax/net/ssl/provider/Constructed.java,
33483 gnu/javax/net/ssl/provider/ContentType.java,
33484 gnu/javax/net/ssl/provider/Context.java,
33485 gnu/javax/net/ssl/provider/DiffieHellman.java,
33486 gnu/javax/net/ssl/provider/DigestInputStream.java,
33487 gnu/javax/net/ssl/provider/DigestOutputStream.java,
33488 gnu/javax/net/ssl/provider/Enumerated.java,
33489 gnu/javax/net/ssl/provider/Extension.java,
33490 gnu/javax/net/ssl/provider/Extensions.java,
33491 gnu/javax/net/ssl/provider/Finished.java,
33492 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33493 gnu/javax/net/ssl/provider/Handshake.java,
33494 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33495 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33496 gnu/javax/net/ssl/provider/Jessie.java,
33497 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33498 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33499 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33500 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33501 gnu/javax/net/ssl/provider/KeyPool.java,
33502 gnu/javax/net/ssl/provider/MacException.java,
33503 gnu/javax/net/ssl/provider/OverflowException.java,
33504 gnu/javax/net/ssl/provider/PRNG.java,
33505 gnu/javax/net/ssl/provider/ProtocolVersion.java,
33506 gnu/javax/net/ssl/provider/Random.java,
33507 gnu/javax/net/ssl/provider/RecordInput.java,
33508 gnu/javax/net/ssl/provider/RecordInputStream.java,
33509 gnu/javax/net/ssl/provider/RecordOutputStream.java,
33510 gnu/javax/net/ssl/provider/RecordingInputStream.java,
33511 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33512 gnu/javax/net/ssl/provider/SSLHMac.java,
33513 gnu/javax/net/ssl/provider/SSLRSASignature.java,
33514 gnu/javax/net/ssl/provider/SSLRandom.java,
33515 gnu/javax/net/ssl/provider/SSLServerSocket.java,
33516 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33517 gnu/javax/net/ssl/provider/SSLSocket.java,
33518 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33519 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33520 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33521 gnu/javax/net/ssl/provider/SecurityParameters.java,
33522 gnu/javax/net/ssl/provider/ServerHello.java,
33523 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33524 gnu/javax/net/ssl/provider/Session.java,
33525 gnu/javax/net/ssl/provider/SessionContext.java,
33526 gnu/javax/net/ssl/provider/Signature.java,
33527 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33528 gnu/javax/net/ssl/provider/TLSHMac.java,
33529 gnu/javax/net/ssl/provider/TLSRandom.java,
33530 gnu/javax/net/ssl/provider/Util.java,
33531 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33532 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33533 gnu/javax/net/ssl/provider/XMLSessionContext.java,
33534 gnu/javax/security/auth/Password.java,
33535 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33536 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33537 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33538 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33539 gnu/javax/security/auth/callback/GnuCallbacks.java,
33540 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33541 gnu/java/security/Registry.java,
33542 gnu/java/security/Properties.java,
33543 gnu/java/security/hash/BaseHash.java,
33544 gnu/java/security/hash/HashFactory.java,
33545 gnu/java/security/hash/Haval.java,
33546 gnu/java/security/hash/IMessageDigest.java,
33547 gnu/java/security/hash/MD2.java,
33548 gnu/java/security/hash/MD4.java,
33549 gnu/java/security/hash/MD5.java,
33550 gnu/java/security/hash/RipeMD128.java,
33551 gnu/java/security/hash/RipeMD160.java,
33552 gnu/java/security/hash/Sha160.java,
33553 gnu/java/security/hash/Sha256.java,
33554 gnu/java/security/hash/Sha384.java,
33555 gnu/java/security/hash/Sha512.java,
33556 gnu/java/security/hash/Tiger.java,
33557 gnu/java/security/hash/Whirlpool.java,
33558 gnu/java/security/jce/hash/HavalSpi.java,
33559 gnu/java/security/jce/hash/MD2Spi.java,
33560 gnu/java/security/jce/hash/MD4Spi.java,
33561 gnu/java/security/jce/hash/MD5Spi.java,
33562 gnu/java/security/jce/hash/MessageDigestAdapter.java,
33563 gnu/java/security/jce/hash/RipeMD128Spi.java,
33564 gnu/java/security/jce/hash/RipeMD160Spi.java,
33565 gnu/java/security/jce/hash/Sha160Spi.java,
33566 gnu/java/security/jce/hash/Sha256Spi.java,
33567 gnu/java/security/jce/hash/Sha384Spi.java,
33568 gnu/java/security/jce/hash/Sha512Spi.java,
33569 gnu/java/security/jce/hash/TigerSpi.java,
33570 gnu/java/security/jce/hash/WhirlpoolSpi.java,
33571 gnu/java/security/jce/prng/HavalRandomSpi.java,
33572 gnu/java/security/jce/prng/MD2RandomSpi.java,
33573 gnu/java/security/jce/prng/MD4RandomSpi.java,
33574 gnu/java/security/jce/prng/MD5RandomSpi.java,
33575 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33576 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33577 gnu/java/security/jce/prng/SecureRandomAdapter.java,
33578 gnu/java/security/jce/prng/Sha160RandomSpi.java,
33579 gnu/java/security/jce/prng/Sha256RandomSpi.java,
33580 gnu/java/security/jce/prng/Sha384RandomSpi.java,
33581 gnu/java/security/jce/prng/Sha512RandomSpi.java,
33582 gnu/java/security/jce/prng/TigerRandomSpi.java,
33583 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33584 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33585 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33586 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33587 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33588 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33589 gnu/java/security/jce/sig/SignatureAdapter.java,
33590 gnu/java/security/key/IKeyPairCodec.java,
33591 gnu/java/security/key/IKeyPairGenerator.java,
33592 gnu/java/security/key/KeyPairCodecFactory.java,
33593 gnu/java/security/key/KeyPairGeneratorFactory.java,
33594 gnu/java/security/key/dss/DSSKey.java,
33595 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33596 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33597 gnu/java/security/key/dss/DSSPrivateKey.java,
33598 gnu/java/security/key/dss/DSSPublicKey.java,
33599 gnu/java/security/key/dss/FIPS186.java,
33600 gnu/java/security/key/rsa/GnuRSAKey.java,
33601 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33602 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33603 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33604 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33605 gnu/java/security/prng/BasePRNG.java,
33606 gnu/java/security/prng/EntropySource.java,
33607 gnu/java/security/prng/IRandom.java,
33608 gnu/java/security/prng/LimitReachedException.java,
33609 gnu/java/security/prng/MDGenerator.java,
33610 gnu/java/security/prng/PRNGFactory.java,
33611 gnu/java/security/prng/RandomEvent.java,
33612 gnu/java/security/prng/RandomEventListener.java,
33613 gnu/java/security/sig/BaseSignature.java,
33614 gnu/java/security/sig/ISignature.java,
33615 gnu/java/security/sig/ISignatureCodec.java,
33616 gnu/java/security/sig/SignatureFactory.java,
33617 gnu/java/security/sig/dss/DSSSignature.java,
33618 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33619 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33620 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33621 gnu/java/security/sig/rsa/EMSA_PSS.java,
33622 gnu/java/security/sig/rsa/RSA.java,
33623 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33624 gnu/java/security/sig/rsa/RSAPSSSignature.java,
33625 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33626 gnu/java/security/util/Base64.java,
33627 gnu/java/security/util/ExpirableObject.java,
33628 gnu/java/security/util/Prime2.java,
33629 gnu/java/security/util/Sequence.java,
33630 gnu/java/security/util/SimpleList.java,
33631 gnu/java/security/util/Util.java,
33632 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33633 new files imported from GNU Crypto and Jessie.
33635 2006-01-25 Tom Tromey <tromey@redhat.com>
33637 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33638 Fixed calculation of number of bytes to read.
33639 (size, count, meta, eof): Document.
33641 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
33643 * java/lang/Character.java:
33644 (codePointCount(char[], int, int)): New API method.
33645 (codePointCount(CharSequence, int, int)): Likewise.
33647 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
33650 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
33652 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
33653 action if not editing.
33654 * javax/swing/plaf/basic/BasicTreeUI.java
33655 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33656 (CellEditorHandler.editingStopped): Delegate to stopEditing.
33657 (EditorUpdateTimer): Removed.
33658 (TreeAction.actionPerformed): Stop and not cancel the current editing
33659 when starting editing another node.
33660 (editorTimer, newVal): Removed.
33661 (cancelEditing): Do not send the cancel message.
33662 (completeEditing): Obtain the edited value from the editor.
33663 (finish): New method.
33664 (paintRow): Do not paint the editing component here.
33665 (startEditing, stopEditing): Rewritten.
33666 * javax/swing/tree/DefaultTreeCellEditor.java
33667 (DefaultTextField): Added SVUID.
33668 (EditorContainer): Rewritten.
33669 (RealEditorListener): New inner class.
33670 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33671 (constructor): Add cell editor listener. Do not instantiate timer.
33672 (actionPerformed): Return without action.
33673 (cancelCellEditing): Rewritten.
33674 (createTreeCellEditor): Add cell editor listener to the editor.
33675 (getCellEditorValue): Request the value from the realEditor.
33676 (isCellEditable): Removed timer management.
33677 (prepareForEditing): Remove all components befor adding the
33679 (startEditingTimer): Start only if it is not null.
33680 (stopCellEditing): Rewritten.
33681 (stopEditingTimer): New method.
33682 (valueChanged): Do not configure editing component here.
33684 2006-01-25 Roman Kennke <kennke@aicas.com>
33686 * javax/swing/text/html/FormView.java: New file.
33688 2006-01-25 Roman Kennke <kennke@aicas.com>
33690 * javax/swing/JSplitPane.java
33691 (addImpl): Call resetToPreferredSizes() when no dividerLocation
33692 has been set in order to set an initial layout.
33693 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33694 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33695 layout of the right component.
33696 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33697 dividerLocation to the size of the left component.
33698 (createDefaultNonContinuousLayoutDivider): Fetch the color from
33700 (setDividerLocation): Don't validate the location here. Sometimes
33701 the divider needs to be set to an invalid location.
33702 (startDragging): Don't revalidate and repaint here.
33703 (finishDraggingTo): Don't repaint here. Also, don't call
33704 dragDividerTo() here.
33705 * javax/swing/plaf/basic/BasicLookAndFeel.java
33706 (initComponentDefaults): Added SplitPaneDivider.draggingColor
33709 2006-01-25 Roman Kennke <kennke@aicas.com>
33711 * javax/swing/JSplitPane.java
33712 (addImpl): Removed invalidate() and layout() call.
33713 * javax/swing/plaf/basic/BasicSplitPaneUI.java
33714 (PropertyHandler.propertyChange): Remove layoutContainer() and
33717 2006-01-25 Roman Kennke <kennke@aicas.com>
33720 * native/Makefile.am
33721 * native/jni/classpath/Makefile.am
33722 * native/jni/classpath/jcl.c
33723 * native/jni/classpath/jcl.h
33724 * native/jni/classpath/native_state.c
33725 * native/jni/gtk-peer/Makefile.am
33726 * native/jni/java-io/Makefile.am
33727 * native/jni/java-io/java_io_VMFile.c
33728 * native/jni/java-io/java_io_VMObjectStreamClass.c
33729 * native/jni/java-lang/Makefile.am
33730 * native/jni/java-net/Makefile.am
33731 * native/jni/java-net/java_net_VMInetAddress.c
33732 * native/jni/java-net/javanet.c
33733 * native/jni/java-net/javanet.h
33734 * native/jni/java-nio/Makefile.am
33735 * native/jni/java-nio/gnu_java_nio_VMPipe.c
33736 * native/jni/java-nio/gnu_java_nio_VMSelector.c
33737 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33738 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33739 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33740 * native/jni/java-util/Makefile.am
33741 * native/jni/java-util/java_util_VMTimeZone.c
33742 * native/jni/midi-dssi/Makefile.am
33743 * native/jni/xmlj/Makefile.am
33744 * native/target/Makefile.am
33745 * native/target/Linux/target_native_math.h
33746 * native/target/Linux/target_native_memory.h
33747 * native/target/Linux/Makefile.am
33748 * native/target/Linux/target_native_io.h
33749 * native/target/Linux/target_native_math_float.h
33750 * native/target/Linux/target_native_math_int.h
33751 * native/target/generic/target_generic.c
33752 * native/target/generic/target_generic_io.c
33753 * native/target/generic/target_generic_math.h
33754 * native/target/generic/target_generic_memory.h
33755 * native/target/generic/target_generic_misc.c
33756 * native/target/generic/target_generic_network.c
33757 * native/target/generic/Makefile.am
33758 * native/target/generic/target_generic.h
33759 * native/target/generic/target_generic_file.h
33760 * native/target/generic/target_generic_io.h
33761 * native/target/generic/target_generic_math_float.h
33762 * native/target/generic/target_generic_math_int.h
33763 * native/target/generic/target_generic_misc.h
33764 * native/target/generic/target_generic_network.h:
33765 Reverted target native related changes back to the state of the
33767 * native/target/MinGW/.cvsignore
33768 * native/target/MinGW/Makefile.am
33769 * native/target/MinGW/target_native.h
33770 * native/target/MinGW/target_native_file.h
33771 * native/target/MinGW/target_native_io.h
33772 * native/target/MinGW/target_native_math.h
33773 * native/target/MinGW/target_native_memory.h
33774 * native/target/MinGW/target_native_misc.h
33775 * native/target/MinGW/target_native_network.h
33776 * native/target/RTEMS/.cvsignore
33777 * native/target/RTEMS/Makefile.am
33778 * native/target/RTEMS/target_native.h
33779 * native/target/RTEMS/target_native_file.h
33780 * native/target/RTEMS/target_native_io.h
33781 * native/target/RTEMS/target_native_math.h
33782 * native/target/RTEMS/target_native_memory.h
33783 * native/target/RTEMS/target_native_misc.h
33784 * native/target/RTEMS/target_native_network.h
33785 * native/target/SunOS/.cvsignore
33786 * native/target/SunOS/Makefile.am
33787 * native/target/SunOS/target_native.h
33788 * native/target/SunOS/target_native_file.h
33789 * native/target/SunOS/target_native_io.h
33790 * native/target/SunOS/target_native_math.h
33791 * native/target/SunOS/target_native_memory.h
33792 * native/target/SunOS/target_native_misc.h
33793 * native/target/SunOS/target_native_network.h
33794 * native/target/embOS/.cvsignore
33795 * native/target/embOS/Makefile.am
33796 * native/target/embOS/target_native.h
33797 * native/target/embOS/target_native_file.h
33798 * native/target/embOS/target_native_io.c
33799 * native/target/embOS/target_native_io.h
33800 * native/target/embOS/target_native_math.h
33801 * native/target/embOS/target_native_memory.h
33802 * native/target/embOS/target_native_misc.h
33803 * native/target/embOS/target_native_network.h
33804 * native/target/posix/.cvsignore
33805 * native/target/posix/Makefile.am
33806 * native/target/posix/target_posix.c
33807 * native/target/posix/target_posix.h
33808 * native/target/posix/target_posix_file.c
33809 * native/target/posix/target_posix_file.h
33810 * native/target/posix/target_posix_io.c
33811 * native/target/posix/target_posix_io.h
33812 * native/target/posix/target_posix_math.c
33813 * native/target/posix/target_posix_math.h
33814 * native/target/posix/target_posix_memory.c
33815 * native/target/posix/target_posix_memory.h
33816 * native/target/posix/target_posix_misc.c
33817 * native/target/posix/target_posix_misc.h
33818 * native/target/posix/target_posix_network.c
33819 * native/target/posix/target_posix_network.h:
33822 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33824 * javax/print/PrintService.java,
33825 * javax/print/DocPrintJob.java,
33826 * javax/print/CancelablePrintJob.java:
33827 Added and enhanced api documentation for class and methods.
33829 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
33831 * javax/print/SimpleDoc.java: Make class final.
33832 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33833 * javax/print/attribute/DateTimeSyntax.java:
33834 (toString): New overridden method.
33835 * javax/print/attribute/standard/JobStateReasons.java:
33836 (add): Use the super.add method to avoid recursion.
33837 * javax/print/attribute/standard/PrinterStateReasons.java:
33838 (put): Use the super.put method to avoid recursion.
33840 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
33842 * java/beans/XMLEncoder.java:
33843 (writeExpression): Added early return (fixes PR #25941).
33844 (setExceptionListener, anonymous Class): Removed printStackTrace
33846 * java/beans/Encoder: Removed unused imports.
33847 (setupDefaultPersistenceDelegates): Removed unneccessary
33848 PersistenceDelegates for subclasses.
33849 * java/beans/PersistenceDelegate:
33850 (initialize): Use local variable as first argument as it was
33852 * java/beans/DefaultPersistenceDelegate:
33853 (initialize): Added call to superclass' implementation, added
33856 2006-01-24 Tom Tromey <tromey@redhat.com>
33858 * java/util/regex/PatternSyntaxException.java: Added @since.
33859 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33860 * java/util/regex/MatchResult.java: New file.
33862 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33864 * javax/swing/text/StringContent.java: Added API docs all over, plus
33865 minor reformatting.
33867 2006-01-24 Gary Benson <gbenson@redhat.com>
33869 * java/net/SocketPermission.java: Implemented serialization.
33871 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
33873 * javax/swing/text/StringContent.java
33874 (remove): Modified argument check to prevent removal of last character,
33875 (getChars): Removed null argument check to allow NullPointerException,
33877 (checkLocation): Added API docs and white space.
33879 2006-01-23 Lillian Angel <langel@redhat.com>
33881 * javax/swing/text/DefaultStyledDocument.java
33882 (insertUpdate): Should only call createFracture with
33883 StartTagType. Added check.
33884 (insertContentTag): Should use the tags length for splitting.
33885 Also, added a check to determine if current's start and end offset are
33886 equal to the offset and endOffset. If so, only one leaf element
33888 (createFracture): Removed FIXME. This function is complete.
33889 (split): Added calls to replace. Changed so the child is
33890 added immediately to the paragraph. Prevents NPEs.
33892 2006-01-23 Mark Wielaard <mark@klomp.org>
33894 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33896 2006-01-23 Tom Tromey <tromey@redhat.com>
33898 * gnu/java/security/x509/X509Certificate.java (parse):
33899 Unconditionally read value; for version==1 case when reading
33902 2006-01-23 Roman Kennke <kennke@aicas.com>
33904 * javax/swing/plaf/synth/ColorType.java,
33905 * javax/swing/plaf/synth/Region.java,
33906 * javax/swing/plaf/synth/SynthConstants.java,
33907 * javax/swing/plaf/synth/SynthContext.java
33908 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33909 * javax/swing/plaf/synth/SynthLookAndFeel.java,
33910 * javax/swing/plaf/synth/SynthPainter.java,
33911 * javax/swing/plaf/synth/SynthStyle.java,
33912 * javax/swing/plaf/synth/SynthStyleFactory.java,
33913 * javax/swing/plaf/synth/package.html:
33914 New files. Added the public API and framework classes for the
33915 Synth look and feel.
33917 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
33919 * javax/swing/text/Segment.java: API docs all over.
33921 2006-01-23 Lillian Angel <langel@redhat.com>
33923 * javax/swing/text/DefaultStyledDocument.java
33924 (split): Should not use createLeafElement and createBranchElement here.
33925 We should just instaniate the LeafElements and BranchElements instead
33926 to avoid the case where create*Element is overridden.
33928 2006-01-23 Lillian Angel <langel@redhat.com>
33930 * javax/swing/text/DefaultStyledDocument.java
33931 (insertFirstContentTag): Moved check outside of if-statement.
33932 This should be checked before creating the new leaf element.
33933 (insertFracture): Fixed check to prevent an NPE. The previous
33934 leaf should only be recreated if it has been created by
33935 insertFirstContentTag. Also, fixed up code: if the endOffset is
33936 greater than the offset, then we need to create a temp leaf
33937 as a place holder. Otherwise, the leaf elements should be
33940 2006-01-23 Gary Benson <gbenson@redhat.com>
33942 * java/net/SocketPermission.java: Almost completely rewritten.
33944 2006-01-23 Lillian Angel <langel@redhat.com>
33946 * javax/swing/text/DefaultStyledDocument.java
33947 (insertFracture): Set temp leaf's attributes to prevent an NPE.
33949 2006-01-23 Lillian Angel <langel@redhat.com>
33951 * javax/swing/text/DefaultStyledDocument.java:
33952 Formatted ElementBuffer and added new fields.
33953 (remove): Added check to determine if length is 0.
33954 (insertFirstContentTag): Initialized firstCreated to the element that is created
33955 by the first tag encountered. Removed check in JoinPreviousDirection case, no
33956 longer needed. In OriginateDirection case, added a loop to remove all old leafs
33957 that have been recreated.
33958 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
33959 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
33960 FIXME tags to the lines that need to be rewritten.
33962 2006-01-23 Mark Wielaard <mark@klomp.org>
33964 * examples/Makefile.am: Add support for fastjar.
33966 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
33968 * gnu/regexp/REToken.java(empty): Made Cloneable.
33969 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
33970 Use separate methods matchN and matchP depending on the
33972 (matchN): New method used when negative. Done as before.
33973 (matchP): New method used when not negative. Each token is
33974 tried not by itself but by a clone of it.
33976 2006-01-23 Chris Burdess <dog@gnu.org>
33979 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
33980 class to avoid getLength method contention.
33981 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
33983 2006-01-23 Chris Burdess <dog@gnu.org>
33985 * native/jni/java-util/Makefile.am: Include library required
33986 explicitly by BSD systems.
33987 * native/target/generic/target_generic_misc.h: Remove old commented
33989 * native/target/generic/target_generic_network.h: Fallbacks (to
33990 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
33992 2006-01-22 Tom Tromey <tromey@redhat.com>
33994 * native/target/posix/.cvsignore: Added .deps.
33996 2006-01-22 Mark Wielaard <mark@klomp.org>
33999 reported by James Damour <James.Damour@corp.request.com>
34000 * java/awt/Container.java (addImpl): Use empty string as name when
34001 null constraints for LayoutManager.addLayoutComponent().
34003 2006-01-22 Chris Burdess <dog@gnu.org>
34006 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34007 representing current directory as base for relative URLs.
34009 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
34012 * gnu/regexp/REMatch.java(empty): New boolean indicating
34013 an empty string matched.
34014 * gnu/regexp/RE.java(match): Sets empty flag when an empty
34016 (initialize): Support back reference \10, \11, and so on.
34017 (parseInt): renamed from getEscapedChar and returns int.
34018 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34019 when an empty string matched. Fixed a bug of the case where
34020 an empty string matched. Added special handling of {0}.
34021 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34022 when an empty string matched. Fixed the case insensitive matching.
34024 2006-01-21 Roman Kennke <kennke@aicas.com>
34026 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34027 (paint): Added painting of border if one is installed.
34029 2006-01-21 Roman Kennke <kennke@aicas.com>
34031 PR classpath/25843:
34032 * javax/swing/plaf/basic/BasicBorders.java
34033 (getSplitPaneDividerBorder): Use new border constructor
34035 (SplitPaneDividerBorder.highlight): Removed unneeded field.
34036 (SplitPaneDividerBorder.shadow): Removed unneeded field.
34037 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34038 colors are fetched dynamically in the paintBorder method.
34039 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34041 (SplitPaneDividerBorder.isBorderOpaque): Returns true
34043 * javax/swing/plaf/basic/BasicLookAndFeel.java
34044 (initComponentDefaults): Added default for SplitPaneDivider.border.
34045 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34046 (tmpBorder): Removed unneeded inner class.
34047 (BasicSplitPaneDivider): Removed setting of border.
34048 (setSplitPaneUI): Don't add the mouse handler to the splitpane
34050 * javax/swing/plaf/basic/BasicSplitPaneUI.java
34051 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34052 to get behaviour right.
34053 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34054 implementation. This must be rewritten since the layout now works
34055 slightly different (basically, it shouldn't modify the sizes[]
34056 here but instead the dividerLocation.
34057 (dividerLocation): New field.
34058 (installDefaults): Initialize border on divider.
34059 (uninstallDefaults): Only remove background color and border from
34060 splitPane if they are instances of UIDefaults (== not set by
34062 (setDividerLocation): Set the dividerLocation field instead of
34063 doing stunt acts here.
34064 (getDividerLocation): Return dividerLocation field.
34065 (getMinimumDividerLocation): Fixed calculation of minimum location.
34067 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
34070 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34072 * lib/Makefile.am: Likewise.
34074 2006-01-21 Roman Kennke <kennke@aicas.com>
34076 * javax/swing/PopupFactory.java
34077 (getPopup): If there is no Swing root found in any way, use a
34078 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34079 for the Swing AWT peers.
34081 2006-01-20 Tom Tromey <tromey@redhat.com>
34083 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34084 Read response body for redirect.
34086 2006-01-20 Chris Burdess <dog@gnu.org>
34088 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34091 2006-01-20 Lillian Angel <langel@redhat.com>
34093 * javax/swing/text/DefaultStyledDocument.java
34094 (pad): Removed, not needed.
34095 (printElements): Likewise.
34096 (printEdit): Likewise.
34098 2006-01-20 Roman Kennke <kennke@aicas.com>
34100 * javax/swing/text/DefaultFormatter.java
34101 (DefaultFormatter): Don't set a value class.
34103 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34105 * javax/swing/DefaultCellEditor.java: Commented.
34107 2006-01-19 Roman Kennke <kennke@aicas.com>
34109 * javax/swing/JOptionPane.java
34110 Added cast to Frame for JDialog constructor.
34112 2006-01-19 Roman Kennke <kennke@aicas.com>
34114 * javax/swing/JWindow.java
34115 (JWindow(Window)): Fixed to accept null owner argument.
34116 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34118 * javax/swing/SwingUtilities.java
34119 (getOwnerFrame): Owner parameter and return value are fixed to
34120 be of type Window for compatibity with the above JWindow
34122 * javax/swing/JDialog.java
34123 (JDialog): Added cast to Frame to make sure the correct constructor
34125 * javax/swing/JFileChooser.java
34126 (createDialog): Added cast to Frame for JDialog constructor.
34128 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34130 * javax/swing/JTable.java (rowAtPoint): Rewritten.
34132 2006-01-19 Roman Kennke <kennke@aicas.com>
34134 * javax/swing/JWindow.java: Added API docs to the constructors.
34136 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34138 * javax/swing/JTable.java: Commenting method headers.
34139 (EditorUpdateTimer): Removed.
34141 2006-01-19 Roman Kennke <kennke@aicas.com>
34143 * javax/swing/JDialog.java
34144 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34145 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34146 SwingUtilities.getOwnerFrame() with the owner argument.
34147 * javax/swing/JFileChooser.java
34148 (showOpenDialog(Component)): Call pack() on the dialog instead of
34149 setting a fixed height.
34150 (showSaveDialog()): Likewise.
34151 (showDialog()): Likewise.
34152 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34153 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34155 * javax/swing/JWindow.java
34156 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34157 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34159 * javax/swing/SwingUtilities.java
34160 (getOwnerFrame): Changed to take a owner parameter that is returned
34161 as owner frame when not null.
34163 2006-01-19 Roman Kennke <kennke@aicas.com>
34165 * gnu/java/awt/peer/swing/SwingFramePeer.java
34166 (handleMouseEvent): Fixed handling of mouse events.
34167 (handleMouseMotionEvent): Fixed handling of mouse events.
34169 2006-01-19 Roman Kennke <kennke@aicas.com>
34171 * native/target/generic/target_generic_misc.c:
34172 (targetGenericMisc_formatString): Added missing method.
34174 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
34176 * m4/acinclude.m4: Test also for ecj found before exiting configure
34177 with no javac found error message.
34179 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
34182 * gnu/regexp/RE.java(initialize): Support escaped characters such as
34183 \0123, \x1B, \u1234.
34184 (getEscapedChar): New method.
34185 (CharExpression): New inner class.
34186 (getCharExpression): New Method.
34187 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34188 RE_UNICODE_CHAR): New syntax bits.
34190 2006-01-19 Roman Kennke <kennke@aicas.com>
34192 * native/target/Makefile.am: Fixed so that posix stuff is really
34193 only built when requested.
34195 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34197 * javax/swing/JTable.java (editingStopped, editingCancelled):
34198 Repaint the edited cell.
34199 (setValueAt): Do not add the value object to this container.
34200 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34201 (editingStopped): Use editingRow, editingColumn and not
34202 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34203 (doLayout): Move the editor component, if present, into the new
34204 location and call repaint(). (moveToCellBeingEdited): new method.
34205 (TableTextField): new inner class.
34206 (getDefaultEditor): Instantiante TableTextField, not JTextField.
34207 (setValueAt): Repaint the changed segment.
34208 (createDefaultEditors): Implemented.
34209 (BooleanCellRenderer): Center the checkbox and use the default foreground
34210 and background colors.
34211 * javax/swing/plaf/basic/BasicTableUI.java
34212 (paintCell): Do not paint the caret here. Do not accept unused parameters.
34213 (paint): No need to allocate rectangle for each cell.
34214 * javax/swing/DefaultCellEditor.java: Rewritten.
34215 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34216 Use TableDemo.java table example.
34217 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34219 2006-01-19 Roman Kennke <kennke@aicas.com>
34221 * configure.ac: Added/fixed --enable-posix-layer option to enable
34222 build of posix layer.
34223 * native/target/Makefile.am: Added build for posix layer.
34225 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
34227 * configure.ac: Set TARGET to Linux per default.
34228 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34230 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34231 * native/target/generic/Makefile.am (INCLUDES): Renamed to
34234 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
34236 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34237 what looked like proprietary documentation with original or new one.
34238 * java/security/spec/PSSParameterSpec.java: Likewise.
34239 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34240 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34241 * java/security/AlgorithmParameterGenerator.java: Likewise.
34242 * java/security/AlgorithmParameters.java: Likewise.
34243 * java/security/Identity.java: Likewise.
34244 * java/security/IdentityScope.java: Likewise.
34245 * java/security/KeyFactory.java: Likewise.
34246 * java/security/KeyPairGenerator.java: Likewise.
34247 * java/security/MessageDigest.java: Likewise.
34248 * java/security/Policy.java: Likewise.
34249 * java/security/ProtectionDomain.java: Likewise.
34250 * java/security/Security.java: Likewise.
34251 * java/security/Signature.java: Likewise.
34252 * java/security/SignatureSpi.java: Likewise.
34253 * java/security/SignedObject.java: Likewise.
34254 * java/security/Signer.java: Likewise.
34256 2006-01-18 Roman Kennke <kennke@aicas.com>
34258 * configure.ac: Added --enable-posix-layer option to enable
34259 build of the posix target layer.
34261 2006-01-18 Roman Kennke <kennke@aicas.com>
34263 * native/jni/java-net/java_net_VMInetAddress.c
34264 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34267 2006-01-18 Roman Kennke <kennke@aicas.com>
34269 * native/jni/java-util/java_util_VMTimeZone.c:
34270 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34271 to use target native layer.
34272 (jint_to_charbuf): Removed unneeded helper function.
34274 2006-01-18 Roman Kennke <kennke@aicas.com>
34276 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34277 Removed unnecessary include.
34278 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34279 Reorganized includes to only include sys/* headers when available.
34280 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34281 (get_pagesize): Return 0 when nothing else works.
34282 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34283 Replaced munmap() and strerror() with corresponding target macros.
34284 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34285 Replaced strerror() with corresponding target macro.
34286 (Java_java_nio_MappedByteBufferImpl_forceImpl):
34287 Replaced strerror() with corresponding target macro.
34288 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34289 (Java_java_nio_VMDirectByteBuffer_allocate):
34290 Replaced malloc() with the corresponding target macro.
34291 (Java_java_nio_VMDirectByteBuffer_free):
34292 Replaced free() with the corresponding target macro.
34293 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34294 Add index to pointer when assigning the value.
34295 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34296 Replaced memcpy with corresponding target macro. Add index when
34297 doing the memcpy, not when fetching the pointer.
34298 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34299 Replaced memcpy with corresponding target macro.
34300 (Java_java_nio_VMDirectByteBuffer_shiftDown):
34301 Replaced memmove with the corresponding target macro.
34303 2006-01-17 Tom Tromey <tromey@redhat.com>
34305 PR classpath/20198:
34306 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34307 (JarURLLoader): Likewise.
34308 (addURLImpl): Canonicalize file URLs.
34310 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
34312 * configure.ac: Set TARGET.
34313 * native/Makefile.am, native/jni/classpath/Makefile.am,
34314 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34315 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34316 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34317 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34318 native/target/Linux/Makefile.am,
34319 native/target/generic/Makefile.am,
34320 native/target/posix/Makefile.am: Build libclasspath.so with jcl
34321 and target stuff linked in and link it against lib*.so libraries.
34323 2006-01-17 Roman Kennke <kennke@aicas.com>
34325 * native/jni/java-net/javanet.c:
34326 (_javanet_connect): Changed type of some local variables to jint.
34327 Fixed error handling to throw a SocketTimeoutException if the
34328 connection attempt times out.
34329 (_javanet_bind): Changed type of some local variables to jint.
34330 (_javanet_accept): Likewise.
34331 (_javanet_recvfrom): Likewise.
34332 (_javanet_sendto): Fixed error handling to throw a
34333 PortUnreachableException when connection is refused.
34334 (_javanet_get_option): Changed type of some local variables to jint.
34335 Implemented SOCKOPT_SO_BROADCAST.
34336 (_javanet_shutdownInput): Replaced shutdown call with corresponding
34337 target native macro.
34338 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34339 target native macro.
34340 * native/jni/java-net/javanet.h:
34341 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34342 SOCKOPT_SO_BROADCAST.
34344 2006-01-17 Lillian Angel <langel@redhat.com>
34346 * javax/swing/text/DefaultStyledDocument.java
34347 (insert): Cleaned up loop. No need to make so many calls
34348 to getAddedElements and getRemovedElements.
34349 (insertFracture): Removed unneeded array.
34351 2006-01-17 Lillian Angel <langel@redhat.com>
34353 * javax/swing/text/JTextComponent.java
34354 (AccessibleJTextComponent): Implemented.
34355 (getCaretPosition): Implemented.
34356 (getSelectedText): Implemented.
34357 (getSelectionStart): Implemented.
34358 (getSelectionEnd): Implemented.
34359 (getSelectionEnd): Implemented.
34360 (getCharCount): Implemented.
34361 (insertTextAtIndex): Implemented.
34362 (getTextRange): Implemented.
34363 (delete): Implemented.
34364 (cut): Implemented.
34365 (paste): Implemented.
34366 (replaceText): Implemented.
34367 (selectText): Implemented.
34369 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
34371 * javax/swing/text/DefaultStyledDocument.java:
34372 (pad): New debugging method.
34373 (printElements): Likewise.
34374 (printPendingEdits): Likewise.
34375 (printElement): Likewise.
34376 (Edit): Improved docs, moved this class to be an inner class of
34377 ElementBuffer since it only applies within that scope. Changed added
34378 and removed to be Vectors instead of arrays because we need to be able
34379 to add to them after construction.
34380 (ElementBuffer): Updated docs with link to article that helped in this
34381 classes implementation.
34382 (ElementBuffer.Edit.getRemovedElements): New method.
34383 (ElementBuffer.Edit.getAddedElements): Likewise.
34384 (ElementBuffer.Edit.addRemovedElement): Likewise.
34385 (ElementBuffer.Edit.addRemovedElements): Likewise.
34386 (ElementBuffer.Edit.addAddedElement): Likewise.
34387 (ElementBuffer.Edit.addAddedElements): Likewise.
34388 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
34390 (ElementBuffer.getEditForParagraphAndIndex): New method.
34391 (ElementBuffer.removeUpdate): Changed type of paragraph to
34392 BranchElement. Corrected style of adding the edit to use the new Edit
34394 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34395 the new Edit facilities.
34396 (ElementBuffer.split): Likewise.
34397 (ElementBuffer.insertParagraph): Likewise.
34398 (ElementBuffer.insertContentTag): Likewise.
34399 (ElementBuffer.insert): Push all BranchElements until the deepest one,
34400 not just the root and the first one. Apply the structural changes to
34401 the tree at the same time as updating the DocumentEvent.
34402 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
34403 handling of EndTags as the first ElementSpec. Instead have to handle
34404 ContentTags as a special case if they are the first ElementSpec and if
34405 not have to fracture the tree.
34406 (ElementBuffer.createFracture): New method. May not be complete yet.
34407 Added FIXME indicating what may remain to be done.
34408 (ElementBuffer.insertFirstContentTag): New method.
34409 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34410 be done. Changed the adding of edits to use the new Edit facilities.
34411 Removed the adding of edits for Elements that weren't in the tree prior
34413 (insertUpdate): Removed incorrect condition for setting a StartTag's
34414 direction to JoinNextDirection.
34415 * javax/swing/text/StyleContent.java:
34416 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
34417 that was causing an ArrayOutOfBoundsException.
34419 2006-01-17 Roman Kennke <kennke@aicas.com>
34421 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34422 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34423 exception messages a little.
34424 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34425 alternative implementation for systems without filesystems.
34426 Replaced snprintf with the corresponding target native macro.
34427 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34428 Only do something when we have a filesystem.
34429 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34430 alternative implementation for systems without filesystems.
34431 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34432 alternative implementation for systems without filesystems.
34433 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34434 alternative implementation for systems without filesystems.
34435 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34436 Only do something when we have a filesystem.
34437 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34438 Only do something when we have a filesystem.
34439 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34440 alternative implementation for systems without filesystems.
34441 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34442 Replaced ssize_t variables with jint. Provided
34443 alternative implementation for systems without filesystems.
34444 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34445 Replaced ssize_t variables with jint. Provided
34446 alternative implementation for systems without filesystems.
34447 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34448 Replaced ssize_t variables with jint. Provided
34449 alternative implementation for systems without filesystems.
34450 (Java_gnu_java_nio_channels_FileChannelImpl_force):
34451 Only do something when we have a filesystem.
34452 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34453 Replaced ssize_t variables with jint. Provided
34454 alternative implementation for systems without filesystems.
34455 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34456 to use the corresponding target native macro.
34457 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34458 to use the corresponding target native macro.
34460 2006-01-17 Lillian Angel <langel@redhat.com>
34462 * javax/swing/text/DefaultTextUI.java:
34463 Added deprecated tag.
34464 * javax/swing/text/JTextComponent.java
34465 (AccessibleJTextComponent): Fixed API doc and
34466 partiall9 implemented.
34467 (getCaretPosition): Fixed API doc and implemented.
34468 (getSelectedText): Fixed API doc.
34469 (getSelectionStart): Likewise.
34470 (getSelectionEnd): Likewise.
34471 (caretUpdate): Fixed API doc and
34472 partially implemented.
34473 (getAccessibleStateSet): Likewise.
34474 (getAccessibleRole): Fixed API doc and implemented.
34475 (getAccessibleEditableText): Implemented.
34476 (getAccessibleText): Fixed API doc and implemented.
34477 (insertUpdate): Fixed API doc.
34478 (changedUpdate): Likewise.
34479 (getIndexAtPoint): Likewise.
34480 (getRootEditorRect): Removed.
34481 (getCharacterBounds): Fixed API doc.
34482 (getCharCount): Likewise.
34483 (getCharacterAttribute): Likewise.
34484 (getAtIndex): Likewise.
34485 (getAfterIndex): Likewise.
34486 (getBeforeIndex): Likewise.
34487 (getAccessibleActionCount): Added function stub.
34488 (getAccessibleActionDescription): Added function,
34489 partially implemented.
34490 (doAccessibleAction): Added function stub.
34491 (setTextContents): Likewise.
34492 (insertTextAtIndex): Likewise.
34493 (delete): Likewise.
34496 (replaceText): Likewise.
34497 (selectText): Likewise.
34498 (setAttributes): Likewise.
34499 (getAccessibleContext): Implemented.
34501 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34504 * gnu/regexp/RETokenRange.java(constructor):
34505 Keep lo and hi as they are.
34506 (match): Changed the case insensitive comparison.
34508 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
34510 * gnu/regexp/RETokenChar.java(chain):
34511 Do not concatenate tokens whose insens flags are diffent.
34513 2006-01-17 Roman Kennke <kennke@aicas.com>
34515 * native/target/generic/target_generic_network.c:
34516 (targetGenericNetwork_receive): Fixed signature to match the
34517 corresponding .h file.
34518 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34519 to match the corresponding .h file.
34521 2006-01-17 Roman Kennke <kennke@aicas.com>
34523 * native/jni/classpath/jcl.c:
34524 (JCL_malloc): Replaced calls to malloc with the corresponding
34525 target layer macro.
34526 (JCL_free): Replaced calls to free with the corresponding
34527 target layer macro.
34528 * native/jni/classpath/native_state.c:
34529 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34530 calloc with the corresponding target layer macro.
34531 (remove_node): Replaced calls to free with the corresponding
34532 target layer macro.
34533 (add_node): Replaced calls to malloc with the corresponding
34534 target layer macro.
34536 2006-01-17 Roman Kennke <kennke@aicas.com>
34538 * native/jni/java-io/java_io_VMObjectStreamClass.c:
34539 (getFieldReference): Use MALLOC/FREE macros for portability instead
34540 of direct call to malloc() and free().
34542 2006-01-17 Roman Kennke <kennke@aicas.com>
34544 * native/jni/classpath/jcl.c: Added missing imports.
34545 (JCL_realloc): Fixed signature to include oldsize. This is needed
34546 for some targets. Make this function use the MEMORY_REALLOC macro
34548 * native/jni/classpath/jcl.h
34549 (JCL_realloc): Adjusted signature.
34550 * native/jni/java-io/java_io_VMFile.c:
34551 (Java_java_io_VMFile_create): Use target layer macro for handling
34552 errno, for portability.
34553 (Java_java_io_VMFile_length): Release filename string in error cases
34555 (Java_java_io_VMFile_list): Initialize filename variable. Use new
34556 version of JCL_realloc.
34557 * native/jni/java-net/java_net_VMInetAddress.c:
34558 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34559 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34560 * native/jni/java-net/javanet.c:
34561 (_javanet_bind): Make errorstr variable const to avoid compiler
34563 (_javanet_set_option): Fixed typo.
34564 (_javanet_get_option): Fixed typo.
34565 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34566 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34567 error_string variable const to avoid compiler warning.
34568 * native/target/generic/target_generic_file.h:
34569 Replaced // comments with /* */ comments to avoid compiler warnings.
34570 Added some spaces to make code better readable.
34571 * native/target/generic/target_generic_memory.h:
34572 Replaced // comments with /* */ comments to avoid compiler warnings.
34573 * native/target/generic/target_generic_misc.c:
34574 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34575 compiler warnings due to use of varargs.
34576 * native/target/generic/target_generic_misc.h:
34577 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34578 compiler warnings due to use of varargs.
34579 * native/target/generic/target_generic_network.h:
34580 Replaced // comments with /* */ comments to avoid compiler warnings.
34581 (targetGenericNetwork_receive): Fixed signature to use signed chars
34582 for buffer parameter to avoid warning when passing a jbyte to the
34585 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
34587 * javax/swing/text/StyleConstants.java
34588 (getAlignment): Removed isDefined() check, so that resolving parent is
34590 (getBackground): Likewise, plus changed default value to Color.BLACK,
34591 (getBidiLevel): Removed isDefined() check,
34592 (getComponent): Likewise,
34593 (getFirstLineIndent): Likewise,
34594 (getFontFamily): Likewise,
34595 (getFontSize): Likewise,
34596 (getForeground): Likewise,
34597 (getIcon): Likewise,
34598 (getLeftIndent): Likewise,
34599 (getLineSpacing): Likewise,
34600 (getRightIndent): Likewise,
34601 (getSpaceAbove): Likewise,
34602 (getSpaceBelow): Likewise,
34603 (getTabSet): Likewise,
34604 (isBold): Likewise,
34605 (isItalic): Likewise,
34606 (isStrikeThrough): Likewise,
34607 (isSubscript): Likewise,
34608 (isSuperscript): Likewise,
34609 (isUnderline): Likewise.
34611 2006-01-17 Gary Benson <gbenson@redhat.com>
34613 * java/lang/System.java (setSecurityManager): Catch
34614 ClassNotFoundException not Throwable.
34616 2006-01-16 Anthony Green <green@redhat.com>
34619 * gnu/java/net/protocol/http/Request.java
34620 (createResponseBodyStream): Remove Content-Encoding for
34621 compressed streams.
34623 2006-01-16 Chris Burdess <dog@gnu.org>
34625 * gnu/xml/stream/XMLParser.java,
34626 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34627 XMLStreamWriter arguments for conformance to the XML specifications.
34628 * gnu/xml/transform/Stylesheet.java,
34629 gnu/xml/transform/Template.java,
34630 gnu/xml/transform/TransformerImpl.java,
34631 gnu/xml/xpath/LangFunction.java,
34632 gnu/xml/xpath/Selector.java: better handling of template priorities;
34633 fix indents when pretty-printing; recursive tests for xml:lang.
34634 * gnu/xml/util/XHTMLWriter.java,
34635 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34637 2006-01-16 Roman Kennke <kennke@aicas.com>
34639 * native/target/MinGW/.cvsignore: New file.
34640 * native/target/RTEMS/.cvsignore: New file.
34641 * native/target/SunOS/.cvsignore: New file.
34642 * native/target/embOS/.cvsignore: New file.
34643 * native/target/posix/.cvsignore: New file.
34645 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34647 * javax/swing/text/StyleConstants.java: Updated API docs all over.
34649 2006-01-16 Roman Kennke <kennke@aicas.com>
34651 * configure.ac: Include new target native directories in build.
34653 2006-01-16 Roman Kennke <kennke@aicas.com>
34655 * native/target/generic/target_generic_file.h: Added missing
34657 * native/target/generic/target_generic_network.c: Fixed several
34658 typos and includes.
34659 * native/target/generic/target_generic_network.h: Likewise.
34661 2006-01-16 Roman Kennke <kennke@aicas.com>
34663 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34664 to include the new targets.
34665 * native/target/posix/Makefile.am: Fixed filenames.
34667 2006-01-16 Roman Kennke <kennke@aicas.com>
34669 * native/target/Makefile.am: Include new targets.
34670 * native/target/Linux/Makefile.am: Include new memory layer.
34671 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34672 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34673 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34674 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34675 * native/target/generic/Makefile.am: Include new memory and math
34677 * native/target/posix/Makefile.am: New file. Includes posix in dist.
34679 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
34682 * gnu/regexp/RE.java(initialize): Parse embedded flags.
34683 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34685 2006-01-16 Roman Kennke <kennke@aicas.com>
34687 * native/target/generic/target_generic_network.c: Fixed typo.
34688 * native/target/generic/target_generic_network.h: Fixed typo.
34690 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
34692 * doc/vmintegration.texinfo: Updated subsection of the
34693 java.lang.InstrumentationImpl documentation.
34695 2006-01-16 Roman Kennke <kennke@aicas.com>
34697 * native/target/RTEMS/target_native.h,
34698 * native/target/RTEMS/target_native_file.h,
34699 * native/target/RTEMS/target_native_io.h,
34700 * native/target/RTEMS/target_native_math.h,
34701 * native/target/RTEMS/target_native_memory.h,
34702 * native/target/RTEMS/target_native_misc.h,
34703 * native/target/RTEMS/target_native_network.h:
34704 New files. Implement the target native layer for the RTEMS platform.
34706 2006-01-16 Roman Kennke <kennke@aicas.com>
34708 * native/target/SunOS/target_native.h,
34709 * native/target/SunOS/target_native_file.h,
34710 * native/target/SunOS/target_native_io.h,
34711 * native/target/SunOS/target_native_math.h,
34712 * native/target/SunOS/target_native_memory.h,
34713 * native/target/SunOS/target_native_misc.h,
34714 * native/target/SunOS/target_native_network.h:
34715 New files. Implement the target native layer for the SunOS platform.
34717 2006-01-16 Roman Kennke <kennke@aicas.com>
34719 * native/target/MinGW/target_native.h,
34720 * native/target/MinGW/target_native_file.h,
34721 * native/target/MinGW/target_native_io.h,
34722 * native/target/MinGW/target_native_math.h,
34723 * native/target/MinGW/target_native_memory.h,
34724 * native/target/MinGW/target_native_misc.h,
34725 * native/target/MinGW/target_native_network.h:
34726 New files. Implement the target native layer for the MinGW
34729 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34732 * javax/swing/DefaultCellEditor.java
34733 (delegate): Assign new instance immediately.
34734 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34735 (getTableCellEditorComponent): Rewritten.
34736 (prepareAsJTextField):New method (add listener only once).
34737 * javax/swing/JTable.java
34738 (editingCanceled): Rewritten.
34739 (editingStopped ): Rewritten.
34740 (rowAtPoint): Mind row margin.
34741 (getCellRect): Mind row margin.
34742 (getDefaultEditor): Removing JTextComponent border.
34743 (editCellAt): Rewritten.
34744 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34745 Activate editing mode by the mouse clicks.
34746 (getMaximumSize): Mind row margin.
34747 (getPreferredSize): Mind row margin.
34748 (TableAction): Added 'stop editing' command.
34750 2006-01-16 Roman Kennke <kennke@aicas.com>
34752 * jni/java-io/java_io_VMFile.c
34753 (Java_java_io_VMFile_list): Use new 4 argument version of
34754 TARGET_NATIVE_FILE_READ_DIR macro.
34755 * target/Linux/target_native_io.h: Fixed comment at #endif.
34756 * target/Linux/target_native_memory.h: New file. Contains
34757 portability macros for memory operations.
34758 * target/generic/target_generic.c: New file. Contains some functions
34760 * target/generic/target_generic.h: Use posix target and shorter macro
34761 names if CP_NEW is set.
34762 * target/generic/target_generic_file.h: Use posix target and shorter
34763 macro names if CP_NEW is set.
34764 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34765 * target/generic/target_generic_io.c: New file. Contains some
34766 functions for IO portability.
34767 * target/generic/target_generic_io.h: Use posix target and shorter
34768 macro names if CP_NEW is set.
34769 * target/generic/target_generic_misc.c: New file. Contains some
34770 functions for miscallaneaous portability issues.
34771 * target/generic/target_generic_misc.h: Use posix target and shorter
34772 macro names if CP_NEW is set.
34773 * target/generic/target_generic_network.c: New file. Contains some
34774 functions for networking portability.
34775 * target/generic/target_generic_network.h: Use posix target and
34776 shorter macro names if CP_NEW is set.
34777 * target/posix/Makefile.am,
34778 * target/posix/target_posix.c,
34779 * target/posix/target_posix.h,
34780 * target/posix/target_posix_file.c,
34781 * target/posix/target_posix_file.h,
34782 * target/posix/target_posix_io.c,
34783 * target/posix/target_posix_io.h,
34784 * target/posix/target_posix_math.c,
34785 * target/posix/target_posix_math.h,
34786 * target/posix/target_posix_memory.c,
34787 * target/posix/target_posix_memory.h,
34788 * target/posix/target_posix_misc.c,
34789 * target/posix/target_posix_misc.h,
34790 * target/posix/target_posix_network.c,
34791 * target/posix/target_posix_network.h:
34792 New files. This implements the target native layer macros for
34793 Posix-like systems.
34795 2006-01-16 Gary Benson <gbenson@redhat.com>
34797 * java/net/SocketPermission.java (implies): Fix action checks.
34799 2006-01-16 Roman Kennke <kennke@aicas.com>
34801 * native/target/generic/target_generic_math_float.h: Removed. This
34802 file has been replaced by target_generic_math.h.
34803 * native/target/generic/target_generic_math_int.h: Removed. This
34804 file has been replaced by target_generic_math.h.
34805 * native/target/generic/target_generic_math.h: New file. Replaces
34806 the old _int and _float versions.
34807 * native/target/Linux/target_native_math_float.h: Removed. This
34808 file has been replaced by target_native_math.h.
34809 * native/target/Linux/target_native_math_int.h: Removed. This
34810 file has been replaced by target_native_math.h.
34811 * native/target/Linux/target_native_math.h: New file. Replaces
34812 the old _int and _float versions.
34813 * native/target/Linux/Makefile.am: Adjusted for the changed
34815 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34816 instead of target_native_math_int.h.
34817 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34819 * native/target/generic/target_generic_file.h: Likewise.
34821 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34823 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34825 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34827 * javax/swing/text/SimpleAttributeSet.java
34828 (SimpleAttributeSet()): Initialise storage directly,
34829 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34830 NullPointerException,
34831 (containsAttribute): If key is found locally, don't check resolving
34832 parent if the value doesn't match,
34833 (getAttribute): Removed redundant instanceof and cast.
34835 2006-01-16 Gary Benson <gbenson@redhat.com>
34837 * java/lang/System.java (setSecurityManager): Ensure policy
34838 files are loaded before a security manager is put in place.
34840 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
34842 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34844 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
34846 * javax/print/attribute/standard/MediaSize.java:
34847 (static_initializer): Added comment.
34848 (MediaSize): Added javadoc to mention cache registration.
34849 (MediaSize): Likewise.
34850 (MediaSize): Likewise.
34851 (MediaSize): Likewise.
34853 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
34856 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34857 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34858 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34859 * javax/security/auth/login/AppConfigurationEntry.java: Updated
34861 (toString): Added method implementation.
34862 (LoginModuleControlFlag.toString): Removed class name from result.
34863 * javax/security/auth/login/Configuration.java: Updated copyright year.
34864 (getConfig(): replaced calls to NullConfiguration with
34867 2006-01-15 Tom Tromey <tromey@redhat.com>
34869 * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34870 * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34871 * java/beans/PersistenceDelegate.java (initialize): Genericized.
34872 * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34873 (setPersistenceDelegate): Likewise.
34875 2006-01-15 Wolfgang Baer <WBaer@gmx.de>
34877 * javax/print/attribute/standard/PrinterStateReasons.java:
34878 (printerStateReasonSet): Genericize the return type.
34880 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
34882 * javax/swing/table/DefaultTableCellRenderer.java
34883 (getTableCellRendererComponent): Render null as the empty cell.
34885 2006-01-14 Anthony Green <green@redhat.com>
34887 * java/net/ServerSocket.java (accept): Remove bogus
34889 (implAccept): Add FIXME comment.
34891 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34894 * javax/print/Doc.java: Added and enhanced documentation.
34895 * javax/print/SimpleDoc.java: New file.
34897 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
34899 * javax/print/attribute/standard/MediaSize.java:
34900 (Other.TABLOID): New MediaSize added in 1.5
34902 2006-01-14 Chris Burdess <dog@gnu.org>
34904 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34905 correctly when I/O and runtime exceptions occur during parsing.
34907 2006-01-13 Roman Kennke <kennke@aicas.com>
34909 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34910 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34911 * gnu/java/awt/peer/swing/SwingComponent.java,
34912 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34913 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34914 * gnu/java/awt/peer/swing/SwingFramePeer.java,
34915 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34916 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34917 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34918 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34919 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34920 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34921 * gnu/java/awt/peer/swing/SwingToolkit.java,
34922 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
34923 * gnu/java/awt/peer/swing/package.html:
34924 New files. Implemented some basic AWT peers based on Swing.
34926 2006-01-13 Roman Kennke <kennke@aicas.com>
34928 * java/awt/peer/ComponentPeer.java: Added API docs all over.
34930 2006-01-13 Roman Kennke <kennke@aicas.com>
34932 * java/awt/MenuComponent.java: Reformatted to better match our
34935 2006-01-13 Roman Kennke <kennke@aicas.com>
34937 * java/awt/Frame.java: Reformatted to better match our
34940 2006-01-13 Roman Kennke <kennke@aicas.com>
34942 * java/awt/MenuBar.java
34943 (accessibleContext): Removed unnecessary field. This is already
34944 defined in MenuComponent.
34945 (setHelpMenu): Renamed the peer variable to myPeer because it was
34946 hiding a field of MenuComponent.
34947 (addNotify): Removed unnecessary cast.
34949 2006-01-13 Roman Kennke <kennke@aicas.com>
34951 * java/awt/MenuBar.java: Reformatted to better match our
34954 2006-01-13 Roman Kennke <kennke@aicas.com>
34956 * java/awt/MenuBar.java
34957 (frame): New field.
34958 (removeNotify): Clear frame field when beeing removed from the
34960 * java/awt/Frame.java
34961 (setMenuBar): Store a reference of the frame in the MenuBar.
34962 * java/awt/MenuComponent.java
34963 (postEvent): Implemented to forward the call to the parent until
34964 a parent can handle the event.
34965 (dispatchEvent): Moved handling of old style events from
34966 dispatchEventImpl() to here.
34967 (dispatchEventImpl): Moved handling of old style events to
34970 2006-01-13 Roman Kennke <kennke@aicas.com>
34972 * java/awt/Component.java
34973 (dispatchEvent): Moved handling of old style events from
34974 dispatchEventImpl() to this method.
34975 (translateEvent): Removed unnecessary cast.
34976 (dispatchEventImpl): Moved handling of old style events to
34979 2006-01-13 Lillian Angel <langel@redhat.com>
34981 * javax/swing/text/DefaultStyledDocument.java
34982 (createDefaultRoot): Removed FIXME.
34983 (setLogicalStyle): Added fireUndoableEditUpdate call and
34986 2006-01-13 Lillian Angel <langel@redhat.com>
34988 * javax/swing/text/DefaultStyledDocument.java
34989 (Edit): New inner class.
34990 (changeUpdate): Changed addEdit call to add a new
34991 instance of Edit to the edits Vector, so addEdits can
34994 (insertParagraph): Likewise.
34995 (insertFracture): Likewise.
34996 (insertContentTag): Likewise.
34997 (insert): Added loop to go through edits Vector and perform
34998 addEdit on each object.
35000 2006-01-13 Chris Burdess <dog@gnu.org>
35002 * gnu/xml/transform/AbstractNumberNode.java,
35003 gnu/xml/transform/ApplyImportsNode.java,
35004 gnu/xml/transform/ApplyTemplatesNode.java,
35005 gnu/xml/transform/AttributeNode.java,
35006 gnu/xml/transform/CallTemplateNode.java,
35007 gnu/xml/transform/ChooseNode.java,
35008 gnu/xml/transform/CommentNode.java,
35009 gnu/xml/transform/CopyNode.java,
35010 gnu/xml/transform/CopyOfNode.java,
35011 gnu/xml/transform/DocumentFunction.java,
35012 gnu/xml/transform/ElementNode.java,
35013 gnu/xml/transform/ForEachNode.java,
35014 gnu/xml/transform/IfNode.java,
35015 gnu/xml/transform/LiteralNode.java,
35016 gnu/xml/transform/MessageNode.java,
35017 gnu/xml/transform/OtherwiseNode.java,
35018 gnu/xml/transform/ParameterNode.java,
35019 gnu/xml/transform/ProcessingInstructionNode.java,
35020 gnu/xml/transform/Stylesheet.java,
35021 gnu/xml/transform/Template.java,
35022 gnu/xml/transform/TemplateNode.java,
35023 gnu/xml/transform/TextNode.java,
35024 gnu/xml/transform/TransformerImpl.java,
35025 gnu/xml/transform/ValueOfNode.java,
35026 gnu/xml/transform/WhenNode.java,
35027 gnu/xml/xpath/NodeTypeTest.java,
35028 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35029 with-param parameters when template does not define parameters; apply
35030 conflict resolution for templates; strip whitespace on documents
35031 retrieved via document() function; allow node() to match document
35034 2006-01-13 Mark Wielaard <mark@klomp.org>
35036 * doc/www.gnu.org/announce/20060113.wml: New file.
35037 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35038 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35040 2006-01-13 Lillian Angel <langel@redhat.com>
35042 * javax/swing/text/DefaultStyledDocument.java:
35043 Removed unused fields.
35044 (insert): Removed unused fields.
35045 (endEdit): Removed, not needed.
35046 (insertUpdate): Removed call to endEdit.
35047 (prepareContentInsertion): Removed, not needed.
35048 (insertContentTag): Removed call to prepareContentInsertion.
35049 (printElements): Removed, not needed.
35050 (attributeSetsAreSame): Removed, not needed.
35052 2005-01-13 Mark Wielaard <mark@klomp.org>
35054 * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35055 Duplicate of toString(int, StringBuilder).
35057 2005-01-13 Mark Wielaard <mark@klomp.org>
35059 * configure.ac: Set version to 0.20.
35060 * NEWS: Add entries for all the new work done.
35062 2005-01-13 Mark Wielaard <mark@klomp.org>
35064 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35066 2005-01-13 Mark Wielaard <mark@klomp.org>
35068 * java/util/regex/Pattern.java (Pattern): Chain REException.
35070 2006-01-13 Chris Burdess <dog@gnu.org>
35072 * gnu/xml/xpath/NameTest.java: Removed debugging output.
35074 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35076 * java/security/Security.java
35077 (getProperty): Added hack to skip security check when trusted
35078 code is direct caller.
35080 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35082 * java/io/PrintStream.java
35083 (line_separator, PrintStream(OutputStream,boolean)): Use
35086 2005-01-13 Jeroen Frijters <jeroen@frijters.net>
35088 * gnu/java/nio/charset/Provider.java: Added comment about its
35089 special relation with CharsetProvider.
35091 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35092 its special relation with CharsetProvider.
35094 * java/nio/charset/spi/CharsetProvider.java
35095 (CharsetProvider): Add special case to skip security check for
35096 built in providers.
35098 2005-01-13 Mark Wielaard <mark@klomp.org>
35100 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35101 name, accel, mnemonic and command are defined before setting.
35103 2005-01-12 Mark Wielaard <mark@klomp.org>
35105 * javax/swing/plaf/metal/MetalFileChooserUI.java
35106 (FileRenderer.getListCellRendererComponent): Set empty name and null
35107 icon when File is null.
35109 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35111 * gnu/java/rmi/server/UnicastRef.java (newCall):
35112 Throw ConnectException after catching IOException.
35114 2006-01-12 Lillian Angel <langel@redhat.com>
35116 * javax/swing/text/DefaultStyledDocument.java
35117 (insertUpdate): Removed unneeded check.
35119 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35121 * javax/swing/text/DefaultStyledDocument.java:
35122 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35123 and we haven't come immediately after a fracture, adjust the Element
35124 offsets. Added comment explaining the situation.
35125 (insert): Return early if no ElementSpecs passed in. Removed redundant
35126 call to insertUpdate. Fired the UndoableEditUpdate.
35128 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
35131 * gnu/regexp/RE.java(initialize): Fixed the parsing of
35132 character classes within a subexpression.
35134 2006-12-12 Lillian Angel <langel@redhat.com>
35136 * javax/swing/text/DefaultStyledDocument.java
35137 (insertUpdate): Added check to check if attribute set is
35139 (insertUpdate): Added check to determine if last character
35140 is a newline. If it is, we should not be fracturing.
35141 (insert): Added check to determine if attribute set is empty.
35142 If it is, insertUpdate should not be called.
35144 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
35146 * configure.ac: Check for isnan.
35148 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35151 2006-01-12 Chris Burdess <dog@gnu.org>
35153 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35154 1.1 character ranges.
35156 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
35158 * javax/swing/TransferHandler.java:
35159 (TransferAction<init>): Call super constructor. Fixes Mauve regression
35160 gnu/testlet/javax/swing/JTextField/CopyPaste.
35162 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
35164 * resource/Makefile.am: Install
35165 logging.properties into $(prefix)/lib.
35166 * resource/Makefile.am (securitydir): Changed to
35167 $(prefix)/lib/security.
35169 2006-01-12 Roman Kennke <kennke@aicas.com>
35171 * javax/swing/JTextField.java
35172 (createDefaultModel): Moved installation of the filterNewlines
35173 property to setDocument().
35174 (setDocument): New method. Installs the filterNewlines property
35177 2006-01-12 Chris Burdess <dog@gnu.org>
35179 * gnu/xml/dom/DomNode.java,
35180 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35182 * gnu/xml/xpath/NameTest.java,
35183 gnu/xml/xpath/NamespaceTest.java,
35184 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35186 * gnu/xml/transform/MessageNode.java: Use standard logging system
35187 for outputting messages.
35189 2006-01-12 Tom Tromey <tromey@redhat.com>
35191 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35192 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35193 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35194 (static initializer): Removed cache code.
35195 (checkCacheFor, addToCache): Removed.
35196 (getAllByName): Removed cache code.
35197 (lookup_time): Removed.
35198 (InetAddress): Updated.
35200 2006-01-12 Chris Burdess <dog@gnu.org>
35202 * gnu/xml/dom/DomDocument.java,
35203 gnu/xml/dom/DomElement.java,
35204 gnu/xml/dom/DomNode.java,
35205 gnu/xml/stream/XMLParser.java,
35206 gnu/xml/transform/Bindings.java,
35207 gnu/xml/transform/ElementAvailableFunction.java,
35208 gnu/xml/transform/ElementNode.java,
35209 gnu/xml/transform/FunctionAvailableFunction.java,
35210 gnu/xml/transform/NamespaceProxy.java,
35211 gnu/xml/transform/StreamSerializer.java,
35212 gnu/xml/transform/Stylesheet.java,
35213 gnu/xml/transform/TransformerImpl.java,
35214 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35215 document and element nodes; correct coalescing semantics when parsing;
35216 attribute-sets can only refer to top-level variables and parameters;
35217 fix namespace retrieval during element-available and
35218 function-available functions; implement xsl:fallback for extension
35219 elements; tokenize whitespace correctly during whitespace stripping;
35220 correct following and previous node axes selectors.
35222 2006-01-12 Roman Kennke <kennke@aicas.com>
35224 * java/util/Hashtable.java
35225 (KeyEnumerator.nextElement): Added null check to avoid NPE.
35226 (ValueEnumerator.nextElement): Added null check to avoid NPE.
35228 2006-01-12 Lillian Angel <langel@redhat.com>
35230 * javax/swing/text/GapContent.java
35231 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35233 2006-01-12 Mark Wielaard <mark@klomp.org>
35235 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35236 Throw UnknowHostException when name could not be resolved.
35238 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
35240 * java/net/URL.java
35241 (static, getURLStreamHandler): Use SystemProperties.
35243 2006-01-12 Mark Wielaard <mark@klomp.org>
35245 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35246 Use packet.getLength().
35247 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35248 (nativeReceive): Check whether the receiver wants zero bytes.
35250 2006-01-12 Mark Wielaard <mark@klomp.org>
35252 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35253 other side orderly closed connection.
35254 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35255 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35256 when end of stream reached.
35258 2006-01-12 Mark Wielaard <mark@klomp.org>
35260 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35262 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35263 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35264 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35265 * native/jni/java-net/javanet.c: Likewise.
35267 2006-01-12 Mark Wielaard <mark@klomp.org>
35269 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35270 PR classpath/23863.
35272 2006-01-11 Chris Burdess <dog@gnu.org>
35274 * gnu/xml/transform/AttributeNode.java,
35275 gnu/xml/transform/ElementNode.java,
35276 gnu/xml/transform/LiteralNode.java,
35277 gnu/xml/transform/StreamSerializer.java,
35278 gnu/xml/transform/StrippingInstruction.java,
35279 gnu/xml/transform/Stylesheet.java,
35280 gnu/xml/transform/TransformerImpl.java,
35281 gnu/xml/transform/ValueOfNode.java,
35282 gnu/xml/xpath/Expr.java,
35283 gnu/xml/xpath/LocalNameFunction.java,
35284 gnu/xml/xpath/NameFunction.java,
35285 gnu/xml/xpath/NameTest.java,
35286 gnu/xml/xpath/NamespaceUriFunction.java,
35287 gnu/xml/xpath/NodeTypeTest.java,
35288 gnu/xml/xpath/SubstringFunction.java,
35289 javax/xml/namespace/QName.java: don't determine element namespace
35290 from namespace aliases when specified; better namespace handling
35291 when serializing elements; don't create HTML meta element unless
35292 head element exists; correct encoding of CDATA sections containing
35293 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35294 default encoding for HTML output; rewrite of XSLT
35295 strip-space/preserve-space handling; correct doctype-public and
35296 doctype-system output attributes; insert generated doctype before
35297 document element; fixed result tree whitespace stripping
35298 algorithm; fixed semantics of XPath name, local-name, and
35299 namespace-uri functions; name tests handle XML/XMLNS namespaces
35300 correctly; fixed semantics of processing-instruction node test.
35301 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35304 2006-01-11 Lillian Angel <langel@redhat.com>
35306 * javax/swing/text/DefaultStyledDocument.java
35307 (insertFracture): Added calls to addEdit for each time a structure
35308 is changed. addEdit is called on the newBranch, previous, and parent
35311 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35313 * javax/swing/text/DefaultStyledDocument.java:
35314 (ElementBuffer.insertContentTag): Don't adjust the structure here.
35315 This will have been taken care of in insertFracture. Added a comment
35316 explaining that we need to add edits to the DocumentEvent and that
35317 this may be the place to do it.
35319 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
35321 * javax/swing/text/DefaultStyledDocument.java:
35322 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35323 tag is an end tag. Avoid NPE by pushing the proper Element on to the
35324 elementStack when there is a start tag with JoinNextDirection.
35326 2006-01-11 Roman Kennke <kennke@aicas.com>
35328 Reported by: Fridjof Siebert <siebert@aicas.com>
35329 * java/util/Hashtable.java
35330 (KEYS): Removed unneeded field.
35331 (VALUES): Removed unneeded field.
35332 (ENTRIES): Removed unneeded field.
35333 (keys): Return a KeyEnumerator instance.
35334 (elements): Returns a ValueEnumerator instance.
35335 (toString): Use an EntryIterator instance.
35336 (keySet): Return a KeyIterator instance.
35337 (values): Return a ValueIterator instance.
35338 (entrySet): Return an EntryIterator instance.
35339 (hashCode): Use EntryIterator instance.
35340 (rehash): Changed this loop to avoid redundant reads and make
35341 it obvious that null checking is not needed.
35342 (writeObject): Use EntryIterator instance.
35343 (HashIterator): Removed class.
35344 (Enumerator): Removed class.
35345 (EntryIterator): New class.
35346 (KeyIterator): New class.
35347 (ValueIterator): New class.
35348 (EntryEnumerator): New class.
35349 (KeyEnumerator): New class.
35350 (ValueEnumerator): New class.
35352 2006-01-11 Lillian Angel <langel@redhat.com>
35354 * javax/swing/text/DefaultStyledDocument.java
35355 (toString): Shouldn't append the '>' character here.
35356 (createDefaultRoot): Should not set the resolve parent. This
35357 causes problems when comparing attribute sets.
35359 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
35361 * javax/swing/text/DefaultStyledDocument.java:
35362 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35364 (ElementBuffer.insertFracture): New method.
35365 (ElementBuffer.insertContentTag): Removed unnecessary case for
35366 JoinFractureDirection - this only applies to start tags, not content
35368 (insertUpdate): Corrected conditions for setting direction to
35371 2006-01-10 Roman Kennke <kennke@aicas.com>
35373 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35374 * ChangeLog-2005: New File.
35376 2006-01-10 Roman Kennke <kennke@aicas.com>
35378 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35379 (get): Release the array with the correct pointer.
35380 (put): Release the array with the correct pointer. Copy the array
35381 around _before_ releasing it.
35383 2006-01-10 Roman Kennke <kennke@aicas.com>
35385 * javax/swing/ViewportLayout.java
35386 (layoutContainer): Fixed condition, to avoid ClasscastException.
35388 2006-01-10 Roman Kennke <kennke@aicas.com>
35390 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35391 (MouseHandler.mousePressed): Fixed indendation.
35392 (MouseHandler.mouseDragged): Fixed indendation.
35394 2006-01-10 Roman Kennke <kennke@aicas.com>
35396 * javax/swing/plaf/basic/BasicLookAndFeel.java
35397 (playSound): Added @since 1.4 to the API docs.
35399 2006-01-10 Roman Kennke <kennke@aicas.com>
35401 * javax/swing/plaf/basic/BasicListUI.java
35402 (maybeUpdateLayoutState): Also update the layout state, if the
35403 list has been invalidated since the last update.
35405 2006-01-10 Roman Kennke <kennke@aicas.com>
35407 * javax/swing/plaf/ComponentUI.java
35408 (update): Fixed indendation.
35410 2006-01-10 Roman Kennke <kennke@aicas.com>
35412 * javax/swing/ViewportLayout.java
35413 (layoutContainer): Fixed condition, so that Scrollable components
35414 are always forced to have to Viewport size, when they
35415 return true for getScrollableTracksViewportHeight() and ..Width().
35417 2006-01-10 Roman Kennke <kennke@aicas.com>
35419 * javax/swing/RepaintManager.java
35420 (validateInvalidComponents): Fixed condition to avoid NPE.
35422 2006-01-10 Roman Kennke <kennke@aicas.com>
35424 * javax/swing/JViewport.java:
35425 (static_initializer): Removed unused variable myScrollMode.
35427 2006-01-10 Roman Kennke <kennke@aicas.com>
35429 * javax/swing/JTabbedPane.java:
35430 Cleared API docs a little.
35432 2006-01-10 Roman Kennke <kennke@aicas.com>
35434 * java/util/StringTokenizer.java
35435 (StringTokenizer(String, String, boolean)):
35436 Don't trigger NPE here for conformance with the spec.
35438 2006-01-10 Roman Kennke <kennke@aicas.com>
35440 * java/util/ArrayList.java
35441 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35443 2006-01-10 Roman Kennke <kennke@aicas.com>
35445 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35446 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35447 field to avoid NPE.
35449 2006-01-10 Roman Kennke <kennke@aicas.com>
35451 * native/jni/java-net/javanet.c
35452 (_javanet_shutdownOutput): Replaced strerror() with
35453 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35454 (_javanet_shutdownInput): Replaced strerror() with
35455 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35457 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35459 * java/beans/EventSetDescriptor.java: Reformatted and
35462 2006-01-10 Roman Kennke <kennke@aicas.com>
35464 * java/lang/SecurityManager.java
35465 Fully qualified AWT class references in API docs.
35467 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
35469 * java/beans/EventSetDescriptor.java:
35470 (getGetListenerMethod): New method.
35472 2006-01-10 Mark Wielaard <mark@klomp.org>
35474 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35476 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35479 * java/util/Hashtable.java
35480 (contains): Call equals on existing value.
35481 (containsKey, get, put, remove): Call equals on existing key.
35482 (getEntry): Call equals on existing entry.
35484 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
35487 * java/util/AbstractMap.java
35488 (equals(Object,Object)): Test for identity first.
35489 * java/util/WeakHashMap.java
35490 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35491 (WeakBucket.WeakEntry.toString): Fixed string representation of
35493 (internalGet): Use helper method to determine equality.
35495 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35497 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35500 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35502 * javax/swing/text/PlainDocument.java:
35503 (insertUpdate): Handle special case of an insertion immediately
35504 following a newline character.
35506 2006-01-09 Roman Kennke <kennke@aicas.com>
35508 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35509 (connect): Added stream parameter to _connect() call.
35510 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35511 (connect): Added stream parameter to _connect() call.
35512 * native/jni/java-net/javanet.c
35513 (_javanet_create_localfd): Added stream parameter. Look up
35514 fd field based on the stream parameter either in SocketImpl or
35515 in DatagramSocketImpl.
35516 (_javanet_connect): Added stream parameter. Call create_localfd
35517 using this stream parameter. Set localPort field either in
35518 SocketImpl or in DatagramSocketImpl, depending on the stream
35520 * native/jni/java-net/javanet.c
35521 (_javanet_connect): Added stream parameter.
35523 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35525 * javax.management.Attribute.java: Grammar and
35528 2006-01-09 Mark Wielaard <mark@klomp.org>
35530 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35531 exception when channel is not readable or writable.
35532 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35533 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35534 there is enough space to mmap().
35536 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35538 * java/beans/Introspector.java:
35539 (getBeanInfo(Class, int)): New method.
35540 (getBeanInfo(Class, Class): Moved common code in a new method.
35541 (merge): New method.
35543 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
35545 * java/beans/XMLEncoder.java: Fix spelling mistakes.
35547 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
35549 * javax/swing/text/DefaultStyledDocument.java:
35550 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35551 inlined this method because it needs to change the value of the
35552 finalStartTag and finalStartDirection variables.
35553 (checkForInsertAfterNewline): Removed this method.
35554 (handleInsertAfterNewline): Added case for making the start tag's
35555 direction JoinNextDirection.
35557 2006-01-09 Lillian Angel <langel@redhat.com>
35559 * javax/swing/plaf/basic/BasicTreeUI.java:
35561 (setRowHeight): Row height is set to the max height of
35562 all the nodes, or 20 as a default value.
35563 (getPathBounds): Cleaned up code.
35564 (getMaxHeight): New helper function that gets the max
35565 height of all the rows.
35566 (getClosestPathForLocation): Fixed to use getMaxHeight.
35567 (updateCachedPreferredSize): Likewise.
35568 (installUI): Shouldn't expand tree on startup.
35569 (getNodeDimensions): Fixed to use getMaxHeight.
35571 2006-01-09 Mark Wielaard <mark@klomp.org>
35573 * javax/swing/JList.java (setSelectedIndex): Clear selection when
35574 argument is negative.
35576 2006-01-08 Mark Wielaard <mark@klomp.org>
35578 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35580 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35582 * javax.management.Attribute.java: New file.
35584 2006-01-09 Roman Kennke <kennke@aicas.com>
35586 * java/net/DatagramSocketImpl.java
35587 (localPort): Renamed to localport for correct access from native
35590 2006-01-09 Roman Kennke <kennke@aicas.com>
35592 * javax/swing/Popup.java
35593 (LightweightPopup.hide): Repaint the layered pane when popup is
35596 2006-01-09 Roman Kennke <kennke@aicas.com>
35598 * java/awt/Container.java
35599 (remove): Don't repaint the container here.
35601 2006-01-08 Tom Tromey <tromey@redhat.com>
35603 * java/lang/InheritableThreadLocal.java: Organized imports.
35605 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
35608 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35609 when an empty string matched an empty token.
35611 2006-01-08 Chris Burdess <dog@gnu.org>
35613 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35614 content models from external entities.
35615 * gnu/xml/stream/UnicodeReader.java: Report error instead of
35616 attempting to continue with unpaired surrogates.
35617 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35618 resolving entities with character entity references; better
35619 checking of valid character ranges; don't report an error for URI
35620 fragments in notation declarations; check unbound namespace
35621 prefixes for elements and attributes, including XML 1.1 unbinding
35622 syntax; namespace-aware checking of attribute duplicates.
35624 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
35626 * java/beans/Statement.java: Doc fixes.
35627 (doExecute): Workaround for Class.forName call.
35628 (toString): Made output look more like on the JDK.
35629 * java/beans/Expression.java: Doc fixes.
35630 (toString): Made output look more like on the JDK.
35631 * java/beans/PersistenceDelegate.java,
35632 java/beans/DefaultPersistenceDelegate.java,
35633 java/beans/Encoder.java,
35634 java/beans/XMLEncoder.java: New file.
35635 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35636 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35637 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35638 gnu/java/beans/encoder/Context.java,
35639 gnu/java/beans/encoder/GenericScannerState.java,
35640 gnu/java/beans/encoder/IgnoringScannerState.java,
35641 gnu/java/beans/encoder/MapPersistenceDelegate.java,
35642 gnu/java/beans/encoder/ObjectId.java,
35643 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35644 gnu/java/beans/encoder/ReportingScannerState.java,
35645 gnu/java/beans/encoder/Root.java,
35646 gnu/java/beans/encoder/ScanEngine.java,
35647 gnu/java/beans/encoder/ScannerState.java,
35648 gnu/java/beans/encoder/StAXWriter.java,
35649 gnu/java/beans/encoder/Writer.java: New file.
35650 * gnu/java/beans/encoder/elements/Array_Get.java,
35651 gnu/java/beans/encoder/elements/Element.java,
35652 gnu/java/beans/encoder/elements/List_Set.java,
35653 gnu/java/beans/encoder/elements/Array_Set.java,
35654 gnu/java/beans/encoder/elements/NullObject.java,
35655 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35656 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35657 gnu/java/beans/encoder/elements/StringReference.java,
35658 gnu/java/beans/encoder/elements/ClassResolution.java,
35659 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35660 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35661 gnu/java/beans/encoder/elements/ObjectReference.java,
35662 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35663 gnu/java/beans/encoder/elements/List_Get.java,
35664 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35666 2006-01-08 Chris Burdess <dog@gnu.org>
35668 * java/lang/Character.java (toChars,toCodePoint): Correct these
35669 methods to use algorithms from Unicode specification.
35671 2006-01-08 Mark Wielaard <mark@klomp.org>
35673 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35675 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
35678 * examples/Makefile.am: Corrected DESTDIR install paths.
35680 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
35682 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
35683 ASCII character (line 46).
35685 2006-01-07 Roman Kennke <kennke@aicas.com>
35687 * javax/swing/text/TableView.java: New file.
35689 2006-01-07 Chris Burdess <dog@gnu.org>
35691 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35692 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35693 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35694 available; correct handling of unparsed entity references;
35695 absolutize all base URIs; remove commented out code.
35697 2006-01-07 Chris Burdess <dog@gnu.org>
35699 * gnu/xml/stream/SAXParser.java,
35700 gnu/xml/stream/XMLParser.java: Add SAX property to return base
35701 URI of the current event.
35703 2006-01-07 Chris Burdess <dog@gnu.org>
35705 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35708 2006-01-07 Chris Burdess <dog@gnu.org>
35710 * gnu/xml/stream/SAXParser.java,
35711 gnu/xml/stream/XIncludeFilter.java,
35712 gnu/xml/stream/XMLParser.java: Updated documentation.
35714 2006-01-07 Chris Burdess <dog@gnu.org>
35716 * AUTHORS: add self.
35718 2006-01-06 Casey Marshall <csm@gnu.org>
35720 * AUTHORS: add myself.
35722 2006-01-06 Casey Marshall <csm@gnu.org>
35725 * javax/crypto/CipherInputStream.java (logger): new constant.
35726 (cipher): make final.
35727 (outLength, inBuffer, inLength): removed.
35728 (isStream): make final.
35729 (VIRGIN, LIVING, DYING, DEAD, state): removed.
35731 (<init>): call `super,' not `this;' remove `inBuffer' and
35732 `outBuffer' initialization; init `eof;' add debug logging.
35733 (<init>): call `this' with a new null cipher.
35734 (available): fix javadoc to reflect the real semantics; if we
35735 don't have a buffer, call `nextBlock.'
35736 (close): synchronize.
35737 (read): synchronize; fix testing for buffered data.
35738 (read): synchronize; add `skip' semantics if first argument is
35739 `null;' decrypt stream cipher data only if there is any; fix tests
35741 (skip): stop using `available' to see how many data are buffered.
35742 (nextBlock): simplify to use cipher-allocated output buffers
35743 instead of internally allocated ones.
35745 2006-01-06 Tom Tromey <tromey@redhat.com>
35747 * java/lang/String.java (codePointCount): Fixed javadoc.
35749 2006-01-06 Tom Tromey <tromey@redhat.com>
35751 * java/lang/String.java (contains): Added @since.
35753 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
35756 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35757 * gnu/regexp/RETokenRepeated.java(match): Break the loop
35758 when an empty string matched an empty token.
35760 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
35763 * gnu/java/util/WeakIdentityHashMap.java: New file.
35764 * java/lang/InheritableThreadLocal.java
35765 (newChildThread): Modified to remove key indirection.
35766 * java/lang/Thread.java
35767 (locals): Changed type to WeakIdentityHashMap.
35768 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35770 * java/lang/ThreadLocal.java
35771 (key, Key): Removed.
35772 (get, set): Changed to use "this" instead of "key".
35774 2006-01-06 Dalibor Topic <robilad@kaffe.org>
35776 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35778 * native/fdlibm/java-assert.h: Removed file.
35780 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35781 Replaced use of JvAssert by assert.
35783 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35785 * javax/swing/text/DefaultCaret.java:
35786 (setDot): Fixed paramater to Math.max to be this.dot and not the
35789 2006-01-05 Roman Kennke <kennke@aicas.com>
35791 * javax/swing/plaf/basic/BasicListUI.java
35792 (getCellHeight): New helper method.
35793 (getCellBounds): Use new helper method for determining the cell
35795 (paint): Don't call list.indexToLocation() but instead call
35796 directly into the same UI method.
35797 (locationToIndex): Fixed calculation of # visible rows and handling
35799 (indexToLocation): Fixed calculation of # visible rows and handling
35802 2006-01-05 Roman Kennke <kennke@aicas.com>
35804 * javax/swing/plaf/metal/MetalFileChooserUI.java
35805 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35806 in the file chooser.
35808 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
35810 * javax/swing/JTextPane.java:
35811 (replaceSelection): If the document is an AbstractDocument, use replace
35812 rather than remove and insert.
35813 * javax/swing/event/EventListenerList.java:
35814 (getListeners): Reversed the order of the listeners to match the
35815 reference implementation.
35816 * javax/swing/text/AbstractDocument.java:
35817 (insertString): Add the UndoableEdit from the content.insertString call
35818 to the DocumentEvent.
35819 (DefaultDocumentEvent.toString): Implemented.
35820 * javax/swing/text/DefaultCaret.java:
35821 (setDot): Make sure dot is > 0 and less than the length of the
35823 * javax/swing/text/DefaultStyledDocument.java:
35824 (ElementBuffer.insertUpdate): Set the modified tag of the document
35825 event when we get start and end tags. This ensures that we create the
35826 proper BranchElements in endEdit().
35827 (ElementBuffer.insertUpdate): Added FIXME to handle
35828 JoinFractureDirection case.
35829 (insertUpdate): Added code to check if we're inserting immediately
35830 after a newline and to handle this case (create start and end tags).
35831 Only change the direction of the first and last tags if they are of
35833 (checkForInsertAfterNewline): New helper method.
35834 (handleInsertAfterNewline): Likewise.
35835 * javax/swing/text/View.java:
35836 (updateLayout): Avoid NPE by checking if shape is null. Repaint
35839 2006-01-05 Mark Wielaard <mark@klomp.org>
35841 * newsitems.txt: Add fosdem meeting.
35842 * events/events.wml: Likewise.
35843 * events/fosdem06.wml: New file.
35845 2006-01-05 Lillian Angel <langel@redhat.com>
35847 * javax/swing/text/GapContent.java
35848 (createPosition): No positions should be created inside the
35849 gap. Fixed check to ensure this does not happen.
35851 2006-01-05 Roman Kennke <kennke@aicas.com>
35853 * javax/swing/RepaintManager.java
35854 (validateInvalidComponents): Search for the validate root
35855 and start validating there.
35857 2006-01-05 Roman Kennke <kennke@aicas.com>
35859 * javax/swing/plaf/basic/BasicListUI.java
35860 (ComponentHandler): Removed unneeded class.
35861 (ListDataHandler.contentsChanged): Revalidate instead of calling
35863 (ListDataHandler.intervalAdded): Revalidate instead of calling
35865 (ListDataHandler.intervalRemoved): Revalidate instead of calling
35867 (PropertyChangeHandler.propertyChange): Or flags together instead
35868 of adding them. Don't call damageLayout().
35869 (componentListener): Removed unnecessary field.
35870 (damageLayout): Removed unnecessary method.
35871 (installListeners): Don't install unnecessary listeners.
35872 (uninstallListeners): Dito.
35873 (getPreferredSize): Don't ask for the real list height and
35874 calculate with the previously calculated list height.
35875 (locationToIndex): Renamed list parameter to l so that it doesn't
35876 shadow the field with the same name.
35877 (indexToLocation): Renamed list parameter to l so that it doesn't
35878 shadow the field with the same name.
35880 2006-01-04 Tom Tromey <tromey@redhat.com>
35882 * include/.cvsignore: Ignore config-int.h.
35884 2006-01-04 Roman Kennke <kennke@aicas.com>
35886 * javax/swing/plaf/basic/BasicListUI.java
35887 (getPreferredSize): Rewritten to match the specs.
35889 2006-01-04 Roman Kennke <kennke@aicas.com>
35891 * javax/swing/JFileChooser.java
35892 (showOpenDialog): Set fixed width on the dialog.
35893 (showSaveDialog): Set fixed width on the dialog.
35894 (showDialog): Set fixed width on the dialog.
35896 2006-01-04 Roman Kennke <kennke@aicas.com>
35898 * javax/swing/plaf/basic/BasicListUI.java
35899 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35900 Adjusted iteration to not use visibleRowCount and instead iterate
35901 over the real number of elements in cellHeights.
35902 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35903 Adjusted iteration to not use visibleRowCount and instead iterate
35904 over the real number of elements in cellHeights.
35906 2006-01-04 Roman Kennke <kennke@aicas.com>
35908 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35909 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35910 Added __attribute__((__unused__)) macros to avoid gcc warnings.
35912 2006-01-04 Roman Kennke <kennke@aicas.com>
35914 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35915 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35917 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35918 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35920 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
35922 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
35923 * native/jni/java-net/Makefile.am: Adjusted for new source files.
35924 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
35925 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
35926 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
35927 * include/gnu_java_net_PlainSocketImpl.h: Removed.
35928 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
35929 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
35931 2006-01-04 Lillian Angel <langel@redhat.com>
35933 * javax/swing/plaf/metal/MetalFileChooserUI.java
35934 (propertyChange): Fixed to change the combo box label
35935 appropriately. Also, fixed to set the textfield's text
35937 (editFile): Fixed size of editing field.
35938 (installComponents): Correctly aligned all panels.
35939 (installStrings): Fixed to set the label's text
35940 appropriately depending on the dialog type.
35942 2006-01-04 Lillian Angel <langel@redhat.com>
35946 * javax/swing/JTree.java
35947 (JTree): Because some L&F defaults have been updated,
35948 the selectionMode for the tree needed to be set to SINGLE.
35949 * javax/swing/plaf/basic/BasicFileChooserUI.java:
35950 Initialized accessoryPanel.
35951 * javax/swing/plaf/metal/MetalFileChooserUI.java
35952 (installComponents): Added accessoryPanel to the filechooser.
35954 2006-01-04 Dalibor Topic <robilad@kaffe.org>
35956 * configure.ac: Added AX_CREATE_STDINT_H
35958 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
35960 * m4/ax_create_stdint_h.m4: New file.
35962 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
35963 typedefs. Removed stdint.h and inttypes.h includes.
35965 2006-01-03 Mark Wielaard <mark@klomp.org>
35967 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
35968 register keyboard action when accelerator is not null.
35969 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
35970 re-register accelerator if not null.
35971 (installKeyboardActions): Only put accelerator in map when not null.
35973 2006-01-04 Lillian Angel <langel@redhat.com>
35975 * javax/swing/plaf/basic/BasicLookAndFeel.java
35976 (initComponentDefaults): Removed unneeded default.
35977 * javax/swing/plaf/metal/MetalLookAndFeel.java
35978 (initComponentDefaults): Added and fixed several defaults.
35980 2006-01-04 Roman Kennke <kennke@aicas.com>
35982 * javax/swing/plaf/basic/BasicHTML.java: New class.
35984 2006-01-03 Tom Tromey <tromey@redhat.com>
35986 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
35987 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
35989 2006-01-03 Mark Wielaard <mark@klomp.org>
35991 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
35993 2006-01-03 Mark Wielaard <mark@klomp.org>
35995 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
35996 Always call createDefaultTheme().
35997 (createDefaultTheme): Check whether theme is still null.
35999 2006-01-03 Mark Wielaard <mark@klomp.org>
36001 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36002 Color.WHITE if null.
36004 2006-01-03 Lillian Angel <langel@redhat.com>
36006 * javax/swing/plaf/metal/MetalLookAndFeel.java
36007 (getDescription): Fixed to return the correct string.
36009 (getName): Likewise.
36010 (getDefaults): Added check to avoid NPE.
36011 (getAcceleratorForeground): Likewise.
36012 (getAcceleratorSelectedForeground): Likewise.
36013 (getBlack): Likewise.
36014 (getControl): Likewise.
36015 (getControlDarkShadow): Likewise.
36016 (getControlDisabled): Likewise.
36017 (getControlHighlight): Likewise.
36018 (getControlInfo): Likewise.
36019 (getControlShadow): Likewise.
36020 (getControlTextColor): Likewise.
36021 (getControlTextFont): Likewise.
36022 (getDesktopColor): Likewise.
36023 (getFocusColor): Likewise.
36024 (getHighlightedTextColor): Likewise.
36025 (getInactiveControlTextColor): Likewise.
36026 (getInactiveSystemTextColor): Likewise.
36027 (getMenuBackground): Likewise.
36028 (getMenuDisabledForeground): Likewise.
36029 (getMenuForeground): Likewise.
36030 (getMenuSelectedBackground): Likewise.
36031 (getMenuSelectedForeground): Likewise.
36032 (getMenuTextFont): Likewise.
36033 (getPrimaryControl): Likewise.
36034 (getPrimaryControlDarkShadow): Likewise.
36035 (getPrimaryControlHighlight): Likewise.
36036 (getPrimaryControlInfo): Likewise.
36037 (getPrimaryControlShadow): Likewise.
36038 (getSeparatorBackground): Likewise.
36039 (getSeparatorForeground): Likewise.
36040 (getSubTextFont): Likewise.
36041 (getSystemTextColor): Likewise.
36042 (getSystemTextFont): Likewise.
36043 (getTextHighlightColor): Likewise.
36044 (getUserTextColor): Likewise.
36045 (getUserTextFont): Likewise.
36046 (getWhite): Likewise.
36047 (getWindowBackground): Likewise.
36048 (getWindowTitleBackground): Likewise.
36049 (getWindowTitleFont): Likewise.
36050 (getWindowTitleForeground): Likewise.
36051 (getWindowTitleInactiveBackground): Likewise.
36052 (getWindowTitleInactiveForeground): Likewise.
36054 2006-01-03 Mark Wielaard <mark@klomp.org>
36056 * javax/swing/JTextArea.java
36057 (JTextArea(Document,text,int,int)): Only call setText() when text is
36060 2006-01-03 Lillian Angel <langel@redhat.com>
36062 * javax/swing/plaf/basic/BasicFileChooserUI.java
36063 (installStrings): Fixed installation of defaults that
36064 were changed in BasicLookAndFeel.
36065 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36066 (installDefaults): Fixed installation of defaults that
36067 were changed in BasicLookAndFeel.
36069 2006-01-03 Lillian Angel <langel@redhat.com>
36071 * javax/swing/plaf/basic/BasicLookAndFeel.java
36072 (initComponentDefaults): Fixed several defaults that differed
36075 2006-01-03 Lillian Angel <langel@redhat.com>
36077 * javax/swing/tree/DefaultTreeSelectionModel.java
36078 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36080 2006-01-03 Lillian Angel <langel@redhat.com>
36082 * javax/swing/AbstractAction.java
36083 (AbstractAction): Fixed to pass in null. Should not be
36084 an empty string. Removed TODO comment.
36085 (AbstractAction): Removed TODO comment.
36086 * javax/swing/JList.java
36087 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36088 * javax/swing/JMenuItem.java
36089 (JMenuItem): Set all defaults if the action passed in is not null.
36090 * javax/swing/JProgressBar.java
36091 (JProgressBar): Added check to prevent NPE.
36093 2006-01-03 Lillian Angel <langel@redhat.com>
36095 * javax/swing/plaf/basic/BasicListUI.java
36096 (getPreferredSize): The JDK adds some extra space to
36097 the list, so we should as well.
36098 * javax/swing/plaf/metal/MetalFileChooserUI.java
36099 (getPreferredSize): Should only take the fileListPanel's
36100 width into account when getting the size. Also, the buttonPanel's
36101 size should not be checked, since it is in the bottomPanel already.
36102 (getMinimumSize): Likewise.
36104 2006-01-03 Lillian Angel <langel@redhat.com>
36106 * javax/swing/JList.java
36107 (init): visibleRowCount should be 7, like the JDK.
36108 * javax/swing/plaf/metal/MetalFileChooserUI.java
36109 (installComponents): No need to add the fileFilterCombo
36110 to a panel. It can be added to the row directly.
36112 2006-01-03 Lillian Angel <langel@redhat.com>
36114 PR classpath/25480 PR classpath/25478
36115 * javax/swing/plaf/basic/BasicScrollPaneUI.java
36116 (updateViewport): Made changes suggested by
36118 * javax/swing/plaf/metal/MetalFileChooserUI.java:
36119 Removed unneeded import.
36120 (createList): Removed comment, JList wrapping
36122 (getPreferredSize): Made changes suggested by
36123 Chris Lansdown. Uses fileListPanel, instead
36125 (getMinimumSize): Uses fileListPanel, instead
36127 * javax/swing/plaf/metal/MetalRadioButtonUI.java
36128 (paintFocus): Fixed height.
36130 2006-01-03 Roman Kennke <kennke@aicas.com>
36132 * javax/swing/plaf/basic/BasicListUI.java
36133 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36135 2006-01-03 Roman Kennke <kennke@aicas.com>
36137 * javax/swing/plaf/basic/BasicListUI.java
36138 (locationToIndex): Special case for when variable cell heights
36139 are possible. (cellHeights is used instead of cellHeight).
36140 (indexToLocation): Special case for when variable cell heights
36141 are possible. (cellHeights is used instead of cellHeight).
36143 2006-01-03 Roman Kennke <kennke@aicas.com>
36145 * javax/swing/text/DefaultStyledDocument.java
36146 (ElementBuffer.remove): New method.
36147 (ElementBuffer.removeUpdate): New method.
36148 (removeUpdate): New method.
36150 2006-01-03 Roman Kennke <kennke@aicas.com>
36153 (dist-hook): Preserve attributes of Java sources when copying to
36156 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
36158 * AUTHORS: Added self.
36159 * java/security/Security.java (getProvider): Ensures provider's name is
36160 not null, not an empty string, and is trimmed before usage.
36162 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
36164 * gnu/CORBA/Poa/AOM.java (add):
36165 Changed parameter Object into gnuServantObject.
36166 (Obj.object): Changed type to gnuServantObject.
36167 (findObject): Rewritten.
36169 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
36171 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36172 buffering. Ability has gone in Qt-4.1.x.
36174 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36175 to have the right include flags.
36177 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36179 * java/security/MessageDigest.java (getInstance(String,String)):
36180 Use trimmed copy of provider name.
36181 * gnu/java/security/Engine.java
36182 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36183 service and algorithm names.
36185 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
36187 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36188 localhost is null or is an empty string. Trim hostname before